/*
=====================================================
    Theme: Aura
    Version: 1.0
=====================================================
*/

/* 1. Variables & Fonts */
:root {
    --primary-teal: #005F6B;
    --text-dark: #1D242D;
    --text-body: #5C6A79;
    --bg-color: #FDFCF9;
    --surface-color: #FFFFFF;
    --border-color: #EAEAEA;
    --light-teal: #E6F6F8;

    --font-heading: 'General Sans', sans-serif;
    --font-body: 'Lora', serif;
    --transition-speed: 0.3s;
    --container-width: 1100px;
    --section-padding: 120px 0;
    --shadow: 0px 15px 40px rgba(29, 36, 45, 0.06);
}

/* Use a modern font from Google Fonts that feels like General Sans */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Lora:wght@400;600&display=swap');

:root {
    --font-heading: 'Inter', sans-serif;
}


/* 2. Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-body);
    line-height: 1.8;
    font-size: 1.1rem;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-teal);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.text-center p,
.text-center h2 {
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.lead {
    font-size: 1.25rem;
    max-width: 60ch;
    color: var(--text-body);
}

.heading-light {
    color: #FFFFFF;
}

.lead-light {
    color: rgba(255, 255, 255, 0.8);
}

.subtitle-light {
    color: rgba(255, 255, 255, 0.8);
}

/* 3. Header & Navigation */
#main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 20px 0;
    background-color: rgba(253, 252, 249, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img {
    max-height: 60px;
}

#desktop-nav {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
}

.nav-cta {
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    color: var(--surface-color);
    background-color: var(--primary-teal);
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.nav-cta:hover,
.nav-cta.active {
    background-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Mobile Nav */
#hamburger-btn {
    background: none;
    border: none;
    z-index: 1002;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

#hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: all var(--transition-speed);
    position: absolute;
}

#hamburger-btn span:first-child {
    top: 0;
}

#hamburger-btn span:last-child {
    bottom: 0;
}

body.nav-open #hamburger-btn {
    position: fixed;
    right: 5%;
}

body.nav-open #hamburger-btn span:first-of-type {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

body.nav-open #hamburger-btn span:last-of-type {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

body.nav-open #mobile-nav {
    opacity: 1;
    visibility: visible;
}

#mobile-nav .mobile-nav-links li {
    margin: 1.5rem 0;
}

#mobile-nav .mobile-nav-link {
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-family: var(--font-heading);
}

/* 4. Hero & CTA Button */
#hero {
    padding: var(--section-padding);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    color: var(--surface-color);
    background-color: var(--primary-teal);
    transition: all var(--transition-speed);
    font-family: var(--font-heading);
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--text-dark);
    transform: translateY(-3px);
}

/* 5. Trusted By */
#trusted-by {
    padding-bottom: var(--section-padding);
}

.trusted-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #aab5c4;
    margin-bottom: 2rem;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 4rem;
}

.client-logos span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #cdd5e0;
}

/* 6. Value Proposition */
#value-prop {
    background-color: var(--surface-color);
}

.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 7. Services (Tabs) */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-body);
    border-bottom: 3px solid transparent;
    transition: all var(--transition-speed);
}

.tab-button.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.tab-content {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tab-content.active {
    display: grid;
}

.service-card {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 8px;
}

/* 8. Our Approach */
index.html#approach {
    background-color: var(--surface-color);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

.approach-image-placeholder {
    min-height: 400px;
    background-color: var(--light-teal);
    border-radius: 8px;
}

.step {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.step h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
}

.step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-teal);
    font-size: 1.2rem;
}

.step:nth-of-type(1)::before {
    content: '01';
}

.step:nth-of-type(2)::before {
    content: '02';
}

.step:nth-of-type(3)::before {
    content: '03';
}

.step:nth-of-type(4)::before {
    content: '04';
}

/* 9. Results / Case Study */
index.html#results {
    background-color: var(--text-dark);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.result-metric {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--surface-color);
    display: block;
    line-height: 1.1;
}

.result-label {
    color: rgba(255, 255, 255, 0.7);
}

/* 10. Final CTA & Page Header */
#final-cta,
.page-header {
    background-color: var(--light-teal);
    padding: var(--section-padding);
}

.page-header h1 {
    max-width: 800px;
    margin: 0 auto;
}

.page-header .lead {
    max-width: 60ch;
    margin: 1rem auto 0;
}

/* 11. Contact Form & Legal Content */
#contact-page {
    padding-top: 0;
    margin-top: -50px;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    margin: 2rem 0 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* 12. Footer */
#main-footer {
    padding: 60px 0;
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-col {
    font-size: 0.95rem;
}

#footer-brand img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-body);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-body);
    font-size: 0.9rem;
}

/* 13. Responsive */
@media (min-width: 992px) {
    #desktop-nav {
        display: block;
    }

    #hamburger-btn {
        display: none;
    }
}

@media (max-width: 991px) {
    #desktop-nav {
        display: none;
    }

    #hamburger-btn {
        display: block;
    }
}

@media (max-width: 768px) {

    .value-prop-grid,
    .results-grid,
    .approach-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .approach-image-placeholder {
        display: none;
    }

    .footer-grid {
        text-align: center;
    }

    .footer-col {
        margin-bottom: 2rem;
    }
}