    :root {
            --primary: #1e40af;
            --primary-light: #3b82f6;
            --primary-dark: #1e3a8a;
            --gold: #d4af37;
            --gold-light: #e8c874;
            --dark: #0f172a;
            --dark-light: #1e293b;
            --light: #f8fafc;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f1f5f9;
            color: var(--dark);
            overflow-x: hidden;
        }
        
        /* Hero Section - Reduced Height */
        .contact-hero {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%), url('../images/contact/hero-bg.jpg') center/cover no-repeat;
            height: 70vh;
            min-height: 400px;
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .contact-hero::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: 0;
            width: 100%;
            height: 65px;
            background: url('../images/contact/wave-divider.png') center/cover no-repeat;
            z-index: 2;
        }
        
        .hero-title {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            position: relative;
        }
        
        .hero-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--gold);
        }
        
        /* Director Section */
        .director-section {
            background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
            position: relative;
            z-index: 3;
            margin-top: -30px;
        }
        
        .director-card {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(30, 64, 175, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: white;
            border: none;
            border: 1px solid rgba(30, 64, 175, 0.1);
        }
        
        .director-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 40px 80px rgba(30, 64, 175, 0.2);
        }
        
        .director-img-container {
            height: 550px;
            overflow: hidden;
            position: relative;
        }
        
        .director-img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            object-position: top;
            transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .director-card:hover .director-img {
            transform: scale(1.08);
        }
        
        .director-img-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 100%);
            display: flex;
            align-items: flex-end;
            padding: 20px;
            opacity: 0;
            transition: all 0.4s ease;
        }
        
        .director-card:hover .director-img-overlay {
            opacity: 1;
        }
        
        .director-title {
            font-family: 'Playfair Display', serif;
            position: relative;
            display: inline-block;
        }
        
        .director-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--gold);
            transition: width 0.4s ease;
        }
        
        .director-card:hover .director-title::after {
            width: 100px;
        }
        
        .contact-badge {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            border-radius: 50px;
            background: rgba(30, 64, 175, 0.1);
            transition: all 0.3s ease;
            color: var(--primary);
            border: 1px solid rgba(30, 64, 175, 0.2);
        }
        
        .contact-badge:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(30, 64, 175, 0.2);
        }
        
        .contact-badge i {
            margin-right: 8px;
        }
        
        /* Form Section */
        .form-section {
            background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
            position: relative;
        }
        
        .form-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background: url('../images/contact/wave-divider-reverse.png') center/cover no-repeat;
            z-index: 1;
        }
        
        .form-card {
            border: none;
            border-radius: 16px;
            box-shadow: 0 20px 50px rgba(30, 64, 175, 0.1);
            overflow: hidden;
            border: 1px solid rgba(30, 64, 175, 0.1);
            background: white;
        }
        
        .form-header {
            background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .form-header::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
            transform: rotate(30deg);
        }
        
        .form-control, .form-select {
            border: 1px solid #e2e8f0;
            padding: 12px 16px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-light);
            box-shadow: 0 0 0 0.25rem rgba(30, 64, 175, 0.15);
        }
        
        .submit-btn {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            color: white;
        }
        
        .submit-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 40px;
            height: 200%;
            background: rgba(255,255,255,0.2);
            transform: rotate(30deg);
            transition: all 0.4s ease;
        }
        
        .submit-btn:hover::after {
            right: 120%;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(30, 64, 175, 0.2);
        }
        
        /* Developer Section */
        .developer-section {
            background: white;
        }
        
        .developer-card {
            border: 1px solid rgba(30, 64, 175, 0.1);
            border-radius: 16px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            background: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }
        
        .developer-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
        }
        
        .developer-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(30, 64, 175, 0.15);
        }
        
        .developer-img-container {
            width: 150px;
            height: 150px;
            margin: 0 auto;
            border-radius: 50%;
            padding: 5px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
            transition: all 0.4s ease;
        }
        
        .developer-card:hover .developer-img-container {
            transform: rotate(10deg);
        }
        
        .developer-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid white;
        }
        
        .developer-social a {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(30, 64, 175, 0.1);
            color: var(--primary);
            transition: all 0.3s ease;
            margin: 0 5px;
            position: relative;
            overflow: hidden;
        }
        
        .developer-social a::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            opacity: 0;
            transition: all 0.3s ease;
        }
        
        .developer-social a:hover::after {
            opacity: 1;
        }
        
        .developer-social a i {
            position: relative;
            z-index: 1;
        }
        
        .developer-social a:hover i {
            color: white;
        }
        
        .portfolio-btn {
            background: white;
            color: var(--primary);
            border: 1px solid var(--primary);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .portfolio-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            transform: translateY(100%);
            transition: all 0.3s ease;
            z-index: 0;
        }
        
        .portfolio-btn:hover::after {
            transform: translateY(0);
        }
        
        .portfolio-btn span {
            position: relative;
            z-index: 1;
        }
        
        .portfolio-btn:hover {
            color: white;
            border-color: var(--primary);
        }
        
        /* Maps Section */
        .maps-section {
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        }
        
        .map-container {
            height: 300px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .map-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
        }
        
        .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: rgba(15, 23, 42, 0.7);
            color: white;
            text-align: center;
            z-index: 1000;
        }
        
        .location-card {
            border: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            height: 100%;
            background: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 1px solid rgba(30, 64, 175, 0.1);
        }
        
        .location-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(30, 64, 175, 0.1);
        }
        
        .location-icon {
            width: 60px;
            height: 60px;
            background: rgba(30, 64, 175, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        
        .location-card:hover .location-icon {
            background: var(--primary);
            color: white;
            transform: rotate(15deg);
        }
        
        /* FAQ Section */
        .faq-section {
            background: white;
        }
        
        .accordion-button {
            font-weight: 600;
            padding: 20px;
            background: rgba(30, 64, 175, 0.05);
            border-radius: 8px !important;
            margin-bottom: 10px;
        }
        
        .accordion-button:not(.collapsed) {
            background: rgba(30, 64, 175, 0.1);
            color: var(--primary);
            box-shadow: none;
        }
        
        .accordion-button:focus {
            box-shadow: none;
            border-color: rgba(30, 64, 175, 0.25);
        }
        
        .accordion-body {
            padding: 20px;
            background: rgba(30, 64, 175, 0.03);
            border-radius: 0 0 8px 8px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .contact-hero {
                height: auto;
                padding: 80px 0;
            }
            
            .director-img-container {
                height: 300px;
            }
            
            .map-container {
                margin-bottom: 20px;
            }
        }

@media (max-width: 768px) {
    .director-img-container {
        height: 350px; /* Slightly taller to prevent cutting */
        margin-bottom: 20px;
        width: 100%;
    }
    
    .director-img {
        object-position: center top; /* Ensures the face is visible */
    }
    
    .director-card .row {
        flex-direction: column;
    }
    
    .director-card .col-md-5,
    .director-card .col-md-7 {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }
    
    /* Adjust the padding for better mobile spacing */
    .director-card > .row > .col-md-7 > div {
        padding: 20px;
    }
}