.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



:root {
    --navy: #0a1a35;
    --blue: #1e3a5f;
    --light-blue: #2c5c8b;
    --sky-blue: #4a7cab;
    --gold: #c8a97e;
    --cream: #f8f7f4;
    --light-charcoal: #4a4a4a;
    --shadow: rgba(10, 26, 53, 0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}


.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: linear-gradient(rgba(10, 26, 53, 0.7), rgba(10, 26, 53, 0.8)), 
                      url('../images/mahalunge-project/sp-image.avif');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: bgMove 40s infinite alternate ease-in-out;
}

@keyframes bgMove {
    0% { 
        transform: scale(1) translateY(0); 
    }
    100% { 
        transform: scale(1.05) translateY(-20px); 
    }
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    33% { 
        transform: translateY(-30px) rotate(120deg); 
    }
    66% { 
        transform: translateY(20px) rotate(240deg); 
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background-color: rgb(180, 228, 247);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 25px var(--shadow);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    0% {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled {
    padding: 10px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1001;
    transition: var(--transition);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--blue), var(--sky-blue));
    transition: var(--transition);
}

.logo:hover::after { 
    width: 100%; 
}

.logo:hover {
    transform: translateY(-2px);
}

/* Desktop Navigation */
.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-charcoal);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover { 
    color: var(--blue); 
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--blue), var(--sky-blue));
    transition: var(--transition);
}

.nav-links a:hover::after { 
    width: 100%; 
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: none;
    transition: var(--transition);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
    background: var(--blue);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
    background: var(--blue);
}

/* Mobile Menu */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        transition: var(--transition);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding-top: 80px;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
        animation: slideInRight 0.4s ease-out;
    }

    @keyframes slideInRight {
        0% {
            right: -100%;
        }
        100% {
            right: 0;
        }
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
        animation: fadeInUp 0.5s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        font-size: 16px;
        color: var(--navy);
        padding: 15px 20px;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: var(--transition);
        margin: 0;
    }

    .nav-links a:hover {
        color: var(--blue);
        background: rgba(30, 58, 95, 0.05);
        transform: translateX(10px);
    }

    .nav-links a::after {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    }
    100% {
        text-shadow: 0 2px 25px rgba(255,255,255,0.3), 0 2px 15px rgba(0,0,0,0.5);
    }
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Button with Top-to-Bottom Animation */
.btn {
    display: inline-block;
    background-color: transparent;
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--blue), var(--light-blue));
    transition: var(--transition);
    z-index: -1;
    border-radius: 50px;
}

.btn:hover::before {
    height: 100%;
}

.btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
    border-color: transparent;
}

/* Scroll Down Animation */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.scroll-down:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(3px);
}

.scroll-down i {
    font-size: 20px;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* =========================
   🌟 COMING SOON POPUP
========================= */
.popup {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Box */
.popup-content {
    background: #ffffff;
    padding: 50px 45px;
    border-radius: 24px;
    text-align: center;
    max-width: 460px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35),
                0 0 30px rgba(25, 90, 150, 0.15);
    transform: translateY(40px) scale(0.9);
    opacity: 0;
    animation: popupFadeIn 0.7s ease forwards;
}

@keyframes popupFadeIn {
    from {
        transform: translateY(40px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Header Text */
.popup-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorShift 5s infinite alternate;
}

@keyframes colorShift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(30deg); }
}

/* Paragraph */
.popup-content p {
    font-size: 1.1rem;
    color: var(--light-charcoal);
    margin-bottom: 30px;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

/* OK Button */
.popup-content button {
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popup-content button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.5s ease;
}

.popup-content button:hover::before {
    left: 100%;
}

.popup-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.5);
}

/* Subtle glow animation */
.popup-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(45deg, var(--blue), var(--light-blue));
    opacity: 0.15;
    filter: blur(25px);
    z-index: -1;
}


/* Contact Section */
/* Contact Section - Corrected */
.contact-section {
    padding: 120px 20px;
    position: relative;
    background-color: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    z-index: 1;
}

/* Main Contact Container */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
    position: relative;
    z-index: 2;
}

/* Contact Title */
.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title h2 {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--sky-blue));
    border-radius: 2px;
}

.contact-title p {
    color: var(--light-charcoal);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Form Row for Desktop Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
}

.form-control {
    padding: 16px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
    transform: translateY(-2px);
}

.form-control:hover {
    border-color: #c0c0c0;
    background-color: #f5f5f5;
}

/* Full-width textarea */
.form-group.full-width {
    grid-column: 1 / -1;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    transition: var(--transition);
    z-index: -1;
    border-radius: 8px;
}

.submit-btn:hover::before {
    height: 100%;
}

.submit-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.3);
    border-color: transparent;
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Form Validation Styles */
.form-control:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ff4757;
    background-color: rgba(255, 71, 87, 0.05);
}

.form-control:valid:not(:focus):not(:placeholder-shown) {
    border-color: #2ed573;
    background-color: rgba(46, 213, 115, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 100px 20px;
        min-height: auto;
    }
    
    .contact-container {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .contact-title h2 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 30px 20px;
        margin: 15px;
        border-radius: 15px;
    }
    
    .contact-title h2 {
        font-size: 1.8rem;
    }
    
    .contact-title p {
        font-size: 1rem;
    }
    
    .form-control {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Desktop Enhancements */
@media (min-width: 1024px) {
    .contact-container {
        max-width: 750px;
        padding: 70px 60px;
    }
    
    .contact-title h2 {
        font-size: 2.8rem;
    }
    
    .contact-title p {
        font-size: 1.2rem;
    }
    
    .form-control {
        padding: 18px 20px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 17px;
    }
    
    .form-row {
        gap: 25px;
    }
}

/* Animation for form elements */
.form-group {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Message Styles */
.form-success {
    background: linear-gradient(135deg, #2ed573, #1dd1a1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Footer */
.footer {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 25px 20px;
    text-align: center;
    font-size: 14px;
    animation: fadeIn 1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-container {
        padding: 40px 30px;
    }

    .contact-title h2 {
        font-size: 1.8rem;
    }

    .popup-content {
        padding: 40px 30px;
    }

    .popup-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .contact-container {
        padding: 30px 20px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .nav-links {
        width: 260px;
        padding-top: 70px;
    }

    .nav-links a {
        padding: 12px 20px;
        font-size: 15px;
    }

    .hamburger {
        padding: 6px;
    }

    .hamburger span {
        width: 22px;
        margin: 2.5px 0;
    }

    .logo {
        font-size: 20px;
    }
}

/* Animation for elements */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Floating animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease;
}
/* Contact Section (Desktop Refined) */
.contact-section {
    padding: 120px 20px;
    background-color: var(--cream);
    position: relative;
    z-index: 1;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
}

/* Main Contact Container */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow);
    transform: none;
    animation: none; /* removed floating animation */
}

/* Contact Title */
.contact-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title h2 {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-title p {
    color: var(--light-charcoal);
    font-size: 1.1rem;
}

/* Form Fields */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-charcoal);
    font-size: 15px;
}

.form-control {
    padding: 15px 18px;
    border: 1.5px solid #d9d9d9;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--blue), var(--light-blue));
    border-radius: 10px;
    z-index: -1;
    transition: var(--transition);
}

.submit-btn:hover::before {
    height: 100%;
}

.submit-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

/* Desktop Spacing Adjustments */
@media (min-width: 992px) {
    .contact-container {
        padding: 70px 60px;
    }

    .contact-title h2 {
        font-size: 2.6rem;
    }

    .form-control {
        font-size: 16px;
        padding: 18px 20px;
    }

    .submit-btn {
        font-size: 17px;
    }
}
/* =========================
   📱 MOBILE CONTACT SECTION FIX
========================= */
@media (max-width: 768px) {
    .contact-section {
        padding: 80px 15px;
    }

    .contact-container {
        width: 100%;
        padding: 40px 25px;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .contact-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .contact-title p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    /* Stack fields nicely */
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .form-group {
        width: 100%;
    }

    .form-control {
        font-size: 15px;
        padding: 14px 16px;
        border-radius: 10px;
        border: 1.5px solid #dcdcdc;
        transition: border-color 0.3s ease;
    }

    .form-control:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
        outline: none;
    }

    /* Button styling */
    .submit-btn {
        font-size: 16px;
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
    }

    /* Fix navbar overlap */
    .navbar {
        padding: 10px 20px;
    }

    /* Add breathing space below */
    footer {
        margin-top: 60px;
    }
}