/* ============================================
   Thai Snowboard Camp - Style Sheet
   Modern, Fast, SEO-optimized
   ============================================ */

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

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --accent: #f97316;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links-cta {
    display: none;
}

.nav-links a {
    color: rgba(255,255,255,.85);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,.1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.6) 0%,
        rgba(15, 23, 42, 0.4) 40%,
        rgba(15, 23, 42, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 1.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-highlight {
    display: inline-block;
    margin-top: 0.5rem;
    background: rgba(249, 115, 22, 0.9);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    animation: pulse-highlight 2.5s infinite;
}

@keyframes pulse-highlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Social Links */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: var(--white);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.hero-social:hover {
    transform: translateY(-2px) scale(1.1);
}

.hero-social-fb:hover {
    background: #1877f2;
}

.hero-social-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.hero-social-line:hover {
    background: #06c755;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.15);
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,.6);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,.2);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 0.75rem;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,.5);
    border-bottom: 2px solid rgba(255,255,255,.5);
    transform: rotate(45deg);
    margin: 0.5rem auto 0;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(5px); }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, .4);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-dark {
    background: var(--gray-100);
}

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

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.7;
}

.feature-card-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
    position: relative;
}

.feature-card-highlight::before {
    content: "Highlight";
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.feature-card-highlight:hover {
    border-color: var(--accent);
}

/* Free class tags */
.free-class-tag {
    color: var(--accent);
    font-weight: 600;
}

.free-class-badge {
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

/* ============================================
   Resort Pills (Homepage)
   ============================================ */
.resort-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

.resort-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem 1.2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    cursor: pointer;
}

.resort-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.resort-pill-green {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.resort-pill-green:hover {
    border-color: #10b981;
    color: #059669;
}

.resort-pill-purple {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.resort-pill-purple:hover {
    border-color: #6366f1;
    color: #4f46e5;
}

/* ============================================
   Trips Grid
   ============================================ */
.trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trip-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.trip-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.trip-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.trip-badge-new {
    background: #10b981;
}

.trip-content {
    padding: 1.5rem;
}

.trip-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.trip-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trip-content p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.trip-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 1.2rem;
}

.trip-sold-out {
    opacity: 0.7;
}

.trip-sold-out:hover {
    transform: none;
}

.btn-disabled {
    display: inline-block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   Upcoming Trips (Live NocoDB)
   ============================================ */
.upcoming-trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.upcoming-trip-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.upcoming-trip-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.upcoming-trip-card.trip-sold-out {
    opacity: 0.65;
    border-color: var(--gray-200);
}

.upcoming-trip-card.trip-sold-out:hover {
    transform: none;
    border-color: var(--gray-300);
}

.upcoming-trip-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.capacity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.capacity-available {
    background: #10b981;
    color: var(--white);
}

.capacity-limited {
    background: #f59e0b;
    color: var(--white);
}

.capacity-almost {
    background: #ef4444;
    color: var(--white);
    animation: pulse-badge 2s infinite;
}

.capacity-full {
    background: var(--gray-400);
    color: var(--white);
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.upcoming-trip-content {
    padding: 1.5rem;
}

.upcoming-trip-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    background: rgba(14, 165, 233, 0.08);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.date-icon {
    font-size: 1.1rem;
}

.upcoming-trip-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.upcoming-trip-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.upcoming-trip-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.trip-type-tag,
.trip-instructor-tag {
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-weight: 500;
}

.trip-type-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.trip-instructor-tag {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* No trips message */
.no-trips-message {
    text-align: center;
    padding: 3rem 1rem;
}

.no-trips-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-trips-message h3 {
    font-size: 1.3rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.no-trips-message p {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

/* Resort guide divider */
.resort-guide-divider {
    padding: 2rem 0;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

/* ============================================
   Service Cards (Insurance, Payment, Class, Bookings)
   ============================================ */
.service-section {
    padding: 2rem 0;
    background: var(--gray-100);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.service-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.service-card-insurance:hover { border-color: #10b981; }
.service-card-payment:hover { border-color: #f59e0b; }
.service-card-class:hover { border-color: var(--primary); }
.service-card-booking:hover { border-color: #8b5cf6; }

/* ============================================
   Classes
   ============================================ */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.class-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.class-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.class-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.class-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.class-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
}

.class-price {
    text-align: center;
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.class-price span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.class-features {
    list-style: none;
    margin-bottom: 2rem;
}

.class-features li {
    padding: 0.5rem 0;
    font-size: 0.92rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.class-features li:last-child {
    border-bottom: none;
}

/* 4-column classes grid */
.classes-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}

.classes-grid-4 .class-card {
    padding: 2rem;
}

.classes-grid-4 .class-card h3 {
    font-size: 1.2rem;
}

.classes-grid-4 .class-price span {
    font-size: 1.5rem;
}

.class-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.class-card-accent {
    border-color: var(--accent);
}

.class-card-accent:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.class-card-pro {
    border-color: #6366f1;
}

.class-card-pro:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.class-badge-new {
    background: var(--accent);
}

.class-badge-pro {
    background: #6366f1;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-accent:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.btn-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: #6366f1;
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-pro:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.class-badge-free {
    background: #16a34a;
}

.price-free {
    font-size: 2rem;
    font-weight: 800;
    color: #16a34a;
}

/* Free Banner (Ride with Instructor page) */
.free-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 2px solid #16a34a;
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.free-banner-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.free-banner strong {
    display: block;
    font-size: 1.1rem;
    color: #15803d;
    margin-bottom: 0.25rem;
}

.free-banner p {
    font-size: 0.9rem;
    color: #166534;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-large {
    grid-column: span 2;
    grid-row: span 2;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-stars {
    color: #facc15;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '\2212';
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.85), rgba(15, 23, 42, 0.9));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
}

/* ============================================
   Contact
   ============================================ */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

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

.contact-action {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.contact-card:hover .contact-action {
    transform: translateX(4px);
}

.contact-card-fb:hover { border-color: #1877F2; }
.contact-card-ig:hover { border-color: #E4405F; }
.contact-card-line:hover { border-color: #06C755; }

/* ============================================
   Who is TSBC
   ============================================ */
.who-tsbc {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.who-tsbc-content .section-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.who-tsbc-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.who-tsbc-content p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.who-tsbc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.who-stat {
    text-align: center;
}

.who-stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.who-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.who-tsbc-image {
    position: relative;
}

.who-tsbc-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,.4);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-tsbc {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .who-tsbc-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .features-grid,
    .trips-grid,
    .upcoming-trips-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 160px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-card {
        padding: 1rem 0.75rem;
    }

    .service-icon {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 0.85rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-logo span {
        font-size: 0.9rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        color: rgba(255,255,255,.9);
    }

    .nav-links-cta {
        display: list-item;
        list-style: none;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,.15);
    }

    .nav-links-cta a {
        background: var(--primary);
        color: var(--white) !important;
        border-radius: 8px;
        padding: 0.8rem 2.5rem !important;
        font-weight: 600;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.9rem;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-highlight {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-socials {
        margin-top: 1rem;
    }

    .features-grid,
    .trips-grid,
    .upcoming-trips-grid,
    .testimonials-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .upcoming-trip-image {
        height: 180px;
    }

    .classes-grid,
    .classes-grid-4 {
        grid-template-columns: 1fr;
    }

    .audience-list {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 3.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trip-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-auto-rows: 120px;
    }
}

/* ============================================
   Audience Cards (Ride with Instructor / Instructor Course)
   ============================================ */
.audience-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.audience-card {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.audience-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.audience-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.audience-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Certification Badges */
.cert-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.cert-badge {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: var(--transition);
}

.cert-badge:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.cert-badge strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.cert-badge span {
    display: block;
    font-size: 0.72rem;
    color: var(--gray-500);
    line-height: 1.3;
}

.cert-badge-more {
    border-style: dashed;
    background: transparent;
}

.cert-badge-more strong {
    color: var(--gray-500);
}

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

/* Elements waiting for scroll animation - hidden initially */
.will-animate {
    opacity: 0;
    transform: translateY(20px);
}

/* Triggered when element scrolls into view */
.will-animate.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
