/* Base Styles */
:root {
    color-scheme: light;
    --primary-color: #d35400; /* Deep Orange */
    --secondary-color: #e67e22; /* Medium Orange */
    --accent-color: #f39c12; /* Golden Orange */
    --dark-color: #2d3436;
    --dark-grey: #434343;
    --light-color: #ffffff; /* White background */
    --text-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nunito-regular {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.lora {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
    font-family: 'Lora', serif;
}
body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    /* Crepe paper texture: anisotropic SVG noise + fine horizontal lines */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.7' numOctaves='5' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='%23a09850' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(140, 130, 60, 0.09) 3px,
            rgba(140, 130, 60, 0.09) 4px
        );
    background-size: 400px 400px, auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1036px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.7' numOctaves='5' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='%23a09850' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(140, 130, 60, 0.09) 3px,
            rgba(140, 130, 60, 0.09) 4px
        );
    background-size: 400px 400px, auto;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;

}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 0;
    position: relative;
     color: var(--text-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

/* Home Page Styles */
.intro-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.intro-text {
    flex: 1;
}

.intro-text h1 {
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.intro-image {
    flex: 1.2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.intro-image:hover img {
    transform: scale(1.03);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background-color: #fffee8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border-top: 4px solid #e2c754;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #f03d26;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* About Page Styles */
.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h1 {
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.about-header p {
    font-size: 1.2rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonials Container */
.testimonials-container {
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background-color: #f2f2e7;
    padding: 40px;
    border-radius: 15px;
    border-top: 4px solid #e2c754;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-icon {
    font-size: 2.5rem;
    color: #f03d26;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-color);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.client-details {
    text-align: left;
}

.client-details h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.client-details p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.section-h2-band {
    width: 100%;
    background-color: rgba(255, 254, 232, 0.5);
    border-top: 1px solid rgba(226, 199, 84, 0.5);
    border-bottom: 1px solid rgba(226, 199, 84, 0.5);
    padding: 28px max(20px, calc((100% - 1036px) / 2 + 20px));
}

.section-h2-band h2 {
    font-size: 2.5rem;
   /* color: #fff;*/
    margin: 0;
    text-align: left;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: /*1px*/0px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .intro-section {
        flex-direction: column;
        gap: 40px;
        align-items: center !important;
    }

    .intro-text h1 {
        font-size: 2.4rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }


}

@media screen and (max-width: 768px) {
    .carousel-wrapper {
        width: 100%;
        border-radius: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .intro-text h1 {
        font-size: 2rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

}

/* ===================== How I Work Stripes ===================== */
.how-i-work-stripes {
    width: 100%;
}

.how-i-work-stripe {
    position: relative;
    min-height: 156px;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid rgba(226, 199, 84, 0.5);
    transition: background-color 0.4s ease;
}

.how-i-work-stripe:first-child {
    border-top: 1px solid rgba(226, 199, 84, 0.5);
}

.how-i-work-stripe:hover {
    background-color: rgba(255, 254, 232, 0.5);
}

/* Default state: absolutely positioned heading + static icon */
.hiw-default {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px max(20px, calc((100% - 1036px) / 2 + 20px));
    transition: opacity 0.6s ease;
    opacity: 1;
    z-index: 1;
}

.hiw-default h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 0;
    font-weight: 700;
}

/* Hover state: expands to reveal paragraphs */
.hiw-hover {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, max-height 0.6s ease;
}

.hiw-hover-inner {
    max-width: 1036px;
    margin: 0 auto;
    padding: 28px 20px;
    font-size: 1.15rem;
    line-height: 1.75;
}

.hiw-hover-inner p {
    color: var(--text-color);
}

.how-work-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.heading-bullet {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

/* On hover: fade out default, expand hover content, spin icon */
.how-i-work-stripe:hover .hiw-default {
    opacity: 0;
}

.how-i-work-stripe:hover .hiw-hover {
    max-height: 500px;
    opacity: 1;
 
    background-color: var(--light-color);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.7' numOctaves='5' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='%23a09850' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(140, 130, 60, 0.09) 3px,
            rgba(140, 130, 60, 0.09) 4px
        );
    background-size: 400px 400px, auto;

}

.how-i-work-stripe:hover .hiw-icon {
    -webkit-animation: rotating 6s linear infinite;
    -moz-animation: rotating 6s linear infinite;
    animation: rotating 6s linear infinite;
}

@media screen and (max-width: 768px) {
    .hiw-default h3 {
        font-size: 1.4rem;
    }

    .hiw-default {
        padding: 20px 30px;
        gap: 16px;
    }

    .hiw-hover-inner {
        padding: 20px 30px;
        font-size: 1rem;
    }
}

/* ===================== How I Work Band ===================== */
.how-i-work-band {
    width: 100%;
    opacity: 0;
    transition: opacity 3s ease;
}

.how-i-work-band.visible {
    opacity: 1;
}


/* ===================== Intro Band ===================== */
/* Transparent so the sticky video shows through as text scrolls over it */
.intro-band {
    position: relative;
    z-index: 2;
    background: transparent;
}

/* ===================== Intro CTA ===================== */
.intro-cta {
    text-align: center;
    padding-bottom: 48px;
}

.cta-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.cta-btn:hover {
    background: var(--secondary-color);
}

/* ===================== Intro Columns ===================== */
.intro-columns {
    display: grid;
    grid-template-columns: .5fr .5fr;
    gap: 60px;
    padding: 36px 20px 48px;
    font-size: 1.4rem;
    line-height: 1.75;
    color: var(--text-color);
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 16px rgba(255, 255, 255, 0.7),
        0 2px 4px rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 768px) {
    .intro-columns {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 20px 36px;
    }
}

/* ===================== Hero Video ===================== */
/* Sticky wrapper — hero sticks inside here; releases once intro has scrolled past */
.hero-scroll-wrapper {
    position: relative;
}

.hero-section {
    position: sticky;
    top: 0; /* JS overrides to header.offsetHeight */
    width: 100%;
    margin-top: -40px; /* cancel main's top padding so video touches header */
    min-height: 25vh;
    overflow: hidden;
}

.hero-video-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25vh;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    z-index: 3;
    text-align: center;
    pointer-events: none;
}

.hero-title h1 {
    color: #fff;
    font-size: 2.4rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cards-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 120px 20px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-card {
    width: 85%;
    background: #f7f6d7;
    border-radius: 17px;
    padding: 41px 46px;
    border-top: 4px solid #e2c754;
    box-shadow: var(--shadow);
}

.hero-card:nth-child(odd) {
    align-self: flex-start;
}

.hero-card:nth-child(even) {
    align-self: flex-end;
}

.hero-card h1 {
    font-size: 1.9rem;
    color: var(--dark-color);
    margin-bottom: 14px;
}

.hero-card p {
    font-size: 1.44rem;
    color: var(--text-color);
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .hero-video-strip {
        height: 20vh;
    }

    .hero-section {
        min-height: 20vh;
    }

    .hero-title {
        padding: 16px 20px;
    }

    .hero-title h1 {
        font-size: 1.4rem;
    }

    .hero-cards-wrapper {
        padding: 80px 16px 40px;
    }

    .hero-card,
    .hero-card:nth-child(odd),
    .hero-card:nth-child(even) {
        width: 100%;
        align-self: stretch;
    }

    .how-i-work > .service-card,
    .how-i-work > .service-card:nth-child(odd),
    .how-i-work > .service-card:nth-child(even) {
        width: 100%;
        align-self: stretch;
    }
}

/* How I Work stagger */
.how-i-work > .service-card:nth-child(odd) {
    align-self: flex-start;
    width: 85%;
}

.how-i-work > .service-card:nth-child(even) {
    align-self: flex-end;
    width: 85%;
}

/* ===================== Clients Two-Column Layout ===================== */
.clients-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start; /* required: lets left column go sticky independently */
    max-width: 1310px;
    margin: -7.5vh auto 0; /* pull up so top 30% of carousel overlaps hero (hero = 25vh, 30% = 7.5vh) */
    padding: 0 30px 60px;
    position: relative;
    z-index: 3; /* paint over the sticky hero video */
}

/* Left column: carousel sticks below the header while right column scrolls */
.carousel-column {
    position: sticky;
    top: 100px; /* overridden by JS to header.offsetHeight + gap */
}

/* Carousel fills its column width */
.clients-layout .carousel-wrapper {
    width: 85%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 12px;
}

/* Right column: plain scroll, no extra width cap needed */
.testimonials-column .testimonials-container {
    max-width: none;
    margin: 0 0 40px;
}

@media screen and (max-width: 900px) {
    .clients-layout {
        grid-template-columns: 1fr;
        padding: 30px 20px 40px;
    }

    .carousel-column {
        position: static; /* no sticky on mobile — carousel sits above testimonials */
    }

    .clients-layout .carousel-wrapper {
        width: 80%;
        margin: 0 auto 30px;
    }
}

/* ===================== Carousel ===================== */
.carousel-wrapper {
    position: relative;
    width: 45%;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
    margin: 0 auto 60px;
    border-radius: 12px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ===================== Contact Modal ===================== */
.contact-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.contact-modal-overlay.open {
    display: flex;
}

.contact-modal-box {
    background: #fffee8;
    border-radius: 14px;
    padding: 40px 36px 32px;
    width: min(676px, 92vw);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
    .contact-modal-box {
        width: 90vw;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.contact-modal-box h2 {
    margin-bottom: 24px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.contact-modal-close:hover {
    color: var(--dark-color);
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.contact-form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.contact-form-group input,
.contact-form-group textarea {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    border-color: var(--primary-color);
}

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

.contact-form-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form-submit:hover {
    background: var(--secondary-color);
}

/* ===================== Services Section Fade-in ===================== */
.services-section {
    opacity: 0;
    transition: opacity 6s ease;
}

.services-section.visible {
    opacity: 1;
}

/* ===================== Services Grid ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1036px;
    margin: 0 auto;
    padding: 48px 20px 64px;
}

.svc-card {
    background-color: #f2f2e7;
    border: 1px solid rgba(226, 199, 84, 0.5);
    border-top: 4px solid #e2c754;
    border-radius: 10px;
    padding: 0;
    position: relative;
    min-height: 220px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-default,
.svc-hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: opacity 0.35s ease;
}

.svc-default {
    opacity: 1;
}

.svc-default i {
    font-size: 2.4rem;
    color: #f03d26;
}

.svc-default h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
}

.svc-hover {
    opacity: 0;
}

.svc-hover h3 {
    font-size: 1.15rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
}

.svc-hover p {
    font-size: 0.88rem;
    color: var(--text-color);
    line-height: 1.65;
    margin: 0;
}

.svc-card:hover .svc-default {
    /*opacity: 0;*/
    opacity: 1;
}

.svc-card:hover .svc-hover {
    /*opacity: 1;*/
    opacity: 0;
}

.svc-card:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 32px 16px 48px;
    }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== About Page Two-Column Layout ===================== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 40px;
    align-items: start;
    max-width: 1310px;
    margin: 0 auto;
    margin-top: 10px;
    padding: 0 30px 60px;
    position: relative;
    z-index: 3;
}

.about-doodle-column {
    position: sticky;
    top: 100px; /* overridden by JS to header.offsetHeight + gap */
}

.about-doodle-column img {
    width: 100%;
    height: 52.5vh;
    object-fit: contain;
    object-position: center;
}

@media screen and (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        padding: 20px 20px 40px;
    }

    .about-doodle-column {
        display: none;
    }
}

/* ===================== About Value Cards ===================== */
.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-value-card {
    background-color: #f2f2e7;
    border: 1px solid rgba(226, 199, 84, 0.5);
    border-top: 4px solid #e2c754;
    border-radius: 10px;
    padding: 14px 22px;
    min-height: 100px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
}

.about-card-heading {
    display: flex;
    align-items: center;
}

.about-value-card .heading-bullet {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-right: 12px;
    opacity: 1;
    transition: width 0.3s ease, opacity 0.25s ease, margin-right 0.3s ease;
}

.about-value-card:hover .heading-bullet {
    width: 0;
    opacity: 0;
    margin-right: 0;
}

.about-value-card h3 {
    font-size: 2rem;
    
    line-height: 1;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
    transition: font-size 0.3s ease;
}

.about-value-card:hover h3 {
    font-size: 0.95rem;
}

.about-value-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.1s, max-height 0.4s ease;
}

.about-value-card:hover p {
    opacity: 1;
    max-height: 400px;
}

@media screen and (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
}

/* ===================== About Value Stripes ===================== */
.about-stripes {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.about-stripe {
    position: relative;
    min-height: calc(52.5vh / 4);
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid rgba(226, 199, 84, 0.5);
    transition: background-color 0.4s ease;
}

.about-stripe:first-child {
    border-top: 1px solid rgba(226, 199, 84, 0.5);
}

.about-stripe:nth-child(odd) {
    background-color: #fffee8;
}

.about-stripe:nth-child(even) {
    background-color: #fdf8d9;
}

.about-stripe:hover {
    background-color: var(--light-color);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.03 0.7' numOctaves='5' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='%23a09850' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"),
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(140, 130, 60, 0.09) 3px,
            rgba(140, 130, 60, 0.09) 4px
        );
    background-size: 400px 400px, auto;
}

.about-stripe-default {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 16px 24px;
    transition: opacity 0.6s ease;
    opacity: 1;
    z-index: 1;
}

.about-stripe-default h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 0;
}

.about-stripe-hover {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, max-height 0.6s ease;
}

.about-stripe-hover-inner {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.about-stripe-hover-inner h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.about-stripe-hover-inner p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.75;
}

.about-stripe:hover .about-stripe-default {
    opacity: 0;
}

.about-stripe:hover .about-stripe-hover {
    max-height: 300px;
    opacity: 1;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 6s linear infinite;
  -moz-animation: rotating 6s linear infinite;
  -ms-animation: rotating 6s linear infinite;
  -o-animation: rotating 6s linear infinite;
  animation: rotating 6s linear infinite;
}