/* Design Tokens */
:root {
    --color-bg-primary: #071120;
    --color-bg-card: rgba(11, 25, 46, 0.7);
    --color-accent-gold: #d4af37;
    --color-accent-gold-hover: #e5c158;
    --color-text-primary: #fcfaf2;
    --color-text-secondary: rgba(252, 250, 242, 0.7);
    --color-glow-gold: rgba(212, 175, 55, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base System */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky header */
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

#tide-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#app {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

/* Premium Top Navbar */
#main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 17, 32, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.header-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0.8rem 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    justify-self: start;
}

.logo-image {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.15;
}

.brand-logo .gold-text {
    color: var(--color-accent-gold);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.logo-subtext {
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-self: center;
    flex-shrink: 0;
}

.nav-cta {
    justify-self: end;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent-gold);
}

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

.nav-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Hamburger Toggler */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger-bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
}

/* Spatial Viewport Layouts */
.viewport-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
}

#hero {
    position: relative;
    overflow: hidden;
}

.hero-slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 0.28;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 17, 32, 0.45) 0%, rgba(7, 17, 32, 0.88) 100%),
                linear-gradient(to bottom, rgba(7, 17, 32, 0.95) 0%, transparent 40%, rgba(7, 17, 32, 0.95) 100%);
    z-index: 2;
}

#hero .content-wrapper {
    position: relative;
    z-index: 3;
}

/* Scroll reveal animations */
.viewport-section:not(#hero) {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
}

.viewport-section:not(#hero).reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.content-wrapper.centered {
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.content-wrapper.max-width-800 {
    max-width: 800px;
}

/* Typography Scale */
.spatial-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--color-text-primary) 30%, var(--color-accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spatial-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 650px;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--color-text-primary);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.section-title.centered-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Grid splits */
.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* About Stats Container */
.about-stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

/* Service Matrix Cards */
.services-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    position: relative;
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 10px 30px var(--color-glow-gold);
}

.card-inner {
    position: relative;
    z-index: 2;
}

.card-icon {
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    display: flex;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.spec-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--color-accent-gold);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 1rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    transition: background 0.1s ease;
}

/* Magnetic Buttons */
.magnetic-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    border-radius: 40px;
    border: 1px solid var(--color-accent-gold);
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.magnetic-button.gold-solid {
    background: var(--color-accent-gold);
    color: #071120;
}

.magnetic-button.gold-solid:hover {
    background: var(--color-accent-gold-hover);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.magnetic-button:hover, .magnetic-button.outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-accent-gold-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Transformations Split Lens Slider */
.badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 1rem;
    border: 1px solid var(--color-accent-gold);
    border-radius: 20px;
    color: var(--color-accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.authority-credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    border-left: 2px solid var(--color-accent-gold);
    padding-left: 1.5rem;
}

.credential-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 400;
}

.credential-item span {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Video Gallery Container */
.video-gallery-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: #040a14;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.video-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.video-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Gallery Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(7, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.gallery-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.gallery-arrow.prev {
    left: 1.2rem;
}

.gallery-arrow.next {
    right: 1.2rem;
}

.video-column-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Indicators */
.gallery-indicators {
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(252, 250, 242, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--color-accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--color-accent-gold);
}

/* Treatment Details Panels */
.treatment-details-container {
    position: relative;
    width: 100%;
}

.treatment-detail {
    transition: opacity 0.5s ease;
}

/* Testimonials Slider */
.testimonials-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4.5rem;
}

.testimonials-slides {
    position: relative;
    width: 100%;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 1;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.testimonial-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    position: relative;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.client-meta {
    border-top: 1px solid rgba(252, 250, 242, 0.1);
    padding-top: 1.5rem;
}

.client-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.client-loc {
    font-size: 0.85rem;
    color: var(--color-accent-gold);
}

/* Testimonial Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(7, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.faq-item {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.8rem 2.5rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-accent-gold);
}

.faq-icon-cross {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.faq-icon-cross::before, .faq-icon-cross::after {
    content: '';
    position: absolute;
    background-color: var(--color-text-primary);
    transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon-cross::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 2px;
}

/* Vertical line */
.faq-icon-cross::after {
    top: 0;
    left: 5px;
    width: 2px;
    height: 12px;
}

.faq-item.active {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-item.active .faq-icon-cross::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon-cross::before {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer p {
    padding: 0 2.5rem 2rem 2.5rem;
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Booking Grid & Cards */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
    width: 100%;
}

.booking-card-inner {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    width: 100%;
}

.whatsapp-status-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pulsing-green-dot {
    width: 8px;
    height: 8px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.status-msg {
    font-size: 0.85rem;
    color: #25d366;
}

.booking-cta-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.block-btn {
    width: 100%;
}

.location-spec-dock {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    border-top: 1px solid rgba(252, 250, 242, 0.1);
    padding-top: 2rem;
}

/* Premium Form Styling */
.booking-form-wrapper {
    background: var(--color-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3rem;
    border-radius: 24px;
    width: 100%;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-gold);
    font-weight: 500;
}

.form-input, .form-select, .form-textarea {
    background: rgba(7, 17, 32, 0.5);
    border: 1px solid rgba(252, 250, 242, 0.15);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(7, 17, 32, 0.8);
}

.form-select option {
    background: #071120;
    color: var(--color-text-primary);
}

.form-select optgroup {
    background: #071120;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    font-weight: 500;
}

.form-textarea {
    resize: none;
}

.form-feedback-message {
    font-size: 0.95rem;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 24px;
    transition: var(--transition-smooth);
}

.form-feedback-message.success {
    color: #25d366;
}

.form-feedback-message.error {
    color: #ff6b6b;
}

/* Responsive Parameters */
@media (min-width: 1141px) and (max-width: 1280px) {
    .nav-menu {
        gap: 1.2rem;
    }
    .header-inner {
        padding: 1.2rem 1.5rem;
        gap: 1.5rem;
    }
    .brand-logo {
        font-size: 1.15rem;
    }
    .nav-btn {
        padding: 0.6rem 1.4rem;
    }
}

@media (max-width: 1140px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        padding: 1.2rem 1.5rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #071120;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .viewport-section {
        padding: 6rem 1.5rem;
    }
    
    .split-grid, .booking-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .booking-form-wrapper, .booking-card-inner {
        padding: 2.2rem 1.5rem;
    }
    
    /* Testimonials Mobile Adjustments */
    .testimonials-slider-container {
        padding: 0 3.2rem;
    }
    
    .testimonial-card {
        padding: 2.5rem 1.5rem;
    }
    
    .quote-icon {
        font-size: 4.5rem;
        top: 0.25rem;
        left: 1rem;
    }
    
    .slider-arrow {
        width: 38px;
        height: 38px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-container {
        padding: 0 2.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.2rem;
    }
    
    .slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .slider-arrow svg {
        width: 16px;
        height: 16px;
    }
    
    .quote-icon {
        font-size: 3.5rem;
    }
}

/* Doctor Biography Section Styling */
.doctor-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.doctor-image-border {
    position: relative;
    max-width: 420px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.05);
    background: var(--color-bg-card);
}

.doctor-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.doctor-photo:hover {
    transform: scale(1.03);
}

/* Footer Styles */
#main-footer {
    background: #030811;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 3.5rem 2rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.4fr 1.8fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--color-accent-gold);
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.footer-bio {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(252, 250, 242, 0.1);
    color: var(--color-text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.05);
}

.footer-links {
    list-style: none;
}

.footer-links.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-contact-details {
    list-style: none;
}

.footer-contact-details li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.footer-contact-details strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.footer-contact-details a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-details a:hover {
    color: var(--color-accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(252, 250, 242, 0.08);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Footer Responsive Rules */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    #main-footer {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }
    .footer-grid {
        margin-bottom: 3rem;
    }
}

/* Services Catalog Custom Styles */
#catalog-search:focus {
    border-color: var(--color-accent-gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

#category-tabs .tab-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(11, 25, 46, 0.4);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#category-tabs .tab-btn:hover,
#category-tabs .tab-btn.active {
    background: var(--color-accent-gold);
    color: #071120;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.service-item-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.card-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(252, 250, 242, 0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    color: var(--color-text-secondary);
}

.card-price-tag {
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.card-description-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.reserve-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
}

/* Executive Profiles Custom Styles */
.profile-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Elegant portrait aspect ratio */
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: #040a14;
    transition: var(--transition-smooth);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Position to keep faces centered */
    filter: saturate(0.9) brightness(0.95);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s ease;
}

.service-card:hover .profile-image-wrapper {
    border-color: var(--color-accent-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.service-card:hover .profile-image {
    transform: scale(1.05);
    filter: saturate(1) brightness(1);
}

/* ==========================================================================
   Transformations Gallery Custom Styles
   ========================================================================== */

/* Sliders Grid */
.sliders-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    width: 100%;
}

@media (max-width: 600px) {
    .sliders-container-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.slider-wrapper-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.slider-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-accent-gold);
    margin-bottom: 0.75rem;
}

.slider-info p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.mini-badge {
    padding: 0.2rem 0.6rem !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.75rem !important;
}

/* Before / After Slide Controller */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: #040a14;
    user-select: none;
    -webkit-user-select: none;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    -webkit-clip-path: inset(0 0 0 50%);
}

.ba-label {
    position: absolute;
    bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(7, 17, 32, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(252, 250, 242, 0.1);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    z-index: 5;
}

.before-label {
    left: 1rem;
}

.after-label {
    right: 1rem;
}

.ba-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: ew-resize;
    margin: 0;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background-color: var(--color-accent-gold);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.ba-handle-line {
    width: 2px;
    flex-grow: 1;
    background-color: var(--color-accent-gold);
    box-shadow: 0 0 8px var(--color-accent-gold);
}

.ba-handle-button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #071120;
    border: 2px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    flex-shrink: 0;
}

/* ===================================
   Case Study Video Hub Styles
   =================================== */
.video-hub-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

@media (max-width: 1024px) {
    .video-hub-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.theater-player-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

.main-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    background: #040a14;
}

.main-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theater-details-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.clinical-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid rgba(252, 250, 242, 0.1);
    padding-top: 2rem;
}

@media (max-width: 600px) {
    .clinical-metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.metric-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.metric-item span {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Sidebar Case Study Navigation */
.video-hub-sidebar {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(252, 250, 242, 0.1);
    padding-bottom: 1rem;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.thumbnail-card {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(252, 250, 242, 0.05);
    background: rgba(7, 17, 32, 0.4);
    padding: 1.5rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.thumbnail-card:hover,
.thumbnail-card.active {
    border-color: var(--color-accent-gold);
    background: rgba(212, 175, 55, 0.03);
}

.thumbnail-inner h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.thumbnail-card:hover h5,
.thumbnail-card.active h5 {
    color: var(--color-accent-gold);
}

.thumbnail-inner p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.thumbnail-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.thumbnail-card:hover .thumbnail-glow,
.thumbnail-card.active .thumbnail-glow {
    opacity: 1;
}

/* ===================================
   Reviews Styling & Filtering Panel
   =================================== */
.reviews-filter-panel .filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(11, 25, 46, 0.4);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reviews-filter-panel .filter-btn:hover,
.reviews-filter-panel .filter-btn.active {
    background: var(--color-accent-gold);
    color: #071120;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.reviews-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    width: 100%;
}

.review-item-card {
    background: var(--color-bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 250, 242, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: none;
}

.review-item-card.show {
    opacity: 1;
    transform: translateY(0);
    display: block; /* ensure display style is set when show is active */
}

.review-item-card:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 10px 30px var(--color-glow-gold);
}

.review-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Theater Video Navigation Overlay Arrows */
.theater-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.theater-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.theater-arrow.prev {
    left: 1rem;
}

.theater-arrow.next {
    right: 1rem;
}

/* Responsive visibility rules: show on hover on desktop, always visible on mobile/tablet */
@media (min-width: 1025px) {
    .theater-arrow {
        opacity: 0;
        visibility: hidden;
    }
    .main-video-wrapper:hover .theater-arrow {
        opacity: 1;
        visibility: visible;
    }
}

/* ===================================
   Store Bento Gallery Grid
   =================================== */
.bento-grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 2rem;
    width: 100%;
    transition: var(--transition-smooth);
}

.bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(252, 250, 242, 0.05);
    background: var(--color-bg-card);
    cursor: pointer;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, opacity 0.5s ease;
    outline: none;
}

.bento-item:focus-visible {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.bento-item.size-standard {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
}

.bento-item.size-wide {
    grid-column: span 2;
    aspect-ratio: 8 / 3;
}

.bento-item.size-tall {
    grid-row: span 2;
    aspect-ratio: 4 / 6.5;
}

.bento-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bento-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Bento Hover & Focus Micro-Animations */
.bento-item:hover {
    border-color: var(--color-accent-gold);
    box-shadow: 0 12px 30px var(--color-glow-gold);
    transform: translateY(-4px);
}

.bento-item:hover img {
    transform: scale(1.06);
}

/* Glassmorphic Bento Overlay Info */
.bento-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem 1.5rem 2rem;
    background: linear-gradient(to top, rgba(7, 17, 32, 0.95) 0%, rgba(7, 17, 32, 0.7) 50%, rgba(7, 17, 32, 0) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.bento-item:hover .bento-item-overlay,
.bento-item:focus-within .bento-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-info h4 {
    font-family: var(--font-heading);
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    letter-spacing: 0.02em;
}

.overlay-info p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    letter-spacing: 0.01em;
}

/* Hidden Bento Items Animations */
.hidden-bento-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.bento-grid-gallery.show-all .hidden-bento-item {
    display: block;
    animation: fadeInBentoItem 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* ===================================
   Fullscreen Lightbox Modal Styles
   =================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

/* 48px Target Footprint Close Button */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(7, 17, 32, 0.6);
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.lightbox-content-container {
    position: relative;
    z-index: 5;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lightbox-media-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    background: #040a14;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-media-wrapper img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox-meta-panel {
    text-align: center;
    max-width: 600px;
    color: var(--color-text-primary);
}

.lightbox-counter {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
}

.lightbox-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* 48px Target Footprint Lightbox Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(7, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.lightbox-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.lightbox-arrow.prev {
    left: 2rem;
}

.lightbox-arrow.next {
    right: 2rem;
}

/* ===================================
   Responsive Design & Mobile Overrides
   =================================== */
@media (max-width: 1024px) {
    .bento-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .bento-item.size-wide {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .bento-item.size-tall {
        grid-row: span 2;
        aspect-ratio: 4 / 5.5;
    }

    .bento-item.size-standard {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    /* Ergonomic Mobile Controls for Lightbox (Thumb Zone Placement) */
    .lightbox-arrow {
        top: auto;
        bottom: 2rem;
        transform: none;
    }
    
    .lightbox-arrow.prev {
        left: calc(50% - 60px);
    }
    
    .lightbox-arrow.next {
        right: calc(50% - 60px);
    }
    
    .lightbox-content-container {
        max-height: 75%;
        max-width: 95%;
    }
    
    .lightbox-media-wrapper img {
        max-height: 52vh;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 600px) {
    .bento-grid-gallery {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .bento-item.size-wide,
    .bento-item.size-tall,
    .bento-item.size-standard {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 3 / 2 !important;
    }
    
    /* Always display captions on mobile as hover is unavailable */
    .bento-item-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(7, 17, 32, 0.9) 0%, rgba(7, 17, 32, 0.4) 75%, rgba(7, 17, 32, 0) 100%);
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .overlay-info h4 {
        font-size: 1.1rem;
    }
}

/* Premium Infinite Brand Marquee */
.marquee-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 3rem auto;
    border-radius: 100px;
    overflow: hidden;
    background: #f4f0e6;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 0;
    z-index: 5;
    display: flex;
    align-items: center;
}

/* Edge gradient overlays to blend logos seamlessly into capsule background */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    max-width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f4f0e6 30%, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f4f0e6 30%, transparent);
}

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

/* Pause marquee on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
    padding-right: 5rem;
}

.marquee-group img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    mix-blend-mode: multiply;
    filter: brightness(0.95) contrast(1.05);
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* High-contrast premium color restore on hover */
.marquee-group img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Mobile-first touch footprint alignment */
@media (max-width: 768px) {
    .marquee-container {
        padding: 1.25rem 0;
        margin: 2rem auto;
        width: 92%;
    }
    .marquee-group {
        gap: 3.5rem;
        padding-right: 3.5rem;
    }
    .marquee-group img {
        height: 42px;
        opacity: 0.9;
    }
}

/* Evolution Timeline System */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.6) 50%, rgba(212, 175, 55, 0.1) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 4rem;
}

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

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-bg-primary);
    border: 3px solid var(--color-accent-gold);
    z-index: 10;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transition: transform 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background-color: var(--color-accent-gold);
}

.timeline-content {
    cursor: default;
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* Responsive Timeline rules */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-bottom: 3rem;
    }
    
    .timeline-item.left {
        padding-right: 0;
        padding-left: 2.5rem;
    }
    
    .timeline-item.right {
        left: 0;
        padding-left: 2.5rem;
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 12px;
        right: auto;
    }
}

/* Hero Background Slideshow */
#hero {
    overflow: hidden;
}

.hero-bg-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 6s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 0.16; /* Low opacity, maintains contrast and deep-contrast dark theme */
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(7, 17, 32, 0.25) 0%, rgba(7, 17, 32, 0.85) 100%);
    pointer-events: none;
}
