/* =========================================================
   Green Innotech — Custom Stylesheet
   Modern · Clean · Trustworthy
   ========================================================= */

:root {
    --gi-green: #16a34a;          /* primary accent */
    --gi-green-dark: #15803d;     /* hover / emphasis */
    --gi-green-soft: #dcfce7;     /* light background tint */
    --gi-navy: #0f172a;           /* headings, trust */
    --gi-slate: #334155;          /* body text */
    --gi-muted: #64748b;          /* secondary text */
    --gi-border: #e2e8f0;
    --gi-bg: #ffffff;
    --gi-bg-alt: #f8fafc;
    --gi-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --gi-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --gi-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--gi-slate);
    font-size: 16px;
    line-height: 1.7;
    background: var(--gi-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gi-navy);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }

p { color: var(--gi-slate); }

a { color: var(--gi-green-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gi-green); }

/* ===== Buttons ===== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    transition: all .2s ease;
    border: 2px solid transparent;
}
.btn-primary,
.btn-gi {
    background-color: var(--gi-green);
    border-color: var(--gi-green);
    color: #fff;
}
.btn-primary:hover,
.btn-gi:hover,
.btn-primary:focus,
.btn-gi:focus {
    background-color: var(--gi-green-dark);
    border-color: var(--gi-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--gi-shadow-md);
}
.btn-outline-gi {
    background: transparent;
    border-color: #fff;
    color: #fff;
}
.btn-outline-gi:hover {
    background: #fff;
    color: var(--gi-navy);
}
.btn-ghost-gi {
    background: transparent;
    border-color: var(--gi-green);
    color: var(--gi-green-dark);
}
.btn-ghost-gi:hover {
    background: var(--gi-green);
    color: #fff;
}

/* ===== Navbar ===== */
.gi-navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--gi-border);
    padding: 0.8rem 0;
    transition: box-shadow .25s ease;
    z-index: 1030;
}
.gi-navbar.scrolled { box-shadow: var(--gi-shadow-sm); }

.gi-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}
.gi-brand-logo {
    height: auto;
    width: 188px;
    display: block;
}
@media (max-width: 575.98px) {
    .gi-brand .gi-brand-logo { height: 36px; }
}

.gi-navbar .nav-link {
    color: var(--gi-slate);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    margin: 0 2px;
    transition: all .2s ease;
}
.gi-navbar .nav-link:hover { color: var(--gi-green-dark); background: var(--gi-green-soft); }
.gi-navbar .nav-link.active { color: var(--gi-green-dark); background: var(--gi-green-soft); }

.navbar-toggler { border: none; padding: 0.4rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ===== Hero ===== */
.gi-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: #0f172a;
    overflow: hidden;
    margin-top: 74px;
}
.gi-hero .hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.gi-hero .hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(
        120deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(15, 23, 42, 0.35) 100%
    );
}
.gi-hero .hero-inner {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}
.gi-hero .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #86efac;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.4rem 0.9rem;
    background: rgba(22, 163, 74, 0.18);
    border: 1px solid rgba(134, 239, 172, 0.3);
    border-radius: 999px;
}
.gi-hero h1 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.25rem;
}
.gi-hero h1 .highlight { color: #4ade80; }
.gi-hero p.lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 2rem;
}
.gi-hero .hero-actions .btn { margin-right: 0.6rem; margin-top: 0.5rem; }

/* Page header (non-home pages) */
.gi-page-header {
    background: linear-gradient(135deg, var(--gi-navy) 0%, #1e293b 100%);
    color: #fff;
    padding: 7rem 0 4rem;
    margin-top: 74px;
    position: relative;
    overflow: hidden;
}
.gi-page-header::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.gi-page-header h1 {
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
}
.gi-page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 700px;
    position: relative;
    margin-bottom: 0;
}
.gi-breadcrumb {
    position: relative;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.gi-breadcrumb a { color: #86efac; }

/* ===== Sections ===== */
.section {
    padding: 5rem 0;
}
.section-alt { background: var(--gi-bg-alt); }
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title .eyebrow {
    color: var(--gi-green-dark);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p {
    color: var(--gi-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== Feature / Service Cards ===== */
.service-card {
    background: #fff;
    border: 1px solid var(--gi-border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gi-shadow-lg);
    border-color: transparent;
}
.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--gi-green-soft);
    color: var(--gi-green-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--gi-muted); margin-bottom: 1.25rem; flex-grow: 1; }
.service-card .card-link {
    color: var(--gi-green-dark);
    font-weight: 600;
    font-size: 0.95rem;
}
.service-card .card-link::after { content: " →"; transition: margin-left .2s ease; }
.service-card .card-link:hover::after { margin-left: 4px; }

/* ===== Stats ===== */
.stats-band {
    background: var(--gi-navy);
    color: #fff;
    padding: 3.5rem 0;
}
.stats-band .stat { text-align: center; }
.stats-band .stat .num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #4ade80;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stats-band .stat .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== About / Two-column content ===== */
.about-img {
    border-radius: 14px;
    box-shadow: var(--gi-shadow-lg);
    width: 100%;
    height: auto;
    display: block;
}

.badge-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    background: var(--gi-green-soft);
    color: var(--gi-green-dark);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0.25rem 0.25rem 0;
}

ul.gi-list {
    list-style: none;
    padding-left: 0;
}
ul.gi-list li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--gi-slate);
}
ul.gi-list li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0.6rem;
    width: 20px; height: 20px;
    background: var(--gi-green);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== Info card ===== */
.info-card {
    background: #fff;
    border: 1px solid var(--gi-border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
}
.info-card h3 {
    color: var(--gi-green-dark);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ===== Process steps ===== */
.step-card {
    background: #fff;
    border: 1px solid var(--gi-border);
    border-radius: 14px;
    padding: 1.75rem;
    position: relative;
    height: 100%;
}
.step-card .step-num {
    position: absolute;
    top: -18px; left: 1.5rem;
    width: 40px; height: 40px;
    background: var(--gi-green);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--gi-shadow-md);
}
.step-card h4 {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.5rem;
    color: var(--gi-navy);
}
.step-card p {
    margin-bottom: 0;
    color: var(--gi-muted);
    font-size: 0.95rem;
}

/* ===== CTA band ===== */
.cta-band {
    background: linear-gradient(135deg, var(--gi-green) 0%, #15803d 100%);
    color: #fff;
    padding: 3.5rem 0;
    border-radius: 20px;
    margin: 2rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.cta-band .btn-light {
    background: #fff;
    color: var(--gi-green-dark);
    font-weight: 600;
}
.cta-band .btn-light:hover { background: var(--gi-navy); color: #fff; }

/* ===== Project gallery cards ===== */
.project-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--gi-shadow-sm);
    transition: all .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gi-border);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gi-shadow-lg);
}
.project-card .project-img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: var(--gi-bg-alt);
}
.project-card .project-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.project-card .spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
    color: var(--gi-muted);
}
.project-card .spec-list li {
    padding: 4px 0;
    border-bottom: 1px dashed var(--gi-border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.project-card .spec-list li:last-child { border-bottom: 0; }
.project-card .spec-list li .spec-label { color: var(--gi-muted); }
.project-card .spec-list li .spec-val { color: var(--gi-navy); font-weight: 600; text-align: right; }

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    background: var(--gi-green-soft);
    color: var(--gi-green-dark);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

/* ===== Gallery masonry ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.gallery-grid .g-item {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--gi-shadow-sm);
    transition: transform .3s ease;
}
.gallery-grid .g-item:hover { transform: scale(1.02); }

/* ===== Contact ===== */
.contact-info {
    background: #fff;
    border: 1px solid var(--gi-border);
    border-radius: 14px;
    padding: 2rem;
}
.contact-info .c-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gi-border);
}
.contact-info .c-item:last-child { border-bottom: 0; }
.contact-info .c-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    background: var(--gi-green-soft);
    color: var(--gi-green-dark);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.contact-info h5 {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    color: var(--gi-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.contact-info p, .contact-info a {
    margin: 0;
    color: var(--gi-navy);
    font-weight: 500;
}

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--gi-shadow-md);
    height: 100%;
    min-height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

.form-control, .form-select {
    border: 1px solid var(--gi-border);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
    color: var(--gi-slate);
}
.form-control:focus, .form-select:focus {
    border-color: var(--gi-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}
.form-label {
    font-weight: 600;
    color: var(--gi-navy);
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}

/* ===== Footer ===== */
.gi-footer {
    background: #0b1324;
    color: rgba(255,255,255,0.75);
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}

.gi-footer p,
.gi-footer .small {
    color: #fff;
}

.gi-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.gi-footer ul { list-style: none; padding: 0; margin: 0; }
.gi-footer ul li { margin-bottom: 0.5rem; }
.gi-footer a { color: rgba(255,255,255,0.7); transition: color .2s ease; }
.gi-footer a:hover { color: #4ade80; }

.gi-footer .footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.gi-footer .footer-brand .logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gi-green) 0%, #22c55e 100%);
    color: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .gi-navbar .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 0.75rem;
        border-radius: 10px;
        box-shadow: var(--gi-shadow-md);
    }
    .gi-hero { min-height: 70vh; text-align: left; }
    .gi-hero .hero-inner { padding: 3rem 0; }
    .section { padding: 3.5rem 0; }
    .gi-page-header { padding: 5.5rem 0 3rem; }
}
@media (max-width: 575.98px) {
    .gi-hero h1 { font-size: 2rem; }
    .gi-hero p.lead { font-size: 1rem; }
    .cta-band { padding: 2.5rem 1.5rem; border-radius: 14px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .gallery-grid .g-item { border-radius: 8px; }
}

/* ===== Scroll reveal (optional) ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
