.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 {
            --beige: #f8f4f0;
            --gold: #d4af37;
            --sky-blue: #e6f2ff;
            --royal-blue: #1a4b8c;
            --dark-text: #333333;
            --light-text: #666666;
            --white: #ffffff;
            --footer-dark: #0a1a2a;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark-text);
            background: linear-gradient(135deg, var(--beige) 0%, var(--sky-blue) 100%);
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 80px; /* Navbar space */
        }

        h1, h2, h3 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        h1 {
            font-size: 3.5rem;
            line-height: 1.2;
        }

        h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 3rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            background: rgba(255, 182, 193, 0.8);
            backdrop-filter: blur(12px);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
            z-index: 1000;
            transition: var(--transition);
            border-radius: 20px;
        }

        /* Logo */
        .logo {
            background: linear-gradient(135deg, var(--royal-blue), var(--gold));
            color: #fff;
            font-weight: bold;
            border-radius: 50px;
            padding: 0.5rem 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        /* Nav Links */
        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-item {
            text-decoration: none;
            color: var(--dark-text);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
        }

        .nav-item:hover {
            color: var(--royal-blue);
        }

        .nav-item.active::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--gold);
            border-radius: 2px;
        }

        /* Hamburger */
        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            position: relative;
        }

        .hamburger span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: var(--dark-text);
            transition: var(--transition);
            border-radius: 2px;
        }

        /* ---------- Mobile Navbar ---------- */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .nav-links {
                position: fixed;
                top: -100%;
                left: 0;
                width: 100%;
                background: rgba(255, 182, 193, 0.98);
                backdrop-filter: blur(10px);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding: 5rem 0 2rem;
                gap: 2rem;
                border-radius: 0 0 40px 40px;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
                transition: var(--transition);
                z-index: 999;
                height: auto;
                max-height: 70vh;
                overflow-y: auto;
            }

            .nav-links.active {
                top: 80px;
            }

            /* Hamburger animation */
            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
            }
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 6rem 0;
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .hero-text {
            flex: 1;
            max-width: 50%;
            padding-right: 3rem;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--light-text);
            margin-bottom: 2rem;
            font-weight: 400;
        }

        .notify-btn {
            background: linear-gradient(135deg, var(--royal-blue) 0%, var(--gold) 100%);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            box-shadow: 0 5px 15px rgba(26, 75, 140, 0.3);
        }

        .notify-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(26, 75, 140, 0.4);
        }

        .hero-image {
            flex: 1;
            max-width: 45%;
            position: relative;
        }

        .image-card {
            background: var(--white);
            border-radius: 30px;
            padding: 2rem;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .image-placeholder {
            height: 500px;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                        url('../images/wakad-project/sp-images.jpg') center/cover;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            color: white;
        }

        .image-text {
            text-align: center;
            color: white;
            font-style: italic;
            background: rgba(0,0,0,0.5);
            padding: 1rem 2rem;
            border-radius: 10px;
        }

        /* Floating shapes */
        .floating-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.1;
            z-index: -1;
        }

        .shape-1 {
            width: 200px;
            height: 200px;
            background: var(--gold);
            top: 10%;
            left: 5%;
            animation: float 8s infinite ease-in-out;
        }

        .shape-2 {
            width: 150px;
            height: 150px;
            background: var(--royal-blue);
            bottom: 15%;
            right: 10%;
            animation: float 10s infinite ease-in-out reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        /* Location Section */
        .location {
            padding: 6rem 0;
            background: var(--white);
            border-radius: 40px 40px 0 0;
            margin-top: 2rem;
        }

        .location-content {
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        .map-container {
            flex: 1;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }

        .map-placeholder {
            height: 400px;
            background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), 
                        url('../images/wakad-project/sp-download.jpeg') center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            color: white;
        }

        .map-text {
            background: rgba(0,0,0,0.7);
            padding: 1rem 2rem;
            border-radius: 10px;
            text-align: center;
        }

        .location-text {
            flex: 1;
        }

        .location-features {
            list-style: none;
            margin-top: 2rem;
        }

        .location-features li {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .location-features li::before {
            content: "✓";
            color: var(--gold);
            font-weight: bold;
            margin-right: 1rem;
            background: rgba(212, 175, 55, 0.1);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Contact Section */
        .contact {
            padding: 6rem 0;
            background: var(--beige);
        }

        .contact-subtitle {
            text-align: center;
            color: var(--light-text);
            max-width: 600px;
            margin: 0 auto 3rem;
        }

        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            background: var(--white);
            padding: 3rem;
            border-radius: 30px;
            box-shadow: var(--shadow);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 1rem;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            font-family: 'Poppins', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--royal-blue);
            box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
        }

        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, var(--royal-blue) 0%, var(--gold) 100%);
            color: white;
            border: none;
            padding: 1.2rem;
            font-size: 1.1rem;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            margin-top: 1rem;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(26, 75, 140, 0.4);
        }

        /* Footer */
        .footer {
            padding: 2rem 0;
            text-align: center;
            color: var(--light-text);
            font-size: 0.9rem;
            background: var(--footer-dark);
        }

        /* Popup */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .popup {
            background: var(--white);
            border-radius: 30px;
            padding: 3rem;
            max-width: 500px;
            width: 90%;
            text-align: center;
            box-shadow: var(--shadow);
            transform: scale(0.9);
            transition: var(--transition);
        }

        .popup-overlay.active .popup {
            transform: scale(1);
        }

        .popup h3 {
            font-size: 2rem;
            color: var(--royal-blue);
            margin-bottom: 1rem;
        }

        .popup p {
            margin-bottom: 2rem;
            color: var(--light-text);
        }

        .popup-btn {
            background: linear-gradient(135deg, var(--royal-blue) 0%, var(--gold) 100%);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1rem;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
        }

        .popup-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(26, 75, 140, 0.3);
        }

        /* Fade-in */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Back to Top */
        #backToTop {
            position: fixed;
            bottom: 25px;
            right: 25px;
            background: linear-gradient(135deg, var(--royal-blue), var(--gold));
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }

        #backToTop.show {
            opacity: 1;
            visibility: visible;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero-content, .location-content {
                flex-direction: column;
            }

            .hero-text, .hero-image {
                max-width: 100%;
                padding-right: 0;
                margin-bottom: 3rem;
            }

            h1 { font-size: 2.8rem; }
            h2 { font-size: 2rem; }
        }

        @media (max-width: 768px) {
            .navbar { 
                padding: 0.8rem 1.5rem; 
                width: 97%;
            }
            
            .nav-item { 
                font-size: 1.1rem; 
                padding: 0.5rem 0;
            }
            
            .contact-form { padding: 2rem; }
            
            /* Ensure hamburger is visible and working */
            .hamburger {
                display: flex;
                z-index: 1001;
            }
            
            .nav-links {
                display: none;
            }
            
            .nav-links.active {
                display: flex;
            }
        }

        @media (max-width: 576px) {
            .container { padding: 0 1.5rem; }
            h1 { font-size: 2.2rem; }
            h2 { font-size: 1.8rem; }
            .hero-subtitle { font-size: 1.2rem; }
            .popup { padding: 2rem; }
            .image-placeholder, .map-placeholder { height: 300px; }
            
            .navbar {
                padding: 0.8rem 1rem;
            }
            
            .logo {
                font-size: 1rem;
                padding: 0.4rem 1rem;
            }
        }