/* ==========================================================================
   Base
   ========================================================================== */

body {
    background: #fafafa;
    color: #222;
    font-family: "Poppins", sans-serif;
}


/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav-link {
    position: relative;
    font-weight: 500;
    margin-left: 18px;
    color: #2b2b2b;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #212529;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: #000;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #000;
    font-weight: 600;
}

.btn-dark {
    border-radius: 40px;
    padding: 12px 24px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-dark:hover {
    transform: translateY(-1px);
    background-color: #000;
}


/* ==========================================================================
   Hero / Sections
   ========================================================================== */

.hero {
    padding: 120px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
}


/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #111 !important;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-heading {
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: #ffffff;
    opacity: 0.6;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   Responsive tweaks
   ========================================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }
    .section-title {
        font-size: 30px;
    }
    .nav-link {
        margin-left: 0;
    }
}


/* ==========================================================================
   Home Page Extras
   ========================================================================== */

.hero-img {
    max-height: 460px;
    object-fit: cover;
    width: 100%;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 8px;
}

.package-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.instructor-card:hover {
    transform: translateY(-6px);
}

.branch-card {
    border-left: 3px solid #212529;
}

.branch-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    border-radius: 50%;
    font-size: 1.2rem;
}

.branch-phone {
    color: #212529;
    text-decoration: none;
    font-weight: 500;
}

.branch-phone:hover {
    text-decoration: underline;
}

.cta-section {
    background: linear-gradient(135deg, #111 0%, #2b2b2b 100%);
}

.instructor-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    font-size: 4rem;
    color: #ccc;
}


/* ==========================================================================
   Schedule Page
   ========================================================================== */

.filter-pill {
    border-radius: 30px;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid #ddd;
}

.date-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
}

.date-nav-btn:hover {
    background: #f1f1f1;
}

.date-pill-wrap {
    flex: 1;
}

.date-pill {
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.date-pill.active {
    background: #212529;
    border-color: #212529;
    color: #fff;
    font-weight: 700;
}

.date-pill-wrap:hover .date-pill:not(.active) {
    border-color: #212529;
}

.class-card {
    border-radius: 14px;
    transition: box-shadow 0.2s ease;
}

.class-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1) !important;
}

.instructor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.instructor-avatar-placeholder {
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.2rem;
}

.instructor-name {
    color: #b8860b;
    font-weight: 500;
}

@media (max-width: 767px) {
    .date-pill {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

.package-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}

.package-features li {
    padding: 4px 0;
    color: #444;
}

.membership-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
}

.per-class-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}