html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #1a1a1a;
    --gold: #c9a961;
    --dark-gold: #a88d4f;
    --cream: #f5f1e8;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: var(--primary-black);
    background: var(--cream);
}

/* Responsive Typography */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
}

p {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}


/* ==========================================
   Navigation
   ========================================== */
nav {
    position: fixed;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    background: var(--primary-black);
    border: 3px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}

.logo-text {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100svh;
    width: 100%;

    background:
        linear-gradient(rgba(26, 26, 26, 0.4),
            rgba(26, 26, 26, 0.5)),
        url('../images/home_bg.jpeg');

    background-size: cover;
    background-position: center center;
    /* IMPORTANT */
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* MOBILE FIX */

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {

    .hero {
        background:
            linear-gradient(rgba(26, 26, 26, 0.4),
                rgba(26, 26, 26, 0.4)),
            url('../images/home_mob.jpeg');

        background-size: cover;
        /* Fill screen */
        background-position: center 25%;
        /* Show body */
        background-repeat: no-repeat;

        min-height: 100vh;
        height: 100vh;
    }

}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 26, 26, 0.4) 100%);
}

.hero-content {
    text-align: center;
    color: var(--cream);
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    background: var(--primary-black);
    border: 5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(201, 169, 97, 0.5);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-logo-inner {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold);
    font-weight: 700;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--cream);
    letter-spacing: 8px;
    font-weight: 300;
    text-transform: uppercase;
}

.hero-tagline span {
    color: var(--gold);
    font-weight: 600;
}

/* ==========================================
   Buttons
   ========================================== */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

button,
.btn {
    min-height: 48px;
    padding: 0.8rem 1.5rem;
}

.btn {
    padding: 1.2rem 3rem;
    border: none;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-black);
    box-shadow: 0 5px 25px rgba(201, 169, 97, 0.4);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-5px);
}

/* ==========================================
   Section Styling
   ========================================== */
section {
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    section {
        padding: 2.5rem 1rem;
    }
}



.section-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-black);
    position: relative;
    font-weight: 700;
    letter-spacing: 3px;
}

@media (max-width: 768px) {

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 2rem;
    }

}

.section-title::before {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}

.section-title span {
    color: var(--gold);
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--white);
    position: relative;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--cream);
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ==========================================
   Programs Section
   ========================================== */
.programs {
    background: var(--primary-black);
    color: var(--cream);
}

.programs .section-title {
    color: var(--gold);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 2.5rem;
    width: 100%;
}

.program-card {
    background: rgba(201, 169, 97, 0.1);
    padding: 2.5rem;
    border: 2px solid var(--gold);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(201, 169, 97, 0.2));
    transition: top 0.4s;
}

.program-card:hover::before {
    top: 0;
}

.program-card:hover {
    transform: translateY(-15px);
    border-color: var(--dark-gold);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.program-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.program-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.program-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.program-card li:before {
    content: "⚡";
    color: var(--gold);
    font-weight: bold;
    margin-right: 10px;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery {
    background: var(--cream);
}

.achievements-gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-page {
    display: none;
}

.gallery-page.active {
    display: grid;
}

.gallery-item {
    height: 300px;
    border: 3px solid var(--gold);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s;
}

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

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

.gallery-item:hover {
    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.5);
    transform: translateY(-10px);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.95));
    color: var(--gold);
    padding: 2rem 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item.show-title .gallery-overlay {
    transform: translateY(0);
}

/* ==========================================
   Instructor Section
   ========================================== */
.instructor {
    background: var(--white);
}

.instructor-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.instructor-image {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    border: 5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-shadow: 0 10px 40px rgba(201, 169, 97, 0.4);
}

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

.instructor-image .hover-name {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
    color: var(--gold);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.6rem;
    opacity: 0;
    overflow: hidden;

    transition: opacity 0.3s ease;
    z-index: 3;

}

/* Shine Sweep */
.instructor-image .hover-name::before {
    content: '';
    position: absolute;
    top: -120%;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(transparent,
            rgba(201, 169, 97, 0.45),
            transparent);

    transition: top 0.45s ease;
}

/* Activate Hover */
.instructor-image:hover .hover-name {
    opacity: 1;
}

.instructor-image:hover .hover-name::before {
    top: 0;
}



.instructor-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.instructor-title {
    font-size: 1.2rem;
    color: var(--primary-black);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.credentials {
    background: var(--cream);
    padding: 2rem;
    border-left: 4px solid var(--gold);
    margin-bottom: 2rem;
}

.credentials h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
}

.credentials ul {
    list-style: none;
    padding: 0;
}

.credentials li {
    padding: 0.5rem 0;
    color: var(--primary-black);
}

.credentials li:before {
    content: "🥋";
    margin-right: 10px;
}

/* ================================
   Other Instructors Section
================================ */

.other-instructors {
    padding: 4rem 1rem;
    text-align: center;
}

.sub-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
}

.instructor-slider-wrapper {
    width: 100%;
    max-width: 1000px;

    margin: auto;
    padding-left: 60px;
    padding-right: 60px;

    overflow: hidden;
    position: relative;
}


.mini-instructor {
    min-width: 10%;
    /* 100 / 5 = 20% */
    flex-shrink: 0;
    scroll-snap-align: start;
    text-align: center;
}


.instructor-slider {
    display: flex;
    gap: 20px;

    scroll-behavior: smooth;
    overflow-x: auto;

    padding: 0;

    scroll-snap-type: x mandatory;
}


.instructor-slider::-webkit-scrollbar {
    display: none;
}

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



/* ===================================
   Instructor Gold Shine Hover (FINAL)
=================================== */

.hover-name {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
    color: var(--gold);

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;

    opacity: 0;
    overflow: hidden;

    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Shine Sweep */
.hover-name::before {
    content: '';
    position: absolute;
    top: -120%;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(transparent,
            rgba(201, 169, 97, 0.45),
            transparent);

    transition: top 0.45s ease;
}

/* Hover Activate */
.mini-img:hover .hover-name {
    opacity: 1;
}

.mini-img:hover .hover-name::before {
    top: 0;
}

.mini-name {
    margin-top: 0.8rem;
    font-weight: 600;
}

.mini-belt {
    font-size: 0.9rem;
    color: gray;
}

/* Bigger Instructor Image */
.mini-img {
    position: relative;
    width: 150px;
    height: 150px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.4);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    border: none;
    color: var(--primary-black);
    font-size: 1.6rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    transition: 0.3s;
    z-index: 10;
}


/* Left Arrow */
.left-btn {
    left: 10px;
}

/* Right Arrow */
.right-btn {
    right: 10px;
}

/* Hover */
.slider-btn:hover {
    background: var(--dark-gold);
    transform: scale(1.1);
}

/* Hidden */
.slider-btn.disabled {
    opacity: 0;
    pointer-events: none;
}



/* ===================================
   Responsive Instructor Slider
=================================== */

/* Desktop (Default: 4 cards) */
/* Already set above */


/* Tablet */
@media (max-width: 1024px) {

    .instructor-slider-wrapper {
        width: 720px;
        max-width: 720px;
    }

    .mini-instructor {
        min-width: 210px;
        max-width: 210px;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .instructor-slider-wrapper {
        width: 320px;
        max-width: 320px;

        padding-left: 40px;
        padding-right: 40px;
    }

    .mini-instructor {
        min-width: 240px;
        max-width: 240px;
    }

    .instructor-slider {
        gap: 10px;
    }

}


/* ==========================================
   Admissions Banner
   ========================================== */
.admissions-banner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--primary-black);
    text-align: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.admissions-banner::before {
    content: '拳';
    position: absolute;
    font-size: 25rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-weight: 700;

    pointer-events: none;
}

.admissions-banner button {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.admissions-banner h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: 3px;
}

.admissions-text {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.limited-seats {
    background: var(--primary-black);
    color: var(--gold);
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0;
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
    border: 3px solid var(--gold);
}

.admissions-banner .btn {
    background: var(--primary-black);
    color: var(--gold);
    border: 2px solid var(--primary-black);

    padding: 1rem 3.2rem;
    border-radius: 50px;

    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;

    transition: all 0.3s ease;

    display: inline-block;
    margin-top: 1.5rem;

    position: relative;
    z-index: 10;
}

.admissions-banner .btn:hover {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);

    transform: translateY(-3px);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(201, 169, 97, 0.8);
    }
}

/* ==========================================
    Contact Section
    ========================================== */
.contact {
    background: var(--primary-black);
    color: var(--cream);
}

.contact .section-title {
    color: var(--gold);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(201, 169, 97, 0.1);
    padding: 2rem;
    border: 2px solid var(--gold);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(201, 169, 97, 0.2);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.contact-details h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid var(--gold);
    background-color: rgba(245, 241, 232, 0.1);
    color: var(--cream);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 241, 232, 0.55);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background-color: rgba(245, 241, 232, 0.16);
    border-color: var(--dark-gold);
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill,
.contact-form textarea:-webkit-autofill:hover,
.contact-form textarea:-webkit-autofill:focus,
.contact-form select:-webkit-autofill,
.contact-form select:-webkit-autofill:hover,
.contact-form select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--cream);
    caret-color: var(--cream);
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 1000px #2b2b28 inset;
    transition: background-color 9999s ease-in-out 0s;
}

.contact-form textarea {
    min-height: 100px;
    min-width: 265px;
    resize: vertical;
}

/* ==========================================
    Footer
    ========================================== */
footer {
    background: #0d0d0d;
    color: var(--cream);
    text-align: center;
    padding: 3rem 5%;
    border-top: 3px solid var(--gold);
    margin-top: 0;
    padding-top: 2rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-tagline {
    margin-bottom: 2rem;
    letter-spacing: 4px;
    font-size: 0.9rem;
}

/* SOCIAL ICONS */

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 2px solid var(--gold);

    color: var(--gold);

    text-decoration: none;

    background: rgba(201, 169, 97, 0.08);

    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--primary-black);

    transform: translateY(-5px) scale(1.08);

    box-shadow: 0 0 18px rgba(201, 169, 97, 0.5);
}

.footer-copy {
    margin-top: 1.5rem;
    font-size: 1rem;
}

.footer-certification {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-logo {
    text-shadow: 0 0 10px rgba(201, 169, 97, 0.3);
}

@media (max-width:768px) {

    footer {
        padding: 0.8rem 1rem 3.8rem !important;
        padding-bottom: 3rem !important;

    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* LOGO */
    .footer-logo {
        font-size: 1.2rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.1;
    }

    /* ORIGINAL TAGLINE */
    .footer-tagline {
        display: block !important;
        font-size: 0.6rem !important;
        letter-spacing: 1px;
        margin-bottom: 0.45rem !important;
        color: rgba(201, 169, 97, 0.85);
    }

    /* move instagram beside logo */
    .footer-socials {
        position: absolute;
        right: 15%;
        margin-top: -2.7rem !important;
    }

    /* hide all */
    .footer-socials a {
        display: none !important;
    }

    /* show only instagram */
    .footer-socials a:nth-child(3) {
        display: flex !important;

        width: 28px;
        height: 28px;

        font-size: 0.72rem;
    }

    /* COPYRIGHT */
    .footer-copy {
        font-size: 0.68rem !important;
        line-height: 1.3;
        margin-bottom: 0.2rem !important;
    }

    /* AFFILIATION */
    .footer-certification {
        font-size: 0.62rem !important;
        line-height: 1.3;
        opacity: 0.7;
    }

    /* REMOVE EXTRA SPACE */
    .footer-logo,
    .footer-tagline,
    .footer-copy,
    .footer-certification {
        margin-top: 0 !important;
    }

    /* BOTTOM BAR */
    .mobile-footer-bar {
        height: 52px;
    }

    .mobile-footer-bar a {
        font-size: 0.78rem;
    }
}

/* ==========================================
    Scroll Animations
    ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
    Responsive Design
    ========================================== */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

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

    .hero-tagline {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-grid,
    .instructor-container {
        grid-template-columns: 1fr;
    }

    .mission-values {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .admissions-banner h2 {
        font-size: 2rem;
    }
}

/* =====================================
   FINAL MOBILE HERO FIX
===================================== */

@media (max-width: 600px) {

    .hero {
        min-height: 100svh;
        /* real mobile height */
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .hero-content {
        padding: 1.5rem;
        text-align: center !important;
    }

    .hero-logo {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }

    .hero-logo-inner {
        font-size: 1.7rem;
    }

    .hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.75rem;
    }

    .cta-buttons {
        margin-top: 1rem;
    }
}


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

@media (max-width: 968px) {

    nav {
        padding: 0.7rem 4%;
    }

    .nav-logo {
        width: 45px !important;
        height: 45px !important;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* =====================================
   MOBILE INSTRUCTOR FIX
===================================== */

@media (max-width: 600px) {

    .instructor-container {
        gap: 2rem;
        text-align: center;
    }

    .instructor-image {
        width: 220px;
        height: 220px;
        margin: auto;
    }

    .instructor-info h3 {
        font-size: 1.8rem;
    }

    .instructor-title {
        font-size: 1rem;
    }

    .credentials {
        padding: 1.5rem;
    }
}

/* =====================================
   MOBILE PROGRAMS FIX
===================================== */

@media (max-width: 600px) {

    .program-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card {
        padding: 1.5rem;
    }

    .program-card h3 {
        font-size: 1.3rem;
    }
}

/* =====================================
   MOBILE GALLERY FIX
===================================== */

@media (max-width: 600px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 240px;
    }
}

/* =====================================
   MOBILE CONTACT FIX
===================================== */

@media (max-width: 600px) {

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

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* ===================================
   Mobile Gallery Slider
=================================== */

@media (max-width: 768px) {

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 1rem 0;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-item {
        min-width: 85%;
        height: 220px;

        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

}

/* ===================================
   Programs Slider - Mobile Only
=================================== */

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

@media (max-width: 768px) {


    .program-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;

        overflow-x: auto;
        overflow-y: hidden;

        gap: 1rem;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        padding: 1rem 0;
    }


    .program-card {
        min-width: 80vw;
        max-width: 80vw;

        flex-shrink: 0;

        scroll-snap-align: center;

        padding: 1.2rem;
    }

    .program-grid::-webkit-scrollbar {
        display: none;
    }


    .program-card h3 {
        font-size: 1.3rem;
    }

    .program-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .program-card li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .program-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    .program-card h3 {
        font-size: 1.2rem;
    }

    .program-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .program-card li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .program-icon {
        font-size: 2rem;
    }

}

/* ===================================
   FORCE About Section Mobile Fix
=================================== */

@media screen and (max-width: 768px) {

    /* Reduce Section Padding */
    section.about {
        padding: 2.5rem 1.2rem !important;
    }

    /* Text Smaller */
    .about-content {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .about-content p {
        margin-bottom: 0.8rem !important;
    }

    /* Stack Cards + Reduce Size */
    .mission-values {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1.5rem !important;
    }

    .value-card {
        padding: 1rem !important;
        border-width: 1.5px !important;
    }

    .value-icon {
        font-size: 2rem !important;
        margin-bottom: 0.4rem !important;
    }

    .value-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .value-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }

}

/* ===============================
   MOBILE CONTACT FORCE FIX
================================ */

@media only screen and (max-width: 768px) {

    /* Section spacing */
    .contact {
        padding: 2rem 1rem !important;
    }

    /* Grid → Column */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
    }

    /* Info box */
    .contact-item {
        padding: 1rem !important;
        border: 1px solid var(--gold) !important;
        gap: 0.7rem !important;
    }

    .contact-icon {
        font-size: 1.6rem !important;
    }

    .contact-details h4 {
        font-size: 1rem !important;
    }

    .contact-details p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    /* Form */
    .contact-form {
        margin-top: 1rem !important;
        gap: 1rem !important;
    }

    .contact-form h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
    }


    /* Inputs */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }

    /* Submit Button */
    .contact-form button {
        padding: 0.9rem !important;
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }

    /* Remove textarea min width */
    .contact-form textarea {
        min-width: 100% !important;
    }

    /* Reduce section title size */
    .contact .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }

    /* Center everything nicely */
    .contact-info,
    .contact-form {
        width: 100% !important;
    }
}

/* ===============================
   UNIFORM CONTACT FORM FIELDS
================================ */

.contact-form form {
    width: 100%;
}

/* Make all fields same width */
.contact-form input,
.contact-form select,
.contact-form textarea,
.contact-form button {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 6px;
}

/* Desktop + Mobile: Equal height inputs */
.contact-form input,
.contact-form select {
    height: 48px;
}

/* Textarea controlled height */
.contact-form textarea {
    height: 90px;
    resize: none;
}

/* Button height same */
.contact-form button {
    height: 48px;
}

/* Reduce gap between boxes */
.contact-form {
    gap: 0.8rem !important;
}

/* PERFECT Select Program Fix */

.contact-form select {
    width: 100%;

    height: auto !important;
    /* let it grow naturally */
    min-height: 48px;
    /* same as inputs */

    padding: 0.8rem 3rem 0.8rem 1.2rem;
    /* balanced padding */

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='gold' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
}


/* Dropdown list items */
.contact-form select option {
    color: var(--cream);
    background: var(--primary-black);
}

/* ===================================
   MOBILE TOUCH EFFECTS (HOVER FIX)
=================================== */

@media (hover: none) and (pointer: coarse) {

    /* Programs */
    .program-card:active,
    .program-card:focus {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
    }

    /* Gallery */
    .gallery-item:active img,
    .gallery-item:focus img {
        transform: scale(1.2);
    }

    .gallery-item:active .gallery-overlay,
    .gallery-item:focus .gallery-overlay {
        transform: translateY(0);
    }

    /* Instructor main image */
    .instructor-image:active .hover-name,
    .instructor-image:focus .hover-name {
        opacity: 1;
    }

    .instructor-image:active .hover-name::before,
    .instructor-image:focus .hover-name::before {
        top: 0;
    }

    /* Mini instructors */
    .mini-img:active .hover-name,
    .mini-img:focus .hover-name {
        opacity: 1;
    }

    .mini-img:active .hover-name::before,
    .mini-img:focus .hover-name::before {
        top: 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

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

/* ===============================
   FINAL MOBILE NAV MENU
================================ */

.mobile-nav {
    display: none;

    position: fixed;
    top: 75px;
    right: 12px;

    width: 210px;

    background: rgba(15, 15, 15, 0.96);
    backdrop-filter: blur(10px);

    border: 1.5px solid var(--gold);
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.45);

    flex-direction: column;
    overflow: hidden;

    z-index: 9999;

    animation: menuPop 0.25s ease;
}

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


.mobile-nav a {
    padding: 0.7rem 1rem;

    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 1.5px;

    color: var(--gold);
    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.25s ease;
}

.mobile-nav a:hover {
    background: rgba(201, 169, 97, 0.15);
    padding-left: 1.3rem;
}

.hamburger {
    display: none;
    font-size: 1.7rem;

    color: var(--gold);

    background: var(--primary-black);
    border: 1.5px solid var(--gold);

    padding: 5px 9px;
    border-radius: 6px;

    cursor: pointer;
    user-select: none;

    transition: 0.25s;
}

.hamburger:hover {
    background: rgba(201, 169, 97, 0.15);
}

@keyframes menuPop {
    from {
        transform: scale(0.9) translateY(-8px);
        opacity: 0;
    }

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


/* ===============================
   MOBILE ONLY
================================ */

@media (max-width: 768px) {


    .nav-links {
        display: none;
    }


    .hamburger {
        display: block;
    }
}

/* ===============================
   FIXED MOBILE FOOTER BAR
================================ */

.mobile-footer-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-footer-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #d4af37, #c9a961, #b8944d);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        z-index: 9999;
    }

    .mobile-footer-bar a {
        color: #111;
        text-decoration: none;
        font-family: 'Cinzel', serif;
        font-size: 0.8rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: 0.2s;
    }

    .mobile-footer-bar a:active,
    .mobile-footer-bar a:hover {
        transform: scale(1.1);
    }

    body {
        padding-bottom: 55px;
    }
}

@media (min-width: 769px) {
    .mobile-footer-bar {
        display: none;
    }
}

.mobile-footer-bar i {
    font-size: 1rem;
}

/* Hide by default */
.swipe-hint {
    display: none !important;
}

/* Sections relative */
#programs,
#gallery {
    position: relative;
}

/* Mobile only */
@media (max-width: 768px) {

    #programs .swipe-hint,
    #gallery .swipe-hint {
        display: block !important;
    }

    .swipe-hint {
        position: absolute;
        top: 63.5%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: 600;
        color: #d4af37;
        pointer-events: none;
        z-index: 10;
        opacity: 0.8;
        animation: swipeMove 1.2s infinite;

        /* Default (right side) */
        right: 4px;
        left: auto;
    }

    /* When on left */
    .swipe-hint.left-side {
        left: 4px;
        right: auto;
        animation: swipeMoveLeft 1.2s infinite;
    }

    /* Right animation */
    @keyframes swipeMove {
        0% {
            transform: translate(0, -50%);
            opacity: 0.3;
        }

        50% {
            transform: translate(-4px, -50%);
            opacity: 1;
        }

        100% {
            transform: translate(0, -50%);
            opacity: 0.3;
        }
    }

    /* Left animation */
    @keyframes swipeMoveLeft {
        0% {
            transform: translate(0, -50%);
            opacity: 0.3;
        }

        50% {
            transform: translate(4px, -50%);
            opacity: 1;
        }

        100% {
            transform: translate(0, -50%);
            opacity: 0.3;
        }
    }

    /* Horizontal scroll */
    .program-grid,
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
    }

    .program-card,
    .gallery-item {
        min-width: 260px;
        flex-shrink: 0;
    }

    .program-grid::-webkit-scrollbar,
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 55px;
}

.achievement-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.achievement-slider::-webkit-scrollbar {
    display: none;
}

/* Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #c8a45a;
    border: none;
    color: var(--primary-black);
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    transition:
        opacity 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--dark-gold);
}

.gallery-btn.disabled {
    opacity: 0;
    pointer-events: none;
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

.achievement-slider .gallery-item {
    min-width: 320px;
    /* IMPORTANT */
    flex-shrink: 0;
    background: var(--cream);
}

#achievements .gallery-item img {
    object-fit: cover;
    object-position: center center;
}

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

#gallery .gallery-page {
    display: none;
}

#gallery .gallery-page.active {
    display: grid;
}

@media (max-width: 768px) {

    #gallery .gallery-btn,
    #achievements .gallery-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        padding: 0;
        font-size: 0.85rem;
        line-height: 1;
        box-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
    }

    #gallery .gallery-wrapper {
        padding: 0 42px 10px;
    }

    #gallery .main-gallery-track {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #gallery .main-gallery-track::-webkit-scrollbar {
        display: none;
    }

    #gallery .gallery-page,
    #gallery .gallery-page.active {
        display: contents;
    }

    #gallery .gallery-item {
        flex: 0 0 calc(100vw - 110px);
        min-width: calc(100vw - 110px);
        aspect-ratio: 4 / 3;
        height: auto;
        align-self: flex-start;
        scroll-snap-align: center;
        background: transparent;
    }

    #gallery .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    #gallery .gallery-item:active img,
    #gallery .gallery-item:focus img {
        transform: none;
    }

    #achievements .gallery-wrapper {
        padding: 0 42px;
    }

    #achievements .achievement-slider {
        gap: 14px;
        align-items: center;
    }

    #achievements .achievement-slider .gallery-item {
        flex: 0 0 calc(100vw - 110px);
        min-width: calc(100vw - 110px);
        aspect-ratio: 4 / 3;
        height: auto;
        align-self: center;
        background: transparent;
        scroll-snap-align: center;
    }

    #achievements .achievement-slider .gallery-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    #achievements .achievement-slider .gallery-item.full-photo {
        background: transparent;
    }

    #achievements .achievement-slider .gallery-item.full-photo img {
        object-fit: cover;
        object-position: center top;
    }

    #achievements .achievement-slider .gallery-item:active img,
    #achievements .achievement-slider .gallery-item:focus img {
        transform: none;
    }
}
html {
    scroll-behavior: smooth;
}   

.instructor-slider-wrapper{
    position:relative;
}

@media (max-width:768px){

    .slider-btn{

        width:28px !important;
        height:28px !important;

        min-width:28px !important;
        min-height:28px !important;

        border-radius:50% !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;

        font-size:0.85rem !important;

        position:absolute !important;

        top:40% !important;

        margin:0 !important;
        padding:0 !important;

        transform:none !important;
    }

    .left-btn{
        left:6px !important;
    }

    .right-btn{
        right:6px !important;
    }

}
