/* =========================================================
   NEXA SOLAR POWER - style.css  (complete, clean version)
   Replace your old style.css with this whole file.
========================================================= */

:root {
    --green: #173d24;
    --green-dark: #0f2a18;
    --gold: #f5a900;
    --gold-dark: #c98f00;
    --ink: #17301f;
    --muted: #66736a;
    --soft: #f5faf4;
    --radius: 16px;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Outfit", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container { width: 90%; max-width: 1150px; margin: auto; }

.section { padding: 90px 0; scroll-margin-top: 80px; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title.left { text-align: left; margin-bottom: 20px; }

.section-title p {
    color: var(--gold-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    color: var(--green);
    margin-bottom: 10px;
}

.section-title span { color: var(--muted); }


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn { background: var(--gold); color: #fff; }
.primary-btn:hover { background: var(--gold-dark); transform: translateY(-2px); }

.white-btn { background: #fff; color: var(--green); }
.white-btn:hover { background: #fff3cd; }

.whatsapp-btn { background: #25d366; color: #fff; }
.whatsapp-btn:hover { background: #1db954; }


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}

.topbar {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 14px;
    max-height: 42px;
    overflow: hidden;
    transition: max-height 0.3s;
}

.topbar-inner { display: flex; gap: 26px; padding: 10px 0; }
.topbar a:hover { color: var(--gold); }

.header.scrolled { background: var(--green); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); }
.header.scrolled .topbar { max-height: 0; }

.navbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img { height: 72px; width: auto; transition: height 0.3s; }
.header.scrolled .logo img { height: 54px; }

.nav-menu { display: flex; gap: 28px; }

.nav-menu a { font-weight: 600; color: #fff; transition: 0.3s; }
.nav-menu a:hover { color: var(--gold); }

.nav-button {
    background: var(--gold);
    color: #fff;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}
.nav-button:hover { background: var(--gold-dark); }

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    margin-left: auto;
}


/* =========================
   HERO SLIDER
========================= */

.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    max-height: 860px;
    overflow: hidden;
    background: var(--green);
}

.hero-slides { position: absolute; inset: 0; }

.hero-full-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
}

.hero-full-slide.active { opacity: 1; visibility: visible; }

.hero-full-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-full-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.1) 100%);
}

.hero-slide-caption {
    position: absolute;
    z-index: 3;
    left: 7%;
    bottom: 16%;
    max-width: 700px;
    color: #fff;
}

.hero-label {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero-slide-caption h1,
.hero-slide-caption h2 {
    color: #fff;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-slide-caption h1 span,
.hero-slide-caption h2 span { color: var(--gold); display: block; }

.hero-slide-caption p:not(.hero-label) {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 28px;
}

.hero-full-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.hero-full-arrow:hover { background: rgba(255, 255, 255, 0.4); }
.hero-full-prev { left: 25px; }
.hero-full-next { right: 25px; }

.hero-full-dots {
    position: absolute;
    z-index: 4;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-full-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: 0.3s;
}
.hero-full-dot.active { width: 28px; border-radius: 10px; background: var(--gold); }

.tagline-strip {
    background: var(--green);
    color: var(--gold);
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    padding: 14px 20px;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image { position: relative; }

.about-image::before {
    content: "";
    position: absolute;
    top: -18px;
    left: -18px;
    width: 55%;
    height: 55%;
    background: var(--gold);
    border-radius: var(--radius);
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-text p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }

.tick-list { list-style: none; margin: 18px 0 26px; }

.tick-list li { padding-left: 30px; position: relative; margin-bottom: 9px; font-weight: 500; }

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-dark);
    font-weight: 800;
}


/* =========================
   STATS
========================= */

.stats { background: var(--green); color: #fff; padding: 44px 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }

.stats-grid strong { display: block; font-size: 46px; line-height: 1.1; color: var(--gold); }

.stats-grid span { color: #d5e3d7; font-weight: 500; }


/* =========================
   SERVICES / PRODUCTS
========================= */

.services { background: var(--soft); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-image {
    width: 100%;
    height: 230px;
    background: #f3f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }

.product-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }

.product-content h3 { color: var(--green); font-size: 19px; margin-bottom: 8px; }

.product-content p { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; }

.card-link { color: var(--gold-dark); font-weight: 700; font-size: 15px; }
.card-link:hover { color: var(--green); }


/* =========================
   WHY US
========================= */

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.why-card {
    background: var(--soft);
    padding: 30px 22px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s ease;
}

.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.why-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff3cd;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
}

.why-card h3 { color: var(--green); font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14px; }


/* =========================
   PROCESS
========================= */

.process { background: var(--soft); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.step {
    background: #fff;
    padding: 30px 22px;
    border-radius: var(--radius);
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.step-no {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step h3 { color: var(--green); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }


/* =========================
   PROJECTS
========================= */

.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

.filter-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    background: #eef3ee;
    color: var(--green);
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover { background: #fff3cd; }
.filter-btn.active { background: var(--gold); color: #fff; }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.project-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.project-card.hidden { display: none; }

.project-image {
    height: 240px;
    background: linear-gradient(135deg, #dcefe0, #fff0bd);
    overflow: hidden;
}

.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }

.project-card:hover .project-image img { transform: scale(1.05); }

.project-content { padding: 20px 22px; }
.project-content h3 { color: var(--green); font-size: 19px; margin-bottom: 4px; }
.project-content p { color: var(--muted); }


/* =========================
   CTA BAND
========================= */

.cta-band { background: linear-gradient(120deg, var(--green), #2c6a3f); color: #fff; padding: 56px 0; }

.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.cta-inner h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 6px; }

.cta-inner p { color: #d5e3d7; max-width: 560px; }


/* =========================
   CONTACT + QUOTE
========================= */

.contact { background: var(--soft); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info p { font-size: 17px; margin-bottom: 14px; }

.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.quote-form {
    display: grid;
    gap: 14px;
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-margin-top: 100px;
}

.quote-form h3 { color: var(--green); font-size: 22px; }

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 13px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #cfdccf;
    border-radius: 8px;
    background: #fff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }


/* =========================
   FOOTER
========================= */

.footer { background: var(--green-dark); color: #b8c8ba; padding-top: 56px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.6fr; gap: 30px; }

.footer h4 { color: #fff; margin-bottom: 14px; font-size: 18px; }

.footer a { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }

.footer p { font-size: 15px; }

.footer-copy {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}


/* =========================
   FLOATING BUTTONS
========================= */

.float-btn {
    position: fixed;
    right: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    z-index: 1500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.float-whatsapp { bottom: 88px; background: #25d366; }
.float-call { bottom: 24px; background: var(--gold); }


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {
    .products-grid,
    .why-grid,
    .process-grid { grid-template-columns: repeat(2, 1fr); }

    .projects-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}


/* =========================
   MOBILE MENU + LAYOUT
========================= */

@media (max-width: 900px) {

    .menu-toggle { display: block; }
    .nav-button { display: none; }
    .nav-menu { display: none; }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        width: 230px;
        background: rgba(23, 61, 36, 0.97);
        padding: 18px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
        gap: 15px;
    }

    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .about-image img { height: 320px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

    .cta-inner { flex-direction: column; text-align: center; }

    .hero-slide-caption { left: 7%; right: 7%; }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 600px) {

    .section { padding: 64px 0; }

    .topbar-mail { display: none; }

    .navbar { min-height: 70px; }
    .logo img { height: 56px; }

    .hero-fullscreen { height: 92vh; min-height: 560px; }

    .hero-slide-caption { bottom: 15%; }
    .hero-label { font-size: 11px; letter-spacing: 1.5px; margin-bottom: 12px; }
    .hero-slide-caption h1,
    .hero-slide-caption h2 { font-size: 36px; margin-bottom: 14px; }
    .hero-slide-caption p:not(.hero-label) { font-size: 15px; margin-bottom: 20px; }
    .hero-slide-caption .btn { padding: 11px 20px; font-size: 14px; }

    .hero-full-arrow { width: 36px; height: 36px; font-size: 15px; }
    .hero-full-prev { left: 10px; }
    .hero-full-next { right: 10px; }

    .tagline-strip { font-size: 20px; }

    .products-grid,
    .why-grid,
    .process-grid,
    .projects-grid,
    .footer-grid { grid-template-columns: 1fr; }

    .product-image { height: 210px; }

    .quote-form { padding: 22px; }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
/* WHY US - cards with photos */
.why-card {
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.why-photo {
    height: 190px;
    background: linear-gradient(135deg, #dcefe0, #fff0bd);
}

.why-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-body { padding: 0 22px 28px; }

.why-body .why-icon {
    margin: -29px auto 14px;
    border: 4px solid #fff;
    position: relative;
}
.float-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
/* LINKED IMAGES */
.product-image a,
.project-image a { display: block; width: 100%; height: 100%; }

/* PROJECTS PAGE */
.header-solid { background: var(--green); }

.page-banner {
    background: linear-gradient(120deg, var(--green), #2c6a3f);
    color: #fff;
    text-align: center;
    padding: 190px 0 70px;
}

.banner-label {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin-bottom: 8px;
}

.page-banner h1 {
    font-size: clamp(32px, 5vw, 50px);
    line-height: 1.15;
    margin-bottom: 14px;
}

.banner-text { color: #d5e3d7; max-width: 620px; margin: 0 auto; }

.back-row { text-align: center; margin-top: 40px; }

.project-card { scroll-margin-top: 110px; }
.product-image a,
.project-image a { display: block; width: 100%; height: 100%; }
/* =========================
   BRAND COLOURS: NAVY + ORANGE
========================= */

:root {
    --green: #384A7C;        /* logo navy (name kept so old code still works) */
    --green-dark: #25325a;
    --gold: #E88B2E;         /* logo orange */
    --gold-dark: #B8620F;
    --ink: #1f2a44;
    --muted: #5f6b85;
    --soft: #f4f7fb;
    --sky: #78C3D6;          /* logo light blue */
}

/* White header so the logo shows clearly */
.header,
.header.scrolled { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
.topbar { background: var(--green); }
.nav-menu a { color: var(--green); }
.nav-menu a:hover { color: var(--gold); }
.menu-toggle { color: var(--green); }
.logo img { height: 64px; }
.header.scrolled .logo img { height: 52px; }
.nav-menu.active a { color: #fff; }
.nav-menu.active { background: rgba(56, 74, 124, 0.97); }

/* Old green tints become soft blue and soft orange */
.product-image { background: #f2f5fa; }
.project-image,
.why-photo { background: linear-gradient(135deg, #d9eef5, #fde6c9); }
.why-icon,
.filter-btn:hover,
.white-btn:hover { background: #fde6c9; }
.filter-btn { background: #eaf0f7; }
.filter-btn.active { background: var(--gold); }
.quote-form input,
.quote-form select,
.quote-form textarea { border-color: #cbd5e6; }

/* Gradients and light text on dark navy */
.cta-band,
.page-banner { background: linear-gradient(120deg, var(--green), #4a6ba8); }
.stats-grid span,
.cta-inner p,
.banner-text,
.contact .section-title span { color: #d6def0; }
.footer { color: #b9c4dc; }
.stats-grid strong { color: var(--gold); }

@media (max-width: 600px) {
    .logo img { height: 48px; }
}
.about-image a { display: block; }
.about-image img { transition: transform 0.3s; }
.about-image a:hover img { transform: scale(1.02); }
/* BRANDS */
.brands { background: #fff; border-top: 1px solid #e9eef5; border-bottom: 1px solid #e9eef5; }

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-item {
    width: 170px;
    height: 100px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.brand-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

.brand-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

@media (max-width: 600px) {
    .brand-item { width: calc(50% - 10px); height: 90px; }
}
/* PROJECTS PAGE */
.page-banner {
    background: linear-gradient(120deg, var(--green), #4a6ba8);
    color: #fff;
    text-align: center;
    padding: 180px 0 70px;
}
.banner-label { color: var(--gold); font-weight: 700; letter-spacing: 1.5px; font-size: 14px; margin-bottom: 8px; }
.page-banner h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.15; margin-bottom: 14px; }
.banner-text { color: #d6def0; max-width: 620px; margin: 0 auto; }

.project-list { display: grid; gap: 56px; }

.project-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    scroll-margin-top: 110px;
}

.project-detail:nth-child(even) .project-photo { order: 2 }
.project-detail.hidden { display: none; }

.project-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.project-tag {
    display: inline-block;
    background: #fde6c9;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.project-info h2 { color: var(--green); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; margin-bottom: 6px; }
.project-info p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.project-info .project-place { font-weight: 600; margin-bottom: 14px; }

@media (max-width: 900px) {
    .project-detail { grid-template-columns: 1fr; gap: 24px; }
    .project-detail:nth-child(even) .project-photo { order: 0; }
    .project-photo img { height: 300px; }
}
/* CLIENT QUOTE + NAME */
.project-info .client-quote {
    position: relative;
    margin: 22px 0;
    padding-top: 36px;
}

.project-info .client-quote::before {
    content: "\201D";
    position: absolute;
    top: -8px;
    left: 0;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: var(--gold);
}

.project-info .client-quote p {
    color: var(--ink);
    font-size: 16px;
    margin-bottom: 12px;
}

.client-name { text-align: right; margin-bottom: 18px; }
.client-name strong { display: block; color: var(--green); font-size: 15px; }
.client-name span { display: block; color: var(--muted); font-size: 14px; }