/* 
 * Premium Main Stylesheet for PowerPlus360
 * High-Tech, Sustainable, and Futuristic Design
 * Midnight Space-Blue, Black, White, and Purple-Magenta Gradient Theme
 */

:root {
    --primary-color: #0d0f1d;     /* Deep Midnight Space Blue */
    --primary-dark: #05060c;      /* Infinite Cosmic Black */
    --primary-light: #161930;     /* Slate Blue-Grey for card backdrops */
    --secondary-color: #7928ca;   /* Electric Neon Purple */
    --secondary-hover: #5d1bb3;   /* Royal Purple for active elements */
    --accent-color: #ff0080;      /* Electric Neon Magenta */
    --text-color: #1e2229;        /* Deep Charcoal text for body */
    --text-light: #616875;        /* Soft Slate text for body paragraphs */
    --bg-light: #f7f9fc;          /* Crisp clean slate background */
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 14px;
    
    /* Cosmic Gradient Combinations */
    --hero-gradient: linear-gradient(135deg, #05060c 0%, #0d0f1d 50%, #150f2e 100%);
    --accent-gradient: linear-gradient(135deg, #7928ca 0%, #ff0080 100%);
    --light-gradient: linear-gradient(135deg, #f7f9fc 0%, #f1f3f9 100%);
    --glow-shadow: 0 10px 30px rgba(121, 40, 202, 0.15);
    --glow-strong: 0 15px 40px rgba(121, 40, 202, 0.25);
    --magenta-glow: 0 15px 40px rgba(255, 0, 128, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.68;
    overflow-x: hidden;
}

/* Typography with Cosmic Gradients */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Ensure headings inside text-white or dark containers are pure white */
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.testimonial-section h1, .testimonial-section h2, .testimonial-section h3,
.hero-section h1, .hero-section h2 {
    color: var(--white) !important;
}

p {
    color: var(--text-light);
}

.text-primary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background: var(--light-gradient) !important;
}

/* Gradient text accent utility */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Base Buttons with glowing micro-interactions */
.btn {
    padding: 13px 30px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: capitalize;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: var(--glow-shadow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline-primary {
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color) !important;
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent-gradient) !important;
    border-color: transparent !important;
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: var(--glow-shadow);
}

/* Header & Navigation (Cosmic style) */
.navbar {
    padding: 22px 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(11, 13, 25, 0.03);
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(11, 13, 25, 0.06);
}

/* Hue Filter Shift to Cosmic Indigo-Purple */
.navbar-brand img, footer img {
    height: 52px;
    filter: saturate(1.2) contrast(1.05);
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.03);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 14px;
    margin: 0 12px;
    position: relative;
    padding: 8px 0 !important;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--accent-gradient);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border-color: rgba(11, 13, 25, 0.1);
}

.navbar-toggler-icon {
    filter: invert(10%) sepia(20%) saturate(1000%) hue-rotate(220deg);
}

/* Hero Section with Windmill Background Image & Curved Wave Shape */
.hero-section {
    padding: 160px 0 140px;
    color: var(--white);
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Windmill variant: full-bleed background image fallback */
.hero-section.hero-windmill {
    background: url('../assets/windmill_images/windmill_1 (2).jpg') center center / cover no-repeat;
    padding-bottom: 160px;
}

/* Background Video Styling */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Dark gradient overlay for legibility (sits between video/image and text content) */
.hero-section.hero-windmill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,6,12,0.82) 0%, rgba(13,15,29,0.68) 45%, rgba(21,15,46,0.6) 100%);
    z-index: 1;
}

/* ---- Multi-layered Curved Wave Shape (Prokon-inspired) ---- */
.hero-waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 2;
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave--pink {
    z-index: 1;
    opacity: 0.85;
}

.hero-wave--orange {
    z-index: 2;
    opacity: 0.75;
    height: 70%;
}

.hero-wave--white {
    z-index: 3;
    height: 80%;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.9rem;
    margin-bottom: 25px;
    line-height: 1.15;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.25rem;
    margin-bottom: 45px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Subpage Light Header Banner - No Blue, Clean White with Black/Charcoal Text */
.subpage-header {
    padding: 185px 0 95px;
    background: var(--white) !important;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(11, 13, 25, 0.06);
    z-index: 10;
}

.subpage-header h1 {
    color: var(--primary-color) !important;
    font-size: 3.6rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subpage-header p {
    color: var(--text-light) !important;
    font-size: 1.22rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    line-height: 1.62;
}

/* Floating Solar Tech Panel Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

/* Sections General */
.section-padding {
    padding: 95px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 65px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 65px;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Advanced Cards & Glowing Purple-to-Magenta Hover Effects */
.service-card, .feature-card, .portfolio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 13, 25, 0.03);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(11, 13, 25, 0.04);
}

.service-card:hover, .feature-card:hover, .portfolio-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: var(--glow-strong);
    border-color: rgba(121, 40, 202, 0.35);
}

.service-card img, .portfolio-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img, .portfolio-card:hover img {
    transform: scale(1.06);
}

.service-content {
    padding: 30px;
}

.service-content h3, .feature-card h3, .portfolio-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Highlights Feature Card purple accent */
.feature-card {
    border-top: 4px solid var(--primary-light);
    transition: var(--transition);
}

.feature-card:hover {
    border-top-color: var(--secondary-color);
}

/* Counter Box (Cosmic Gradient style) */
.counter-box {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #0d0f1d, #161930);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(11, 13, 25, 0.15);
}

.counter-box:hover {
    transform: translateY(-5px);
    background: var(--accent-gradient);
    box-shadow: var(--magenta-glow);
}

.counter-box h3 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.counter-box p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Testimonial Panel with Parallax and Gradient backdrop */
.testimonial-section {
    background: linear-gradient(rgba(5, 6, 12, 0.94), rgba(13, 15, 29, 0.94)), url('../assets/testimonial-bg.jpg') fixed center center/cover;
    color: var(--white);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(121, 40, 202, 0.3);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dynamic Process Workflow Section */
.workflow-step {
    position: relative;
    padding: 20px;
}

.workflow-number-circle {
    width: 85px;
    height: 85px;
    font-size: 2.2rem;
    font-weight: 800;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: var(--bg-light);
    color: var(--secondary-color);
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px rgba(11, 13, 25, 0.06);
    transition: var(--transition);
}

.workflow-step:hover .workflow-number-circle {
    background: var(--accent-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--glow-strong);
}

/* Contact Form & Input Settings */
.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 45px rgba(11, 13, 25, 0.04);
    border: 1px solid rgba(11, 13, 25, 0.04);
}

.form-control {
    border-radius: 8px;
    padding: 14px 18px;
    border: 1px solid rgba(11, 13, 25, 0.08);
    background-color: var(--bg-light);
    color: var(--text-color);
    transition: var(--transition);
    margin-bottom: 24px;
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(121, 40, 202, 0.15);
}

/* Accordion Customization (for FAQ Page) */
.accordion-item {
    border-color: rgba(11, 13, 25, 0.06) !important;
}

.accordion-button {
    padding: 22px 25px;
    font-weight: 600;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    box-shadow: none;
}

.accordion-button::after {
    filter: invert(10%) sepia(20%) saturate(1000%) hue-rotate(220deg);
}

/* Footer Section */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 85px 0 30px;
}

footer h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--glow-shadow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* Custom Scrollbar for cosmic theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Preloader with cosmic double pulse */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(121, 40, 202, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Advanced CSS Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Scroll Reveal Animations (Left, Right, Bottom) */
.reveal-left {
    opacity: 0;
    transform: translateX(-120px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(120px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-bottom.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legacy support animation selectors */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delay Utility Classes */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }

/* ==================== Expertise Tabs (Prokon-inspired) ==================== */
.expertise-tab {
    background: var(--white);
    border: 1px solid rgba(11, 13, 25, 0.08);
    border-radius: var(--border-radius);
    padding: 22px 16px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.expertise-tab:hover {
    border-color: rgba(121, 40, 202, 0.3);
    box-shadow: var(--glow-shadow);
    transform: translateY(-4px);
}

.expertise-tab.active {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(121, 40, 202, 0.15);
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 0, 128, 0.03));
}

.expertise-tab__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.expertise-tab.active .expertise-tab__icon {
    background: var(--accent-gradient);
    color: var(--white);
}

.expertise-tab__label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-color);
    line-height: 1.3;
}

.expertise-tab__arrow {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: var(--transition);
}

.expertise-tab.active .expertise-tab__arrow {
    color: var(--secondary-color);
    transform: rotate(180deg);
}

/* Expandable Detail Panel */
.expertise-detail {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(11, 13, 25, 0.06);
    overflow: hidden;
    min-height: 100px;
}

.expertise-detail__panel {
    display: none;
    padding: 35px 40px;
    animation: fadeSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-detail__panel.active {
    display: block;
}

.expertise-detail__panel h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Tamil Nadu Projects Map Section ==================== */
.tn-map-section {
    background: var(--light-gradient);
}

.map-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(11, 13, 25, 0.08);
    border: 1px solid rgba(11, 13, 25, 0.06);
    background: var(--white);
}

.tn-map-container {
    width: 100%;
    height: 520px;
    border-radius: var(--border-radius);
}

/* Map Sidebar */
.map-sidebar {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 40px rgba(11, 13, 25, 0.08);
    border: 1px solid rgba(11, 13, 25, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-sidebar__header {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(11, 13, 25, 0.06);
    background: var(--bg-light);
}

.map-sidebar__footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(11, 13, 25, 0.06);
    background: var(--bg-light);
    margin-top: auto;
}

.district-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.district-list__item {
    padding: 14px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(11, 13, 25, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.district-list__item:last-child {
    border-bottom: none;
}

.district-list__item:hover {
    background: linear-gradient(90deg, rgba(121, 40, 202, 0.06), transparent);
    color: var(--secondary-color);
    padding-left: 30px;
}

.district-list__item.active {
    background: linear-gradient(90deg, rgba(121, 40, 202, 0.12), transparent);
    color: var(--secondary-color);
    font-weight: 700;
    padding-left: 30px;
    border-left: 3px solid var(--secondary-color);
}

.district-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: inline-block;
    flex-shrink: 0;
}

.district-list__item.active .district-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 8px rgba(255, 0, 128, 0.5);
}

/* Pulsing active dot in footer */
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Custom Leaflet Marker Styles */
.custom-map-marker {
    background: none !important;
    border: none !important;
}

.marker-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent-gradient);
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 0, 128, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marker-pin i {
    transform: rotate(45deg);
    color: var(--white);
    font-size: 14px;
}

.marker-pulse {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(121, 40, 202, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    animation: markerPulse 2s ease-out infinite;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Custom Popup Styles */
.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(11, 13, 25, 0.12);
    border: 1px solid rgba(11, 13, 25, 0.06);
    padding: 0;
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
}

.custom-popup .leaflet-popup-tip {
    box-shadow: 0 4px 10px rgba(11, 13, 25, 0.08);
}

.map-popup {
    padding: 18px 20px;
}

.map-popup__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(121, 40, 202, 0.15);
}

.map-popup__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.map-popup__stat {
    text-align: center;
    padding: 8px;
    background: var(--bg-light);
    border-radius: 8px;
}

.map-popup__value {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.map-popup__label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.map-popup__type {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    background: var(--accent-gradient);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .navbar {
        background-color: var(--white);
        padding: 15px 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 15px;
        box-shadow: 0 10px 25px rgba(11, 13, 25, 0.05);
        border: 1px solid rgba(11, 13, 25, 0.03);
    }
    
    .nav-link {
        margin: 10px 0;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-waves {
        height: 120px;
    }

    .hero-section.hero-windmill {
        padding-bottom: 160px;
    }

    .tn-map-container {
        height: 380px;
    }

    .map-sidebar {
        max-height: 400px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 160px 0 140px;
    }

    .hero-section.hero-windmill {
        padding-bottom: 150px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .contact-form {
        padding: 25px;
    }

    .hero-waves {
        height: 80px;
    }

    .tn-map-container {
        height: 300px;
    }

    .district-list__item {
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .map-sidebar__header {
        padding: 15px 18px;
        font-size: 1rem;
    }
}

/* ==================== Our Philosophy Section ==================== */
.philosophy-section {
    background-color: var(--white);
    padding-top: 100px;
    padding-bottom: 100px;
}
.philosophy-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #828a99;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.philosophy-badge .badge-square {
    width: 14px;
    height: 14px;
    background-color: #8cc63f; /* Lime green from screenshot */
    display: inline-block;
}
.philosophy-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.philosophy-text {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.65;
}
.philosophy-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 13, 25, 0.05);
}
.philosophy-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.philosophy-image-container:hover .philosophy-image {
    transform: scale(1.03);
}
.philosophy-list {
    display: flex;
    flex-direction: column;
}
.philosophy-item {
    transition: var(--transition);
}
.philosophy-icon-container {
    flex-shrink: 0;
}
.philosophy-icon-circle {
    width: 54px;
    height: 54px;
    border: 2px solid #8cc63f; /* Lime green outline */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8cc63f;
    font-size: 1.25rem;
    background: transparent;
    transition: var(--transition);
}
.philosophy-item:hover .philosophy-icon-circle {
    background-color: #8cc63f;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(140, 198, 63, 0.35);
    transform: scale(1.08);
}
.philosophy-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.4;
    transition: var(--transition);
}
.philosophy-item:hover .philosophy-item-title {
    color: #8cc63f;
}
.philosophy-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 991px) {
    .philosophy-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .philosophy-title {
        font-size: 2.2rem;
    }
    .philosophy-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .philosophy-item-title {
        font-size: 1.1rem;
    }
}

