/* reset and variables */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
  --green-700: #146c43;
  --green-500: #2ecc71;
  --white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(0,0,0,0.08);
  --transition: all 0.35s ease;
}

body { 
    font-family: system-ui, sans-serif; 
    color: #1f2933; 
    line-height: 1.6; 
}

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

a { 
    text-decoration: none; 
    color: inherit; 
}
section[id] {
    scroll-margin-top: 70px;
}

.container { 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

/* header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #023920;
    color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img { 
    height: 50px; 
    width: 50px;         
    border-radius: 50%;
    object-fit:fill;
}

/* .logo-text { 
    color: #dbe5e1; 
    font-weight: bold; 
    margin-left: 0.5rem; 
    font-size: 1.2rem; 
} */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;         
    height: 100vh;
    background: var(--green-700);
    z-index: 999;
    padding: 80px 2rem 2rem; 
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
}


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

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column; 
    gap: 1.5rem;
}

.nav-list li {
    margin: 0; 
}

.nav-list a {
    font-size: 1.1rem;
    display: block;
}

.nav-list a:hover { 
    color: #3a2708; 
}

.nav-cta {
    background: var(--white);
    color: var(--green-700);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--green-500);
    color: var(--white);
}

.nav-toggle { 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background: var(--green-700);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.nav-open li {
    margin: 0 0 0.8rem 0;
}

.nav-open a { 
    color: var(--white); 
}

.nav-open a:hover { 
    color: #d4f5e1; 
}

/* home */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 70px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 108, 67, 0.6);
    z-index: 2;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.hero-image.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    max-width: 700px;
}

.hero-heading { 
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
}

.hero-subtitle { 
    color: var(--white);
    max-width: 600px; 
    margin: 1rem auto 1.5rem; 
}

.btn-primary { 
    background: var(--green-700); 
    color: var(--white); 
    padding: 0.9rem 1.5rem; 
    border-radius: 8px; 
    border: none; 
    font-weight: 500; 
    cursor: pointer; 
    transition: var(--transition);
}

.btn-primary:hover { 
    background: var(--green-500); 
}

/* about */
.about-section {
    padding: 40px 0;
    background-color: #f9fbf9; 
    overflow: hidden;
    min-height: calc(100vh - 70px); 
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    height: 100%;
    padding-top: 0;
}

.about-top-label {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem; 
}

.about-top-label .sub-heading {
    display: inline-block;
    padding: 5px 15px;
    border-bottom: 2px solid var(--green-500); 
}

.about-image-container {
    position: relative;
    padding: 20px;
}

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

.about-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    display: block;
}

.accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--green-500);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.sub-heading {
    color: var(--green-700);
    text-transform: uppercase;
    font-weight: bolder;
    letter-spacing: 2px;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--green-500)
}

.section-title {
    margin-top: 0; 
    padding-top: 0;
    font-size: clamp(1.6rem, 2.0vw, 1.5rem); 
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #705506;
    font-style: italic;
}

.about-text {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(181, 143, 4, 0.05);
}
.feature-item p strong{
    color: #705506;
}

/* Scroll Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.reveal-visible {
    opacity: 1;
    transform: translateX(0);
}

/* services section */
.services-section {
    padding: 30px 0 100px 0;
    background-color: #a9d6aa; 
    display: flex;
    align-items: center;
    flex-direction: column;
}

.services-header {
    text-align: center;
}

.text-white { 
    color: #023920; 
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-style: normal;
    font-size: 1.5rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.service-card {
    background: #705506; 
    overflow: hidden;
    flex: 1 1 calc(25% - 1.5rem); 
    min-width: 250px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-15px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: var(--green-500);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.1); 
}

.card-content {
    padding: 1.5rem;
    color: #e5e5e5;
}

.card-content h3 {
    color: #a9d6aa;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Scroll Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-visible.reveal-up {
    opacity: 1;
    transform: translateY(0);
}


/* impact section  */
.impact-section {
    min-height: calc(100vh - 70px);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f0f4f1;
}

.impact-header {
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
}

.impact-header .section-title {
    margin-top: 0; 
    padding-top: 0;
    font-size: 1.0rem; 
    line-height: 1.1;
    color: #705506; 
    font-style: italic;
    font-weight: bold;
    display: block;
}

.impact-header .sub-heading {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--green-700);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bolder;
    border-bottom: 2px solid var(--green-500);
}

.slide-title {
    display: inline-block; 
    margin-left: 0;   
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #705506;
    font-size: 1.6rem;
    font-weight: 700; 
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start; 
}

@media (min-width: 992px) {
    .impact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 5rem;
    }
}

.image-square-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    max-width: 500px; 
    max-height: 60vh; 
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #2b1d0e; 
}

.cycle-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.cycle-img.active {
    opacity: 1;
}

.impact-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left !important;
    padding-left: 0 !important;
}

.impact-page {
    display: none; 
    opacity: 0;
}

.impact-page.active {
    display: block; 
    opacity: 1;
}

.impact-page h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #705506;
    font-size: 1.0rem;
}

.reveal-list {
    list-style: none;
    padding: 0;
}

.reveal-list li {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .image-square-wrapper {
        max-width: 300px;
    }

    .reveal-list li {
        text-align: center;
    }
}

/* founder section */
.founder-viewport {
    width: 100%;
    min-height: 100vh; 
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0; 
    overflow: hidden;
}

.f-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.f-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .f-grid-layout {
        grid-template-columns: 1fr 1.2fr; 
        gap: 80px;
    }
}

.f-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.f-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.f-slide.active {
    opacity: 1;
    z-index: 2;
}

.f-pre {
    color: #705506;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.f-name {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #2b1d0e;
    margin: 10px 0 20px;
    line-height: 1.1;
}

.f-problem-highlight {
    background: #f0f4f2;
    border-left: 4px solid #705506;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 0 10px 10px 0;
}

.f-problem-highlight p {
    font-style: italic;
    color: #2b1d0e;
    margin: 0;
}

.f-main-bio p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.f-trust-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: #705506;
    color: white;
    padding: 12px 15px;
    border-radius: 12px;
    z-index: 10;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.f-percent { display: block; font-weight: bold; font-size: 1.4rem; }
.f-label { font-size: 0.6rem; letter-spacing: 0.5px; }

.f-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.f-scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* contact section */
.contact-viewport {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center; 
    padding: 30px 0 60px;
    overflow: hidden;
}

.contact-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.75));
}

.c-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


.c-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.c-pre-title {
    color: #89690a;
    padding: 6px 22px;
    font-size: 1.5rem;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .c-grid {
        grid-template-columns: 1fr 1fr; 
    }
}

.c-main-heading {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
}

.c-vision-text {
    font-size: 1.1rem;
    color: #e2e2e2;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
}

.c-cta-box p {
    color: #ffffff; 
    margin-bottom: 10px; 
}

.c-phone-link {
    display: inline-block;
    padding: 12px 25px;
    background: #705506;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.c-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.hp-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    z-index: -100 !important;
}

.input-row { 
    margin-bottom: 20px; 
}
.input-row label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #333; 
}
.input-row input, .input-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.c-submit-btn {
    width: 100%;
    padding: 16px;
    background: #1a5c37;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

input:focus:invalid, 
textarea:focus:invalid {
    border: 2px solid #ff4d4d !important;
    outline: none;
}

#email_address:focus:invalid {
    border: 2px solid #ff4d4d !important;
}

input, textarea {
    border: 1px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
}

/* footer */
.site-footer {
    background-color: #023920; 
    color: #ffffff;
    padding: 20px 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon svg {
    fill: #ffffff;
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

/* Responsive fix */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Responsive Fixes - services section */
@media (max-width: 1024px) {
    .service-card { flex: 1 1 calc(50% - 1.5rem); } 
}

@media (max-width: 600px) {
    .service-card { flex: 1 1 100%; } 
}

/* Responsive Desktop - about us section*/
@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .about-content {
        align-self: start;
        padding-top: 10px;
    }
}

/* responsive fix */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        position: static;    
        width: auto;
        height: auto;
        padding: 0;
        transform: translateX(0); 
        background: transparent;
        display: flex;
    }

    .nav-list {
        flex-direction: row; 
        gap: 0;
    }

    .nav-list li {
        margin-left: 1.5rem;
    }
}