/* ========================================
   SURYA NIHONGO GAKKO — STYLES
   ======================================== */

/* --- Japanese Cultural Decorations --- */
.japanese-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Sakura Petal Animation */
@keyframes sakuraFall {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) translateX(100px) rotate(720deg) scale(0.6);
        opacity: 0;
    }
}

@keyframes sakuraSway {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-20px); }
    75% { transform: translateX(20px); }
}

.sakura-petal {
    position: fixed;
    width: 15px;
    height: 15px;
    background: radial-gradient(ellipse at 30% 30%, #ffb7c5 0%, #ff8fa3 50%, #ffcdd5 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    filter: blur(0.5px);
    animation: sakuraFall linear infinite, sakuraSway ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(255, 183, 197, 0.3);
}

/* Japanese Wave Pattern (Seigaiha) Background */
.wave-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80px 40px at 80px 40px, rgba(196,30,58,0.03) 50%, transparent 50%),
        radial-gradient(ellipse 80px 40px at 0px 40px, rgba(196,30,58,0.03) 50%, transparent 50%);
    background-size: 80px 40px;
    background-position: 0 0;
    pointer-events: none;
}

/* Torii Gate Decoration */
.torii-decoration {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.04;
    fill: var(--primary);
}

.torii-decoration.right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.torii-decoration.left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
}

/* Enso Circle Background */
.enso-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 20px solid transparent;
    border-radius: 50%;
    opacity: 0.03;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    animation: ensoRotate 20s linear infinite;
}

@keyframes ensoRotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Japanese Wave Divider */
.japanese-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.japanese-divider::before,
.japanese-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.2;
}

.wave-divider-icon {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--primary);
    opacity: 0.4;
}

/* Lantern Animation */
@keyframes lanternFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.lantern-decoration {
    position: absolute;
    animation: lanternFloat 4s ease-in-out infinite;
}

/* Kanji Fade Animation */
@keyframes kanjiFade {
    0% { opacity: 0; transform: scale(0.8) translateY(10px); }
    100% { opacity: 0.03; transform: scale(1) translateY(0); }
}

.kanji-bg {
    position: absolute;
    font-size: 200px;
    opacity: 0.03;
    color: var(--secondary);
    font-family: 'Noto Sans JP', sans-serif;
    pointer-events: none;
    animation: kanjiFade 1s ease forwards;
}

/* Japanese Paper Texture Overlay */
.paper-texture {
    position: absolute;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Red Seal (Hanko) Decoration */
.seal-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-decoration::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    transform: rotate(45deg);
}

.seal-decoration.bottom-right {
    bottom: -20px;
    right: -20px;
}

/* Traditional Japanese Entrance Animation */
@keyframes slideUp {
    from { transform: translateY(100%) scaleY(0); }
    to { transform: translateY(0) scaleY(1); }
}

.slide-up-entrance {
    animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-origin: bottom;
}

/* Ink Splash Effect */
@keyframes inkSplash {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.ink-splash {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    animation: inkSplash 1s ease-out forwards;
    pointer-events: none;
}

/* Scroll Indicator Japanese Style */
.scroll-indicator-jp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-indicator-jp::after {
    content: '▼';
    font-size: 12px;
    color: var(--accent);
    animation: bounceDown 1.5s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Background Japanese Pattern */
.bg-japanese-pattern {
    background-color: var(--off-white);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='none' stroke='%23C41E3A' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

/* --- CSS Variables --- */
:root {
    --primary: #C41E3A;
    --primary-dark: #9A1530;
    --primary-light: #E8334F;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #FFD700;
    --accent-dark: #E6C200;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --text: #212529;
    --text-light: #495057;
    --success: #198754;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: var(--secondary);
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
}

/* ========================================
   PAGE WRAPPER
   ======================================== */
.page-wrapper {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.page-wrapper.loaded {
    opacity: 1;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--white);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 8px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    transition: var(--transition);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
    color: var(--white);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-slow);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
    }

    .nav-cta-btn {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Japanese gradient background */
    background: linear-gradient(135deg, var(--secondary) 0%, #0d0d1a 50%, var(--primary-dark) 100%);
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(196,30,58,0.6) 100%);
    /* Japanese pattern overlay */
    background-image:
        linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(196,30,58,0.6) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23FFD700' stroke-width='0.3' opacity='0.1'/%3E%3C/svg%3E");
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-photo-column {
    display: flex;
    justify-content: center;
}

.hero-photo-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-photo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(196, 30, 58, 0.3);
    animation: ringPulse 4s ease-in-out infinite;
}

/* Japanese character ring decoration */
.hero-photo-ring::before {
    content: '学';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-family: 'Noto Sans JP', sans-serif;
    color: rgba(196, 30, 58, 0.1);
    font-weight: 900;
}

.ring-1 {
    inset: -20px;
    animation-delay: 0s;
}

.ring-2 {
    inset: -40px;
    border-color: rgba(255, 215, 0, 0.2);
    animation-delay: 0.5s;
}

.ring-2::before {
    content: '日本語';
    font-size: 80px;
    color: rgba(255, 215, 0, 0.08);
}

.ring-3 {
    inset: -60px;
    border-color: rgba(196, 30, 58, 0.1);
    animation-delay: 1s;
}

.ring-3::before {
    content: '日本';
    font-size: 60px;
    color: rgba(255, 255, 255, 0.05);
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

.hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 4px solid rgba(255,255,255,0.2);
}

.hero-photo-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    text-align: center;
}

.badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    line-height: 1.3;
}

.hero-content-column {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--accent);
    stroke: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.highlight {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.9);
}

.hero-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* Japanese Scroll Indicator Icon */
.scroll-jp-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scroll-jp-icon span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10px;
    color: var(--accent);
    letter-spacing: 2px;
}

.scroll-jp-icon::after {
    content: '';
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 1.5s ease-in-out infinite;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 40px;
    }

    .hero-photo-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-badge {
        margin: 0 auto 24px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }
}

/* ========================================
   MARQUEE SECTION
   ======================================== */
.marquee-section {
    background: var(--secondary);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

/* Japanese wave border top */
.marquee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary) 20%,
        var(--accent) 50%,
        var(--primary) 80%,
        transparent 100%);
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
}

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

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Japanese text in marquee */
.marquee-item::before {
    content: '◆';
    font-size: 8px;
    color: var(--primary);
}

.marquee-item::after {
    content: attr(data-jp);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10px;
    opacity: 0.5;
    margin-left: 4px;
}

.marquee-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    fill: none;
    flex-shrink: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Japanese wave pattern background */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 100px 50px at 100px 100px, rgba(196,30,58,0.03) 50%, transparent 50%),
        radial-gradient(ellipse 100px 50px at 0px 50px, rgba(196,30,58,0.03) 50%, transparent 50%);
    background-size: 100px 100px;
    pointer-events: none;
}

/* Large Japanese character watermark */
.about-section::after {
    content: '本校';
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 300px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--primary);
    opacity: 0.03;
    font-weight: 900;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    position: relative;
}

.about-img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 450px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.about-image-accent {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    z-index: 0;
    opacity: 0.3;
}

.about-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 12px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.about-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--secondary);
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: inline;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-plus, .stat-percent {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .about-img {
        height: 300px;
    }
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Japanese mon (family crest) pattern */
.courses-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 400px;
    height: 400px;
    background:
        radial-gradient(circle 50px at 50px 50px, rgba(196,30,58,0.08) 50%, transparent 50%),
        radial-gradient(circle 50px at 150px 50px, rgba(196,30,58,0.08) 50%, transparent 50%),
        radial-gradient(circle 50px at 100px 100px, rgba(196,30,58,0.08) 50%, transparent 50%);
    background-size: 200px 200px;
    opacity: 0.5;
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

/* Japanese Stamp (Hanko) Effect */
.course-card::after {
    content: '合格';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: var(--primary);
    opacity: 0;
    transform: rotate(-15deg) scale(0);
    transition: all 0.3s ease;
}

.course-card:hover::after {
    opacity: 0.3;
    transform: rotate(-15deg) scale(1);
}

.course-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.course-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.course-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.course-meta svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
}

.btn-course {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.9rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
}

.btn-course:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Japanese bamboo pattern decoration */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 10px,
        rgba(196,30,58,0.05) 10px,
        rgba(196,30,58,0.05) 12px
    );
    pointer-events: none;
}

.services-section::after {
    content: '日本語';
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    font-size: 150px;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--secondary);
    opacity: 0.02;
    font-weight: 900;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(196, 30, 58, 0.05);
    line-height: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Japanese calligraphy brush stroke underline */
.testimonial-text::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 16px;
    border-radius: 2px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    stroke: var(--accent);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

.testimonials-cta {
    text-align: center;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Japanese torii gate silhouette */
.cta-bg::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 200px solid rgba(255,255,255,0.03);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    z-index: 0;
}

/* Japanese pattern overlay on CTA */
.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='white' stroke-width='1' opacity='0.05'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 24px;
}

.cta-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--white);
    color: var(--primary);
    border-color: transparent;
    font-weight: 700;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Japanese seal decoration */
.contact-section::before {
    content: '';
    position: absolute;
    top: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 45px;
    right: 45px;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    opacity: 0.1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(196, 30, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.contact-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--secondary);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 350px;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact-col p {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact-col svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-col a {
    color: rgba(255,255,255,0.7);
}

.footer-contact-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* Japanese badge in footer */
.footer-jp-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 30, 58, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.footer-jp-badge span {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(100px);
}

.floating-buttons.visible .floating-btn {
    opacity: 1;
    transform: translateX(0);
}

.floating-buttons.visible .whatsapp-btn {
    animation: slideInRight 0.6s ease 0.1s both;
}

.floating-buttons.visible .chatbot-btn {
    animation: slideInRight 0.6s ease 0.2s both;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.whatsapp-btn {
    background: var(--whatsapp);
}

.whatsapp-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateX(-5px);
}

.whatsapp-btn.pulse {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.chatbot-btn {
    background: var(--primary);
    border: none;
    cursor: pointer;
}

.chatbot-btn:hover {
    background: var(--primary-dark);
    transform: translateX(-5px);
}

.floating-btn-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-btn-icon svg {
    width: 100%;
    height: 100%;
}

.floating-btn-label {
    white-space: nowrap;
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .floating-btn {
        padding: 10px 16px;
    }

    .floating-btn-label {
        display: none;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ========================================
   CHATBOT
   ======================================== */
.chatbot-overlay {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.chatbot-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-window {
    width: 380px;
    max-width: calc(100vw - 48px);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-height: 580px;
    display: flex;
    flex-direction: column;
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
}

.chatbot-header h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #51e56a;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chatbot-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.25);
}

.chatbot-close svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 460px;
}

.chatbot-body::-webkit-scrollbar {
    width: 4px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: var(--light-gray);
    border-radius: 2px;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Message Bubbles */
.bot-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: msgFadeIn 0.3s ease;
}

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

.bot-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bot-avatar svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(196, 30, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.bot-bubble {
    background: var(--off-white);
    padding: 12px 16px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    font-size: 0.9rem;
    color: var(--text);
    max-width: 260px;
    line-height: 1.5;
}

.user-bubble {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
    font-size: 0.9rem;
    max-width: 260px;
    line-height: 1.5;
    margin-left: auto;
}

.user-message {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    animation: msgFadeIn 0.3s ease;
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.quick-reply-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
}

.quick-reply-btn svg {
    width: 14px;
    height: 14px;
}

/* Service Cards in Chat */
.chat-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.chat-service-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-service-card:hover {
    border-color: var(--primary);
    background: rgba(196, 30, 58, 0.03);
    transform: translateY(-2px);
}

.chat-service-card svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    margin-bottom: 6px;
}

.chat-service-card span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
}

/* FAQ in Chat */
.chat-faq-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-top: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-faq-item:hover {
    border-color: var(--primary);
}

.chat-faq-item h5 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.chat-faq-item p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.4;
    display: none;
}

.chat-faq-item.expanded p {
    display: block;
}

/* Contact options in chat */
.chat-contact-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.chat-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary);
    text-decoration: none;
}

.chat-contact-btn:hover {
    border-color: var(--primary);
    background: rgba(196, 30, 58, 0.03);
}

.chat-contact-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

/* Booking form in chat */
.chat-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.chat-form input {
    padding: 10px 14px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.chat-form input:focus {
    border-color: var(--primary);
}

.chat-form-submit {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.chat-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.chat-form-submit svg {
    width: 16px;
    height: 16px;
}

/* Back button */
.chat-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.chat-back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chat-back-btn svg {
    width: 14px;
    height: 14px;
}

/* Testimonial cards in chat */
.chat-testimonial-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-top: 8px;
}

.chat-testimonial-card .stars svg {
    width: 12px;
    height: 12px;
    fill: var(--accent);
    stroke: var(--accent);
}

.chat-testimonial-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 8px 0;
    font-style: italic;
}

.chat-testimonial-card .author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Chat Input Area */
.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

.chat-send-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
}

@media (max-width: 480px) {
    .chatbot-overlay {
        bottom: 80px;
        right: 12px;
        left: 12px;
    }

    .chatbot-window {
        max-width: 100%;
        width: 100%;
    }
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
[data-delay="0"] { transition-delay: 0ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ========================================
   UTILITY
   ======================================== */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
