

:root {
    --primary-green: #1a472a;
    --accent-green: #2d5f3f;
    --light-green: #4a9d6f;
    --lime-accent: #7fd986;
    --dark-bg: #0f1419;
    --darker-bg: #0a0e12;
    --light-gray: #e8e8e8;
    --text-gray: #b0b0b0;
    --border-color: #2a3a2e;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Elements start hidden, JS reveals them */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal--left {
    transform: translateX(-30px);
}

.reveal.reveal--right {
    transform: translateX(30px);
}

.reveal.reveal--scale {
    transform: scale(0.92);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered children animation */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.45s; }

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-gray);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3rem;
    color: var(--light-green);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--lime-accent);
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

header {
    background-color: rgba(10, 14, 18, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 5px 14px rgba(74, 157, 111, 0.35));
    transform: scale(1.08);
}

.logo-img-footer {
    height: 44px;
    width: auto;
    max-width: 160px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-img-footer {
    filter: drop-shadow(0 4px 12px rgba(74, 157, 111, 0.35));
    transform: scale(1.05);
}

.hero-logo {
    height: 280px;
    width: auto;
    max-width: 90%;
    display: block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    animation: float 3s ease-in-out infinite;
}

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

/* Main nav */
header nav {
    flex: 1;
}

header nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

header nav a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

header nav a:hover {
    color: var(--lime-accent);
    border-bottom-color: var(--lime-accent);
}

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */

.lang-switcher {
    display: none;
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--lime-accent);
}

.lang-btn--active {
    color: var(--lime-accent);
    background-color: rgba(127, 217, 134, 0.12);
    pointer-events: none;
    cursor: default;
}

.lang-divider {
    color: var(--border-color);
    font-size: 0.75rem;
    user-select: none;
}

/* =============================================
   MOBILE NAV
   ============================================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    flex-shrink: 0;
}

.nav-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--light-gray);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: block;
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 0 2rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav.open {
    max-height: 400px;
    opacity: 1;
    padding: 1rem 2rem 1.5rem;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 1rem;
}

.mobile-nav ul li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: color 0.2s ease,
                opacity 0.35s ease,
                transform 0.35s ease;
}

.mobile-nav.open ul li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-nav.open ul li:nth-child(2) a { transition-delay: 0.1s; }
.mobile-nav.open ul li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-nav.open ul li:nth-child(4) a { transition-delay: 0.2s; }

.mobile-nav.open ul li a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav ul li a:hover {
    color: var(--lime-accent);
}

.mobile-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

/* Hide language switcher on mobile/tablet */
@media (max-width: 768px) {
    .mobile-lang {
        display: none;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    margin-top: 65px;
    background-color: var(--dark-bg);
    background-image: linear-gradient(160deg, rgba(10,18,12,0.45) 0%, rgba(10,14,18,0.55) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 2rem;
    text-align: center;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}

/* Snake pattern on top of the photo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/snake-pattern.jpg');
    background-size: 350px 350px;
    background-repeat: repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 700px;
    /* Smooth entrance handled by JS reveal */
}

.hero h1,
.hero-sub,
.hero .cta-button {
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 14px rgba(0,0,0,0.6);
    color: var(--light-green);
}

.hero-sub {
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    color: var(--lime-accent, #4ade80);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.9);
}

.cta-button {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--dark-bg);
    padding: 0.8rem 2.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--lime-accent);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(127, 217, 134, 0.28);
}

/* =============================================
   SECTIONS (full-width wrappers + inner container)
   ============================================= */

.section-full {
    padding: 5rem 2rem 3.5rem;
    width: 100%;
}

.section-full.section-dark {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.section-full.section-tinted {
    background: linear-gradient(160deg, var(--darker-bg) 0%, rgba(26,71,42,0.35) 100%);
    border-top: 1px solid var(--border-color);
}

/* Testimonials section — earthy/goldish tint with snake scale overlay */
#testimonials.section-tinted {
    background: linear-gradient(160deg, #0f1a10 0%, rgba(58, 38, 10, 0.55) 100%);
    border-top: 1px solid rgba(139, 100, 40, 0.2);
    position: relative;
    isolation: isolate;
}

#testimonials.section-tinted::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/snake-pattern.jpg');
    background-size: 320px 320px;
    background-repeat: repeat;
    opacity: 0.055;
    pointer-events: none;
    z-index: 0;
}

#testimonials.section-tinted .section-inner {
    position: relative;
    z-index: 1;
}

#testimonials .section-title h2 {
    color: #c9a355;
}

#testimonials .section-title h2::after {
    background-color: #8b6428;
    width: 40px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background-color: var(--light-green);
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    background-color: rgba(45, 95, 63, 0.2);
    border: 1px solid rgba(74, 157, 111, 0.2);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--light-gray);
    transition: background-color 0.2s ease;
}

.highlight-item:hover {
    background-color: rgba(45, 95, 63, 0.35);
}

.highlight-icon {
    width: 16px;
    height: 16px;
    color: var(--light-green);
    flex-shrink: 0;
}

/* =============================================
   GALLERY SECTION
   ============================================= */

/* Scroll wrapper for single-folder gallery with > 3 images */
.gallery-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-scroll-wrapper::before,
.gallery-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.gallery-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.gallery-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

.gallery-scroll-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: galleryScroll 20s linear infinite;
    will-change: transform;
}

.gallery-scroll-track:hover {
    animation-play-state: paused;
}

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

/* Static grid for 3 or fewer images */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.gallery-grid .gallery-item {
    flex: 0 0 calc(33.333% - 0.84rem);
    max-width: calc(33.333% - 0.84rem);
}

.gallery-grid[data-count="1"] .gallery-item {
    flex: 0 0 50%;
    max-width: 50%;
}

.gallery-grid[data-count="2"] .gallery-item {
    flex: 0 0 calc(50% - 0.625rem);
    max-width: calc(50% - 0.625rem);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background-color: var(--darker-bg);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* Scroll track items have fixed width */
.gallery-scroll-track .gallery-item {
    flex: 0 0 360px;
    width: 360px;
    max-width: 360px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(127, 217, 134, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 71, 42, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--light-green);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Gallery Folders Grid */
.gallery-folders-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.gallery-folder-tile {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    min-width: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--darker-bg);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.gallery-folder-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(127, 217, 134, 0.2);
}

.folder-tile-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.folder-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-folder-tile:hover .folder-tile-image img {
    transform: scale(1.05);
}

.folder-tile-info {
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, var(--dark-bg), rgba(15, 20, 25, 0.95));
}

.folder-tile-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.folder-tile-info .folder-count {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Image Protection Overlay */
.protected-image {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.image-protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    visibility: visible;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    width: 50px;
    height: 80px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.lightbox-prev { left: 1rem; border-radius: 0 8px 8px 0; }
.lightbox-next { right: 1rem; border-radius: 8px 0 0 8px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-main {
    position: relative;
    max-width: 90%;
    max-height: 70vh;
    z-index: 5;
}

.lightbox-main img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
    max-width: 90%;
    overflow-x: auto;
    z-index: 5;
}

.lightbox-thumb {
    position: relative;
    width: 60px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.lightbox-thumb:hover,
.lightbox-thumb.is-active {
    opacity: 1;
}

.lightbox-thumb.is-active {
    box-shadow: 0 0 0 2px var(--light-green);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */

/* Desktop auto-scroll carousel */
.testimonials-desktop {
    display: block;
}
.testimonials-carousel {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.testimonials-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
}

/* Mobile manual slider */
.testimonials-mobile {
    display: none;
    align-items: center;
    gap: 0.75rem;
    flex-direction: column;
}
.t-mobile-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.t-mobile-track {
    display: flex;
    transition: transform 0.35s ease;
}
.t-mobile-track .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.t-arrow {
    background: rgba(45, 95, 63, 0.25);
    border: 1px solid rgba(74, 157, 111, 0.35);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--light-green);
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.t-arrow:hover {
    background: rgba(45, 95, 63, 0.5);
}
.t-arrow svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.testimonials-mobile .t-arrow--prev,
.testimonials-mobile .t-arrow--next {
    align-self: center;
}
.t-mobile-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}
.t-mobile-viewport {
    width: 100%;
    overflow: hidden;
}
.t-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
}
.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(74, 157, 111, 0.3);
    border: 1px solid rgba(74, 157, 111, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}
.t-dot--active {
    background: var(--light-green);
    transform: scale(1.3);
}

/* Shared card styles */
.testimonial-card {
    flex: 0 0 calc((100vw - 4rem) / 3);
    max-width: 400px;
    min-width: 280px;
    background-color: rgba(45, 95, 63, 0.18);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(74, 157, 111, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(127, 217, 134, 0.12);
}

.testimonial-content {
    flex: 1;
}

.quote-icon {
    width: 28px;
    height: 28px;
    color: var(--light-green);
    opacity: 0.6;
    margin-bottom: 0.75rem;
}

.testimonial-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light-green);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-info strong {
    color: var(--light-green);
    font-size: 0.95rem;
}

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

.rating {
    display: flex;
    gap: 2px;
    margin-top: 0.3rem;
}

.star {
    width: 14px;
    height: 14px;
    fill: var(--border-color);
}

.star--filled {
    fill: var(--lime-accent);
}

/* =============================================
   CONTACT SECTION
   ============================================= */

/* Two contact cards side by side, centered */
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    flex: 0 0 280px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.25rem 1.75rem;
    background: rgba(45, 95, 63, 0.15);
    border: 1px solid rgba(74, 157, 111, 0.3);
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(45, 95, 63, 0.35);
    border-color: var(--light-green);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(127, 217, 134, 0.15);
}

.contact-card span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--light-green);
    letter-spacing: 0.5px;
    word-break: break-all;
}

.contact-card small {
    font-size: 0.775rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.ig-icon,
.email-icon {
    width: 40px;
    height: 40px;
    color: var(--light-green);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .ig-icon,
.contact-card:hover .email-icon {
    color: var(--lime-accent);
}

/* =============================================
   FOOTER
   ============================================= */

#site-footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-weight: 800;
    font-size: 1rem;
    color: var(--light-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#site-footer p {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin: 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.footer-social a:hover {
    color: var(--lime-accent);
    border-color: var(--light-green);
    background-color: rgba(74, 157, 111, 0.1);
}

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

/* =============================================
   COURSES SECTION
   ============================================= */

.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.courses-grid--home {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.courses-grid--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

.course-card {
    flex: 0 0 320px;
    max-width: 320px;
    background-color: rgba(45, 95, 63, 0.12);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--light-green);
    box-shadow: 0 16px 40px rgba(127, 217, 134, 0.15);
}

.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.course-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--darker-bg);
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-card-image img {
    transform: scale(1.08);
}

.course-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--darker-bg) 100%);
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    background-color: rgba(10, 14, 18, 0.85);
    color: var(--lime-accent);
    backdrop-filter: blur(4px);
}

.course-badge--beginner {
    color: #7fd986;
}

.course-badge--intermediate {
    color: #f0c866;
}

.course-badge--advanced {
    color: #ff8a7a;
}

.course-card-content {
    padding: 1.5rem;
}

.course-card-content h3 {
    font-size: 1.1rem;
    color: var(--light-green);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.course-card-content p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.course-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--light-green);
}

.course-card-cta {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-green);
    transition: color 0.2s ease;
}

.course-card:hover .course-card-cta {
    color: var(--lime-accent);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Coming Soon badge */
.course-badge--coming-soon {
    top: auto;
    bottom: 12px;
    right: 12px;
    background-color: rgba(10, 14, 18, 0.9);
    color: #c9a355;
    border: 1px solid rgba(201, 163, 85, 0.4);
}

/* Coming soon card dim */
.course-card--coming-soon .course-card-image img,
.course-card--coming-soon .course-card-placeholder {
    opacity: 0.55;
    filter: grayscale(30%);
}

/* View All Courses Banner */
.courses-view-all-banner {
    margin-top: 3.5rem;
    border: 1px solid rgba(74, 157, 111, 0.35);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.45) 0%, rgba(15, 26, 16, 0.75) 100%);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.courses-view-all-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/snake-pattern.jpg');
    background-size: 280px 280px;
    opacity: 0.035;
    pointer-events: none;
}

.courses-view-all-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.75rem;
    z-index: 1;
}

.courses-view-all-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.courses-view-all-banner__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-green);
    opacity: 0.75;
}

.courses-view-all-banner__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.01em;
}

.courses-view-all-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 2rem;
    background-color: var(--light-green);
    color: var(--darker-bg);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(74, 157, 111, 0.25);
    letter-spacing: 0.01em;
}

.courses-view-all-banner__btn:hover {
    background-color: var(--lime-accent);
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(74, 157, 111, 0.35);
}

.courses-view-all-banner__btn:active {
    transform: translateX(2px);
}

.courses-view-all-banner__btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.courses-view-all-banner__btn:hover svg {
    transform: translateX(4px);
}

/* Coming Soon Modal */
.cs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 7, 0.75);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cs-modal-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

.cs-modal-box {
    background: linear-gradient(160deg, #0f1a10 0%, #0a0e12 100%);
    border: 1px solid rgba(201, 163, 85, 0.3);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    transform: translateY(16px);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.cs-modal-overlay--visible .cs-modal-box {
    transform: translateY(0);
}

.cs-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(201, 163, 85, 0.1);
    border: 1px solid rgba(201, 163, 85, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a355;
}

.cs-modal-icon svg {
    width: 26px;
    height: 26px;
}

.cs-modal-box h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #c9a355;
    margin-bottom: 0.75rem;
}

.cs-modal-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.cs-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cs-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s ease;
}

.cs-modal-btn--primary {
    background-color: var(--light-green);
    color: var(--darker-bg);
}

.cs-modal-btn--primary:hover {
    background-color: var(--lime-accent);
}

.cs-modal-btn--secondary {
    background: transparent;
    border: 1px solid rgba(74, 157, 111, 0.35);
    color: var(--text-gray);
}

.cs-modal-btn--secondary:hover {
    border-color: var(--light-green);
    color: var(--light-green);
}

.cta-button--outline {
    background-color: transparent;
    border: 2px solid var(--light-green);
    color: var(--light-green);
}

.cta-button--outline:hover {
    background-color: var(--light-green);
    color: var(--dark-bg);
}

.cta-button--full {
    width: 100%;
    text-align: center;
}

/* =============================================
   COURSE DETAIL PAGE
   ============================================= */

.page-hero {
    margin-top: 65px;
    background-color: var(--dark-bg);
    background-image: var(--page-hero-overlay, linear-gradient(160deg, rgba(10,18,12,0.55) 0%, rgba(10,14,18,0.70) 100%));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 7rem 2rem 5rem;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
}

/* Snake pattern overlay – same aesthetic as main hero */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/snake-pattern.jpg');
    background-size: 350px 350px;
    background-repeat: repeat;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.5),
        0 12px 24px rgba(0, 0, 0, 0.6);
    color: var(--light-green);
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--lime-accent, #4ade80);
    max-width: 550px;
    margin: 0 auto;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.5);
}

.course-hero {
    margin-top: 65px;
    background-color: var(--dark-bg);
    background-image: linear-gradient(160deg, rgba(10,18,12,0.45) 0%, rgba(10,14,18,0.55) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 2rem 4rem;
    position: relative;
    isolation: isolate;
}

.course-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/snake-pattern.jpg');
    background-size: 350px 350px;
    background-repeat: repeat;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.course-hero-inner {
    position: relative;
    z-index: 1;
}

.course-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--lime-accent);
}

.course-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.course-hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.course-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.course-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--lime-accent);
}

.course-hero-meta .meta-item svg {
    width: 18px;
    height: 18px;
}

.course-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

.course-detail-main {
    min-width: 0;
}

.course-description {
    margin-bottom: 3rem;
}

.course-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.course-description p {
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.course-features {
    margin-bottom: 2rem;
}

.course-features h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: rgba(45, 95, 63, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--light-gray);
}

.feature-list li svg {
    width: 18px;
    height: 18px;
    color: var(--lime-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.course-detail-sidebar {
    position: sticky;
    top: 90px;
}

.course-info-card {
    background-color: rgba(45, 95, 63, 0.18);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
}

.course-info-card h3 {
    font-size: 1.1rem;
    color: var(--light-green);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.course-info-list {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(42, 58, 46, 0.5);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row dt {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.info-row dd {
    color: var(--light-gray);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

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

/* =============================================
   ALERTS & MESSAGES
   ============================================= */

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: 600;
}

.alert-success {
    background-color: rgba(74, 157, 111, 0.2);
    border-left: 4px solid var(--light-green);
    color: var(--lime-accent);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border-left: 4px solid #dc3545;
    color: #ff6b7a;
}

/* =============================================
   RESPONSIVE - TABLET LANDSCAPE (1024px and below)
   ============================================= */

@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }

    header nav ul {
        gap: 1.5rem;
    }

    .hero {
        padding: 8rem 1.5rem;
        min-height: 480px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-inner {
        padding: 0 1rem;
    }

    .about-container {
        gap: 3rem;
    }

    .testimonials-desktop { display: none; }
    .testimonials-mobile  { display: flex; }
    .testimonial-card {
        flex: 0 0 calc((100vw - 4rem) / 2);
    }

    .courses-grid,
    .courses-grid--home,
    .courses-grid--compact {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .course-card {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .course-detail-layout {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }

    .courses-view-all-banner__inner {
        padding: 1.5rem 2rem;
        gap: 1.5rem;
    }

    .courses-view-all-banner__title {
        font-size: 1.1rem;
    }

    .courses-view-all-banner__btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* =============================================
   RESPONSIVE - TABLET PORTRAIT (900px and below)
   ============================================= */

  @media (max-width: 900px) {
.contact-cards {
  gap: 1.25rem;
  }

.contact-card {
  flex: 0 0 240px;
  max-width: 240px;
  }

.instagram-link {
  flex-direction: row;
  justify-content: center;
        text-align: left;
        padding: 1.25rem 2rem;
        gap: 1rem;
    }

    .instagram-link small {
        display: none;
    }

    .ig-icon {
        width: 32px;
        height: 32px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .course-detail-layout {
        grid-template-columns: 1fr;
    }

    .course-detail-sidebar {
        position: static;
        order: -1;
    }

    .course-info-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* =============================================
   RESPONSIVE - MOBILE (768px and below)
   ============================================= */

@media (max-width: 768px) {
    /* Hide desktop nav, show hamburger */
    header nav,
    .lang-switcher {
        display: none;
    }

    .header-container {
        padding: 0 1.25rem;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .mobile-nav {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                    padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        padding: 0 1.25rem;
    }

    .mobile-nav.open {
        max-height: 500px;
        padding: 1rem 1.25rem 1.5rem;
    }

    .hero {
        margin-top: 58px;
        padding: 5rem 1.25rem;
        min-height: 420px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 0.85rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    .section-full {
        padding: 3.5rem 1.25rem;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    .section-title h2::after {
        width: 40px;
        bottom: -10px;
    }

    .about-text {
        font-size: 0.925rem;
    }

    .courses-view-all-banner__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.5rem 1.5rem;
        gap: 1rem;
    }

    .courses-view-all-banner__text {
        gap: 0.25rem;
    }

    .courses-view-all-banner__title {
        font-size: 1.1rem;
    }

    .courses-view-all-banner__btn {
        width: 100%;
        padding: 0.8rem 1.25rem;
    }

    .cs-modal-box {
        padding: 2rem 1.5rem;
    }

    .highlights {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .highlight-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.825rem;
    }

    .gallery-grid .gallery-item {
        flex: 0 0 calc(50% - 0.3rem);
        max-width: calc(50% - 0.3rem);
        border-radius: 6px;
    }

    .gallery-grid[data-count="1"] .gallery-item {
        flex: 0 0 90%;
        max-width: 90%;
    }

    .gallery-scroll-track .gallery-item {
        flex: 0 0 240px;
        width: 240px;
        max-width: 240px;
        border-radius: 6px;
    }

    .gallery-folder-tile {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }

    .courses-grid,
    .courses-grid--home,
    .courses-grid--compact {
        display: flex;
        flex-wrap: wrap;
        gap: 1.25rem;
        justify-content: center;
    }

    .course-card {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .course-card-content {
        padding: 1.25rem;
    }

    .course-card-content h3 {
        font-size: 1rem;
    }

    .page-hero,
    .course-hero {
        margin-top: 58px;
        padding: 4rem 1.25rem 3rem;
    }

    .page-hero h1,
    .course-hero h1 {
        font-size: 1.8rem;
    }

    .course-hero-desc {
        font-size: 0.95rem;
    }

    .course-hero-meta {
        gap: 1rem;
    }

    .course-description h2,
    .course-features h2 {
        font-size: 1.25rem;
    }

    .feature-list li {
        font-size: 0.875rem;
        padding: 0.65rem 0.85rem;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .gallery-overlay p {
        font-size: 0.75rem;
        display: none;
    }

    .testimonial-card {
        flex: 0 0 280px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .quote-icon {
        width: 24px;
        height: 24px;
    }

    .testimonial-content p {
        font-size: 0.9rem;
    }

    .author-image {
        width: 42px;
        height: 42px;
    }

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

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.65rem 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 0.9rem;
    }

    #site-footer p {
        font-size: 0.75rem;
    }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE (480px and below)
   ============================================= */

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
        min-height: 380px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 0.875rem;
    }

    .section-full {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .gallery-grid .gallery-item,
    .gallery-grid[data-count="2"] .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
        gap: 0.75rem;
    }

    .gallery-folder-tile {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-scroll-track .gallery-item {
        flex: 0 0 200px;
        width: 200px;
        max-width: 200px;
    }

    .contact-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =============================================
   GLOBAL IMAGE PROTECTION
   ============================================= */

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Re-enable pointer events only for elements that need them */
a img,
button img,
.gallery-item img,
.lightbox img {
    pointer-events: none;
}

a, button, .gallery-item, .lightbox-close {
    pointer-events: auto;
}

/* Allow email address text to be selected and copied */
.email-link span {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    cursor: text;
}

/* =============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================= */

@media (hover: none) and (pointer: coarse) {
    /* Disable hover-only effects on touch devices */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 71, 42, 0.95) 0%, transparent 100%);
        justify-content: flex-end;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .gallery-item:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    .testimonial-card:hover {
        transform: none;
    }

    .about-image:hover img {
        transform: none;
    }

    /* Larger touch targets */
    header nav a,
    .mobile-nav ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .cta-button,
    .submit-btn {
        min-height: 48px;
    }
}
