/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --solar-orange: #f5a623;
    --solar-orange-dark: #e08e0b;
    --green: #2e7d32;
    --green-dark: #1b5e20;
    --ink: #1a2238;
    --ink-soft: #4a5568;
    --bg-light: #f7f9fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(26, 34, 56, 0.08);
    --shadow-hover: 0 18px 45px rgba(26, 34, 56, 0.14);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: var(--white);
}

h1, h2, h3, .brand-text {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1140px, 92%);
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--solar-orange-dark);
    margin-bottom: 0.6rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--solar-orange);
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35);
}

.btn-primary:hover {
    background: var(--solar-orange-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--ink);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.brand-icon {
    font-size: 1.6rem;
    color: var(--solar-orange);
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--ink-soft);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--solar-orange-dark);
}

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
}

.nav-cta:hover {
    background: var(--green-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(26, 34, 56, 0.78), rgba(27, 94, 32, 0.65)),
        url("images/hero-solar.jpg") center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 4rem 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Service / Solution Cards ===== */
.services,
.solutions {
    padding: 5rem 0;
}

.services {
    background: var(--bg-light);
    margin-top: -3rem;
    position: relative;
    z-index: 3;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--white);
    padding: 2.2rem 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--solar-orange);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--ink);
}

.card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.card-alt {
    border-top-color: var(--green);
}

/* ===== About ===== */
.about {
    padding: 5rem 0;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    min-height: 360px;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(46, 125, 50, 0.15)),
        url("images/about-solar.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--ink-soft);
    margin-bottom: 1.2rem;
}

.about-points {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.about-points li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--ink-soft);
}

.about-points li::before {
    content: "\2714";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ===== Solutions head ===== */
.solutions {
    background: var(--bg-light);
}

.section-head {
    text-align: center;
    margin-bottom: 2.8rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

/* ===== Contact ===== */
.contact {
    padding: 5rem 0;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.contact-list li {
    color: var(--ink-soft);
}

.contact-list a {
    color: var(--solar-orange-dark);
    font-weight: 500;
}

.contact-form {
    background: var(--white);
    padding: 2.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.1rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.field input,
.field textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--solar-orange);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}

.form-status {
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 1.2rem;
}

.form-status.success {
    color: var(--green);
}

.form-status.error {
    color: #c0392b;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-brand .brand-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-meta {
    text-align: right;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Responsive ===== */
@media (max-width: 820px) {
    .main-nav {
        position: fixed;
        inset: 68px 0 auto 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-150%);
        transition: transform var(--transition);
    }

    .main-nav.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .about-wrap,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 260px;
    }

    .footer-wrap {
        flex-direction: column;
        text-align: center;
    }

    .footer-meta {
        text-align: center;
    }
}
