html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
[style*="100vw"], .w-100vw { width: 100% !important; }

/* =============================
   Responsive helpers (added)
   - Ensure media query breakpoints exist
   - Do not alter existing visual styling, only adapt layout
   ============================= */
/* Fluid media and containers (already present, reiterated for clarity) */
.container, .header-container, .news-container, .gallery-container, .facts-container, .contact-container { max-width: 100%; }

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

body {
    font-family: "Zen Kaku Gothic New", sans-serif; 
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* Fix for horizontal scrolling */
body:has(> header.navbar.nav-direction-right) {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(255, 255, 255, 1);
}

/* Ensure active state visible for right-nav on all widths */
.navbar.nav-direction-right #primary-nav a.active,
.navbar.nav-direction-right #primary-nav a[aria-current="page"] {
    background: linear-gradient(135deg, #fff4f6, #ffe4e8);
    color: #b4001b;
    box-shadow: inset 3px 0 0 #b4001b;
    font-weight: 600;
    transform: translateX(4px);
}
.navbar.nav-direction-right .cta-button.active {
    background: #b4001b;
    color: #fff;
}

/* Right-aligned nav variant styles (desktop-only) */
@media (min-width: 768px) {
    /* Keep nav block aligned to the right */
    .navbar.nav-v2 #primary-nav {
        margin-left: auto;
        padding: 16px 20px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
        order: 99; /* optional: place after header-right */
    }

    /* Optional: keep utilities chunk before nav on the right */
    .navbar.nav-v2 .header-right { order: 98; }

    /* Tighter horizontal spacing for right-aligned nav */
    .navbar.nav-v2 #primary-nav ul {
        gap: clamp(12px, 1.2vw, 16px);
    }

    /* Link polish: weight, focus ring, faster transitions */
    .navbar.nav-v2 #primary-nav a {
        font-weight: 500;
        transition: color 180ms ease;
        outline: none;
    }
    .navbar.nav-v2 #primary-nav a::after {
        transition: transform 180ms ease;
    }
    .navbar.nav-v2 #primary-nav a:focus-visible {
        outline: 2px solid #b4001b;
        outline-offset: 3px;
        border-radius: 8px;
    }
    /* Active link keeps underline visible */
    .navbar.nav-v2 #primary-nav a.active::after,
    .navbar.nav-v2 #primary-nav a[aria-current="page"]::after {
        transform: scaleX(1);
    }

    /* Language pills smaller, subtle elevation */
    .navbar.nav-v2 .language-switcher .lang-btn {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 999px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    }

    /* Elevated CTA with gentle hover lift */
    .navbar.nav-v2 .cta-button {
        border-radius: 999px;
        box-shadow: 0 10px 24px rgba(180, 0, 27, 0.25);
        transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    }
    .navbar.nav-v2 .cta-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(180, 0, 27, 0.30);
    }
}

/* Right-side (sidebar) variant using .nav-direction-right (desktop only) */
@media (min-width: 1086px) {
    body:has(> header.navbar.nav-direction-right) {
        padding-right: var(--nav-right-width, 280px);
    }

    .navbar.nav-direction-right {
        right: 0;
        left: auto;
        width: var(--nav-right-width, 260px);
        height: 100vh;
        top: 0;
        background: #ffffff;
        border-left: 1px solid rgba(0, 0, 0, 0.06);
        overflow-x: hidden;
    }

    .navbar.nav-direction-right .header-container {
        height: 100%;
        max-width: none;
        padding: 28px 20px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 40px;
        width: 100%;
        overflow-x: hidden;
    }

    .navbar.nav-direction-right #primary-nav {
        margin-left: 0;
        width: 100%;
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        transition: all 0.3s ease;
    }

    .navbar.nav-direction-right nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .navbar.nav-direction-right .header-right {
        margin-top: auto;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        padding-top: 24px;
    }

    /* Logo styling */
    .navbar.nav-direction-right .logo {
        padding: 8px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.02);
        width: calc(100% - 8px);
        margin: 0 4px;
        overflow: hidden;
    }

    .navbar.nav-direction-right .logo img {
        height: 36px;
        width: auto;
    }

    .navbar.nav-direction-right .logo:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .navbar.nav-direction-right .logo .logo-text {
        font-weight: 600;
        font-size: 1.1rem;
        color: #333;
        letter-spacing: -0.02em;
    }

    /* Vertical nav item aesthetics */
    .navbar.nav-direction-right #primary-nav a {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        font-weight: 500;
        color: #666;
        transition: all 0.3s ease;
        position: relative;
        letter-spacing: -0.01em;
        border-radius: 8px;
        font-size: 0.95rem;
        white-space: nowrap;
        width: calc(100% - 8px);
        margin: 0 4px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar.nav-direction-right #primary-nav a::after {
        content: '';
        position: absolute;
        left: 8px;
        top: 50%;
        height: 4px;
        width: 4px;
        background: #b4001b;
        border-radius: 50%;
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
        transition: all 0.3s ease;
    }
    
    .navbar.nav-direction-right #primary-nav a:hover {
        color: #b4001b;
        padding-left: 24px;
        background: rgba(180, 0, 27, 0.04);
    }

    .navbar.nav-direction-right #primary-nav a:hover::after {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    .navbar.nav-direction-right #primary-nav a:focus-visible {
        outline: none;
        background: rgba(180, 0, 27, 0.04);
    }
    
    .navbar.nav-direction-right #primary-nav a.active,
    .navbar.nav-direction-right #primary-nav a[aria-current="page"] {
        color: #b4001b;
        font-weight: 600;
        padding-left: 24px;
        background: rgba(180, 0, 27, 0.08);
    }

    .navbar.nav-direction-right #primary-nav a.active::after,
    .navbar.nav-direction-right #primary-nav a[aria-current="page"]::after {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    /* Language pills styling */
    .navbar.nav-direction-right .language-switcher {
        display: flex;
        gap: 4px;
        justify-content: flex-start;
        padding: 4px;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 10px;
        width: fit-content;
        max-width: 100%;
        overflow: hidden;
    }

    .navbar.nav-direction-right .language-switcher .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: #666;
        transition: all 0.2s ease;
        cursor: pointer;
        font-weight: 500;
        min-width: 40px;
        text-align: center;
    }

    .navbar.nav-direction-right .language-switcher .lang-btn:hover:not(.active) {
        background: rgba(0, 0, 0, 0.04);
        color: #333;
    }

    .navbar.nav-direction-right .language-switcher .lang-btn.active {
        background: #fff;
        color: #b4001b;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    /* CTA Button styling */
    .navbar.nav-direction-right .cta-button {
        padding: 12px 20px;
        background: #b4001b;
        color: white;
        text-decoration: none;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        border: none;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .navbar.nav-direction-right .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
        transform: translateX(-100%) skewX(-15deg);
        transition: transform 0.5s ease;
    }

    .navbar.nav-direction-right .cta-button:hover {
        background: #c4001b;
    }

    .navbar.nav-direction-right .cta-button:hover::before {
        transform: translateX(100%) skewX(-15deg);
    }

    .navbar.nav-direction-right .cta-button:active {
        transform: scale(0.98);
    }
}

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

.logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.logo img { height: 34px; width: auto; display: block; }
.logo-text { font-weight: 900; letter-spacing: 1px; color: #b4001b; font-size: 20px; align-self: center; }

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Menu Toggle (hamburger/X) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

/* Add breathing room between logo and nav on desktop */
@media (min-width: 1086px) {
    nav { margin-left: 40px; }
    .header-right { margin-left: 56px; }
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

nav a:hover {
    color: #b4001b;
}

/* Animated underline on navbar links */
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: #b4001b;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    pointer-events: none;
}

nav a:hover::after,
nav a:focus-visible::after {
    transform: scaleX(1);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-btn {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: #b4001b;
    color: #b4001b;
}

.lang-btn.active {
    background: #b4001b;
    color: white;
    border-color: #b4001b;
}

.cta-button {
    background: #b4001b;
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 120px;
    /* background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%); */
    /* padding: 80px 0; */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    --hero-pad: 24px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 64px);
    padding: 0 clamp(20px, 6vw, 140px);
    pointer-events: none;
    z-index: 0;
}

.hero-logo-center {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(18%);
}

.hero-logo-center img {
    width: clamp(200px, 32vw, 420px);
    max-width: 420px;
    opacity: 0.22;
    filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.12));
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.hero:hover .hero-logo-center img {
    transform: scale(1.03);
    opacity: 0.27;
}

.hero--with-logo-backdrop {
    min-height: clamp(420px, 70vh, 640px);
    justify-content: flex-end;
}

.hero--with-logo-backdrop .hero-container {
    margin-top: 0;
    margin-left: clamp(16px, 6vw, 140px);
    margin-right: auto;
    align-items: flex-start;
    text-align: left;
    padding: clamp(180px, 28vh, 260px) var(--hero-pad) clamp(48px, 12vh, 96px);
    gap: clamp(18px, 4vh, 32px);
}

.hero--with-logo-backdrop .hero-content {
    max-width: 640px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero--with-logo-backdrop {
        min-height: clamp(360px, 80vh, 520px);
    }

    .hero--with-logo-backdrop .hero-container {
        padding: clamp(120px, 30vh, 180px) var(--hero-pad) 48px;
        gap: 24px;
        margin-right: clamp(12px, 6vw, 96px);
        margin-left: clamp(12px, 6vw, 96px);
        align-items: center;
        text-align: center;
    }

    .hero--with-logo-backdrop .hero-content {
        padding: 0 12px;
        text-align: center;
    }

    .hero-backdrop {
        gap: 20px;
        padding: 0 clamp(10px, 5vw, 64px);
    }

    .hero-logo-center img {
        width: clamp(160px, 56vw, 260px);
        opacity: 0.2;
    }

    .hero-logo-center {
        transform: none;
    }
}

.hero-logo-anim {
    position: absolute;
    top: 3%;
    bottom: 0;
    left: 67%;
    /* right: 0; */
}

.hero-logo-anim img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    opacity: 0.3;
    filter: grayscale(30%) contrast(0.9);
    pointer-events: none;
    display: block;
}

/* Japanese vertical text animation layer */
.hero-jp-anim {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0; /* move to the right side */
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    pointer-events: none;
    padding: 0 40px;
}


.hero-jp-anim .jp-col {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: clamp(18px, 2vw, 30px);
    color: rgba(26, 26, 26, 0.06);
    white-space: nowrap;
    line-height: 1.4;
    transform: translateY(-150%);
    animation: jpRain 12s linear infinite;
}

.hero-jp-anim .jp-col:nth-child(odd) { animation-duration: 14s; opacity: 0.055; }
.hero-jp-anim .jp-col:nth-child(3n) { animation-duration: 11s; opacity: 0.045; }
.hero-jp-anim .jp-col:nth-child(4n) { animation-delay: 2s; }
.hero-jp-anim .jp-col:nth-child(5n) { animation-delay: 4s; }
.hero-jp-anim .jp-col:nth-child(6n) { animation-duration: 16s; }
.hero-jp-anim .jp-col:nth-child(7n) { animation-duration: 13s; }

@keyframes jpRain {
    from { transform: translateY(-120%); }
    to { transform: translateY(120%); }
}

/* Typing animation background (bigger text) */
.hero-typing {
    position: static; /* put it in normal flow */
    order: 20;       /* place below the hero-container */
    z-index: 0;
    display: block;
    width: 100%;
    padding: 12px var(--hero-pad) 0; /* align with container padding */
    pointer-events: none;
    margin-left: 10%;
}

.hero-typing .typing {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: clamp(28px, 5vw, 64px);
    color: rgba(26, 26, 26, 0.10);
    /* CSS custom props allow JS to control length/speed */
    --steps: 24;
    --ch: 24ch;
    --duration: 5.5s;
    width: 0ch;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgba(26,26,26,0.2);
    animation: typingForward var(--duration) steps(var(--steps), end) 0.6s infinite, caret 800ms steps(1, end) infinite;
}

@keyframes typingForward { from { width: 0ch; } to { width: var(--ch); } }
@keyframes caret { 50% { border-color: transparent; } }

/* Background animated blobs behind hero content */

/* 
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.hero::before {
    right: -120px;
    top: 40px;
    width: 520px;
    height: 520px;
    background: radial-gradient(closest-side, rgba(180,0,27,0.18), rgba(180,0,27,0) 70%);
    animation: blobFloat 12s ease-in-out infinite alternate;
}

.hero::after {
    left: -140px;
    bottom: -80px;
    width: 460px;
    height: 460px;
    background: radial-gradient(closest-side, rgba(0,153,255,0.14), rgba(0,153,255,0) 70%);
    animation: blobDrift 14s ease-in-out 0.5s infinite alternate;
}

@keyframes blobFloat {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(20px) scale(1.08); }
}

@keyframes blobDrift {
    from { transform: translateY(0) translateX(0) scale(1); }
    to { transform: translateY(-16px) translateX(10px) scale(1.06); }
} */

/* Decorative animated line under hero */
.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 0; /* behind content */
    pointer-events: none;
}

.hero-decoration svg { width: 100%; height: 100%; display: block; }

.hero-decoration path {
    fill: none;
    stroke: #b4001b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    opacity: 0.15;
    animation: drawLine 2s ease-out 0.4s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}


.hero-container {
    /* margin: 0 auto; */
    margin-top: 2%;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    padding: 0 var(--hero-pad) 40px;
    max-width: 100%;
    order: 10; /* ensure appears before typing */
    position: relative;
    z-index: 1;
}

.hero-content {
    margin-left: 0;
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 720px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #1a1a1a;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* =============================
   Hero: Horizontal Image Carousel
   ============================= */
.hero-carousel {
    position: relative;
    width: 100%;
    max-width: 90%;
    height: auto;
    overflow: hidden;
    /* border-radius: 0 0 0 80px; */
    z-index: 1; /* above background */
    display: flex;
    align-items: center;
    align-self: flex-start;
    border-radius: 20px;
}

.carousel-track {
    display: inline-flex;
    gap: 24px;
    /* align-items: center; */
    animation: heroHorizontal 20s linear infinite;
    will-change: transform;
}

.carousel-image {
    /* width: auto; */
    height: 30%;
    flex: 0 0 35%;
    aspect-ratio: 5 / 4;
    /* background: linear-gradient(135deg, #dc2626, #991b1b); */
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

/* (Removed old decorative line for carousel) */

/* horizontal LTR for hero carousel */
@keyframes heroHorizontal {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* (Removed old horizontal slider styles - not used) */

/* (Removed old Stats section - not used) */

/* News Section */
.news-section { background: #f7f9fc; padding: 60px 0; }
.news-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.news-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.news-title { font-size: 34px; letter-spacing: 3px; color: #b4001b; }
.news-list { background: white; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); overflow: hidden; }
.news-item { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 20px; padding: 20px 24px; border-bottom: 1px solid #eee; }
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #fafcff; }
.news-meta { display: flex; flex-direction: row; align-items: center; gap: 12px; margin-bottom: 6px; }
.news-date { color: #666; font-size: 14px; }
.news-date::after { content: '—'; color: #bbb; margin: 0 4px 0 6px; }
.news-tag { background: #b4001b; color: #fff; border-radius: 12px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.news-content { display: flex; flex-direction: column; gap: 6px; }
.news-heading { font-size: 18px; color: #1a1a1a; margin: 0; }
.news-heading a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.news-heading a:hover { color: #b4001b; }
.news-excerpt { color: #666; margin: 0; }
.news-detail { display: none; color: #444; margin-top: 6px; }
.news-item.open .news-detail { display: block; }
.news-open { background: #b4001b; color: #fff; border: 0; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s; align-self: center; }
.news-open:hover { transform: scale(1.05); }
.news-actions { display: flex; justify-content: center; margin-top: 20px; }
.news-view-more { display: inline-block; padding: 10px 18px; border-radius: 8px; background: #b4001b; color: #fff; text-decoration: none; }

/* =============================
   About Us (centered over transparent bg)
   ============================= */
.about-hero {
    position: relative;
    padding: 120px 40px;
    text-align: center;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: var(--about-bg);
    background-size: cover; background-position: center;
    opacity: 0.2;
}

.about-hero__overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,0.4), rgba(255,255,255,0.8)); z-index: 1; }

.about-hero__content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.about-label { font-size: 108px; letter-spacing: 2px; color: #b4001b; font-weight: 300; }
.about-title { font-size: 56px; margin: 0; color: #1a1a1a; }
.about-subtitle { color: #333; font-size: 20px; line-height: 1.7; margin: 0; }
.about-cta {
    margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; position: relative;
    color: #b4001b; text-decoration: none; font-weight: 600; letter-spacing: 0.06em;
}
.about-cta::after {
    content: ''; position: absolute; left: 0; right: 24px; bottom: -4px; height: 2px; background: #b4001b;
    transform: scaleX(1); transform-origin: left; transition: transform 0.3s ease;
}
.about-cta::before { content: '›'; color: #b4001b; font-size: 32px; position: relative; left: 0; transition: transform 0.3s ease; }
.about-cta:hover::after { transform: scaleX(1.25); }
.about-cta:hover::before { transform: translateX(4px); }

/* =============================
   About Facts (LPK quick info)
   ============================= */
.about-facts { background: #fff; padding: 40px 0 60px; }
.facts-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.facts-header { text-align: center; margin-bottom: 24px; }
.facts-title { font-size: 28px; letter-spacing: 2px; color: #1a1a1a; margin-bottom: 8px; }
.facts-subtitle { color: #666; font-size: 16px; }

.simple-about { max-width: 900px; margin: 0 auto; text-align: left; display: grid; gap: 8px; }
.simple-about .simple-block { padding: 12px 0; border-top: 1px solid #eee; }
.simple-about .simple-block:first-child { border-top: 0; }
.about-facts h4 { margin: 0 0 6px 0; color: #1a1a1a; font-size: 18px; }
.about-facts p, .about-facts li { color: #444; }
.about-facts p { margin: 0 0 6px 0; }
.about-facts .key { color: #666; font-weight: 600; }
.about-facts .val { color: #1a1a1a; font-weight: 700; }
.about-facts ul { margin-left: 18px; }
.about-facts a { color: #b4001b; text-decoration: none; border-bottom: 1px solid rgba(180,0,27,0.3); }
.about-facts a:hover { border-color: #b4001b; }

.departures-simple { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.departures-simple .year { color: #b4001b; font-weight: 800; margin-right: 6px; }

@media (max-width: 640px) { .facts-container { padding: 0 20px; } }

/* =============================
   Gallery: Large title + underline + infinite horizontal strips
   ============================= */
.gallery-section { padding: 80px 0; background: #fff; }
.gallery-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.gallery-header { margin-bottom: 24px; }
.gallery-title { font-size: 48px; letter-spacing: 6px; color: #1a1a1a; text-align: left; }
.gallery-underline { height: 3px; background: #b4001b; width: 100%; margin-top: 8px; }

.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; gap: 40px; animation: galleryScroll 40s linear infinite; }

.gallery-strip {
    --cell-size: clamp(180px, 20vw, 240px);
    --cell-gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--cell-gap);
    min-width: 1060px;
    padding: 0 40px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, var(--cell-size));
    grid-auto-rows: var(--cell-size);
    gap: var(--cell-gap);
    width: calc(var(--cell-size) * 2 + var(--cell-gap));
}
.gallery-grid .gimg { aspect-ratio: 1 / 1; overflow: hidden; }
.gallery-large {
    width: calc(var(--cell-size) * 2 + var(--cell-gap));
    height: calc(var(--cell-size) * 2 + var(--cell-gap));
    position: relative;
    overflow: hidden;
}
.home-gallery-trigger,
[data-gallery-item] { cursor: pointer; }
.gallery-large img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }

/* Home gallery lightbox */
[data-home-gallery-modal] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
[data-home-gallery-modal][hidden] {
    display: none;
}
[data-home-gallery-modal][aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}
[data-home-gallery-modal] .gallery-modal__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
    opacity: 0;
    animation: homeModalFade 240ms ease forwards;
}
[data-home-gallery-modal] .gallery-modal__content {
    position: relative;
    max-width: min(960px, 90vw);
    width: 100%;
    background: transparent;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
    transform: translateY(30px) scale(0.96);
    opacity: 0;
    animation: homeModalSlideIn 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
[data-home-gallery-modal] .gallery-modal__figure {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
[data-home-gallery-modal] .gallery-modal__figure img {
    width: 100%;
    max-height: min(80vh, 680px);
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
[data-home-gallery-modal] .modal-control {
    border: none;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.66);
    font-size: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 12px;
    border-radius: 999px;
}
[data-home-gallery-modal] .modal-control:hover,
[data-home-gallery-modal] .modal-control:focus-visible {
    color: #fff;
    transform: scale(1.08);
    outline: none;
}
[data-home-gallery-modal] .modal-control.close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 32px;
    z-index: 2;
}

@media (max-width: 768px) {
    [data-home-gallery-modal] {
        padding: 20px;
    }
    [data-home-gallery-modal] .gallery-modal__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0 12px;
    }
    [data-home-gallery-modal] .modal-control.prev,
    [data-home-gallery-modal] .modal-control.next {
        position: absolute;
        bottom: 24px;
        width: 44px;
        height: 44px;
    }
    [data-home-gallery-modal] .modal-control.prev { left: 20px; }
    [data-home-gallery-modal] .modal-control.next { right: 20px; }
}

@keyframes galleryScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================
   FAQ Section
   ============================= */
.faq-section { 
    padding: 80px 0; 
    background: linear-gradient(135deg, #ffffff 0%, #f3f3f3 100%); 
    position: relative;
    overflow: hidden;
}

/* Floating background elements for FAQ */
.faq-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(180,0,27,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: faqFloat 8s ease-in-out infinite;
    z-index: 0;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: -80px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0,153,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: faqFloat 10s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes faqFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.faq-container { max-width: 900px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.faq-header { margin-bottom: 24px; }
.faq-title { 
    font-size: 40px; 
    letter-spacing: 6px; 
    color: #b4001b; 
    text-align: center; 
    animation: fadeInUp 0.8s ease-out;
}
.faq-underline { 
    height: 3px; 
    background: #b4001b; 
    width: 0;
    margin: 8px auto 0;
    animation: expandWidth 1.2s ease-out 0.3s forwards;
}

@keyframes expandWidth {
    to { width: 100%; }
}

.accordion { max-width: 800px; margin: 0 auto; }
.accordion details { 
    border: 1px solid #b4001b; 
    border-radius: 12px; 
    background: #fff; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    margin-bottom: 16px; 
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.accordion details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(180,0,27,0.15);
    border-color: #d4002a;
}

.accordion summary { 
    cursor: pointer; 
    font-weight: 800; 
    list-style: none; 
    position: relative; 
    padding: 20px 24px;
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.accordion summary:hover {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    color: #b4001b;
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { 
    content: '+'; 
    font-size: 24px; 
    position: absolute; 
    right: 24px; 
    top: 50%;
    transform: translateY(-50%);
    line-height: 1; 
    color: #b4001b; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(180,0,27,0.1);
}

.accordion details[open] summary::after { 
    content: '−'; 
    transform: translateY(-50%) rotate(180deg);
    background: rgba(180,0,27,0.2);
}

.accordion details[open] {
    border-color: #d4002a;
    box-shadow: 0 8px 25px rgba(180,0,27,0.2);
}

.accordion p { 
    margin: 0;
    padding: 0 24px 24px;
    line-height: 1.7; 
    color: #444;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
}

.accordion ul,
.accordion ol {
    margin: 0;
    padding: 0 24px 24px 48px;
    line-height: 1.7;
    color: #444;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
}

.accordion ul li,
.accordion ol li {
    margin-bottom: 8px;
}

.accordion details[open] p {
    opacity: 1;
    transform: translateY(0);
    animation: faqContentSlide 0.5s ease-out 0.1s forwards;
}

.accordion details[open] ul,
.accordion details[open] ol {
    opacity: 1;
    transform: translateY(0);
    animation: faqContentSlide 0.5s ease-out 0.1s forwards;
}

@keyframes faqContentSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================
   Contact Section
   ============================= */
.contact-section { 
    padding: 80px 0; 
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); 
    text-align: center; 
    position: relative;
    overflow: hidden;
}

/* Animated background elements for contact section */
.contact-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(180,0,27,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactPulse 6s ease-in-out infinite;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0,153,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: contactPulse 8s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes contactPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

/* =============================
   Contact QR extension
   ============================= */
.contact-qr {
    margin-top: 56px;
}

.contact-qr-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1f1f1f;
}

.contact-qr-description {
    margin: 0 auto 32px;
    max-width: 640px;
    line-height: 1.6;
    color: #4c4c4c;
}

.qr-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.qr-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qr-item img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 14px;
    box-shadow: 0 12px 24px rgba(16, 16, 16, 0.14);
}

.qr-link {
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: #b4001b;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.qr-link:hover {
    color: #ff2e46;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .contact-qr {
        margin-top: 48px;
    }

    /* Mobile: enlarge QR images as requested (added) */
    .qr-item img {
        width: 200px;
        height: 200px;
    }
}

.contact-container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 40px; 
    position: relative;
    z-index: 1;
}
.contact-title { 
    font-size: 40px; 
    letter-spacing: 6px; 
    color: #b4001b; 
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #b4001b, #ff6b6b, #b4001b);
    animation: expandWidth 1.5s ease-out 0.5s forwards;
}

.cta-text { 
    font-size: 18px; 
    margin-bottom: 32px; 
    color: #333;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    line-height: 1.6;
}

.cta-button { 
    display: inline-block; 
    padding: 16px 32px; 
    border-radius: 50px; 
    background: linear-gradient(135deg, #b4001b 0%, #d4002a 100%);
    color: #fff; 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(180,0,27,0.3);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

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

.cta-button:hover { 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(180,0,27,0.4);
    background: linear-gradient(135deg, #d4002a 0%, #b4001b 100%);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Pulse animation for the button */
@keyframes buttonPulse {
    0% { box-shadow: 0 4px 15px rgba(180,0,27,0.3); }
    50% { box-shadow: 0 4px 25px rgba(180,0,27,0.5); }
    100% { box-shadow: 0 4px 15px rgba(180,0,27,0.3); }
}

.cta-button {
    animation: fadeInUp 0.8s ease-out 0.4s backwards, buttonPulse 3s ease-in-out infinite 2s;
}

/* (Removed About grid styles - not used) */

/* (Removed Business/Feature styles - not used) */

/* (Removed Strengths styles - not used) */

/* (Removed Video styles - not used) */

/* (Removed FAQ styles - not used) */

/* Footer */
.footer { background-color: #1e1e1e; color: #f5f5f5; padding: 40px 20px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1 1 200px; min-width: 200px; }
.footer h3 { margin-bottom: 1rem; color: #ffffff; font-size: 1.25rem; }
.footer p { margin: 0 0 1rem 0; line-height: 1.6; color: #dcdcdc; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; line-height: 1.4; display: flex; align-items: flex-start; }
.footer a { color: #cccccc; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: #b4001b; }
.social-icons { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-icons a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid #444444; border-radius: 50%; color: #ffffff; transition: background-color 0.3s ease, border-color 0.3s ease; }
.social-icons a:hover { background-color: #b4001b; border-color: #b4001b; color: #ffffff; }
.bottom-row { text-align: center; margin-top: 2rem; border-top: 1px solid #333333; padding-top: 1rem; font-size: 0.9rem; color: #777777; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .hero { margin-top: 120px; display: flex; flex-direction: column; }
    .hero h1 { font-size: 28px; line-height: 1.35; }

    .hero-container { padding: 0 var(--hero-pad) 32px; gap: 32px; }
    .hero-content { padding: 0; margin-left: 0; }

    .hero-carousel { height: auto; }

    .carousel-track { align-items: stretch; }
    .carousel-image { width: 100%; flex-basis: 90%; aspect-ratio: 16 / 9; border-radius: 14px; }
    .hero-jp-anim, .hero-decoration { display: none; }
    /* Mobile: center the floating logo and soften it (refined++) */
    .hero-logo-anim { 
        left: 50% !important; 
        right: auto !important; 
        top: 4% !important; 
        transform: translateX(-50%) !important; 
        opacity: 0.18 !important;
    }
    .hero-logo-anim img { opacity: 0.80; height: 300px; }
    .hero-typing { padding: 8px var(--hero-pad) 0; }

    /* Hero carousel: horizontal run LTR on mobile */
    .hero-carousel .carousel-track { animation: heroHorizontal 16s linear infinite; }
    .hero-carousel .carousel-image { flex: 0 0 80%; margin-right: 16px; }

    /* Mobile: gallery single row, scroll left-to-right (fixed direction) */
    .gallery-track { gap: 16px; animation: galleryScroll 8s linear infinite; animation-direction: normal; justify-content: flex-start; }
    .gallery-strip {
        --cell-size: clamp(200px, 30vw, 200px);
        --cell-gap: 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        min-width: max-content;
        padding: 0 16px;
        gap: var(--cell-gap);
    }
    .gallery-grid { display: flex; gap: var(--cell-gap); }
    /* Keep square tiles as before */
    .gallery-grid .gimg { flex: 0 0 var(--cell-size); aspect-ratio: 1 / 1; }
    .gallery-large { display: none; }

    /* Header logo sizing for small screens */
    .header-container { 
        padding: 0 16px; 
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .logo img { height: 36px; }
    .logo-text { font-size: 16px; letter-spacing: 0.5px; }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .image-grid,
    .feature-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }
}

/* header, .header-container, nav, .header-right { min-width: 0; } */

/* Responsive header stack at <=1085px */
@media (max-width: 1085px) {
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
        align-self: center;
        order: 1;
        position: static;
        margin-left: auto;
        transform: none;
    }

    .logo { order: 0; max-width: 100%; }

    nav { order: 2; width: 100%; }

    nav ul {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    nav ul li a,
    nav a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .header-right {
        justify-content: space-between;
        width: 100%;
        order: 3;
    }

    /* Hide header-right by default on small screens */
    header:not(.is-open) .header-right {
        display: none;
    }

    /* Hide nav by default on small screens */
    header:not(.is-open) nav {
        display: none;
    }

    /* Toggle to X when open */
    header.is-open .menu-toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    header.is-open .menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    header.is-open .menu-toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* =============================
   Tablet breakpoint (added for 768px - 1024px)
   ============================= */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Header spacing tuning (responsiveness only) */
    .header-container {
        padding: 0 24px;
        gap: 20px;
    }
    nav ul { gap: 18px; }

    /* Hero sizing scales down proportionally on tablet */
    .hero h1 { font-size: 40px; line-height: 1.35; }
    .hero p { font-size: 18px; }
    .hero-container { padding: 0 var(--hero-pad) 36px; }
    .hero-carousel { max-width: 94%; }
    .carousel-image { flex: 0 0 42%; aspect-ratio: 16 / 10; }

    /* Decorative logo layer less intrusive on tablet */
    .hero-logo-anim img { height: 220px; }

    /* Overview/news containers padding */
    .news-container { padding: 0 24px; }
    .news-title { font-size: 30px; }
    .news-item { grid-template-columns: 1fr auto; gap: 16px; }

    /* Gallery strip should not force min-width beyond viewport */
    .gallery-container { padding: 0 24px; }
    .gallery-title { font-size: 40px; }
    .gallery-strip { min-width: 100%; padding: 0 24px; }
    .gallery-strip { --cell-size: clamp(160px, 22vw, 220px); }

    /* FAQ container spacing and title size */
    .faq-container { padding: 0 24px; }
    .faq-title { font-size: 34px; }

    /* Contact section spacing */
    .contact-container { padding: 0 24px; }
    .contact-title { font-size: 34px; }
}

/* =============================
   Max-width 1024px adjustments (added)
   - Ensure no horizontal overflow from decorative/large elements
   ============================= */
@media (max-width: 1024px) {
    /* Prevent off-canvas artifacts */
    .gallery-track { gap: 28px; }
    .hero-jp-anim { display: none; }
    .hero-logo-anim { left: 60%; }
}

/* =============================
   Desktop refinements > 1024px (added)
   - Keep proportions while ensuring fluidity on large screens
   ============================= */
@media (min-width: 1025px) {
    .hero-carousel { max-width: 90%; }
}
[data-home-gallery-modal][aria-hidden="true"] .gallery-modal__content {
    animation: homeModalSlideOut 200ms ease forwards;
}
[data-home-gallery-modal][aria-hidden="true"] .gallery-modal__overlay {
    animation: homeModalFadeOut 200ms ease forwards;
}

@keyframes homeModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes homeModalSlideIn {
    from {
        transform: translateY(30px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

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

@keyframes homeModalFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
