/* ========================================
   KRISON DANCE ACADEMY - Main Stylesheet
   ======================================== */

:root {
    /* Palette aligned with assets/images/logo.jpg (maroon, gold, red, cream) */
    --primary: #D4A23A;
    --primary-light: #FFD57A;
    --primary-dark: #9E7A28;
    --secondary: #B11F1F;
    --accent: #F6E7CD;
    --gold: #D4A23A;
    --dark: #2F0B0F;
    --dark-lighter: #3D1218;
    --dark-card: #4A151C;
    --text: #2A1810;
    --text-light: #5C4A42;
    --text-lighter: #8A7A72;
    --bg: #FFFFFF;
    --bg-light: #FAF6EF;
    --bg-cream: #FDF8F0;
    --border: #E8E0D5;
    --shadow: 0 4px 20px rgba(47, 11, 15, 0.08);
    --shadow-lg: 0 10px 40px rgba(47, 11, 15, 0.12);
    --shadow-glow: 0 0 30px rgba(212, 162, 58, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Dancing Script', cursive;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-soft: linear-gradient(135deg, var(--primary-light), var(--accent));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-lighter));
    /* Filled buttons: bright gold → deep maroon (logo palette) */
    --btn-gradient: linear-gradient(140deg, #F0C65C 0%, #D4A23A 28%, #B11F1F 62%, #4A151C 100%);
    --btn-gradient-hover: linear-gradient(140deg, #FFD57A 0%, #E0B038 30%, #C42830 65%, #2F0B0F 100%);
    --btn-text: #FDF8F0;
    --btn-shadow: 0 4px 18px rgba(74, 21, 28, 0.32), 0 2px 10px rgba(212, 162, 58, 0.22);
    --btn-shadow-hover: 0 8px 28px rgba(47, 11, 15, 0.38), 0 4px 14px rgba(212, 162, 58, 0.32);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader .dancer-silhouette {
    width: 60px;
    height: 60px;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader p {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.5rem;
    letter-spacing: 3px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== NAVIGATION ========== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

#main-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 500px;
    width: auto;
}

.logo-img {
    height: 140px;
    width: auto;
    max-height: 140px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo-img {
    height: 160px;
    width: auto;
    max-height: 160px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    position: relative;
}

#main-header:not(.scrolled) .nav-link {
    color: white;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

#main-header:not(.scrolled) .nav-link:hover,
#main-header:not(.scrolled) .nav-link.active {
    color: var(--accent);
}

.btn-portal {
    background: var(--btn-gradient);
    color: var(--btn-text) !important;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    box-shadow: var(--btn-shadow);
    border: 1px solid rgba(47, 11, 15, 0.2);
}

.btn-portal:hover {
    transform: translateY(-2px);
    background: var(--btn-gradient-hover);
    box-shadow: var(--btn-shadow-hover);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text);
    border-radius: 8px;
}

.dropdown-menu li a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

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

#main-header:not(.scrolled) .nav-toggle span {
    background: white;
}

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

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

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

/* ========== HERO ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    background-image: url('../assets/images/hero-background.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Same maroon-dark as footer (--dark #2F0B0F) behind nav/logo so the JPG matte blends */
    background:
        radial-gradient(ellipse 100% 65% at 8% 0%, rgba(47, 11, 15, 0.72), transparent 58%),
        linear-gradient(180deg, rgba(47, 11, 15, 0.4), rgba(47, 11, 15, 0.4)),
        linear-gradient(to top, rgba(47, 11, 15, 0.9) 0%, transparent 38%),
        linear-gradient(
            100deg,
            rgba(47, 11, 15, 0.98) 0%,
            rgba(47, 11, 15, 0.85) 30%,
            rgba(47, 11, 15, 0.52) 58%,
            rgba(47, 11, 15, 0.2) 88%
        ),
        radial-gradient(ellipse 95% 75% at 50% 42%, rgba(47, 11, 15, 0.36), transparent 70%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0.45;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite;
}

@keyframes float-particle {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 920px;
}

.hero-badge {
    display: inline-block;
    background: rgba(15, 6, 10, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Frosted “stage card” for headline + styles */
.hero-panel {
    max-width: 620px;
    margin: 0 auto 28px;
    padding: 28px 28px 26px;
    border-radius: var(--radius-lg);
    background: rgba(10, 4, 8, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 162, 58, 0.3);
    box-shadow:
        0 16px 56px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: fadeInUp 1s ease 0.15s both;
}

.hero-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.hero-ornament-line {
    width: 42px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 162, 58, 0.9), transparent);
    opacity: 0.9;
}

.hero-ornament-dot {
    font-size: 0.7rem;
    color: var(--primary-light);
    line-height: 1;
    text-shadow: 0 0 14px rgba(212, 162, 58, 0.55);
}

.hero-title {
    margin: 0 0 18px;
}

.hero-title .line1 {
    display: block;
    font-family: var(--font-script);
    font-size: clamp(1.85rem, 5vw, 2.6rem);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.03em;
    text-transform: none;
    margin-bottom: 4px;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.28s both;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-title .line2 {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 9vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    animation: fadeInUp 1s ease 0.4s both;
    filter: drop-shadow(0 4px 28px rgba(0, 0, 0, 0.5));
}

.hero-title .line2-word {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.52s both;
}

.hero-style-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    animation: fadeInUp 1s ease 0.58s both;
}

.hero-style-tags li {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(212, 162, 58, 0.45);
    background: rgba(0, 0, 0, 0.22);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
}

.hero-style-tags li:hover {
    border-color: rgba(255, 213, 122, 0.55);
    background: rgba(177, 31, 31, 0.15);
}

.hero-subnote {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.12em;
    font-weight: 500;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.66s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.82s both;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    letter-spacing: 2px;
    z-index: 2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    margin: 10px auto 0;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--btn-gradient);
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
    border: 1px solid rgba(47, 11, 15, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--btn-gradient-hover);
    box-shadow: var(--btn-shadow-hover);
    color: var(--btn-text);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid rgba(212, 162, 58, 0.55);
    box-shadow: 0 0 0 1px rgba(47, 11, 15, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(212, 162, 58, 0.22) 0%, rgba(177, 31, 31, 0.28) 100%);
    border-color: var(--primary-light);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark-card);
}

.btn-outline:hover {
    background: var(--btn-gradient);
    border-color: transparent;
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--bg-cream), #f0e8dc);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 162, 58, 0.06), rgba(177, 31, 31, 0.04));
}

.image-placeholder i {
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-style: italic;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

/* ========== DANCE STYLES ========== */
.styles-section {
    background: var(--bg-light);
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.style-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

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

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

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

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

.style-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: var(--gradient);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.style-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.icon-circle i {
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.style-card:hover .icon-circle {
    background: var(--gradient);
}

.style-card:hover .icon-circle i {
    -webkit-text-fill-color: white;
}

.style-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.style-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.style-features {
    text-align: left;
    margin-bottom: 20px;
}

.style-features li {
    padding: 4px 0;
    font-size: 0.82rem;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.style-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.7rem;
}

.style-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.style-link:hover {
    gap: 12px;
}

/* ========== WHY SECTION ========== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon i {
    font-size: 1.4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
    position: relative;
    background: var(--dark);
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(212, 162, 58, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(177, 31, 31, 0.12) 0%, transparent 50%);
}

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

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: white;
    margin-bottom: 8px;
}

.cta-subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.cta-content p:last-of-type {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ========== SCHEDULE ========== */
.schedule-section {
    background: var(--bg-light);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: white;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

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

.tab-btn.active {
    background: var(--btn-gradient);
    color: var(--btn-text);
    border-color: rgba(47, 11, 15, 0.2);
    box-shadow: var(--btn-shadow);
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.schedule-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.schedule-time {
    min-width: 140px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.schedule-info {
    flex: 1;
}

.schedule-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.schedule-info p {
    font-size: 0.82rem;
    color: var(--text-lighter);
}

.schedule-level {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.schedule-level.beginner { background: #E8F5E9; color: #2E7D32; }
.schedule-level.intermediate { background: #FFF3E0; color: #E65100; }
.schedule-level.advanced { background: #FCE4EC; color: #C62828; }
.schedule-level.all { background: #E8EAF6; color: #283593; }

.schedule-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    background: var(--dark);
    overflow: hidden;
}

.testimonials-section .section-tag {
    color: var(--accent);
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 1rem;
    margin-right: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

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

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

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

.testimonial-author span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--btn-gradient);
    border-color: rgba(212, 162, 58, 0.4);
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--btn-gradient);
    box-shadow: 0 2px 8px rgba(212, 162, 58, 0.35);
}

/* ========== QUICK LINKS ========== */
.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.quicklink-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}

.quicklink-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}

.ql-events {
    background: linear-gradient(135deg, #B11F1F, #D4A23A);
}

.ql-fitness {
    background: linear-gradient(135deg, #4A151C, #9E7A28);
}

.quicklink-card:hover .quicklink-bg {
    transform: scale(1.05);
}

.quicklink-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.quicklink-content i {
    font-size: 2rem;
    color: white;
    margin-bottom: 12px;
}

.quicklink-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 8px;
}

.quicklink-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.quicklink-arrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quicklink-card:hover .quicklink-arrow {
    gap: 14px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
}

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

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

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

.social-links a:hover {
    background: var(--btn-gradient);
    border-color: rgba(47, 11, 15, 0.25);
    color: var(--btn-text);
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--btn-gradient);
    color: var(--btn-text);
    border: 1px solid rgba(47, 11, 15, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--btn-shadow);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--btn-gradient-hover);
    box-shadow: var(--btn-shadow-hover);
}

/* ========== PAGE STYLES (for inner pages) ========== */
.page-hero {
    padding: 200px 0 80px;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(212, 162, 58, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(177, 31, 31, 0.08) 0%, transparent 50%);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 162, 58, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ========== PORTAL STYLES ========== */
.portal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.auth-card {
    max-width: 480px;
    margin: 60px auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-lighter);
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    font-family: var(--font-body);
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--btn-gradient);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Dashboard */
.dashboard {
    display: none;
}

.dashboard.active {
    display: block;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.dash-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

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

.dash-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
}

.dash-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.dash-card .value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.dash-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.enrollment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.enrollment-card:last-child {
    border-bottom: none;
}

.enrollment-info h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.enrollment-info p {
    font-size: 0.82rem;
    color: var(--text-lighter);
}

.enrollment-status {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active { background: #E8F5E9; color: #2E7D32; }
.status-pending { background: #FFF3E0; color: #E65100; }

/* Payment */
.payment-summary {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.payment-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.payment-line.total {
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.card-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

    .styles-grid .style-card {
        max-width: none;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 180px 24px 24px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text) !important;
        padding: 12px 16px;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .hero {
        background-position: center center;
    }

    .hero-panel {
        padding: 22px 20px 22px;
        margin-bottom: 22px;
    }

    .hero-title .line2 {
        font-size: clamp(2.15rem, 10vw, 3.2rem);
    }

    .section {
        padding: 60px 0;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .schedule-item {
        flex-wrap: wrap;
    }

    .schedule-time {
        min-width: auto;
        width: 100%;
    }

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

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

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

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

    .auth-card {
        padding: 32px 24px;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    .hero-panel {
        padding: 18px 14px 18px;
    }

    .hero-title .line2 {
        font-size: clamp(1.9rem, 11vw, 2.45rem);
    }

    .hero-subnote {
        letter-spacing: 0.08em;
        font-size: 0.8rem;
    }

    .hero-style-tags li {
        font-size: 0.74rem;
        padding: 7px 14px;
    }

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

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 32px 24px;
    }
}

/* ========== UTILITY ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Instructor cards */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.instructor-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.instructor-img {
    height: 280px;
    background: linear-gradient(135deg, var(--bg-cream), #e8d5f5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-img .avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.instructor-info {
    padding: 24px;
    text-align: center;
}

.instructor-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.instructor-info .specialty {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.instructor-info p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.7;
}

.instructor-grid.single-instructor {
    max-width: 480px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

/* Class offerings & pricing (classes page) */
.class-offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.class-offering-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.class-offering-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 162, 58, 0.35);
}

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

.class-offering-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.class-offering-card .class-age {
    font-size: 0.88rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.class-offering-card .trial-note {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: rgba(177, 31, 31, 0.06);
    border-radius: var(--radius);
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
}

.pricing-option {
    padding: 16px 14px;
    background: var(--bg-cream);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.pricing-option strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.pricing-option .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.pricing-option .price-detail {
    display: block;
    font-size: 0.78rem;
    color: var(--text-lighter);
    margin-top: 4px;
}

.class-offering-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.classes-intro-banner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
    padding: 24px 28px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.classes-intro-banner p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
}

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


/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    border: 2px dashed var(--border);
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--text-lighter);
    margin-right: 12px;
}

.map-placeholder span {
    color: var(--text-lighter);
}

/* Admin */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.admin-table th {
    background: var(--bg-cream);
    font-weight: 600;
    color: var(--dark);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table code {
    font-size: 0.75rem;
}

.btn-admin-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(47, 11, 15, 0.2);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--btn-gradient);
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
    transition: var(--transition);
}

.btn-admin-sm:hover:not(:disabled) {
    background: var(--btn-gradient-hover);
    box-shadow: var(--btn-shadow-hover);
}

.btn-admin-sm.outline {
    background: transparent;
    border: 2px solid var(--dark-card);
    color: var(--dark);
    box-shadow: none;
}

.btn-admin-sm.outline:hover {
    background: var(--btn-gradient);
    border-color: transparent;
    color: var(--btn-text);
    box-shadow: var(--btn-shadow);
}

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

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