/* Typography */
body { font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* Sticky Navbar customization */
.navbar { transition: all 0.3s ease; }
.nav-link { font-size: 0.95rem; color: #333 !important; }
.nav-link:hover { color: #003366 !important; }

/* Custom Colors */
.text-primary { color: #003366 !important; }
.bg-primary { background-color: #003366 !important; }
.btn-warning { background-color: #FFCC00; border: none; color: #000; transition: 0.3s; }
.btn-warning:hover { background-color: #e6b800; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Footer styling */
footer { background-color: #0e1111; } /* Richer dark color */
footer h5 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Floating Buttons */
.float-wa { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background-color: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-decoration: none; }
.float-call { position: fixed; width: 60px; height: 60px; bottom: 90px; right: 20px; background-color: #007bff; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 25px; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-decoration: none; }

.footer-links li a {
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #ffcc00 !important;
    padding-left: 8px;
}

/* Ensure the footer background is a deep professional navy/black */
.bg-dark {
    background-color: #0b0d10 !important;
}

.text-warning {
    color: #ffcc00 !important;
}

/* Floating WhatsApp Button Styling */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.float-wa:hover {
    background-color: #128c7e;
    color: white;
}
/* Big Subsidy Cards */
.subsidy-card.card-big {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    padding: 40px 20px;
    border-radius: 25px;
    border: 3px solid #ffcc00;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subsidy-card.card-big:hover {
    transform: translateY(-10px);
    background: #ffffff;
}

.subsidy-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #003366;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.subsidy-price {
    font-size: 3.5rem; /* BIG SIZE */
    font-weight: 900;
    color: #d90429; /* High visibility red/dark color */
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 1px 1px 0px #fff;
}

.subsidy-footer {
    background: #ffcc00;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: bold;
    color: #000;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Stylish Hero Image Box */
.image-box-main {
    position: relative;
    display: inline-block;
    padding: 15px;
    background: white;
    border-radius: 40px;
    animation: floating 4s ease-in-out infinite;
}

.floating-check {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 5;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Page Speed & Mobile Adjustments */
@media (max-width: 768px) {
    .subsidy-price { font-size: 2.5rem; }
    .display-3 { font-size: 2.5rem; }
}

/* Gallery Container */
.solar-gallery-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background: #fdfdfd;
}

/* The Moving Track */
.solar-gallery-track {
    display: flex;
    width: calc(300px * 12); /* 300px width per image * 12 items */
    animation: scrollRightToLeft 30s linear infinite;
}

/* Stop scrolling when user hovers mouse */
.solar-gallery-wrapper:hover .solar-gallery-track {
    animation-play-state: paused;
}

/* Individual Image Item */
.solar-gallery-item {
    width: 300px;
    height: 220px;
    margin: 0 10px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.solar-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.solar-gallery-item:hover img {
    transform: scale(1.1);
}

/* Stylish Overlay for Location */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 51, 102, 0.9));
    color: white;
    padding: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: 0.3s ease;
}

.solar-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* THE ANIMATION */
@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half of the track (the original 6 images) */
        transform: translateX(calc(-320px * 6));
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .solar-gallery-item {
        width: 200px;

        /* Partner Logo Container */
.partner-logo-wrap {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px; /* Fixed height for uniformity */
}

/* Gray to Color Effect */
.partner-logo {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.partner-logo-wrap:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.partner-logo-wrap:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Breadcrumb Hero Styling */
.breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
    opacity: 0.5;
}

/* Experience Badge in Company Image */
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    z-index: 5;
    min-width: 150px;
}

/* Icon Box for Mission/Vision */
.icon-box-about {
    width: 100px;
    height: 100px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.card:hover .icon-box-about {
    background: #003366;
}
.card:hover .icon-box-about i {
    color: #fff !important;
}

/* Team Section Styling */
.team-img-wrapper img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
}
.team-card {
    transition: all 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px);
}

/* Service Card Hover Effects */
.service-card-premium {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.icon-wrap i {
    transition: transform 0.3s ease;
}

.service-card-premium:hover .icon-wrap i {
    transform: rotateY(180deg);
}

/* Breadcrumb Styling for Dark Bg */
.breadcrumb-item a {
    color: #ffcc00;
}
.breadcrumb-item.active {
    color: #fff;
}
/* Gallery Card Premium Look */
.gallery-card-premium {
    cursor: pointer;
    background: #000;
}

.gallery-card-premium img {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    width: 100%;
}

.gallery-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 51, 102, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card-premium:hover .gallery-overlay-premium {
    opacity: 1;
}

.gallery-card-premium:hover img {
    transform: scale(1.15);
    opacity: 0.6;
}

/* Specific Shadow for Gallery Images */
.gallery-card-premium {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}