:root {
    --green-900: #0e4421;
    --green-800: #1a472a;
    --green-700: #2d5a3d;
    --gold: #feda75;
    --gold-soft: #ffd700;
    --white: #ffffff;
    --bg-soft: #f8f9fa;
    --text: #333333;
    --text-light: #555555;
    --shadow-soft: rgba(15, 23, 42, 0.08);
    --shadow-strong: rgba(15, 23, 42, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

/* Global Layout */
main,
section,
footer {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: rgb(241, 241, 241);
    color: #1a472a;
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.nav-container {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    flex-wrap: nowrap !important;
}

.logo-img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    /* gap: 3rem; */
    image-rendering: auto;
}

.nav-menu {
    justify-content: flex-end;
    display: flex !important;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: nowrap !important;
    align-items: center;
    width: auto;
    overflow-x: auto;
}

.nav-menu a {
    font-weight: 600;
    color: #0e4421;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    font-weight: 700;
    transform: scale(1);
    color: blueviolet;
}

.mobile-menu-btn {
    display: none !important;
    background: none;
    border: none;
    color: #0e4421;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    box-shadow: 0 0 1px rgba(0.5, 0.5, 0.5, 0.05);
}

.mobile-menu-btn:hover {
    font-weight: 700;
    transform: scale(1);
    color: blueviolet;
}

/* Main Content */
.main-content {
    margin-top: 0;
}

.page {
    display: none;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 80px);
}

.page.active {
    display: block;
}

/* Hero Section */
.hero {
    /* min-height: 60vh; */
    background-image: url('images/solar-back.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
    padding: 12rem 1rem 4rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1px;
    overflow: hidden;

}

.hero h1 {
    color: #fbff02;
    font-size: 3.5rem;
    margin-bottom: 10rem;
    text-shadow: 2px 2px 4px rgba(2.5, 3.5, 2.5, 4.5);
}

.hero h3 {
    color: #feda75;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: -8.9rem;
    text-shadow: 2px 2px 4px rgba(2.5, 3.5, 2.5, 4.5);
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.08rem;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    /* margin: 0.5rem; */
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Stats */
.counter-section {
    background-color: #fff;
    padding: 40px 20px;
}

.counter-container {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.stats-box {
    /* background-color: rgb(243, 243, 243); */
    border-radius: 12px;
    padding: 30px 20px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;

}

.stats-box:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 36px;
    font-weight: bold;
    color: rgb(5, 8, 102);
    margin-bottom: 10px;
}

.stats-box p {
    font-weight: 600;
    font-size: 16px;
    color: #1a472a;
}


/* our solar Solution */
.solar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: auto;
    align-items: start;
    box-sizing: border-box;
}

.solar-card {
    border: 2px solid green;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

.solar-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px;
    display: block;
}

.solar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 10px;
    color: #1a472a;
}

.solar-card:hover {
    transform: translateY(-5px);
}

.solar-card:hover {
    transform: translateY(-5px);
}

.solar-card button {
    background: #002aff;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.solar-card button:hover {
    background: #0055ff;
}

.Check-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.Check-more-btn {
    background: linear-gradient(135deg, #ffd700 0%, #f9c74f 100%);
    color: #1a1a1a;
    border: none;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 10px 22px rgba(245, 184, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.Check-more-btn:hover {
    background: linear-gradient(135deg, #f5c922 0%, #f0bb1f 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(245, 184, 0, 0.32);
}

@media (min-width: 0px) {
    .Check-more-container {
        display: flex; 
        justify-content: center;
        align-items: center;
    }
}




/* YouTube Videos Section */
.youtube-section {
    padding: 2rem 1rem;
    background: #f9f9f9;
}

.youtube-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a472a;
    margin-bottom: 2.5rem;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

.youtube-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-video iframe {
    width: 100%;
    height: 200px;
    border: none;
}


.youtube-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.youtube-item:hover {
    transform: translateY(-4px);
}

.youtube-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.youtube-content h3 {
    color: #1a472a;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.google-profile-section {
    padding: 2rem 1rem 2rem;
    background: #f9f9f9;
}

.google-profile-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
    border: 1px solid #e5ecf5;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    padding: 1.5rem;
}

.customer-review-marquee-section {
    padding: 0 1rem 4rem;
    background: #f5f9f6;
}

.section-title-wrap {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.section-title-wrap h2 {
    margin: 0;
    color: #1a472a;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
}

.customer-review-marquee {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 18px;
    background: linear-gradient(135deg, #f9fdf8 0%, #eef9f3 100%);
    border: 1px solid rgba(26, 71, 42, 0.08);
    box-shadow: 0 12px 24px rgba(26, 71, 42, 0.06);
}

.customer-review-marquee::before,
.customer-review-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 1;
}

.customer-review-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #f9fdf8, rgba(249, 253, 248, 0));
}

.customer-review-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #f9fdf8, rgba(249, 253, 248, 0));
}

.review-track {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    width: max-content;
    animation: reviewScroll 52s linear infinite;
}

.review-card {
    min-width: 280px;
    max-width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 1.1rem 1rem;
    border: 1px solid #ebf0ee;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.review-card .stars {
    color: #f5b700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
}

.review-card p {
    margin: 0 0 0.8rem;
    color: #45525b;
    line-height: 1.7;
    font-size: 0.96rem;
}

.review-card strong {
    color: #1a472a;
    font-size: 0.9rem;
}

@keyframes reviewScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-marquee {
    padding-bottom: 4rem;
}

.certificates-slider-wrap {
    margin: 2.5rem auto 0;
    max-width: 1200px;
    padding: 0 1rem;
}

.certificates-header {
    margin-bottom: 1rem;
}

.certificates-header h3 {
    color: #1a472a;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    margin: 0;
}

.certificates-slider {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, #effaf2 0%, #f9fbff 100%);
    border: 1px solid rgba(26, 71, 42, 0.08);
    box-shadow: 0 12px 24px rgba(26, 71, 42, 0.05);
    scrollbar-width: thin;
    scrollbar-color: #1a472a #edf7ef;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    min-height: 290px;
    padding: 0.8rem 0;
}

@keyframes certificateScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.certificates-slider::-webkit-scrollbar {
    height: 10px;
}

.certificates-slider::-webkit-scrollbar-thumb {
    background: #1a472a;
    border-radius: 999px;
}

.certificates-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
    padding: 1.4rem 3rem;
    min-height: 240px;
    align-items: stretch;
    animation: certificateScroll 38s linear infinite;
}

.certificate-card {
    min-width: 300px;
    max-width: 300px;
    min-height: 220px;
    background: #fff;
    border: 1px solid #e7efe9;
    border-radius: 18px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.certificate-card {
    scroll-snap-align: start;
}

.certificate-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1a472a, #2e6b44);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.certificate-card h4 {
    margin: 0 0 0.5rem;
    color: #1a472a;
    font-size: 1.08rem;
}

.certificate-card p {
    margin: 0;
    color: #54616c;
    font-size: 0.94rem;
}

@media (max-width: 576px) {
    .certificate-card {
        min-width: 260px;
        max-width: 260px;
        min-height: 200px;
    }
}

.about-google-section {
    padding-top: 2.5rem;
}

.google-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.map-with-logo {
    position: relative;
}

.map-logo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.map-logo-badge img {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: contain;
}

.map-logo-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a472a;
}

.google-profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.google-logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #dfe9ff 100%);
    border: 1px solid #d2dfff;
    box-shadow: inset 0 0 0 1px rgba(26, 115, 232, 0.08);
}

.google-logo span {
    font-size: 2rem;
    font-weight: 800;
    color: #1a73e8;
    line-height: 1;
}

.google-profile-copy h2 {
    margin: 0;
    color: #1a472a;
    font-size: clamp(1.5rem, 2vw, 2.4rem);
}

.google-badge {
    margin: 0 0 0.4rem 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a73e8;
    font-weight: 700;
}

.google-map-frame {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
}

.google-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    height: 320px;
    border: 0;
}

.google-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}

.google-btn.primary {
    background: #1a73e8;
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.18);
}

.google-btn.primary:hover {
    background: #1557c0;
    transform: translateY(-2px);
}

.google-btn.secondary {
    background: #fff;
    color: #0e4421;
    border-color: #dfe7f1;
}

.google-btn.secondary:hover {
    background: #f4f8ff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .google-profile-card {
        padding: 1rem;
    }

    .google-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .google-actions {
        flex-direction: column;
    }

    .google-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .youtube-video iframe {
        height: 180px;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 6rem;
    }

    .hero h3 {
        font-size: 1.3rem;
        margin-top: -6.5rem;
    }
}


/* === ABOUT SECTION === */
.about-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-left,
.about-right {
    flex: 1 1 48%;
}

.about-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a472a;
    margin-bottom: 10px;
}

.about-subtext {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.about-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    background-color: #2a7d2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h3 {
    margin-top: -2px;
    margin: 0 2 3px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.feature-item p {
    color: #555;
    font-size: 14px;
}

/* RIGHT BOX */
.about-box {
    background-color: #1e3a8a;
    color: white;
    border-radius: 15px;
    padding: 30px;
}

.about-box h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-box p {
    font-size: 15px;
    margin-bottom: 25px;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    font-size: 15px;
    margin-bottom: 10px;
}

.about-btn {
    background-color: #facc15;
    color: #1e3a8a;
    padding: 12px 20px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.about-btn:hover {
    background-color: #fcd34d;
}

/* Responsive */
@media (max-width: 768px) {

    .about-left,
    .about-right {
        flex: 1 1 100%;
    }

    .about-grid {
        gap: 30px;
    }
}



/* Recent project / Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a472a;
}

/* Recent  Project */
.feature-grid {
    display: block;
    margin-top: 2rem;
}

.feature-grid a {
    text-decoration: none;
    color: inherit;
}

.state-projects-block {
    display: block;
    margin-bottom: 1.4rem;
}

.state-project-heading {
    margin: 0 0 1rem;
    font-size: 1.7rem;
    color: #1a472a;
    text-align: left;
    font-weight: 800;
}

.state-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 1.6rem;
}

@media (max-width: 1024px) {
    .state-projects-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .state-projects-grid {
        grid-template-columns: 1fr;
    }
}

.recent-projects-section .section-title-wrap {
    max-width: 900px;
    margin: 0 auto 1rem;
}

.recent-projects-page {
    padding-bottom: 3rem;
}

.recent-projects-section .section-title-wrap p {
    margin: 0.7rem auto 0;
    color: #5f6c67;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 700px;
}

.feature-card {
    background: #fff;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 16px 35px rgba(16, 38, 24, 0.07);
    text-align: left;
    border: 1px solid rgba(26, 71, 42, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(16, 38, 24, 0.12);
}

.feature-card img {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.feature-card h3 {
    margin: 1rem 0 0.55rem;
    color: #1a472a;
    font-size: 1.2rem;
}

.feature-card p {
    font-weight: 450;
    color: #333;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.project-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf8ef;
    color: #1d6f36;
    border: 1px solid rgba(29, 111, 54, 0.12);
    border-radius: 999px;
    font-size: 0.73rem;
    padding: 0.4rem 0.75rem;
    font-weight: 700;
}

.project-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a472a 0%, #2d6a3a 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: 0.1rem;
}

.project-card-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.project-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
}

.project-modal.open {
    display: flex;
}

.project-modal-content {
    position: relative;
    width: min(1100px, 92vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1px solid rgba(31, 41, 55, 0.06);
}

.project-modal-image-wrap {
    background: #eef5ef;
    min-height: 320px;
}

.project-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-modal-body {
    padding: 1.5rem 1.5rem 1.8rem;
}

.project-modal-tag {
    display: inline-block;
    background: #eaf7ee;
    color: #196d37;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    margin-bottom: 0.9rem;
}

.project-modal-body h3 {
    margin: 0 0 0.7rem;
    color: #1a472a;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.project-modal-body p {
    color: #4a564d;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.project-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    gap: 0.65rem;
}

.project-modal-list li {
    color: #2a3c34;
    font-size: 0.96rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.2rem;
}

.project-modal-list li::before {
    content: "•";
    color: #1d6f36;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    line-height: 1;
    top: 0.1rem;
}

.project-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.project-modal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f6b500 0%, #ffcf40 100%);
    color: #172b1d;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.project-modal-secondary {
    background: #eaf7ee;
    color: #1a472a;
}

.project-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    font-size: 2rem;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.project-modal-body {
    overflow-y: auto;
    padding: 1.5rem 1.5rem 1.8rem;
}

@media (max-width: 768px) {
    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }

    .project-modal-image-wrap {
        min-height: 220px;
    }

    .project-modal-close {
        top: 0.8rem;
        right: 0.8rem;
    }
}

/* Products*/
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.product-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(5, 95, 2, 0.05);
    text-align: center;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.3s;
    border-top: 4px solid #ffd700;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin: 0 auto;
}

.product-card h3 {
    margin: 0.5rem 0;
    color: #1a472a;
}


.product-card .price {
    color: green;
    font-weight: bold;
}

.buy-now {
    display: inline-block;
    margin-top: 10px;
    background-color: #1a472a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

/* h2.section-title {
    text-align: center;
    margin-top: 2rem;
    font-size: 2rem;
} */

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.modal-content table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.close-btn {
    float: right;
    font-size: 20px;
    cursor: pointer;
}


/* Product Showcase */
.product-range-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.product-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.product-range-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a472a;
}

.view-all-link {
    color: #00b33c;
    text-decoration: none;
    font-weight: 600;
}

.view-all-link:hover {
    text-decoration: underline;
}

.product-range-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-range-grid a {
    text-decoration: none;
    color: inherit;
}

.product-div {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid #ffd700;
}

.product-div:hover {
    transform: scale(1.05);
}

.product-div img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


.product-div p {
    margin-top: 0.8rem;
    font-weight: 600;
    color: #333;
}


/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: auto;
    align-items: start;
}

.service-card {
    display: flex;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    flex-direction: column;
    transition: transform 0.3s;
    border-top: 4px solid #ffd700;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.service-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #1a472a;
}

.service-card li {
    margin-left: 15px;
}

.service-card h3 {
    display: flex;
    justify-content: center;
    color: #1a472a;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.service-card button {
    background: #002aff;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.service-card button:hover {
    background: #0055ff;
}

/* owner-section */
.owner-section {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    margin-top: 2.5rem;
}

.founder-socials {
    margin-top: 2rem;
}

.founder-socials .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 0;
}

@media (max-width: 576px) {
    .founder-socials .social-icons {
        gap: 0.7rem;
    }
}

.owner-section:hover {
    transform: translateY(-5px);
}

/* Team Member Grid Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.team-member {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-image {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #1a472a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

/* Blog section */
.blog-page-banner {
    position: relative;
    background: linear-gradient(rgba(12, 31, 19, 0.5), rgba(12, 31, 19, 0.5)), url('images/blog.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 7.5rem 1.5rem 5.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-page-banner h1 {
    color: #feda75;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.blog-page-banner p {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.blog-hero {
    background: url('images/solar-banner.jpg') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.blog-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

.blog-hero .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 10px 0;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary {
    background: #1a472a;
    color: white;
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
}

.container {
    display: block;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: auto;
    align-items: stretch;
}

.blog-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #ebf0ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
    border-radius: 12px;
    display: block;
}

.blog-card img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(50, 149, 0, 0.24);
}

.blog-card .content {
    padding: 1.1rem 0.25rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.tag {
    background: linear-gradient(135deg, #1a472a, #2d5a3d);
    color: white;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-block;
    align-self: flex-start;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #1a472a;
}

.blog-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.blog-card a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding: 0.55rem 0.9rem;
    color: #fff;
    border-radius: 8px;
    background: #0e4421;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card a:hover {
    background: #1a472a;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(14, 68, 33, 0.18);
}

@media (max-width: 768px) {
    .blog-page-banner {
        padding-top: 6.5rem;
        padding-bottom: 4.5rem;
    }

    .blog-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .blog-card img {
        height: 220px;
    }

    .container {
        padding: 0 14px;
    }

    .google-profile-section,
    .customer-review-marquee-section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .review-card {
        min-width: 240px;
        max-width: 240px;
    }
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a472a;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2d5a3d;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem auto;
    max-width: 300px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Social - Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

@media (max-width: 576px) {
    .social-icon {
        width: 42px;
        height: 42px;
    }
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.whatsapp {
    background: #25d366;
}

.social-icon.youtube {
    background: #ff0000;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Footer */
.footer {
    background-color: rgb(241, 241, 241);
    color: #1a472a;
    text-align: center;
    padding: 2rem 1rem;
    /* text-align: center; */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200PX;
    margin: auto;
    text-align: center;
    align-items: flex-start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #1a472a;
    /* font-weight: 600; */
    /* margin-bottom: 2rem; */
}

.footer-section {
    font-size: 0.90rem;
    font-weight: 500;
    line-height: 1.6;
    word-wrap: break-word;
}

.footer-section .logo-img {
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    color: #0e4421;
    margin-bottom: 1rem;
}

.footer-section p {
    margin: 0.5rem 0;
}

.footer-section a {
    color: #0e4421;
    text-decoration: none;
    display: blocK;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-section a:hover {
    font-weight: 700;
    transform: scale(1);
    color: blueviolet;
}

.social-icons {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    background-color: #0e4421;
    padding: 0.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.90rem;
    font-size: 1rem;
    color: #333;
    border-top: 1px solid #2d5a3d;
    /* margin-top: 2rem; */
}

@media (max-width: 500px) {
    .footer-content {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-section {
        margin-bottom: 1rem;
    }
}

/* Legal Pages Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.legal-content h3 {
    color: #1a472a;
    margin: 2rem 0 1rem 0;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        margin-left: 0.75rem;
        border-radius: 10px;
        background: #0e4421;
        color: #fff;
        box-shadow: 0 4px 12px rgba(14, 68, 33, 0.2);
        font-size: 1.7rem;
        line-height: 1;
        touch-action: manipulation;
    }

    .nav-menu {
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        background-color: rgb(241, 241, 241);
        width: min(260px, calc(100vw - 1.5rem));
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        z-index: 999;
        padding: 0.75rem;
        gap: 0.25rem;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.8rem 0.9rem;
        border-radius: 8px;
        text-align: left;
    }

    .nav-menu a:hover {
        background: rgba(138, 43, 226, 0.08);
    }

    .nav-menu.active {
        display: flex !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }


    .features-grid,
    .products-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}


/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s;
}

.floating-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.1);
}