/* Image visibility helpers (place before section-specific rules may be overridden below) */
.mobile-only { display: none; }
.desktop-only { display: block; }

/* Ensure Acceptance images respect visibility on desktop/mobile */
.about-life-image.mobile-only { display: none !important; }
.about-life-image.desktop-only { display: flex !important; }

@media (max-width: 900px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }

    .about-life-image.mobile-only { display: flex !important; justify-content: center !important; }
    .about-life-image.desktop-only { display: none !important; }
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f7fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typing text effect */
.typing-text {
    font-size: 4rem;
    margin-bottom: 1rem;
    height: auto;
    line-height: 1.15;
    min-height: 1.15em;
    position: relative;
    display: block;
    width: 100%;
    min-width: 600px;
    overflow: visible;
}

.typing-text::after {
    content: '|';
    position: absolute;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Header and Navigation */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem;
}

header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

header.scrolled .logo-line1,
header.scrolled .logo-line2,
header.scrolled .logo-to,
header.scrolled .logo-potential {
    color: #111;
}

header.scrolled nav a {
    color: #111;
}

header.scrolled nav a:hover {
    /*color: var(--accent-color); */
    opacity: 0.7;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-img {
    width: 200px;
    height: 70px;
    object-fit: contain;
    border-radius: 0;
    background: none;
    box-shadow: none;
    display: block;
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(0);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-line1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 1px;
}

.logo-line2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.1rem;
    font-weight: 400;
    color: #111;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.logo-to {
    font-size: 1.05rem;
    font-weight: 400;
    color: #111;
}

.logo-potential {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin-top: 0.1em;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: var(--transition);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

/* Make nav links black only on index.html */
body:has(.hero) nav a {
    color: black;
}

nav a:hover {
    /*color: var(--secondary-color);*/
    opacity: 0.7;
}

/* Hero Section */
.hero {
    min-height: 175vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 80px 2rem 2rem 2rem;
    background: rgb(250, 246, 241);
    color: black;
    background-image: url('hisPhotos/IMG_32807.jpg');
    background-size: contain;
    background-position: center -80px;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    /* animation: backgroundFade 8s ease-in-out infinite; */
}

@keyframes backgroundFade {
    0%, 45% {
        background-image: url('headBackgroundEdited.jpg');
    }
    50%, 95% {
        background-image: url('hisPhotos/IMG_49992.jpg');
    }
    100% {
        background-image: url('headBackgroundEdited.jpg');
    }
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
    z-index: 2;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    margin-top: -20px;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    margin-top: -20px;
    transform: translateY(305px);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero .subtitle {
    margin-top: 2.5rem;
    margin-bottom: 2.2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero .cta-button {
    margin-top: 2.5rem;
}

/* Featured Section */
.featured {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

.featured h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.featured-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    width: 150px;
    height: 60px;
    background-color: #ddd;
    border-radius: 5px;
}

/* Framework Section */
.framework {
    padding: 6rem 2rem;
    background-color: white;
}

.framework h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.framework-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Buttons */
.cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: #111;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: skew(-20deg);
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

/* Base shine effect */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

/* Continuous shine effect */
.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.cta-button span {
    display: inline-block;
    transform: skew(20deg);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    background-color: #1e00ff; /*c0392b*/
    transform: skew(20deg);
}

.cta-button:hover span {
    transform: skew(-20deg);
}

.cta-button:hover::before {
    left: 100%;
}

/* Pause the continuous shine animation on hover */
.cta-button:hover::after {
    animation-play-state: paused;
}

.secondary-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Contact Form */
.contact {
    padding: 6rem 2rem;
    background-color: var(--light-bg);
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact input,
.contact textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact textarea {
    min-height: 150px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    background-image: url('hisPhotos/IMG_1708.jpg');
    /*background-image: url('footerSteps.jpg');*/
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 5rem 2rem; /* was 3rem 2rem */
    min-height: 30vh; /* add a bit more height so image isn't overly stretched */
}

/* Mobile: crop footer image instead of stretching */
@media (max-width: 768px) {
    footer {
        background-size: cover;
        background-position: center;
        min-height: 35vh;
    }
}

/* Footer text styling */
footer p {
    font-size: 1.2rem; /* was default size, now bigger */
    margin-top: -2rem; /* move text higher up in the footer */
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro Section */
.intro {
    padding: 6rem 2rem;
    background-color: black;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    width: 100%;
}

.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-placeholder {
    width: 400px;
    height: 500px;
    background-color: #f0f0f0;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #999;
}

.intro-content {
    position: relative;
    padding: 2rem;
    width: 100%;
    margin-left: 0;
    padding-right: 0;
}

.rotating-text-container {
    position: absolute;
    top: -30px;
    right: -50px;
    width: 150px;
    height: 150px;
    z-index: 2;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-left: 2rem;
    max-width: 100%;
}

.intro-headers {
    margin-bottom: 2rem;
}

.intro-text {
    max-width: 100%;
    overflow-wrap: normal;
    word-wrap: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "\2010";
    hyphenate-limit-chars: 6 3 2;
    -webkit-hyphenate-character: "\2010";
    -moz-hyphenate-character: "\2010";
    -ms-hyphenate-character: "\2010";
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 1.5rem;
    max-width: 100%;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "\2010";
    hyphenate-limit-chars: 6 3 2;
    -webkit-hyphenate-character: "\2010";
    -moz-hyphenate-character: "\2010";
    -ms-hyphenate-character: "\2010";
}

.intro-buttons {
    display: flex;
    gap: 4rem;
    margin-top: 2.5rem;
    justify-content: flex-start;
}

.button-container {
    flex: 0 0 auto;
}

/* Intro buttons inherit from main .cta-button */

.intro-buttons .cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    display: inline-block;
    text-decoration: none;
}

.intro-buttons .cta-button.secondary:hover {
    background-color: white;
    color: black;
    transform: skew(20deg);
}

.intro-buttons .cta-button.secondary:hover span {
    transform: skew(-20deg);
}

.intro-buttons .cta-button.secondary::before,
.intro-buttons .cta-button.secondary::after {
    background: rgba(44, 62, 80, 0.2);
}

.intro-buttons .cta-button.secondary:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-content {
        padding: 1rem;
    }

    .content-wrapper {
        padding-left: 1rem;
    }

    .profile-image img {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Reduce side padding to avoid horizontal clipping */
    .mission {
        padding-left: 0;
        padding-right: 0;
    }
    .intro {
        padding-top: 60px;
    }

    .intro-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .profile-image img {
        max-width: 300px;
    }
}

/* Global mobile typography adjustments (exclude testimonials) */
@media (max-width: 768px) {
    /* Intro title and blurb (stronger override) */
    .intro .intro-content h2 { font-size: 1.6rem !important; }
    .intro .intro-text p { font-size: 0.9rem !important; }
    /* Hero */
    .hero h1 { font-size: 2.4rem; }
    .hero h2 { font-size: 1.6rem; }
    .hero .subtitle { font-size: 1rem; }

    /* Intro */
    .intro-content h2 { font-size: 1.8rem; }
    .subtitle-accent { font-size: 0.9rem; }
    .intro-text p { font-size: 0.95rem; }

    /* Mission */
    .mission-content h2 { font-size: 2.2rem; }
    .mission-content p { font-size: 1rem; }
    .did-you-know h2 { font-size: 2rem; }

    /* Gallery headers */
    .gallery-header h2,
    .gallery2 .gallery-header h2 { font-size: 2rem; }

    /* Framework intro */
    .framework-header h2 { font-size: 2.2rem; }
    .pre-title { font-size: 0.95rem; }
    .framework-description { font-size: 1rem; }

    /* Choice section */
    .choice-title { font-size: 2.2rem; }
    .choice-subtitle { font-size: 1.2rem; }

    /* FAQ / CTA / Pricing */
    .faq-section h2 { font-size: 2rem; }
    .cta-section h2 { font-size: 2rem; }
    .cta-section p { font-size: 1rem; }
    .pricing-section h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    /* Further tighten for small phones */
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1.4rem; }
    .intro .intro-content h2 { font-size: 1.4rem !important; }
    .intro .intro-text p { font-size: 0.85rem !important; }
    .mission-content h2 { font-size: 2rem; }
    .did-you-know h2 { font-size: 1.8rem; }
    .gallery-header h2,
    .gallery2 .gallery-header h2 { font-size: 1.8rem; }
    .framework-header h2 { font-size: 2rem; }
    .framework-description { font-size: 0.95rem; }
    .choice-title { font-size: 2rem; }
    .choice-subtitle { font-size: 1.1rem; }
    .faq-section h2 { font-size: 1.8rem; }
    .cta-section h2 { font-size: 1.8rem; }
}

/* Circular Text Animation */
.circular-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    animation: rotate 15s linear infinite;
}

.circular-text svg {
    width: 100%;
    height: 100%;
}

.circular-text text {
    font-size: 11px;
    font-weight: bold;
    fill: white;
    letter-spacing: 1px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

/* Responsive design for intro section */
@media (max-width: 768px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    /* Image first */
    .profile-image {
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .profile-image img {
        max-width: 300px;
        width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .profile-placeholder {
        width: 300px;
        height: 400px;
    }

    /* Spinning text second - under image */
    .rotating-text-container {
        order: 2;
        display: flex;
        justify-content: center;
        margin-top: -8px;
        margin-bottom: 2rem;
    }

    .circular-text {
        width: 90px;
        height: 90px;
        position: static;
    }

    /* Headers third */
    .intro-headers {
        order: 3;
        text-align: center;
        margin-bottom: 2rem;
    }

    .intro-headers h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    /* Text content fourth - move intro-content up */
    .intro-content {
        order: 4;
        padding: 1rem;
        text-align: center;
    }

    .intro-text {
        margin-bottom: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }

    /* Buttons last */
    .intro-buttons {
        order: 5;
        flex-direction: column;
        gap: 1rem;
    }

    .intro-cta-button, .intro-secondary-button {
        width: 100%;
    }

    /* Hide the original content wrapper since we're restructuring */
    .content-wrapper {
        display: contents;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 2100; /* keep toggle above the drawer */
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white !important;
        padding-top: 4rem;
        transition: var(--transition);
        z-index: 2000; /* ensure the drawer overlays page content */
    }

    .nav-links.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        color: black;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .framework-steps {
        grid-template-columns: 1fr;
    }

    .typing-text {
        font-size: 3rem;
        height: 3.5rem;
        line-height: 3.5rem;
        min-width: 300px;
    }
}

/* Mobile logo and text sizing */
@media (max-width: 768px) {
    .logo-img {
        width: 120px;
        height: 40px;
    }
    
    .logo-line1 {
        font-size: 0.9rem;
    }
    
    .logo-line2 {
        font-size: 0.8rem;
    }
    
    .logo-to {
        font-size: 0.75rem;
    }
    
    .logo-potential {
        font-size: 0.85rem;
    }
    
    .typing-text {
        font-size: 2.5rem;
        height: auto;
        line-height: 1.2;
        min-height: 1.2em;
        min-width: 0;
        overflow: visible;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        transform: translateY(5px);
    }
}

/* Small phones: tighten hero and typing text */
@media (max-width: 480px) {
    .hero {
        min-height: 110vh;
        background-size: cover;
        background-position: center top;
        padding-top: 70px;
    }
    .hero h1,
    .hero h2 {
        margin-top: 0;
    }
    .typing-text {
        font-size: 2.2rem;
        height: auto;
        line-height: 1.2;
        min-height: 1.2em;
        min-width: 0;
        overflow: visible;
    }
    
    .logo-img {
        width: 100px;
        height: 35px;
    }
    
    .logo-line1 {
        font-size: 0.8rem;
    }
    
    .logo-line2 {
        font-size: 0.7rem;
    }
    
    .logo-to {
        font-size: 0.65rem;
    }
    
    .logo-potential {
        font-size: 0.75rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        transform: translateY(5px);
    }
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    /* background-color: #280cdb;  /* Slate Blue */
    background-color: white;
    overflow: hidden;
}

.clients h3 {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2rem;
}

.logo-scroll-container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide-inner {
    width: 100%;
    padding: 1rem;
}

/* Override for spacer elements */
.swiper-slide-inner .spacer {
    width: 5px !important;
    height: 10px !important;
    padding: 0 !important;
}

.swiper-slide img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) 
            drop-shadow(1px 0px 0px #000)
            drop-shadow(-1px 0px 0px #000)
            drop-shadow(0px 1px 0px #000)
            drop-shadow(0px -1px 0px #000);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.swiper-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ATP Tour logo specific styling */
.swiper-slide img[src="logos/ATP_Tour_logo.svg.png.webp"] {
    margin-left: -12rem;
}

@media (max-width: 768px) {
    .logo-group {
        gap: 2rem;
    }
    
    .logo-group img {
        height: 40px;
    }
    
    .swiper-slide img[src="logos/ATP_Tour_logo.svg.png.webp"] {
        margin-left: 0.5rem;
    }
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-content h2 span {
    /* color: #001aff; */
    color: #FAFAFA;
}

.subtitle-accent {
    /* color: var(--accent-color); */
    color: #FAFAFA;
}

.intro-text p {
    color: white;
}

.intro-buttons .cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    display: inline-block;
    text-decoration: none;
}

.intro-buttons .cta-button.secondary:hover {
    background-color: white;
    color: black;
    transform: skew(20deg);
}

.intro-buttons .cta-button.secondary:hover span {
    transform: skew(-20deg);
}

.intro-buttons .cta-button.secondary::before,
.intro-buttons .cta-button.secondary::after {
    background: rgba(44, 62, 80, 0.2);
}

.intro-buttons .cta-button.secondary:hover::before {
    left: 100%;
}

.circular-text text {
    fill: white;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    height: 120px;
}

.gallery-header h2 {
    font-size: 3.5rem;
    position: absolute;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.stroke-text {
    -webkit-text-stroke: 1px white;
    color: transparent;
    z-index: 1;
}

.solid-text {
    color: white;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border: 2px solid white;
    border-radius: 8px;
    transition: opacity 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
}

.image-wrapper img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery {
        padding: 4rem 0;
    }
    .gallery-grid {
        gap: 1.5rem;
        padding: 1rem;
    }
    .image-wrapper img {
        height: auto;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 1rem;
        padding: 0.5rem;
    }
    .image-wrapper {
        border-width: 1px;
    }
    .image-wrapper img {
        max-height: 50vh;
        object-fit: contain;
    }
}

/* Gallery2 Section - Horizontal Scroll Animation */
.gallery2 {
    padding: 6rem 0;
    background-color: black;
    color: white;
    overflow: hidden;
}

.gallery2 .gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery2 .gallery-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    height: 120px;
}

.gallery2 .gallery-header h2 {
    font-size: 3.5rem;
    position: absolute;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
}

.gallery2 .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery2 .gallery-column {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gallery2 .image-wrapper {
    position: relative;
    overflow: hidden;
    border: 2px solid white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform;
    /* Comment out the old fade-in animation */
    /* opacity: 0; */
    /* transform: translateX(100px); */
    /* transition: all 0.8s ease; */
    
    /* New rotation animation - start slightly tilted to the right */
    transform: rotate(5deg);
    transition: transform 0.1s ease;
}

.gallery2 .image-wrapper.animate-in {
    /* Comment out the old animation */
    /* opacity: 1; */
    /* transform: translateX(0); */
    
    /* New animation - rotate clockwise as you scroll */
    transform: rotate(0deg);
}

.gallery2 .image-wrapper img {
    width: 100%; /* 70 30% smaller than 100% */
    height: 600px; /* 42030% smaller than 600px */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery2 {
        padding: 4rem 0;
    }
    .gallery2 .gallery-grid {
        gap: 1.5rem;
        padding: 1rem;
    }
    .gallery2 .image-wrapper img {
        height: auto;
        max-height: 60vh;
    }
}

@media (max-width: 480px) {
    .gallery2 .gallery-grid {
        gap: 0.75rem;
        padding: 0.5rem;
        grid-template-columns: repeat(3, 1fr) !important;
        width: 100%;
    }
    .gallery2 .image-wrapper {
        border: 0;
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gallery2 .image-wrapper img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        border: 1px solid white;
        background: #000;
    }
    /* Flatten nested columns to allow a 3x2 grid */
    .gallery2 .gallery-column {
        display: contents;
    }
}

/* Prevent horizontal overflow */
html {
    overflow-x: hidden;
}

/* Lightbox overlay for image zoom */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-overlay img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Smaller logo size in the client swiper on small phones */
@media (max-width: 480px) {
    .swiper-slide img {
        height: 50px;
    }
}

/* Initial positions for specific images */
[data-scroll="left-to-right"]:first-of-type {
    transform: translateX(-100px); /* Start graphic1.png more to the left */
}

[data-scroll="bottom-to-top"]:first-of-type {
    transform: translateY(500px); /* Lowered from 400px to 500px for hisPhotos/IMG_8588.jpg */
}

[data-scroll="bottom-to-top"]:nth-of-type(2) {
    transform: translateY(-200px); /* Start graphic3.png more up */
}

[data-scroll="right-to-left"] {
    transform: translateX(100px); /* Start graphic5.jpg more to the right */
}

[data-scroll="left-to-right"]:nth-of-type(2) {
    transform: translateX(-100px); /* Start graphic6.jpg more to the left */
}

/* Update the scroll animations to work with initial positions */
[data-scroll="left-to-right"],
[data-scroll="bottom-to-top"],
[data-scroll="right-to-left"],
[data-scroll="scale-up"] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.1s linear;
    will-change: transform;
}

/* Active states for animations */
[data-scroll="left-to-right"].active,
[data-scroll="bottom-to-top"].active,
[data-scroll="right-to-left"].active,
[data-scroll="scale-up"].active {
    opacity: 1;
}

@media (max-width: 768px) {
    [data-scroll="left-to-right"] {
        transform: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery2 .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery2 .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-header h2 {
        font-size: 2.5rem;
    }
    
    .gallery2 .gallery-header h2 {
        font-size: 2.5rem;
    }
}

/* Mission Section */
.mission {
    padding: 6rem 2rem;
    background-color: black;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content {
    padding-right: 0;
    width: 140%;
    margin-left: -20%;
}

.mission-text-wrapper {
    width: 100%;
    margin-bottom: 4rem;
}

.mission-content h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-content h2 span {
    /* color: #5400f0; */
    color: #FAFAFA;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
}

.mission-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-left: 2rem;
}

.image-container {
    position: absolute;
    left: 60%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Update responsive design for larger screens */
@media (min-width: 1200px) {
    .image-container {
        max-width: 700px;
    }
}

/* Maintain responsiveness on smaller screens */
@media (max-width: 768px) {
    .mission-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        align-items: center;
    }

    .mission-content {
        width: 100%;
        margin-left: 0;
        /* Allow children to participate in parent grid for reordering */
        display: contents;
    }

    .mission-image {
        position: static;
        padding: 1rem;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100vw;
    }

    .image-container {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Explicit mobile order: text -> image -> did-you-know */
    .mission-text-wrapper { order: 1; }
    .mission-image { order: 2; }
    .did-you-know { order: 3; }

    /* Ensure the image centers and fits */
    .mission-image img {
        display: block;
        width: 100%;
        max-width: 100vw;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
        object-position: center center;
    }

    /* Hard override to keep the mission image fully on-screen */
    .mission .mission-image { padding: 0 !important; }
    .mission .image-container { padding: 0 !important; }
    .mission .mission-image img[src*="IMG_2681"] {
        max-width: 100vw !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        transform: translateX(-49vw) !important;
        object-position: center left !important;
    }
}

/* Did You Know Section */
.did-you-know {
    text-align: center;
    margin-top: 2rem;
}

.did-you-know h2 {
    font-size: 2.8rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .did-you-know h2 {
        font-size: 2.2rem;
    }
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 50%;
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    color: white;
    line-height: 1.4;
    margin: 0;
}

/* Responsive design for stats */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-image {
        width: 60px;
        height: 60px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-text {
        font-size: 0.9rem;
    }
}

/* Framework Intro Section */
.framework-intro {
    background-color: black;
    padding: 6rem 2rem;
    color: white;
}

.framework-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.framework-header {
    margin-bottom: 4rem;
}

.pre-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.framework-header h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.framework-image {
    max-width: 475px;
    margin: 0 auto;
    position: relative;
    transform: translateX(-40px); /* Move everything left */
}

.image-container {
    position: relative;
    width: 100%;
}

.framework-image img {
    width: 100%;
    height: auto;
    display: block;
}

.framework-description {
    max-width: 800px;
    margin: 3rem auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
}

.framework-intro .button-container {
    margin-top: 2rem;
}

.framework-intro .cta-button {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    transform: skew(-20deg);
    overflow: hidden;
}

.framework-intro .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.framework-intro .cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

.framework-intro .cta-button span {
    display: inline-block;
    transform: skew(20deg);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.framework-intro .cta-button:hover {
    background-color: #c0392b;
    transform: skew(20deg);
}

.framework-intro .cta-button:hover span {
    transform: skew(-20deg);
}

.framework-intro .cta-button:hover::before {
    left: 100%;
}

/* Make framework-intro secondary button look like intro-buttons secondary button */
.framework-intro .cta-button.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    display: inline-block;
    text-decoration: none;
}

.framework-intro .cta-button.secondary:hover {
    background-color: white;
    color: black;
    transform: skew(20deg);
}

.framework-intro .cta-button.secondary:hover span {
    transform: skew(-20deg);
}

.framework-intro .cta-button.secondary::before,
.framework-intro .cta-button.secondary::after {
    background: rgba(44, 62, 80, 0.2);
}

.framework-intro .cta-button.secondary:hover::before {
    left: 100%;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .framework-description {
        font-size: 1.1rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .framework-image {
        width: 100%;
        max-width: 475px;
        margin: 0 auto;
        left: 0;
        transform: translateX(-205px); /* move left by 40px on mobile */
        display: flex;
        justify-content: center;
    }
}

/* Responsive design for framework section */
@media (max-width: 768px) {
    .framework-intro {
        padding: 4rem 1rem;
    }

    .pre-title {
        font-size: 1rem;
    }

    .framework-header h2 {
        font-size: 2.5rem;
    }

    .framework-header {
        margin-bottom: 3rem;
    }
}

.read-more-overlay {
    position: absolute;
    top: 140px;
    left: 35px;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
}

.second-overlay {
    left: 345px;
}

.third-overlay {
    top: 380px;
    left: 190px;
}

.read-more-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-text:hover {
    color: var(--accent-color);
}

.read-more-overlay:hover .hover-content {
    opacity: 1;
    visibility: visible;
}

.read-more-overlay .hover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    padding: 2rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    width: 400px;
}

.read-more-overlay .hover-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.read-more-overlay .hover-content li {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 0;
    position: relative;
}

.read-more-overlay .hover-content li:before {
    display: none;
}

.read-more-overlay .hover-title {
    /* color: var(--accent-color); */
    color: #280cdb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Testimonial box hover styles */
.testimonial-box:hover .hover-content {
    opacity: 0;
    visibility: hidden;
}

.hover-prompt {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    margin-top: 15px;
    cursor: pointer;
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

.hover-prompt:hover + .hover-content,
.hover-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .read-more-overlay {
        top: 110px;
        left: 5vw; /* base position */
        margin-left: -5px; /* move Read Me 30px right from previous */
    }
    
    .second-overlay {
        left: 40vw; /* base position */
        margin-left: 95px; /* move Read Me 30px right from previous */
    }

    .third-overlay {
        top: 280px;
        left: 22vw; /* base position */
        margin-left: 60px; /* move Read Me 30px right from previous */
    }
    
    /* Center hover content in the viewport on mobile for all overlays */
    .read-more-overlay .hover-content {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(calc(-50% + 210px), -50%) !important; /* shift 100px right */
        width: min(90vw, 380px) !important; /* make box wider on mobile */
        max-width: 95vw !important;
        z-index: 9999 !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        padding: 1.2rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: anywhere !important;
        hyphens: auto !important;
    }
    .read-more-overlay .hover-content .hover-title { font-size: 1.2rem !important; }
    .read-more-overlay .hover-content li,
    .read-more-overlay .hover-content p { font-size: 0.9rem !important; line-height: 1.4 !important; }
}

.definition-section {
    background-color: black;
    padding: 8rem 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.definition-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    perspective: 1000px;
}

.definition-box {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    max-width: 800px;
    margin: 0 auto;
}

.definition-box.visible {
    transform: translateX(0);
    opacity: 1;
}

.word {
    font-size: 3rem;
    color: black;
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.pronunciation {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.part-of-speech {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.definition p {
    color: black;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.etymology {
    margin-top: 2rem;
    font-size: 1rem;
    color: #666;
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .definition-section {
        padding: 4rem 1rem;
    }

    .definition-box {
        padding: 2rem;
    }

    .word {
        font-size: 2.5rem;
    }

    .definition p {
        font-size: 1.1rem;
    }
}

.why-section {
    background-color: black;
    padding: 8rem 2rem;
    color: white;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.why-title .accent {
    /* color: #5400f0; */
    color: #FAFAFA;
}

.dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.dropdown-row {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.dropdown-item {
    flex: 1;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gear-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
}

.gear-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gear-icon img[src="trophy.png"] {
    filter: brightness(0) invert(1);
}

.gear-icon img[src="ginger2_noback.png"] {
    filter: brightness(0) invert(1);
}

.stat-image img[src="gearsOG_no_bg.png"] {
    filter: brightness(0) invert(1);
}

.stat-image img[src="lightbulb2.png"] {
    filter: brightness(0) invert(1);
}

.dropdown-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-header h3 {
    font-size: 1.2rem;
    margin: 0;
    padding-right: 1rem;
}

.arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.dropdown-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 1.5rem;
}

.dropdown-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item.active .arrow {
    transform: rotate(180deg);
}

.dropdown-item.active .dropdown-content {
    max-height: 300px;
    opacity: 1;
    padding: 1.5rem;
}

.dropdown-content p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Hover effects */
.dropdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .dropdown-row {
        flex-direction: column;
        gap: 2rem;
    }

    .dropdown-item {
        max-width: 100%;
    }

    .why-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .why-section {
        padding: 4rem 1rem;
    }
}

.choice-section {
    background-color: black;
    padding: 8rem 2rem;
    color: white;
    text-align: center;
}

.choice-container {
    max-width: 1200px;
    margin: 0 auto;
}

.choice-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.choice-subtitle {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.toggle-label {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 50px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: 0.4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 40px;
    width: 40px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    /* background-color: #280cdb; /* Changed to match requested color */
    /* border-color: #280cdb; */
    background-color: #1e00ff; /* New requested color */
    border-color: #1e00ff;
    /* background-color: #5400f0; /* Indigo color #4B0082*/
    /* border-color: #5400f0; */
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(50px);
}

/* Hover effect */
.toggle-switch:hover .toggle-slider:before {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .choice-title {
        font-size: 2.5rem;
    }

    .choice-subtitle {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .toggle-container {
        flex-direction: column;
        gap: 1rem;
    }

    .toggle-switch {
        width: 80px;
        height: 40px;
    }

    .toggle-slider:before {
        height: 32px;
        width: 32px;
        left: 2px;
        bottom: 2px;
    }

    .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(40px);
    }
}

.dynamic-text {
    margin-top: 3rem;
    text-align: center;
}

.choice-message {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
}

.choice-message-link {
    cursor: default;
    transition: all 0.4s ease;
    pointer-events: none;
}

/* Enable link when toggle is checked (CSS-only fallback) */
#choice-toggle:checked ~ .toggle-label ~ .toggle-label ~ * .choice-message-link,
.choice-message-link.active {
    pointer-events: auto;
    cursor: pointer;
}

.choice-message-link:hover .choice-message {
    transform: scale(1.05);
}

/* Ensure link is clickable when text is blue/champion */
.choice-message.champion {
    cursor: pointer;
}

.choice-message-link:has(.choice-message.champion) {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.choice-message.champion {
    /* color: #280cdb; /* Changed to match requested color */
    color: #1e00ff; /* New requested color */
    /*color: #5400f0; / * Indigo color #4B0082*/
    transform: scale(1.1);
    /* text-shadow: 0 0 15px rgba(40, 12, 219, 0.3); */
    text-shadow: 0 0 15px rgba(30, 0, 255, 0.3);
    /*text-shadow: 0 0 15px rgba(75, 0, 130, 0.3);*/
}

@media (max-width: 768px) {
    .choice-message {
        font-size: 2rem;
    }
}

/* Motivational Quotes Section */
.motivational-quotes {
    padding: 6rem 2rem;
    background: rgb(255, 255, 255);
    text-align: center;
}

.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.quote h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

/* Ensure all quotes are visible and centered */
.quote-top,
.quote-middle,
.quote-bottom {
    opacity: 1;
}

/* Top quote starts off-screen to the left */
.quote-top {
    transform: translateX(-100px);
    transition: transform 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .motivational-quotes {
        padding: 4rem 1rem;
    }
    
    .quote h3 {
        font-size: 1.6rem;
    }
    
    .quote-container {
        gap: 2rem;
    }
}

/* Services Page Styles */
.services-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 2rem 6rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%), url('imageEdit.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.services-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 100%);
    z-index: 2;
}

.services-hero h1 {
    font-size: 4rem;
    margin-bottom: 0;
    margin-top: -450px;
    margin-left: 150px;
    /* animation: fadeInUp 1s ease; */
    flex: 1;
    text-align: left;
}

.services-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 0;
    margin-top: -450px;
    margin-right: 150px;
    opacity: 0.9;
    /* animation: fadeInUp 1s ease 0.2s; */
    /* animation-fill-mode: both; */
    flex: 1;
    text-align: right;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    /*color: var(--accent-color);*/
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    /*color: var(--accent-color);*/
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* Pricing Section */
.pricing-section {
    background-color: var(--light-bg);
    padding: 6rem 2rem;
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.ignite-card {
    border: 2px solid #000 !important;
}
.awaken-card {
    border: 2px solid #000 !important;
}
.rebirth-card {
    border: 2px solid #000 !important;
}

.featured-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.duration {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Adjust vertical positioning for specific package durations */
.ignite-card .duration {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.awaken-card .duration {
    margin-top: -1.3rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    /*color: var(--accent-color);*/
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Horizontal FAQ Layout */
.faq-horizontal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item-horizontal {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.faq-item-horizontal:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-arrow {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light-bg);
}

.faq-answer p {
    padding: 1rem 2rem 1.5rem 2rem;
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Active state */
.faq-item-horizontal.active {
    border-color: var(--primary-color);
}

.faq-item-horizontal.active .faq-question {
    background-color: var(--primary-color);
    color: white;
}

.faq-item-horizontal.active .faq-question h3 {
    color: white;
}

.faq-item-horizontal.active .faq-arrow {
    color: white;
}

/* Legacy FAQ Grid (keeping for compatibility) */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        justify-content: center;
        /* Move background image 50px to the left on mobile */
        background-position: calc(50% + 55px) top !important;
    }
    
    .services-hero h1 {
        font-size: 2.1rem;
        text-align: left;
        margin-bottom: 1rem;
        margin-top: 70px;
        margin-left: -198px;
        line-height: 1.1;
        max-width: 150px;
    }

    .services-hero .subtitle {
        font-size: 0.8rem;
        text-align: left;
        margin-bottom: 2rem;
        max-width: 140px;
        line-height: 1.2;
        margin-left: -63px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .services-grid {
        display: none;
    }

    .booking-content h2 {
        margin-top: 20px;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

.testimonials-impact {
    background-color: #000;
    padding: 80px 20px;
    color: #fff;
}

.testimonials-impact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.testimonials-impact .it-factor {
    /* color: #ff0000; */
    color: #FAFAFA;
    font-weight: 800;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px; /* 60px vertical gap, 30px horizontal gap */
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    color: #000;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.testimonial-box.animate {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.attribution {
    color: #000000; /* Lighter, more blue indigo #6B4EFF*/
    font-size: 0.9rem;
    text-align: left;
    margin-top: auto;
    font-weight: 500;
}

.attribution .name {
    font-weight: 600;
    margin-bottom: 4px;
}

.attribution .details {
    font-size: 0.85rem;
    opacity: 0.9;
}

.hover-prompt {
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    margin-top: 15px;
    cursor: pointer;
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 50px; /* Increased gap to accommodate the hover text */
    }

    .testimonials-impact h2 {
        font-size: 2rem;
    }
}

.hover-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: #fff;
}

/* Add overlay when hover content is visible */
.hover-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hover-prompt:hover + .hover-content::before,
.hover-content:hover::before {
    opacity: 1;
    visibility: visible;
}

.bright-blue {
    /* color: #1e00ff; */
    color: #FAFAFA;
    font-weight: 600;
}

.footer-links-section {
    background: #000;
    padding: 3rem 2rem;
    border-top: 4px solid white; /* visually connects to header/nav */
    /*border-top: 4px solid var(--primary-color);  visually connects to header/nav */
    margin-top: 0;
}

.footer-links-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    flex: 1 1 180px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-connect-title,
.footer-links-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    /* color: var(--accent-color); */
    opacity: 0.7;
}

.footer-packages {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.footer-package {
    /* color: #7ecbff; */
    color: #FAFAFA;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .footer-links-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }
    .footer-col {
        min-width: 0;
        width: 100%;
    }
}

/* Mobile: keep link columns side-by-side */
@media (max-width: 768px) {
    .footer-links-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 1.5rem;
    }
    /* Make the two link columns share the row */
    .footer-links-content .footer-col:nth-child(2),
    .footer-links-content .footer-col:nth-child(3) {
        flex: 0 0 calc(50% - 0.75rem);
        width: calc(50% - 0.75rem);
    }
}

.cta-button.ternary {
    transform: skew(-20deg);
}

.cta-button.ternary span {
    display: inline-block;
    transform: skew(20deg);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.cta-button.ternary:hover {
    background-color: #c0392b;
    transform: skew(20deg);
}

.cta-button.ternary:hover span {
    transform: skew(-20deg);
}

.contact-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2rem;
    padding-top: 8rem;
    background: #000;
    color: white;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    /* opacity: 0; */
    /* animation: fadeInUp 1s ease forwards; */
}

.contact-hero .subtitle {
    /* opacity: 0; */
    /* animation: fadeInUp 1s ease 0.4s forwards; */
}

/* Mobile: crop 100px on both left and right by enlarging background width */
@media (max-width: 768px) {
    .contact-hero {
        background-size: calc(100% + 1030px) auto !important; /* zoom in horizontally by 200px */
        background-position: calc(50% - 100px) top !important; /* shift 50px right */
        background-repeat: no-repeat !important; /* ensure no tiling */
    }
    
    .contact-hero-content {
        background: rgba(0, 0, 0, 0.5) !important;
        padding: 1.5rem !important;
        border-radius: 12px !important;
        margin: calc(2rem - 60px + 100px) auto 2rem auto !important;
        max-width: calc(90% + 20px) !important;
    }
    
    .contact-hero h1 {
        font-size: 1.65rem !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-hero .subtitle {
        font-size: 0.7rem !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-hero blockquote {
        font-size: 0.55rem !important;
        margin-bottom: 0 !important;
    }
}

.about-hero {
    padding-top: 100px; /* Adjust to match header height */
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.about-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 0 1rem;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-hero {
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    /* Override inline background shorthand on mobile */
    #home.about-hero {
        background-position: 45% center !important; /* shift further right on mobile */
        background-size: cover !important;
    }
    .about-hero h1 {
        font-size: 2.1rem;
    }
    .about-hero-subtitle {
        font-size: 1rem;
    }
}

/* About page: on mobile, nudge hero background 40px to the left*/ 
@media (max-width: 768px) {
    .about-page #home.about-hero {
        background-position: calc(50% + 80px) center !important;
    }
}

/* Mobile: semi-transparent box for Approach hero */
@media (max-width: 768px) {
    .approach-hero-box {
        background: rgba(0, 0, 0, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        padding: 10px 16px; /* slightly shorter vertically */
        width: 90%;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Tighten inner spacing to reduce height */
    .approach-hero-box .about-hero-title {
        margin: 8px 0 !important;
    }
    .approach-hero-box > div {
        padding: 10px !important;
        margin-top: 0 !important;
    }
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.1rem;
    }
}

.about-life-section {
    padding: 4rem 0;
    background: #fff;
}

.about-life-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 2rem;
}

.about-life-text {
    flex: 1 1 55%;
    color: #222;
}

.about-life-text h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .about-life-text h3 { text-align: center; }
}

.about-life-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.about-life-image {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-life-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(44,62,80,0.12);
    background: #eee;
}

@media (max-width: 900px) {
    .about-life-container {
        /* Reorder to: heading -> image -> paragraph on mobile for all sections */
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "h3"
            "img"
            "p";
        gap: 1.2rem;
        padding: 0 1rem;
    }
    .about-life-image img {
        width: 220px;
        height: 220px;
    }
}

/* Make inner elements participate in the grid and assign their positions */
@media (max-width: 900px) {
    .about-life-text { display: contents; }
    .about-life-text h3 { grid-area: h3; text-align: center; }
    .about-life-image { grid-area: img; display: flex; justify-content: center; }
    .about-life-text p { grid-area: p; }
}

.about-life-section:not(:last-child) {
    border-bottom: 1px solid #000;
}

.ignite-text {
    color: #e53935;
}
.awaken-text {
    color: #1e90ff;
}
.rebirth-text {
    color: #2ecc40;
}

.awaken-card .featured-label {
    background: #000000 !important;
    color: #fff !important;
}

/* Calendly Section Styles */
.calendly-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.calendly-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-content {
    margin-top: -5rem;
}

.booking-content h2 {
    font-size: 2.8rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: black;
}

.booking-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    color: black;
}

.booking-button {
    background-color: transparent;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    border: 2px solid black;
    color: black;
    transition: all 0.4s ease;
    transform: skew(-20deg);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.booking-button:hover {
    background-color: rgb(4, 0, 255);
    color: white;
    transform: skew(20deg);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.booking-button:hover span {
    transform: skew(-20deg);
}

.booking-button span {
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    transform: skew(20deg);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Responsive design for calendly section */
@media (max-width: 768px) {
    .calendly-section {
        padding: 4rem 1rem;
    }
    
    .booking-content h2 {
        font-size: 2.2rem;
    }
    
    .booking-content p {
        font-size: 1.1rem;
    }
    
    .booking-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* Booking Success Modal */
.booking-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.booking-success-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.booking-success-modal.show .modal-content {
    transform: scale(1);
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-buttons .cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: skew(-20deg);
}

.modal-buttons .cta-button span {
    display: inline-block;
    transform: skew(20deg);
}

.modal-buttons .cta-button:hover {
    background-color: #c0392b;
    transform: skew(20deg);
}

.modal-buttons .cta-button:hover span {
    transform: skew(-20deg);
}

.modal-buttons .secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.modal-buttons .secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .modal-content p {
        font-size: 1rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .cta-button,
    .modal-buttons .secondary-button {
        width: 100%;
    }
}

.contact-section {
    padding: 2rem;
    background: url('forest3.jpg') center center/cover no-repeat;
    position: relative;
    min-height: 120vh;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-layout {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-left-image,
.contact-right-image {
    flex: 0 0 400px;
}

.contact-left-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(1.40) translateY(95px);
}

.contact-right-image img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    border-radius: 8px;
    transform: scale(1.20) scaleX(0.9) scaleY(1.4) translateY(60px);
}

.contact-form-container {
    flex: 1;
    padding: 0 1rem;
}

/* Form styling */
.streamlined-form {
    background: rgba(17, 17, 17, 0.85);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.form-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #856404;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-submit {
    position: relative;
    background: black;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    border-radius: 0;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
    transform: skew(-20deg);
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

.form-submit span {
    display: inline-block;
    transform: skew(20deg);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.form-submit:hover {
    background: white;
    color: black;
    border-color: black;
    transform: skew(20deg);
}

.form-submit:hover span {
    transform: skew(-20deg);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover::after {
    animation-play-state: paused;
}

/* Responsive design */
@media (max-width: 1200px) {
    .contact-left-image,
    .contact-right-image {
        flex: 0 0 300px;
    }
    
    .contact-left-image img,
    .contact-right-image img {
        height: 400px;
    }
}

@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-left-image,
    .contact-right-image {
        flex: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-left-image img {
        height: 700px; /* Increased height to show more of the image */
        /* Remove desktop transforms on mobile to avoid overlap with the form */
        transform: none !important;
        /* Scale images to reach screen edges */
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        object-fit: cover !important;
    }
    
    .contact-right-image img {
        height: 350px;
        /* Remove desktop transforms on mobile to avoid overlap with the form */
        transform: none !important;
        /* Scale images to reach screen edges */
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(-50vw + 50%) !important;
        object-fit: cover !important;
    }
    /* Add a bit of spacing below the top image so it doesn't touch the form */
    .contact-left-image { margin-bottom: 0.5rem; }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Services page specific logo styling */
body:has(.services-hero) .logo-img {
    filter: brightness(0) invert(1) !important;
}

body:has(.services-hero) header.scrolled .logo-img {
    filter: brightness(0) invert(0) !important;
}

body:has(.services-hero) .logo-line1,
body:has(.services-hero) .logo-line2,
body:has(.services-hero) .logo-to,
body:has(.services-hero) .logo-potential {
    color: white !important;
}

body:has(.services-hero) header.scrolled .logo-line1,
body:has(.services-hero) header.scrolled .logo-line2,
body:has(.services-hero) header.scrolled .logo-to,
body:has(.services-hero) header.scrolled .logo-potential {
    color: #111 !important;
}

/* Approach page specific hero text styling */
body:has(.about-hero) .about-hero p {
    font-size: calc(1rem + 2px) !important;
}

/* Pricing card CTA buttons inherit from main .cta-button */

/* Mobile touch improvements for CTA buttons */
@media (max-width: 768px) {
    .cta-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .cta-button:active {
        background-color: #1e00ff;
        transform: skew(20deg);
    }
    
    .cta-button:active span {
        transform: skew(-20deg);
    }
    
    .cta-button:active::before {
        left: 100%;
    }
    
    .cta-button:active::after {
        animation-play-state: paused;
    }
    
    /* All pricing card buttons now inherit from main .cta-button:active */
}
