 :root {
            --primary-color: #cb0c0c;
            --primary-dark: #952624;
            --primary-light: #e63946;
            --secondary-color: #952624;
            --accent-color: #cb0c0c;
            --dark: #1a1a2e;
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-600: #4b5563;
            --gray-800: #1f2937;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
            --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
        }
 

        /* Hero Header */
        .team-header {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #cb0c0c 0%, #952624 100%);
            overflow: hidden;
            padding: 40px 0;
        }

        .team-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            animation: moveGrid 20s linear infinite;
        }

        @keyframes moveGrid {
            0% { transform: translate(0, 0); }
            100% { transform: translate(40px, 40px); }
        }

        .team-content {
            position: relative;
            z-index: 2;
            text-align: center;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .team-header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2.4rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1.5rem;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
            letter-spacing: -1px;
        }

        .team-subtitle {
            font-size: 1.2rem;
            color: rgba(255,255,255,0.95);
            max-width: 680px;
            margin: 0 auto;
            font-weight: 300;
        }

        /* Section Styling */
         

        .cnt-header {
            text-align: center;
            margin-bottom: 1rem;
        }

        .cnt-title {
            font-family: 'Playfair Display', serif;
            font-size: 2.22rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        /* .cnt-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        } */

        .cnt-subtitle {
            color: var(--gray-600);
            font-size: 1.1rem;
            margin-top: 1.5rem;
        }
        p.cnt-subtitle {color: #1f2937 !important; text-align: center;}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ;}
        

        /* Culture Cards */
        .culture-item {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
            animation: fadeIn 0.6s ease-out backwards;
        }

        .culture-item:nth-child(1) { animation-delay: 0.1s; }
        .culture-item:nth-child(2) { animation-delay: 0.2s; }
        .culture-item:nth-child(3) { animation-delay: 0.3s; }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* .culture-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-left-color: var(--secondary-color);
        } */

        .culture-text {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--gray-600);
            margin: 0;
        }

        .culture-text i {
            font-size: 1.5rem;
            color: var(--primary-color) !important;
            vertical-align: middle;
        }

        /* Team Events */
    .team-events {
            background: var(--gray-50);
        }

        .event-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--dark);
        }

       

        .event-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
      transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.event-overlay i {
    color: white;
    font-size: 2rem;
}

/* Modal Styles */
#imageModal .modal-content {
    background: rgba(253, 247, 247, 0.95) !important;
}

#imageModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1050;
}

#imageModal .btn-close {
     
    opacity: 1;
    font-size: 1.5rem;
    padding: 1rem;
}

.modal-image-container {
    position: relative;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-height: 80vh;
    width: auto;
    object-fit: contain;
}

/* Navigation Buttons */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1040;
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-nav-btn i {
    font-size: 1.5rem;
}

/* Image Counter */
.modal-image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Image Caption */
.modal-image-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}


        /* Job Openings */
        .location-tabs {
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .location-tabs .nav-link {
            padding: 0.875rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            border: 2px solid var(--gray-200);
            color: var(--gray-600);
            transition: all 0.3s ease;
            background: white;
        }

        .location-tabs .nav-link:hover {
            background: var(--gray-50);
            border-color: var(--primary-light);
            color: var(--primary-color);
            transform: translateY(-2px);
        }

        .location-tabs .nav-link.active {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            color: white;
            border-color: var(--primary-color);
            box-shadow: 0 8px 20px rgba(0,102,204,0.3);
        }

        /* Job Cards */
        .job-card {
            background: white;
            padding: 0;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            height: 100%;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--gray-200);
            position: relative;
            overflow: hidden;
        }

        .job-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }

        .job-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(203, 12, 12, 0.03), transparent);
            transition: left 0.5s ease;
        }

        .job-card:hover::after {
            left: 100%;
        }

        .job-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(203, 12, 12, 0.12);
            border-color: rgba(203, 12, 12, 0.2);
        }

        .job-header {
            padding: 1.75rem 1.75rem 1.25rem;
            position: relative;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .job-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 6px 16px rgba(203, 12, 12, 0.25);
        }

        .job-icon i {
            font-size: 1.5rem;
            color: white;
        }

        .job-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--dark);
            margin: 0;
            line-height: 1.3;
            flex: 1;
        }

        .job-body {
            padding: 0 1.75rem 1.75rem;
        }

        .job-details {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .job-details li {
            padding: 1rem;
            background: var(--gray-50);
            border-radius: 10px;
            color: var(--gray-600);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        /* .job-details li:hover {
            background: rgba(203, 12, 12, 0.04);
            border-left-color: var(--primary-color);
            transform: translateX(4px);
        } */

        .job-details li i {
            color: var(--primary-color);
            font-size: 1rem;
            flex-shrink: 0;
            width: 20px;
            text-align: center;
        }

        .job-detail-content {
            flex: 1;
        }

        .job-details strong {
            color: var(--gray-600);
            font-weight: 600;
            display: block;
            margin-bottom: 0.15rem;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .job-details span {
            color: var(--dark);
            font-size: 0.95rem;
            font-weight: 500;
        }

        /* Resume Submission */
        .resume-submission {
            background: linear-gradient(135deg, #cb0c0c 0%, #952624 100%);
            padding: 1.2rem;
            border-radius: 12px;
            box-shadow: var(--shadow-md);
        }

        .resume-submission p {
            color: white;
            font-size: 1.25rem;
            font-weight: 500;
            margin: 0;
        }

        .email-link {
            color: white;
            text-decoration: none;
            font-weight: 700;
            padding: 0.5rem 1rem;
            background: rgba(255,255,255,0.2);
            border-radius: 8px;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .email-link:hover {
            background: rgba(255,255,255,0.3);
            transform: scale(1.05);
            color: white;
        }

        /* Contact Cards */
                .number-card {
                    background: white;
                    padding: 1.2rem 2rem;
                    border-radius: 12px;
                    box-shadow: var(--shadow-sm);
                    display: flex;
                    align-items: center;
                    gap: 1.5rem;
                    transition: all 0.3s ease;
                    height: 100%;
                }
        .number-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .contact-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 8px 20px rgba(0,102,204,0.3);
        }

        .contact-icon i {
            font-size: 1.75rem;
            color: white;
        }

        .contact-info h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.75rem;
        }

        .contact-info p {
            color: var(--gray-600);
            margin: 0;
            line-height: 1.6;
        }

        .contact-info strong {
            color: var(--primary-color);
            font-weight: 700;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
            padding: 2rem 0;
        }

        .footer p {
            color: rgba(255,255,255,0.8);
            margin: 0;
            font-size: 0.95rem;
        }

        /* Animations */
        .fade-in {
            animation: fadeIn 0.6s ease-out;
        }

        /* Responsive */
        @media (max-width: 768px) {
                .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-nav-btn i {
        font-size: 1.2rem;
    }
    
    .modal-image-counter {
        bottom: 10px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

          
            .team-header {
                min-height: 50vh;
            }

            .cnt-title {
                font-size: 2rem;
            }

            .location-tabs .nav-link {
                padding: 0.75rem 1.5rem;
                font-size: 0.85rem;
            }

            .number-card {
                flex-direction: column;
                text-align: center;
            }
        }

        /* No openings message */
        .no-openings {
            padding: 4rem 2rem;
            text-align: center;
        }

        .no-openings i {
            font-size: 4rem;
            color: var(--gray-200);
            margin-bottom: 1rem;
        }

        .no-openings p {
            font-size: 1.1rem;
            color: var(--gray-600);
        }