:root {
    --primary: #2ecc71;
    --primary-dark: #1e8449;
    --glossy-gradient: linear-gradient(135deg, #0e3d23 0%, #1e8449 45%, #2ecc71 50%, #1e8449 55%, #0e3d23 100%);
    --glossy-card: linear-gradient(145deg, #111111, #0a0a0a);
    --glossy-border: rgba(46, 204, 113, 0.3);
    --neon-glow: 0 0 10px rgba(46, 204, 113, 0.5);

    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(46, 204, 113, 0.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glossy Header */
header {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glossy-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--glossy-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.5));
}

/* Navigation Links */
.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

/* Buttons and Badges - GLOSSY STYLE */
.badge,
.district-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glossy-border);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.badge::before,
.district-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.district-btn:hover::before {
    left: 100%;
}

.district-btn:hover {
    background: var(--glossy-gradient);
    color: white;
    border-color: #4ade80;
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

/* Primary Glossy Button */
.btn-primary {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: none;
    background: var(--glossy-gradient);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px -5px rgba(46, 204, 113, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(46, 204, 113, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Form Container - GLOSSY GREEN SPECIAL */
.form-container {
    background: linear-gradient(145deg, rgba(14, 61, 35, 0.9), rgba(10, 10, 10, 0.95));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3), inset 0 0 20px rgba(46, 204, 113, 0.1);
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(46, 204, 113, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Modern Floating Input */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 0.5rem;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.1);
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: 0;
    transform: translateY(-50%) scale(0.9);
    background: var(--bg-card);
    color: var(--primary);
    font-weight: bold;
}

/* Valid state check */
.input-group input:valid:not(:placeholder-shown) {
    border-color: var(--primary);
}

.input-group input:valid:not(:placeholder-shown)::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    color: var(--primary);
}

/* Accessibility & Focus Management */
.input-group input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Invalid state visualization for interaction */
.input-group input:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Districts Grid */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .btn-primary {
        padding: 1.5rem;
    }
}

/* Utility Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-step {
    display: none;
}

/* Header Phone Styling */
.header-phone {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    /* Fallback */
    color: var(--text-white);
    text-decoration: none;
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 5s linear infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5);
    transition: transform 0.3s ease;
}

.header-phone:hover {
    transform: scale(1.05);
}

@keyframes rainbow {
    to {
        background-position: 200% center;
    }
}

/* Floating WhatsApp Button */
/* Floating WhatsApp Button - Icon Only */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    font-size: 32px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .header-phone {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}