/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #0b0a09; /* Warm dark brown/charcoal */
    --color-surface-solid: #141312; /* Rich dark brown surface */
    --color-surface-glass: rgba(17, 17, 21, 0.75);
    --color-surface-glass-hover: rgba(26, 26, 32, 0.9);
    
    --color-primary: #F5C518; /* Gold/Amber */
    --color-primary-rgb: 245, 197, 24;
    --color-primary-light: #FFE066;
    --color-primary-dark: #C49A00;
    
    --color-secondary: #7b2cbf; /* Purple */
    --color-secondary-rgb: 123, 44, 191;
    --color-secondary-dark: #5a189a;
    
    --color-text-main: #f8f9fa;
    --color-text-muted: #9fa0a6;
    --color-text-dark: #070708;
    
    --border-color: rgba(245, 197, 24, 0.15);
    --border-color-hover: rgba(245, 197, 24, 0.4);
    
    /* Gradients */
    --grad-gold: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    --grad-purple: linear-gradient(135deg, #9b5de5 0%, var(--color-secondary) 50%, var(--color-secondary-dark) 100%);
    --grad-text: linear-gradient(135deg, #ffffff 40%, #a5a6b0 100%);
    --grad-accent: linear-gradient(90deg, var(--color-secondary) 0%, #f15bb5 50%, var(--color-primary) 100%);
    --grad-dark-overlay: linear-gradient(to bottom, rgba(7, 7, 8, 0.6), rgba(7, 7, 8, 0.95));

    /* Fonts */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;
    
    /* Transitions */
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: #1c1c24;
    border: 2px solid var(--color-bg);
    border-radius: var(--radius-lg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.1;
}

p {
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOWS
   ========================================================================== */
.ambient-glow {
    position: absolute;
    width: 60vw;
    height: 60vh;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    transform: translate3d(0, 0, 0);
}
.glow-1 {
    top: 5vh;
    left: -10vw;
    background-color: var(--color-primary);
}
.glow-2 {
    top: 120vh;
    right: -10vw;
    background-color: var(--color-secondary);
}
.glow-3 {
    bottom: 5vh;
    left: 15vw;
    background-color: var(--color-primary);
    width: 40vw;
    height: 40vh;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

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

.text-glow {
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
    text-shadow: 0 0 15px rgba(245, 197, 24, 0.45);
}

/* Buttons styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--color-text-dark);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.45);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
}

.btn-glow {
    animation: buttonGlow 3s infinite alternate;
}

@keyframes buttonGlow {
    0% { box-shadow: 0 0 10px rgba(245, 197, 24, 0.2); }
    100% { box-shadow: 0 0 25px rgba(245, 197, 24, 0.5); }
}

/* Sections Structure */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Scroll Animations CSS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MAIN HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.main-header.header-scrolled {
    background-color: var(--color-surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid rgba(245, 197, 24, 0.08);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stylized SR Logo */
.logo {
    display: inline-flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-main);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav-cta {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary) !important;
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-nav-cta:hover {
    background: var(--color-primary);
    color: var(--color-text-dark) !important;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.3);
}

.btn-nav-cta::after {
    display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   1ST LAYER: HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: var(--header-height);
    /* Reserve a fluid safe area for the lowered desktop content. */
    padding-bottom: clamp(8rem, 20svh, 13rem);
    display: grid;
    grid-template-areas: "hero-stack";
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    background: linear-gradient(to bottom, #000000 0%, #241a12 100%);
    overflow: hidden;
}

/* Background Watermark Text Layer */
.hero-bg-text-wrapper {
    grid-area: hero-stack;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    text-align: center;
    width: 100%;
}

.hero-bg-word {
    font-family: 'Playfair Display', serif;
    font-size: clamp(6rem, 16vw, 17rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    
    /* Background Image Masking (Current Hero Poster Image) */
    background-image: url('assets/website maker/Copy of IMG_1425.webp');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Subtle overlay color blend, low opacity */
    opacity: 0.06;
    filter: grayscale(1) contrast(1.1) brightness(1.2);
}

/* Portrait Image Wrapper */
.hero-portrait-wrapper {
    grid-area: hero-stack;
    align-self: end;
    justify-self: center;
    width: 100%;
    max-width: 530px;
    height: min(85svh, 58rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    /* Soft bottom fade to blend with background */
    mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 95%);
    transform: translateY(-9vh);
}

.hero-portrait-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px rgba(245, 197, 24, 0.08));
    transition: var(--transition-smooth);
}

/* Foreground content stack overlaid directly on torso */
.hero-content-wrapper {
    grid-area: hero-stack;
    align-self: end;
    justify-self: center;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 700px;
    padding: 0 2rem 0.5vh 2rem;
    /* Keep the desktop copy clear of the portrait's face. */
    transform: translateY(clamp(8rem, 20vh, 13rem));
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a5a6b0;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #f4ebe1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    white-space: nowrap; /* Single line only */
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #cfc2b6;
    max-width: 580px;
    margin: 0 auto 0.8rem auto;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Hero Call to Actions */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    width: 100%;
}

.hero-cta-group .btn {
    min-width: 170px;
    font-size: 1.1rem;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-sm);
    text-shadow: none;
}

.hero-cta-group .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.2);
}

.hero-cta-group .btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 197, 24, 0.35);
}

.hero-cta-group .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 500;
}

.hero-cta-group .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Tools Section (Matching Reference Boxes) */
.hero-tools-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(0.75rem, 2svh, 1.25rem);
    flex-shrink: 0;
}

.hero-tools-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8c827a;
    margin-bottom: 1rem;
}

.hero-tools-grid {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.tool-box {
    width: 46px;
    height: 46px;
    background: rgba(15, 14, 12, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #f4ebe1;
    transition: var(--transition-fast);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tool-box i {
    font-size: 0.95rem;
    color: var(--color-primary);
}

.tool-box:hover {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
}

.tool-box-text {
    font-family: var(--font-body);
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-arrow-circle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c827a;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.scroll-arrow-circle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* ==========================================================================
   1.5 LAYER: INTRO VIDEO SECTION
   ========================================================================== */
.intro-video-section {
    background-color: var(--color-bg);
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 5;
}

.intro-video-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.intro-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 197, 24, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 197, 24, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.intro-video-wrapper:hover {
    border-color: rgba(245, 197, 24, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 197, 24, 0.15);
}

.intro-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   2ND LAYER: MY STORY SECTION
   ========================================================================== */
.story-section {
    background-color: var(--color-surface-solid);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.quote-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem auto;
    position: relative;
}

.quote-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    opacity: 0.15;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.story-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.2;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-style: italic;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

/* Image styling */
.story-image-side {
    position: sticky;
    top: 120px;
}

.story-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
}

.story-img-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, 
        var(--color-surface-solid) 0%, 
        rgba(17, 17, 21, 0.85) 25%, 
        rgba(17, 17, 21, 0.4) 65%, 
        rgba(17, 17, 21, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.highlight-yellow {
    color: var(--color-primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(245, 197, 24, 0.4);
}

.story-img-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.4);
    opacity: 0.5;
    transform: scale(1.05);
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--grad-gold);
    color: var(--color-text-dark);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(245, 197, 24, 0.35);
    z-index: 3;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
    font-weight: bold;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Biography text styling */
.story-name {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-style: italic;
}

.story-paragraph {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-paragraph.highlight {
    font-size: 1.2rem;
    color: var(--color-text-main);
    border-left: 3px solid var(--color-primary);
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.story-paragraph.font-focus {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(245, 197, 24, 0.05);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(245, 197, 24, 0.1);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

/* Core pillars */
.pillars-container {
    margin-top: 3rem;
}

.pillars-title {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.pillar-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    background-color: rgba(245, 197, 24, 0.04);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.pillar-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.pillar-card h5 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
}

/* ==========================================================================
   3RD LAYER: RESULTS / SHOWCASE SECTION
   ========================================================================== */
.results-section {
    background-color: var(--color-bg);
}

/* Tabs system */
.tabs-container {
    width: 100%;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.tab-btn i {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--color-text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background-color: rgba(245, 197, 24, 0.05);
}

/* Tab Panels */
.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-panel.active {
    display: block;
}

.panel-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Galleries grid */
.gallery-grid {
    display: grid;
    gap: 1.5rem;
}

.gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.gallery-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-surface-solid);
    border: 1px solid rgba(255, 255, 255, 0.04);
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
}

.tab-panel#trending .gallery-item,
.tab-panel#collabs .gallery-item {
    aspect-ratio: 9 / 16;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 8, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.item-overlay i {
    color: var(--color-primary);
    font-size: 1.8rem;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-primary);
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.gallery-item:hover .item-overlay i {
    transform: scale(1);
}

/* Horizontal Drag Scroll Carousel (for TikTok Collabs) */
.carousel-outer {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

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

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
}

.carousel-slide {
    flex: 0 0 220px;
    height: 390px; /* 9:16 layout roughly */
    aspect-ratio: auto;
}

.carousel-nav {
    background: var(--color-surface-solid);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.carousel-nav:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.3);
    border-color: var(--color-primary);
}

/* Show more button */
.show-more-wrapper {
    text-align: center;
    margin-top: 3.5rem;
}

/* Premium Video Ads cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#video-ads .video-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

#video-ads .featured-video {
    grid-column: span 2;
}

.showcase-video-card:not(.featured-video) {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

.showcase-video-card {
    background-color: var(--color-surface-solid);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.showcase-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(245, 197, 24, 0.25);
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background-color: #000;
}

.showcase-video-card.featured-video .video-preview-wrapper {
    aspect-ratio: 16 / 9; /* Gym Center Promo is 16:9 or horizontal */
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-video-card:not(.featured-video) .showcase-video {
    object-fit: contain;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.video-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   4TH LAYER: CORE COMPETENCIES
   ========================================================================== */
.competencies-section {
    background-color: var(--color-surface-solid);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.competencies-header {
    text-align: center;
    margin-bottom: 4rem;
}

.competencies-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.skill-name {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.skill-percentage {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #17171d;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    width: 0; /* Animated dynamically in JS */
    background: var(--grad-accent);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.2);
    transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   5TH LAYER: PACKAGES PREVIEW SECTION
   ========================================================================== */
.packages-section {
    background-color: var(--color-bg);
}

.packages-card {
    background-color: #0c0c10;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 4.5rem;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.packages-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-gold);
}

.packages-title {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.packages-subtext {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.style-selection-box {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    max-width: 650px;
    margin: 0 auto;
}

.style-selection-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.style-instruction {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.editing-styles-preview {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.style-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-main);
}

.style-badge i {
    color: var(--color-primary);
}

/* ==========================================================================
   6TH LAYER: CONTACT / COLLABORATION SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--color-surface-solid);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.contact-container {
    max-width: 900px;
    text-align: center;
}

.contact-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 750px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
}

.contact-cta-label {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

/* Links Cards Grid */
.contact-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card-btn {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    transition: var(--transition-smooth);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.card-details {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.card-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    word-break: break-all;
    transition: var(--transition-fast);
}

.contact-card-btn:hover {
    background-color: rgba(245, 197, 24, 0.03);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.contact-card-btn:hover .card-icon {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.4);
}

.contact-card-btn:hover .card-value {
    color: var(--color-primary);
}

/* ==========================================================================
   PACKAGES DETAILS PAGE (packages.html) SPECIFICS
   ========================================================================= */
.packages-page {
    background-color: var(--color-bg);
}

.packages-main-content {
    padding-top: calc(var(--header-height) + 3rem);
}

.packages-hero {
    padding: 3rem 0;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary);
}

.page-title {
    font-size: 5rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Inclusions Summary Banner */
.inclusions-banner {
    padding: 1.5rem 0;
    background-color: var(--color-surface-solid);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.inclusions-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.inclusion-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
}

.inclusion-badge i {
    color: var(--color-primary);
}

/* Pricing Groups */
.pricing-group {
    margin-bottom: 7rem;
}

.group-header {
    text-align: center;
    margin-bottom: 4rem;
}

.group-header h2 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.group-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.group-header .badge {
    background-color: var(--color-secondary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 0.8rem;
}

/* Monthly Retainer Card Hero styling */
.monthly-package-hero-card {
    background-color: #0c0c10;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    position: relative;
}

.package-cost-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad-gold);
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    padding: 0.4rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(245, 197, 24, 0.4);
    letter-spacing: 1px;
}

.monthly-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.monthly-option-card {
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.monthly-option-card h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #ffffff;
}

.option-for {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    min-height: 50px;
}

.option-details {
    list-style: none;
    margin-top: auto;
}

.option-details li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.4;
}

.option-details li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
    font-size: 0.9rem;
}

/* Recommended card */
.monthly-option-card.recommended {
    border-color: rgba(245, 197, 24, 0.35);
    background-color: rgba(245, 197, 24, 0.02);
}

.monthly-option-card.recommended h3 {
    color: var(--color-primary);
}

.option-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: rgba(245, 197, 24, 0.08);
    letter-spacing: 1px;
    border: 1px solid rgba(245, 197, 24, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.option-price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.option-price .per {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-left: 0.3rem;
    font-weight: 500;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(245, 197, 24, 0.05);
    border-radius: inherit;
}

.monthly-option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 197, 24, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Single rates grid */
.single-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.rate-column-card {
    background-color: var(--color-surface-solid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.card-icon-header {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(245, 197, 24, 0.05);
    border: 1px solid rgba(245, 197, 24, 0.1);
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.rate-column-card h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.rate-column-card .desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    min-height: 45px;
    line-height: 1.4;
}

.price-tier {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
}

.price-tier h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
}

.price-tier p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tier-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.8rem;
}

.tier-price .price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    line-height: 1;
}

.tier-price .per {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-left: 0.3rem;
}

.btn-demo {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.2rem;
    align-self: flex-start;
}

.btn-demo:hover {
    color: var(--color-primary);
}

.rate-column-card:hover {
    border-color: rgba(245, 197, 24, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Policies & terms grid */
.terms-policies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.policy-card {
    background-color: var(--color-surface-solid);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.policy-card h3 {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.policy-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.policy-card ul {
    list-style: none;
    margin-top: 0.8rem;
}

.policy-card ul li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

.policy-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.delivery-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-table .table-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-table .table-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.delivery-table .type {
    font-weight: 500;
}

.delivery-table .time {
    font-weight: 600;
}

.packages-bottom-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.packages-bottom-cta h2 {
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.packages-bottom-cta p {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR PORTFOLIO ITEMS
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 8, 0.95);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 3.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 2010;
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: var(--color-text-main);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2005;
}

.lightbox-nav:hover {
    background: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.lightbox-nav.prev {
    left: 3rem;
}

.lightbox-nav.next {
    right: 3rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    padding: 3rem 0;
    background-color: #070708;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer-container p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .single-rates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .story-image-side {
        position: relative;
        top: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .monthly-options-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Header toggle */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #09090c;
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding: 4rem 2rem;
    }
    
    .nav-menu.active {
        transform: translateX(-100%);
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    /* Hero */
    .hero-title {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }
    
    .hero-title-main {
        font-size: 2.4rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-title-optimize {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .quote-wrapper {
        margin-bottom: 4rem;
    }
    
    .story-quote {
        font-size: 2.2rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid.cols-2 {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    #video-ads .video-grid {
        grid-template-columns: 1fr;
    }
    
    #video-ads .featured-video {
        grid-column: span 1;
    }
    
    .competencies-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .packages-card {
        padding: 2.5rem 1.5rem;
    }
    
    .packages-title {
        font-size: 2.2rem;
    }
    
    .style-selection-box {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
    
    .contact-links-grid {
        grid-template-columns: 1fr;
    }
    
    .single-rates-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-policies-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-nav.prev {
        left: 1rem;
    }
    
    .lightbox-nav.next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

/* ==========================================================================
   FORCE SINGLE-ROW FOR PACKAGES & RATES WITH FLUID TYPOGRAPHY
   ========================================================================== */

/* Desktop / Wide screens */
.packages-page .monthly-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

.packages-page .single-rates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem;
}

/* Tablet Screens (max-width: 1024px) */
@media (max-width: 1024px) {
    .packages-page .monthly-options-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.8rem;
    }
    
    .packages-page .single-rates-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.6rem;
    }

    .packages-page .monthly-option-card {
        padding: 1.5rem 1rem;
    }

    .packages-page .rate-column-card {
        padding: 1.5rem 1rem;
    }

    .packages-page .monthly-option-card h3,
    .packages-page .rate-column-card h3 {
        font-size: 1.3rem;
    }

    .packages-page .option-for,
    .packages-page .rate-column-card .desc {
        font-size: 0.8rem;
        min-height: auto;
        margin-bottom: 1rem;
    }

    .packages-page .option-details li {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        gap: 0.4rem;
    }

    .packages-page .price-tier {
        padding: 0.8rem 0;
    }

    .packages-page .price-tier h4 {
        font-size: 0.9rem;
    }

    .packages-page .price-tier p {
        font-size: 0.75rem;
    }

    .packages-page .tier-price .price {
        font-size: 1.7rem;
    }

    .packages-page .option-price {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .packages-page .option-price .per {
        font-size: 0.8rem;
    }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .packages-page .monthly-options-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        justify-items: center;
    }

    .packages-page .single-rates-grid {
        grid-template-columns: 1fr !important;
        gap: 1.8rem;
        justify-items: center;
    }

    .packages-page .monthly-package-hero-card {
        padding: 2rem 0.8rem;
    }

    .packages-page .monthly-option-card {
        padding: 1.5rem 1.2rem;
        border-radius: var(--radius-md);
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .packages-page .rate-column-card {
        padding: 1.5rem 1.2rem;
        border-radius: var(--radius-md);
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
    }

    .packages-page .monthly-option-card h3,
    .packages-page .rate-column-card h3 {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.4rem;
    }

    .packages-page .option-for,
    .packages-page .rate-column-card .desc {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        min-height: auto;
    }

    .packages-page .option-details li {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        gap: 0.3rem;
        line-height: 1.3;
    }

    .packages-page .price-tier {
        padding: 0.6rem 0;
    }

    .packages-page .price-tier h4 {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .packages-page .price-tier p {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }

    .packages-page .tier-price {
        margin-bottom: 0.3rem;
    }

    .packages-page .tier-price .price {
        font-size: 1.4rem;
    }

    .packages-page .tier-price .per {
        font-size: 0.7rem;
    }

    .packages-page .btn-demo {
        font-size: 0.7rem;
    }

    .packages-page .package-cost-badge {
        font-size: 1.2rem;
        padding: 0.3rem 1.2rem;
        top: -15px;
    }
    
    .packages-page .card-icon-header {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .packages-page .option-price {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .packages-page .option-price .per {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   HERO RESPONSIVE OVERRIDES
   ========================================================================== */

/* Tablet & Mobile Responsiveness for Hero Section */
.header-actions {
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-section {
        padding-bottom: clamp(4rem, 8svh, 6rem);
    }
    .hero-portrait-wrapper {
        max-width: 440px;
        height: min(75svh, 48rem);
    }
    .hero-content-wrapper {
        max-width: 580px;
        padding-bottom: 5vh;
        /* Raise the copy onto the portrait's chest on tablet layouts. */
        transform: translateY(clamp(2rem, 5vh, 3.5rem));
    }
    .hero-name {
        font-size: clamp(3rem, 6vw, 4.5rem);
    }
}

@media (max-width: 768px) {
    .hero-section {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: clamp(4rem, 10svh, 6rem);
        min-height: 100svh;
        height: auto;
    }
    .hero-bg-text-wrapper {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 1;
    }
    .hero-bg-word {
        font-size: clamp(4.5rem, 12vw, 8rem);
    }
    .hero-portrait-wrapper {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: min(84vw, 22rem);
        height: auto;
        margin-bottom: 0;
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        align-self: center;
    }
    .hero-portrait-img {
        max-height: clamp(18rem, 55svh, 24rem);
        width: auto;
    }
    .hero-content-wrapper {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 100%;
        padding: 0 1.5rem;
        /* A fluid chest-level overlap that leaves the tools row in flow. */
        margin-top: clamp(-9rem, -24vw, -5.5rem);
        align-self: center;
        transform: none;
    }
    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    .hero-name {
        font-size: clamp(1.8rem, 6.5vw, 2.2rem);
        margin-bottom: 0.8rem;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }
    .hero-tools-grid {
        gap: 0.5rem;
        flex-wrap: wrap;
        max-width: min(100%, 18rem);
        justify-content: center;
    }
    .tool-box {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .header-actions {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    .header-actions .btn-nav-cta {
        padding: 0.35rem 0.9rem;
        font-size: 0.8rem;
    }
}
