.hero-section{
    position:relative;
}

.hero-img{
    width:100%;
    height:90vh !important;
    object-fit:cover;
}

.hero-caption{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:80%;
    text-align:center;
    z-index:2;
}

/* .hero-caption h1{
    font-size:2rem;
    font-weight:700;
    margin-bottom:20px;
}

.hero-caption p{
    font-size:1.5rem;
    margin-bottom:30px;
} */

.hero-caption h1{
    font-size:clamp(1.2rem, 2.5vw, 4rem) !important;
}

.hero-caption p{
    font-size:clamp(0.8rem, 1.5vw, 1.5rem) !important;
}

.hero-cta{
    position:absolute;
    bottom:40px;
    right:40px;
    z-index:20;
}

.hero-btn{
    background:rgba(150, 12, 40,0.95) !important;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    color:#fff !important;
    /* border:1px solid rgba(150, 12, 40,.1); */
    padding:14px 28px;
    border-radius:15px;
    font-weight:600;
    letter-spacing:.5px;
    box-shadow:0 8px 30px rgba(0,0,0,.25);
    transition:all .3s ease;
}

.hero-btn:hover{
    background:rgba(255, 119, 40, 0.3) !important;
    /* border-color:#ff7728; */
    color:#fff !important;
    transform:translateY(-3px);
}

.hero-logo{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

.hero-logo img{
    height: 80px;
    width: auto;
    /* background: rgba(255,255,255,0.9); */
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: transparent !important;
}

.carousel-item{
    position:relative;
}

.carousel-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.20);
}

.carousel-control-prev,
.carousel-control-next{
    width:6%;
}

.carousel-indicators button{
    width:12px !important;
    height:12px !important;
    border-radius:50%;
}


#aboutCarousel{
    border-radius:20px;
}

#aboutCarousel .carousel-control-prev,
#aboutCarousel .carousel-control-next{
    width:50px;
    height:50px;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,.4);
    border-radius:50%;
}

#aboutCarousel .carousel-control-prev{
    left:15px;
}

#aboutCarousel .carousel-control-next{
    right:15px;
}


#solar-calculator .card{
    transition:all .3s ease;
}

#solar-calculator .card:hover{
    transform:translateY(-5px);
}

#resultsSection .card{
    border-radius:20px;
}

#resultsSection h3{
    font-size:2rem;
}


.about-img{
    height:580px;
    width:100%;
    object-fit:cover;
}

.dropdown-item:hover {
    background-color: #ff7728;
    color: #ffffff !important; /* Matches your deep red design theme accent */
  }

.dropdown-item {
    background-color: #ff7728;
    color: #000000 !important; /* Matches your deep red design theme accent */
  }
  

@media(max-width:768px){
    .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0; 
      background-color: #ffffff !important;
    }
   
    .menu-item:hover {
        background-color: #ffffff;
        color: #ff7728 !important; /* Matches your deep red design theme accent */
    }

    .dropdown-item:hover {
    background-color: #ffffff !important;
    color: #ff7728 !important; /* Matches your deep red design theme accent */
    }

    .dropdown-item {
        background-color: #ffffff;
        color: #000000 !important; /* Matches your deep red design theme accent */
    }
    .about-img{
        height:250px;
    }

    #aboutCarousel{
        margin-bottom:25px;
    }

    #resultsSection h3{
        font-size:1.5rem;
    }

    #solar-calculator .btn-lg{
        width:100%;
    }

    .hero-img{
    width:100%;
    height:35vh !important;
    object-fit:cover;
    }

    .hero-img{
        width:100%;
        height:20vh;
        object-fit:cover;
    }

    .hero-caption{
        width:95%;
    }

    .hero-caption h1{
        font-size:2rem;
    }

    .hero-caption p{
        font-size:1rem;
    }

    .hero-cta{
        bottom:20px;
        right:15px;
        left:15px;
        text-align:center;
    }

    .hero-btn{
        width:100%;
        max-width:280px;
        font-size:14px;
        padding:12px 20px;
    }

    .hero-logo{
        top: 10px;
        right: 10px;
    }

    .hero-logo img{
        height: 50px;
        padding: 5px;
    }
}



/* Social Media */
.whatsapp-float{
    position:fixed;
    width:50px;
    height:50px;
    bottom:90px;
    right:20px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    text-align:center;
    font-size:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
}

.instagram-float:hover,
.facebook-float:hover,
.linkedin-float:hover,
.whatsapp-float:hover{
    color:white;
    transform:scale(1.1);
}

.facebook-float{
    position:fixed;
    width:50px;
    height:50px;
    bottom:160px;
    right:20px;
    background:#1877F2;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
}

.instagram-float{
    position:fixed;
    width:50px;
    height:50px;
    bottom:230px;
    right:20px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
}

.linkedin-float{
    position:fixed;
    width:50px;
    height:50px;
    bottom:300px;
    right:20px;
    background:#0A66C2;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
}


/* contact us */
.contact-banner{
    position: relative !important;
    height: 400px !important;
    overflow: hidden !important;
}

.contact-banner-img{
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    display: block !important;
}

.contact-overlay{
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.5) !important;
    z-index: 1 !important;
}

.contact-content{
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 2 !important;
    color: #fff !important;
    text-align: center !important;
    width: 90% !important;
}

.contact-content h1{
    color: #fff !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
}

.contact-content p{
    color: #fff !important;
    font-size: 1.2rem !important;
}

@media (max-width:768px){
    .contact-banner,
    .contact-banner-img{
        height: 450px !important;
    }

    .contact-content h1{
        font-size: 1.5rem !important;
    }

    .contact-content p{
        font-size: 0.9rem !important;
    }
}

.contact-card{
    border-radius: 30px !important;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}



/* Footer */
     .footer-container {
            background-color: #e6e6e6;
            color: #333;
            padding: 60px 8% 20px 8%;
            border-top: 1px solid #ccc;
        }

        .footer-col {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1.5fr 1.5fr;
            gap: 80px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            font-size: 16px;
            font-weight: bold;
            color: #000;
            margin-bottom: 25px;
        }

        /* Brand Column Details */
        .footer-brand img {
            width: 150px;
            margin-bottom: 20px;
        }

        .footer-brand p {
            font-size: 13px;
            line-height: 1.6;
            color: #555;
            text-align: justify;
        }

        /* List Links */
        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
            width: 100%;
        }

        .footer-col ul li {
            text-align: left;
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            font-size: 14px;
            color: #555;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-col ul li a:hover {
            color: #000;
        }

        /* Email Form */
        .email-text {
            font-size: 13px;
            color: #555;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .form-group input[type="email"] {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #bbb;
            border-radius: 4px;
            background-color: #fff;
            font-size: 14px;
            outline: none;
        }

        .form-group button {
            align-self: flex-start;
            background-color: #1a1a1a;
            color: #fff;
            border: none;
            padding: 10px 24px;
            font-size: 14px;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .form-group button:hover {
            background-color: #333;
        }

        /* Bottom Row Bar */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #d0d0d0;
            padding-top: 20px;
        }

        .copyright {
            font-size: 12px;
            color: #666;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            color: #444;
            font-size: 18px;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .social-links a:hover {
            color: #000;
        }

        /* Responsive Breakpoints */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 576px) {
            .footer-container {
                padding: 40px 5% 20px 5%;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            .footer-bottom {
                flex-direction: column-reverse;
                gap: 15px;
                text-align: center;
            }
        }



    /* 1. Base Framework Container Layout */
    .map-section-wrapper {
        position: relative;
        width: 100%;
        height: 450px;
        margin-top: 40px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        background-color: #f9f9f9;
    }

    /* 2. Map Iframe View Layout */
    .map-section-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    /* 3. Floating Overlay Card with Route Button */
    .map-address-card {
        position: absolute;
        top: 25px;
        left: 25px;
        background-color: #ffffff;
        padding: 24px;
        border-radius: 8px;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        max-width: 320px;
        z-index: 10;
        border-top: 4px solid #1a1a1a; /* Clean framing accent */
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .map-card-text h4 {
        margin: 0 0 6px 0;
        font-size: 16px;
        font-weight: bold;
        color: #000000;
        font-family: Arial, sans-serif;
    }

    .map-card-text p {
        margin: 0;
        font-size: 13px;
        color: #555555;
        line-height: 1.6;
        font-family: Arial, sans-serif;
    }

    /* 4. Action Layer Directions Button Layout */
    .btn-get-directions {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background-color: #1a1a1a;
        color: #ffffff;
        text-decoration: none;
        padding: 11px 18px;
        font-size: 13px;
        font-weight: bold;
        font-family: Arial, sans-serif;
        border-radius: 4px;
        transition: background-color 0.2s ease, transform 0.1s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .btn-get-directions:hover {
        background-color: #333333;
    }

    .btn-get-directions:active {
        transform: scale(0.98);
    }

    /* SVG Navigation Arrow Icon styling */
    .nav-icon {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

    /* ==================================================================
       5. MOBILE RESPONSIVE BLOCK-STACK OVERRIDES
       ================================================================== */
    @media (max-width: 768px) {
        .map-section-wrapper {
            height: auto !important;
            display: flex !important;
            flex-direction: column !important;
            box-shadow: none;
            border-radius: 0px;
        }

        .map-address-card {
            position: static !important;
            max-width: 100% !important;
            margin: 0 0 15px 0 !important;
            padding: 18px !important;
            box-shadow: none !important;
            border: 1px solid #ddd !important;
            border-top: 4px solid #1a1a1a !important;
            order: -1 !important; /* Locks address and CTA button above map view */
        }

        .map-section-wrapper iframe {
            height: 300px !important;
            width: 100% !important;
            border: 1px solid #ddd;
            border-radius: 6px;
            order: 0 !important;
        }
    }


    /* Picture Slide */
.journey-section{
    /* padding:60px 0; */
    padding:0;
    margin:0;
}

.journey-image{
    position:relative;
    height:450px;
    /* border-radius:25px; */
    overflow:hidden;
}

.journey-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.journey-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    /* padding:50px 0; */
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:0px;
}

.journey-title{
    color:#fff;
    padding:0 50px;
}

.journey-title h2{
    font-size:3rem;
    font-weight:700;
}

.journey-timeline{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
}

.milestone{
    flex:1;
    position:relative;
    cursor:pointer;
}

.milestone span{
    display:block;
    background:#ff7728;
    color:#fff;
    padding:15px;
    text-align:center;
    font-size:1.5rem;
    font-weight:700;
    border-radius:15px;
    transition:.4s;
}

.milestone-content{
    position:absolute;
    bottom:70px;
    left:0;
    right:0;
    background:#fff;
    color:#333;
    padding:20px;
    border-radius:15px;
    opacity:0;
    transform:translateY(30px);
    transition:.4s;
}

.milestone:hover .milestone-content{
    opacity:1;
    transform:translateY(0);
}

.milestone:hover span{
    background:#198754;
}



/* .journey-slider{
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
} */
.journey-slider{
    display:flex;
    /* gap:20px; */
    gap:0px;
    overflow-x:auto;
    width:100%;
    height: 100%;
    /* padding:0 20px; */
    scrollbar-width:none;
}

.journey-slider::-webkit-scrollbar{
    display: none;
}

.journey-card{
    flex:0 0 calc(25% - 15px); /* 4 cards visible */
    min-width:calc(25% - 15px);
    height: 100%;
    /* background:rgba(255,255,255,0.15); */
    /* backdrop-filter:blur(10px); */
    /* border-radius:20px; */
    padding:20px;
    color:#fff;
    text-align:center;
    border:1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    
}

.journey-card i{
    font-size: 2.75rem;   /* 80px */
    margin-bottom: 20px;
    color: rgba(244, 180, 0, 0.8);
}


.journey-card:hover{
    transform: translateY(-8px);
    background: rgba(255, 119, 40, 0.2);
}

.journey-card h2{
    color: #fff !important;
    font-size: 3rem;
    font-weight: 700;
}

.journey-card p{
    color: #fff !important;
    margin-bottom: 0;
}

@media(max-width:992px){
    .journey-card{
        flex:0 0 calc(50% - 10px);
        min-width:calc(50% - 10px);
    }
}

@media(max-width:768px){
    .journey-overlay{
        padding:0px 0;
    }

    .journey-title{
        padding:0 20px;
    }

    .journey-card{
        flex:0 0 50%;
        min-width:50%;
        text-align:center;
    }

    .journey-card h2{
        font-size:2rem;
    }
}


/* Services */
.service-section img{
    height:350px;
    width:100%;
    object-fit:cover;
    transition:0.4s;
}

.service-section img:hover{
    transform:scale(1.05);
}

.service-section h2{
    font-weight:700;
    color:#198754;
    margin-bottom:20px;
}

.service-section p{
    font-size:1.05rem;
    line-height:1.8;
}

/* <!--Certification--> */
.cert-card{
    background:#fff;
    padding:30px;
    border-radius:20px;
    text-align:center;
    height:100%;
    width:100%;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.cert-card:hover{
    transform:translateY(-8px);
}

.cert-card i{
    font-size:3rem;
    color:#198754;
    margin-bottom:15px;
    
}

.cert-highlight{
    background:#fff;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
    /* Premium Gallery Photo Frame Effect */
    .cert-frame-wrapper {
        background-color: #ffffff;
        /* Outer real wood-style frame border */
        border: 16px solid #2c2520; 
        /* inner premium gold/metallic accent matting trim line */
        outline: 3px solid #d4af37;
        outline-offset: -12px;
        /* Realistic wall drop shadow */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.15);
        padding: 25px; /* Creates the white mat board spacing around your document */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Subtle hover liftoff effect */
    .cert-frame-wrapper:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    /* Inner certificate photo shadow */
    .cert-frame-wrapper img {
        box-shadow: inset 0 0 10px rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.15);
        border: 1px solid #e0e0e0;
    }

    /* 1. Main Shared Floating Menu Wrapper Layout */
    .floating-social-menu {
        position: fixed;
        bottom: 30px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 12px;
    }

    /* 2. Style Rules for Every Base Floating Button */
    .floating-social-menu a, 
    .menu-toggle-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        font-size: 20px;
        cursor: pointer;
        border: none;
        outline: none;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
    }
    
    .agent-toggle-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        font-size: 25px;
        cursor: pointer;
        border: none;
        outline: none;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease;
    }
    
    /* 3. Unique Brand Colors Layout */
    .menu-toggle-btn { background-color: #1a1a1a; } /* Elegant neutral master trigger button */
    .whatsapp-float { background-color: #25D366; }
    .facebook-float { background-color: #1877F2; }
    .instagram-float { background-color: #E4405F; }
    .linkedin-float { background-color: #0A66C2; }

    /* Hover effect */
    .floating-social-menu a:hover, 
    .menu-toggle-btn:hover {
        transform: scale(1.1);
    }

    /* 4. DEFAULT COLLAPSED STATE (Hidden and Shrunk) */
    .floating-social-menu a {
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.6);
        pointer-events: none; /* Prevents misclicks when invisible */
    }

    /* 5. ACTIVE EXPANDED STATE CONFIGURATION */
    .floating-social-menu.is-active a {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    /* Staggered delay logic so buttons snap open one after another */
    .floating-social-menu.is-active a:nth-child(2) { transition-delay: 0.05s; }
    .floating-social-menu.is-active a:nth-child(3) { transition-delay: 0.10s; }
    .floating-social-menu.is-active a:nth-child(4) { transition-delay: 0.15s; }
    .floating-social-menu.is-active a:nth-child(5) { transition-delay: 0.20s; }

    /* Rotates the main toggle plus icon to an "X" when clicked */
    .floating-social-menu.is-active .menu-toggle-btn i {
        transform: rotate(135deg);
    }
    .menu-toggle-btn i {
        transition: transform 0.3s ease;
    } 

/*Our Services in Home Page*/
.service-container{
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    justify-content:center;
    padding:15px;
    /* background:#ffffff; */
    /* background:#f5f7f8; */
}


.service-card{
    width:30%;
    padding:30px 20px;
    text-align:center;
    background:rgba(255,255,255,0.7);
    border-radius:20px;
    box-shadow:
    0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter:blur(10px);
    transition:.3s;
}


.service-card:hover{
    transform:translateY(-12px);
}


.service-card i{
    font-size:45px;
    color:rgba(150, 12, 40, 0.9);
}

@media(max-width:768px){
    .service-card{
        width:100%;
        padding:30px 20px;
        text-align:center;
        background:rgba(255,255,255,0.7);
        border-radius:20px;
        box-shadow:
        0 10px 30px rgba(0,0,0,0.12);
        backdrop-filter:blur(10px);
        transition:.3s;
    }

}


    /* Premium Letter Spacing */
    .tracking-wider {
        letter-spacing: 0.05em;
        font-size: 0.85rem;
    }

    /* Outer Control Wrapper */
    .custom-solar-tabs {
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 4px;
    }

    /* Default Inactive State */
    .custom-solar-tabs .nav-link {
        color: #495057 !important;
        background-color: transparent !important;
        border-radius: 10px;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Premium Hover Effect */
    .custom-solar-tabs .nav-link:hover:not(.active) {
        color: #960c28 !important;
        background-color: rgba(150, 12, 40, 0.05) !important;
    }

    /* Active Slate Highlight */
    .custom-solar-tabs .nav-link.active {
        background-color: #960c28 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(150, 12, 40, 0.25);
    }

    /* Smooth Fade-In Section Transitions */
    .tab-content .tab-pane {
        transition: opacity 0.35s ease-in-out;
    }

    @media (max-width: 576px) {
        .tracking-wider {
            font-size: 0.68rem;
            padding-left: 4px !important;
            padding-right: 4px !important;
        }
        .custom-solar-tabs .nav-link i {
            display: block; /* Stacks the icon above text on tiny screens for better spacing */
            margin-right: 0 !important;
            margin-bottom: 2px;
        }
    }




.title-badge { 
    display: inline-block; 
    padding: 6px 16px; 
    border-radius: 4px; /* Professional sharp corner radius over pill-shape */
    background: rgba(255, 119, 40, 0.12); /* Unified branding tint */
    color: #960c28; /* Matches your core corporate maroon shade */
    font-size: 12px; 
    font-weight: 700; 
    letter-spacing: 1.5px; 
    margin-bottom: 16px; 
} 

.main-title { 
    font-size: 32px; /* 42 Balanced desktop scaling to prevent text wrapping layout breaks */
    font-weight: 400 !important; 
    color: #111827; /* Deep professional charcoal instead of raw pitch black */
    margin-bottom: 14px; 
    line-height: 1.2; 
    letter-spacing: 1.75px; /* Premium geometric typeface styling */
} 

/* Removed the multi-color gradient text fill for a premium, single-accent color focus */
.main-title span { 
    color: #960c28; 
} 

.title-line { 
    width: 60px; /* Shifted to a subtle, modern line length indicator */
    height: 4px; 
    margin: 0 auto 24px; 
    border-radius: 2px; 
    background: #960c28; 
} 

.sub-title { 
    font-size: 16px; /* High scannability text standard */
    color: #4b5563; /* Accessible, high-contrast text grey ratio */
    max-width: 620px; 
    margin: auto; 
    line-height: 1.6; 
    letter-spacing: 1.0px;
} 

/* Smooth Fluid Responsive Scale Braking */
@media(max-width: 768px) { 
    .section-title { padding-bottom: 35px; }
    .main-title { font-size: 28px; } 
    .sub-title { font-size: 15px; padding: 0 15px; } 
}


/* Custom Tightening Styles */
.compact-title {
    font-size: 30px !important; /* Reduced from default sizes to fit image boundaries */
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px;
}

.compact-title span {
    color: #960c28 !important; /* Your signature corporate maroon */
}

.title-line { 
    width: 50px; 
    height: 3px; 
    border-radius: 2px; 
    background: #960c28; 
} 

.compact-text-block p {
    font-size: 14px !important; /* Balanced reading size with a high compression factor */
    line-height: 1.5 !important;
}

.compact-text-block .lead {
    font-size: 15px !important; /* Slightly distinct weight for the opener sentence */
    font-weight: 500;
}

.about-feature {
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
}

/* Responsive Fluid Rescaling */
@media(max-width: 768px) { 
    .compact-title { font-size: 24px !important; } 
    .compact-text-block p { font-size: 14px !important; } 
}


/* Restructuring the title grid layout parameters */
.why-us .title-badge { 
    display: inline-block; 
    padding: 6px 14px; 
    border-radius: 4px; 
    background: rgba(150, 12, 40, 0.08); 
    color: #960c28; 
    font-size: 11px; 
    font-weight: 700; 
    letter-spacing: 1.5px; 
    margin-bottom: 14px; 
} 

.why-us .main-title { 
    font-size: 38px; 
    color: #111827; 
    margin-bottom: 12px; 
    line-height: 1.25; 
    letter-spacing: -0.5px;
    text-align: left; /* Explicitly locks text to left */
} 

.why-us .main-title span { 
    color: #960c28; 
} 

.why-us .title-line { 
    width: 50px; 
    height: 4px; 
    border-radius: 2px; 
    background: #960c28; 
    margin: 0 0 20px 0; /* Top, Right, Bottom, Left (Forces the line to remain left) */
} 

.why-us .sub-title { 
    font-size: 16px; 
    color: #4b5563; 
    max-width: 620px; 
    line-height: 1.6; 
    margin: 0; /* CRITICAL FIX: Removed 'margin: auto' which was causing the center bug */
    text-align: left; /* Force alignment on all desktop screen spaces */
} 


.main-text {
  font-size: 24px;
  font-family: sans-serif;
  color: #2c3e50;       /* Dark blue for the rest of the text */
}

.highlight {
  text-decoration: underline;
  text-decoration-color: #960c28; /* Red underline */
  text-decoration-thickness: 3px;  /* Thick line */
  color: #960c28;                 /* Red text for "Wel" */
  font-weight: bold;
  text-underline-offset: 6px;
}


/* Animated Feature Cards */
.feature-card{
    opacity:0;
    transform:translateY(60px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease;
}

.feature-card.show{
    opacity:1;
    transform:translateY(0);
}

.feature-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.feature-card i{
    transition:
        transform .4s ease,
        color .3s ease;
}

.feature-card:hover i{
    transform:scale(1.15) rotate(8deg);
    color:#ff7728 !important;
}

/* Delay */
.feature-card:nth-child(1){
    transition-delay:.1s;
}

.feature-card:nth-child(2){
    transition-delay:.3s;
}

.feature-card:nth-child(3){
    transition-delay:.5s;
}

@media(max-width:768px){

.feature-card{
transform:translateY(40px);
}

}/* Animated Feature Cards */
.feature-card{
    opacity:0;
    transform:translateY(60px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.22,1,.36,1),
        box-shadow .35s ease;
}

.feature-card.show{
    opacity:1;
    transform:translateY(0);
}

.feature-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.feature-card i{
    transition:
        transform .4s ease,
        color .3s ease;
}

.feature-card:hover i{
    transform:scale(1.15) rotate(8deg);
    color:#ff7728 !important;
}

/* Delay */
.feature-card:nth-child(1){
    transition-delay:.1s;
}

.feature-card:nth-child(2){
    transition-delay:.3s;
}

.feature-card:nth-child(3){
    transition-delay:.5s;
}

@media(max-width:768px){

.feature-card{
transform:translateY(40px);
}

}


       /* Premium Background with a subtle overlay gradient */
        .stats-section {
            background: linear-gradient(135deg, #800a22 0%, #960c28 50%, #b01031 100%);
            position: relative;
            overflow: hidden;
        }

        /* Subtle grid background pattern for engineering/solar feel */
        .stats-section::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            opacity: 0.04;
            background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
            background-size: 20px 20px;
            pointer-events: none;
        }

        /* Clean stat block item with border separators on larger viewports */
        .stat-item {
            padding: 1.5rem 1rem;
            border-right: 1px solid rgba(255, 255, 255, 0.15);
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        /* Remove the right border on the last element */
        .row div:last-child .stat-item {
            border-right: none;
        }

        /* Responsive handling: change vertical border to horizontal on mobile layout */
        @media (max-width: 767.98px) {
            .stat-item {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            }
            .row div:last-child .stat-item {
                border-bottom: none;
            }
        }

        /* Premium Counter Typography */
        .stat-number {
            font-size: 3rem;
            font-weight: 800;
            letter-spacing: -1px;
            background: linear-gradient(to bottom, #ffffff 60%, #f1f5f9 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
        }

        /* Crisp, readable labels */
        .stat-label {
            font-size: 0.95rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.85);
            letter-spacing: 0.5px;
            text-transform: uppercase;
            max-width: 200px;
            margin: 0 auto;
            line-height: 1.4;
        }

        /* Interactive hover scaling */
        .stat-item:hover {
            transform: translateY(-5px);
        }


.bento-viewport {
  background-color: var(--bg-white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: calc(100vh - 115px);
  width: 100%;
  position: relative;
}

.bento-full-wrapper {
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
}

.bento-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows: calc((100vh - 180px) / 3);
  gap: 20px;
  width: 100%;
}

/* --- THE HOVER ZOOM MECHANICS --- */
.bento-card {
  border-radius: 20px;
  overflow: hidden; /* CRITICAL: Clips image bounds so it stays within card borders when scaling */
  background-color: var(--card-light);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.bento-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Smooth easing transition curve creates a fluid luxury zoom effect */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
}

/* Triggers zoom to scale exactly when parent card layout receives cursor hover focus */
.bento-card:hover .bento-img {
  transform: scale(1.08); 
}
/* -------------------------------- */

.span-2 { grid-column: span 2; }
.row-2 { grid-row: span 2; }

/* Text Content Overlay Scrim */
.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,17,0.95) 0%, rgba(15,15,17,0.3) 50%, transparent 100%);
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-overlay {
  opacity: 1;
}

.bento-index {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.bento-meta h3 {
  color: #ffffff; /* White text remains inside the dark hover overlay for maximum visibility */
  font-size: 1.4rem;
  font-weight: 500;
  margin: 4px 0 2px 0;
}

.bento-meta p {
  color: #ccc;
  font-size: 0.85rem;
  margin: 0;
}

.bento-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-btn {
  transform: translateY(0);
  background: #ffffff;
  color: #000000;
}

.bento-btn svg { width: 16px; height: 16px; }

/* Lightbox UI Area (Cinema Blur) */
.bento-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.96); /* Crisp matching white backdrop blur */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-lightbox.active .lightbox-content { transform: scale(1); }

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(15,23,42,0.12);
  border: 1px solid var(--border-light);
}

#lightboxTargetTitle {
  color: var(--text-dark);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
}

.lightbox-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.6;
}

/* Responsive Restructuring Mobile Adjustments */
@media (max-width: 1024px) {
  .bento-grid-full {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
}

@media (max-width: 600px) {
  .bento-full-wrapper { padding: 16px; }
  .bento-grid-full {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .bento-card, .span-2, .row-2 {
    width: 100%;
    height: 260px;
  }
  .bento-overlay {
    opacity: 1;
    padding: 16px;
  }
}


/* Apply the stylish Playfair Display font to your headings */
h1, h2, h3 {
    font-family: 'Bricolage Grotesque', 'Syne', Impact, sans-serif;
    letter-spacing: 1.5px;
    font-size: 22px;
    /* 'Plus Jakarta Sans', 'Urbanist', -apple-system, sans-serif; */
    /* 'Bodoni Moda', 'Cormorant Garamond', Georgia, serif; */
    /* 'Clash Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; */
    /* 'Playfair Display', serif; */
    /* font-weight: 700; Bold weight */
}

/* Apply a clean, readable font like Montserrat to your body text */
body, p, li {
    font-family: 'Montserrat', sans-serif;
    /* font-weight: 400; 
    line-height: 1.6;  */
}


/* ==========================================
   1. FLOATING BUTTON POSITIONING (LEFT SIDE)
   ========================================== */
.theme-float-btn {
    position: fixed;
    bottom: 25px; /* Distance from the bottom of the screen */
    left: 25px;   /* Distance from the left side of the screen */
    width: 55px;  /* Equal measurements create a perfect circle */
    height: 55px;
    z-index: 9999; /* Keeps the button stacked on top of carousels and images */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    transition: transform 0.2s ease, background-color 0.25s ease;
}

/* Subtle hover pop effect */
.theme-float-btn:hover {
    transform: scale(1.08);
}


/* ==========================================
   2. DARK MODE OVERRIDES (FOR HARDCODED SECTIONS)
   ========================================== */
/* Force layout elements, bg-white, and bg-light to flip to dark slate */
html[data-theme="dark"] body,
html[data-theme="dark"] section,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .card,
html[data-theme="dark"] .shadow-sm {
    background-color: #121212 !important;
    color: #f8f9fa !important;
    border-color: #2d3748 !important;
}
html[data-theme="dark"] .dropdown-menu {
    background-color: #ff7728 !important;
    color: #f8f9fa !important;
    border-color: #2d3748 !important;
}

/* Update the floating button's own style rules when dark mode is active */
html[data-theme="dark"] .theme-float-btn {
    background-color: #1e1e1e !important;
    border-color: #2d3748 !important;
}

html[data-theme="dark"] .dropdown-menu .dropdown-item {
    color: #ffffff !important; /* Change to #f8f9fa if you prefer white text by default */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Triggers when a user hovers over a dropdown link */
html[data-theme="dark"] .dropdown-menu .dropdown-item:hover,
html[data-theme="dark"] .dropdown-menu .dropdown-item:focus {
    color: #121212 !important;            /* Turns text crisp white on hover */

}
/* ==========================================
   3. TEXT & METRICS COLOR ADJUSTMENTS
   ========================================== */
/* Turn titles, standard paragraphs, and dark text classes white */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .text-dark,
html[data-theme="dark"] p:not(.text-muted) {
    color: #f8f9fa !important;
}

/* Soften grey muted text for ideal dark mode reading contrast */
html[data-theme="dark"] .text-muted {
    color: #a0aec0 !important;
}

/* Keep your custom crimson numbers bright and readable against the dark background */

html[data-theme="dark"] .counter-value,
html[data-theme="dark"] .couter-string {
    color: #ff7728 !important;
}

html[data-theme="dark"] .darkbutton {
    background-color: #ff7728 !important;
}

.darktext {
     color: #960c28 !important;
}

html[data-theme="dark"] .darktext {
    color: #ff7728 !important;
}

html[data-theme="dark"] .menu-toggle-btn {
    background: #ff7728 !important;
}

html[data-theme="dark"] h3[style*="color: #960c28"],
html[data-theme="dark"] h3[style*="color:#960c28"] {
    color: #ff7728 !important; /* Forces the plus sign (+) to change to orange */
}

html[data-theme="dark"] ul li,
html[data-theme="dark"] ol li,
html[data-theme="dark"] li.mb-2 {
    /* 1. Flips text to pure vivid white instead of default soft gray */
    color: #ffffff !important; 
    
    /* 2. Increases line-height and text weight slightly for clearer legibility */
    font-weight: 500 !important;
}
/* ==========================================
   FIX BOOTSTRAP NAVBAR TEXT COLORS IN DARK MODE
   ========================================== */
html[data-theme="dark"] .navbar,
html[data-theme="dark"] nav,
html[data-theme="dark"] .navbar-nav,
html[data-theme="dark"] .nav-link {
    /* Override the local Bootstrap variables directly */
    --bs-navbar-color: #f8f9fa !important;
    --bs-navbar-hover-color: #ffffff !important;
    --bs-navbar-active-color: #ffffff !important;
    --bs-navbar-brand-color: #ffffff !important;
    
    /* Catch-all for standard links and brand logos inside the nav */
    color: #f8f9fa !important;
}

/* Ensure the mobile menu hamburger icon turns white too */
html[data-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://w3.org' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* change when class set to custom-dark-section */
.custom-dark-section {
    background-color: #f8f9fa !important; /* Standard light background */
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* 2. Dark Mode Styling (Triggers ONLY when the button is clicked) */
html[data-theme="dark"] .custom-dark-section {
    /* Set the background to a premium, slightly lighter slate gray */
    background-color: #1a1a1a !important; 
    
    /* Remove any background variables Bootstrap might be trying to inject */
    --bs-light-rgb: 30, 30, 30 !important;
    --bs-bg-opacity: 1 !important;
    
    /* Optional: Soft top border divider lines */
    /* border-top: 1px solid #2d3748 !important; */
}

/* 3. Force nested text elements inside this specific class to turn white */
html[data-theme="dark"] .custom-dark-section h1,
html[data-theme="dark"] .custom-dark-section h2,
html[data-theme="dark"] .custom-dark-section h3,
html[data-theme="dark"] .custom-dark-section p {
    color: #f8f9fa !important;
}

/* ==========================================
   SERVICE CARD BASE LAYOUT & LIGHT MODE
   ========================================== */
.service-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px; /* Smooth rounded corners */
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Hover lift effect for light mode */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ==========================================
   SERVICE CARD DARK MODE OVERRIDES
   ========================================== */
html[data-theme="dark"] .service-card {
    /* Slightly lighter than #1e1e1e to create physical layered depth */
    background-color: #252525 !important; 
    border: 1px solid #333333 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Hover lift effect update for dark mode */
html[data-theme="dark"] .service-card:hover {
    transform: translateY(-5px);
    background-color: #2d2d2d !important; /* Glows slightly lighter on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
    border-color: #444444 !important;
}

/* ==========================================
   CARD TYPOGRAPHY COLORS
   ========================================== */
/* Titles inside the card */
.service-card h3, 
.service-card .card-title {
    color: #212529 !important;
}
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .service-card .card-title {
    color: #f8f9fa !important;
}

/* Descriptions inside the card */
.service-card p, 
.service-card .card-text {
    color: #6c757d !important;
}
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .service-card .card-text {
    color: #a0aec0 !important; /* High contrast reading text */
}

/* Service Icons / Accents */
.service-card .service-icon {
    color: #960c28; /* Your brand crimson/red */
}
html[data-theme="dark"] .service-card .service-icon {
    color: #ff7728; /* Brighter accent tone so it pops against dark gray */
}

html[data-theme="dark"] .title-badge {
    color: rgba(255, 119, 40, 1) !important; /* Your signature rich crimson brand red */
    background-color: rgba(150, 12, 40, 0.3); 
}

html[data-theme="dark"] .shadow-sm {
    /* Deepens the shadow intensity and expands the blur radius slightly */
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.45) !important;
    
    /* Optional: Adds a very subtle 1px border so the container edge pops */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 991.98px) { 
    /* Fix: Main menu item hover links - background turns dark, text turns white */
    html[data-theme="dark"] .menu-item:hover { 
        background-color: #1e1e1e !important; /* Slightly lighter slate for contrast */
        color: #f8f9fa !important;             /* Crisp white text visibility */
        border-color: #2d3748 !important; 
    } 

    /* 1. Complete Dark Mode background for the mobile dropdown tray */ 
    html[data-theme="dark"] .navbar-collapse .dropdown-menu { 
        background-color: #121212 !important; /* True deep dark theme background */
        border: 1px solid #2d3748 !important;  /* Added subtle dark border edge */
        border-radius: 8px !important; 
        margin-top: 5px !important; 
        padding: 8px !important; 
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.4) !important; /* Enhanced shadow depth */
    } 

    /* 2. Fix: Flip default text color to soft white so it reads beautifully over #121212 */ 
    html[data-theme="dark"] .navbar-collapse .dropdown-item { 
        padding-top: 12px !important; 
        padding-bottom: 12px !important; 
        font-size: 14px !important; 
        color: #f8f9fa !important;             /* CHANGED from #212529 to off-white */
        border-radius: 6px !important; 
        background-color: #121212 !important; 
    } 

    /* 3. Fix: Mobile active tap state - background elevates slightly, text stays white */ 
    html[data-theme="dark"] .menu-item:hover,
    html[data-theme="dark"] .navbar-collapse .dropdown-item:hover, 
    html[data-theme="dark"] .navbar-collapse .dropdown-item:focus, 
    html[data-theme="dark"] .navbar-collapse .dropdown-item:active { 
        color: #ff7728 !important; 
        background-color: #121212 !important;   
        /* CHANGED to elevated gray so you can see the card highlight */ 
    } 

    /* 4. Soften the lines to a dark layout separator style */ 
    html[data-theme="dark"] .navbar-collapse .dropdown-divider { 
        margin: 4px 0 !important; 
        background-color: #2d3748 !important;  /* Blends cleanly into the #121212 background */
    } 
    /* ==========================================
    DARK THEME TOGGLER: ONLY WHITE BORDERS & LINES
    ========================================== */
    /* 1. Force the bounding outline border box to white */
    html[data-theme="dark"] .navbar-toggler,
    html[data-theme="dark"] .navbar-toggler.collapsed {
        border-color: #2d3748!important; /* Crisp white outline */
        box-shadow: 1 px !important;                         /* Removes default blue glow */
    }

    /* 2. Force the inner three hamburger vector lines to white */
    html[data-theme="dark"] .navbar-toggler-icon,
    html[data-theme="dark"] .navbar-toggler.collapsed .navbar-toggler-icon {
        /* Rewrites the background vector path stroke property directly to white */
        filter: invert(1) grayscale(1) brightness(2) !important;
    }

}

html[data-theme="dark"] .main-title span,
html[data-theme="dark"] .main-title .highlight,
html[data-theme="dark"] .sub-text span,
html[data-theme="dark"] .sub-text .highlight {
    color: #ff7728 !important; /* Brighter orange color fill */
}


html[data-theme="dark"] .map-address-card {
        background-color: #121212;
}


html[data-theme="dark"] .main-title span span.highlight,
html[data-theme="dark"] .sub-text span span.highlight,
html[data-theme="dark"] .section-title h2 .highlight,
html[data-theme="dark"] h2.sub-text span .highlight
html[data-theme="dark"] h2.main-title span .highlight {
    /* 1. Re-force the text to stay orange */
    color: #ff7728 !important;                  
    
    /* 2. Clear out any inherited text decorations from parent spans */
    text-decoration: underline !important;
    
    /* 3. Explicitly force both standard and webkit underlines to orange */
    text-decoration-color: #ff7728 !important; 
    -webkit-text-decoration-color: #ff7728 !important;
    
    /* 4. Increase visibility of the offset text underline decoration */
    text-underline-offset: 6px !important;
    text-decoration-thickness: 3px !important;
}

html[data-theme="dark"] i.bi[style*="color:#960c28"],
html[data-theme="dark"] i.bi[style*="color: #960c28"],
html[data-theme="dark"] .bi-award-fill {
    color: #ff7728 !important; /* Changes the icon color to your vibrant orange */
}

html[data-theme="dark"] i.bi[style*="color:#960c28"]:hover,
html[data-theme="dark"] i.bi[style*="color: #960c28"]:hover,
html[data-theme="dark"] .bi-award-fill:hover {
    color: #960c28 !important;   /* Change this hex code to your preferred hover color (e.g., #ffffff for pure white) */
    transform: scale(1.1);       /* Optional: Adds a subtle zoom effect to give interactive feedback */
}

.about-banner{
    background-color: rgba(150, 12, 40, 0.95);
    border-radius: 12px !important;
}


html[data-theme="dark"] .about-banner {
    background-color: #ff7728;
    border-radius: 12px !important;
}

html[data-theme="dark"] .agent-toggle-btn {
    background-color: #ff7728;
}
/* ==========================================
   FONTAWESOME ICONS DARK MODE COLOR FIX
   ========================================== */
/* Targets any FontAwesome icon with the hardcoded crimson color style */
html[data-theme="dark"] i.bi-geo-alt-fill,
html[data-theme="dark"] i.fa-3x {
    color: #ff7728 !important; /* Changes the icon color to your vibrant solar orange */
}

/* Optional: Handles hover interactive state in dark mode */
html[data-theme="dark"] i.fa-3x:hover {
    color: rgba(150, 12, 40, 0.95) !important; /* Turns white on hover */
    transform: scale(1.08);    /* Subtle interactive lift effect */
    transition: all 0.2s ease;
}

/* ==========================================
   CUSTOM SOLAR TABS DARK MODE ENGINE
   ========================================== */

html[data-theme="dark"] .custom-solar-tabs .nav-link {
    color: #f8f9fa !important; /* Clean readable off-white text layers */
    transition: all 0.25s ease !important;
    background-color:  #121212!important; /* Soft 10% transparent orange tint background */
}

/* 2. Dark Theme Hover State (When a user hovers over an inactive tab) */
html[data-theme="dark"] .custom-solar-tabs .nav-link:hover:not(.active) {
    color: #f8f9fa !important;            /* Turns text letters to solar orange */
    background-color: #121212 !important; /* Soft 10% transparent orange tint background */
}

/* 3. Dark Theme Active State (The currently highlighted tab layout box) */
html[data-theme="dark"] .custom-solar-tabs .nav-link.active {
    background-color: #ff7728 !important; /* Fills block with vibrant solid orange */
    color: #121212 !important;            /* High-contrast dark text inside the active orange box */
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(255, 119, 40, 0.35) !important; /* Premium glowing orange drop shadow */
}


.logo-dark-view {
    display: none !important; /* Forces the white-text logo variant to hide */
}
.logo-light-view {
    display: inline-block !important; /* Displays your standard black logo variant */
}

/* DARK THEME (ACTIVATED STATE via Toggle Button) */
html[data-theme="dark"] .logo-light-view {
    display: none !important; /* Instantly hides the black-text logo variant */
}
html[data-theme="dark"] .logo-dark-view {
    display: inline-block !important; /* Exposes the clean white logo variant */
}

.text_distributor{
    color: #960c28 !important;  
}
html[data-theme="dark"] .text_distributor{
    color: #ff7728 !important;  
}

.bg_distributor{
    background-color: #960c28 !important;  
}
html[data-theme="dark"] .bg_distributor{
    background-color: #ff7728 !important;  
}




   /* Professional Fade-In with slight scale */
    .fade-in-up {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Staggered entry delays */
    .card-delay-1 { animation-delay: 0.1s; }
    .card-delay-2 { animation-delay: 0.2s; }
    .card-delay-3 { animation-delay: 0.3s; }

    @keyframes fadeInUp {
        to { 
            opacity: 1; 
            transform: translateY(0) scale(1); 
        }
    }

    /* Premium Hover Physics */
    .hover-premium {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .hover-premium:hover {
        transform: translateY(-6px);
        box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.08) !important;
    }

    /* Premium image frame/border styling */
    .img-border-wrapper {
        padding: 8px;
        background-color: #ffffff;
    }
    .img-framed {
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 4px;
    }

    /* Target perfect round buttons */
    .btn-round {
        border-radius: 50px !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        font-weight: 500;
        letter-spacing: 0.3px;
    }

    .hover-zoom-img:hover {
        transform: scale(1.10);
    }



/* Card container using aspect-ratio instead of fixed height */
.flip-card {
    background-color: transparent;
    width: 100%;
    /* 4:3 aspect ratio on mobile, adjusts dynamically */
    aspect-ratio: 4 / 3; 
    perspective: 1000px; 
}

/* Medium devices (tablets/desktops, 768px and up) */
@media (min-width: 768px) {
    .flip-card {
        /* Wider 16:9 cinematic aspect ratio for desktop */
        aspect-ratio: 16 / 9; 
    }
}

/* Inner container holding the transition state */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Trigger flip on hover */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Common properties for front and back faces */
.flip-card-front, .flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Front face containing the image */
.flip-card-front {
    background-color: #f8f9fa;
}

/* Forces image to fill the card perfectly without stretching */
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Back face containing the text content */
.flip-card-back {
    background-color: #ffffff; 
    transform: rotateY(180deg);
    overflow-y: auto; /* Adds a scrollbar if text is too long on tiny screens */
}

html[data-theme="dark"] .flip-card-back {
    background-color: #121212;
    transform: rotateY(180deg);
    overflow-y: auto; /* Adds a scrollbar if text is too long on tiny screens */
}



/* Full-screen background overlay */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
}

/* Custom Logo Styling and Animation */
.animated-logo {
    width: 120px; /* Adjust size to fit your logo design */
    height: auto;
    /* Loops the pulse animation every 1.5 seconds smoothly */
    animation: logoPulse 1.5s ease-in-out infinite; 
}

/* Pulse Animation Logic */
@keyframes logoPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* Progress */

#progress{

position:fixed;
top:0;
left:0;
height:4px;
background:linear-gradient(90deg,#960c28, #ff7728);
width:0;
z-index:99999;

}


/* .fixed-banner{
    transition: transform 0.3s ease;
}

.fixed-banner.hide{
    transform: translateY(-100%);
} */

.fixed-banner{
    overflow: hidden;
    max-height: 85px;      /* Set to your banner's actual height */
    padding-top: .5rem;
    padding-bottom: .5rem;
    transition: max-height .35s ease,
                padding .35s ease,
                opacity .25s ease;
}

.fixed-banner.hide{
    max-height: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    opacity: 0 !important;
    border-bottom: none !important;
}