/*
=====================================================
    Theme: Geode
    Author: Curtis & Yvonne Consulting
    Version: 9.0
=====================================================
*/

/* 1. Variables & Root Styles */
:root {
    --primary-color: #8A4FFF;
    /* Amethyst Purple */
    --secondary-color: #00F5D4;
    /* Bright Cyan */
    --dark-color: #121212;
    --medium-color: #555555;
    --light-color: #EAEAEA;
    --bg-color: #F0F0F0;
    /* Off-white / light stone */
    --white-color: #FFFFFF;
    --border-color: #DCDCDC;

    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 800;

    --transition-speed: 0.3s;
    --container-width: 1140px;
    --section-padding: 120px 0;
}

/* 2. Base & Reset Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e0e0e0" fill-opacity="0.2"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    color: var(--dark-color);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-black);
    line-height: 1.2;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--medium-color);
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    transition: color var(--transition-speed);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* 3. Animations & Utilities */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroller {
    to {
        transform: translate(calc(-50% - 2rem));
    }
}

.animate-on-load {
    opacity: 0;
    animation: slideInUp 0.8s ease-out forwards;
}

.animate-on-load:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.text-center p,
.text-center h2 {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title .subtitle {
    color: var(--medium-color);
    font-weight: var(--font-weight-bold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.section-title h2 {
    margin-top: 0.5rem;
}

/* 4. Header & Navigation */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all var(--transition-speed);
}

#main-header.scrolled {
    background: rgba(240, 240, 240, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: var(--font-weight-bold);
}

.logo-link img {

    height: 70px;

}

#hamburger-btn {
    display: none;
    background: none;
    border: none;
    z-index: 1001;
    position: relative;
    width: 26px;
    height: 18px;
}

#hamburger-btn .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    transition: all var(--transition-speed);
}

#hamburger-btn .bar:first-child {
    top: 0;
}

#hamburger-btn .bar:last-child {
    bottom: 0;
}

/* 5. CTA Button */
.cta-button {
    padding: 16px 36px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 4px;
    border: 2px solid var(--primary-color);
    font-weight: 700;
    transition: all var(--transition-speed);
}

.cta-button:hover {
    background: #6F2CFF;
    border-color: #6F2CFF;
    transform: translateY(-3px);
}

/* 6. Section Divider */
.section-divider {
    height: 100px;
    width: 100%;
    background: var(--dark-color);
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}

.section-divider.alt {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

/* 7. Hero Section */
#hero {
    padding: 180px 0 0;
    background: var(--dark-color);
    color: var(--white-color);
}

#hero h1,
#hero p {
    color: var(--white-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-end;
}

#hero .highlight {
    color: var(--primary-color);
}

#hero p {
    font-size: 1.1rem;
    max-width: 45ch;
    margin: 1.5rem 0 2rem;
    color: var(--light-color);
    opacity: 0.9;
}

.hero-image-wrapper {
    align-self: stretch;
    display: flex;
}

.hero-image {
    margin-top: auto;
    border-top: 8px solid var(--primary-color);
    border-right: 8px solid var(--primary-color);
}

/* 8. Trusted By Scroller */
#trusted-by {
    padding: 3rem 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

.scroller-inner {
    display: flex;
    gap: 4rem;
}

.scroller-inner span {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--medium-color);
    opacity: 0.5;
}

/* 9. Services Section */
#services {
    background-color: var(--white-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.facet-card {
    position: relative;
    background: var(--bg-color);
    padding: 2.5rem;
    transition: all var(--transition-speed);
    border: 1px solid var(--border-color);
}

.facet-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.facet-card:hover {
    transform: translateY(-8px);
}

.facet-card:hover::before {
    opacity: 1;
}

.facet-card .card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 10. Philosophy Section */
#philosophy {
    background: var(--white-color);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-triggers button {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.philosophy-triggers button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 3px;
    background: var(--border-color);
}

.philosophy-triggers button.active {
    color: var(--primary-color);
}

.philosophy-triggers button.active::after {
    background: var(--primary-color);
}

.philosophy-content {
    background: var(--bg-color);
    padding: 3rem;
}

.philosophy-pane {
    display: none;
}

.philosophy-pane.active {
    display: block;
    animation: slideInUp 0.5s;
}

.philosophy-pane p {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* 11. Process Section */
#process {
    background: var(--dark-color);
    color: var(--white-color);
}

#process h2,
#process p {
    color: var(--white-color);
}

#process .subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.3;
}

.process-step {
    position: relative;
    padding-top: 4rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    background: #222;
    border: 1px solid var(--border-color);
}

.step-content p {
    color: var(--light-color);
    opacity: 0.8;
}

/* 12. Results Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--white-color);
    padding: 2rem;
    border-bottom: 4px solid var(--primary-color);
}

.stat-item h3 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--dark-color);
    font-weight: 700;
}

/* 13. Testimonial Section */
#testimonial {
    background: var(--dark-color);
}

.testimonial-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.quote {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--white-color);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.author {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 14. FAQ Section */
#faq {
    background: var(--white-color);
}

.faq-container {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.faq-question i {
    transition: transform var(--transition-speed);
    color: var(--primary-color);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* 15. Final CTA Section */
#final-cta {
    background-color: var(--primary-color);
}

#final-cta h2,
#final-cta p {
    color: var(--white-color);
}

#final-cta p {
    max-width: 600px;
    margin: 1rem auto 2rem;
    opacity: 0.9;
}

#final-cta .cta-button {
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

/* 16. Page & Legal Styles */
.page-header {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 180px 0 0;
}

.page-header h1,
.page-header p {
    color: var(--white-color);
}

#contact-page {
    background: var(--white-color);
}

#contact-page .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

.contact-info-wrapper h3 {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    margin-left: 1.5rem;
}

/* 17. Footer */
#main-footer {
    padding: 80px 0;
    background: var(--dark-color);
    color: var(--white-color);
}

#main-footer a {
    color: var(--light-color);
    opacity: 0.8;
}

#main-footer a:hover {
    opacity: 1;
}

#main-footer h4,
#main-footer p {
    color: var(--white-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 18. Responsive Design */
@media (max-width: 991px) {
    .header-cta {
        display: none;
    }

    #hamburger-btn {
        display: block;
    }

    #main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--white-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform var(--transition-speed);
    }

    .nav-open #main-nav {
        transform: translateX(0);
    }

    .nav-open #hamburger-btn .bar:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open #hamburger-btn .bar:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        display: none;
    }

    .hero-content p {
        margin: 1.5rem auto 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .philosophy-grid,
    #contact-page .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .philosophy-triggers button {
        border-bottom: 1px solid var(--border-color);
    }

    .philosophy-triggers button::after {
        display: none;
    }
}