/* style.css - Nammaloo 2025 Redesign */
:root {
    /* Nammaloo Color Palette 2025 */
    --nl-red: #FE0000;
    --nl-blue: #000789;
    --nl-yellow: #FFCE00;
    --nl-light-blue: #4DA6FF;
    --nl-pink: #FF00CC;
    
    /* Modern Gradients 2025 */
    --gradient-primary: linear-gradient(135deg, #000789 0%, #4DA6FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FFCE00 0%, #FFE55C 100%);
    --gradient-accent: linear-gradient(135deg, #FE0000 0%, #FF5252 100%);
    --gradient-vibrant: linear-gradient(135deg, #FF00CC 0%, #FF66E5 100%);
    --gradient-dark: linear-gradient(135deg, #000789 0%, #0A0A2A 100%);
    --gradient-sunset: linear-gradient(135deg, #FFCE00 0%, #FE0000 100%);
    --gradient-ocean: linear-gradient(135deg, #4DA6FF 0%, #000789 100%);
    --gradient-neon: linear-gradient(135deg, #FF00CC 0%, #4DA6FF 100%);
    --gradient-forest: linear-gradient(135deg, #05AD9C 0%, #00FFA3 100%);
    --gradient-royal: linear-gradient(135deg, #5A2D82 0%, #A4508B 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cyan: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-black-dark: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);


    /* Neutrals 2025 */
    --white: #ffffff;
    --light-bg: #F8F9FF;
    --light-gray: #E8EAF6;
    --medium-gray: #C5CAE9;
    --dark-gray: #5A5F7D;
    --black: #1A1A2E;
    
    /* Shadows - Glassmorphism & Neumorphism */
    --shadow-soft: 0 8px 32px rgba(0, 7, 137, 0.08);
    --shadow-medium: 0 12px 40px rgba(0, 7, 137, 0.12);
    --shadow-hard: 0 20px 60px rgba(0, 7, 137, 0.18);
    --shadow-glow: 0 0 40px rgba(77, 166, 255, 0.3);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Border Radius - Modern */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-full: 100px;
    
    /* Transitions 2025 */
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset 2025 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--black);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--nl-red) 0%, var(--nl-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Announcement Bar - Modern */
.announcement-bar {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 0.75rem 0;
    position: relative;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.btn-announcement {
    background: var(--gradient-secondary);
    color: var(--nl-blue);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-announcement::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-announcement:hover::before {
    left: 100%;
}

.btn-announcement:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
}


/* Header Actions */


.btn-app {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition-bounce);
}

.btn-app::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-app:hover::after {
    width: 300px;
    height: 300px;
}

.btn-app:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hard);
}

.btn-login {
    background: transparent;
    color: var(--nl-blue);
    /* padding: 0.875rem 1.75rem; */
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 2px solid var(--nl-blue);
    transition: all 0.3s var(--transition-bounce);
}

.btn-login:hover {
    background: var(--nl-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 7, 137, 0.2);
}

/* Container */
.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile Menu */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-medium);
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn-app,
    .btn-login {
        width: 100%;
        text-align: center;
    }
}
/* ==================== HERO SECTION WITH BACKGROUND IMAGE - FIXED ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(135deg, rgba(0, 7, 137, 0.9) 0%, rgba(77, 166, 255, 0.85) 100%);
    z-index: 1; /* Add this */
}

/* Remove or comment out the old gradient background from hero-section */
/* .hero-section::before is conflicting */

/* Background Image Container - FIXED */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Changed from 1 to -1 */
    overflow: hidden;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6) contrast(1.1);
    animation: zoomInOut 25s ease-in-out infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Gradient Overlay - FIXED */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 7, 137, 0.7) 0%, 
        rgba(77, 166, 255, 0.6) 50%, 
        rgba(255, 206, 0, 0.2) 100%);
    z-index: 1;
}

/* Fix for floating elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0; /* Changed from 1 to 0 */
    pointer-events: none;
}

/* Pattern Overlay - FIXED */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0; /* Changed from 2 to 0 */
}

/* Particle Background Effect - FIXED */
.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Changed from 2 to 0 */
    pointer-events: none;
}

/* Hero Content - Make it stand out on background - FIXED */
.hero-content {
    position: relative;
    z-index: 2; /* Ensure this is higher than background elements */
    color: var(--white);
    padding: 2rem 0;
}

/* Fix for z-index in main content */
main {
    position: relative;
    z-index: 1;
}

/* Container adjustment */
.container-fluid {
    position: relative;
    z-index: 2;
}

/* Fix for other sections being hidden */
.features-section,
.chennai-map-section,
.how-it-works-section,
.cta-section,
.testimonials-section,
.search-results-section {
    position: relative;
    z-index: 2;
    background: var(--white); /* Ensure they have solid background */
}

/* Fix the hero section height on mobile */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-bg-image {
        display: block; /* Ensure it's visible */
    }
}

/* Fix for very small screens */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-bg-image img {
        animation: none; /* Disable animation on mobile for performance */
    }
}

/* Search Box - Modern */
.search-box {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-title {
    font-weight: 600;
    color: var(--nl-blue);
    margin: 0;
}

.search-subtitle {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.input-group {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: all 0.3s var(--transition-smooth);
}

.input-group:focus-within {
    border-color: var(--nl-light-blue);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--nl-blue);
    font-size: 1.25rem;
}

.form-control {
    border: none;
    font-size: 1.1rem;
    padding: 1.25rem 0;
}

.form-control:focus {
    box-shadow: none;
}

.btn-search {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--transition-bounce);
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Smart Filters */
.smart-filters {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: var(--nl-blue);
    font-size: 0.875rem;
}

.filter-clear {
    background: none;
    border: none;
    color: var(--nl-red);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--transition-smooth);
}

.filter-clear:hover {
    background: rgba(254, 0, 0, 0.1);
}

.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.filter-chip:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 7, 137, 0.2);
}

.filter-chip i {
    font-size: 0.75rem;
}

/* Live Stats */
.live-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nl-blue);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--dark-gray);
    margin: 0;
}

/* App Preview */
.app-preview {
    perspective: 1000px;
    position: relative;
}

.app-screen {
    width: 320px;
    height: 600px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.6s var(--transition-smooth);
    margin: 0 auto;
}

.app-preview:hover .app-screen {
    transform: rotateY(0) rotateX(0) translateY(-10px);
}

.app-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-content {
    padding: 1rem;
    height: calc(100% - 130px);
}

.restroom-card-live {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h5 {
    margin: 0;
    color: var(--nl-blue);
}

.live-badge {
    background: rgba(255, 0, 0, 0.1);
    color: var(--nl-red);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.live-badge i {
    font-size: 0.5rem;
    margin-right: 0.25rem;
}

.restroom-list {
    flex: 1;
}

.restroom-item {
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    margin-bottom: 0.75rem;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
}

.restroom-item:hover {
    border-color: var(--nl-light-blue);
    box-shadow: 0 4px 12px rgba(77, 166, 255, 0.1);
}

.restroom-item.active {
    background: rgba(77, 166, 255, 0.05);
    border-color: var(--nl-light-blue);
}

.restroom-info h6 {
    font-size: 0.875rem;
    margin: 0 0 0.25rem 0;
    color: var(--nl-blue);
}

.location {
    font-size: 0.75rem;
    color: var(--dark-gray);
    margin: 0;
}

.restroom-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.status-badge.available {
    background: rgba(5, 173, 156, 0.1);
    color: #05ad9c;
}

.status-badge.busy {
    background: rgba(254, 0, 0, 0.1);
    color: var(--nl-red);
}

.hygiene-score {
    font-weight: 700;
    color: var(--nl-blue);
    font-size: 1.25rem;
}

.app-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.nav-item.active {
    color: var(--nl-blue);
}

.nav-item:hover {
    color: var(--nl-blue);
    transform: translateY(-2px);
}

/* Floating Notifications */
.floating-notification {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10;
    animation: float-notification 3s ease-in-out infinite;
}

@keyframes float-notification {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.notification-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.notification-2 {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}



.floating-notification i {
    color: var(--nl-blue);
}

/* Chennai Quick Access */
.chennai-quick-access {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
}

.access-title {
    font-weight: 600;
    color: var(--nl-blue);
    margin-bottom: 1rem;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.access-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s var(--transition-bounce);
    border: 1px solid var(--light-gray);
}

.access-item:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.access-item:hover i,
.access-item:hover span,
.access-item:hover small {
    color: var(--white);
}

.access-item i {
    font-size: 1.5rem;
    color: var(--nl-blue);
    margin-bottom: 0.5rem;
}

.access-item span {
    font-weight: 600;
    color: var(--nl-blue);
    margin-bottom: 0.25rem;
}

.access-item small {
    font-size: 0.75rem;
    color: var(--dark-gray);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--nl-blue);
    font-weight: 500;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--nl-blue);
    border-radius: 15px;
    margin: 1rem auto 0;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--nl-blue);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFFFFF 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--transition-spring);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hard);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--nl-blue);
}

.feature-description {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--nl-light-blue);
}
/* ==================== CHENNAI COVERAGE MAP SECTION ==================== */
.chennai-map-section {
    position: relative;
    padding: 8rem 0;
    background: var(--light-bg);
    z-index: 2;
}

.coverage-map {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
    height: 100%;
}

.map-container {
    position: relative;
    height: 800px;
    background: linear-gradient(135deg, #F0F2FF 0%, #E3E6FF 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Add Chennai Map Background */
.chennai-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" fill="%234DA6FF"><path d="M150,250 Q250,200 350,250 T550,250 L650,350 L550,450 L350,500 L150,450 L50,350 Z" fill="%23000789" opacity="0.1"/><path d="M200,300 Q300,250 400,300 T600,300 L700,400 L600,500 L400,550 L200,500 L100,400 Z" fill="%23FFCE00" opacity="0.1"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Add roads/streets pattern */
.chennai-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 95%, rgba(0, 7, 137, 0.1) 100%),
        linear-gradient(0deg, transparent 95%, rgba(0, 7, 137, 0.1) 100%);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Map Area Points */
.map-area {
    position: absolute;
    cursor: pointer;
    transition: all 0.4s var(--transition-bounce);
    text-align: center;
    transform-origin: center;
}

.map-area.active .area-pin {
    animation: bounce 0.5s var(--transition-bounce);
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Position the areas on the map */
.map-area.guindy {
    top: 45%;
    left: 45%;
}

.map-area.anna-nagar {
    top: 25%;
    left: 30%;
}

.map-area.t-nagar {
    top: 50%;
    left: 40%;
}

.map-area.adyar {
    top: 60%;
    left: 50%;
}

.map-area.velachery {
    top: 70%;
    left: 45%;
}

.map-area.porur {
    top: 30%;
    left: 60%;
}

.area-pin {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 7, 137, 0.3);
    margin: 0 auto 0.5rem;
    position: relative;
    transition: all 0.3s var(--transition-smooth);
    border: 3px solid var(--white);
}

.area-pin::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.map-area:hover .area-pin {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 7, 137, 0.4);
}

.area-label {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nl-blue);
    box-shadow: var(--shadow-sm);
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    min-width: 100px;
    transition: all 0.3s var(--transition-smooth);
}

.map-area:hover .area-label {
    background: var(--nl-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.area-count {
    font-size: 0.75rem;
    color: var(--dark-gray);
    text-align: center;
    margin-top: 0.25rem;
    opacity: 0;
    transition: var(--transition-normal);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.map-area:hover .area-count,
.map-area.active .area-count {
    opacity: 1;
}

/* Add connecting lines between areas */
.chennai-map::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 45%;
    width: 1px;
    height: 1px;
    background: linear-gradient(135deg, 
        rgba(0, 7, 137, 0.3), 
        rgba(77, 166, 255, 0.3));
    box-shadow: 
        0 0 0 1px rgba(0, 7, 137, 0.1),
        15px -20px 0 0 rgba(0, 7, 137, 0.3),
        5px -45px 0 0 rgba(0, 7, 137, 0.3),
        -15px -5px 0 0 rgba(0, 7, 137, 0.3),
        20px 25px 0 0 rgba(0, 7, 137, 0.3),
        -25px 15px 0 0 rgba(0, 7, 137, 0.3);
    border-radius: 50%;
    opacity: 0.5;
}

/* Add water bodies */
.water-body {
    position: absolute;
    border-radius: 50%;
    background: rgba(77, 166, 255, 0.1);
}

.water-body.one {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 40%;
}

.water-body.two {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 20%;
}

/* Coverage Stats */
.coverage-stats {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
    height: 100%;
}

.stat-card {
    margin-bottom: 1.5rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 500;
    color: var(--nl-blue);
    font-size: 0.875rem;
}

.stat-value {
    font-weight: 700;
    color: var(--nl-light-blue);
    font-size: 1.25rem;
}

.progress {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    height: 100%;
    transition: width 1s ease;
}

.coverage-highlights {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s var(--transition-smooth);
}

.highlight-item:hover {
    background: rgba(77, 166, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-area {
    font-weight: 500;
    color: var(--nl-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-area::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--nl-blue);
    border-radius: 50%;
    display: inline-block;
}

.highlight-count {
    background: var(--nl-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Responsive Chennai Map */
@media (max-width: 1199.98px) {
    .map-container {
        height: 450px;
    }
    
    .area-pin {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .area-label {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        min-width: 80px;
    }
}

@media (max-width: 991.98px) {
    .map-container {
        height: 400px;
        margin-bottom: 2rem;
    }
    
    .map-area.guindy {
        top: 45%;
        left: 40%;
    }
    
    .map-area.anna-nagar {
        top: 25%;
        left: 25%;
    }
    
    .map-area.t-nagar {
        top: 55%;
        left: 35%;
    }
    
    .map-area.adyar {
        top: 65%;
        left: 45%;
    }
    
    .map-area.velachery {
        top: 75%;
        left: 40%;
    }
    
    .map-area.porur {
        top: 30%;
        left: 55%;
    }
}

@media (max-width: 767.98px) {
    .map-container {
        height: 350px;
    }
    
    .area-pin {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .area-label {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        min-width: 70px;
    }
    
    .area-count {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    .map-container {
        height: 300px;
    }
    
    .map-area {
        transform: scale(0.8);
    }
    
    .map-area:hover {
        transform: scale(0.9);
    }
    
    .area-pin {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .area-label {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        min-width: 60px;
    }
}
/* Coverage Stats */
.coverage-stats {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
    height: 100%;
}

.stat-card {
    margin-bottom: 1.5rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 500;
    color: var(--nl-blue);
}

.stat-value {
    font-weight: 700;
    color: var(--nl-light-blue);
}

.progress {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    height: 100%;
    transition: width 1s ease;
}

.coverage-highlights {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1.5rem;
}

.highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-area {
    font-weight: 500;
    color: var(--nl-blue);
}

.highlight-count {
    background: var(--nl-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ==================== HOW IT WORKS ==================== */
.how-it-works-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F2FF 100%);
}

.steps-container {
    position: relative;
    padding: 2rem 0;
}

.step-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.step-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 7, 137, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s var(--transition-smooth);
}

.step-content:hover {
    transform: translateX(10px);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nl-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    color: var(--nl-blue);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--dark-gray);
    margin: 0;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    position: relative;
    padding: 8rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: var(--gradient-neon);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 15s ease-in-out infinite alternate;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--nl-blue);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s var(--transition-bounce);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s var(--transition-bounce);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.cta-visual {
    text-align: center;
}

.cta-visual i {
    color: var(--nl-yellow);
    margin-bottom: 1rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #F8F9FF 0%, #FFFFFF 100%);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--transition-spring);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 6rem;
    font-family: serif;
    color: var(--nl-light-blue);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-hard);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.user-name {
    font-weight: 600;
    color: var(--nl-blue);
    margin: 0;
}

.user-location {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin: 0;
}

.rating {
    color: var(--nl-yellow);
}

.testimonial-text {
    color: var(--dark-gray);
    font-style: italic;
    margin: 0;
}

/* ==================== SEARCH RESULTS ==================== */
.search-results-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    color: var(--dark-gray);
    margin: 0;
}

.results-sort .form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--nl-blue);
    transition: all 0.3s var(--transition-smooth);
}

.results-sort .form-select:focus {
    border-color: var(--nl-light-blue);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
}

.restroom-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s var(--transition-spring);
    cursor: pointer;
    height: 100%;
}

.restroom-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hard);
}

.restroom-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.restroom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.restroom-card:hover .restroom-image img {
    transform: scale(1.1);
}

.restroom-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.restroom-content {
    padding: 1.5rem;
}

.restroom-title {
    font-size: 1.25rem;
    color: var(--nl-blue);
    margin-bottom: 0.5rem;
}

.restroom-category {
    font-size: 0.875rem;
    color: var(--nl-light-blue);
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.restroom-description {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.restroom-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.restroom-distance {
    font-weight: 600;
    color: var(--nl-blue);
}

.restroom-rating {
    color: var(--nl-yellow);
    font-weight: 600;
}

.restroom-pricing {
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.no-results {
    padding: 4rem 2rem;
    text-align: center;
}

.no-results i {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.no-results h4 {
    color: var(--nl-blue);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--dark-gray);
}

/* ==================== MODAL ==================== */
.modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    margin: 0;
}

.modal-subtitle {
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.restroom-detail {
    color: var(--black);
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h6 {
    color: var(--nl-blue);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item i {
    font-size: 1.25rem;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.location-details {
    background: rgba(248, 249, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.location-details p {
    margin: 0.5rem 0;
    color: var(--dark-gray);
}

.location-details i {
    color: var(--nl-blue);
    width: 20px;
}

.certification-score {
    text-align: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.score-label {
    font-weight: 600;
    color: var(--nl-blue);
    margin-bottom: 0.25rem;
}

.modal-footer {
    border-top: 1px solid var(--light-gray);
    padding: 1.5rem 2rem;
}



/* ==================== UTILITY CLASSES ==================== */
.text-gradient {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-yellow {
    background: var(--gradient-secondary);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #05ad9c 0%, #08d9c8 100%);
}

.bg-gradient-red {
    background: var(--gradient-accent);
}

/* Custom Shapes */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

.shape-divider .shape-fill {
    fill: var(--white);
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Fade In Animation for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Grid System Enhancements */
.row.gap-4 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.row.gap-4 > [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 7, 137, 0.1);
    border-radius: 50%;
    border-top-color: var(--nl-blue);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1199.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 6rem 0;
    }
    
    .step-line {
        left: 30px;
    }
    
    .step-item {
        margin-left: 60px;
    }
    
    .live-stats {
        grid-template-columns: 1fr;
    }
    
    .access-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-light,
    .btn-outline-light {
        width: 100%;
        text-align: center;
    }
    
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .results-sort {
        width: 100%;
    }
    
    .results-sort .form-select {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .filter-chip {
        white-space: nowrap;
    }
}

/* Hero Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    filter: blur(40px);
    pointer-events: none;
}

.floating-element.el-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation: float 20s infinite linear;
}

.floating-element.el-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
    background: var(--gradient-vibrant);
    animation: float 25s infinite linear reverse;
}

.floating-element.el-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    background: var(--gradient-secondary);
    animation: float 15s infinite linear;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--nl-light-blue), transparent);
    opacity: 0.05;
    pointer-events: none;
}

.gradient-sphere.sphere-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
}

.gradient-sphere.sphere-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    background: radial-gradient(circle, var(--nl-pink), transparent);
}

/* Badge Dot Animation */
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--nl-red);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--nl-red);
    animation: pulse 1.5s infinite;
}

/* Input Group Append Fix */
.input-group-append {
    display: flex;
}

/* Ensure proper button alignment */
.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Fix for form control in search */
#smartSearch {
    padding: 1.25rem 1rem;
}

    /* ==================== PREMIUM FOOTER STYLES ==================== */
    .premium-footer {
        position: relative;
        background: linear-gradient(135deg, #000428 0%, #0a0a2a 100%);
        color: #ffffff;
        padding-top: 6rem;
        margin-top: 0rem;
        overflow: hidden;
    }

    .footer-wave {
        position: absolute;
        top: -100px;
        left: 0;
        width: 100%;
        height: 100px;
        color: #000428;
        z-index: 1;
    }

    .footer-wave svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .footer-main {
        position: relative;
        z-index: 2;
    }

    /* Social & Download Section - Top */
    .footer-top-social {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 2.5rem;
        margin-bottom: 3rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }

    /* Glass Card Effect */
    .glass-card {
        background: rgb(255, 252, 252) !important;
        backdrop-filter: blur(20px);
        border-radius: 24px;
        padding: 2.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .glass-card:hover {
        transform: translateY(-10px);
        border-color: rgba(0, 245, 255, 0.3);
        box-shadow: 
            0 30px 80px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(0, 245, 255, 0.2);
    }

    /* 3D Logo Effect */
    .logo-3d {
        position: relative;
        display: inline-block;
        margin-bottom: 2rem;
    }

    .logo-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200px;
        height: 60px;
        background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
        filter: blur(20px);
        z-index: -1;
    }

    .footer-tagline {
        color: var(--nl-blue);
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    /* Newsletter Form */
    .newsletter-subscription {
        margin-top: 2rem;
    }

    .newsletter-title {
        color: #00f5ff;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .newsletter-form .input-group {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
    }

    .newsletter-form .form-control {
        background: transparent;
        border: none;
        color: white;
        padding: 1rem 1.5rem;
    }

    .newsletter-form .form-control:focus {
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
    }

    .btn-newsletter {
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        border: none;
        color: white;
        padding: 1rem 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-newsletter:hover {
        background: linear-gradient(135deg, #b026ff, #00f5ff);
        transform: scale(1.05);
    }

    .newsletter-note {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 0.5rem;
    }

    /* Section Titles */
    .footer-section-title {
        color: #00f5ff;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .title-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    /* Modern Links */
    .footer-links-modern {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links-modern li {
        margin-bottom: 0.75rem;
    }

    .footer-links-modern a {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .footer-links-modern a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .footer-links-modern a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #00f5ff;
        transform: translateX(10px);
    }

    .footer-links-modern a:hover::before {
        left: 100%;
    }

    .link-icon {
        width: 30px;
        height: 30px;
        background: rgba(0, 245, 255, 0.1);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .footer-links-modern a:hover .link-icon {
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        transform: rotate(10deg);
    }

    .link-text {
        flex: 1;
    }

    .link-arrow {
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .footer-links-modern a:hover .link-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    /* Contact Info Modern */
    .contact-info-modern {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-item-modern {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .contact-details {
        flex: 1;
    }

    .contact-label {
        display: block;
        font-size: 0.9rem;
        color: #00f5ff;
        font-weight: 500;
        margin-bottom: 0.25rem;
    }

    .contact-value {
        display: block;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* Social Media Section - Updated */
    .social-title, .download-title {
        color: #00f5ff;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .social-links-modern {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-btn {
        position: relative;
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .social-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .social-btn i {
        position: relative;
        z-index: 1;
    }

    .social-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: inherit;
        border-radius: 50%;
        filter: blur(15px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .social-btn:hover {
        transform: translateY(-5px) scale(1.1);
    }

    .social-btn:hover::before {
        opacity: 1;
    }

    .social-btn:hover .social-glow {
        opacity: 0.5;
    }

    /* Platform-specific colors */
    .social-btn.facebook:hover { background: #1877f2; }
    .social-btn.twitter:hover { background: #1da1f2; }
    .social-btn.instagram:hover { background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
    .social-btn.linkedin:hover { background: #0077b5; }
    .social-btn.youtube:hover { background: #ff0000; }

    /* Download Buttons - Improved Text Visibility */
    .download-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .download-btn {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.12); /* Darker background for better contrast */
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 200px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .download-btn:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        border-color: transparent;
        box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
    }

    .download-btn i {
        font-size: 2rem;
        color: white;
    }

    .btn-text {
        display: flex;
        flex-direction: column;
    }

    .btn-text .small {
        font-size: 0.8rem;
        opacity: 0.8;
        color: rgba(255, 255, 255, 0.9); /* Lighter color */
        font-weight: 500;
    }

    .btn-text .large {
        font-size: 1.2rem;
        font-weight: 600;
        color: white; /* Pure white for better visibility */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    /* Footer Bottom */
    .footer-bottom {
        padding: 2rem 0;
        position: relative;
        z-index: 5;
    }

    .copyright-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .copyright-text {
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin: 0;
    }

    .tech-stack {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .tech-badge {
        padding: 0.4rem 1rem;
        background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(176, 38, 255, 0.1));
        border: 1px solid rgba(0, 245, 255, 0.2);
        border-radius: 20px;
        font-size: 0.8rem;
        color: #00f5ff;
    }

    .footer-legal {
        display: flex;
        justify-content: flex-end;
        gap: 2rem;
    }

    .legal-link {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
        z-index: 6; /* Higher z-index for legal links */
    }

    .legal-link:hover {
        color: #00f5ff;
        transform: translateY(-2px);
    }

    /* Back to Top Button - Moved higher and adjusted */
    .back-to-top {
        position: fixed;
        bottom: 90px; /* Moved higher to avoid overlap */
        right: 2rem;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #00f5ff, #b026ff);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
    }

    .back-to-top.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .back-to-top:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 15px 40px rgba(0, 245, 255, 0.5);
    }

    .pulse-ring {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid #00f5ff;
        border-radius: 50%;
        animation: pulseRing 2s infinite;
        opacity: 0;
    }

    @keyframes pulseRing {
        0% {
            transform: scale(1);
            opacity: 0.5;
        }
        100% {
            transform: scale(1.5);
            opacity: 0;
        }
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .footer-top .row > div {
            margin-bottom: 3rem;
        }
        
        .download-buttons {
            flex-direction: column;
        }
        
        .download-btn {
            min-width: 100%;
        }
        
        .footer-legal {
            justify-content: flex-start;
            margin-top: 1.5rem;
        }
        
        .footer-top-social {
            padding: 2rem;
        }
    }

    @media (max-width: 768px) {
        .premium-footer {
            padding-top: 4rem;
            margin-top: 4rem;
        }
        
        .glass-card {
            padding: 1.5rem;
        }
        
        .social-links-modern {
            justify-content: center;
        }
        
        .footer-legal {
            flex-direction: column;
            gap: 1rem;
        }
        
        .back-to-top {
            bottom: 80px; /* Adjusted for mobile */
            right: 1rem;
        }
        
        .footer-top-social {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
    }

    @media (max-width: 480px) {
        .footer-wave {
            top: -50px;
            height: 50px;
        }
        
        .logo-3d img {
            height: 35px;
            width: 140px;
        }
        
        .footer-section-title {
            font-size: 1.1rem;
        }
        
        .social-btn, .contact-icon {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        
        .back-to-top {
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
            bottom: 70px;
            right: 1rem;
        }
        
        .download-btn {
            padding: 0.8rem 1rem;
            min-width: auto;
        }
        
        .btn-text .small {
            font-size: 0.7rem;
        }
        
        .btn-text .large {
            font-size: 1rem;
        }
    }

    /* Tooltip for Social Icons */
    .social-btn[data-tooltip] {
        position: relative;
    }

    .social-btn[data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.5rem 1rem;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        font-size: 0.8rem;
        border-radius: 6px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .social-btn[data-tooltip]:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-10px);
    }
