:root {
    --primary: #112D4E;
    --primary-light: #3F72AF;
    --secondary: #C79E3C;
    --accent: #F9F7F7;
    --text: #1B262C;
    --text-muted: #626D71;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.8;
    background-color: var(--accent);
}

.fv-section {
    position: relative;
}

/* Background Texture - Moved to behind everything */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    opacity: 0.3;
    pointer-events: none;
    z-index: -1; /* Behind content */
}

/* Custom Utilities */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 280px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
.section-container {
    padding-top: 120px;
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .section-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--secondary);
}

.section-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Parallax Effect */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
}

/* Header Design */
header {
    background: transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(17, 45, 78, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.nav-link {
    position: relative;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.header-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

header.scrolled .header-cta {
    box-shadow: 0 10px 20px rgba(17, 45, 78, 0.15);
}

.header-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(199, 158, 60, 0.3);
}

/* Cards & Containers */
.voice-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: all 0.4s ease;
}

.voice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fade-in-up 1.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Scroll */
.marquee-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Image Hover Effects */
.img-hover-effect {
    overflow: hidden;
    position: relative;
}

.img-hover-effect img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-hover-effect:hover img {
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
}

body.lightbox-open {
    overflow: hidden !important;
    touch-action: none !important;
}

#custom-lightbox.flex {
    opacity: 1 !important;
    display: flex !important;
}

#custom-lightbox.flex #lightbox-img.opacity-100 {
    opacity: 1 !important;
    transform: scale(1) !important;
}

#custom-lightbox #lightbox-img {
    will-change: transform, opacity;
}

/* Custom Overrides */
@media (min-width: 768px) {
    .md\:text-5xl {
        font-size: 30px !important;
        line-height: 1.5 !important;
    }

    .md\:text-6xl {
        font-size: 40px !important;
        line-height: 1.3 !important;
    }

    .md\:gap-32 {
        gap: 40px !important;
    }

    .md\:p-16 {
        padding: 30px !important;
    }
}

/* Mobile Overrides (SP) */
@media (max-width: 768px) {
    .p-8 {
        padding: 40px 10px !important;
    }
}

/* Voice Card Design */
.voice-card {
    background: white;
    padding: 3rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.voice-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 100px rgba(17, 45, 78, 0.12);
    border-color: #C79E3C;
}

.voice-card::before {
    content: '“';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 10rem;
    font-family: 'Playfair Display', serif;
    color: #C79E3C;
    opacity: 0.15;
    line-height: 1;
}

.voice-card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.voice-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
    color: #112D4E;
    margin-bottom: 1rem;
}

.voice-card-body {
    font-size: 0.9rem;
    line-height: 2;
    color: #666;
    flex-grow: 1;
    position: relative;
    z-index: 10;
}

.voice-card-footer {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* Catchphrase Frame */
.catchphrase-frame {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    border: 2px solid var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.catchphrase-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--secondary);
    border-left: 2px solid var(--secondary);
}

.catchphrase-frame::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
}

@media (max-width: 768px) {
    .catchphrase-frame {
        padding: 1.25rem 1.5rem;
        width: 100%;
        text-align: center;
    }
}

.catchphrase-frame:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.catchphrase-frame:hover::before,
.catchphrase-frame:hover::after {
    width: 30px;
    height: 30px;
    border-color: #fff;
}