.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;
}




    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #8a2be2;
            --primary-dark: #6a1cb8;
            --primary-light: #9b5fe0;
            --accent-color: #ff6bff;
            --text-dark: #333333;
            --text-light: #ffffff;
            --gray-bg: #f8f5ff;
            --shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
            --nav-bg: #6a1cb8; /* Navbar background color */
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles - Updated with colored background */
        header {
            background-color: var(--nav-bg); /* Changed to colored background */
            box-shadow: var(--shadow);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 15px 0;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: white; /* Changed to white for better contrast */
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            font-size: 32px;
        }

        .logo span {
            color: var(--accent-color); /* Kept accent color for logo highlight */
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: white; /* Changed to white for better contrast */
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s;
            position: relative;
            padding: 5px 0;
        }

        nav ul li a:hover {
            color: var(--accent-color);
        }

        nav ul li a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            left: 0;
            bottom: 0;
            transition: width 0.3s;
        }

        nav ul li a:hover:after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: white; /* Changed to white */
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                        url('../images/slider/hero-01.jpeg');
            background-size: cover;
            background-position: center;
            color: var(--text-light);
            text-align: center;
            padding: 180px 0 100px;
            margin-top: 70px;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero h1 span {
            color: var(--accent-color);
        }

        .hero p {
            font-size: 20px;
            max-width: 800px;
            margin: 0 auto 30px;
            opacity: 0.9;
        }

        .hero .highlight {
            color: var(--accent-color);
            font-weight: 600;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            color: white;
            padding: 15px 40px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 18px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
            margin-top: 20px;
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(138, 43, 226, 0.6);
        }

        /* Contact Section */
        .contact {
            padding: 100px 0;
            background-color: var(--gray-bg);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 36px;
            color: var(--primary-color);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--accent-color);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }

        .contact-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .contact-form {
            background-color: white;
            padding: 50px;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--primary-dark);
        }

        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-size: 16px;
            transition: border 0.3s;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
        }

        .submit-btn {
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            width: 100%;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
        }

        /* Map Section */
        .map-section {
            padding: 100px 0;
        }

        .map-container {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            height: 500px;
        }

        /* Footer */
        footer {
            background-color: #2a0b4f;
            color: white;
            padding: 30px 0;
            text-align: center;
        }

        .copyright {
            font-size: 14px;
            opacity: 0.8;
        }

        /* Scroll to Top Button */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(to right, var(--primary-color), var(--accent-color));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            cursor: pointer;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
        }

        .scroll-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .scroll-to-top:hover {
            transform: translateY(-5px);
        }
        
        /* Custom CAPTCHA Section */
        .captcha-section {
            background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
            border-radius: 15px;
            padding: 30px;
            margin: 30px 0;
            border: 2px solid #e2e8f0;
            position: relative;
        }
        
        .captcha-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 6px;
            height: 100%;
            background: var(--secondary-color);
        }
        
        .captcha-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .captcha-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            font-weight: 600;
        }
        
        .captcha-display {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 25px;
            background: var(--white-color);
            padding: 20px;
            border-radius: 10px;
            border: 2px solid #e2e8f0;
        }
        
        .captcha-code {
            font-family: 'Courier New', monospace;
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: 10px;
            padding: 15px;
            background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
            border-radius: 8px;
            color: var(--primary-color);
            user-select: none;
            text-align: center;
            flex-grow: 1;
            margin-right: 20px;
            border: 1px dashed #cbd5e1;
        }
        
        .captcha-refresh-btn {
            background: var(--gradient-primary);
            color: var(--white-color);
            border: none;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
        }
        
        .captcha-refresh-btn:hover {
            transform: rotate(180deg);
            box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
        }
        
        .captcha-input-container {
            margin-bottom: 15px;
        }
        
        .captcha-input {
            width: 100%;
            padding: 18px 20px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            letter-spacing: 5px;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s;
            background-color: var(--white-color);
        }
        
        .captcha-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
        }
        
        .captcha-message {
            font-size: 0.9rem;
            margin-top: 10px;
            padding: 12px 15px;
            border-radius: 8px;
            display: none;
            align-items: center;
            gap: 10px;
        }
        
        .captcha-success {
            background-color: #d1fae5;
            color: #065f46;
            display: flex;
        }
        
        .captcha-error {
            background-color: #fee2e2;
            color: #991b1b;
            display: flex;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 42px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .logo {
                font-size: 30px;
            }
            
            .logo i {
                font-size: 26px;
                margin-right: 8px;
            }
            
            nav ul {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background-color: var(--nav-bg); /* Mobile menu same color */
                flex-direction: column;
                align-items: center;
                padding-top: 50px;
                transition: left 0.3s;
                box-shadow: var(--shadow);
            }
            
            nav ul.active {
                left: 0;
            }
            
            nav ul li {
                margin: 15px 0;
            }
            
            .hero {
                padding: 150px 0 80px;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .contact {
                padding: 70px 0;
            }
            
            .section-title h2 {
                font-size: 30px;
            }
            
            .contact-form {
                padding: 30px;
            }
            
            .map-section {
                padding: 70px 0;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 32px;
            }
            
            .hero p {
                font-size: 18px;
            }
            
            .logo {
                font-size: 20px;
            }
            
            .logo i {
                font-size: 22px;
                margin-right: 6px;
            }
            
            .section-title h2 {
                font-size: 26px;
            }
            
            .contact-form {
                padding: 25px 20px;
            }
            
            .map-container {
                height: 400px;
            }
        }