@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #1A5230;
    /* Dark Forest Green - from logo */
    --primary-rgb: 26, 82, 48;
    --secondary: #D4961A;
    /* Golden Amber - from slides */
    --secondary-rgb: 212, 150, 26;
    --dark: #F5FAF7;
    /* Light Page Background */
    --dark-card: #FFFFFF;
    /* White Cards */
    --dark-card-border: rgba(26, 82, 48, 0.1);
    --light-bg: #EBF5EF;
    /* Alternate Light Green Sections */
    --text-muted: #4E7260;
    /* Medium forest green for muted text */
    --text-dark: #0D3D22;
    /* Very dark green for main text */
    --text-light: #FFFFFF;
    /* White - for dark sections only */
    --accent-grad: linear-gradient(135deg, #1A5230 0%, #D4961A 100%);
    --accent-grad-hover: linear-gradient(135deg, #256B3E 0%, #E8A81E 100%);
    --bg-dark-grad: linear-gradient(180deg, #F5FAF7 0%, #EBF5EF 100%);
    --glass-bg: rgba(26, 82, 48, 0.05);
    --glass-border: rgba(26, 82, 48, 0.12);
    --glass-shadow: 0 8px 32px 0 rgba(26, 82, 48, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

/* Ensure Bootstrap's text-muted class uses our bright high-contrast color */
.text-muted {
    color: var(--text-muted) !important;
}

/* Global Reset & Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    /* Light #F5FAF7 */
    color: var(--text-dark);
    /* Dark forest green */
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Gradient Text Utility */
.gradient-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Section Header */
.section-tag {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--text-dark) !important;
    /* Force dark green for light theme */
}

/* =============================================
   LIGHT THEME GLOBAL OVERRIDES
   Fix Bootstrap's text-white on light backgrounds.
   Hero, footer, and explicit dark sections keep white.
   All content sections get dark text.
   ============================================= */

/* Content area headings — force dark green */
.feature-card .text-white,
.feature-title,
.calc-glass-container .text-white,
.testimonial-card .text-white,
.accordion-item .text-white,
.contact-info-card .text-white,
.contact-form-container .text-white,
.stat-card-row .text-white {
    color: var(--text-dark) !important;
}

/* Page hero headers (dark green bg — keep white) */
.page-hero h1.text-white,
.page-hero .text-white,
.hero-section .text-white,
.hero-section h1,
.hero-section h2,
.hero-section p {
    color: #FFFFFF !important;
}

/* Feature/service card titles */
.feature-title {
    color: var(--text-dark);
}

/* Content section h2, h3, h4, h5 headings on light bg */
section:not(.hero-section):not(.page-hero) h2.text-white,
section:not(.hero-section):not(.page-hero) h3.text-white,
section:not(.hero-section):not(.page-hero) h4.text-white,
section:not(.hero-section):not(.page-hero) h5.text-white {
    color: var(--text-dark) !important;
}

/* Labels in forms on light bg */
section:not(.hero-section):not(.page-hero) label.text-white {
    color: var(--text-muted) !important;
}

/* Footer - text colors for white/light footer */
.footer .footer-desc,
.footer .footer-links a,
.footer .footer-bottom-links a,
.footer .footer-bottom p {
    color: var(--text-muted) !important;
}

.footer .footer-title {
    color: var(--text-dark) !important;
}

.footer .footer-bottom-links a:hover,
.footer .footer-links a:hover {
    color: var(--secondary) !important;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}


/* Transparent Sticky Navbar with Glassmorphism - White/Light Theme */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    /* White with transparency */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(26, 82, 48, 0.12);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    /* Solid White on scroll */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 82, 48, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 80px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 1.05rem;
    margin: 0 0.5rem;
    position: relative;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-grad);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 30, 30, 0.75%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* =========================
   Mobile Navbar Fix
========================= */
@media (max-width: 991.98px) {

    .navbar-collapse {
        background: #fff;
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
    }

    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin: 0;
    }

    .navbar-nav .nav-link {
        display: inline-block;
        padding: 12px 0;
        margin: 0;
    }

    /* Active line only under text */
    .navbar-nav .nav-link::after {
        bottom: 4px;
    }

    /* Get Quote Button */
    .navbar-nav .ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 15px;
    }

    .navbar-nav .btn-custom {
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* Custom Buttons */
.btn-custom {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-custom-primary {
    background: var(--accent-grad);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 82, 48, 0.3);
}

.btn-custom-primary:hover {
    background: var(--accent-grad-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 82, 48, 0.45);
}

.btn-custom-secondary {
    background: rgba(26, 82, 48, 0.06);
    color: var(--text-dark);
    border: 1px solid var(--glass-border);
}

.btn-custom-secondary:hover {
    background: rgba(26, 82, 48, 0.12);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Section tags inside hero banners — must be white on dark green bg */
.hero-section .section-tag,
.page-hero .section-tag {
    color: var(--secondary) !important;
    /* Gold color visible on dark green */
}

/* Hero Secondary Button - keep visible on dark background */
.hero-section .btn-custom-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-section .btn-custom-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 10rem 0 7rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2E1C 0%, #1A5230 50%, #0D3D22 100%);
    /* Dark Green Hero - from Slide 1 */
    overflow: hidden;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-circle-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 150, 26, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-circle-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 82, 48, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Prominent brand name in hero */
.hero-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 4.25rem;
    font-weight: 900;
    line-height: 1;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.hero-brand-llp {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
    border-radius: 6px;
    padding: 0.15rem 0.55rem;
    line-height: 1;
}

.hero-brand-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-brand-name {
        font-size: 2.9rem;
    }

    .hero-brand-tagline {
        font-size: 0.95rem;
    }
}

.hero-title {
    font-size: 3.55rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.hero-title .gradient-text {
    /* Remove the global gradient fill and use the inherited text color
       so the heading appears uniformly dark on all sides. */
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: inherit;
    font-weight: 900;
    text-shadow: none;
    color: rgb(205, 159, 34);
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-visual-wrapper {
    position: relative;
    z-index: 2;
}

.hero-main-img {
    position: relative;
    border-radius: 24px;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-main-img {
        height: 280px;
    }
}

.hero-glass-card {
    position: absolute;
    background: rgba(19, 23, 34, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--glass-shadow);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.hero-card-1 {
    top: 15%;
    left: -15%;
    animation-delay: 0s;
}

.hero-card-2 {
    bottom: 10%;
    right: -8%;
    animation-delay: 3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Info Banner Stat Cards */
.stat-card-row {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(26, 82, 48, 0.15);
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(26, 82, 48, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .stat-card-row {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(26, 82, 48, 0.1);
        padding: 1.25rem 0;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Feature/Service Section Cards */
.features-section {
    padding: 7rem 0;
    position: relative;
}

.feature-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 82, 48, 0.25);
    box-shadow: 0 15px 35px rgba(26, 82, 48, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(26, 82, 48, 0.08);
    /* Green tinted icon bg */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
}

.feature-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-grad);
}

.feature-card:hover .feature-icon-wrapper i {
    color: white;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Solar Savings Calculator Section */
.calculator-section {
    padding: 7rem 0;
    background: radial-gradient(circle at 75% 25%, rgba(26, 82, 48, 0.06) 0%, rgba(0, 0, 0, 0) 60%);
}

.calc-glass-container {
    background: rgba(255, 255, 255, 0.85);
    /* White/light glass in light theme */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(26, 82, 48, 0.1);
}

@media (max-width: 768px) {
    .calc-glass-container {
        padding: 1.75rem;
    }
}

.calc-slider-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.75rem;
}

.calc-slider-value {
    color: var(--primary);
    font-size: 1.15rem;
}

/* Range input styling */
.form-range {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-grad);
    border: 2px solid #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 10px rgba(26, 82, 48, 0.4);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--secondary);
}

.roof-type-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.roof-btn {
    flex: 1;
    background: rgba(26, 82, 48, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    text-align: center;
}

.roof-btn.active,
.roof-btn:hover {
    background: var(--accent-grad-hover);
    border-color: transparent;
    color: white;
}

.calc-output-card {
    background: rgba(26, 82, 48, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.calc-output-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.calc-output-value {
    font-size: 2.25rem;
    font-weight: 850;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.calc-output-value.highlight {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Portfolio Section */
.portfolio-section {
    padding: 7rem 0;
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(26, 82, 48, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-grad);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(26, 82, 48, 0.3);
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    border: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 13, 20, 0.95) 0%, rgba(10, 13, 20, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    transition: var(--transition-smooth);
}

.portfolio-category {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.portfolio-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    transform: translateY(20px);
    transition: var(--transition-smooth);
    opacity: 0;
}

.portfolio-card:hover .portfolio-card-img {
    transform: scale(1.08);
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(0deg, rgba(10, 13, 20, 0.98) 0%, rgba(21, 26, 38, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.portfolio-card:hover .portfolio-category,
.portfolio-card:hover .portfolio-title,
.portfolio-card:hover .portfolio-meta {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments for portfolio grid/cards */
@media (max-width: 1200px) {
    .portfolio-card {
        height: 340px;
    }
}

@media (max-width: 992px) {
    .portfolio-card {
        height: 300px;
    }

    .portfolio-overlay {
        padding: 1.5rem;
    }

    .portfolio-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .portfolio-card {
        height: 240px;
    }

    .portfolio-overlay {
        padding: 1rem;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .portfolio-meta {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .portfolio-card {
        height: 200px;
    }

    .portfolio-title {
        font-size: 1rem;
    }

    .portfolio-meta {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
}

/* Testimonial Section */
.testimonials-section {
    padding: 7rem 0;
    position: relative;
    background: radial-gradient(circle at 10% 80%, rgba(26, 82, 48, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
}

.testimonial-carousel-wrapper {
    position: relative;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 4rem;
    color: rgba(26, 82, 48, 0.06);
    pointer-events: none;
}

.testimonial-stars {
    color: #FFC107;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    /* Dark text on white testimonial cards */
    margin-bottom: 2.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: none;
    margin: 0 6px;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.carousel-indicators .active {
    width: 24px;
    border-radius: 5px;
    background: var(--accent-grad);
    opacity: 1;
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 7rem 0;
}

.accordion-item {
    background-color: var(--dark-card) !important;
    border: 1px solid var(--dark-card-border) !important;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item:hover {
    border-color: rgba(26, 82, 48, 0.2) !important;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: transparent !important;
    color: var(--text-dark) !important;
    /* Dark text on white accordion */
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.5rem 2rem;
    box-shadow: none !important;
    transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed) {
    color: var(--primary) !important;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231A5230'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transition: var(--transition-smooth);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D4961A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 0 2rem 2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Section & Form */
.contact-section {
    padding: 7rem 0;
}

.contact-info-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(26, 82, 48, 0.08);
    /* Green tinted icon bg matching slides */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    /* Dark text on light contact card */
}

.contact-form-container {
    background: #FFFFFF;
    /* White card matching light theme */
    border: 1px solid var(--dark-card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(26, 82, 48, 0.08);
}

/* Global Form Fields - Light theme */
.form-control,
.form-select,
select,
input,
textarea {
    background-color: #F5FAF7 !important;
    /* Very light green bg */
    border: 1px solid var(--glass-border) !important;
    color: var(--text-dark) !important;
    /* Dark text for readability */
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus,
select:focus,
input:focus,
textarea:focus {
    background-color: #FFFFFF !important;
    border-color: var(--primary) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 0 12px rgba(26, 82, 48, 0.15) !important;
    outline: none !important;
}

/* Blog Cards (blogs.html) */
.blog-thumb {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, #0A2E1C 0%, #1A5230 60%, #0D3D22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-thumb i {
    font-size: 2.6rem;
    color: var(--secondary);
    opacity: 0.9;
}

.blog-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0D3D22;
    background: var(--secondary);
    border-radius: 20px;
    padding: 0.22rem 0.7rem;
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-soon {
    display: inline-block;
    align-self: flex-start;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: rgba(26, 82, 48, 0.08);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
}

/* Blog card hover (dynamic listing) */
a:hover > .feature-card .feature-title {
    color: var(--primary);
}

/* Single blog article body (rendered from admin HTML) */
.blog-article {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-article h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.blog-article h3 {
    font-size: 1.3rem;
    margin: 1.75rem 0 0.85rem;
    color: var(--text-dark);
}

.blog-article p {
    margin-bottom: 1.15rem;
    color: var(--text-muted);
}

.blog-article ul,
.blog-article ol {
    margin: 0 0 1.15rem 1.25rem;
    color: var(--text-muted);
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.blog-article a {
    color: var(--primary);
    font-weight: 600;
}

.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.25rem 0;
}

.blog-article blockquote {
    border-left: 4px solid var(--secondary);
    background: var(--light-bg);
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    color: var(--text-dark);
    font-style: italic;
}

.blog-article h4 {
    font-size: 1.12rem;
    margin: 1.4rem 0 0.7rem;
    color: var(--text-dark);
}

.blog-article figure {
    margin: 1.5rem 0;
}

.blog-article figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* Tables authored in the editor */
.blog-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.blog-article th,
.blog-article td {
    border: 1px solid var(--glass-border);
    padding: 0.65rem 0.9rem;
    text-align: left;
    vertical-align: top;
}

.blog-article thead th,
.blog-article tr:first-child th {
    background: var(--light-bg);
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Let the wide table scroll on small screens instead of breaking layout */
@media (max-width: 575.98px) {
    .blog-article table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Solar Journey Timeline (infographic image) */
.journey-timeline-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(26, 82, 48, 0.12);
}

/* After-Sales SLA callout */
.journey-sla {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 640px;
    margin: 2.5rem auto 0;
    padding: 1rem 1.5rem;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--secondary);
    border-radius: 12px;
    text-align: left;
}

.journey-sla-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 150, 26, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.journey-sla-text {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.journey-sla-text strong {
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 575.98px) {
    .journey-sla {
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
    }
}

/* Form Validation States */
.form-control.is-invalid,
.form-select.is-invalid,
input.is-invalid,
textarea.is-invalid,
select.is-invalid {
    border-color: #dc3545 !important;
    background-image: none !important;
    padding-right: 0.75rem !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus,
input.is-invalid:focus,
textarea.is-invalid:focus,
select.is-invalid:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.form-control.is-valid,
.form-select.is-valid,
input.is-valid,
textarea.is-valid,
select.is-valid {
    border-color: #15803d !important;
    background-image: none !important;
    padding-right: 0.75rem !important;
}

.form-control.is-valid:focus,
.form-select.is-valid:focus,
input.is-valid:focus,
textarea.is-valid:focus,
select.is-valid:focus {
    border-color: #15803d !important;
    box-shadow: 0 0 0 0.2rem rgba(21, 128, 61, 0.15) !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-top: 0.35rem;
}

/* Floating Contact Group (Call / WhatsApp / Get Quote) */
.floating-contact-group {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1050;
}

.floating-contact-item {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(10, 13, 20, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    font-size: 1.15rem;
}

.floating-contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(10, 13, 20, 0.24);
}

.floating-call {
    background: var(--primary);
}

.floating-whatsapp {
    background: #25D366;
}

.floating-quote {
    background: var(--accent-grad);
}

@media (max-width: 576px) {
    .floating-contact-group {
        right: 12px;
        bottom: 12px;
    }

    .floating-contact-item {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* Modal sizing & responsiveness for site-wide contact modal (#contactModal) */
#contactModal .modal-dialog {
    max-width: 540px;
    /* narrower width */
    width: 100%;
    margin: 1.5rem auto;
}

#contactModal .modal-content {
    max-height: calc(100vh - 80px);
    /* taller modal but keeps spacing from viewport */
    overflow: hidden;
    border-radius: 12px;
}

#contactModal .modal-body {
    min-height: 480px;
    /* increase visual height */
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    /* scroll inside modal when content exceeds */
    padding: 1.5rem;
}

@media (max-width: 768px) {
    #contactModal .modal-dialog {
        max-width: 92%;
        margin: 0.75rem auto;
    }

    #contactModal .modal-body {
        min-height: 360px;
        max-height: calc(100vh - 140px);
    }
}

@media (max-width: 480px) {
    #contactModal .modal-dialog {
        max-width: 96%;
        margin: 0.5rem auto;
    }

    #contactModal .modal-body {
        min-height: 280px;
        max-height: calc(100vh - 96px);
        padding: 1rem;
    }
}

/* Style floating labels correctly */
.form-floating>label {
    color: var(--text-muted) !important;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select:focus~label,
.form-floating>.form-select:not(:placeholder-shown)~label {
    color: var(--primary) !important;
}

/* Style dropdown options for light theme */
option {
    background-color: #FFFFFF !important;
    color: var(--text-dark) !important;
}

/* Mobile Navbar Collapse - white glassmorphism */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border: 1px solid rgba(26, 82, 48, 0.15) !important;
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }
}

/* =============================================
   COMPREHENSIVE FIX: text-white on light backgrounds
   All elements with .text-white outside hero/page-hero 
   are forced to use dark readable colors.
   Hero sections keep white text.
   ============================================= */

/* ALL .text-white elements outside hero sections → dark text */
section:not(.hero-section):not(.page-hero) .text-white,
section:not(.hero-section):not(.page-hero).text-white,
footer .text-white,
footer.text-white {
    color: var(--text-dark) !important;
}

/* Labels outside hero sections → muted (not full dark) */
section:not(.hero-section):not(.page-hero) label.text-white,
section:not(.hero-section):not(.page-hero) .form-label.text-white {
    color: var(--text-muted) !important;
}

/* Keep text white INSIDE hero sections */
.hero-section .text-white,
.page-hero .text-white,
.hero-section.text-white,
.page-hero.text-white {
    color: #FFFFFF !important;
}

/* Hero description text inside hero - slightly dimmed white */
.hero-section .hero-desc,
.page-hero .hero-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Portfolio overlay text should remain white (dark overlay background) */
.portfolio-overlay .text-white,
.portfolio-overlay .portfolio-category,
.portfolio-overlay .portfolio-title,
.portfolio-overlay .portfolio-meta {
    color: #FFFFFF !important;
}

/* Fix hero-desc color in sub-page headers on dark bg - keep white for hero areas */
.hero-section .hero-desc,
.page-hero .hero-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Ensure accordion button text is dark */
.accordion-button:focus {
    box-shadow: none !important;
    background-color: transparent !important;
    color: var(--text-dark) !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary) !important;
    background-color: rgba(31, 112, 75, 0.06) !important;
}

.accordion-button:not(.collapsed):focus {
    color: var(--primary) !important;
    background-color: rgba(31, 112, 75, 0.06) !important;
}

/* Footer Styling - White/Light Theme */
.footer {
    background: #FFFFFF;
    /* White Footer */
    border-top: 1px solid rgba(26, 82, 48, 0.1);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
}

.footer-logo {
    height: 52px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26, 82, 48, 0.06);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--accent-grad);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    background-color: var(--dark);
    border: 1px solid rgba(26, 82, 48, 0.15);
    color: var(--text-dark);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    flex-grow: 1;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #FFFFFF;
}

.newsletter-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-grad);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.newsletter-btn:hover {
    background: var(--accent-grad-hover);
    transform: scale(1.05);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 82, 48, 0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* Animations using GSAP & Scroll */
[data-aos] {
    transition-duration: 800ms !important;
}