﻿*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    background-color: #B8B89A;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Global section spacing */
.section-container {
    padding: 80px 0;
}

.section-pad {
    padding: 80px 0;
}


img{
    max-width: 100%;
    height: auto;
}

.main-frame{
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
}

.background-image{
    position: absolute;
    width: 100%;
    height: 100vh;
    left: 0;

    background:
    linear-gradient(
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2)
    ),
    url("/assets/pexels-linxin-yang-2047531-33315620\ 1.png");

    background-size: cover;
    background-position: center;
    z-index: 0;

}






/* Hero content */
.hero-content {
    position: absolute;
    left: 40px; /* Align with header padding */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Perfect vertical center */
    z-index: 2;
    width: calc(100% - 80px); /* Account for padding */
    max-width: 560px;
}

.inner-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align content */
    width: 100%;
}

.hero-title {
    width: 100%;
    max-width: 657px;
    height: auto;
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #FEF8E7;
    margin-bottom: 18px;
    
}

.hero-sub {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 500;
    line-height: 1.6;
    color: #FEF8E7;
    width: 100%;
    max-width: 520px;
    white-space: normal;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buttons */
.primary-button,
.secondary-button {
    position: relative; /* Remove absolute */
    margin: 0; /* Remove margins */
    width: auto;
    min-width: 110px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100px;
    padding: 0 20px;
    color: white;
    text-decoration: none;
    
}

.primary-button {
    background: #777B3A;
    border: none;
    font-weight: 700;
}

.secondary-button {
    background: transparent;
    border: 1px solid #FEF8E7;
    font-weight: 700;
}

/* Comparison Background */
.comparison-section{
    position: relative;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.comparison-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
      url("/assets/pawel-czerwinski-qzaIDFtzcZ0-unsplash\ 1.png");
    background-size: cover;
    
}

.comparison-content{
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.title-container{
    text-align: center;
    margin: 0 auto 48px;
}

.title.comparison {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center both lines */
    gap: 4px; /* Space between lines */
    font-family: 'AktivGrotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: #3F392B;
    margin: 0;
    text-align: center;
}

title-line {
    display: block;
    width: 100%;
    text-align: center;
}

.title-line:last-child {
    color: #7E8A58; /* The accent color for "With Better Practices" */
}

.title{
    font-family: 'AktivGrotesk', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.15;
    
    color: #3F392B;
}

.comparison-grid{
    
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    column-gap: 40px;
    row-gap: 0px;
    align-items: stretch;
}

.comparison0-col{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.comparison-col.old,
.comparison-col.new{
    padding-top: 0;
}

.comparison-col.center{
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Headers */
.comparison-col h3{
    font-style: 'AktivGrotesk', sans-serif;
   font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.3;
    color: #483C1F;
    margin: 0 0 40px 0; /* Consistent bottom margin */
    text-align: center;
}

#newDesc {
    font-weight: 700;
    color: #3F392B;
}

/* Content Rows */
.comparison-col p {
    font-size: 15px;
    line-height: 1.6;
    color: #3F392B;
    margin: 0;
    padding: 24px 0; /* Vertical padding for spacing */
}

/* Center column specific styling */
.comparison-col.center p.comparison-text {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #2C281E;
    text-align: center;
    margin: 0;
    padding: 24px 0; /* Match the padding of side columns */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Full height of grid cell */
}

/* Row dividers */
.row-divider {
    grid-column: 1 / -1;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
    height: 0;
    margin: 0;
}


#oldDesc{
    font-family: 'AktivGrotesk-Regular';
    display: flex;
    justify-content: center;
    align-items: center;
    
}

/* Highlight styling */
.comparison-highlight {
    background-color: #C7D1A0;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}



.comparison-highlight {
    background-color: #C7D1A0;
}



/* Services section */
.services-content{
    min-height: 70vh;
    width: 100%;
    background-color: #FFFDF4;
    padding-bottom: 40px;
    
}


.services{
    margin: 0;
}

.services-subtitle{
    margin-top: 20px;
    color: #374030;

    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    
    

    text-align: center;
    white-space: nowrap;
}

.services-grid{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 40px auto 0;
    max-width: 1000px;
    padding: 0 32px;
}

.service-col{
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    
}

.service-text{
    width: fit-content;
    text-align: center;
}

.service-grid-title span,
.service-col p span{
  display: block;
}

.service-col img{
    padding-bottom: 18px;
}

.service-grid-title{
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    
    margin-bottom: 14px;

    color: #483C1F; 
}


.service-text p{
    font-size: 14px;
    line-height: 1.6;
    color: #374030;
}

.service-end-divider{
    grid-column: 1 / -1;
    border-bottom: 2px solid #000;
    height: 0;
    padding-top: 40px;
    
}

/* Process section */
.section-process{
    background-color: #E9E9D2;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    padding: 120px 80px;
}

.process-header{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.process-grid{
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.process-title-wrap{
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    padding-top: 0px;
    width: 100%;
    position: sticky;
    margin-top: 138px;

}

.process{
    font-size: 84px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin: 0;
}



.process span{
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease-out forwards;
}

.word-our{
    display: block;
}

.word-process{
    padding-left: 0.1em;
    margin-top: 8px;
    display: block;
}

.process-divider{
    border-bottom: 1.5px solid #000;
    width: 100%; /* Shorter line */
}

.process-steps{
    display: flex;
    flex-direction: column;
    gap: 80px; /* Much larger gap between steps */
    padding-top: 0; /* Align with title top */
    margin-left: 120px;
}

.process-step {
    /* Each step container */
}

.process-step h3 {
    font-size: 14px; /* Smaller "Step X" */
    font-weight: 700;
    color: #696D3C;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.process-step .process-subheading {
    font-size: 24px; /* Larger title */
    font-weight: 600;
    margin-bottom: 16px;
    color: #3F392B;
    line-height: 1.3;
}

.process-step p {
    max-width: 480px;
    font-size: 15px; /* Slightly larger */
    line-height: 1.7; /* More line spacing */
    color: #3F392B;
}

.process-text{
    width: 100%;
    text-align: left;
}

.process-text p span{
    display: block;
    font-size: 15px;
    color: #3F392B;
    margin-bottom: 4px; /* Space between lines */
}
.process span:nth-of-type(1) {
    animation-delay: 0.5s;
}

.process span:nth-of-type(2) {
    animation-delay: 1s;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Why us section */
.why-us{
    background-color: #F6F1E7;
}

.why-us-inner{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.why-us-header{
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start;
}

/* .why-us-title{
    font-family: 'AktivGrotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #3F392B;
} */

.why-us-intro{
    font-size: 14px;
    line-height: 1.6;
    color: #6A644F;
    max-width: 420px;
}

.why-us-grid{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-us-row{
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 28px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid #2C281E;
}

.why-us-label{
    font-size: 16px;
    font-weight: 700;
    color: #6A6E3B;
}

.why-us-text{
    font-size: 14px;
    line-height: 1.6;
    color: #3F392B;
    max-width: 520px;
}

.why-us-footnote{
    font-size: 12px;
    color: #6A644F;
    margin-top: 8px;
}

.why-us-cta{
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    color: #3F392B;
}

.why-us-button{
    background-color: #6A6E3B;
    color: #FFF;
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-us-button:hover {
    background-color: #5a5e2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 110, 59, 0.3);
}

/* About us section */
.about-us-section{
    background-color: #8C8E73;
    color: #F7F3E7;
}

.about-us-inner{
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.about-us-header{
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.about-us-title{
    font-family: 'AktivGrotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #F7F3E7;
    letter-spacing: -0.02em;
}

.about-us-dash{
    font-size: 28px;
    opacity: 0.7;
    margin-top: 6px;
}

.about-us-subtitle{
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: none;
    color: #F7F3E7;
    opacity: 0.9;
    margin-top: 6px;
}

.about-us-grid{
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 56px;
    align-items: start;
    align-items: stretch;
}

.about-us-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #F7F3E7;
    max-width: 620px;
}

.about-us-divider{
    margin-top: 18px;
    width: 100%;
    border-bottom: 1px solid rgba(247, 243, 231, 0.7);
}

/* .about-us-image img{
    width: 100%;
    height: 85%;
    display: block;
    border-radius: 4px;
    object-fit: cover;
    
} */

.about-us-image,
.about-us-text {
    height: auto;
}

.about-us-text p {
    white-space: pre-line;
}


/* FAQ Section */
.faq-section {
    background-color: #E9E9D2;
    min-height: 70vh;
    padding: 96px 0; /* Reduced spacing */
    display: flex;
    align-items: center; /* Optional: vertically centers if content is short */
}


.faq-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.faq-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
}

/* Right Content */
.faq-right {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Header */
.faq-header {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-title {
    font-size: 48px;
    line-height: 1.1;
    color: #40361E;
    font-weight: 600;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.faq-title-line {
    display: block;
}

.faq-title-offset {
    display: block;
    padding-left: 180px; /* Creates the staggered effect */
}

.faq-tag {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #40361E;
    font-weight: 500;
    text-align: right;
}



/* Left Image */
.faq-image {
    height: 580px;
    position: sticky;
    top: 100px;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   FAQ LIST
   ============================================ */

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* ============================================
   FAQ ITEM STRUCTURE
   ============================================ */

.faq-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(64, 54, 30, 0.2);
    padding: 28px 0;
}

/* Clickable row container */
.faq-row-clickable {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    cursor: pointer;
    width: 100%;
    /* Extend click area */
    margin: -28px 0;
    padding: 28px 0;
    position: relative;
}

/* Number styling */
.faq-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: #40361E;
    flex-shrink: 0;
    width: 48px;
}

/* Content container */
.faq-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Question row with button */
.faq-question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #40361E;
    margin: 0;
    flex: 1;
}

/* Chevron button */
.chevron-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    pointer-events: none; /* Let clicks pass through to parent */
}

.chevron-button img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.faq-item.open .chevron-button img {
    transform: rotate(90deg);
}

/* Answer styling */
.faq-answer {
    font-size: 14px;
    line-height: 1.6;
    color: #40361E;
    opacity: 0.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    margin: 0;
    padding: 0;
    padding-left: 60px; /* Align with question (48px number + 12px gap) */
}

.faq-answer.visible {
    max-height: 500px;
    opacity: 0.8;
    margin-top: 16px;
    padding-top: 8px;
}

/* Hover effect on clickable row */
.faq-row-clickable:hover .faq-question {
    color: #777B3A;
}

.faq-row-clickable:hover .chevron-button img {
    opacity: 1;
    transform: translateX(4px);
}

.faq-item.open .faq-row-clickable:hover .chevron-button img {
    transform: rotate(90deg) translateX(0);
}



/* Contact Section */
.contact-section {
    background-color: #FFFBF5;
    padding: 100px 0 80px;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.contact-grid {
    display: grid; /* You forgot 'display: grid' */
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: stretch; /* Make both columns same height */
    min-height: 480px; /* Ensure minimum height for alignment */
}

/* Responsive: laptop */
@media (max-width: 1200px) {
    .section-pad{
        padding: 100px 60px;
    }

    .hero-content{
        left: 64px;
    }

    .hero-title{
        width: 100%;
        height: auto;
        font-size: 56px;
        line-height: 1.2;
    }

    .hero-sub{
        width: 100%;
    }

    .process-grid{
        gap: 120px;
    }

    .faq-grid{
        grid-template-columns: 320px 1fr;
        gap: 72px;
    }

    .contact-grid{
        grid-template-columns: 360px 1fr;
        gap: 72px;
    }
}



/* Responsive: phone */
@media (max-width: 600px) {

    .main-frame {
        min-height: 100vh;
        max-height: 100%;
        display: flex; /* Use flex for centering */
        flex-direction: column;
    }


    .background-image {
        position: 100%; /* Fixed background */
        height: 100vh;
    }


    .section-pad{
        padding: 60px 18px;
    }
    

    .hero-content {
        position: absolute; /* Change from absolute */
        left: 0;
        top: 92px;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: auto 0; /* Push to center vertically */
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1; /* Take available space */
        min-height: calc(100vh - 64px); /* Full height minus header */
    }

    .inner-hero {
        margin-left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    

    .hero-title {
        font-size: 30px;
        line-height: 1.2;
        max-width: 24ch;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

     .hero-sub {
        font-size: 15px;
        max-width: 100%;
        text-align: left;
        
    }


    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        gap: 12px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        margin: 0;
        font-size: 14px;
        margin: 0; /* Reset margins */
        position: static;
        left: auto;
        right: auto;
        top: auto;
        display: flex;
    }

    

    .comparison-section {
        min-height: auto;
        padding: 60px 0;
    }

    .comparison-content{
        padding: 0 18px 40px;
    }

    .comparison-title,
    .title{
        font-size: 28px;
        line-height: 1.3;
    }

    .comparison-grid{
        grid-template-columns: 1fr 1fr;
        column-gap: 12px;
        row-gap: 12px;
        margin-top: 32px;
    }

    .comparison-grid > .comparison-col.old:nth-child(1),
    .comparison-grid > .comparison-col.center:nth-child(2),
    .comparison-grid > .comparison-col.new:nth-child(3) {
        display: none;
    }

    .comparison-grid > .comparison-col.center:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .comparison-grid > .comparison-col.new:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
    }

    .comparison-grid > .row-divider:nth-child(7) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .comparison-grid > .comparison-col.center:nth-child(9) {
        grid-column: 1 / -1;
        grid-row: 4;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(8) {
        grid-column: 1;
        grid-row: 5;
    }

    .comparison-grid > .comparison-col.new:nth-child(10) {
        grid-column: 2;
        grid-row: 5;
    }

    .comparison-grid > .row-divider:nth-child(11) {
        grid-column: 1 / -1;
        grid-row: 6;
    }

    .comparison-grid > .comparison-col.center:nth-child(13) {
        grid-column: 1 / -1;
        grid-row: 7;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(12) {
        grid-column: 1;
        grid-row: 8;
    }

    .comparison-grid > .comparison-col.new:nth-child(14) {
        grid-column: 2;
        grid-row: 8;
    }

    .comparison-col.old,
    .comparison-col.new {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
        padding: 12px;
        text-align: left;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    }

    .comparison-col.old::before,
    .comparison-col.new::before {
        display: block;
        font-size: 10px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #6B6B6B;
        margin-bottom: 6px;
    }

    .comparison-col.old::before {
        content: "Old Way";
    }

    .comparison-col.new::before {
        content: "Terraform's Way";
    }

    .comparison-col p{
        font-size: 13px;
        line-height: 1.5;
    }

    .comparison-text{
        display: inline-block;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(119, 123, 58, 0.14);
        color: #2C281E;
        font-weight: 700;
        font-size: 12px;
    }

    .row-divider {
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
        padding-bottom: 8px;
    }

    .services-content {
        padding: 40px 0;
    }

    .services-subtitle {
        font-size: 12px;
        white-space: pre-wrap;
        padding: 0 18px;
        line-height: 1.4;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 18px;
        margin-top: 20px;
    }

    .service-col {
        padding: 12px;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 8px;
    }


    .service-grid-title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .service-text p {
        font-size: 12px;
        line-height: 1.45;
    }

    .service-col img {
        width: 36px;
        height: 36px;
        padding-bottom: 10px;
    }

    .section-process{
        min-height: auto;
        padding: 60px 18px;
    }

    .process-grid{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-title-wrap {
        gap: 20px;
    }

    .process{
        font-size: 44px;
        line-height: 1.1;
        margin-top: 12px;
        margin-left: 48px;
    }

    .process-divider{
        width: 100%;
        margin: 20px 0 0;
    }

    .word-process{
        padding-left: 0;
        margin-top: 24px;
    }

    .process-steps{
        gap: 48px;
    }

    .process-step h3 {
        font-size: 16px;
    }

    .process-step .process-subheading {
        font-size: 18px;
    }

    .process-step p {
        font-size: 14px;
    }

    .why-us {
        padding: 60px 18px;
    }

    .why-us-inner{
        gap: 40px;
    }

    .why-us-header{
        gap: 24px;
    }

    .why-us-intro{
        font-size: 14px;
    }

    .why-us-row{
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0;
    }

    .why-us-label{
        font-size: 16px;
    }

    .why-us-text{
        font-size: 14px;
    }

    .why-us-footnote{
        font-size: 11px;
    }

    .about-us-section {
        padding: 60px 18px;
    }

    .about-us-inner{
        gap: 36px;
    }

    .about-us-title{
        font-size: 32px;
    }

    .about-us-subtitle{
        font-size: 14px;
    }

    .about-us-grid{
        gap: 36px;
    }

    .about-us-text{
        font-size: 14px;
        gap: 16px;
    }

    .about-us-divider{
        width: 100%;
    }

    .about-us-image img {
        height: 280px;
    }

    .faq-section {
        min-height: auto; /* Remove fixed min-height */
        height: auto; /* Let content determine height */
        padding: 60px 0; /* Reduce padding */
        display: block; /* Remove flex that might cause issues */
        overflow: visible; /* Ensure content isn't clipped */
        position: relative; /* Ensure proper stacking */
        z-index: 1; /* Above background */
    }

    .faq-inner {
        padding: 0 18px;
        max-width: 100%;
        position: relative; /* Ensure children position correctly */
    }

    .faq-grid {
        display: flex; /* Use flex instead of grid for simpler stacking */
        flex-direction: column;
        gap: 24px;
    }

    .faq-image {
        height: auto;
        position: relative;
        top: 0;
    }

    .faq-right {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .faq-header {
        text-align: left;
        gap: 8px;
    }

    .faq-image img {
        height: auto;
        max-height: 240px;
        width: 100%;
        object-fit: cover;
    }

    .faq-title {
        font-size: 32px;
        line-height: 1.1;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }

    .faq-title-line,
    .faq-title-offset {
        display: block;               /* Ensure each span takes full width */
        width: 100%;                  /* Fill the container */
        text-align: right;            /* Right-align the text inside */
    }


    .faq-title-offset {
        padding-left: 120px; /* Reduce offset for mobile */
    }

    .faq-tag {
        text-align: left;
        font-size: 12px;
    }

    .faq-item {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid rgba(64, 54, 30, 0.2);
        padding: 16px 0;
    }

    .faq-row-clickable {
        margin: -16px 0;
        padding: 16px 0;
    }

    .faq-number {
        font-size: 18px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        padding-left: 42px; /* Adjusted for mobile (18px + 24px gap) */
        max-height: 0;
        opacity: 0;
    }

    .faq-answer.visible {
        max-height: 500px;
        opacity: 0.8;
    }

    .contact-section {
        padding: 60px 18px 80px;
    }

    .contact-inner {
        padding: 0;
    }

    .contact-grid{
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .contact-title{
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-details {
        gap: 10px;
    }

    .contact-item {
        font-size: 13px;
        gap: 8px;
    }

    .contact-logo-global {
        margin-top: 36px;
    }

    .contact-logo-global img{
        height: 160px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-field input,
    .form-field select {
        padding: 8px 0;
        font-size: 14px;
    }

    .form-field label {
        font-size: 13px;
    }

    .select-field {
        max-width: 100%;
    }

    .message-field {
        margin-top: 2px;
    }

    .submit-btn {
        padding: 10px 24px;
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 80px;
    }

    
}

/* LEFT SIDE - Info */
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes logo to bottom */
    height: 100%; /* Full height of grid cell */
}

.contact-title {
    font-size: 34px;
    line-height: 1.15;
    color: #40361E;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.contact-subtitle {
    font-size: 13px;
    line-height: 1.6;
    color: #40361E;
    opacity: 0.8;
    margin: 0 0 24px 0;
    max-width: 300px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: auto; /* Pushes content up, logo down */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #40361E;
}

.contact-item img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.7;
}

/* LOGO - At bottom, aligned with submit button */
.contact-logo-global {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.contact-logo-global img {
    height: 240px;
    width: auto;
}


/* RIGHT SIDE - Form */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes submit to bottom */
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}

/* Input Fields - Underline style */
.form-field {
    position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(64, 54, 30, 0.4);
    background: transparent;
    padding: 10px 0;
    font-size: 15px;
    color: #40361E;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: #8B9A46;
}

.form-field label {
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 15px;
    color: #40361E;
    opacity: 0.6;
    pointer-events: none;
    transition: all 0.2s ease;
    transform-origin: left top;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select:valid + label {
    transform: translateY(-20px) scale(0.8);
    opacity: 0.8;
    color: #40361E;
}

/* Select dropdown styling */
.form-field select:has(option:checked:disabled) + label,
.form-field select option:checked:disabled {
    /* Label stays down when placeholder is selected */
}

/* Force label up for select fields that have any selection */
.form-field select:not(:required) + label,
.form-field select:required:invalid + label {
    transform: translateY(-20px) scale(0.8);
    opacity: 0.8;
    color: #40361E;
}

/* Alternative: Always keep select label above the field */
.form-field.select-field label {
    transform: translateY(-20px) scale(0.8);
    opacity: 0.8;
    color: #40361E;
}

/* Adjust select padding to accommodate the label above */
.form-field.select-field select {
    padding-top: 15px;
}

.select-field {
    position: relative;
    max-width: 260px;
    margin-top: 4px;
}

.select-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 25px;
}

.select-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.5;
}

/* Message field - full width */
.message-field {
    width: 100%;
    margin-top: 4px;
}

.message-field textarea {
    min-height: 120px;
    line-height: 1.45;
    resize: vertical;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    padding-top: 20px;
}
/* Submit Button - Pill shape */
.submit-btn {
    align-self: flex-start; /* Left aligned */
    background: transparent;
    border: 1.5px solid #40361E;
    color: #40361E;
    padding: 12px 32px;
    border-radius: 9999px; /* Full pill shape */
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-btn:hover {
    background: #40361E;
    color: #FFFBF5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* Responsive: tablet */
@media (max-width: 900px) {
    
    .section-container{
        padding-top: 90px;
    }

    .section-pad{
        padding: 90px 32px;
    }

    .header {
        height: 70px;
        padding: 0 24px;
    }


    .biz-logo img {
        width: 160px;
    }

    
    .row{
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-content {
        left: 24px;
        width: calc(100% - 48px);
        max-width: 600px;
    }

    .hero-title{
        font-size: 44px;
        line-height: 1.2;
    }

    .hero-sub{
        font-size: 18px;
    }

    .primary-button,
    .secondary-button{
        position: static;
        margin-top: 24px;
        display: inline-flex;
    }

    .comparison-section {
        min-height: auto;
        padding: 60px 0;
    }

    .comparison-content{
        padding: 0 24px 40px;
    }

    .comparison-grid{
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;
        row-gap: 14px;
        margin-top: 48px;
    }

    .comparison-grid > .comparison-col.old:nth-child(1),
    .comparison-grid > .comparison-col.center:nth-child(2),
    .comparison-grid > .comparison-col.new:nth-child(3) {
        display: none;
    }

    .comparison-grid > .comparison-col.center:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .comparison-grid > .comparison-col.new:nth-child(6) {
        grid-column: 2;
        grid-row: 2;
    }

    .comparison-grid > .row-divider:nth-child(7) {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .comparison-grid > .comparison-col.center:nth-child(9) {
        grid-column: 1 / -1;
        grid-row: 4;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(8) {
        grid-column: 1;
        grid-row: 5;
    }

    .comparison-grid > .comparison-col.new:nth-child(10) {
        grid-column: 2;
        grid-row: 5;
    }

    .comparison-grid > .row-divider:nth-child(11) {
        grid-column: 1 / -1;
        grid-row: 6;
    }

    .comparison-grid > .comparison-col.center:nth-child(13) {
        grid-column: 1 / -1;
        grid-row: 7;
        text-align: center;
    }

    .comparison-grid > .comparison-col.old:nth-child(12) {
        grid-column: 1;
        grid-row: 8;
    }

    .comparison-grid > .comparison-col.new:nth-child(14) {
        grid-column: 2;
        grid-row: 8;
    }

    .comparison-text{
        display: inline-block;
        font-size: 13px;
        font-weight: 700;
        padding: 6px 14px;
        border-radius: 999px;
        background: rgba(119, 123, 58, 0.14);
        color: #2C281E;
    }

    .comparison-col.old,
    .comparison-col.new{
        background: rgba(255, 255, 255, 0.7);
        border-radius: 12px;
        padding: 14px 16px;
        text-align: left;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    }

    .comparison-col.old::before,
    .comparison-col.new::before {
        display: block;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #6B6B6B;
        margin-bottom: 6px;
    }

    .comparison-col.old::before {
        content: "Old Way";
    }

    .comparison-col.new::before {
        content: "Terraform's Way";
    }

    .row-divider{
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
        padding-bottom: 8px;
    }

    .services-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .why-us-header,
    .why-us-row,
    .about-us-grid,
    .faq-grid,
    .contact-grid{
        grid-template-columns: 1fr;
    }

    .process{
        font-size: 64px;
    }

    .process-divider{
        margin: 24px 0 0;
        width: 100%;
    }

    .word-process{
        padding-left: 0;
    }

    .faq-image {
        height: 300px;
        position: relative;
        top: 0;
    }

    .faq-header{
        text-align: left;
    }

    .faq-title{
        align-items: flex-start;
        font-size: 44px;
    }

    .faq-title-offset {
        padding-right: 0px;
    }

    .faq-tag{
        text-align: right;
    }

   

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .select-field {
        max-width: 100%;
    }
}



