/* Professional CSS for Tulima Solar Website */

/* CSS Variables for Professional Color Scheme */
:root {
    --primary-purple: #660099;     /* Primary purple color */
    --secondary-gray: #9EA4A7;     /* Secondary gray color */
    --accent-green: #B0D7AB;       /* Accent green color */
    --accent-orange: #E98E39;      /* Accent orange color */
    --dark-purple: #4A0066;        /* Darker purple for contrast */
    --light-purple: #F0E6F7;       /* Light purple for backgrounds */
    --dark-gray: #212121;          /* Dark gray for text */
    --medium-gray: #757575;        /* Medium gray for secondary text */
    --light-gray: #F5F5F5;         /* Light gray for backgrounds */
    --white: #FFFFFF;
    --black: #000000;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    --gradient-accent: linear-gradient(45deg, var(--accent-orange) 0%, #F5A623 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    --gradient-text: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-purple) 100%);
    --font-header: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
    --font-body: 'Calibri', 'Candara', 'Segoe', 'Segoe UI', 'Optima', 'Arial', sans-serif;
    
    /* Background Pattern URLs */
    --bg-solar-pattern: url('/static/images/background-pattern.svg');
    --bg-geometric-pattern: url('/static/images/geometric-pattern.svg');
    --bg-wave-pattern: url('/static/images/wave-pattern.svg');
    --bg-energy-flow: url('/static/images/energy-flow.svg');
    
    /* Responsive Breakpoints */
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Force light mode and prevent browser color scheme overrides */
    color-scheme: light;
    forced-color-adjust: none;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-gray) !important;
    background-color: var(--white) !important;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Force original color scheme */
    color-scheme: light;
    forced-color-adjust: none;
    /* Prevent browser dark mode overrides */
    -webkit-color-scheme: light;
    -moz-color-scheme: light;
    /* Ensure text remains readable */
    -webkit-text-fill-color: var(--dark-gray) !important;
    /* Override any system color scheme preferences */
    background: var(--white) !important;
    color: var(--dark-gray) !important;
}

/* Bootstrap Container Overrides - Proper Responsive Design */
.container {
    max-width: 1320px !important; /* Bootstrap's default max-width */
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
        padding: 0 2rem !important;
    }
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px !important;
        padding: 0 3rem !important;
    }
}

/* Ultra wide screens (1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px !important;
        padding: 0 4rem !important;
    }
}

/* Force original color scheme for all elements */
* {
    color-scheme: light !important;
    forced-color-adjust: none !important;
}

/* Ensure all text elements maintain original colors */
h1, h2, h3, h4, h5, h6, p, span, div, a, li, td, th, label, input, textarea, select, button {
    color-scheme: light !important;
    forced-color-adjust: none !important;
    -webkit-text-fill-color: inherit !important;
}

/* Prevent horizontal scrollbars on containers */
.container, .container-fluid, .row, .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Prevent scrollbars in hero section */
.hero-section-modern {
    max-height: 100vh !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Allow hero content to display properly */
.hero-section-modern .hero-content,
.hero-section-modern .hero-title,
.hero-section-modern .hero-subtitle,
.hero-section-modern .hero-cta-group,
.hero-section-modern .btn {
    overflow: visible !important;
    width: auto !important;
}

/* Additional scrollbar prevention */
section, div, article, aside, header, footer, main, nav {
    box-sizing: border-box !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-header);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Professional Navigation - Irri-Hub Style */
/* Override ALL Bootstrap navbar styles with maximum specificity */
.navbar,
.navbar.navbar-expand-lg,
.navbar.navbar-expand-lg.navbar-expand-md,
.navbar.navbar-expand-lg.navbar-expand-sm,
.navbar.navbar-expand-lg.navbar-expand-xl,
.navbar.navbar-expand-lg.navbar-expand-xxl {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
}

/* Override any Bootstrap navbar styles with maximum specificity */
.navbar.bg-light,
.navbar.bg-white,
.navbar.bg-transparent,
.navbar.navbar-expand-lg.bg-light,
.navbar.navbar-expand-lg.bg-white,
.navbar.navbar-expand-lg.bg-transparent {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.navbar.scrolled.bg-light,
.navbar.scrolled.bg-white,
.navbar.scrolled.bg-transparent,
.navbar.navbar-expand-lg.scrolled.bg-light,
.navbar.navbar-expand-lg.scrolled.bg-white,
.navbar.navbar-expand-lg.scrolled.bg-transparent {
    background: rgba(255, 255, 255, 0.95) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

            /* Debug style removed - navbar transparency working */

/* Force transparency for all navbar states with maximum specificity */
.navbar:not(.scrolled),
.navbar.navbar-expand-lg:not(.scrolled),
.navbar.navbar-expand-lg.navbar-expand-md:not(.scrolled),
.navbar.navbar-expand-lg.navbar-expand-sm:not(.scrolled),
.navbar.navbar-expand-lg.navbar-expand-xl:not(.scrolled),
.navbar.navbar-expand-lg.navbar-expand-xxl:not(.scrolled) {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.navbar.scrolled,
.navbar.navbar-expand-lg.scrolled,
.navbar.navbar-expand-lg.navbar-expand-md.scrolled,
.navbar.navbar-expand-lg.navbar-expand-sm.scrolled,
.navbar.navbar-expand-lg.navbar-expand-xl.scrolled,
.navbar.navbar-expand-lg.navbar-expand-xxl.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    margin: 1rem auto !important;
    padding: 1rem 2rem !important;
    max-width: calc(100% - 4rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.navbar-brand {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white) !important;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.5px;
    text-shadow: none;
    transition: all 0.3s ease;
    max-width: 200px;
    min-width: 160px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Reduce brand margin when scrolled to keep it inside bubble */
.navbar.scrolled .navbar-brand,
.navbar.navbar-expand-lg.scrolled .navbar-brand,
.navbar.navbar-expand-lg.navbar-expand-md.scrolled .navbar-brand,
.navbar.navbar-expand-lg.navbar-expand-sm.scrolled .navbar-brand,
.navbar.navbar-expand-lg.navbar-expand-xl.scrolled .navbar-brand,
.navbar.navbar-expand-lg.navbar-expand-xxl.scrolled .navbar-brand {
    margin-right: 2rem !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-purple) !important;
    text-shadow: none;
    font-weight: 700 !important;
}

/* Logo switching styles */
.navbar-brand .logo-white {
    display: block;
    opacity: 1;
    transition: all 0.3s ease;
}

.navbar-brand .logo-dark {
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand .logo-white {
    display: none;
    opacity: 0;
}

.navbar.scrolled .navbar-brand .logo-dark {
    display: block;
    opacity: 1;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff !important;
    padding: 0.6rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    text-shadow: none;
    margin: 0;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-nav .nav-link {
    color: #333 !important;
    text-shadow: none;
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-purple) !important;
    background: rgba(102, 0, 153, 0.06);
}

.navbar-toggler {
    border: none;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
    transition: all 0.3s ease;
}

/* Ensure white text for all navbar elements when not scrolled */
.navbar:not(.scrolled) .navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar:not(.scrolled) .navbar-nav .nav-link:hover,
.navbar:not(.scrolled) .navbar-nav .nav-link:focus {
    color: #ffffff !important;
    opacity: 0.8;
}

.navbar:not(.scrolled) .navbar-nav .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}

.navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    padding: 0.5rem !important;
    margin-top: 0.25rem !important;
    min-width: 200px !important;
    max-width: 250px !important;
    overflow: visible !important;
    z-index: 999999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: none !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Remove any display:none that might conflict with Bootstrap */
.dropdown-menu:not(.show) {
    display: none !important;
}



.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure dropdown is visible over hero section */
.dropdown-menu {
    pointer-events: auto !important;
    transform: none !important;
}

/* Ensure dropdown parent has proper positioning */
.nav-item.dropdown {
    position: relative !important;
    z-index: 99999 !important;
}

/* Ensure dropdown menu has proper positioning */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 999999 !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    min-width: 200px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
}

/* Ensure navbar nav has proper stacking context */
.navbar-nav {
    position: relative !important;
    z-index: 99999 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Ensure navbar-collapse doesn't clip dropdowns */
.navbar-collapse {
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Force dropdown visibility when shown */
.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 99999 !important;
}

/* Ensure dropdowns work in both normal and scrolled states */
.navbar .dropdown-menu,
.navbar.scrolled .dropdown-menu {
    z-index: 999999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    display: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    max-height: none !important;
    min-height: auto !important;
}

/* Force dropdown visibility when shown */
.navbar .dropdown-menu.show,
.navbar.scrolled .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    min-width: 200px !important;
    padding: 0.5rem 0 !important;
}

/* Also show when parent li has .show (Bootstrap sometimes toggles parent) */
.navbar .nav-item.dropdown.show > .dropdown-menu,
.navbar.scrolled .nav-item.dropdown.show > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Also show when toggle ARIA state is expanded */
.navbar .dropdown-toggle[aria-expanded="true"] + .dropdown-menu,
.navbar.scrolled .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.dropdown-item {
    color: #333 !important;
    padding: 0.6rem 1rem !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    font-size: 0.9rem !important;
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.dropdown-item:hover {
    background: rgba(102, 0, 153, 0.06);
    color: var(--primary-purple);
    transform: none;
}

.navbar .btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    text-decoration: none;
    display: inline-block;
}

/* Reduce button margin when scrolled to keep it inside bubble */
.navbar.scrolled .btn-primary,
.navbar.navbar-expand-lg.scrolled .btn-primary,
.navbar.navbar-expand-lg.navbar-expand-md.scrolled .btn-primary,
.navbar.navbar-expand-lg.navbar-expand-sm.scrolled .btn-primary,
.navbar.navbar-expand-lg.navbar-expand-xl.scrolled .btn-primary,
.navbar.navbar-expand-lg.navbar-expand-xxl.scrolled .btn-primary {
    margin-left: 0.75rem !important;
    min-width: 90px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* CLEAN NAVBAR LAYOUT - COMPLETE REDESIGN */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    background: transparent;
    padding: 1rem 0;
}

/* Container Layout */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    .navbar .container {
        max-width: 1320px;
        padding: 0 2rem;
    }
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .navbar .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

/* Ultra wide screens (1920px and up) */
@media (min-width: 1920px) {
    .navbar .container {
        max-width: 1600px;
        padding: 0 4rem;
    }
}

/* Brand Logo */
.navbar-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    max-width: 180px;
    min-width: 150px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Navigation Menu */
.navbar-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0 2rem;
    flex-wrap: nowrap;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    z-index: 9999;
}

/* CTA Button */
.navbar .btn-primary {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 130px;
    box-sizing: border-box;
}

/* Scrolled State - Bubble Effect */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    margin: 1rem auto !important;
    padding: 0.75rem 2rem !important;
    max-width: calc(100% - 4rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 4rem) !important;
}

.navbar.scrolled .container {
    padding: 0 1rem !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    .navbar.scrolled .container {
        max-width: 1320px !important;
        padding: 0 2rem !important;
    }
}

/* Extra large screens (1600px and up) */
@media (min-width: 1600px) {
    .navbar.scrolled .container {
        max-width: 1400px !important;
        padding: 0 3rem !important;
    }
}

/* Ultra wide screens (1920px and up) */
@media (min-width: 1920px) {
    .navbar.scrolled .container {
        max-width: 1600px !important;
        padding: 0 4rem !important;
    }
}

.navbar.scrolled .navbar-nav {
    gap: 1.5rem !important;
    margin: 0 1rem !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--primary-purple) !important;
}

.navbar.scrolled .nav-link {
    color: var(--dark-gray) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary-purple) !important;
    background: rgba(102, 0, 153, 0.08) !important;
}

.navbar-nav .nav-item {
    margin: 0;
    flex: 0 0 auto;
    max-width: 120px;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
    white-space: nowrap;
}

.navbar .btn-primary:active {
    transform: none;
}

/* Laptop-specific adjustments */
@media (max-width: 1200px) and (min-width: 992px) {
    .navbar.scrolled {
        margin: 1rem auto !important;
        padding: 0.75rem 1.5rem !important;
        max-width: calc(100% - 3rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 3rem) !important;
    }
    
    .navbar.scrolled .container {
        padding: 0 0.5rem !important;
    }
    
    .navbar.scrolled .navbar-nav {
        gap: 1rem !important;
        margin: 0 0.5rem !important;
    }
    
    .navbar.scrolled .nav-link {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .navbar.scrolled .btn-primary {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
    }
}

/* Responsive Navigation Adjustments */
@media (max-width: 1400px) and (min-width: 1200px) {
    .navbar.scrolled {
        margin: 1rem auto !important;
        padding: 0.75rem 1.75rem !important;
        max-width: calc(100% - 3.5rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 3.5rem) !important;
    }
    
    .navbar.scrolled .navbar-nav {
        gap: 1.25rem !important;
        margin: 0 0.75rem !important;
    }
    
    .navbar-nav {
        margin: 0 1.5rem;
        gap: 0.4rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0 0.2rem;
        max-width: 110px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-nav {
        margin: 0 1rem;
        gap: 0.3rem;
    }
    
    .navbar-nav .nav-item {
        margin: 0 0.15rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Mobile Navigation Enhancements - Irri-Hub Style */
@media (max-width: 991.98px) {
    /* Override bubble effect for mobile - make it full width with minimal margins */
    .navbar.scrolled,
    .navbar.navbar-expand-lg.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-md.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-sm.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-xl.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-xxl.scrolled {
        margin: 0.5rem auto !important;
        padding: 0.75rem 1rem !important;
        max-width: calc(100% - 2rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 12px !important;
    }
    
    /* Optimize button for mobile screens in scrolled state */
    .navbar.scrolled .btn-primary {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-width: 85px !important;
        white-space: nowrap !important;
        margin-left: 0.6rem !important;
    }
    
    .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 0.75rem;
        box-shadow: none;
        border: none;
    }
    
    .navbar.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 6px;
        margin: 0.125rem 0;
        font-size: 0.95rem;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(102, 0, 153, 0.06);
        transform: none;
    }
    
    .dropdown-menu {
        background: rgba(248, 248, 248, 0.95);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        margin-top: 0;
        border-radius: 6px;
    }
    
    .navbar .btn-primary {
        margin: 0.75rem 0;

        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Extra small mobile devices - further optimize bubble effect */
@media (max-width: 575px) {
    .navbar.scrolled,
    .navbar.navbar-expand-lg.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-md.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-sm.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-xl.scrolled,
    .navbar.navbar-expand-lg.navbar-expand-xxl.scrolled {
        margin: 0.25rem auto !important;
        padding: 0.5rem 0.75rem !important;
        max-width: calc(100% - 1rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 8px !important;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar .btn-primary {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Mobile menu fixes for very small screens */
    .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border-radius: 12px;
        max-width: calc(100vw - 2rem);
        width: calc(100vw - 2rem);
        left: 1rem;
        right: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem;
        margin: 0.125rem 0;
    }
    
    .dropdown-menu {
        margin-top: 0.25rem;
        padding: 0.5rem 0;
        border-radius: 8px;
    }
    
        .dropdown-item {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.85rem;
    }
}
    
    /* Optimize button for small screens in scrolled state */
    .navbar.scrolled .btn-primary {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        min-width: 80px !important;
        white-space: nowrap !important;
        margin-left: 0.5rem !important;
    }
}

/* Very small mobile devices - ultra compact button */
@media (max-width: 400px) {
    .navbar.scrolled .btn-primary {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.7rem !important;
        min-width: 70px !important;
        margin-left: 0.4rem !important;
    }
}

/* Button text responsive behavior */
.btn-primary .btn-text-short {
    display: none;
}

.btn-primary .btn-text-full {
    display: inline;
}

/* Show short text on small screens */
@media (max-width: 575px) {
    .btn-primary .btn-text-full {
        display: none;
    }
    
    .btn-primary .btn-text-short {
        display: inline;
    }
}

/* Custom Background Patterns */
.bg-solar-pattern {
    background-color: rgba(102, 0, 153, 0.05);
    background-image: var(--bg-solar-pattern);
    background-size: 100px 100px;
    background-repeat: repeat;
    position: relative;
    z-index: 1;
}

.bg-solar-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.25) 0%, rgba(176, 215, 171, 0.25) 100%);
    z-index: 0;
}

.bg-geometric-pattern {
    background-color: rgba(233, 142, 57, 0.05);
    background-image: var(--bg-geometric-pattern);
    background-size: 120px 120px;
    background-repeat: repeat;
    position: relative;
    z-index: 1;
}

.bg-geometric-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.15) 0%, rgba(233, 142, 57, 0.15) 100%);
    z-index: 0;
}

.bg-wave-pattern {
    background-color: rgba(176, 215, 171, 0.05);
    background-image: var(--bg-wave-pattern);
    background-size: 200px 100px;
    background-repeat: repeat-x;
    position: relative;
    z-index: 1;
}

.bg-wave-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.12) 0%, rgba(176, 215, 171, 0.12) 100%);
    z-index: 0;
}

.bg-energy-flow {
    background-color: rgba(233, 142, 57, 0.05);
    background-image: var(--bg-energy-flow);
    background-size: 150px 150px;
    background-repeat: repeat;
    position: relative;
    z-index: 1;
}

.bg-energy-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 142, 57, 0.15) 0%, rgba(176, 215, 171, 0.15) 100%);
    z-index: 0;
}

/* Responsive Background Patterns */
@media (max-width: 768px) {
    .bg-solar-pattern,
    .bg-geometric-pattern,
    .bg-wave-pattern,
    .bg-energy-flow {
        background-size: 60px 60px;
    }
    
    .bg-wave-pattern {
        background-size: 120px 60px;
    }
}

@media (max-width: 576px) {
    .bg-solar-pattern,
    .bg-geometric-pattern,
    .bg-wave-pattern,
    .bg-energy-flow {
        background-size: 40px 40px;
    }
    
    .bg-wave-pattern {
        background-size: 80px 40px;
    }
}

/* CSS-Generated Solar Panel Images */
.solar-panel-placeholder {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solar-panel-placeholder::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: 
        linear-gradient(90deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 60%, transparent 60%, transparent 100%),
        linear-gradient(0deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.1) 60%, transparent 60%, transparent 100%);
    background-size: 20px 20px;
    border-radius: 8px;
}

.solar-panel-placeholder::after {
    content: '☀️';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Water Pump Placeholder */
.water-pump-placeholder {
    position: relative;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-pump-placeholder::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.water-pump-placeholder::after {
    content: '💧';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Water Pump Specific Sections */
.water-pump-section {
    background: var(--white);
}

.water-pump-section.bg-wave-pattern {
    background: var(--white), var(--bg-wave-pattern);
    background-size: cover, 200px 100px;
    background-repeat: no-repeat, repeat-x;
}

.water-pump-section.bg-energy-flow {
    background: var(--white), var(--bg-energy-flow);
    background-size: cover, 150px 150px;
    background-repeat: no-repeat, repeat;
}

.navbar-brand {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-purple) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--accent-green) !important;
    transform: translateY(-1px);
}

.navbar-brand i {
    font-size: 2rem;
    color: var(--accent-orange);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 0, 153, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 0.25rem;
}

.navbar-nav .nav-link {
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-gray) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
    background: rgba(102, 0, 153, 0.08);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-purple) !important;
    background: rgba(102, 0, 153, 0.12);
    font-weight: 700;
}



/* Professional Dropdown Menus */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    font-family: var(--font-header);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(102, 0, 153, 0.08);
    color: var(--primary-purple);
    transform: translateX(5px);
}



.dropdown-divider {
    margin: 0.5rem 1.5rem;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Professional CTA Button */
.navbar .btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar .btn-primary:hover {
    background: linear-gradient(45deg, #F5A623, var(--accent-orange));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 142, 57, 0.4);
    color: var(--white);
}

.navbar .btn-primary:active {
    transform: translateY(-1px);
}

/* Mobile Navigation Enhancements */
@media (max-width: 991.98px) {
    /* Hide logo and menu button when mobile menu is expanded */
.navbar-collapse.show ~ .navbar-brand,
.navbar-collapse.show ~ .navbar-toggler,
.navbar-collapse.show + .navbar-brand,
.navbar-collapse.show + .navbar-toggler {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Alternative approach: hide logo and menu button when navbar is expanded */
.navbar.show .navbar-brand,
.navbar.show .navbar-toggler {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Ensure the container doesn't have extra padding when menu is expanded */
.navbar.show .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Force the navbar-collapse to take full width when expanded */
.navbar-collapse.show {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-radius: 0 0 15px 15px !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 1.5rem !important;
    padding-bottom: 5rem !important;
    margin: 0 !important;
}
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        max-width: calc(100vw - 2rem);
        width: calc(100% - 2rem);
        overflow: visible;
        margin-left: 1rem;
        margin-right: 1rem;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 5rem;
    }
    
    .navbar-nav {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        border-radius: 12px;
        margin: 0.25rem 0;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(102, 0, 153, 0.08);
        transform: translateX(5px);
    }
    
    .dropdown-menu {
        background: rgba(245, 245, 245, 0.9);
        border: none;
        box-shadow: none;
        margin-top: 0;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        left: 0 !important;
        right: 0 !important;
        position: static !important;
        float: none !important;
        transform: none !important;
    }
    
    .dropdown-item {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 1rem !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .navbar .btn-primary {
        margin: 1rem 0;
        width: 100%;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        word-wrap: break-word;
        hyphens: auto;
        position: sticky;
        bottom: 0;
        background: var(--gradient-accent) !important;
        z-index: 10;
    }
}

/* Additional mobile menu fixes for very small screens */
@media (max-width: 480px) {
    .navbar-collapse {
        padding: 1rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
        width: calc(100% - 1rem) !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem !important;
        font-size: 0.95rem !important;
    }
    
    .dropdown-item {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem !important;
    }
    
    .navbar .btn-primary {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
}

/* Modern Hero Section */
.hero-section-modern {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: none;
    overflow: hidden;
    margin-top: 0; /* Remove margin to allow video to extend behind navbar */
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    box-sizing: border-box;
}

/* When video is present, remove the gradient background */
.hero-section-modern.has-video {
    background: none;
}

.hero-section-modern.bg-solar-pattern {
    background: var(--bg-solar-pattern);
    background-size: 100px 100px;
    background-repeat: repeat;
    z-index: 1;
}

.hero-section-modern.bg-geometric-pattern {
    background: var(--bg-geometric-pattern);
    background-size: 120px 120px;
    background-repeat: repeat;
    z-index: 1;
}

.hero-section-modern.bg-wave-pattern {
    background: var(--bg-wave-pattern);
    background-size: 200px 100px;
    background-repeat: repeat-x;
    z-index: 1;
}

.hero-section-modern.bg-energy-flow {
    background: var(--bg-energy-flow);
    background-size: 150px 150px;
    background-repeat: repeat;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Extend video background behind navbar */
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
}

/* Remove gradient background when video is present */
.hero-section-modern.has-video .hero-background {
    background: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Lighter overlay when video is present */
.hero-section-modern.has-video .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 2;
}

/* Video Background Styles */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height to extend behind navbar */
    object-fit: cover;
    z-index: 0;
    /* Ensure video is visible through transparent navbar */
    pointer-events: none;
    filter: brightness(0.7) contrast(1.1);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Full viewport height to extend behind navbar */
    z-index: 0;
    overflow: hidden;
    /* Ensure video container extends behind navbar */
    pointer-events: none;
    filter: brightness(0.7) contrast(1.1);
}

.hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: brightness(0.7) contrast(1.1);
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px; /* Add padding to account for navbar height */
}

.hero-badge {
    display: inline-block;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-cta-group .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    position: relative;
    z-index: 2;
}

.hero-main-image img {
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-main-image:hover img {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: -15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-card .card-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.floating-card .card-content h6 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.floating-card .card-content p {
    color: var(--medium-gray);
    font-size: 0.8rem;
    margin: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Enhanced Hero Section Responsive Design */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .hero-section-modern {
        height: 100vh;
        padding: 0;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 3;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .hero-section-modern .col-lg-12 {
        padding: 0 2rem;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-cta-group {
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .hero-stats {
        margin-top: 2rem;
        flex-shrink: 0;
    }
    
    .hero-stats .row {
        margin: 0;
    }
    
    .hero-stats .col-4, .hero-stats .col-6, .hero-stats .col-12 {
        padding: 0 0.75rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .floating-card {
        padding: 1.25rem;
    }
    
    .floating-card .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .floating-card .card-content h6 {
        font-size: 1rem;
    }
    
    .floating-card .card-content p {
        font-size: 0.9rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-section-modern {
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 3;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
    
    .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .hero-section-modern .col-lg-12 {
        padding: 0 1.5rem;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-cta-group {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }
    
    .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .hero-stats {
        margin-top: 3.5rem;
        flex-shrink: 0;
    }
    
    .hero-stats .row {
        margin: 0;
    }
    
    .hero-stats .col-4, .hero-stats .col-6, .hero-stats .col-12 {
        padding: 0 0.625rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section-modern {
        height: 100vh;
        overflow: hidden;
        position: relative;
    }
    
    .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .hero-section-modern .col-lg-12 {
        padding: 0 1rem;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        padding-top: 120px;
        padding-bottom: 2rem;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-cta-group {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .hero-stats {
        margin-top: 2rem;
        flex-shrink: 0;
    }
    
    .hero-stats .row {
        margin: 0;
    }
    
    .hero-stats .col-4, .hero-stats .col-6, .hero-stats .col-12 {
        padding: 0 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .floating-card {
        padding: 0.875rem;
        transform: scale(0.9);
    }
    
    .floating-card .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .floating-card .card-content h6 {
        font-size: 0.85rem;
    }
    
    .floating-card .card-content p {
        font-size: 0.75rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-top: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        transform: scale(0.8);
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
        display: inline-block;
    }
    
    .floating-card.card-1 {
        top: auto;
        left: auto;
        margin-right: 1rem;
    }
    
    
    .floating-card.card-2 {
        bottom: auto;
        right: auto;
        margin-left: 1rem;
    }
    
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-section-modern .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section-modern .row {
        width: 100%;
        margin: 0;
    }
    
    .hero-section-modern .col-lg-12 {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-scroll-indicator {
        bottom: 0.75rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-section-modern .container {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section-modern .row {
        width: 100%;
        margin: 0;
    }
    
    .hero-section-modern .col-lg-12 {
        width: 100%;
        max-width: 100%;
        padding: 0 0.25rem;
    }
    
    .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-stats {
        margin-top: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-scroll-indicator {
        bottom: 0.5rem;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

/* Very Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .hero-section-modern {
        min-height: 75vh;
        padding: 0.375rem 0;
    }
    
    .hero-content {
        padding-top: 55px;
        padding-bottom: 0.375rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.625rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.875rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-cta-group {
        gap: 0.375rem;
        margin-bottom: 0.875rem;
    }
    
    .hero-cta-group .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .hero-stats {
        margin-top: 0.875rem;
    }
    
    .hero-stats .row {
        margin: 0 -0.125rem;
    }
    
    .hero-stats .col-4 {
        padding: 0 0.0625rem;
        margin-bottom: 0.375rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.125rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        line-height: 1.1;
    }
    
    .hero-scroll-indicator {
        bottom: 0.25rem;
    }
    
    .scroll-arrow {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    /* Responsive column adjustments for very small screens */
    .hero-stats .col-4,
    .hero-stats .col-6,
    .hero-stats .col-12 {
        margin-bottom: 0.375rem;
        padding: 0 0.0625rem;
    }
}

/* Additional responsive improvements for small screens */
@media (max-width: 480px) {
    .hero-stats .row {
        margin: 0 -0.25rem;
    }
    
    .hero-stats .col-4,
    .hero-stats .col-6,
    .hero-stats .col-12 {
        padding: 0 0.125rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item {
        padding: 0.5rem 0.25rem;
    }
}

/* Modern Section Headers */
.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Modern Solutions Section */
.solutions-section {
    padding: 6rem 0;
    background: var(--white);
}

.solutions-section.bg-solar-pattern {
    background: var(--bg-solar-pattern);
    background-size: 100px 100px;
    background-repeat: repeat;
    position: relative;
}

.solutions-section.bg-solar-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.solutions-section.bg-geometric-pattern {
    background: var(--bg-geometric-pattern);
    background-size: 120px 120px;
    background-repeat: repeat;
    position: relative;
}

.solutions-section.bg-geometric-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.solution-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.card-icon-wrapper {
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center; 
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.solution-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.card-content h4 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.feature-list li i {
    color: var(--primary-purple);
    font-size: 0.9rem;
}

/* Modern Benefits Section */
/* What We Offer specific benefits section styling */
.what-we-offer-page .benefits-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.what-we-offer-page .benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="benefit-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,10 50,30 30,50 10,30" fill="%23660099" opacity="0.03"/><circle cx="15" cy="15" r="2" fill="%234caf50" opacity="0.05"/><circle cx="45" cy="45" r="1.5" fill="%23e98e39" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23benefit-pattern)"/></svg>');
    z-index: 1;
}

.what-we-offer-page .benefits-section .container {
    position: relative;
    z-index: 2;
}

.benefits-content {
    padding-right: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.what-we-offer-page .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(102, 0, 153, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 0, 153, 0.08);
    position: relative;
    overflow: hidden;
}

.what-we-offer-page .benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.what-we-offer-page .benefit-item:hover::before {
    transform: scaleX(1);
}

.what-we-offer-page .benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(102, 0, 153, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 0, 153, 0.15);
}

.what-we-offer-page .benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3);
}

.what-we-offer-page .benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.4);
}

.benefit-content h5 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.benefits-visual {
    position: relative;
}

.image-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-item {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stack-item.item-1 {
    z-index: 2;
    transform: translateX(-20px) rotate(-5deg);
}

.stack-item.item-2 {
    z-index: 1;
    transform: translateX(20px) rotate(5deg);
}

.image-stack:hover .stack-item.item-1 {
    transform: translateX(-30px) rotate(-8deg);
}

.image-stack:hover .stack-item.item-2 {
    transform: translateX(30px) rotate(8deg);
}

.stats-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-purple);
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0;
    font-weight: 600;
}

/* Modern Applications Section */
.applications-section {
    padding: 6rem 0;
    background: var(--white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.application-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.application-card .card-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.application-card .card-header .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.application-card .card-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.application-card .card-body {
    padding: 2rem;
}

/* Modern Products Section */
/* What We Offer specific products section styling */
.what-we-offer-page .products-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.what-we-offer-page .products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="product-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><rect width="40" height="40" fill="none"/><circle cx="20" cy="20" r="1.5" fill="%234caf50" opacity="0.08"/><circle cx="10" cy="10" r="1" fill="%23660099" opacity="0.06"/><circle cx="30" cy="30" r="1" fill="%23e98e39" opacity="0.06"/></pattern></defs><rect width="200" height="200" fill="url(%23product-pattern)"/></svg>');
    z-index: 1;
}

.what-we-offer-page .products-section .container {
    position: relative;
    z-index: 2;
}

.products-section.bg-solar-pattern {
    background: var(--light-gray), var(--bg-solar-pattern);
    background-size: cover, 100px 100px;
    background-repeat: no-repeat, repeat;
}

.products-section.bg-geometric-pattern {
    background: var(--light-gray), var(--bg-geometric-pattern);
    background-size: cover, 120px 120px;
    background-repeat: no-repeat, repeat;
}

/* What We Offer specific products grid and cards */
.what-we-offer-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.what-we-offer-page .product-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(76, 175, 80, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.what-we-offer-page .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--primary-purple) 50%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.what-we-offer-page .product-card:hover::before {
    transform: scaleX(1);
}

.what-we-offer-page .product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.12),
        0 15px 40px rgba(76, 175, 80, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(76, 175, 80, 0.2);
}

/* General product image styling - excluded home page */
.product-image:not(.home-page .product-image):not(.home-page .products-section .product-image):not(.home-page .products-grid .product-image):not(.home-page .product-card .product-image) {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

/* ===== HOME PAGE PRODUCTS SECTION - COMPLETELY ISOLATED STYLING ===== */
.home-page .products-section {
    padding: 5rem 0 !important;
    background: var(--light-gray) !important;
}

.home-page .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2.5rem !important;
    margin-top: 3rem !important;
}

/* Override ALL general product card rules for home page */
.home-page .product-card,
.home-page .products-section .product-card,
.home-page .products-grid .product-card {
    background: var(--white) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
}

.home-page .product-card:hover,
.home-page .products-section .product-card:hover,
.home-page .products-grid .product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Override ALL general product image rules for home page */
.home-page .product-image,
.home-page .products-section .product-image,
.home-page .products-grid .product-image,
.home-page .product-card .product-image {
    height: 220px !important;
    background: var(--light-gray) !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    /* Override any gradient backgrounds */
    background: var(--light-gray) !important;
}

/* Override ALL general product image icon rules for home page */
.home-page .product-image i,
.home-page .products-section .product-image i,
.home-page .products-grid .product-image i,
.home-page .product-card .product-image i {
    font-size: 3.5rem !important;
    color: var(--medium-gray) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
    transition: all 0.3s ease !important;
    /* Ensure no gradient effects */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

.home-page .product-content {
    padding: 1.5rem;
}

.home-page .product-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 0.75rem;
    font-family: var(--font-header);
}

.home-page .product-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.home-page .product-price {
    margin-top: 1rem;
}

.home-page .product-price .price {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.home-page .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 0, 153, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.home-page .product-card:hover .product-overlay {
    opacity: 1;
}

.home-page .product-overlay .btn {
    background: var(--white);
    color: var(--primary-purple);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.home-page .product-overlay .btn:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: scale(1.05);
}

/* What we offer page specific styling */
.what-we-offer-page .product-image i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(102, 0, 153, 0.2));
    transition: all 0.3s ease;
}

/* Override for products page */
.products-page .product-image {
    height: 250px !important;
    background: var(--light-gray) !important;
    border-radius: 20px 20px 0 0 !important;
}

.products-page .product-image i {
    font-size: 2.5rem !important;
    color: var(--medium-gray) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
}

.product-card:hover .product-image i {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

/* Override hover for products page */
.products-page .product-card {
    background: var(--white) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.products-page .product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

.products-page .product-card:hover .product-image i {
    transform: scale(1.1) !important;
    color: var(--primary-purple) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
}

/* Product Badges Fixes for Products Page */
.products-page .badge {
    font-size: 0.6rem !important;
    padding: 2px 5px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.15rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
}

.products-page .badge i {
    font-size: 0.45rem !important;
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* Product Overlay Button Fixes for Products Page */
.products-page .product-overlay .btn i {
    font-size: 0.9rem !important;
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.products-page .product-overlay .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
}

/* Rating Stars Fixes for Products Page */
.products-page .product-rating .stars i {
    font-size: 0.8rem !important;
    color: inherit !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* Placeholder Image Icon Fixes for Products Page */
.products-page .placeholder-image i {
    font-size: 3rem !important;
    color: var(--medium-gray) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 3rem;
    border-radius: 10px 10px 0 0;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 2rem;
}

.product-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-price {
    margin-top: 1rem;
}

.product-price .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* Modern Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-section.bg-energy-flow {
    background: var(--bg-energy-flow);
    background-size: 150px 150px;
    background-repeat: repeat;
    position: relative;
}

.testimonials-section.bg-energy-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

/* Testimonial Section - Grid Layout */
.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139, 92, 246, 0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-green));
    border-radius: 2px;
}

.testimonials-section .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Professional Card Design */
.testimonials-grid .testimonial-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

.testimonials-grid .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.15),
        0 8px 20px rgba(139, 92, 246, 0.1);
}

.testimonials-grid .testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    font-family: 'Georgia', serif;
    color: var(--primary-purple);
    opacity: 0.2;
    line-height: 1;
}

.testimonials-grid .testimonial-card::after {
    content: '"';
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-family: 'Georgia', serif;
    color: var(--primary-purple);
    opacity: 0.2;
    line-height: 1;
}

.testimonials-grid .testimonial-content {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.testimonials-grid .testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    font-style: italic;
    margin: 0;
    font-weight: 400;
    position: relative;
}

.testimonials-grid .rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #FFD700;
}

.testimonials-grid .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.testimonials-grid .testimonial-author img,
.testimonials-grid .author-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--primary-purple);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, var(--light-purple), var(--primary-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.testimonials-grid .author-info {
    flex: 1;
}

.testimonials-grid .author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 0.2rem 0;
    font-family: var(--font-header);
}

.testimonials-grid .author-info span {
    color: var(--medium-gray);
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section h2 {
        font-size: 2rem;
    }
    
    .testimonials-section .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonials-grid .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonials-grid .testimonial-card::before,
    .testimonials-grid .testimonial-card::after {
        font-size: 2.5rem;
    }
    
    .testimonials-grid .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonials-grid .rating {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonials-grid .testimonial-author {
        gap: 0.6rem;
        padding-top: 0.8rem;
    }
    
    .testimonials-grid .testimonial-author img,
    .testimonials-grid .author-placeholder {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .testimonials-grid .testimonial-author img {
        object-position: center top;
    }
    
    .testimonials-grid .author-info h5 {
        font-size: 0.95rem;
    }
    
    .testimonials-grid .author-info span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonials-grid .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonials-grid .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .testimonials-grid .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonials-grid .author-info {
        text-align: center;
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.rating {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.author-placeholder {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 1.5rem;
}

.author-info h5 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Success Stories Section - Professional Enhancement */
#success-stories {
    background: linear-gradient(135deg, #f0e6f7 0%, #e8d5f2 25%, #d4b8e8 50%, #e8d5f2 75%, #f0e6f7 100%);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-purple);
    border-bottom: 3px solid var(--primary-purple);
    box-shadow: inset 0 10px 30px rgba(102, 0, 153, 0.1);
}

#success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 0, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 0, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(102, 0, 153, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.15"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.15"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

#success-stories .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Testimonial Cards */
.testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 50px rgba(102, 0, 153, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 2px rgba(102, 0, 153, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(102, 0, 153, 0.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform: translateY(0);
    opacity: 1;
    animation: testimonialFadeIn 0.8s ease forwards;
    margin-bottom: 2rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
    font-family: 'Georgia', serif;
    font-weight: bold;
    z-index: 0;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-blue), var(--accent-green));
    border-radius: 24px 24px 0 0;
}

.testimonial-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 30px 70px rgba(102, 0, 153, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 0 0 3px rgba(102, 0, 153, 0.2);
    border-color: rgba(102, 0, 153, 0.3);
}

.testimonial-card:hover::before {
    opacity: 0.6;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Testimonial Content Enhancement */
.testimonial-content {
    position: relative;
    z-index: 2;
}

.rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.rating i {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .rating i {
    transform: scale(1.1);
    text-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

.testimonial-content p {
    color: #000000;
    line-height: 1.8;
    font-style: italic;
    margin: 0 0 2rem 0;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-shadow: none;
}

/* Enhanced Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(102, 0, 153, 0.1);
    position: relative;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-blue));
    border-radius: 1px;
}

.author-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(102, 0, 153, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.author-placeholder::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: left 0.5s ease;
}

.testimonial-card:hover .author-placeholder {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 0, 153, 0.3);
}

.testimonial-card:hover .author-placeholder::before {
    left: 100%;
}

.author-info h5 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

/* Success Stories Section Header Enhancement */
#success-stories .section-header-modern {
    position: relative;
    z-index: 2;
}

#success-stories .section-badge {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(102, 0, 153, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#success-stories .section-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

#success-stories .section-title {
    color: #000000;
    font-weight: 900;
    margin-bottom: 1rem;
    font-size: 3rem;
    text-shadow: none;
    letter-spacing: -0.02em;
}

#success-stories .section-subtitle {
    color: #000000;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 700;
    line-height: 1.6;
    text-shadow: none;
}

/* Animation for Testimonial Cards */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered Animation for Multiple Cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Floating Elements Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.testimonial-card {
    animation: testimonialFadeIn 0.8s ease forwards;
}

.testimonial-card.animated {
    animation: float 6s ease-in-out infinite;
}

.testimonial-card.animated:nth-child(even) {
    animation-delay: 0s, 3s;
}

/* Responsive Design for Success Stories */
@media (max-width: 768px) {
    #success-stories {
        padding: 3rem 0;
    }
    
    .testimonial-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card::before {
        font-size: 3.5rem;
        top: -10px;
        left: 20px;
    }
    
    .author-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .rating {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-placeholder {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Success Stories Stats Cards */
.success-stat-card {
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 
        0 12px 35px rgba(102, 0, 153, 0.12),
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 0 0 2px rgba(102, 0, 153, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(102, 0, 153, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}

.success-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-blue), var(--accent-green));
}

.success-stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(102, 0, 153, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.12),
        0 0 0 3px rgba(102, 0, 153, 0.15);
    border-color: rgba(102, 0, 153, 0.25);
}

.success-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 0, 153, 0.2);
    transition: all 0.3s ease;
}

.success-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(102, 0, 153, 0.3);
}

.success-stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-stat-card .stat-label {
    color: #000000;
    font-weight: 800;
    font-size: 1rem;
    text-shadow: none;
}

/* Author Location Enhancement */
.author-location {
    display: flex;
    align-items: center;
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.author-location i {
    color: var(--primary-purple);
    font-size: 0.8rem;
}

/* Success Stories CTA Enhancement */
.success-stories-cta {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 0, 153, 0.08);
    position: relative;
    overflow: hidden;
}

.success-stories-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-blue), var(--accent-green));
}

.success-stories-cta h3 {
    color: var(--primary-purple);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-stories-cta p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-stories-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-stories-cta .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-stories-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.success-stories-cta .btn:hover::before {
    left: 100%;
}

/* Print Styles for Success Stories */
@media print {
    #success-stories {
        background: white !important;
    }
    
    .testimonial-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    .testimonial-card::before,
    .testimonial-card::after {
        display: none !important;
    }
    
    .success-stat-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .success-stories-cta {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Print Styles for Impact Stats */
@media print {
    .impact-stats-section {
        background: white !important;
    }
    
    .impact-stat-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        background: white !important;
    }
    
    .impact-stat-card .stat-number {
        -webkit-text-fill-color: var(--primary-purple) !important;
        color: var(--primary-purple) !important;
    }
    
    .impact-stat-card::before,
    .impact-stat-card::after {
        display: none !important;
    }
}

/* Team Member Cards - Professional Design */
.team-member-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 0, 153, 0.08);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Board of Directors - Premium Gold Theme */
.board-member-card {
    background: linear-gradient(145deg, #ffffff 0%, #fffbf0 100%);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 40px rgba(233, 142, 57, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(233, 142, 57, 0.15);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.board-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #E98E39 0%, #F5A623 50%, #FFD700 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.board-member-card:hover::before {
    transform: scaleX(1);
}

.board-member-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(233, 142, 57, 0.25);
    border-color: rgba(233, 142, 57, 0.3);
}

/* Staff Members - Professional Purple Theme */
.staff-member-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0e6f7 100%);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(102, 0, 153, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 0, 153, 0.12);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.staff-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.staff-member-card:hover::before {
    transform: scaleX(1);
}

.staff-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 0, 153, 0.18);
    border-color: rgba(102, 0, 153, 0.25);
}

/* Section-specific styling for Board of Directors */
#board-directors {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 50%, #fff3e0 100%);
    position: relative;
    overflow: hidden;
}

#board-directors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gold-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23E98E39" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23gold-pattern)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

#board-directors .section-subtitle {
    color: #E98E39;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

#board-directors .text-gradient {
    background: linear-gradient(135deg, #E98E39 0%, #F5A623 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section-specific styling for Staff Members */
#our-staff {
    background: linear-gradient(135deg, #f8f5ff 0%, #f0e6f7 50%, #e8daf0 100%);
    position: relative;
    overflow: hidden;
}

#our-staff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="purple-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><rect x="0" y="0" width="2" height="2" fill="%23660099" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23purple-pattern)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

#our-staff .section-subtitle {
    color: var(--primary-purple);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

#our-staff .text-gradient {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Board member specific photo styling */
.board-member-card .member-photo {
    border: 6px solid #fffbf0;
    box-shadow: 0 12px 35px rgba(233, 142, 57, 0.2);
}

.board-member-card:hover .member-photo {
    border-color: #E98E39;
    box-shadow: 0 18px 45px rgba(233, 142, 57, 0.35);
}

.board-member-card .member-placeholder {
    border: 6px solid #fffbf0;
    background: linear-gradient(145deg, #fffbf0 0%, #fff8e1 100%);
    color: #E98E39;
}

.board-member-card:hover .member-placeholder {
    border-color: #E98E39;
    background: linear-gradient(145deg, #E98E39 0%, #F5A623 100%);
    color: var(--white);
}

/* Advisors - Professional Blue Theme */
.advisor-member-card {
    background: linear-gradient(145deg, #ffffff 0%, #e6f3ff 100%);
    border-radius: 20px;
    padding: 2.8rem 2.2rem;
    box-shadow: 0 10px 35px rgba(0, 123, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 123, 255, 0.15);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.advisor-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #004085 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.advisor-member-card:hover::before {
    transform: scaleX(1);
}

.advisor-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 65px rgba(0, 123, 255, 0.22);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Section-specific styling for Our Advisors */
#our-advisors {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #d1ecf1 100%);
    position: relative;
    overflow: hidden;
}

#our-advisors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blue-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="%23007bff" opacity="0.12"/></pattern></defs><rect width="100" height="100" fill="url(%23blue-pattern)"/></svg>');
    opacity: 0.35;
    z-index: 0;
}

#our-advisors .section-subtitle {
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

#our-advisors .text-gradient {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advisor member specific photo styling */
.advisor-member-card .member-photo {
    border: 5px solid #e6f3ff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.18);
}

.advisor-member-card:hover .member-photo {
    border-color: #007bff;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.advisor-member-card .member-placeholder {
    border: 5px solid #e6f3ff;
    background: linear-gradient(145deg, #e6f3ff 0%, #d1ecf1 100%);
    color: #007bff;
}

.advisor-member-card:hover .member-placeholder {
    border-color: #007bff;
    background: linear-gradient(145deg, #007bff 0%, #0056b3 100%);
    color: var(--white);
}

/* Staff member specific photo styling */
.staff-member-card .member-photo {
    border: 5px solid #f0e6f7;
    box-shadow: 0 10px 30px rgba(102, 0, 153, 0.15);
}

.staff-member-card:hover .member-photo {
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.25);
}

.staff-member-card .member-placeholder {
    border: 5px solid #f0e6f7;
    background: linear-gradient(145deg, #f0e6f7 0%, #e8daf0 100%);
    color: var(--primary-purple);
}

.staff-member-card:hover .member-placeholder {
    border-color: var(--primary-purple);
    background: linear-gradient(145deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
}

/* Section icons */
.board-directors-section .section-header-modern::before {
    content: '👑';
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.staff-section .section-header-modern::before {
    content: '👥';
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.8;
}



.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(102, 0, 153, 0.15);
    border-color: rgba(102, 0, 153, 0.2);
}

.team-member-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.team-member-avatar {
    margin-bottom: 2rem;
    position: relative;
}

.team-member-avatar::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-green), var(--accent-orange));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-avatar::after {
    opacity: 1;
}

.member-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.team-member-card:hover .member-photo {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.25);
}

.member-placeholder {
    width: 140px;
    height: 140px;
    background: linear-gradient(145deg, var(--light-purple) 0%, #e8f4f8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 3.5rem;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.team-member-card:hover .member-placeholder {
    background: linear-gradient(145deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.25);
}

.team-member-info {
    margin-bottom: 2rem;
    flex-grow: 1;
    width: 100%;
}

.member-name {
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.team-member-card:hover .member-name {
    color: var(--primary-purple);
}

.member-title {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(45deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-bio {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link.linkedin {
    background: linear-gradient(45deg, #0077B5, #005885);
}

.social-link.linkedin:hover {
    background: linear-gradient(45deg, #005885, #004d73);
}

.social-link.twitter {
    background: linear-gradient(45deg, #1DA1F2, #0d8bd9);
}

.social-link.twitter:hover {
    background: linear-gradient(45deg, #0d8bd9, #0a7bc7);
}

.social-link.facebook {
    background: linear-gradient(45deg, #4267B2, #365899);
}

.social-link.facebook:hover {
    background: linear-gradient(45deg, #365899, #2d4a7a);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #a0126a 100%);
}

.social-link.email {
    background: linear-gradient(45deg, var(--primary-purple), var(--dark-purple));
}

.social-link.email:hover {
    background: linear-gradient(45deg, var(--dark-purple), #3a0052);
}

/* Responsive Team Member Cards */
@media (max-width: 768px) {
    .team-member-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .member-photo,
    .member-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .member-photo {
        object-position: center top;
    }
    
    .member-name {
        font-size: 1.25rem;
    }
    
    .member-title {
        font-size: 0.9rem;
    }
    
    .member-bio {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-member-social {
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .team-member-card {
        padding: 1.5rem 1rem;
    }
    
    .member-photo,
    .member-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .member-photo {
        object-position: center top;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-title {
        font-size: 0.85rem;
    }
    
    .member-bio {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Empty State for Team Section */
.empty-state {
    padding: 3rem 0;
}

.empty-state i {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.empty-state h4 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    max-width: 400px;
    margin: 0 auto;
}

/* Modern CTA Section */
.cta-section {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 50%, var(--accent-green) 100%);
    color: var(--white);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="cta-pattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="3" fill="%23ffffff" opacity="0.08"/><circle cx="20" cy="20" r="2" fill="%234caf50" opacity="0.06"/><circle cx="60" cy="60" r="2" fill="%23e98e39" opacity="0.05"/><path d="M10,10 L30,30 M70,10 L50,30 M10,70 L30,50 M70,70 L50,50" stroke="%23ffffff" stroke-width="1" opacity="0.04"/></pattern></defs><rect width="200" height="200" fill="url(%23cta-pattern)"/></svg>');
    z-index: 1;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.9) 0%, rgba(76, 175, 80, 0.8) 100%);
    z-index: 2;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cta-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: left;
}

.cta-badge {
    margin-bottom: 1.5rem;
}

.cta-badge .badge {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-purple) !important;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-features .feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-features .feature:hover::before {
    left: 100%;
}

.cta-features .feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-features .feature i {
    color: var(--accent-orange) !important;
    font-size: 1.2rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

.cta-features .feature:hover i {
    color: var(--accent-green);
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.cta-features .feature span {
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.what-we-offer-page .cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
}

.what-we-offer-page .cta-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.what-we-offer-page .cta-features .feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.what-we-offer-page .cta-features .feature i {
    color: var(--accent-orange);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-action {
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.cta-card-title {
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.cta-card-text {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cta-card-text strong {
    color: var(--accent-orange);
    font-weight: 700;
}

.cta-action .btn {
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

/* Uniform Button Styling for All CTA Sections */
.cta-action .btn-light,
.benefits-cta .btn-primary,
.cta-action .btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3) !important;
}

.cta-action .btn-light:hover,
.benefits-cta .btn-primary:hover,
.cta-action .btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.4) !important;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--accent-green) 100%) !important;
    color: var(--white) !important;
}

/* Uniform Outline Button Styling */
.cta-action .btn-outline-light,
.benefits-cta .btn-outline-primary {
    border: 2px solid var(--primary-purple) !important;
    color: var(--primary-purple) !important;
    background: transparent !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.1) !important;
}

.cta-action .btn-outline-light:hover,
.benefits-cta .btn-outline-primary:hover {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3) !important;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-top: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.cta-note i {
    color: var(--accent-green);
    margin-right: 0.5rem;
}

.cta-action {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--medium-gray);
}

.empty-state i {
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Professional Buttons */
.btn {
    font-family: var(--font-header);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 142, 57, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #F5A623, var(--accent-orange));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 142, 57, 0.6);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--dark-gray);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.btn-light:hover {
    background: var(--light-gray);
    color: var(--dark-gray);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.6);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Navigation Icons in Buttons */
.btn .fas.fa-arrow-down,
.btn .fas.fa-external-link-alt {
    transition: transform 0.3s ease;
    font-size: 0.9em;
    color: inherit !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn:hover .fas.fa-arrow-down {
    transform: translateY(2px);
}

.btn:hover .fas.fa-external-link-alt {
    transform: translateX(2px);
}



/* Professional Cards */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--white);
    box-shadow: 0 5px 20px var(--shadow-light);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 700;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-header);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Professional Icons */
.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--white);
}

/* Professional Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-header .lead {
    color: var(--medium-gray);
    font-size: 1.2rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* Professional Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-purple);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    object-position: center top;
}

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* Professional Stats */
.stats-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.stats-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

/* Modern Professional Footer */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 50%, var(--light-purple) 100%);
    color: var(--white);
    padding: 4rem 0 0;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.9) 0%, rgba(158, 164, 167, 0.8) 50%, rgba(176, 215, 171, 0.7) 100%);
}

.footer-main {
    position: relative;
    z-index: 2;
}

/* Footer Brand Section */
.footer-brand {
    margin-bottom: 2rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.brand-logo .footer-logo {
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.brand-logo .footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.brand-name {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
}

.social-title {
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(233, 142, 57, 0.4);
}

.social-icon i {
    font-size: 1.1rem;
}

/* Footer Sections */
.footer-section {
    margin-bottom: 2rem;
}

.footer-section .section-title {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--white);
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1rem;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.contact-content {
    flex: 1;
}

.modern-footer .contact-content p,
.modern-footer .contact-content a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modern-footer .contact-content a:hover {
    color: var(--accent-orange) !important;
    transform: translateX(2px);
    text-shadow: 0 0 8px rgba(233, 142, 57, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Prevent scrollbars in footer */
.footer-bottom {
    overflow: hidden !important;
}

.footer-legal {
    overflow: visible !important;
}

.legal-link {
    overflow: visible !important;
}

/* Hide scrollbars */
.footer-bottom::-webkit-scrollbar,
.footer-legal::-webkit-scrollbar,
.legal-link::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: var(--white);
}

.legal-link:hover::after {
    width: 100%;
}

/* Professional Forms */
.form-control {
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Professional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Professional Responsive Design */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section-modern {
        min-height: 100vh;
        padding: 0;
    }
    
    .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .hero-cta-group {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .hero-stats {
        margin-top: 4rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .floating-card {
        padding: 1.25rem;
    }
    
    .floating-card .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .floating-card .card-content h6 {
        font-size: 1rem;
    }
    
    .floating-card .card-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-section-modern {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
    
    .hero-cta-group {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-stats {
        margin-top: 3.5rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section-modern {
        min-height: 95vh;
    }
    
    .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-top: 3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .floating-card {
        padding: 0.875rem;
    }
    
    .floating-card .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .floating-card .card-content h6 {
        font-size: 0.85rem;
    }
    
    .floating-card .card-content p {
        font-size: 0.75rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-top: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        transform: scale(0.8);
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
        display: inline-block;
    }
    
    .floating-card.card-1 {
        top: auto;
        left: auto;
        margin-right: 1rem;
    }
    
    .floating-card.card-2 {
        bottom: auto;
        right: auto;
        margin-left: 1rem;
    }
    
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .hero-scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        margin-top: 1.5rem;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-scroll-indicator {
        bottom: 0.75rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-stats {
        margin-top: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-scroll-indicator {
        bottom: 0.5rem;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-top: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .solution-card,
    .application-card,
    .product-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    /* Contact Page Mobile Styles */
    .contact-form-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem 1rem;
        position: static;
        margin: 0 0.5rem;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
    }
    
    .map-info-card {
        max-width: none;
        margin: 0 0.5rem;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Form Responsive */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    /* Table Responsive */
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .table-responsive th,
    .table-responsive td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Navigation Mobile */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem !important;
        font-size: 0.95rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .footer-social {

        margin-top: 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-stats .stat-item {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-stats .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-stats .stat-label {
        font-size: 0.9rem;
    }
    
    /* Cards Mobile */
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Values section icon styling handled by specific rules */
    
    .card-content h4 {
        font-size: 1.2rem;
    }
    
    .card-content p {
        font-size: 0.9rem;
    }
    
    /* Buttons Mobile */
    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Section Spacing Mobile */
    .section-padding {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Grid Adjustments */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    /* Image Responsive */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
    
    /* Floating Elements */
    .floating-card {
        display: none;
    }
    
    /* Process Cards */
    .process-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
    }
    
    .process-number {
        font-size: 1.5rem;
    }
    
    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content {
        text-align: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .cta-action {
        text-align: center;
    }
    
    .cta-action .btn {
        margin: 0.5rem 0;
        width: 100%;
    }
}

.faq-header {
    padding: 1rem 1.5rem;
}

.faq-content {
    padding: 0 1.5rem 1rem;
}

.contact-info-item {
    padding: 1rem 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

/* What We Offer Page Specific Styles */
.what-we-offer-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

.what-we-offer-hero .hero-background {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(46, 125, 50, 0.9) 50%, rgba(76, 175, 80, 0.9) 100%);
}

/* What We Offer specific services section styling */
.what-we-offer-page .services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.what-we-offer-page .services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="service-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23660099" opacity="0.05"/><circle cx="75" cy="75" r="1.5" fill="%23e98e39" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23service-pattern)"/></svg>');
    z-index: 1;
}

.what-we-offer-page .services-section .container {
    position: relative;
    z-index: 2;
}

.services-section.bg-energy-flow {
    background: var(--white), var(--bg-energy-flow);
    background-size: cover, 150px 150px;
    background-repeat: no-repeat, repeat;
}

.services-section.bg-geometric-pattern {
    background: var(--white), var(--bg-geometric-pattern);
    background-size: cover, 120px 120px;
    background-repeat: no-repeat, repeat;
}

/* What We Offer specific service card styling */
.what-we-offer-page .services-section .service-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(102, 0, 153, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(102, 0, 153, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.what-we-offer-page .services-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.what-we-offer-page .services-section .service-card:hover::before {
    transform: scaleX(1);
}

.what-we-offer-page .services-section .service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 40px rgba(102, 0, 153, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 0, 153, 0.2);
}

.financing-section {
    background: var(--light-gray);
}

.financing-section .service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.financing-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.financing-section .service-card:hover::before {
    transform: scaleX(1);
}

.financing-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Values Section - Professional Card Design */
.values-section .service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 15px 50px rgba(102, 0, 153, 0.1);
    border: 2px solid rgba(102, 0, 153, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.values-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: 2;
}

.values-section .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.04) 0%, rgba(46, 125, 50, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.values-section .service-card:hover::before {
    transform: scaleX(1);
}

.values-section .service-card:hover::after {
    opacity: 1;
}

.values-section .service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 100px rgba(102, 0, 153, 0.18);
    border-color: rgba(102, 0, 153, 0.2);
}

.values-section .card-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.values-section .card-icon {
    width: 100px !important;
    height: 100px !important;
    background: var(--primary-purple) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 2.5rem !important;
    margin: 0 auto 2rem !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Removed problematic ::before pseudo-element */

.values-section .service-card:hover .card-icon {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.4) !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Removed problematic hover ::before pseudo-element */

/* Simplified icon visibility for Values section */

/* Direct icon styling for Values section */
.values-section .card-icon-wrapper i {
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important;
    font-size: 2.5rem !important;
    width: 100px !important;
    height: 100px !important;
    background: var(--primary-purple) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 2rem !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3) !important;
    z-index: 10 !important;
}

/* Hover effects for Values section icons */
.values-section .service-card:hover .card-icon-wrapper i {
    transform: scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.4) !important;
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== OUR STORY SECTION STYLING ===== */
.our-story-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.our-story-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.1), rgba(76, 175, 80, 0.1));
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.our-story-section .section-header-modern {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.our-story-section .section-badge {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.our-story-section .section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.our-story-section .section-badge:hover::before {
    left: 100%;
}

.our-story-section .section-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.4);
}

.our-story-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.our-story-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 3px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.our-story-section .section-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

.our-story-section .lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 249, 250, 0.8));
    backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-purple);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.our-story-section .lead:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.our-story-section .lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 0 3px 3px 0;
}

.our-story-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.our-story-section p:hover {
    color: var(--text-dark);
    transform: translateX(3px);
}

.our-story-section p::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Enhanced Stats styling */
.our-story-section .d-flex.align-items-center {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.our-story-section .d-flex.align-items-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
}

.our-story-section .d-flex.align-items-center:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.our-story-section .d-flex.align-items-center h4 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    text-align: center;
    position: relative;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.our-story-section .d-flex.align-items-center small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: block;
    position: relative;
}

.our-story-section .d-flex.align-items-center small::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 1px;
}

/* Enhanced Image stack styling */
.our-story-section .image-stack {
    position: relative;
    height: 550px;
    margin-top: 2rem;
}

.our-story-section .stack-item {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.our-story-section .stack-item:first-child {
    top: 0;
    left: 0;
    width: 75%;
    height: 65%;
    z-index: 2;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.our-story-section .stack-item:last-child {
    bottom: 0;
    right: 0;
    width: 75%;
    height: 65%;
    z-index: 1;
    animation: slideInRight 1s ease-out 0.8s both;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.our-story-section .stack-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-purple);
}

.our-story-section .stack-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.our-story-section .stack-item:hover img {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.2);
}

/* Story Content Styling */
.our-story-section .story-content {
    position: relative;
    z-index: 2;
}

.our-story-section .story-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.our-story-section .story-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
}

.our-story-section .highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
    animation: float 3s ease-in-out infinite;
}

.our-story-section .highlight-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Timeline Styling */
.our-story-section .story-timeline {
    margin-bottom: 3rem;
}

.our-story-section .timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2.5rem;
}

.our-story-section .timeline-item:last-child {
    margin-bottom: 0;
}

.our-story-section .timeline-marker {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3);
    z-index: 2;
}

.our-story-section .timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    z-index: 1;
}

.our-story-section .timeline-item:last-child::before {
    display: none;
}

.our-story-section .timeline-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.our-story-section .timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
    padding-left: 0;
}

.our-story-section .timeline-content p::before {
    display: none;
}

/* Achievement Stats Styling */
.our-story-section .achievement-stats {
    margin-top: 3rem;
}

.our-story-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.our-story-section .stat-item {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.our-story-section .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
}

.our-story-section .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.our-story-section .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 6px 20px rgba(102, 0, 153, 0.3);
}

.our-story-section .stat-icon i {
    color: white;
    font-size: 1.2rem;
}

.our-story-section .stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

.our-story-section .stat-item small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image Overlay Styling */
.our-story-section .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.8), rgba(76, 175, 80, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 25px;
}

.our-story-section .stack-item:hover .image-overlay {
    opacity: 1;
}

.our-story-section .overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.our-story-section .stack-item:hover .overlay-content {
    transform: translateY(0);
}

.our-story-section .overlay-content i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.our-story-section .overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .our-story-section {
        padding: 4rem 0;
    }
    
    .our-story-section .section-title {
        font-size: 2.8rem;
    }
    
    .our-story-section .lead {
        font-size: 1.2rem;
        padding: 1.5rem 2rem;
    }
    
    .our-story-section .story-highlight {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .our-story-section .highlight-icon {
        width: 50px;
        height: 50px;
    }
    
    .our-story-section .highlight-icon i {
        font-size: 1.2rem;
    }
    
    .our-story-section .timeline-item {
        padding-left: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .our-story-section .timeline-marker {
        width: 16px;
        height: 16px;
    }
    
    .our-story-section .timeline-content h5 {
        font-size: 1.1rem;
    }
    
    .our-story-section .timeline-content p {
        font-size: 1rem;
    }
    
    .our-story-section .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .our-story-section .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .our-story-section .stat-item h4 {
        font-size: 2rem;
    }
    
    .our-story-section .d-flex.align-items-center {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .our-story-section .d-flex.align-items-center h4 {
        font-size: 2.5rem;
    }
    
    .our-story-section .image-stack {
        height: 450px;
        margin-top: 3rem;
    }
    
    .our-story-section .stack-item:first-child,
    .our-story-section .stack-item:last-child {
        width: 85%;
        height: 55%;
    }
    
    .our-story-section .overlay-content i {
        font-size: 2.5rem;
    }
    
    .our-story-section .overlay-content span {
        font-size: 1rem;
    }
}

.values-section .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.values-section .card-content h4 {
    font-family: var(--font-header);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 1.25rem;
    text-align: center;
    transition: all 0.4s ease;
}

.values-section .service-card:hover .card-content h4 {
    transform: scale(1.08);
    color: var(--accent-green);
}

.values-section .card-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.values-section .service-card:hover .card-content p {
    color: var(--dark-gray);
}

/* Values Section Responsive */
@media (max-width: 991.98px) {
    .values-section .service-card {
        padding: 3rem 2rem;
        margin-bottom: 2rem;
    }
    
    .values-section .card-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .values-section .card-content h4 {
        font-size: 1.9rem;
        margin-bottom: 1.25rem;
    }
    
    .values-section .card-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .values-section .service-card {
        padding: 2.5rem 1.5rem;
    }
    
    .values-section .card-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .values-section .card-content h4 {
        font-size: 1.9rem;
    }
}

/* Mission & Vision Section - Professional Design with Site Colors */
.mission-vision-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-gray) 50%, var(--light-purple) 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 0, 153, 0.05) 0%, rgba(176, 215, 171, 0.05) 50%, rgba(233, 142, 57, 0.05) 100%);
    pointer-events: none;
}

.mission-vision-section .service-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--light-gray) 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.12);
    border: 2px solid rgba(102, 0, 153, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.mission-vision-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: 2;
}

.mission-vision-section .service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.06) 0%, rgba(176, 215, 171, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.mission-vision-section .service-card:hover::before {
    transform: scaleX(1);
}

.mission-vision-section .service-card:hover::after {
    opacity: 1;
}

.mission-vision-section .service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 80px rgba(102, 0, 153, 0.2);
    border-color: var(--primary-purple);
}

   .mission-vision-section .card-header-row {
       display: flex;
       align-items: center;
       margin-bottom: 2rem;
       position: relative;
       z-index: 1;
   }

   .mission-vision-section .card-icon-wrapper {
       margin: 0 1.5rem 0 0;
       position: relative;
       z-index: 1;
       flex-shrink: 0;
   }

   .mission-vision-section .card-title-wrapper {
       flex: 1;
       display: flex;
       align-items: center;
   }

.mission-vision-section .card-icon {
    width: 70px !important;
    height: 70px !important;
    background: var(--gradient-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--white) !important;
    font-size: 1.75rem !important;
    margin: 0 !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.35) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mission-vision-section .service-card:hover .card-icon {
    transform: scale(1.15) !important;
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.45) !important;
    background: var(--gradient-secondary) !important;
    color: var(--white) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure specific icons are visible */
.mission-vision-section .fa-rocket,
.mission-vision-section .fa-eye {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--white) !important;
    font-size: 1.75rem !important;
}

.mission-vision-section .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

   .mission-vision-section .card-content h4,
   .mission-vision-section .card-title-wrapper h4 {
       font-family: var(--font-header);
       font-size: 2rem;
       font-weight: 800;
       background: var(--gradient-text);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
       margin-bottom: 0;
       text-align: left;
       transition: all 0.4s ease;
   }

   .mission-vision-section .service-card:hover .card-content h4,
   .mission-vision-section .service-card:hover .card-title-wrapper h4 {
       transform: scale(1.05);
       background: var(--gradient-primary);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       background-clip: text;
   }

.mission-vision-section .card-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.4s ease;
}

.mission-vision-section .service-card:hover .card-content p {
    color: var(--dark-gray);
}

.mission-vision-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-vision-section .feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.08) 0%, rgba(176, 215, 171, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.mission-vision-section .feature-list li:hover {
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.15) 0%, rgba(176, 215, 171, 0.15) 100%);
    transform: translateX(8px);
    border-left-color: var(--accent-green);
}

.mission-vision-section .feature-list li i {
    color: var(--primary-purple);
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.mission-vision-section .feature-list li:hover i {
    color: var(--accent-green);
}

.mission-vision-section .feature-list li:last-child {
    margin-bottom: 0;
}

   /* Mission & Vision Section Responsive */
   @media (max-width: 991.98px) {
       .mission-vision-section .service-card {
           padding: 2.5rem 2rem;
           margin-bottom: 2rem;
       }
       
       .mission-vision-section .card-header-row {
           margin-bottom: 1.75rem;
       }
       
       .mission-vision-section .card-icon {
           width: 80px;
           height: 80px;
           font-size: 2rem;
           margin-bottom: 0;
       }
       
       .mission-vision-section .card-content h4,
       .mission-vision-section .card-title-wrapper h4 {
           font-size: 1.8rem;
           margin-bottom: 0;
       }
       
       .mission-vision-section .card-content p {
           font-size: 1.05rem;
           margin-bottom: 1.75rem;
       }
   }

@media (max-width: 767.98px) {
    .mission-vision-section .service-card {
        padding: 2rem 1.5rem;
    }
    
    .mission-vision-section .card-header-row {
        margin-bottom: 1.5rem;
    }
    
    .mission-vision-section .card-icon-wrapper {
        margin-right: 1rem;
    }
    
    .mission-vision-section .card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 0;
    }
    
    .mission-vision-section .card-content h4,
    .mission-vision-section .card-title-wrapper h4 {
        font-size: 1.6rem;
    }
    
    .mission-vision-section .card-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mission-vision-section .feature-list li {
        padding: 0.75rem 1rem;
        margin-bottom: 0.75rem;
    }
}

/* What We Offer Page Mobile Styles */
@media (max-width: 991.98px) {
    .what-we-offer-hero .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .what-we-offer-hero .hero-visual {
        text-align: center;
    }
    
    .services-section .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .financing-section .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .benefits-visual {
        text-align: center;
    }
}

/* Services Page Specific Styles */
.services-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.services-hero .hero-background {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(46, 125, 50, 0.9) 50%, rgba(76, 175, 80, 0.9) 100%);
}

.process-section {
    background: var(--light-gray);
}

.process-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-card:hover::before {
    transform: scaleX(1);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.process-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.process-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.process-content h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.process-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

.features-section {
    background: var(--white);
}

.features-section .service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.features-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.features-section .service-card:hover::before {
    transform: scaleX(1);
}

.features-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Services Page Mobile Styles */
@media (max-width: 991.98px) {
    .services-hero .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .services-hero .hero-visual {
        text-align: center;
    }
    
    .process-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .process-icon i {
        font-size: 2rem;
    }
    
    .features-section .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Products Page Specific Styles */
.products-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.products-hero .hero-background {
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.products-hero .hero-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.categories-section {
    background: var(--white);
}

.all-products-section {
    background: var(--light-gray);
}

.filter-section {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-btn {
    font-family: var(--font-header);
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(46, 125, 50, 0.4);
    border-color: var(--primary-green);
}

.filter-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover i,
.filter-btn.active i {
    transform: scale(1.1);
}

.product-item {
    display: block;
}

.product-item.hidden {
    display: none;
}

.product-item.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-section {
    background: var(--white);
}

.comparison-table-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.5rem 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border: none;
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--dark-gray);
}

.comparison-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.solar-column {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(46, 125, 50, 0.1) 100%);
}

.fuel-column {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(211, 47, 47, 0.1) 100%);
}

.solar-benefit {
    color: var(--primary-green);
    font-weight: 600;
}

.solar-benefit i {
    color: var(--primary-green);
    margin-right: 0.5rem;
}

.fuel-disadvantage {
    color: #d32f2f;
    font-weight: 600;
}

.fuel-disadvantage i {
    color: #d32f2f;
    margin-right: 0.5rem;
}

.fuel-warning {
    color: #f57c00;
    font-weight: 600;
}

.fuel-warning i {
    color: #f57c00;
    margin-right: 0.5rem;
}

/* Products Page Mobile Styles */
@media (max-width: 991.98px) {
    .products-hero .hero-content {
        margin-bottom: 3rem;
    }
    
    .products-hero .hero-visual {
        text-align: center;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;

    }
    
    .comparison-table-wrapper {
        padding: 1rem;
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .comparison-table th {
        font-size: 1rem;
    }
}

/* Promotions Page Specific Styles */
.promotions-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.promotions-hero .hero-background {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(46, 125, 50, 0.9) 50%, rgba(76, 175, 80, 0.9) 100%);
}

.promotions-section {
    background: var(--white);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.promotion-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.promotion-card.featured {
    border: 2px solid var(--accent-orange);
    transform: scale(1.05);
}

.promotion-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.promotion-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.promotion-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promotion-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.promotion-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.promotion-content {
    margin-bottom: 2rem;
}

.promotion-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.promotion-price {
    text-align: center;
    margin: 1.5rem 0;
}

.original-price {
    display: block;
    text-decoration: line-through;
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.discount-price {
    display: block;
    color: var(--primary-green);
    font-size: 2rem;
    font-weight: 700;
}

.promotion-action {
    text-align: center;
}

.financing-promotions-section {
    background: var(--light-gray);
}

.referral-section {
    background: var(--white);
}

.referral-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.referral-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
}

.referral-icon i {
    font-size: 3rem;
    color: var(--white);
}

.referral-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.referral-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.reward-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reward-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.reward-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.reward-content p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 0.9rem;
}

.referral-action {
    margin-top: 2rem;
}

.terms-section {
    background: var(--light-gray);
}

.terms-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--medium-gray);
    line-height: 1.6;
}

.terms-list li:last-child {
    border-bottom: none;
}

.terms-list li i {
    color: var(--primary-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Promotions Page Mobile Styles */
@media (max-width: 991.98px) {
    .promotions-hero .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .promotions-hero .hero-visual {
        text-align: center;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .promotion-card {
        padding: 1.5rem;
    }
    
    .promotion-card.featured {
        transform: none;
    }
    
    .promotion-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .referral-card {
        padding: 2rem 1.5rem;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reward-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .terms-card {
        padding: 1.5rem;
    }
}

/* Professional Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-green);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Professional Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Blog Hero Section */
.blog-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

.blog-hero .hero-background {
    background: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-hero .hero-image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.blog-hero .hero-visual {
    position: relative;
    z-index: 2;
}

.blog-hero .hero-image-wrapper {
    position: relative;
    max-width: 100%;
}

.blog-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.blog-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Contact Page Specific Styles */
.contact-hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.contact-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero-section .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.contact-hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.contact-hero-section .hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 3;
}

.contact-hero-section .container {
    position: relative;
    z-index: 4;
    width: 100%;
}

.contact-hero-section .hero-content {
    padding: 2rem 0;
    padding-top: 80px; /* Reduced padding to prevent overflow */
}

.contact-hero-section .min-vh-75 {
    min-height: calc(100vh - 80px); /* Adjust for navbar height */
}

/* Ensure navbar is transparent on contact page */
.contact-hero-section ~ .navbar,
.contact-hero-section + .navbar,
body:has(.contact-hero-section) .navbar {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Prevent vertical scrollbar on contact page */
body:has(.contact-hero-section) {
    overflow: hidden !important;
}

.contact-hero-section {
    overflow: hidden !important;
    max-height: 100vh !important;
}

.contact-form-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-form .form-control {
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-weight: 500;
}

.modern-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading {
    display: none;
    margin-left: 0.5rem;
}

.btn.loading .btn-loading {
    display: inline-block;
}

.modern-alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Contact Info Styles */
.contact-info-wrapper {
    position: relative;
}

.contact-info-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: sticky;
    top: 100px;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-content h5 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-form-section .contact-content p,
.contact-info-card .contact-content p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-orange);
    text-decoration: none;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.hours-item .day {
    font-weight: 600;
    color: var(--dark-gray);
}

.hours-item .time {
    color: var(--medium-gray);
}

.contact-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Office Locations Styles */
.offices-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.office-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.office-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.office-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.office-content {
    padding: 2rem;
}

.office-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.info-item i {
    color: var(--primary-green);
    width: 20px;
    text-align: center;
}

.info-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-orange);
}

.office-action {
    text-align: center;
}

/* Map Section Styles */
.map-section {
    padding: 6rem 0;
    background: var(--white);
}

.map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.map-container {
    position: relative;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.map-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-info-card h4 {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-info-card p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.map-actions {
    display: flex;
    gap: 0.75rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.faq-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-header:hover {
    background: rgba(46, 125, 50, 0.05);
}

.faq-header h5 {
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
    font-size: 1.1rem;
}

.faq-header i {
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.faq-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 2rem 1.5rem;
    background: var(--white);
}

.faq-content p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 6rem 0;
    position: relative;
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
}

/* Professional Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    color: var(--white);
}

/* Additional Hero Sections for Transformed Pages */

/* Who We Are Hero */
.who-we-are-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

/* Impact Hero */
.impact-hero {
    background: none;
    position: relative;
    overflow: hidden;
    
}

/* Solar Pumps Hero */
.solar-pumps-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

/* Surface Pumps Hero */
.surface-pumps-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

/* Submersible Pumps Hero */
.submersible-pumps-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

/* Processing Machines Hero */
.processing-machines-hero {
    background: none;
    position: relative;
    overflow: hidden;
}

/* Process Cards for Installation Steps */
.process-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.process-number {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
}

/* Timeline Styles for Impact Page */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h5 {
    color: var(--primary-green);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.timeline-content h6 {
    color: var(--dark-gray);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--medium-gray);
    margin: 0;
}

/* Stat Cards for Impact Page */
.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139, 92, 246, 0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.how-it-works-section .container {
    position: relative;
    z-index: 2;
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.process-step {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.15),
        0 8px 20px rgba(139, 92, 246, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 10;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-purple), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

.step-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: var(--font-header);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.step-features i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .step-features span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .process-step {
        padding: 1.5rem 1rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content h4 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

/* Enhanced Impact Stats Section */
.impact-stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.impact-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.impact-stats-section .container {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.impact-stats-section .row {
    overflow: hidden;
}

.impact-stats-section .col-md-6,
.impact-stats-section .col-lg-3 {
    overflow: hidden;
}

/* Prevent scrollbars on impact cards and their content */
.impact-stat-card,
.impact-stat-card *,
.impact-stat-card .stat-icon,
.impact-stat-card .stat-number,
.impact-stat-card .stat-label,
.impact-stat-card .stat-description {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

/* Enhanced Impact Stat Cards */
.impact-stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 0, 153, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.impact-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-blue), var(--accent-green));
}

.impact-stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(102, 0, 153, 0.03), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.impact-stat-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.impact-stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 8px 30px rgba(102, 0, 153, 0.1);
}

        .impact-stat-card .stat-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
    
            margin: 0 auto 2rem;
            color: white;
            font-size: 2rem;
            box-shadow: 0 12px 30px rgba(102, 0, 153, 0.2);
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }

        .impact-stat-card .stat-icon i {
            color: var(--dark-gray) !important;
            font-size: 2rem !important;
            z-index: 10 !important;
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 100% !important;
            opacity: 1 !important;
            visibility: visible !important;
            font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
            font-weight: 900 !important;
        }

.impact-stat-card .stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue), var(--accent-green));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.impact-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 18px 40px rgba(102, 0, 153, 0.3);
}

.impact-stat-card:hover .stat-icon::before {
    opacity: 1;
}

.impact-stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    display: block;
}

.impact-stat-card:hover .stat-number {
    transform: scale(1.05);
}

.impact-stat-card .stat-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.impact-stat-card .stat-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.impact-stat-card:hover .stat-description {
    color: var(--primary-purple);
    opacity: 1;
}

/* Image Stack for Visual Elements */
.image-stack {
    position: relative;
    height: 400px;
}

.stack-item {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.stack-item:nth-child(1) {
    top: 0;
    left: 0;
    width: 70%;
    height: 70%;
    z-index: 2;
}

.stack-item:nth-child(2) {
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    z-index: 1;
}

.stack-item:hover {
    transform: scale(1.05);
    z-index: 3;
}

.stack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 40px;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .stack-item:nth-child(1) {
        width: 80%;
        height: 60%;
    }
    
    .stack-item:nth-child(2) {
        width: 70%;
        height: 50%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .process-card {
        padding: 1.5rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-number {
        font-size: 1.2rem;
    }
    
    .filter-section {
        padding: 1.5rem;
    }
    
    .filter-buttons {
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.875rem 1.5rem;
        min-width: 140px;
        font-size: 0.95rem;
    }
    
    /* Footer Responsive */
    .modern-footer {
        padding: 3rem 0 0;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .brand-description {
        font-size: 0.95rem;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    /* Impact Stats Responsive */
    .impact-stat-card {
        padding: 2rem 1.5rem;
    }
    
            .impact-stat-card .stat-icon {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
        }
    
            .impact-stat-card .stat-icon i {
            color: var(--dark-gray) !important;
            font-size: 1.5rem !important;
            z-index: 10 !important;
            position: relative !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 100% !important;
            opacity: 1 !important;
            visibility: visible !important;
            font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome" !important;
            font-weight: 900 !important;
        }
    
    .impact-stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    .impact-stat-card .stat-label {
        font-size: 1.1rem;
    }
    
    .impact-stat-card .stat-description {
        font-size: 0.9rem;
    }
    
    .footer-section .section-title {
        font-size: 1.1rem;
    }
    
    .footer-legal {

        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .image-stack {
        height: 250px;
    }
    
    .stack-item:nth-child(1) {
        width: 85%;
        height: 55%;
    }
    
    .stack-item:nth-child(2) {
        width: 75%;
        height: 45%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .filter-section {
        padding: 1rem;
    }
    
    .filter-buttons {
        gap: 0.75rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        padding: 0.75rem 1rem;
        min-width: auto;
        font-size: 0.9rem;

    }
    
    /* Footer Responsive Small */
    .modern-footer {
        padding: 2rem 0 0;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-logo i {
        font-size: 1.2rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .brand-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon i {
        font-size: 0.9rem;
    }
    
    .footer-section .section-title {
        font-size: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon i {
        font-size: 0.9rem;
    }
    
    .modern-footer .contact-content p,
    .modern-footer .contact-content a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .legal-link {
        font-size: 0.85rem;
    }
}

/* Privacy Policy and Terms & Conditions Page Styles */
.policy-content {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 0, 153, 0.1);
}

.policy-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-purple);
    margin-bottom: 3rem;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.policy-date,
.policy-version {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.3);
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-purple);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h2 {
    color: var(--primary-purple);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.policy-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.policy-section h3 {
    color: var(--dark-purple);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.policy-section p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.policy-section ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    position: relative;
}

.policy-section li::before {
    content: '•';
    color: var(--primary-purple);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

.policy-section strong {
    color: var(--primary-purple);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.policy-section a:hover {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-grid .contact-item {
    background: var(--light-purple);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 0, 153, 0.1);
    transition: all 0.3s ease;
}

.contact-info-grid .contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.15);
    border-color: var(--primary-purple);
}

.contact-info-grid .contact-item strong {
    color: var(--primary-purple);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-info-grid .contact-item a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-grid .contact-item a:hover {
    color: var(--accent-green);
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .policy-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .policy-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
        padding-left: 0.75rem;
    }
    
    .policy-section h2::before {
        width: 3px;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 0.95rem;
    }
    
    .contact-info-grid .contact-item {
        padding: 1.25rem;
    }
}

/* Additional Responsive Improvements */

/* Landscape Mobile (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .solution-card,
    .application-card,
    .product-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .hero-section-modern {
        min-height: 65vh;
        margin-top: 0; /* Remove margin to allow video to extend behind navbar */
        padding: 1.5rem 0;
    }
    
    .section-padding {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bg-solar-pattern,
    .bg-geometric-pattern,
    .bg-wave-pattern,
    .bg-energy-flow {
        background-size: 50px 50px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .floating-card {
        display: none !important;
    }
    
    .hero-section-modern {
        min-height: auto;
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .section-padding {
        padding: 1rem 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-size: 14pt;
        margin-bottom: 0.5rem;
    }
}

/* Logo Image Styles */
.navbar-brand img {
    height: 65px;
    width: auto;
    max-width: 250px;
    transition: all 0.3s ease;
}

/* Specific logo image controls */
.navbar-brand .logo-white,
.navbar-brand .logo-dark {
    height: 65px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain;
}

/* Responsive Logo Styles */
@media (max-width: 767px) {
    .navbar-brand img {
        height: 45px !important;
        max-width: 180px;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        height: 40px !important;
        max-width: 160px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none !important;
    }
    
    .hero-particles {
        animation: none !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2d2d2d;
        --dark-gray: #ffffff;
        --medium-gray: #cccccc;
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.98) !important;
    }
    
    .card {
        background: var(--light-gray);
        border-color: #404040;
    }
}

/* ===== IMPACT HERO ENHANCED RESPONSIVE STYLING ===== */

/* Impact Hero Specific Enhancements */
.impact-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.impact-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.impact-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.impact-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.impact-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Enhanced Floating Card for Impact Hero */
.impact-hero .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.impact-hero .floating-card .card-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.impact-hero .floating-card .card-content h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.2;
}

.impact-hero .floating-card .card-content p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .impact-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .impact-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .impact-hero .floating-card {
        padding: 1.5rem;
        min-width: 160px;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1.8rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.95rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .impact-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .impact-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
    
    .impact-hero .floating-card {
        padding: 1.25rem;
        min-width: 150px;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1.6rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.9rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .impact-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .impact-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .impact-hero .floating-card {
        padding: 1rem;
        min-width: 140px;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1.5rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.85rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .impact-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .impact-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .impact-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .impact-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .impact-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .impact-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .impact-hero .floating-card {
        position: relative;
        transform: scale(0.9);
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1rem auto;
        display: inline-block;
        animation: none;
        transform: translateY(0);
    }
    
    .impact-hero .floating-card.card-1 {
        top: auto;
        left: auto;
        margin-right: 1rem;
    }
    
    .impact-hero .floating-card.card-2 {
        bottom: auto;
        right: auto;
        margin-left: 1rem;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1.3rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.8rem;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .impact-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .impact-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .impact-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .impact-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .impact-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .impact-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .impact-hero .floating-card {
        position: relative;
        transform: scale(0.8);
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0.75rem auto;
        display: inline-block;
        animation: none;
        transform: translateY(0);
        min-width: 120px;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1.2rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.75rem;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .impact-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .impact-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .impact-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .impact-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .impact-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .impact-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .impact-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .impact-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
    
    .impact-hero .floating-card {
        position: relative;
        transform: scale(0.7);
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0.5rem auto;
        display: inline-block;
        animation: none;
        transform: translateY(0);
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 1rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.7rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .impact-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .impact-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .impact-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .impact-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
    
    .impact-hero .floating-card {
        transform: scale(0.6);
        min-width: 90px;
        padding: 0.625rem;
    }
    
    .impact-hero .floating-card .card-icon {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .impact-hero .floating-card .card-content h4 {
        font-size: 0.9rem;
    }
    
    .impact-hero .floating-card .card-content p {
        font-size: 0.65rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .impact-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .impact-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .impact-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .impact-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .impact-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .impact-hero .floating-card {
        display: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .impact-hero .hero-main-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .impact-hero .floating-card {
        animation: none;
    }
    
    .impact-hero .hero-main-image:hover {
        transform: none;
    }
}

/* ===== WHO WE ARE HERO ENHANCED RESPONSIVE STYLING ===== */

/* Who We Are Hero Specific Enhancements */
.who-we-are-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.who-we-are-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.who-we-are-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.who-we-are-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.who-we-are-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .who-we-are-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .who-we-are-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .who-we-are-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .who-we-are-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .who-we-are-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .who-we-are-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .who-we-are-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .who-we-are-hero .hero-section-modern,
    .contact-hero .hero-section-modern,
    .what-we-offer-hero .hero-section-modern,
    .impact-hero .hero-section-modern,
    .career-hero .hero-section-modern,
    .solar-pumps-hero .hero-section-modern,
    .surface-pumps-hero .hero-section-modern,
    .submersible-pumps-hero .hero-section-modern,
    .processing-machines-hero .hero-section-modern,
    .blog-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .who-we-are-hero .hero-content,
    .contact-hero .hero-content,
    .what-we-offer-hero .hero-content,
    .impact-hero .hero-content,
    .career-hero .hero-content,
    .solar-pumps-hero .hero-content,
    .surface-pumps-hero .hero-content,
    .submersible-pumps-hero .hero-content,
    .processing-machines-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .blog-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
    
    .who-we-are-hero .hero-title,
    .contact-hero .hero-title,
    .what-we-offer-hero .hero-title,
    .impact-hero .hero-title,
    .career-hero .hero-title,
    .solar-pumps-hero .hero-title,
    .surface-pumps-hero .hero-title,
    .submersible-pumps-hero .hero-title,
    .processing-machines-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-subtitle,
    .contact-hero .hero-subtitle,
    .what-we-offer-hero .hero-subtitle,
    .impact-hero .hero-subtitle,
    .career-hero .hero-subtitle,
    .solar-pumps-hero .hero-subtitle,
    .surface-pumps-hero .hero-subtitle,
    .submersible-pumps-hero .hero-subtitle,
    .processing-machines-hero .hero-subtitle,
    .blog-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .who-we-are-hero .hero-cta-group,
    .contact-hero .hero-cta-group,
    .what-we-offer-hero .hero-cta-group,
    .impact-hero .hero-cta-group,
    .career-hero .hero-cta-group,
    .solar-pumps-hero .hero-cta-group,
    .surface-pumps-hero .hero-cta-group,
    .submersible-pumps-hero .hero-cta-group,
    .processing-machines-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .blog-hero .hero-cta-group {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .who-we-are-hero .hero-visual,
    .contact-hero .hero-visual,
    .what-we-offer-hero .hero-visual,
    .impact-hero .hero-visual,
    .career-hero .hero-visual,
    .solar-pumps-hero .hero-visual,
    .surface-pumps-hero .hero-visual,
    .submersible-pumps-hero .hero-visual,
    .processing-machines-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .blog-hero .hero-visual {
        margin-top: 1rem;
    }
    
    .who-we-are-hero .hero-image-wrapper,
    .contact-hero .hero-image-wrapper,
    .what-we-offer-hero .hero-image-wrapper,
    .impact-hero .hero-image-wrapper,
    .career-hero .hero-image-wrapper,
    .solar-pumps-hero .hero-image-wrapper,
    .surface-pumps-hero .hero-image-wrapper,
    .submersible-pumps-hero .hero-image-wrapper,
    .processing-machines-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .blog-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .who-we-are-hero .hero-section-modern,
    .contact-hero .hero-section-modern,
    .what-we-offer-hero .hero-section-modern,
    .impact-hero .hero-section-modern,
    .career-hero .hero-section-modern,
    .solar-pumps-hero .hero-section-modern,
    .surface-pumps-hero .hero-section-modern,
    .submersible-pumps-hero .hero-section-modern,
    .processing-machines-hero .hero-section-modern,
    .blog-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .who-we-are-hero .hero-content,
    .contact-hero .hero-content,
    .what-we-offer-hero .hero-content,
    .impact-hero .hero-content,
    .career-hero .hero-content,
    .solar-pumps-hero .hero-content,
    .surface-pumps-hero .hero-content,
    .submersible-pumps-hero .hero-content,
    .processing-machines-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .blog-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-title,
    .contact-hero .hero-title,
    .what-we-offer-hero .hero-title,
    .impact-hero .hero-title,
    .career-hero .hero-title,
    .solar-pumps-hero .hero-title,
    .surface-pumps-hero .hero-title,
    .submersible-pumps-hero .hero-title,
    .processing-machines-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .who-we-are-hero .hero-subtitle,
    .contact-hero .hero-subtitle,
    .what-we-offer-hero .hero-subtitle,
    .impact-hero .hero-subtitle,
    .career-hero .hero-subtitle,
    .solar-pumps-hero .hero-subtitle,
    .surface-pumps-hero .hero-subtitle,
    .submersible-pumps-hero .hero-subtitle,
    .processing-machines-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .who-we-are-hero .hero-cta-group,
    .contact-hero .hero-cta-group,
    .what-we-offer-hero .hero-cta-group,
    .impact-hero .hero-cta-group,
    .career-hero .hero-cta-group,
    .solar-pumps-hero .hero-cta-group,
    .surface-pumps-hero .hero-cta-group,
    .submersible-pumps-hero .hero-cta-group,
    .processing-machines-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .who-we-are-hero .hero-visual,
    .contact-hero .hero-visual,
    .what-we-offer-hero .hero-visual,
    .impact-hero .hero-visual,
    .career-hero .hero-visual,
    .solar-pumps-hero .hero-visual,
    .surface-pumps-hero .hero-visual,
    .submersible-pumps-hero .hero-visual,
    .processing-machines-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .who-we-are-hero .hero-image-wrapper,
    .contact-hero .hero-image-wrapper,
    .what-we-offer-hero .hero-image-wrapper,
    .impact-hero .hero-image-wrapper,
    .career-hero .hero-image-wrapper,
    .solar-pumps-hero .hero-image-wrapper,
    .surface-pumps-hero .hero-image-wrapper,
    .submersible-pumps-hero .hero-image-wrapper,
    .processing-machines-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .who-we-are-hero .hero-section-modern,
    .contact-hero .hero-section-modern,
    .what-we-offer-hero .hero-section-modern,
    .impact-hero .hero-section-modern,
    .career-hero .hero-section-modern,
    .solar-pumps-hero .hero-section-modern,
    .surface-pumps-hero .hero-section-modern,
    .submersible-pumps-hero .hero-section-modern,
    .processing-machines-hero .hero-section-modern,
    .blog-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .who-we-are-hero .hero-content,
    .contact-hero .hero-content,
    .what-we-offer-hero .hero-content,
    .impact-hero .hero-content,
    .career-hero .hero-content,
    .solar-pumps-hero .hero-content,
    .surface-pumps-hero .hero-content,
    .submersible-pumps-hero .hero-content,
    .processing-machines-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .blog-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .who-we-are-hero .hero-title,
    .contact-hero .hero-title,
    .what-we-offer-hero .hero-title,
    .impact-hero .hero-title,
    .career-hero .hero-title,
    .solar-pumps-hero .hero-title,
    .surface-pumps-hero .hero-title,
    .submersible-pumps-hero .hero-title,
    .processing-machines-hero .hero-title,
    .blog-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .who-we-are-hero .hero-subtitle,
    .contact-hero .hero-subtitle,
    .what-we-offer-hero .hero-subtitle,
    .impact-hero .hero-subtitle,
    .career-hero .hero-subtitle,
    .solar-pumps-hero .hero-subtitle,
    .surface-pumps-hero .hero-subtitle,
    .submersible-pumps-hero .hero-subtitle,
    .processing-machines-hero .hero-subtitle,
    .blog-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-cta-group,
    .contact-hero .hero-cta-group,
    .what-we-offer-hero .hero-cta-group,
    .impact-hero .hero-cta-group,
    .career-hero .hero-cta-group,
    .solar-pumps-hero .hero-cta-group,
    .surface-pumps-hero .hero-cta-group,
    .submersible-pumps-hero .hero-cta-group,
    .processing-machines-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-hero .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .who-we-are-hero .hero-cta-group .btn,
    .contact-hero .hero-cta-group .btn,
    .what-we-offer-hero .hero-cta-group .btn,
    .impact-hero .hero-cta-group .btn,
    .career-hero .hero-cta-group .btn,
    .solar-pumps-hero .hero-cta-group .btn,
    .surface-pumps-hero .hero-cta-group .btn,
    .submersible-pumps-hero .hero-cta-group .btn,
    .processing-machines-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .blog-hero .hero-cta-group .btn {
        margin: 0;
        width: auto;
    }
    
    .who-we-are-hero .hero-visual,
    .contact-hero .hero-visual,
    .what-we-offer-hero .hero-visual,
    .impact-hero .hero-visual,
    .career-hero .hero-visual,
    .solar-pumps-hero .hero-visual,
    .surface-pumps-hero .hero-visual,
    .submersible-pumps-hero .hero-visual,
    .processing-machines-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .blog-hero .hero-visual {
        margin-top: 1rem;
    }
    
    .who-we-are-hero .hero-image-wrapper,
    .contact-hero .hero-image-wrapper,
    .what-we-offer-hero .hero-image-wrapper,
    .impact-hero .hero-image-wrapper,
    .career-hero .hero-image-wrapper,
    .solar-pumps-hero .hero-image-wrapper,
    .surface-pumps-hero .hero-image-wrapper,
    .submersible-pumps-hero .hero-image-wrapper,
    .processing-machines-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .blog-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
    }
    
    .who-we-are-hero .hero-main-image,
    .contact-hero .hero-main-image,
    .what-we-offer-hero .hero-main-image,
    .impact-hero .hero-main-image,
    .career-hero .hero-main-image,
    .solar-pumps-hero .hero-main-image,
    .surface-pumps-hero .hero-main-image,
    .submersible-pumps-hero .hero-main-image,
    .processing-machines-hero .hero-main-image,
    .blog-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .who-we-are-hero .hero-section-modern,
    .contact-hero .hero-section-modern,
    .what-we-offer-hero .hero-section-modern,
    .impact-hero .hero-section-modern,
    .career-hero .hero-section-modern,
    .solar-pumps-hero .hero-section-modern,
    .surface-pumps-hero .hero-section-modern,
    .submersible-pumps-hero .hero-section-modern,
    .processing-machines-hero .hero-section-modern,
    .blog-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .who-we-are-hero .hero-content,
    .contact-hero .hero-content,
    .what-we-offer-hero .hero-content,
    .impact-hero .hero-content,
    .career-hero .hero-content,
    .solar-pumps-hero .hero-content,
    .surface-pumps-hero .hero-content,
    .submersible-pumps-hero .hero-content,
    .processing-machines-hero .hero-content,
    .blog-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .who-we-are-hero .hero-title,
    .contact-hero .hero-title,
    .what-we-offer-hero .hero-title,
    .impact-hero .hero-title,
    .career-hero .hero-title,
    .solar-pumps-hero .hero-title,
    .surface-pumps-hero .hero-title,
    .submersible-pumps-hero .hero-title,
    .processing-machines-hero .hero-title,
    .blog-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .who-we-are-hero .hero-subtitle,
    .contact-hero .hero-subtitle,
    .what-we-offer-hero .hero-subtitle,
    .impact-hero .hero-subtitle,
    .career-hero .hero-subtitle,
    .solar-pumps-hero .hero-subtitle,
    .surface-pumps-hero .hero-subtitle,
    .submersible-pumps-hero .hero-subtitle,
    .processing-machines-hero .hero-subtitle,
    .blog-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .who-we-are-hero .hero-cta-group,
    .contact-hero .hero-cta-group,
    .what-we-offer-hero .hero-cta-group,
    .impact-hero .hero-cta-group,
    .career-hero .hero-cta-group,
    .solar-pumps-hero .hero-cta-group,
    .surface-pumps-hero .hero-cta-group,
    .submersible-pumps-hero .hero-cta-group,
    .processing-machines-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
    
    .blog-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .who-we-are-hero .hero-section-modern,
    .contact-hero .hero-section-modern,
    .what-we-offer-hero .hero-section-modern,
    .impact-hero .hero-section-modern,
    .career-hero .hero-section-modern,
    .solar-pumps-hero .hero-section-modern,
    .surface-pumps-hero .hero-section-modern,
    .submersible-pumps-hero .hero-section-modern,
    .processing-machines-hero .hero-section-modern,
    .blog-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .who-we-are-hero .hero-content,
    .contact-hero .hero-content,
    .what-we-offer-hero .hero-content,
    .impact-hero .hero-content,
    .career-hero .hero-content,
    .solar-pumps-hero .hero-content,
    .surface-pumps-hero .hero-content,
    .submersible-pumps-hero .hero-content,
    .processing-machines-hero .hero-content,
    .blog-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .who-we-are-hero .hero-title,
    .contact-hero .hero-title,
    .what-we-offer-hero .hero-title,
    .impact-hero .hero-title,
    .career-hero .hero-title,
    .solar-pumps-hero .hero-title,
    .surface-pumps-hero .hero-title,
    .submersible-pumps-hero .hero-title,
    .processing-machines-hero .hero-title,
    .blog-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .who-we-are-hero .hero-subtitle,
    .contact-hero .hero-subtitle,
    .what-we-offer-hero .hero-subtitle,
    .impact-hero .hero-subtitle,
    .career-hero .hero-subtitle,
    .solar-pumps-hero .hero-subtitle,
    .surface-pumps-hero .hero-subtitle,
    .submersible-pumps-hero .hero-subtitle,
    .processing-machines-hero .hero-subtitle,
    .blog-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .who-we-are-hero .hero-cta-group,
    .contact-hero .hero-cta-group,
    .what-we-offer-hero .hero-cta-group,
    .impact-hero .hero-cta-group,
    .career-hero .hero-cta-group,
    .solar-pumps-hero .hero-cta-group,
    .surface-pumps-hero .hero-cta-group,
    .submersible-pumps-hero .hero-cta-group,
    .processing-machines-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .blog-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== SOLAR PUMPS HERO ENHANCED RESPONSIVE STYLING ===== */

/* Solar Pumps Hero Specific Enhancements */
.solar-pumps-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.solar-pumps-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solar-pumps-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.solar-pumps-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.solar-pumps-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .solar-pumps-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .solar-pumps-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .solar-pumps-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .solar-pumps-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .solar-pumps-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .solar-pumps-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .solar-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .solar-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .solar-pumps-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .solar-pumps-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .solar-pumps-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .solar-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .solar-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .solar-pumps-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .solar-pumps-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .solar-pumps-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .solar-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .solar-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .solar-pumps-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .solar-pumps-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .solar-pumps-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .solar-pumps-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .solar-pumps-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .solar-pumps-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .solar-pumps-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .solar-pumps-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .solar-pumps-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== SURFACE PUMPS HERO ENHANCED RESPONSIVE STYLING ===== */

/* Surface Pumps Hero Specific Enhancements */
.surface-pumps-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.surface-pumps-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.surface-pumps-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.surface-pumps-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.surface-pumps-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .surface-pumps-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .surface-pumps-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .surface-pumps-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .surface-pumps-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .surface-pumps-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .surface-pumps-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .surface-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .surface-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .surface-pumps-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .surface-pumps-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .surface-pumps-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .surface-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .surface-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .surface-pumps-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .surface-pumps-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .surface-pumps-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .surface-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .surface-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .surface-pumps-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .surface-pumps-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .surface-pumps-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .surface-pumps-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .surface-pumps-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .surface-pumps-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .surface-pumps-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .surface-pumps-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .surface-pumps-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== SUBMERSIBLE PUMPS HERO ENHANCED RESPONSIVE STYLING ===== */

/* Submersible Pumps Hero Specific Enhancements */
.submersible-pumps-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.submersible-pumps-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submersible-pumps-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.submersible-pumps-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.submersible-pumps-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .submersible-pumps-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .submersible-pumps-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .submersible-pumps-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .submersible-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .submersible-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .submersible-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .submersible-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .submersible-pumps-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .submersible-pumps-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .submersible-pumps-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .submersible-pumps-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-featured {
    background: linear-gradient(135deg, var(--accent-orange), #F5A623);
    color: white;
    box-shadow: 0 2px 4px rgba(233, 142, 57, 0.3);
}

.badge-bestseller {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.badge-recommended {
    background: linear-gradient(135deg, var(--accent-green), #C7E6C7);
    color: var(--dark-purple);
    box-shadow: 0 2px 4px rgba(176, 215, 171, 0.3);
}

.badge-sale {
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
    color: white;
    box-shadow: 0 2px 4px rgba(255, 159, 243, 0.3);
}

/* Product Header */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.product-header h4 {
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    font-size: 0.8rem;
}

/* Product Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.tag {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    border: 1px solid var(--border-color);
}

/* Product Suitable For */
.product-suitable-for {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(13, 202, 240, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--info-color);
}

/* Product Price Enhancements */
.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.sale-price {
    color: var(--danger-color);
    font-weight: bold;
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9em;
}

/* Product Warranty */
.product-warranty {
    padding: 0.5rem;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--success-color);
}

/* Enhanced Calculator Results */
.calculator-result-card {
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.calculator-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.excellent-match {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.good-match {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #f8fcff 0%, #e8f4f8 100%);
}

.fair-match {
    border-color: #ffc107;
    background: linear-gradient(135deg, #fffef8 0%, #fef8e8 100%);
}

.poor-match {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #f8e8e8 100%);
}

/* Enhanced Suitability Badge */
.suitability-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 3;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-width: 80px;
}

.suitability-badge.excellent {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.suitability-badge.good {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    color: white;
}

.suitability-badge.fair {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.suitability-badge.poor {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

.suitability-badge .score {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.suitability-badge .text {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
}

/* Enhanced Specifications List */
.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-header h4 {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .product-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 3px;
    }
    
    .badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .suitability-badge {
        top: -5px;
        right: -5px;
        min-width: 70px;
        padding: 6px 10px;
    }
    
    .suitability-badge .score {
        font-size: 1rem;
    }
    
    .suitability-badge .text {
        font-size: 0.6rem;
    }
}

/* Animation for Calculator Results */
.calculator-result-card {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple cards */
.calculator-result-card:nth-child(1) { animation-delay: 0.1s; }
.calculator-result-card:nth-child(2) { animation-delay: 0.2s; }
.calculator-result-card:nth-child(3) { animation-delay: 0.3s; }
.calculator-result-card:nth-child(4) { animation-delay: 0.4s; }
.calculator-result-card:nth-child(5) { animation-delay: 0.5s; }
.calculator-result-card:nth-child(6) { animation-delay: 0.6s; }

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .submersible-pumps-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .submersible-pumps-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .submersible-pumps-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .submersible-pumps-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .submersible-pumps-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== WHAT WE OFFER HERO ENHANCED RESPONSIVE STYLING ===== */

/* What We Offer Hero Specific Enhancements */
.what-we-offer-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.what-we-offer-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.what-we-offer-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.what-we-offer-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.what-we-offer-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .what-we-offer-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .what-we-offer-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .what-we-offer-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .what-we-offer-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .what-we-offer-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .what-we-offer-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .what-we-offer-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .what-we-offer-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .what-we-offer-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .what-we-offer-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .what-we-offer-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .what-we-offer-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .what-we-offer-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .what-we-offer-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .what-we-offer-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .what-we-offer-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .what-we-offer-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .what-we-offer-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .what-we-offer-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .what-we-offer-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .what-we-offer-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .what-we-offer-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .what-we-offer-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .what-we-offer-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .what-we-offer-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .what-we-offer-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .what-we-offer-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== SERVICES HERO ENHANCED RESPONSIVE STYLING ===== */

/* Services Hero Specific Enhancements */
.services-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.services-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.services-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.services-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .services-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .services-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .services-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .services-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .services-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .services-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .services-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .services-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .services-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .services-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .services-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .services-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .services-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .services-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .services-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .services-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .services-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .services-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .services-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .services-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .services-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .services-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .services-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .services-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .services-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .services-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .services-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .services-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .services-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .services-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .services-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .services-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .services-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .services-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== PRODUCTS HERO ENHANCED RESPONSIVE STYLING ===== */

/* Products Hero Specific Enhancements */
.products-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.products-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.products-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.products-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .products-hero .hero-section-modern {
        height: 100vh;
        padding: 0;
        position: relative;
        overflow: hidden;
    }
    
    .products-hero .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 3;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .products-hero .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .products-hero .hero-section-modern .col-lg-12 {
        padding: 0 2rem;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .products-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
    }
    
    .products-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-cta-group {
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;

    }
    
    .products-hero .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .products-hero .hero-section-modern {
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .products-hero .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 3;
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
    
    .products-hero .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .products-hero .hero-section-modern .col-lg-12 {
        padding: 0 1.5rem;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .products-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .products-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-cta-group {
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;

    }
    
    .products-hero .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .products-hero .hero-section-modern {
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .products-hero .hero-section-modern .container {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 3;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .products-hero .hero-section-modern .row {
        width: 100%;
        margin: 0;
        align-items: center;
        min-height: 100vh;
    }
    
    .products-hero .hero-section-modern .col-lg-12 {
        padding: 0 1rem;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    
    .products-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;

        width: 100%;
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .products-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .products-hero .hero-cta-group {
        gap: 1.25rem;
        margin-bottom: 1.75rem;
        flex-wrap: wrap;

    }
    
    .products-hero .hero-cta-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .products-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .products-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
    
    .products-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .products-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .products-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .products-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .products-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .products-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .products-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .products-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .products-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .products-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .products-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .products-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .products-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .products-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .products-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .products-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .products-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .products-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .products-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .products-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .products-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .products-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .products-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .products-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .products-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .products-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .products-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .products-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .products-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== PROMOTIONS HERO ENHANCED RESPONSIVE STYLING ===== */

/* Promotions Hero Specific Enhancements */
.promotions-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.promotions-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promotions-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.promotions-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.promotions-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .promotions-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .promotions-hero .hero-content {
        padding-top: 130px;
        padding-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 1.75rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.6;
        margin-bottom: 2.25rem;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .promotions-hero .hero-content {
        padding-top: 120px;
        padding-bottom: 1rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .promotions-hero .hero-section-modern {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .promotions-hero .hero-content {
        padding-top: 100px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .promotions-hero .hero-cta-group {

        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .promotions-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .promotions-hero .hero-image-wrapper {
        position: relative;
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .promotions-hero .hero-section-modern {
        min-height: 85vh;
        padding: 1.5rem 0;
    }
    
    .promotions-hero .hero-content {
        padding-top: 90px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .promotions-hero .hero-cta-group {

        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .promotions-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .promotions-hero .hero-image-wrapper {
        position: relative;
        max-width: 95%;
        margin: 0 auto;
    }
}

/* Mobile (up to 575px) */
@media (max-width: 575px) {
    .promotions-hero .hero-section-modern {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .promotions-hero .hero-content {
        padding-top: 80px;
        padding-bottom: 1rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .promotions-hero .hero-cta-group .btn {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .promotions-hero .hero-visual {
        text-align: center;
        margin-top: 1rem;
    }
    
    .promotions-hero .hero-image-wrapper {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .promotions-hero .hero-main-image {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .promotions-hero .hero-section-modern {
        min-height: 75vh;
        padding: 0.75rem 0;
    }
    
    .promotions-hero .hero-content {
        padding-top: 70px;
        padding-bottom: 0.75rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 1.9rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .promotions-hero .hero-cta-group {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .promotions-hero .hero-section-modern {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .promotions-hero .hero-content {
        padding-top: 60px;
        padding-bottom: 0.5rem;
    }
    
    .promotions-hero .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .promotions-hero .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .promotions-hero .hero-cta-group {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===== ENVIRONMENTAL IMPACT SECTION ENHANCED STYLING ===== */
.environmental-impact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
}

.environmental-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.environmental-impact-section .container {
    position: relative;
    z-index: 2;
}

.environmental-impact-section .section-header-modern {
    margin-bottom: 4rem;
}

.environmental-impact-section .section-badge {
    background: linear-gradient(135deg, var(--accent-green) 0%, #28a745 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.environmental-impact-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.environmental-impact-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.environmental-impact-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Service Cards for Environmental Impact */
.environmental-impact-section .service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.environmental-impact-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green) 0%, var(--primary-purple) 50%, var(--accent-green) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.environmental-impact-section .service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.environmental-impact-section .service-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Icon Wrapper */
.environmental-impact-section .card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #28a745 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.environmental-impact-section .service-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.environmental-impact-section .card-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-green), var(--primary-purple), var(--accent-green));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.environmental-impact-section .service-card:hover .card-icon-wrapper::before {
    opacity: 1;
}

/* Enhanced Icons */
.environmental-impact-section .card-icon {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.environmental-impact-section .service-card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Enhanced Card Content */
.environmental-impact-section .card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.environmental-impact-section .service-card:hover .card-content h4 {
    color: var(--accent-green);
    transform: translateY(-2px);
}

.environmental-impact-section .card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.environmental-impact-section .service-card:hover .card-content p {
    color: var(--text-primary);
}

/* Specific Icon Styling for Environmental Impact */
.environmental-impact-section .fa-leaf {
    color: #28a745 !important;
}

.environmental-impact-section .fa-tint {
    color: #17a2b8 !important;
}

.environmental-impact-section .fa-seedling {
    color: #6f42c1 !important;
}

.environmental-impact-section .fa-solar-panel {
    color: #fd7e14 !important;
}

/* Responsive Design for Environmental Impact Section */
@media (max-width: 1200px) {
    .environmental-impact-section .section-title {
        font-size: 2.5rem;
    }
    
    .environmental-impact-section .service-card {
        padding: 2rem 1.5rem;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .environmental-impact-section .card-icon {
        font-size: 1.75rem;
    }
}

@media (max-width: 992px) {
    .environmental-impact-section .section-title {
        font-size: 2.25rem;
    }
    
    .environmental-impact-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .environmental-impact-section .service-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 1.25rem;
    }
    
    .environmental-impact-section .card-content h4 {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .environmental-impact-section {
        padding: 3rem 0;
    }
    
    .environmental-impact-section .section-title {
        font-size: 2rem;
    }
    
    .environmental-impact-section .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .environmental-impact-section .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .environmental-impact-section .card-icon {
        font-size: 1.5rem;
    }
    
    .environmental-impact-section .card-content h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .environmental-impact-section .card-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .environmental-impact-section .section-title {
        font-size: 1.75rem;
    }
    
    .environmental-impact-section .section-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .environmental-impact-section .service-card {
        padding: 1.25rem 0.75rem;
        border-radius: 15px;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .environmental-impact-section .card-icon {
        font-size: 1.35rem;
    }
    
    .environmental-impact-section .card-content h4 {
        font-size: 1.15rem;
    }
    
    .environmental-impact-section .card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .environmental-impact-section .section-title {
        font-size: 1.5rem;
    }
    
    .environmental-impact-section .service-card {
        padding: 1rem 0.5rem;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .environmental-impact-section .card-icon {
        font-size: 1.25rem;
    }
}

/* Animation for Environmental Impact Cards */
@keyframes environmentalCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.environmental-impact-section .service-card {
    animation: environmentalCardFloat 6s ease-in-out infinite;
}

.environmental-impact-section .service-card:nth-child(2) {
    animation-delay: 1s;
}

.environmental-impact-section .service-card:nth-child(3) {
    animation-delay: 2s;
}

.environmental-impact-section .service-card:nth-child(4) {
    animation-delay: 3s;
}

/* Hover state overrides animation */
.environmental-impact-section .service-card:hover {
    animation: none;
}

/* High DPI and Reduced Motion Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .environmental-impact-section .service-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .environmental-impact-section .service-card {
        animation: none;
        transition: none;
    }
    
    .environmental-impact-section .service-card:hover {
        transform: none;
    }
    
    .environmental-impact-section .card-icon-wrapper {
        transition: none;
    }
    
    .environmental-impact-section .service-card:hover .card-icon-wrapper {
        transform: none;
    }
}

/* ===== PROCESSING MACHINES HERO ENHANCED RESPONSIVE STYLING ===== */

/* Processing Machines Hero Specific Enhancements */
.processing-machines-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 120px;
}

.processing-machines-hero .hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.processing-machines-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.processing-machines-hero .hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.processing-machines-hero .hero-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .processing-machines-hero .hero-content {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .processing-machines-hero .hero-title {
        font-size: 4.5rem;
        line-height: 1.05;
        margin-bottom: 2rem;
    }
    
    .processing-machines-hero .hero-subtitle {
        font-size: 1.5rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
}

/* ===== COMMUNITY IMPACT SECTION ENHANCED STYLING ===== */
.community-impact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

.community-impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="community-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23community-grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.community-impact-section .container {
    position: relative;
    z-index: 2;
}

.community-impact-section .section-header-modern {
    margin-bottom: 4rem;
}

.community-impact-section .section-badge {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6f42c1 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.community-impact-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.community-impact-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.community-impact-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Service Cards for Community Impact */
.community-impact-section .service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.community-impact-section .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, #6f42c1 50%, var(--primary-purple) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.community-impact-section .service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.community-impact-section .service-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Icon Wrapper */
.community-impact-section .card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6f42c1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.community-impact-section .service-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(111, 66, 193, 0.4);
}

.community-impact-section .card-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-purple), #6f42c1, var(--primary-purple));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.community-impact-section .service-card:hover .card-icon-wrapper::before {
    opacity: 1;
}

/* Enhanced Icons */
.community-impact-section .card-icon {
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.community-impact-section .service-card:hover .card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Enhanced Card Content */
.community-impact-section .card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.community-impact-section .service-card:hover .card-content h4 {
    color: #6f42c1;
    transform: translateY(-2px);
}

.community-impact-section .card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.community-impact-section .service-card:hover .card-content p {
    color: var(--text-primary);
}

/* Feature List Styling */
.community-impact-section .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.community-impact-section .feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(111, 66, 193, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.community-impact-section .service-card:hover .feature-list li {
    background: rgba(111, 66, 193, 0.1);
    border-left-color: var(--primary-purple);
    transform: translateX(5px);
}

.community-impact-section .feature-list li:last-child {
    margin-bottom: 0;
}

.community-impact-section .feature-list li i {
    color: var(--primary-purple);
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.community-impact-section .service-card:hover .feature-list li i {
    color: #6f42c1;
    transform: scale(1.1);
}

.community-impact-section .feature-list li span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.community-impact-section .service-card:hover .feature-list li span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Specific Icon Styling for Community Impact */
.community-impact-section .fa-chart-line {
    color: #28a745 !important;
}

.community-impact-section .fa-users {
    color: #17a2b8 !important;
}

/* Responsive Design for Community Impact Section */
@media (max-width: 1200px) {
    .community-impact-section .section-title {
        font-size: 2.5rem;
    }
    
    .community-impact-section .service-card {
        padding: 2rem 1.5rem;
    }
    
    .community-impact-section .card-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .community-impact-section .card-icon {
        font-size: 1.75rem;
    }
}

@media (max-width: 992px) {
    .community-impact-section .section-title {
        font-size: 2.25rem;
    }
    
    .community-impact-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .community-impact-section .service-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .community-impact-section .card-icon-wrapper {
        width: 65px;
        height: 65px;
        margin-bottom: 1.25rem;
    }
    
    .community-impact-section .card-content h4 {
        font-size: 1.35rem;
    }
    
    .community-impact-section .feature-list li {
        padding: 0.625rem;
        margin-bottom: 0.875rem;
    }
    
    .community-impact-section .feature-list li span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .community-impact-section {
        padding: 3rem 0;
    }
    
    .community-impact-section .section-title {
        font-size: 2rem;
    }
    
    .community-impact-section .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .community-impact-section .service-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .community-impact-section .card-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .community-impact-section .card-icon {
        font-size: 1.5rem;
    }
    
    .community-impact-section .card-content h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .community-impact-section .feature-list li {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
        text-align: left;
    }
    
    .community-impact-section .feature-list li span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .community-impact-section .section-title {
        font-size: 1.75rem;
    }
    
    .community-impact-section .section-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .community-impact-section .service-card {
        padding: 1.25rem 0.75rem;
        border-radius: 15px;
    }
    
    .community-impact-section .card-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .community-impact-section .card-icon {
        font-size: 1.35rem;
    }
    
    .community-impact-section .card-content h4 {
        font-size: 1.15rem;
    }
    
    .community-impact-section .feature-list li {
        padding: 0.5rem;
        margin-bottom: 0.625rem;
    }
    
    .community-impact-section .feature-list li span {
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .community-impact-section .section-title {
        font-size: 1.5rem;
    }
    
    .community-impact-section .service-card {
        padding: 1rem 0.5rem;
    }
    
    .community-impact-section .card-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .community-impact-section .card-icon {
        font-size: 1.25rem;
    }
    
    .community-impact-section .feature-list li {
        padding: 0.375rem;
        margin-bottom: 0.5rem;
    }
    
    .community-impact-section .feature-list li span {
        font-size: 0.75rem;
    }
}

/* Animation for Community Impact Cards */
@keyframes communityCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.community-impact-section .service-card {
    animation: communityCardFloat 6s ease-in-out infinite;
}

.community-impact-section .service-card:nth-child(2) {
    animation-delay: 1s;
}

/* Hover state overrides animation */
.community-impact-section .service-card:hover {
    animation: none;
}

/* High DPI and Reduced Motion Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .community-impact-section .service-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-impact-section .service-card {
        animation: none;
        transition: none;
    }
    
    .community-impact-section .service-card:hover {
        transform: none;
    }
    
    .community-impact-section .card-icon-wrapper {
        transition: none;
    }
    
    .community-impact-section .service-card:hover .card-icon-wrapper {
        transform: none;
    }
    
    .community-impact-section .feature-list li {
        transition: none;
    }
    
    .community-impact-section .service-card:hover .feature-list li {
        transform: none;
    }
}

/* ===== OUR JOURNEY SECTION ENHANCED STYLING ===== */
.our-journey-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 50%, #d4edda 100%);
    position: relative;
    overflow: hidden;
}

.our-journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="journey-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23journey-grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.our-journey-section .container {
    position: relative;
    z-index: 2;
}

.our-journey-section .section-header-modern {
    margin-bottom: 4rem;
}

.our-journey-section .section-badge {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6f42c1 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.our-journey-section .section-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.our-journey-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.our-journey-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Timeline Styling for Our Journey Section */
.our-journey-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    margin: 10px 0;
}

.our-journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-solar-pattern);
    opacity: 0.05;
    pointer-events: none;
}

.our-journey-section .timeline {
    position: relative;
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Main Timeline Line */
.our-journey-section .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, 
        var(--primary-purple) 0%, 
        var(--accent-green) 25%, 
        var(--accent-orange) 50%, 
        var(--accent-green) 75%, 
        var(--primary-purple) 100%);
    transform: translateX(-50%);
    border-radius: 3px;
    box-shadow: 
        0 0 20px rgba(102, 0, 153, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* Timeline Start and End Points */
.our-journey-section .timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 0 30px rgba(102, 0, 153, 0.6),
        0 0 60px rgba(102, 0, 153, 0.3);
    z-index: 2;
    animation: timelinePulse 3s ease-in-out infinite;
}

.our-journey-section .timeline .timeline-end {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-purple) 100%);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 0 30px rgba(233, 142, 57, 0.6),
        0 0 60px rgba(233, 142, 57, 0.3);
    z-index: 2;
    animation: timelinePulse 3s ease-in-out infinite 1.5s;
}

/* Timeline Items */
.our-journey-section .timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    animation: timelineItemFadeIn 1s ease-out forwards;
}

.our-journey-section .timeline-item:nth-child(1) { animation-delay: 0.3s; }
.our-journey-section .timeline-item:nth-child(2) { animation-delay: 0.6s; }
.our-journey-section .timeline-item:nth-child(3) { animation-delay: 0.9s; }
.our-journey-section .timeline-item:nth-child(4) { animation-delay: 1.2s; }
.our-journey-section .timeline-item:nth-child(5) { animation-delay: 1.5s; }
.our-journey-section .timeline-item:nth-child(6) { animation-delay: 1.8s; }

/* Timeline Content Cards */
.our-journey-section .timeline-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(102, 0, 153, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    max-width: 450px;
}

/* Timeline Item Positioning */
.our-journey-section .timeline .row {
    position: relative;
    margin-bottom: 2rem;
}

.our-journey-section .timeline .row:last-child {
    margin-bottom: 0;
}

.our-journey-section .timeline .col-md-6:first-child .timeline-content {
    margin-right: 2rem;
}

.our-journey-section .timeline .col-md-6:last-child .timeline-content {
    margin-left: 2rem;
}

.our-journey-section .timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    border-radius: 20px 20px 0 0;
}

.our-journey-section .timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 0, 153, 0.2);
}

/* Timeline Node Points */
.our-journey-section .timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-green) 100%);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 
        0 0 25px rgba(102, 0, 153, 0.6),
        0 0 50px rgba(102, 0, 153, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--white);
}

.our-journey-section .timeline-item:nth-child(odd)::before {
    right: -12px;
}

.our-journey-section .timeline-item:hover::before {
    transform: translateY(-50%) scale(1.3);
    box-shadow: 
        0 0 35px rgba(102, 0, 153, 0.8),
        0 0 70px rgba(102, 0, 153, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Timeline Content Typography */
.our-journey-section .timeline-content h5 {
    color: var(--primary-purple);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.our-journey-section .timeline-content h6 {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-family: var(--font-header);
}

.our-journey-section .timeline-content p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* Timeline Animations */
@keyframes timelinePulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes timelineItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .our-journey-section .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .our-journey-section .timeline::after,
    .our-journey-section .timeline .timeline-end {
        left: 30px;
        transform: none;
    }
    
    .our-journey-section .timeline-item::before {
        left: 18px !important;
        right: auto !important;
    }
    
    .our-journey-section .timeline-content {
        margin-left: 60px;
        max-width: none;
    }
    
    .our-journey-section .timeline-item:nth-child(odd) .timeline-content,
    .our-journey-section .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
    }
}

/* Timeline Loading Animation */
.our-journey-section .timeline.loading {
    opacity: 0.7;
}

.our-journey-section .timeline.loading::before {
    animation: timelineLoading 2s ease-in-out infinite;
}

@keyframes timelineLoading {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Timeline Additional Effects */
.our-journey-section .timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 0, 153, 0.02) 0%, 
        rgba(176, 215, 171, 0.02) 50%, 
        rgba(233, 142, 57, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.our-journey-section .timeline-content:hover::after {
    opacity: 1;
}

/* Timeline Year Badge */
.our-journey-section .timeline-content h5 {
    position: relative;
    display: inline-block;
}

.our-journey-section .timeline-content h5::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(135deg, 
        rgba(102, 0, 153, 0.1) 0%, 
        rgba(176, 215, 171, 0.1) 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.our-journey-section .timeline-content:hover h5::before {
    opacity: 1;
}

/* Timeline Responsive Improvements */
@media (max-width: 576px) {
    .our-journey-section .timeline-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .our-journey-section .timeline-content h5 {
        font-size: 1.25rem;
    }
    
    .our-journey-section .timeline-content h6 {
        font-size: 1.1rem;
    }
}

/* Timeline Print Styles */
@media print {
    .our-journey-section .timeline::before {
        background: var(--dark-gray);
    }
    
    .our-journey-section .timeline-item::before {
        background: var(--dark-gray);
        box-shadow: none;
    }
    
    .our-journey-section .timeline-content {
        box-shadow: none;
        border: 1px solid var(--dark-gray);
    }
}

/* ========================================
   CUSTOMER DISTRIBUTION MAP SECTION
   ======================================== */

.customer-map-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.customer-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 0, 153, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 0, 153, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.customer-map-section .container {
    position: relative;
    z-index: 1;
}

/* Map Container */
.map-container {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid rgba(102, 0, 153, 0.1);
}

.interactive-map {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    position: relative;
    overflow: hidden;
}

/* Map Controls */
.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.map-controls .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 0, 153, 0.2);
    color: var(--primary-purple);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.map-controls .btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 0, 153, 0.3);
}

/* Map Stats Sidebar */
.map-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-stats .stats-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 0, 153, 0.1);
    transition: all 0.3s ease;
}

.map-stats .stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 0, 153, 0.15);
}

.map-stats .stats-card h4 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-stats .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(102, 0, 153, 0.1);
}

.map-stats .stat-item:last-child {
    border-bottom: none;
}

.map-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-purple);
}

.map-stats .stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Map Legend */
.map-legend {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 0, 153, 0.1);
}

.map-legend h5 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.legend-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.legend-icon.district-icon {
    background: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(102, 0, 153, 0.2);
}

.legend-icon.village-icon {
    background: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(158, 164, 167, 0.2);
}

/* Map Markers */
.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.map-marker.district {
    background: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(102, 0, 153, 0.3);
}

.map-marker.village {
    background: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(158, 164, 167, 0.3);
}

.map-marker:hover {
    transform: scale(1.5);
    box-shadow: 0 0 0 6px rgba(102, 0, 153, 0.4);
}

.map-marker.district:hover {
    box-shadow: 0 0 0 6px rgba(102, 0, 153, 0.4);
}

.map-marker.village:hover {
    box-shadow: 0 0 0 6px rgba(158, 164, 167, 0.4);
}

/* Map Tooltip */
.map-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    max-width: 200px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.map-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

/* Map Loading State */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
}

.map-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 0, 153, 0.2);
    border-top: 4px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Map Responsive Design */
@media (max-width: 991px) {
    .customer-map-section .row {
        flex-direction: column;
    }
    
    .map-stats {
        margin-top: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .map-stats .stats-card,
    .map-legend {
        flex: 1;
        min-width: 250px;
    }
    
    .interactive-map {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .interactive-map {
        height: 300px;
    }
    
    .map-controls {
        top: 10px;
        right: 10px;
    }
    
    .map-controls .btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .map-stats {
        flex-direction: column;
    }
    
    .map-stats .stats-card,
    .map-legend {
        min-width: auto;
    }
}

/* Map Print Styles */
@media print {
    .customer-map-section {
        background: white;
    }
    
    .map-container {
        box-shadow: none;
        border: 1px solid var(--dark-gray);
    }
    
    .interactive-map {
        background: white;
        border: 1px solid var(--dark-gray);
    }
    
    .map-controls {
        display: none;
    }
    
    .map-stats .stats-card,
    .map-legend {
        box-shadow: none;
        border: 1px solid var(--dark-gray);
    }
}

/* ========================================
   LEAFLET MAP STYLES
   ======================================== */

/* Custom Leaflet map styles */
.leaflet-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(102, 0, 153, 0.1);
}

.leaflet-popup-content {
    margin: 12px 16px;
    font-family: 'Poppins', sans-serif;
}

.leaflet-popup-tip {
    background: white;
}

.custom-popup {
    text-align: center;
}

.custom-popup h4 {
    color: var(--primary-purple);
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 1.1rem;
}

.custom-popup p {
    margin: 4px 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.custom-popup .customer-count {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.2rem;
}

/* Custom marker styles */
.custom-marker {
    background: var(--primary-purple);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(102, 0, 153, 0.3);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.custom-marker.village {
    background: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(158, 164, 167, 0.3);
}

.custom-marker:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease;
}

/* Map controls styling */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(102, 0, 153, 0.2) !important;
    color: var(--primary-purple) !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
    background: var(--primary-purple) !important;
    color: white !important;
    transform: scale(1.1);
}

/* Map attribution styling */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.8rem !important;
    color: var(--dark-gray) !important;
}

/* ========================================
   PARTNERS SECTION STYLES
   ======================================== */

.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 0, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46, 125, 50, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 0, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(158, 164, 167, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.partners-section .container {
    position: relative;
    z-index: 2;
}

.partners-section .section-header-modern {
    margin-bottom: 4rem;
    position: relative;
}

.partners-section .section-header-modern::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-green), var(--accent-orange));
    border-radius: 2px;
    opacity: 0.6;
}

.partners-section .section-header-modern::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-orange));
    border-radius: 1px;
    opacity: 0.4;
}

.partners-section .section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(102, 0, 153, 0.1);
}

.partners-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-green));
    border-radius: 2px;
}

.partners-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Partners Logo Carousel */
.partners-carousel {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.6) 20%, 
        rgba(255, 255, 255, 0.6) 80%, 
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 24px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partners-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(102, 0, 153, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(46, 125, 50, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.partners-track {
    display: flex;
    animation: scroll-partners 25s linear infinite;
    width: max-content;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    margin: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 0, 153, 0.05) 0%, 
        rgba(46, 125, 50, 0.05) 50%, 
        rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 0, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.partner-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(102, 0, 153, 0.1);
}

.partner-item:hover::before {
    opacity: 1;
}

.partner-item:hover::after {
    width: 120px;
    height: 120px;
}

.partner-logo {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    position: relative;
    border-radius: 8px;
}

.partner-item:hover .partner-logo {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.partner-name {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--dark-gray);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.partner-item:hover .partner-name {
    opacity: 1;
    bottom: -45px;
    color: var(--primary-purple);
}

.partner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--secondary-gray);
    font-size: 2.5rem;
    z-index: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item:hover .partner-placeholder {
    color: var(--primary-purple);
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(102, 0, 153, 0.3));
}

/* Duplicate partners for seamless scrolling */
.partners-track .partner-item:nth-child(n+5) {
    animation-delay: -15s;
}

/* Partners scroll animation */
@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Add floating animation for partner items */
@keyframes float-partners {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.partner-item {
    animation: float-partners 3s ease-in-out infinite;
}

.partner-item:nth-child(2n) {
    animation-delay: 0.5s;
}

.partner-item:nth-child(3n) {
    animation-delay: 1s;
}

.partner-item:nth-child(4n) {
    animation-delay: 1.5s;
}

.partner-item:nth-child(5n) {
    animation-delay: 2s;
}

/* Responsive design for partners */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partners-section .section-title {
        font-size: 2.2rem;
    }
    
    .partners-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .partners-carousel {
        border-radius: 16px;
        padding: 2rem 0;
    }
    
    .partner-item {
        min-width: 130px;
        height: 70px;
        margin: 0 1.5rem;
    }
    
    .partner-logo {
        max-width: 90px;
        max-height: 45px;
    }
    
    .partners-track {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-section .section-title {
        font-size: 1.8rem;
    }
    
    .partner-item {
        min-width: 100px;
        height: 50px;
        margin: 0 0.5rem;
    }
    
    .partner-logo {
        max-width: 60px;
        max-height: 30px;
    }
    
    .partners-track {
        animation-duration: 15s;
    }
}

/* Print styles for partners */
@media print {
    .partners-section {
        background: white !important;
        padding: 2rem 0 !important;
    }
    
    .partners-section::before {
        display: none !important;
    }
    
    .partner-item {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin: 0 1rem !important;
    }
    
    .partner-logo {
        filter: none !important;
    }
    
    .partners-track {
        animation: none !important;
        transform: none !important;
    }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE MENU SYSTEM
   ======================================== */

/* Dynamic Menu Container - Responsive and Flexible */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 1.5rem;
    flex-wrap: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

/* Dynamic Logo System - Responsive and Flexible */
.navbar-brand {
    flex-shrink: 0;
    max-width: 100px;
    min-width: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-right: 2rem;
}

.navbar-brand img {
    height: 35px;
    width: auto;
    max-width: 100px;
    min-width: 60px;
    transition: all 0.3s ease;
    object-fit: contain;
    box-sizing: border-box;
}

.navbar-brand .logo-white,
.navbar-brand .logo-dark {
    height: 35px !important;
    width: auto !important;
    max-width: 100px !important;
    min-width: 60px !important;
    object-fit: contain;
    box-sizing: border-box;
}

/* Dynamic Navigation Menu - Responsive and Flexible */
.navbar-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    gap: 0.3rem;
    flex-wrap: nowrap;
    overflow: visible !important;
    min-width: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 9999;
}

.navbar-nav .nav-item {
    margin: 0 0.1rem;
    flex-shrink: 0;
    max-width: 100px;
    overflow: visible;
    box-sizing: border-box;
}

.navbar-nav .nav-link {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.85rem;
}

/* Dynamic Button System - Responsive and Flexible */
.navbar .btn-primary {
    flex-shrink: 0;
    min-width: 120px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

/* ========================================
   RESPONSIVE BREAKPOINTS FOR DYNAMIC MENU
   ======================================== */

/* Extra Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .navbar .container {
        padding: 0 5rem;
        gap: 3rem;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        margin: 0 6rem;
        gap: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1.8rem;
        font-size: 1.1rem;
        max-width: 160px;
    }
    
    .navbar-brand {
        max-width: 160px;
        margin-right: 6rem;
    }
    
    .navbar-brand img {
        height: 50px;
        max-width: 160px;
    }
    
    .navbar .btn-primary {
        min-width: 160px;
        max-width: 180px;
        margin-left: 4rem;
        font-size: 1rem;
    }
}

/* Large Desktop (1400px - 1599px) */
@media (max-width: 1599px) and (min-width: 1400px) {
    .navbar .container {
        padding: 0 3rem;
        gap: 1.5rem;
        max-width: 1320px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        margin: 0 3rem;
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        max-width: 110px;
    }
    
    .navbar-brand {
        max-width: 120px;
        margin-right: 3rem;
    }
    
    .navbar-brand img {
        height: 40px;
        max-width: 120px;
    }
    
    .navbar .btn-primary {
        min-width: 120px;
        max-width: 140px;
        margin-left: 2rem;
        font-size: 0.9rem;
    }
}

/* Medium Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .navbar .container {
        padding: 0 2rem;
        gap: 1rem;
        max-width: 1320px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        margin: 0 2rem;
        gap: 0.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        max-width: 100px;
    }
    
    .navbar-brand {
        max-width: 110px;
        margin-right: 2rem;
    }
    
    .navbar-brand img {
        height: 35px;
        max-width: 110px;
    }
    
    .navbar .btn-primary {
        min-width: 110px;
        max-width: 130px;
        margin-left: 1.5rem;
        font-size: 0.85rem;
    }
}

/* Small Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .navbar .container {
        padding: 0 2rem;
        gap: 1rem;
        max-width: 1320px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        margin: 0 2rem;
        gap: 0.4rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        max-width: 100px;
    }
    
    .navbar-brand {
        max-width: 110px;
        margin-right: 2rem;
    }
    
    .navbar-brand img {
        height: 35px;
        max-width: 110px;
    }
    
    .navbar .btn-primary {
        min-width: 110px;
        max-width: 130px;
        margin-left: 1.5rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   SCROLLED STATE RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Scrolled state adjustments for different screen sizes */
@media (min-width: 1400px) {
    .navbar.scrolled .navbar-brand {
        margin-right: 3rem !important;
        max-width: 140px !important;
    }
    
    .navbar.scrolled .navbar-nav {
        margin: 0 3rem !important;
        gap: 0.6rem !important;
    }
    
    .navbar.scrolled .btn-primary {
        margin-left: 2rem !important;
        min-width: 140px !important;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .navbar.scrolled .navbar-brand {
        margin-right: 2rem !important;
        max-width: 120px !important;
    }
    
    .navbar.scrolled .navbar-nav {
        margin: 0 2rem !important;
        gap: 0.4rem !important;
    }
    
    .navbar.scrolled .btn-primary {
        margin-left: 1.5rem !important;
        min-width: 120px !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .navbar.scrolled .navbar-brand {
        margin-right: 1.5rem !important;
        max-width: 110px !important;
    }
    
    .navbar.scrolled .navbar-nav {
        margin: 0 1.5rem !important;
        gap: 0.3rem !important;
    }
    
    .navbar.scrolled .btn-primary {
        margin-left: 1rem !important;
        min-width: 110px !important;
    }
}

/* ========================================
   MENU ITEM SPECIFIC ADJUSTMENTS
   ======================================== */

/* Ensure dropdown menus don't cause overflow */
.dropdown-menu {
    max-width: 250px;
    overflow: visible;
    box-sizing: border-box;
    z-index: 9999 !important;
}

.dropdown-item {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Ensure dropdown functionality works */
.nav-item.dropdown {
    position: relative !important;
    z-index: 9999 !important;
}

/* Ensure navbar has proper z-index for dropdowns without affecting positioning */
.navbar {
    z-index: 9998 !important;
}

/* Ensure dropdowns are always on top */
.dropdown-menu {
    z-index: 99999 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
}

/* Remove hover styles that conflict with Bootstrap click functionality */
/* .nav-item.dropdown:hover .dropdown-menu {
    display: block;
} */

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* ========================================
   FALLBACK FOR EXTREME CASES
   ======================================== */

/* Emergency fallback for very small screens */
@media (max-width: 991px) {
    .navbar .container {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .navbar-nav {
        margin: 0 1rem;
        gap: 0.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
        max-width: 80px;
    }
    
    .navbar-brand {
        max-width: 100px;
        margin-right: 1rem;
    }
    
    .navbar-brand img {
        height: 30px;
        max-width: 100px;
    }
    
    .navbar .btn-primary {
        min-width: 100px;
        max-width: 120px;
        margin-left: 0.5rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   ANIMATION AND TRANSITION OPTIMIZATIONS
   ======================================== */

/* Smooth transitions for all menu elements */
.navbar-brand,
.navbar-nav .nav-link,
.navbar .btn-primary,
.navbar .container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent layout shifts during transitions */
.navbar-brand img,
.navbar-nav .nav-item,
.navbar .btn-primary {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

/* Ensure focus states are visible */
.navbar-nav .nav-link:focus,
.navbar .btn-primary:focus,
.navbar-brand:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .navbar-nav .nav-link {
        border: 1px solid transparent;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        border-color: currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .navbar-brand,
    .navbar-nav .nav-link,
    .navbar .btn-primary,
    .navbar .container {
        transition: none;
    }
}

/* ========================================
   OFFICE MAP AND DIRECTIONS PANEL STYLES
   ======================================== */

/* Office Map Section */
.office-map-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.office-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.map-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.interactive-map {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

/* Custom Map Markers - Office specific */
.leaflet-marker-icon.custom-marker.office,
div.custom-marker.office {
    background: #8B5CF6 !important;
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px #8B5CF640 !important;
    border-radius: 50% 50% 50% 0 !important;
    width: 32px !important;
    height: 32px !important;
    transform: rotate(-45deg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: bold !important;
    position: relative !important;
    z-index: 1000 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure all Leaflet markers are visible */
.leaflet-marker-icon {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
}

/* Map container styling */
#office-map-container {
    height: 500px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

.custom-marker.office i {
    font-size: 12px;
    color: white;
}

/* Custom Popup Styles */
.custom-popup {
    text-align: center;
    min-width: 200px;
}

.custom-popup h4 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.custom-popup p {
    margin-bottom: 5px;
    font-size: 14px;
    color: #6c757d;
}

.custom-popup strong {
    color: #495057;
}

.custom-popup .btn {
    margin-top: 10px;
    font-size: 12px;
    padding: 5px 10px;
}

/* Professional Office Popup Styles - Enhanced Design */
.office-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0;
    max-width: 360px;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* Debug: Ensure popup content is visible */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.office-popup:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-purple);
}

/* Office popup container */
.office-popup-container {
    background: transparent !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Force popup content width */
.leaflet-popup-content {
    width: auto !important;
    min-width: 320px !important;
    max-width: 360px !important;
}

.office-popup {
    width: 100% !important;
    min-width: 320px !important;
    max-width: 360px !important;
}

.office-popup-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #7c3aed 100%);
    padding: 24px 24px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.office-popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
}

.office-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    backdrop-filter: blur(10px);
}

.office-icon i {
    font-size: 22px;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.office-name {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
}

.office-popup-content {
    padding: 24px 24px 28px;
    background: white;
}

.office-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    border: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.office-detail::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-purple), #7c3aed);
    border-radius: 0 2px 2px 0;
}

.office-detail:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: var(--primary-purple);
    transform: translateX(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.office-detail:last-child {
    margin-bottom: 0;
}

.detail-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-green) 0%, #10b981 100%);
    border: 1px solid var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 15px;
    color: white;
    font-weight: 600;
}

.detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Leaflet Popup Customization - Enhanced Professional Design */
.leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    padding: 0;
    /* Debug: Ensure popup is visible */
    z-index: 1000 !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent;
}

.leaflet-popup-content {
    margin: 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

.leaflet-popup-tip {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-top: none;
    border-left: none;
}

.leaflet-popup-close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #64748b;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    z-index: 10;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.leaflet-popup-close-button:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #1e293b;
    transform: scale(1.1);
}

/* Directions Panel - Tulima Solar Theme */
.directions-panel {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-medium), 0 5px 15px var(--shadow-light);
    padding: 32px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--light-purple);
}

.panel-header {
    text-align: center;
    margin-bottom: 28px;
}

.panel-header h4 {
    color: var(--primary-purple);
    margin-bottom: 12px;
    font-weight: 600;
    font-family: var(--font-header);
    font-size: 24px;
}

.panel-header p {
    color: #6c757d;
    margin: 0;
}

.directions-form {
    margin-bottom: 25px;
}

.directions-form .form-group {
    margin-bottom: 20px;
}

.directions-form label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.directions-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.directions-form .form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.directions-form .btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.directions-form .btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.directions-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.directions-form .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.directions-form .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Directions Results */
.directions-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    border: 1px solid #dee2e6;
    position: relative;
    z-index: 15;
    min-height: 100px;
}

.results-header {
    margin-bottom: 20px;
    text-align: center;
}

.results-header h5 {
    color: #28a745;
    margin: 0;
    font-weight: 600;
}

.journey-summary {
    margin-bottom: 25px;
}

.journey-info {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.route-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 200px;
    text-align: center;
}

.route-point.origin {
    border-left: 4px solid #28a745;
}

.route-point.destination {
    border-left: 4px solid #dc3545;
}

.route-point i {
    color: #6c757d;
    font-size: 16px;
}

.route-point span {
    font-weight: 500;
    color: #495057;
}

.route-arrow {
    color: #28a745;
    font-size: 18px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.distance-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.distance-info i {
    font-size: 18px;
}

/* Transport Options */
.transport-options {
    margin-top: 20px;
}

.transport-options h6 {
    color: #495057;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.transport-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.transport-option {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.transport-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transport-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.transport-option:nth-child(1) .transport-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.transport-option:nth-child(3) .transport-icon {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.transport-option:nth-child(4) .transport-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #5a2d91 100%);
}

.transport-details h6 {
    margin: 0 0 5px 0;
    color: #495057;
    font-weight: 600;
}

.transport-details p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .interactive-map {
        height: 400px;
    }
    
    .directions-panel {
        padding: 20px;
        margin-top: 20px;
    }
    
    .route-point {
        min-width: 150px;
        padding: 8px 12px;
    }
    
    .transport-details {
        grid-template-columns: 1fr;
    }
    
    .transport-option {
        padding: 12px;
    }
    
    .transport-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .interactive-map {
        height: 350px;
    }
    
    .directions-panel {
        padding: 15px;
    }
    
    .panel-header h4 {
        font-size: 18px;
    }
    
    .route-point {
        min-width: 120px;
        font-size: 14px;
    }
    
    .distance-info {
        padding: 12px;
        font-size: 14px;
    }
}

/* Loading Animation */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Professional Directions Panel Styles */
.directions-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.directions-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="directions-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="%23667eea" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23directions-pattern)"/></svg>');
    pointer-events: none;
}

.directions-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.directions-form {
    padding: 3rem;
    position: relative;
}

/* Directions Header */
.directions-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.directions-header::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.directions-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
}

.directions-icon i {
    font-size: 2rem;
    color: white;
}

.directions-title {
    color: var(--dark-gray);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-header);
}

.directions-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

/* Directions Inputs */
.directions-inputs {
    margin-bottom: 2.5rem;
}

.input-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group-modern .form-label {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.input-group-modern .form-label i {
    color: var(--primary-purple);
    margin-right: 0.5rem;
}

.modern-input,
.modern-select {
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 1rem 3rem 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    position: relative;
}

.modern-input:focus,
.modern-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(102, 0, 153, 0.15);
    background: white;
    transform: translateY(-1px);
}

.input-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--primary-purple);
    font-size: 1rem;
    pointer-events: none;
    z-index: 10;
}

/* Directions Actions */
.directions-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modern-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.4);
    background: linear-gradient(135deg, var(--dark-purple), var(--primary-purple));
}

.modern-btn .btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modern-btn.loading .btn-loading {
    display: block;
}

.modern-btn.loading span {
    opacity: 0;
}

.modern-btn-outline {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.modern-btn-outline:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
}

/* Responsive Design for Directions */
@media (max-width: 768px) {
    .directions-form {
        padding: 2rem;
    }
    
    .directions-title {
        font-size: 1.5rem;
    }
    
    .directions-subtitle {
        font-size: 1rem;
    }
    
    .directions-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .directions-icon i {
        font-size: 1.5rem;
    }
    
    .directions-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modern-btn,
    .modern-btn-outline {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .directions-form {
        padding: 1.5rem;
    }
    
    .directions-title {
        font-size: 1.25rem;
    }
    
    .directions-subtitle {
        font-size: 0.9rem;
    }
    
    .modern-input,
    .modern-select {
        padding: 0.875rem 2.5rem 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        right: 0.75rem;
        bottom: 0.875rem;
        font-size: 0.9rem;
    }
    
    .input-group-modern .form-label {
        font-size: 0.9rem;
    }
}

.directions-results {
    padding: 2rem;
    background: #f8f9fa;
    position: relative;
    z-index: 15;
    min-height: 100px;
}

.results-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.results-header h5 {
    color: var(--dark-gray);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.route-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.route-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.route-summary .summary-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.summary-item .label {
    font-weight: 600;
    color: var(--dark-gray);
}

.summary-item .value {
    color: var(--primary-green);
    font-weight: 600;
}

.transport-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.transport-option {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.transport-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.transport-option .transport-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: white;
}

.transport-option .transport-details h6 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1rem;
}

.directions-disclaimer {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    grid-column: 1 / -1;
}

.directions-disclaimer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #856404;
    font-weight: 400;
}

.directions-disclaimer i {
    color: #ffc107;
    font-size: 16px;
}

.directions-disclaimer strong {
    color: #856404;
    font-weight: 600;
}

.transport-option .transport-details p {
    margin: 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments for directions panel */
@media (max-width: 768px) {
    .directions-form {
        padding: 1.5rem;
    }
    
    .directions-results {
        padding: 1.5rem;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
}

/* Anti-Bot Section Styles */
.anti-bot-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.anti-bot-section h3 {
    color: var(--primary-purple);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.anti-bot-section .section-subtitle {
    color: var(--medium-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.challenge-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge-question {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.challenge-question label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
    display: block;
}

.challenge-question .input-group {
    display: flex;
    gap: 10px;
}

.challenge-question .form-control {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.challenge-question .form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(102, 0, 153, 0.25);
}

.challenge-refresh {
    border: 2px solid #e9ecef;
    background: white;
    color: var(--medium-gray);
    border-radius: 6px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-refresh:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    background: var(--light-purple);
}

.security-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid #e9ecef;
}

.security-status {
    display: flex;
    align-items: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.security-status i {
    color: var(--primary-purple);
    margin-right: 8px;
}

.form-timer {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.timer-text {
    color: var(--primary-purple);
}

/* Honeypot fields - completely hidden */
.honeypot-fields {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Responsive adjustments for anti-bot section */
@media (max-width: 768px) {
    .anti-bot-section {
        padding: 20px;
    }
    
    .challenge-container {
        gap: 15px;
    }
    
    .challenge-question {
        padding: 15px;
    }
    
    .security-indicator {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .challenge-question .input-group {
        flex-direction: column;
    }
    
    .challenge-refresh {
        width: 100%;
        margin-top: 10px;
    }
}

/* Professional Google Maps Interface with Tulima Branding */
.google-maps-interface {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-medium), 0 5px 15px var(--shadow-light);
    overflow: hidden;
    border: 2px solid var(--light-purple);
    position: relative;
}

.google-maps-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

/* Directions Input Section */
.directions-input-section {
    background: linear-gradient(135deg, var(--light-purple) 0%, rgba(240, 230, 247, 0.5) 100%);
    padding: 32px;
    border-bottom: 1px solid rgba(102, 0, 153, 0.1);
    position: relative;
}

.directions-input-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
}

.directions-input-section h5 {
    color: var(--primary-purple);
    margin-bottom: 24px;
    font-weight: 700;
    font-family: var(--font-header);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directions-input-section h5 i {
    color: var(--accent-orange);
    font-size: 1.5rem;
    background: var(--white);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(233, 142, 57, 0.2);
}

.route-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.directions-input-section .input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid rgba(102, 0, 153, 0.1);
    border-radius: 15px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.input-field:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.15);
}

.input-field:focus-within {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(102, 0, 153, 0.1);
    transform: translateY(-2px);
}

.input-field i {
    color: var(--accent-orange);
    margin-right: 12px;
    font-size: 18px;
    background: linear-gradient(135deg, var(--accent-orange), #F5A623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.input-field input {
    border: none;
    outline: none;
    flex: 1;
    background: transparent;
    font-size: 15px;
    color: var(--dark-gray);
    font-family: var(--font-body);
    font-weight: 500;
}

.input-field input::placeholder {
    color: var(--medium-gray);
}

/* Professional Transport Tabs with Tulima Branding */
.transport-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.transport-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--white);
    border: 2px solid var(--primary-purple);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-header);
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(102, 0, 153, 0.1);
}

.transport-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.transport-tab:hover::before {
    left: 0;
}

.transport-tab:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.3);
    border-color: var(--dark-purple);
}

.transport-tab.active {
    background: var(--gradient-primary);
    border-color: var(--dark-purple);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.4);
}

.transport-tab.active::before {
    left: 0;
}

.transport-tab i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.transport-tab:hover i,
.transport-tab.active i {
    transform: scale(1.1);
}

/* Professional Map Section */
.map-section {
    padding: 32px;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-gray) 100%);
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/background-pattern.svg') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow-medium), 0 5px 15px var(--shadow-light);
    border: 3px solid var(--white);
}

.map-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 18px;
    z-index: -1;
}

.map-container iframe {
    transition: all 0.3s ease;
    filter: brightness(1.02) contrast(1.05);
}

.map-container:hover iframe {
    filter: brightness(1.05) contrast(1.1);
}

.map-placeholder {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 2px dashed #dee2e6;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    width: 100%;
}

.route-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.route-start, .route-end {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    flex-shrink: 0;
}

.route-start i {
    color: var(--primary-green);
}

.route-end i {
    color: #dc3545;
}

.route-path {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.route-line-visual {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, #20c997 50%, #dc3545 100%);
    border-radius: 2px;
    position: relative;
}

.route-line-visual::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -5px;
    width: 0;
    height: 0;
    border-left: 8px solid #dc3545;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.route-distance {
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Route Summary Section */
.route-summary-section {
    padding: 20px;
}

.summary-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.summary-header h5 {
    color: var(--dark-gray);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.summary-card.active {
    border-color: var(--primary-green);
    background: #f8fff9;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 20px;
}

.summary-content h6 {
    color: var(--dark-gray);
    font-weight: 700;
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.summary-details .time {
    color: var(--primary-green);
    font-weight: 600;
}

.summary-details .distance {
    color: #495057;
    font-weight: 500;
}

.summary-details .cost {
    color: #dc3545;
    font-weight: 600;
}

/* Directions Disclaimer */
.directions-disclaimer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.directions-disclaimer p {
    margin: 0;
    font-size: 13px;
    color: #856404;
    line-height: 1.5;
}

.directions-disclaimer i {
    color: #ffc107;
}

/* Responsive adjustments for Google Maps interface */
@media (max-width: 768px) {
    .directions-input-section {
        padding: 20px;
    }
    
    .transport-tabs {
        gap: 8px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .transport-tab {
        padding: 10px 16px;
        font-size: 12px;
        letter-spacing: 0.3px;
        min-width: auto;
        flex: 1;

    }
    
    .transport-tab i {
        font-size: 16px;
    }
    
    .map-section {
        padding: 20px;
    }
    
    .directions-input-section h5 {
        font-size: 1.1rem;
    }
    
    .route-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .input-field {
        padding: 14px 16px;
    }
    
    .google-maps-interface {
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .map-placeholder {
        padding: 20px;
        min-height: 150px;
    }
    
    .route-line {
        flex-direction: column;
        gap: 15px;
    }
    
    .route-start, .route-end {
        width: 100%;

    }
    
    .route-path {
        order: -1;
    }
    
    .route-line-visual {
        width: 3px;
        height: 40px;
        background: linear-gradient(180deg, var(--primary-green) 0%, #20c997 50%, #dc3545 100%);
    }
    
    .route-line-visual::before {
        top: auto;
        right: auto;
        bottom: -5px;
        left: -3px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 8px solid #dc3545;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .summary-card {
        padding: 15px;
    }
    
    .route-summary-section {
        padding: 15px;
    }
}

/* Professional Modal Styles for Product Details */

.modal {
    font-family: var(--font-body);
}

.modal-dialog.modal-lg {
    max-width: 650px !important;
    margin: 8rem auto 1.75rem auto !important;
}

.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="modal-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dee2e6" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23modal-pattern)"/></svg>');
    opacity: 0.5;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    position: relative;
    z-index: 1;
}

.modal-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: var(--primary-color);
    margin-right: 0.75rem;
    border-radius: 2px;
    vertical-align: middle;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--medium-gray);
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-close:hover {
    opacity: 1;
    color: var(--dark-color);
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
    background: var(--white);
    position: relative;
}

.modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.4) 100%);
    pointer-events: none;
}

.modal-body .row {
    position: relative;
    z-index: 1;
}

.modal-body .col-md-6:first-child {
    padding-right: 1.5rem;
}

.modal-body .col-md-6:last-child {
    padding-left: 1.5rem;
}

.modal-body .image-container {
    width: 100%;
    height: 280px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.modal-body .bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-body .bg-light:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
}

.modal-body h4 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-body .text-muted {
    color: var(--medium-gray) !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border-left: 3px solid var(--primary-color);
}

.modal-body .text-success {
    color: var(--success-color) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: 10px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.modal-body p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-body h6 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.modal-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="modal-footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dee2e6" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23modal-footer-pattern)"/></svg>');
    opacity: 0.5;
}

.modal-footer .btn {
    position: relative;
    z-index: 1;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.modal-footer .btn-secondary {
    background: var(--medium-gray);
    border: 1px solid var(--medium-gray);
    color: var(--white);
}

.modal-footer .btn-secondary:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #28a745 100%);
    border: 1px solid var(--success-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.modal-footer .btn-success:hover {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Responsive Design for Product Modal */
        @media (min-width: 1200px) {
            .modal-dialog.modal-lg {
                max-width: 750px !important;
                margin: 8rem auto 2rem auto !important;
            }
        }

@media (max-width: 768px) {
    .modal-dialog.modal-lg {
        max-width: 95% !important;
        margin: 3rem auto !important;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body .col-md-6:first-child,
    .modal-body .col-md-6:last-child {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    .modal-body .image-container {
        height: 220px;
    }
    
    .modal-body h4 {
        font-size: 1.5rem;
    }
    
    .modal-body .text-success {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .modal-dialog.modal-lg {
        max-width: 98% !important;
        margin: 2.5rem auto !important;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-body img {
        height: 200px;
    }
    
    .modal-body h4 {
        font-size: 1.25rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Product Modal Professional Styling */
.modal {
    font-family: var(--font-body);
    backdrop-filter: blur(10px);
}

.modal-dialog.modal-lg {
    max-width: 650px !important;
    margin: 8rem auto 1.75rem auto !important;
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: var(--white);
    position: relative;
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    opacity: 0.95;
}

.modal-title {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 1;
}

.btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-close::before {
    content: '×';
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
    background: var(--white);
}

.modal-body .row {
    align-items: center;
}

.modal-body .image-container {
    width: 100%;
    height: 240px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.modal-body img:hover {
    transform: scale(1.02);
}

.modal-body .bg-light {
    background: var(--light-gray) !important;
    border-radius: 15px;
    border: 2px dashed var(--medium-gray);
}

.modal-body h4 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.modal-body .text-muted {
    color: var(--medium-gray) !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: var(--light-purple);
    border-radius: 25px;
    display: inline-block;
}

.modal-body .text-success {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-green) !important;
    margin: 0.75rem 0;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--white) 100%);
    border-radius: 15px;
    border-left: 5px solid var(--accent-green);
    box-shadow: 0 5px 15px rgba(176, 215, 171, 0.3);
}

.modal-body p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.modal-body h6 {
    font-family: var(--font-header);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-green);
}

.modal-footer {
    background: var(--light-gray);
    border-top: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-footer .btn-secondary {
    background: var(--medium-gray);
    border: none;
    color: var(--white);
}

.modal-footer .btn-secondary:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-footer .btn-success {
    background: var(--gradient-secondary);
    border: none;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(102, 0, 153, 0.3);
}

.modal-footer .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.4);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-dialog.modal-lg {
        max-width: 95% !important;
        margin: 3rem auto 1rem auto !important;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
        position: relative;
        z-index: 1056;
    }
    
    .modal-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body .row {
        flex-direction: column;
    }
    
    .modal-body .col-md-6:first-child {
        margin-bottom: 1.5rem;
    }
    
    .modal-body .image-container {
        height: 220px;
    }
    
    .modal-body h4 {
        font-size: 1.5rem;
    }
    
    .modal-body .text-success {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .modal-dialog.modal-lg {
        max-width: 98% !important;
        margin: 2.5rem auto 1rem auto !important;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
        position: relative;
        z-index: 1056;
    }
    
    .modal-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-body .image-container {
        height: 200px;
    }
    
    .modal-body h4 {
        font-size: 1.25rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Animation for modal appearance */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

/* Backdrop styling */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

/* Focus styles for accessibility */
.modal-content:focus-within {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

.btn-close:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(102, 0, 153, 0.2);
}

/* Product Features List Styling */
.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-features-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #660099;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Additional Mobile Modal Improvements */
@media (max-width: 768px) {
    .modal {
        padding-top: 40px !important;
    }
    
    .modal-content {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .modal-header {
        position: sticky;
        top: 0;
        background: white;
        border-bottom: 1px solid #dee2e6;
    }
}

@media (max-width: 576px) {
    .modal {
        padding-top: 30px !important;
    }
    
    .modal-content {
        max-height: calc(100vh - 100px);
    }
    
    .product-features-list li {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
    
    .product-features-list li::before {
        font-size: 1.1rem;
    }
}

/* Product Calculator Styles - Enhanced with Brand Guidelines */
.calculator-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-solar-pattern);
    opacity: 0.05;
    pointer-events: none;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(102, 0, 153, 0.15);
    border: 1px solid rgba(102, 0, 153, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.calculator-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form .form-group {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.calculator-form .form-label {
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.calculator-form .form-label i {
    color: var(--accent-orange);
    margin-right: 0.75rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-form .form-control,
.calculator-form .form-select {
    border: 2px solid rgba(102, 0, 153, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    font-weight: 500;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.calculator-form .form-control:hover,
.calculator-form .form-select:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.1);
}

.calculator-form .form-control:focus,
.calculator-form .form-select:focus {
    border-color: var(--primary-purple);
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 0, 153, 0.1), 0 8px 25px rgba(102, 0, 153, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.calculator-form .form-control::placeholder,
.calculator-form .form-select::placeholder {
    color: var(--medium-gray);
    font-style: italic;
}

/* Calculator Info - Enhanced */
.calculator-info {
    border-left: 4px solid var(--primary-purple);
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.05) 0%, rgba(176, 215, 171, 0.1) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.calculator-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-solar-pattern);
    opacity: 0.03;
    pointer-events: none;
}

.calculator-info h6 {
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calculator-info h6 i {
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.calculator-info ul {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.calculator-info li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-gray);
    font-weight: 500;
}

.calculator-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.1rem;
    background: var(--accent-green);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.calculator-info li strong {
    color: var(--primary-purple);
    font-weight: 700;
}

.calculator-results {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(102, 0, 153, 0.15);
    border: 1px solid rgba(102, 0, 153, 0.1);
    position: relative;
    overflow: hidden;
}

.calculator-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.results-title {
    color: var(--primary-purple);
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    text-align: center;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.results-subtitle {
    color: var(--medium-gray);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.calculator-result-card {
    position: relative;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 0, 153, 0.1);
}

.calculator-result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 0, 153, 0.2);
}

.calculator-result-card.excellent-match {
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(176, 215, 171, 0.3);
    background: linear-gradient(135deg, rgba(176, 215, 171, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.calculator-result-card.excellent-match:hover {
    box-shadow: 0 20px 50px rgba(176, 215, 171, 0.4);
}

.calculator-result-card.good-match {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(102, 0, 153, 0.2);
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.calculator-result-card.good-match:hover {
    box-shadow: 0 20px 50px rgba(102, 0, 153, 0.3);
}

.calculator-result-card.fair-match {
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(233, 142, 57, 0.2);
    background: linear-gradient(135deg, rgba(233, 142, 57, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.calculator-result-card.fair-match:hover {
    box-shadow: 0 20px 50px rgba(233, 142, 57, 0.3);
}

.calculator-result-card.poor-match {
    border-color: var(--secondary-gray);
    box-shadow: 0 10px 30px rgba(158, 164, 167, 0.2);
    background: linear-gradient(135deg, rgba(158, 164, 167, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    opacity: 0.8;
}

.calculator-result-card.poor-match:hover {
    box-shadow: 0 20px 50px rgba(158, 164, 167, 0.3);
    opacity: 1;
}

.suitability-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    text-align: center;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(102, 0, 153, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.suitability-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 0, 153, 0.25);
}

.suitability-badge.excellent {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, rgba(176, 215, 171, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.suitability-badge.excellent .score {
    color: var(--accent-green);
    font-weight: 800;
    font-size: 1.4rem;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.suitability-badge.excellent .text {
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suitability-badge.good {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.suitability-badge.good .score {
    color: var(--primary-purple);
    font-weight: 800;
    font-size: 1.4rem;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.suitability-badge.good .text {
    color: var(--primary-purple);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suitability-badge.fair {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(233, 142, 57, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.suitability-badge.fair .score {
    color: var(--accent-orange);
    font-weight: 800;
    font-size: 1.4rem;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.suitability-badge.fair .text {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suitability-badge.poor {
    border-color: var(--secondary-gray);
    background: linear-gradient(135deg, rgba(158, 164, 167, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
    opacity: 0.8;
}

.suitability-badge.poor .score {
    color: var(--secondary-gray);
    font-weight: 800;
    font-size: 1.4rem;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.suitability-badge.poor .text {
    color: var(--secondary-gray);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 0.9rem;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Enhanced Calculator Submit Button */
.calculator-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(102, 0, 153, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.calculator-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.calculator-form .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 0, 153, 0.4);
    background: var(--gradient-secondary);
}

.calculator-form .btn-primary:hover::before {
    left: 100%;
}

.calculator-form .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.calculator-form .btn-primary i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

/* Calculator Loading Animation */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.calculator-card.loading {
    animation: pulse 2s infinite;
}

.calculator-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    pointer-events: none;
}

/* Calculator Section Title Enhancement */
.calculator-section .section-title {
    text-align: center !important;
    margin-bottom: 3rem;
    position: relative;
    display: block !important;
    width: 100% !important;
}

.calculator-section .section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.calculator-section .section-title p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.calculator-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Responsive Calculator */
@media (max-width: 768px) {
    .calculator-card {
        padding: 1.5rem;
    }
    
    .calculator-results {
        padding: 1.5rem;
    }
    
    .suitability-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.75rem;
    }
    
    .suitability-badge .score {
        font-size: 1rem;
    }
    
    .suitability-badge .text {
        font-size: 0.7rem;
    }
}

/* Enhanced Product Cards for Catalog */
.enhanced-product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.enhanced-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.enhanced-product-card .product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enhanced-product-card .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.enhanced-product-card:hover .product-image img {
    transform: scale(1.05);
}

.enhanced-product-card .product-content {
    padding: 1.5rem;
    background: white;
}

.enhanced-product-card .product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.enhanced-product-card .product-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.enhanced-product-card .product-price {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.enhanced-product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.enhanced-product-card .sale-price {
    color: #dc3545;
}

.enhanced-product-card .original-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 1rem;
    font-weight: 500;
}

.enhanced-product-card .specifications-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.enhanced-product-card .specifications-summary h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.enhanced-product-card .spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.enhanced-product-card .spec-list li {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enhanced-product-card .spec-list li:last-child {
    border-bottom: none;
}

.enhanced-product-card .spec-list strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Enhanced Product Cards Animation */
.enhanced-product-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for enhanced product cards */
.enhanced-product-card:nth-child(1) { animation-delay: 0.1s; }
.enhanced-product-card:nth-child(2) { animation-delay: 0.2s; }
.enhanced-product-card:nth-child(3) { animation-delay: 0.3s; }
.enhanced-product-card:nth-child(4) { animation-delay: 0.4s; }
.enhanced-product-card:nth-child(5) { animation-delay: 0.5s; }
.enhanced-product-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive adjustments for enhanced cards */
@media (max-width: 768px) {
    .enhanced-product-card .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .enhanced-product-card .product-header h4 {
        font-size: 1rem;
    }
    
    .enhanced-product-card .product-content {
        padding: 1rem;
    }
    
    .enhanced-product-card .specifications-summary {
        padding: 0.75rem;
    }
    
    .enhanced-product-card .spec-list {
        font-size: 0.8rem;
    }
}

/* Blog Hero Left Alignment Overrides */
/* These overrides ensure blog-hero content is always left-aligned, 
   overriding any global centering styles in responsive breakpoints */

/* All screen sizes */
.blog-hero .hero-content {
    text-align: left !important;
}

/* Blog Search Filter Integration */
.search-filter-group {
    flex: 1;
    min-width: 300px;
}

.search-filter-group .search-box {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-filter-group .search-box:hover,
.search-filter-group .search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.search-filter-group .search-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

.search-filter-group .search-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.search-filter-group .search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-filter-group .search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-filter-group .search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.search-filter-group .search-btn i {
    font-size: 0.9rem;
}

/* Responsive adjustments for search filter */
@media (max-width: 768px) {
    .search-filter-group {
        min-width: 100%;
        order: -1;
    }
    
    .search-filter-group .search-box {
        padding: 0.625rem 0.875rem;
    }
    
    .search-filter-group .search-input {
        font-size: 0.9rem;
    }
}

/* ========================================
   BLOG PAGE STYLING IMPROVEMENTS
======================================== */

/* Featured Posts Section */
.featured-posts-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.featured-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.featured-posts-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transform: translateY(0);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Post Cards */
.featured-post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.featured-post-card .post-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.featured-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-post-card:hover .post-image img {
    transform: scale(1.05);
}

.featured-post-card .post-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.featured-post-card .post-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-card .post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-post-card .post-title {
    margin-bottom: 1rem;
    flex: 1;
}

.featured-post-card .post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-post-card .post-title a:hover {
    color: var(--primary-color);
}

.featured-post-card .post-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.featured-post-card .post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-post-card .post-author {
    font-weight: 600;
    color: var(--text-dark);
}

.featured-post-card .post-reading-time {
    background: var(--light-bg);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Filters Section */
.filters-section {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters-container {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.filter-select:hover {
    border-color: var(--primary-color);
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 4rem 0;
    background: var(--white);
    min-height: 60vh;
}

.posts-header {
    margin-bottom: 3rem;
    text-align: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.posts-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.posts-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.posts-count {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.posts-count i {
    color: var(--primary-color);
}

/* Blog Post Cards */
.blog-post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.blog-post-card .post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-post-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.03);
}

.blog-post-card .post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-post-card .post-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-post-card .post-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-post-card .post-title {
    margin-bottom: 1rem;
    flex: 1;
}

.blog-post-card .post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card .post-title a:hover {
    color: var(--primary-color);
}

.blog-post-card .post-excerpt {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card .post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-post-card .post-author {
    font-weight: 600;
    color: var(--text-dark);
}

.blog-post-card .post-reading-time,
.blog-post-card .post-views {
    background: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.blog-post-card .post-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-post-card .tag {
    background: var(--light-bg);
    color: var(--text-dark);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-post-card .tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* No Posts State */
.no-posts {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--light-bg);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
}

.no-posts i {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.no-posts h3 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .featured-post-card .post-image,
    .blog-post-card .post-image {
        height: 180px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .posts-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-posts-section,
    .blog-posts-section {
        padding: 3rem 0;
    }
    
    .filters-container {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .featured-post-card .post-content,
    .blog-post-card .post-content {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .posts-title {
        font-size: 1.8rem;
    }
    
    .featured-post-card .post-image,
    .blog-post-card .post-image {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .featured-posts-section,
    .blog-posts-section {
        padding: 2.5rem 0;
    }
    
    .filters-section {
        padding: 2rem 0;
    }
    
    .featured-post-card .post-content,
    .blog-post-card .post-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .posts-title {
        font-size: 1.6rem;
    }
    
    .blog-post-card .post-footer {
        font-size: 0.75rem;
    }
}

.blog-hero .hero-cta-group {
    justify-content: flex-start !important;
}

.blog-hero .hero-visual {
    display: block !important;
    text-align: left !important;
}

.blog-hero .hero-image-wrapper {
    display: block !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Responsive overrides to ensure left alignment at all breakpoints */
@media (min-width: 768px) and (max-width: 991px) {
    .blog-hero .hero-content {
        text-align: left !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .blog-hero .hero-content {
        text-align: left !important;
    }
}

@media (max-width: 575px) {
    .blog-hero .hero-content {
        text-align: left !important;
    }
}

@media (max-width: 375px) {
    .blog-hero .hero-content {
        text-align: left !important;
    }
}

@media (max-width: 480px) and (orientation: landscape) {
    .blog-hero .hero-content {
        text-align: left !important;
    }
}

/* Enhanced What We Offer Page Responsive Styles */

/* Tablet and below responsive adjustments */
@media (max-width: 768px) {
    /* Services Section */
    .what-we-offer-page .services-section {
        padding: 4rem 0;
    }
    
    .what-we-offer-page .services-section .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    /* Products Section */
    .what-we-offer-page .products-section {
        padding: 4rem 0;
    }
    
    .what-we-offer-page .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .what-we-offer-page .product-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .what-we-offer-page .product-image {
        height: 240px;
    }
    
    .what-we-offer-page .product-image i {
        font-size: 4rem;
    }
    
    /* Enhanced Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-solar-pattern);
    opacity: 0.03;
    z-index: -1;
}

.benefits-content {
    padding-right: 2rem;
    text-align: left;
    margin-bottom: 0;
}

.benefits-content .section-badge {
    margin-bottom: 1.5rem;
}

.benefits-content .section-badge .badge {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-green) 100%) !important;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.benefits-content .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-purple);
}

.benefits-content .section-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.05), transparent);
    transition: left 0.6s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 69, 19, 0.2);
}

.benefit-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-green) 100%);
    border-radius: 16px;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.benefit-content {
    flex: 1;
    min-width: 0;
}

.benefit-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-purple);
    line-height: 1.3;
    font-family: var(--font-header);
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin: 0;
    font-weight: 400;
}

.benefits-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.benefits-cta .btn {
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits CTA buttons now use uniform styling defined above */
    
    /* CTA Section */
    .cta-section {
        padding: 5rem 0;
    }
    
    .cta-content {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-features {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-features .feature {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Home page responsive styling */
@media (max-width: 768px) {
    .home-page .products-section {
        padding: 3rem 0;
    }
    
    .home-page .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .home-page .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .home-page .product-image {
        height: 200px;
    }
    
    /* Home page specific mobile product image icon styling */
    .home-page .product-image i,
    .home-page .products-section .product-image i,
    .home-page .products-grid .product-image i,
    .home-page .product-card .product-image i {
        font-size: 3rem !important;
    }
    
    .home-page .product-content {
        padding: 1.25rem;
    }
    
    .home-page .product-content h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .home-page .products-grid {
        gap: 1.5rem;
    }
    
    .home-page .product-card {
        max-width: 100%;
    }
    
    .home-page .product-image {
        height: 180px;
    }
    
    /* Home page specific extra small mobile product image icon styling */
    .home-page .product-image i,
    .home-page .products-section .product-image i,
    .home-page .products-grid .product-image i,
    .home-page .product-card .product-image i {
        font-size: 2.5rem !important;
    }
    
    .home-page .product-content {
        padding: 1rem;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
    /* Services Section */
    .services-section {
        padding: 3rem 0;
    }
    
    .services-section .service-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .services-section .service-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    /* Products Section */
    .products-section {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .product-card {
        border-radius: 20px;
    }
    
    .product-image {
        height: 200px;
        border-radius: 16px 16px 0 0;
    }
    
    /* General mobile product image styling - excluded home page */
    .product-image i:not(.home-page .product-image i) {
        font-size: 3.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    /* Enhanced Benefits Section - Mobile */
    .benefits-section {
        padding: 3rem 0;
    }
    
    .benefits-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .benefits-content .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .benefits-content .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .benefits-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-item {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 12px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    .benefit-content h5 {
        font-size: 1rem;
    }
    
    .benefit-content p {
        font-size: 0.9rem;
    }
    
    .benefits-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .benefits-cta .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
        align-items: center;
    }
    
    .cta-features .feature {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        border-radius: 25px;
        width: 100%;
        justify-content: center;
    }
    
    .cta-features .feature i {
        font-size: 1.1rem;
    }
    
    .cta-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .cta-card-title {
        font-size: 1.2rem;
    }
    
    .cta-action .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 400px) {
    .services-section .service-card,
    .product-card,
    .benefit-item {
        margin: 0 0.5rem;
    }
    
    .cta-content {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* General mobile product image styling - excluded home page */
    .product-image i:not(.home-page .product-image i) {
        font-size: 3rem;
    }
}

/* Products Page Specific Styles */
.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.products-page .product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.products-page .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.products-page .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-page .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.products-page .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-page .product-image i {
    font-size: 2.5rem !important;
    color: var(--medium-gray) !important;
    transition: all 0.3s ease;
}

.products-page .product-card:hover .product-image i {
    transform: scale(1.1);
    color: var(--primary-purple);
}

.products-page .product-content {
    padding: 1.5rem;
}

.products-page .product-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.75rem;
}

.products-page .product-content p {
    color: var(--medium-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.products-page .product-price {
    margin-top: 1rem;
}

.products-page .product-price .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-purple);
}

/* Calculator Section Specific Styles for Products Page */
.products-page .calculator-section {
    background: var(--white);
    padding: 4rem 0;
    position: relative;
}

.products-page .calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.02) 0%, rgba(76, 175, 80, 0.02) 100%);
    pointer-events: none;
}

.products-page .calculator-section .container {
    position: relative;
    z-index: 1;
}

.products-page .calculator-section .section-title {
    text-align: center !important;
    margin-bottom: 3rem;
}

.products-page .calculator-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    text-align: center;
}

.products-page .calculator-section .section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.products-page .calculator-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.products-page .calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
}

.products-page .calculator-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.products-page .calculator-form .form-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.products-page .calculator-form .form-label {
    font-weight: 600 !important;
    color: var(--dark-gray) !important;
    margin-bottom: 0.75rem;
    justify-content: flex-start !important;
    width: 100%;
    text-align: left !important;
    display: flex !important;
    align-items: flex-start !important;
}

.products-page .calculator-form .form-control,
.products-page .calculator-form .form-select {
    text-align: left !important;
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    border: 2px solid var(--light-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.products-page .calculator-form .form-control:focus,
.products-page .calculator-form .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(102, 0, 153, 0.1);
}

.products-page .calculator-info {
    background: linear-gradient(135deg, rgba(102, 0, 153, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 1px solid rgba(102, 0, 153, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
}

.products-page .calculator-info h6 {
    color: var(--primary-purple);
    font-weight: 600;
    margin-bottom: 1rem;
}

.products-page .calculator-info ul {
    text-align: left;
    margin: 0;
    padding-left: 1.5rem;
}

.products-page .calculator-info li {
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

/* Professional Product Range Section */
.products-page .categories-section {
    background: var(--white);
    padding: 4rem 0;
}

.products-page .categories-section .section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.products-page .categories-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.products-page .categories-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Complete Product Catalog Section */
.products-page .all-products-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.products-page .all-products-section .section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.products-page .all-products-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.products-page .all-products-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments for products page */
@media (max-width: 768px) {
    .products-page .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .products-page .calculator-card {
        padding: 2rem 1.5rem;
    }
    
    .products-page .calculator-section .section-title h2 {
        font-size: 2rem;
    }
    
    .products-page .categories-section .section-title,
    .products-page .all-products-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .products-page .calculator-card {
        padding: 1.5rem 1rem;
    }
    
    .products-page .calculator-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .products-page .categories-section .section-title,
    .products-page .all-products-section .section-title {
        font-size: 1.8rem;
    }
    
    .products-page .product-image {
        height: 200px;
    }
    
    .products-page .product-content {
        padding: 1rem;
    }
}

/* Products page CTA features now use uniform styling defined above */

/* Responsive CTA Features for Products Page */
@media (max-width: 768px) {
    .products-page .cta-features {
        gap: 1rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .products-page .cta-features .feature {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    .products-page .cta-features .feature i {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    .products-page .cta-features {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .products-page .cta-features .feature {
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .products-page .cta-features .feature i {
        font-size: 1.1rem !important;
    }
}

/* Uniform CTA Features Styling for All Pages */
.cta-features,
.who-we-are-page .cta-features,
.products-page .cta-features {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
    align-items: center !important;
}

.cta-features .feature,
.who-we-are-page .cta-features .feature,
.products-page .cta-features .feature {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    border-radius: 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(15px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: visible !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    flex-shrink: 0 !important;
}

.cta-features .feature::before,
.who-we-are-page .cta-features .feature::before,
.products-page .cta-features .feature::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.6s ease !important;
}

.cta-features .feature:hover::before,
.who-we-are-page .cta-features .feature:hover::before,
.products-page .cta-features .feature:hover::before {
    left: 100% !important;
}

.cta-features .feature:hover,
.who-we-are-page .cta-features .feature:hover,
.products-page .cta-features .feature:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    transform: translateY(-5px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25) !important;
}

.cta-features .feature i,
.who-we-are-page .cta-features .feature i,
.products-page .cta-features .feature i {
    color: var(--accent-orange) !important;
    font-size: 1.2rem !important;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)) !important;
    transition: all 0.3s ease !important;
}

.cta-features .feature:hover i,
.who-we-are-page .cta-features .feature:hover i,
.products-page .cta-features .feature:hover i {
    color: var(--accent-green) !important;
    transform: scale(1.1) rotate(5deg) !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) !important;
}

.cta-features .feature span,
.who-we-are-page .cta-features .feature span,
.products-page .cta-features .feature span {
    font-family: var(--font-header) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive CTA Features for All Pages */
@media (max-width: 768px) {
    .cta-features,
    .who-we-are-page .cta-features,
    .products-page .cta-features {
        gap: 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .cta-features .feature,
    .who-we-are-page .cta-features .feature,
    .products-page .cta-features .feature {
        font-size: 0.85rem !important;
        padding: 0.875rem 1.25rem !important;
        min-width: auto !important;
    }
    
    .cta-features .feature i,
    .who-we-are-page .cta-features .feature i,
    .products-page .cta-features .feature i {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .cta-features,
    .who-we-are-page .cta-features,
    .products-page .cta-features {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .cta-features .feature,
    .who-we-are-page .cta-features .feature,
    .products-page .cta-features .feature {
        font-size: 0.9rem !important;
        padding: 0.875rem 1.25rem !important;
        width: 100% !important;
        justify-content: center !important;
        min-width: auto !important;
    }
    
    .cta-features .feature i,
    .who-we-are-page .cta-features .feature i,
    .products-page .cta-features .feature i {
        font-size: 1.1rem !important;
    }
