/* ==========================================
   1. ROOT VARIABLES & GLOBAL STYLES
   ========================================== */
:root {
    /* Brand Colors from Documentation */
    --cobalt-blue: #004a99;
    --dark-blue: #003366;
    --leaf-green: #4caf50;
    --solar-orange: #f39c12;
    
    /* Layout Colors */
    --text-main: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    
    /* Transitions */
    --transition: all 0.3s ease;
}
/* *, *::before, *::after {
    box-sizing: border-box;
} */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}

/* ==========================================
   2. NAVIGATION & TOP BAR
   ========================================== */
.top-bar { 
    background: var(--dark-blue); 
    color: var(--white);
}

.top-bar a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
}

.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Logo & Branding Area */
.navbar-logo {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-box {
    background: linear-gradient(135deg, var(--cobalt-blue), var(--dark-blue));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}


.logo-e { color: var(--leaf-green); }

.brand-text-container {
    line-height: 1.1;
    border-left: 2px solid #eee;
    padding-left: 10px;    /**  15px**/
    margin-left: 5px;    /**  5px**/
}

.brand-name {
    color: var(--cobalt-blue);
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.brand-slogan {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.5px;
}

.brand-tags {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--leaf-green);
    letter-spacing: 1px;
}

/* Nav Links */
.nav-link {
    color: var(--cobalt-blue) !important;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--leaf-green) !important;
}

/* Premium Navbar Styling */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Modern frosted glass effect */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.brand-text-container {
    border-color: #e0e0e0 !important;
}

.ls-1 {
    letter-spacing: 1.5px;
    font-size: 0.7rem;
}

.italic {
    font-style: italic;
    font-size: 0.65rem;
}

/* Elegant Link Hover State */
.nav-link-elegant {
    font-weight: 500;
    color: #333 !important;
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link-elegant::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: var(--green); /* Use your green hex here */
    transition: width 0.3s ease;
}

.nav-link-elegant:hover::after {
    width: 60%;
}

/* Premium Button Upgrade */
.btn-premium {
    background: var(--blue); /* Use your blue hex */
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border: none;
    transition: all 0.3s transform ease;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.15);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.2);
    color: white;
}

/***********   logo ****************/
/* Logo Size */

/* Ensure the logo fits perfectly */
.logo-img {
    height: 50px; /* Adjust height as needed */
    width: auto;
    display: block;
}

/* Hover effect for a premium feel 
.navbar-brand:hover .logo-border-wrap {
    border-color: #003366; /* Changes to your brand blue on hover */
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}*/
/*.logo-img {
    height: 60px;
    width: auto;
}*/

/* Text Alignment Fix */
.brand-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

/* Company Name */
.brand-name {
    font-size: 22px;
    color: #003366;
}

/* Tagline */
.brand-slogan {
    font-size: 11px;
    color: #28a745;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Bottom Tags */
.brand-tags {
    font-size: 10px;
    opacity: 0.7;
}


/* Container for the logo border */
.logo-border-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px; /* Space between logo and border */
    border: 2px solid #2ecc71; /* The green accent color from your slogan */
    border-radius: 10px; /* Smooth rounded corners */
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Base link styles */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: #333; /* Your brand dark/blue color */
    transition: color 0.3s ease;
}

/* The Active State / Hover State indicator */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px; /* Adjust based on your nav height */
    left: 50%;
    background-color: #2ecc71; /* Green accent color */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* State: Hover */
.navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* State: Active (Current Page) */
.navbar-nav .nav-link.active {
    color: #2ecc71 !important; /* Green text for active */
    font-weight: 700;
}

.navbar-nav .nav-link.active::after {
    width: 80%; /* Longer line for the active page */
    background-color: #2ecc71;
}

/* Request Proposal Button - Slight lift on hover */
.btn-proposal {
    background-color: #003366; /* Deep blue */
    color: white;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-proposal:hover {
    transform: translateY(-2px);
    background-color: #004080;
    color: white;
}
/* ==========================================
   3. HERO SECTION (Banner1 Settings)
   ========================================== */
.hero-section {
    position: relative;
    /* Reduced Opacity via darker Linear Gradient Overlay */
    background: linear-gradient(rgba(0, 33, 102, 0.7), rgba(255, 255, 255, 0)), 
                url('/static/images/banner.png');
    
    min-height: 85vh; 
    display: flex;
    align-items: center;
    color: var(--white);
    
    /* Ensures the bottom of banner1.png (assets/ground) is fully visible */
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-section p {
    letter-spacing: 2px;
}



/* ==========================================
   4. BUTTONS & UI ELEMENTS
   ========================================== */
.btn-hero {
    border-radius: 50px;
    padding: 14px 40px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-proposal, .btn-blue {
    background-color: var(--cobalt-blue);
    color: var(--white);
    border: none;
}

.btn-orange {
    background-color: var(--solar-orange);
    color: var(--white);
    border: none;
}

.btn-proposal:hover, .btn-blue:hover, .btn-orange:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-green { 
    background-color: var(--leaf-green); 
    color: var(--white); 
}

/* ==========================================
   5. COMPONENTS (Cards, Services, Icons)
   ========================================== */
.section-padding {
    padding: 80px 0;
}

.service-card { 
    transition: var(--transition); 
    border: none;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.service-card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 70px; 
    height: 70px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto;
    margin-bottom: 20px;
}

.bg-light-blue { background: #e7f1ff; }
.bg-light-orange { background: #fff4e5; }
.bg-light-green { background: #e8f5e9; }

.border-orange-top { 
    border-top: 5px solid var(--solar-orange) !important; 
}


/* Form Enhancements */
.form-control:focus, .form-select:focus {
    border-color: var(--cobalt-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 74, 153, 0.1);
}

.form-label {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* Ensure icons in the contact list align perfectly */
.icon-circle.ms-0 {
    margin-left: 0 !important;
}

/* Page Header style for the Contact Page */
.bg-blue {
    background: linear-gradient(135deg, var(--dark-blue), var(--cobalt-blue));
}

/* Specific Service Enhancements */
.bg-dark-blue {
    background-color: var(--dark-blue);
}

.border-start-green {
    border-left: 5px solid var(--leaf-green) !important;
}

.service-card h5 {
    color: var(--dark-blue);
    transition: var(--transition);
}

.service-card:hover h5 {
    color: var(--cobalt-blue);
}

/* Icon Circle reset for these cards */
.service-card .icon-circle {
    transition: transform 0.4s ease;
}

.service-card:hover .icon-circle {
    transform: rotateY(360deg);
}

/* Custom spacing for the 2nd row */
@media (min-width: 992px) {
    .col-lg-6.col-md-6 {
        margin-top: 1rem;
    }
}

/* Service Card Image Styling */
.service-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

/* Ensure icons float partially over the image if desired, 
   or keep them below as currently structured. 
   Current structure places them neatly inside the card body. */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.icon-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Client Section Styling */
.client-grid {
    opacity: 0.8;
}

.client-logo-wrapper {
    text-align: center;
    transition: all 0.3s ease;
    padding: 10px;
}

.client-logo {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%); /* Makes logos uniform */
    opacity: 0.6;
    transition: all 0.4s ease;
    margin-bottom: 10px;
}

.client-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.client-logo-wrapper:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo-wrapper:hover .client-label {
    opacity: 1;
}

.client-logo-wrapper:hover {
    background: #f8f9fa;
    border-radius: 12px;
}



/*******************  Aboutus.html ******************/


/* About Us Specifics */
.bg-blue {
    background-color: #004a99 !important;
}

.text-green {
    color: #28a745 !important;
}

.border-green {
    border-color: #28a745 !important;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.italic {
    font-style: italic;
}
/* ==========================================
   6. RESPONSIVENESS
   ========================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 991px) {
    .brand-text-container {
        border-left: none;
        padding-left: 0;
    }
    .brand-name { font-size: 1.25rem; }
    .hero-section {
        text-align: center;
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Small Tablets & Phones */
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero-section h1 { font-size: 2rem; }
    .navbar-brand { max-width: 80%; }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .brand-slogan, .brand-tags { 
        font-size: 9px; 
    }
    .navbar-logo, .logo-box { 
        height: 40px; 
        width: 40px; 
    }
    .logo-box { 
        font-size: 16px; 
    }
    .hero-section {
        min-height: 60vh;
        /* Slight adjustment to background to keep assets centered on tall narrow screens */
        background-position: bottom 10% center; 
    }
    
    @media (max-width: 576px) {
    .hero-section .d-flex {
        flex-direction: column; /* Stack buttons on small screens */
        align-items: stretch;
    }
    .btn-hero {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Ensure the green button has the correct brand color */
.btn-green {
    background-color: var(--leaf-green);
    color: white;
    border: none;
}

.btn-green:hover {
    background-color: #3d8b40;
    color: white;
}
}



/* Scroller Container */
.client-scroller {
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /* Optional: creates a fade-out effect on the sides */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Inner moving container */
.scroller-inner {
    display: flex;
    width: max-content;
    flex-nowrap: nowrap;
    animation: scroll 30s linear infinite;
}

/* Individual Item Styling */
.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px; /* Space between logos */
    text-align: center;
}

.client-item img {
    height: 60px; /* Adjust based on your logo sizes */
    width: auto;
    filter: grayscale(100%); /* Optional: makes logos professional gray */
    transition: filter 0.3s ease;
    margin-bottom: 10px;
}

.client-item:hover img {
    filter: grayscale(0%); /* Color on hover */
}

.client-item span {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* Animation Keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.client-scroller:hover .scroller-inner {
    animation-play-state: paused;
}

/* Arrow Styling */
.scroller-arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    color: #003366; /* Your Blue */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.scroller-arrow:hover {
    background: #003366;
    color: white;
}

.scroller-arrow.left { left: -10px; }
.scroller-arrow.right { right: -10px; }

/* Adjust container to give arrows room on small screens */
@media (max-width: 768px) {
    .scroller-arrow { display: none; } /* Hide arrows on mobile for better UX */
}

/* Ensure the scroller transition is smooth when clicked */
.client-scroller {
    scroll-behavior: smooth;
}





/* Styling for the Lead Introduction */
.lead.text-muted {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555 !important;
    margin-bottom: 50px;
}

/* Adding a subtle highlight to the brand name */
.lead strong {
    color: var(--dark-blue);
    position: relative;
    font-weight: 700;
}

/* Optional: Add a very light fade-in animation as the user scrolls */
#services .lead {
    animation: fadeInIntro 1.2s ease-out;
}

@keyframes fadeInIntro {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .lead.text-muted {
        font-size: 1.05rem;
        padding: 0 10px;
    }
}




/* --- Global Styles --- */
:root {
    --leaf-green: #28a745;
    --dark-blue: #003366;
    --light-blue: #f0f7ff;
    --light-green: #f1fbf3;
}

.text-blue { color: var(--dark-blue); }
.text-green { color: var(--leaf-green); }
.bg-blue { background-color: var(--dark-blue); }

/* --- Service Cards --- */
.service-main-card {
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-main-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bg-light-blue { background-color: var(--light-blue); }
.bg-light-green { background-color: var(--light-green); }

.service-list li {
    padding-bottom: 10px;
    font-size: 0.95rem;
}

/* Colored Top Borders for smaller cards */
.border-top-blue { border-top: 5px solid var(--dark-blue) !important; }
.border-top-green { border-top: 5px solid var(--leaf-green) !important; }
.border-top-orange { border-top: 5px solid #fd7e14 !important; }

.tracking-widest { letter-spacing: 0.25rem; }



/* ==========================================
   ELEGANT ANIMATIONS & HOVER EFFECTS
   ========================================== */

/* 1. Ensure the cards have a base transition for all properties */
.service-card.elegant-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Prevent blurriness on transition */
    backface-visibility: hidden; 
}

/* 2. The lift and shadow intensification on hover */
.service-card.elegant-hover:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.12) !important; /* Soft, large shadow */
}

/* 3. Animate the icon circle on hover (Subtle rotate) */
.service-card.elegant-hover:hover .icon-circle i {
    animation: simpleRotate 0.6s ease-out;
}

@keyframes simpleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(15deg); }
}

/* 4. Ensure the section starts hidden for Scroll Trigger (Optional)
   Use this if you are using a JS trigger like WOW.js or a simple IntersectionObserver.
   If not using JS, remove the opacity/visibility. */
/*
.animate-section .animate__animated {
    opacity: 0;
    visibility: hidden;
}

.animate-section.animated-in .animate__animated {
    opacity: 1;
    visibility: visible;
}
*/

/* --- Additional Elegant CSS Details --- */
.elegant-divider {
    transition: width 0.6s ease-out 0.8s; /* Animates width after title slides in */
}

.elegant-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #5a5a5a !important;
}

/* Base styles for your utility classes (Ensure these exist) */
.text-blue { color: #004a99; } /* Cobalt Blue */
.text-orange { color: #f39c12; } /* Solar Orange */
.text-green { color: #4caf50; } /* Leaf Green */
.bg-green { background-color: #4caf50; }
.bg-light-blue { background: #e7f1ff; }
.bg-light-orange { background: #fff4e5; }
.bg-light-green { background: #e8f5e9; }

.service-img-container {
    height: 200px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Zoom the image slightly on hover */
.service-card.elegant-hover:hover .service-img-container img {
    transform: scale(1.08);
}
/* ==========================================
   7. UTILITIES
   ========================================== */
.text-blue { color: var(--cobalt-blue); }
.text-green { color: var(--leaf-green); }
.text-orange { color: var(--solar-orange); }
.bg-blue { background-color: var(--cobalt-blue); }
.tracking-widest { letter-spacing: 3px; }

/* Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    /* 1. Force the Navbar container to stack items vertically */
    .navbar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 2. Center the Branding (Logo + Text) */
    .navbar-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0 !important;
        padding: 10px 0;
    }

    /* 3. Style the Logo Box (The "LE" square) */
    .logo-box {
        margin-bottom: 8px; /* Space between box and "LE Solutions" */
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    /* 4. Center the Text Container & Remove Desktop Border */
    .brand-text-container {
        border-left: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    /* 5. Tagline & Slogan Font Size Reduction */
    .brand-name {
        font-size: 1.5rem !important;
        margin-bottom: 2px;
    }

    .brand-slogan {
        font-size: 10px !important; /* Smaller for mobile design */
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .brand-tags {
        font-size: 8px !important;
        letter-spacing: 1px;
    }

    /* 6. Adjust the Toggle Button Position */
    .navbar-toggler {
        margin-top: 10px; /* Moves hamburger below the centered logo */
        border-color: rgba(0,0,0,0.1);
    }
}



/*******************         services page design rotation *****************/
/* Custom Design Enhancements */
    #why-us {
        background: radial-gradient(circle at 10% 20%, rgba(0, 74, 153, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.03) 0%, transparent 50%);
    }

    .transition-hover {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: 1px solid rgba(0,0,0,0.05) !important;
        position: relative;
        overflow: hidden;
    }

    .transition-hover:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
        background: #fff !important;
        border-color: var(--bs-primary) !important;
    }

    /* Icon Animation */
    .icon-circle {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        transition: all 0.4s ease;
    }

    .transition-hover:hover .icon-circle {
        transform: rotateY(360deg);
        background-color: #004a99 !important;
    }
    
    .transition-hover:hover .icon-circle i {
        color: #fff !important;
    }

    /* Decorative Floating Blob */
    .why-us-img-wrapper::before {
        content: "";
        position: absolute;
        width: 120%;
        height: 120%;
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%232ECC71' fill-opacity='0.1' d='M44.7,-76.4C58.1,-69.2,70.1,-58.3,78.2,-44.8C86.3,-31.3,90.5,-15.7,88.7,-0.9C87,13.8,79.2,27.7,69.9,39.4C60.5,51.1,49.5,60.7,37.1,68.4C24.7,76.1,12.3,81.9,-1.9,85.2C-16.1,88.5,-32.2,89.3,-45.8,82.8C-59.5,76.3,-70.7,62.4,-78.4,47.8C-86.1,33.2,-90.4,17.9,-89.1,3.1C-87.8,-11.7,-80.9,-26,-71.4,-38C-62,-50,-50,-59.7,-37.2,-67.2C-24.4,-74.7,-10.8,-80,3.3,-85.7C17.4,-91.4,31.4,-83.6,44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E") no-repeat center;
        z-index: -1;
        top: -10%;
        left: -10%;
        animation: morph 15s ease-in-out infinite;
    }

    @keyframes morph {
        0%, 100% { transform: scale(1) rotate(0deg); }
        50% { transform: scale(1.1) rotate(5deg); }
    }

    .bg-blue { background-color: #004a99 !important; }
    .text-blue { color: #004a99 !important; }
    .text-green { color: #2ecc71 !important; }
    .btn-green { background-color: #2ecc71; color: white; }
    .btn-green:hover { background-color: #27ae60; color: white; }




    /* 1. Main Overlay Container */
.hybrid-bg-overlay {
    position: absolute;
    bottom: 0;
    right: 1%;
    width: 480px;
    height: 100%;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

/* 2. Turbine Styles */
.turbine-element {
    position: absolute;
    bottom: 20px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.turbine-blades-svg {
    width: 280px;
    height: 280px;
    margin-bottom: -150px;
    z-index: 2;
    animation: spinTurbine 12s linear infinite;
}
.turbine-mast-realistic {
    width: 12px;
    height: 200px;
    background: linear-gradient(to right, #e9ecef, #ffffff, #dee2e6);
    clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
}

/* 3. NEW: Realistic Solar Styling */
.solar-element {
    position: absolute;
    bottom: -10px; /* Lowered position to create ground perspective */
    right: 200px;
    z-index: 3; /* Placed in front of the turbine base */
}
.solar-panels-svg {
    width: 240px; /* Increased size for detail visibility */
    filter: drop-shadow(4px 8px 12px rgba(0,0,0,0.15));
}

/* 4. Storage (BESS) Styles */
.storage-element {
    position: absolute;
    bottom: 20px;
    right: 10px;
    z-index: 4; /* Front-most element */
}
.bess-container {
    width: 80px;
    height: 45px;
    background: #f8f9fa;
    border: 1.5px solid #dee2e6;
    border-radius: 4px;
    position: relative;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.05);
}
.bess-vents {
    position: absolute;
    right: 5px; top: 10px;
    width: 15px; height: 25px;
    background: repeating-linear-gradient(#adb5bd, #adb5bd 2px, transparent 2px, transparent 4px);
}
.bess-status-light {
    position: absolute;
    left: 8px; top: 8px;
    width: 6px; height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
    animation: pulseStatus 2s infinite;
}
.bess-label {
    position: absolute;
    bottom: 4px; left: 8px;
    font-size: 8px; font-weight: bold; color: #004a99; letter-spacing: 1px;
}

/* Animations */
@keyframes spinTurbine { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseStatus { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Responsiveness */
@media (max-width: 1100px) { .hybrid-bg-overlay { transform: scale(0.7) translateX(100px); opacity: 0.4; } }
@media (max-width: 991px) { .hybrid-bg-overlay { display: none; } }


#captchaVal {
    /* Adding a subtle 'noise' pattern to look like a real captcha */
    background-image: radial-gradient(#dee2e6 10%, transparent 10%);
    background-size: 8px 8px;
    border-color: #002166 !important;
    font-family: 'Courier New', Courier, monospace;
}



