/* ==========================================================================
   PREMIUM CINEMATIC DESIGN SYSTEM - CORE VARIABLES & RESETS
   ========================================================================== */
:root {
    --color-primary: #7D000E;     /* Premium Deep Cinematic Crimson Red */
    --color-white: #FFFFFF;       /* High Contrast Light Surface */
    --color-black: #000000;       /* Base Void / Core Cinematic Pure Dark */
    --color-offwhite: #F4F3EF;    /* Premium Soft Cream Surface Context */
    --color-dark-grey: #111111;   /* Secondary Structural Backings */
    --color-muted: #666666;       /* Subtitle & Fine Detail Typography */
    
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-offwhite);
    color: var(--color-black);
    font-family: var(--font-body);
    font-size: 16px;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   HEADER NAVIGATION COMPONENT
   ========================================================================== */
.site-header {
    width: 100%;
    background-color: var(--color-offwhite);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   NAVBAR IMAGE LOGO OPTIMIZATION
   ========================================================================== */

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

/* Strict size containment rules for the logo image */
.logo-img {
    height: 80px;                 /* Perfectly sized height for a premium modern navbar */
    width: auto;                  /* Automatically calculates width to prevent squishing/stretching */
    max-width: 120px;             /* Safeguard boundary rule to protect layout constraints */
    object-fit: contain;          /* Ensures image fits cleanly within its layout bounding box */
    border-radius: 4px;           /* Subtle corner softening matching high-end design languages */
    background-color: transparent;/* Prevents color clash patterns if logo uses transparency backgrounds */
    transition: var(--transition-fast); /* Links seamlessly to our existing animation global matrix */
    margin: 0;
    padding: 0;
}

/* Hover micro-interaction effect matching the premium visual identity */
.logo-area:hover .logo-img {
    transform: scale(1.05);       /* Subtle zoom feedback loop when user moves cursor over header */
}

/* Responsive adjustments for compact mobile layouts */
@media (max-width: 480px) {
    .logo-img {
        height: 30px;             /* Slightly downscales on ultra-small screens to preserve row real estate */
    }
    
    .logo-text {
        font-size: 1.1rem;        /* Shrinks typography proportionately with the image change */
    }
}

.social-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.social-nav a {
    color: var(--color-black);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-fast);
}

.social-nav a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.social-nav svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   HERO SHOWCASE SECTION BLOCK
   ========================================================================== */
.hero-showcase {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 0 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-subtitle {
    font-family: var(--font-heading);
    color: var(--color-muted);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 2px;
    background-color: var(--color-primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--color-black);
    margin-bottom: 2rem;
}

.accent-text {
    color: var(--color-primary);
}

.hero-description {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.75);
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-black);
    transform: scale(1.03);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    border-color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.02);
}

.hero-stats {
    display: flex;
    gap: 3.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-black);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.scroll-indicator {
    margin-top: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted);
    cursor: pointer;
}

.scroll-arrow {
    font-size: 1.1rem;
    animation: bounce 2s infinite alternate ease-in-out;
}

/* Cinematic Image Wrapper Side */
.cinematic-overflow-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;               /* Constrains width to a clean, stable size */
    aspect-ratio: 1 / 1;            /* Perfect square baseline container layout */
    display: flex;
    justify-content: center;
    align-items: flex-end;         /* Important: Aligns Freddy to the bottom boundary */              
}

/* The structural background circle layer Freddy stands inside */
.circle-backdrop-element {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;                     /* Standard margin bounds within container cell */
    height: 15%;                    /* Maintains the strict aspect circle layout scale */
    border-radius: 30%;             /* Creates the perfect circle mask background backdrop */
    background: linear-gradient(145deg, var(--color-primary), #4A0008); /* Premium crimson gradient shading depth */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;                     /* Placed safely behind the portrait image layers */
}

/* Freddy's portrait asset rendering logic with active overflow parameters */
.overflow-portrait-image {
    position: relative;
    bottom: 25%;
    width: auto;
    height: 140%;                  /* FORCE OVERFLOW: Pushes the image boundary 12% higher than the square container block */
    max-width: 100%;
    object-fit: contain;
    z-index: 3;                    /* Sits atop both the background circle element and background text layers */
    transform-origin: bottom center;/* Establishes transition root coordinates along the base floor */
    transition: var(--transition-smooth); /* Links into global UI interaction pacing framework */
    pointer-events: auto;
}

/* Micro-interaction zoom effect logic applied across the overflow asset */
.cinematic-overflow-wrapper:hover .overflow-portrait-image {
    transform: scale(1.04);        /* Subtle upward floating animation effect when user cursor enters the layout frame */
}

/* Precise Multi-Device Responsive Viewport Overrides */
@media (max-width: 1024px) {
    .cinematic-overflow-wrapper {
        max-width: 380px;           /* Scales down on tablet views to prevent side clipping overlap */
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .cinematic-overflow-wrapper {
        max-width: 300px;           /* Perfectly calibrated footprint bounds targeting mobile screens layout systems */
        margin-top: 2rem;
    }
    .frame-bg-text-overlay {
        font-size: 2.8rem;          /* Downscaled typography context settings preventing row wrapping issues */
    }
}
/* ==========================================================================
   INFINITE MARQUEE COMPONENT (Fixed Contrast & Color)
   ========================================================================== */
.marquee-divider {
    background-color: var(--color-black);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: infiniteScrollMarquee 32s linear infinite;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    /* MAXIMUM CONTRAST OVERRIDE CRITICAL CHANGE */
    color: var(--color-white) !important;
    padding: 0 2rem;
}

.marquee-content .bullet {
    color: var(--color-primary) !important;
    font-size: 1.5rem;
    opacity: 1;
}

/* ==========================================================================
   ABOUT NARRATIVE SECTION
   ========================================================================== */
.about-section {
    padding: 8rem 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 2rem;
}

.about-text-content p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(0,0,0,0.7);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   PREMIUM CINEMATIC PORTFOLIO ARCHITECTURE BLOCK
   ========================================================================== */

   .portfolio-intro-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
}

.intro-accent-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #E33238; /* Accent matching play metrics */
    border: 1px solid rgba(227, 50, 56, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.intro-main-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 1rem 0;
    line-height: 1.1;
}


/* Responsiveness patch for smaller screens */
@media (max-width: 768px) {
    .intro-main-title {
        font-size: 2.25rem;
    }
    .intro-subtitle {
        font-size: 1rem;
    }
}

.portfolio-section {
    padding: 8rem 0;
    width: 100%;
    overflow: hidden;
    background-color: #0A0A0A; /* Premium dark cinema aesthetic */
}

.portfolio-category {
    margin-bottom: 6rem;
    width: 100%;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #FFFFFF; /* High-contrast white header text */
    margin-bottom: 2.5rem;
    padding-left: 5%;
    position: relative;
}

/* Base horizontal scroll container setup */
.scroll-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 5% 2rem 5%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.scroll-track::-webkit-scrollbar {
    display: none;
}

/* Premium Card Wrapper Structure */
.portfolio-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #141414; /* Sleek structural card backing */
    padding: 1.25rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04); /* Sharp high-end inner divider border */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effect implementing the rich crimson glow from mockup */
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(142, 28, 32, 0.4);
    box-shadow: 0 12px 40px rgba(142, 28, 32, 0.25); /* Deep red ambient aura glow */
}

.short-form-card { width: 340px; }
.long-form-card { width: 440px; }

/* Core Inner Video Box Container */
.video-container {
    position: relative;
    width: 100%;
    background-color: #000000;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    cursor: pointer;
}

.short-form-card .video-container { aspect-ratio: 9 / 16; }
.long-form-card .video-container { aspect-ratio: 16 / 9; }

.youtube-embed-wrapper {
    position: relative;
    pointer-events: auto;
}

.youtube-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    pointer-events: auto;
    transform: scale(1.0); /* Keeps framing perfect and crisp */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.youtube-embed-wrapper:hover iframe {
    transform: scale(1.03); /* Clean internal upscale on focus */
}

/* Custom Semi-Translucent Crimson Play Button Overlay */
.play-indicator-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.0);
    width: 64px;
    height: 64px;
    background: rgba(142, 28, 32, 0.75); /* Crimson translucent formula matching reference */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.4s;
}

.play-indicator-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-width: 9px 0 9px 16px;
    border-style: solid;
    border-color: transparent transparent transparent #FFFFFF;
}

.video-container:hover .play-indicator-btn {
    background: rgba(142, 28, 32, 0.95);
    transform: translate(-50%, -50%) scale(1.08); /* Sophisticated responsive growth click target feel */
}

/* Portfolio Typography Styling */
.card-headline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF; /* High contrast naming headers */
    margin: 0.5rem 0 0.25rem 0;
}

.card-subtext {
    font-size: 0.95rem;
    color: #999999; /* Muted modern description tone */
    line-height: 1.5;
    margin: 0;
}

/* Standout Link Typography Accents */
.card-subtext a {
    color: #E33238; /* Bright interactive accent color */
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-left: 0.25rem;
    transition: color 0.2s ease;
}

.card-subtext a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* ==========================================================================
   NEW TESTIMONIAL CAROUSEL ELEMENT (Vanilla Infinite Smooth System)
   ========================================================================== */
.testimonial-carousel-section {
    padding: 8rem 0;
    background-color: var(--color-offwhite);
    width: 100%;
    overflow: hidden;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-tag-center {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.carousel-title-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    margin-top: 0.5rem;
}

.carousel-container-outer {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    padding: 2rem 0;
}

.carousel-container-outer:active {
    cursor: grabbing;
}

.carousel-track-inner {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    will-change: transform;
}

.testimonial-card {
    background-color: var(--color-white);
    width: 420px;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.02);
    user-select: none;
    flex-shrink: 0;
}

.star-rating {
    color: #FFC107;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.testimonial-body {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    font-style: italic;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(125,0,14,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.client-info-text {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-black);
}

.client-role {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ==========================================================================
   FOOTER / CONTACT FORM COMPONENT
   ========================================================================== */
    .contact-section {
    padding: 6rem 5%;
    background-color: #f4f0ea; /* Clean studio lighting backdrop matching */
    width: 100%;
}

.contact-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Media framing layout grid block */
.contact-media-block {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-portrait-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text & typography asset column */
.contact-content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Minimalist label styling array wrapper */
.contact-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-badge-line {
    width: 24px;
    height: 2px;
    background-color: #8a1321; /* Crimson identity color link */
}

.contact-badge-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #8a1321;
}

.contact-main-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--color-black);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #55514b;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Action items interactive row link blocks */
.contact-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

/* Primary Booking Call anchor configuration */
.btn-book-call {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #8a1321; /* Dark premium corporate red fill */
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(138, 19, 33, 0.2);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-book-call:hover {
    background-color: #6b0d18;
    transform: translateY(-2px);
}

/* Secondary direct mail anchor button design configuration layout */
.btn-email-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid #dcd8d0;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-email-direct:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: var(--color-black);
}

/* Bottom Social Matrix positioning array */
.contact-social-matrix {
    border-top: 1px solid #e0dbd3;
    padding-top: 2rem;
}

.social-matrix-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #8c8881;
    margin-bottom: 1.25rem;
}

.contact-social-links {
    display: flex;
    gap: 1.5rem;
}

.contact-social-links a {
    color: var(--color-black);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.contact-social-links a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: #7D000E;
}

/* Responsive Adaptive Fluid Overrides */
@media (max-width: 992px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-media-block {
        max-width: 550px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact-action-row {
        flex-direction: column;
    }
    .btn-book-call, .btn-email-direct {
        width: 100%;
        justify-content: center;
    }
}

.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 2rem 3rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.footer-cta-sub {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 3.5rem;
}

.footer-email-btn {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    transition: var(--transition-fast);
    display: inline-block;
}

.footer-email-btn:hover {
    color: var(--color-primary);
    border-color: var(--color-white);
}

.footer-base-line {
    margin-top: 8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS ENGINE
   ========================================================================== */
@keyframes infiniteScrollMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(6px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE & TABLET LOGIC)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-right {
        max-width: 500px;
        margin: 0 auto;
    }
    .section-header-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .btn { width: 100%; justify-content: center; }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .footer-base-line {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .testimonial-card {
        width: 320px;
        padding: 1.75rem;
    }
}



.reveal-item {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Directional Starting States (Before Scroll) --- */
.reveal-slide-left {
    transform: translateX(-50px);
}

.reveal-slide-right {
    transform: translateX(50px);
}

.reveal-slide-up {
    transform: translateY(40px);
}

/* --- Active Revealed State (Triggered by JS) --- */
.reveal-item.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

