/* === CSS RESET === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {

    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    font-family: 'Manrope', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Base styles */
header {
    height: 80px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

#website-logo {
    width: 200px;
}

.container {
    max-width: 100%;
    padding: 25px;
}

#header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hero-section,
.about-section,
.grid-section,
.trusted-section,
.services,
.faq-section {
    width: 100%;
    /* Make sure all sections are responsive */
}

/* Navigation styles */
.main-nav {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
    list-style: none;
}

/* Hamburger button styles */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Icon toggle styles */
.hamburger .icon-hamburger {
    display: block;
}

.hamburger .icon-close {
    display: none;
}

.hamburger.active .icon-hamburger {
    display: none;
}

.hamburger.active .icon-close {
    display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        /* Hide by default on mobile */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: flex;
        /* Show when active */
    }

    .green-btn {
        margin-top: 10px;
    }
}

/* Bootstrap Container Base */
.container {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* general styles */
.text-center {
    text-align: center;
}

.intro-sub {
    font-size: 16px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 1px;
    line-height: 24px;
    text-align: center;
    color: #2A9F28;
    margin-top: 10px;
}



/* Responsive Max-Widths */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Main Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 1rem 2rem;
    background-color: #ffffff;
    /* or use #f8f9fa for a light gray */
    font-family: 'Segoe UI', sans-serif;
}

/* Navigation Links */
.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #007bff;
    /* Bootstrap blue or change to your brand color */
}

/* Green Call Button */
.green-btn {
    padding: 0.6rem 1.2rem;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.green-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* Hero section */

section .hero-section {
    align-content: center;
    align-items: center;
    align-self: stretch;
    display: flex;
    flex: 1 0 0px;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
    justify-content: center;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 1px
}

/* Hero section */
.hero-section {
    background: linear-gradient(305deg,
            rgba(42, 159, 40, 0.36) 12.68%,
            var(--token-8c47652b-dea5-4767-a9f2-5d952dcce49a, #fff) 56.58%);
    padding: 60px 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 500px;
    max-width: 600px;
    padding: 20px;
}

.subheading {
    font-size: 1rem;
    color: #2a9f28;
    font-weight: 900;
    margin-bottom: 10px;
}

.heading {
    font-size: 4rem;
    font-weight: 800;
    line-height: 74px;
    color: #222;
    margin-bottom: 20px;
}

.description {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.phonedial {
    font-size: 24px;
    font-weight: 700;
    line-height: 40.8px;
    color: rgb(42, 159, 40);
}

.hero-image {
    flex: 1 1 400px;
    text-align: center;
    padding: 20px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* About section */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 50px;
}

.about-section .intro {
    width: 900px;

}


.about-section h2 {
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3em;
    text-align: center;
}

.about-section p {
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    margin: 10px 0;
}


.grid-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    /* center the grid horizontally */
    align-items: start;
    /* align items to top */
    padding: 2rem;
    max-width: 1200px;
    /* optional: limit total width */
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    background-color: #f6f4ff;
    border-radius: 10px;
    padding: 1rem;
    width: fit-content;
    color: #8800ff;
    /* Purple */
}

.icon-wrapper svg {
    width: 40px;
    height: 40px;
}

.text-content h3 {
    font-size: 1.5rem;
    margin: 0;
}

.text-content p {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.5;
}

.trusted-section {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    padding: 100px 40px;
    position: relative;
    width: 100%;
    gap: 60px;
}

.trusted-section h2 {
    font-size: 50px;
    color: #001122;
    font-family: 'Inter', sans-serif;
    line-height: 60px;
    letter-spacing: -2.1px;
    font-weight: bold;
}



.trusted-section .logo-strip {
    align-content: center;
    align-items: center;
    display: flex;
    flex: none;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 60px;
    height: min-content;
    justify-content: center;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    position: relative;
    width: 1000px;
    align-self: center;
}



.logo-wrapper img {
    width: 136px;
}

.services {
    align-items: center;
    background-color: #f6f4ff;
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
    justify-content: center;
    overflow: visible;
    padding: 100px 50px;
    position: relative;
    width: 100%;
}

.services h2 {
    font-size: 48px;
    font-family: 'Manrope', sans-serif;
    line-height: 62.4px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1px;
}

.services .grid-section {
    text-align: center;
}

.services .grid-section .card {
    justify-content: center;
    align-items: center;
}

/* FAQ section */
.faq-section {
    padding: 67px 40px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    flex-wrap: nowrap;
}

.faq-section h2 {
    font-size: 50px;
    font-family: 'Inter', 'sans-serif';
}

.faq-container {
    background-color: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.faq-icon {
    width: 16px;
    height: 16px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #000;
    border-radius: 10px;
    transition: transform 0.3s;
}

.faq-icon::before {
    width: 2px;
    height: 16px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-icon::after {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    font-size: 14px;
    color: #444;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-icon::before {
    transform: translateX(-50%) scaleY(0);
}

/* cta section */
.section-cta {
    background-color: rgb(42, 159, 40);
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    /* max-width: 560px; */
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;

}

.section-cta .content {
    max-width: 560px;
    text-align: center;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

.section-cta .intro-sub {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 24px;
    /* text-transform: uppercase; */
}

.section-cta h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 62px;
    color: #fff;
}

.call-button {
    width: 200px;
    /* Fixed width */
    height: 50px;
    /* Optional: consistent height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow:
        rgba(0, 0, 0, 0.18) 0px 0.6px 0.6px -1.25px,
        rgba(0, 0, 0, 0.16) 0px 2.3px 2.3px -2.5px,
        rgba(0, 0, 0, 0.063) 0px 10px 10px -3.75px;
    text-decoration: none;
    color: rgb(25, 21, 78);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1em;
    text-align: center;
    transition: filter 0.3s ease, background-color 0.3s ease;
}

.call-button:hover {
    filter: brightness(0.95);
    background-color: #fafafa;
}

.call-button:active {
    filter: brightness(0.9);
}

.call-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 21, 78, 0.2);
}

/* site footer */
.site-footer {
    background-color: #145218;
    color: #ffffff;
    padding: 40px 20px 20px;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 50px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 5px 0;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: left;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.7;
    margin-left: 50px;
}



/* animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* media qurries */

@media (max-width: 1024px) {
    .grid-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-section {
        grid-template-columns: 1fr;
    }
}

/* === Mobile Responsiveness === */

/* Header adjustments for mobile */
@media (max-width: 768px) {
    header {
        height: auto;
    }

    #website-logo {
        width: 150px;
        /* Smaller logo for mobile */
    }

    /* Adjust container padding for smaller screens */
    .container {
        padding: 15px;
    }
    .heading, .section-cta h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }


    /* Hamburger menu */
    .hamburger {
        display: block;
        font-size: 28px;
    }

    .main-nav {
        display: none;
        /* Hide by default */
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .main-nav.active {
        display: flex;
    }

    /* Hero Section Adjustments */
    .hero-section {
        padding: 40px 10px;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        padding: 20px;
        text-align: center;
        max-width: 90%;
    }

    .hero-image {
        padding: 10px;
    }

    .hero-image img {
        width: 100%;
    }

    /* About Section Adjustments */
    .about-section {
        padding: 50px 20px;
    }

    .about-section h2 {
        font-size: 32px;
        /* Reduce font size */
    }

    /* Grid Section Adjustments */
    .grid-section {
        grid-template-columns: 1fr;
        /* Stack cards vertically */
    }

    /* Services Section Adjustments */
    .services {
        padding: 50px 20px;
    }

    .services h2 {
        font-size: 36px;
        /* Reduce font size */
    }

    .services .grid-section {
        grid-template-columns: 1fr;
        /* Stack services vertically */
    }

    /* FAQ Section Adjustments */
    .faq-section {
        padding: 50px 20px;
    }

    .faq-section h2 {
        font-size: 32px;
        /* Reduce font size */
    }

    .faq-item .faq-question {
        padding: 15px;
    }

    .faq-answer {
        padding: 0 15px 15px;
    }

    /* Call to Action Section */
    .section-cta {
        padding: 30px 20px;
        text-align: center;
    }
}

/* Tablet (landscape) and above */
@media (min-width: 768px) {
    .hero-section {
        padding: 60px 20px;
    }

    
    .hero-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .hero-text {
        max-width: 500px;
    }

    .hero-image img {
        width: 80%;
    }

    /* Grid Section Adjustments for Tablet */
    .grid-section {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns */
    }

    /* Services Section Adjustments for Tablet */
    .services .grid-section {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns */
    }
}

/* Desktop Adjustments */
@media (min-width: 992px) {
    .hero-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-text {
        max-width: 600px;
    }

    .grid-section {
        grid-template-columns: repeat(3, 1fr);
        /* Three columns */
    }

    .services .grid-section {
        grid-template-columns: repeat(3, 1fr);
        /* Three columns */
    }

    /* Trusted Section Logo Adjustments */
    .logo-wrapper img {
        width: 136px;
    }
}

@media (min-width: 1200px) {

    /* General desktop-wide adjustments */
    .container {
        max-width: 1140px;
    }

    /* Larger logo on desktop */
    #website-logo {
        width: 200px;
    }
}