/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #7AB259;
    --accent-hover: #689F4C;
    --gray-bg: #F8F9FA;
    --text-color: #333;
    --text-secondary: #4A4A4A;
    --container-width: 1200px;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    width: 100%;
    background: white;
    z-index: 1000;
    padding-top: 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

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

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .logo img {
        height: 42px;
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 65%;
    max-width: 300px;
    height: 100%;
    background: #2c2c2c;
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    padding: 80px 0 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
}

.nav.active {
    right: 0;
    transform: translateX(0);
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-list li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list a {
    text-decoration: none;
    color: #fff;
    font-size: 1.125rem;
    display: block;
    padding: 0.875rem 1.5rem;
    transition: background-color 0.2s ease;
    width: 100%;
}

.nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    z-index: 1002;
}

.hamburger:focus {
    outline: none;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hamburger Animation */
.hamburger.active span:first-child {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Overlay */
.nav-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.bg-gray {
    background: var(--gray-bg);
}

.section-content {
    margin-bottom: 2rem;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    padding: 280px 0 160px;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1E1E1E;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #4A4A4A;
}

.cta-button {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1.125rem;
    background-color: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-hover);
}

.hero-image {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Forms */
.contact-form,
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input,
textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Footer */
.footer {
    background: #272727;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo img {
    width: auto;
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* Copyright text styling */
.footer-bottom {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

/* Remove the old social media styles */
.footer-social {
    display: none;
}

/* Media Queries */
@media (min-width: 768px) {
    .section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    .section .container.reverse {
        direction: rtl;
    }

    .section .container.reverse > * {
        direction: ltr;
    }

    .hero-content {
        text-align: left;
    }

    .section-content {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        display: flex;
        justify-content: space-between;
    }

    .footer-logo {
        flex: 0 0 auto;
    }

    .footer-links {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
    }

    .footer-bottom {
        grid-column: 1;
        grid-row: 2;
        margin-top: -1rem;
    }

    .hero .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }

    .hero-content {
        flex: 1;
        margin-bottom: 0;
    }

    .hero-image {
        flex: 1;
    }
}

/* Close Button */
.nav-close {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.nav-close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

.nav-close span:first-child {
    transform: rotate(45deg);
}

.nav-close span:last-child {
    transform: rotate(-45deg);
}

.nav-close:hover span {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Update all headings to use Poppins */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    color: #1E1E1E;
}

/* Also update any form submit buttons to match */
input[type="submit"],
button[type="submit"].cta-button {
    border-radius: 100px;
}

/* What We Do Section Styles */
.section.bg-gray {
    background-color: var(--gray-bg);
    padding: 80px 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1E1E1E;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 2.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.check-icon {
    color: var(--accent-color);
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-content h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4A4A4A;
}

/* Update container layout for What We Do section */
#what-we-do .container {
    display: flex;
    flex-direction: column;
}

#what-we-do .section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#what-we-do .section-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#what-we-do .section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Media query for desktop layout */
@media (min-width: 1024px) {
    #what-we-do .section-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    #what-we-do .section-image {
        flex: 1;
        display: flex;
        align-items: center;
    }

    #what-we-do .section-content {
        flex: 1;
    }
}

/* Why Us Section Styles */
#why-us {
    padding: 80px 0;
}

#why-us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--container-width);
}

#why-us .section-header {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 4rem;
}

#why-us .section-title {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

#why-us .section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin: 0 auto;
    max-width: 720px;
}

.cards-grid {
    width: 100%;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    margin: 0 auto;
}

.info-card {
    background-color: var(--gray-bg);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #1E1E1E;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card p {
    color: #1E1E1E;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Remove the general section grid layout for this section */
@media (min-width: 768px) {
    .section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    /* Override the grid layout for Why Us section */
    #why-us .container {
        display: flex;
        grid-template-columns: unset;
    }
}

/* How It Works Section Styles */
#how-it-works .container {
    display: flex;
    flex-direction: column;
}

#how-it-works .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

#how-it-works .section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#how-it-works .section-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#how-it-works .section-content {
    flex: 1;
}

/* Process Steps Styling */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--accent-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1E1E1E;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Desktop Layout */
@media (min-width: 1024px) {
    #how-it-works .section-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    #how-it-works .section-image {
        flex: 1;
        margin: 0;
    }

    #how-it-works .section-content {
        flex: 1;
    }
}

/* Benefits Section Styles */
#benefits .container {
    display: flex;
    flex-direction: column;
}

#benefits .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

#benefits .section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

#benefits .section-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#benefits .section-image img {
    width: 100%;
    height: auto;
    display: block;
}

#benefits .section-content {
    flex: 1;
}

#benefits .cta-button {
    margin-top: 2rem;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    #benefits .section-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    #benefits .section-image {
        flex: 1;
        margin: 0;
    }

    #benefits .section-content {
        flex: 1;
    }
}

/* Who We Work With Section Styles */
#who-we-work-with .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#who-we-work-with .section-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 4rem;
}

.partners-grid {
    width: 100%;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 160px;
    justify-content: space-between;
}

.partner-logo i {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.partner-logo h3 {
    margin: 0;
    font-size: 1.25rem;
    color: white;
    text-align: left;
    line-height: 1.4;
    padding-bottom: 0.5rem;
}

.partner-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive grid layouts */
@media (min-width: 640px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact & Subscribe Section Styles */
#contact .container {
    display: flex;
    flex-direction: column;
    max-width: var(--container-width);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-section {
    width: 100%;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-section h2,
.subscribe-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1E1E1E;
}

.contact-section p,
.subscribe-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form input,
.subscribe-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--body-font);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .contact-subscribe-wrapper {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-section,
    .subscribe-section {
        flex: 1;
        width: 50%;
    }

    .contact-section {
        padding-right: 2rem;
        border-right: 1px solid var(--gray-bg);
    }

    .subscribe-section {
        padding-left: 2rem;
    }
}

/* Add/update footer logo styles */
.footer-logo img {
    width: auto;
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 1rem;
}

/* Animation Base States */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger child animations */
[data-animate] .feature-item,
[data-animate] .info-card,
[data-animate] .process-step,
[data-animate] .partner-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

[data-animate].animate-in .feature-item,
[data-animate].animate-in .info-card,
[data-animate].animate-in .process-step,
[data-animate].animate-in .partner-card {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for child elements */
[data-animate] .feature-item:nth-child(1),
[data-animate] .info-card:nth-child(1),
[data-animate] .process-step:nth-child(1),
[data-animate] .partner-card:nth-child(1) { transition-delay: 0.1s; }

[data-animate] .feature-item:nth-child(2),
[data-animate] .info-card:nth-child(2),
[data-animate] .process-step:nth-child(2),
[data-animate] .partner-card:nth-child(2) { transition-delay: 0.2s; }

[data-animate] .feature-item:nth-child(3),
[data-animate] .info-card:nth-child(3),
[data-animate] .process-step:nth-child(3),
[data-animate] .partner-card:nth-child(3) { transition-delay: 0.3s; }

[data-animate] .feature-item:nth-child(4),
[data-animate] .info-card:nth-child(4),
[data-animate] .process-step:nth-child(4),
[data-animate] .partner-card:nth-child(4) { transition-delay: 0.4s; }

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

#hubspot-form-container {
    width: 100%;
    min-height: 400px;
    margin: 2rem auto;
}

/* Style adjustments for HubSpot form */
.hs-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#thank-you-message {
    text-align: center;
    padding: 2rem;
}

#thank-you-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

#thank-you-message p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}