/* Scrollbar hide utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Active navigation link styles */
.active-link {
    color: #22d3ee;
    font-weight: bold;
}

/* Mobile and Tablet Responsive Fixes */
@media (max-width: 768px) {
    /* Remove all left margins on mobile */
    .mobile-no-margin {
        margin-left: 0 !important;
    }
    
    /* Service section responsive images */
    .service-image {
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        margin: 0 auto !important;
    }
    
    /* Product section responsive images */
    .product-image {
        width: 250px !important;
        height: 500px !important;
        margin: 0 auto !important;
    }
    
    /* Responsive text sizes */
    .mobile-text-sm {
        font-size: 1.5rem !important;
    }
    
    .mobile-text-md {
        font-size: 2rem !important;
    }
    
    /* Career section responsive */
    .career-text {
        margin-left: 0 !important;
        text-align: center !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet specific fixes */
    .tablet-no-margin {
        margin-left: 1rem !important;
    }
    
    .service-image {
        width: 80% !important;
        max-width: 500px !important;
    }
}

/* Team member card template - for easy copy/paste */
.team-member-card {
    min-width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 1rem;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: center;
    margin: 0 0.5rem;
}

.team-member-card:hover {
    border-color: #22d3ee;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member-icon {
    font-size: 5rem;
    color: #0891b2;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-icon {
    transform: scale(1.1);
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: #0891b2;
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .team-member-card {
        min-width: 250px;
        padding: 1rem;
    }
    
    .team-member-icon {
        font-size: 4rem;
    }
    
    .team-member-name {
        font-size: 1.1rem;
    }
    
    .team-member-role {
        font-size: 0.9rem;
    }
}

/* Career Section Styling */
#career details {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
}

#career details:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

#career details summary {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #0891b2 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#career details summary:hover {
    color: #0e7490 !important;
}

#career details[open] summary ~ * {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#career details div {
    margin-top: 1rem !important;
    color: #374151 !important;
    line-height: 1.6 !important;
}

#career details strong {
    color: #0891b2 !important;
}

#career details ul {
    margin-left: 1.5rem !important;
    list-style-type: disc !important;
}

#career details li {
    margin-bottom: 0.25rem !important;
}

/* EMS Section Alignment */
.ems-section {
 display: flex;
 align-items: center; /* Vertically centers items */
}

.ems-section img {
 margin-right: 1rem; /* Adds space between the image and text */
 flex-shrink: 0; /* Prevents the image from shrinking */
}
