/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

/* Ensure Font Awesome 7 Pro+ icons display correctly */
i.fa-solid,
i.fa-brands,
i.fa-regular,
i.fa-light,
i.fa-thin,
i.fa-duotone,
i.fa-sharp-solid,
i.fa-sharp-regular,
i.fa-sharp-light,
i.fas,
i.fab,
i.far,
i.fal,
i.fat,
i.fad,
i.fass,
i.fasr,
i.fasl,
.fa-solid,
.fa-brands,
.fa-regular,
.fa-light,
.fa-thin,
.fa-duotone,
.fa-sharp-solid,
.fa-sharp-regular,
.fa-sharp-light,
.fas,
.fab,
.far,
.fal,
.fat,
.fad,
.fass,
.fasr,
.fasl {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 6 Pro", "Font Awesome 7 Free", "Font Awesome 7 Brands", "Font Awesome 7 Pro", "Font Awesome 7 Pro Solid", "Font Awesome 7 Pro Regular", "Font Awesome 7 Pro Light", "Font Awesome 7 Pro Thin", "Font Awesome 7 Pro Duotone", "Font Awesome 7 Pro Sharp Solid", "Font Awesome 7 Pro Sharp Regular", "Font Awesome 7 Pro Sharp Light" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

i.fa-brands,
i.fab,
.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 7 Brands" !important;
    font-weight: 400 !important;
}

.fa-regular,
.far {
    font-weight: 400;
}

.fa-light,
.fal {
    font-weight: 300;
}

.fa-thin,
.fat {
    font-weight: 100;
}

.fa-duotone,
.fad {
    font-weight: 900;
    position: relative;
}

.fa-duotone::before,
.fad::before {
    opacity: 1;
}

.fa-duotone::after,
.fad::after {
    opacity: 0.4;
}

.fa-sharp-solid,
.fass {
    font-weight: 900;
}

.fa-sharp-regular,
.fasr {
    font-weight: 400;
}

.fa-sharp-light,
.fasl {
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    border-bottom: 2px solid #fff;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    /* Logo is already black and white, no filter needed */
}

.nav-logo h2 {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 8px 16px;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(252, 165, 3, 0.8);
    font-weight: 700;
    transform: scale(1.05);
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    color: #fff;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    opacity: 0.1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #fca503;
    color: #fff;
    border: 2px solid #fca503;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* About Section */
.about {
    background: #fff;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 2rem;
    color: #333;
    line-height: 1.8;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
}

.feature-list i {
    color: #000;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: #000;
    border: 2px solid #000;
    color: #fff;
}

.stat h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.stat p {
    color: #ccc;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Category Filter Buttons */
.category-filter-btn {
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    background: #fca503 !important;
    color: #fff !important;
    border-color: #fca503 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-filter-btn.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Search Input */
#classSearch:focus {
    outline: none;
    border-color: #fca503;
    box-shadow: 0 0 0 3px rgba(252, 165, 3, 0.2);
}

.class-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid #000;
    text-align: center;
    transition: all 0.3s ease;
}

.class-card h3,
.class-card p,
.class-card .class-icon,
.class-card .class-icon i,
.class-card .class-details,
.class-card .class-details li,
.class-card .curriculum-badge,
.class-card .btn-primary {
    transition: all 0.3s ease;
}

.class-card:hover {
    background: #f5f5f5;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: #fca503;
}

.class-card:hover h3 {
    color: #000;
}

.class-card:hover p {
    color: #333;
}

.class-card:hover .class-icon {
    background: #fca503;
    border-color: #fca503;
}

.class-card:hover .class-icon i {
    color: #fff;
}

.class-card:hover .class-details {
    background: #e0e0e0;
    border-color: #fca503;
}

.class-card:hover .class-details li {
    color: #000;
}

.class-card:hover .curriculum-badge {
    background: #fca503;
    color: #fff;
    border-color: #fca503;
}

.class-card:hover .btn-primary {
    background: #fca503;
    color: #fff;
    border-color: #fca503;
}

.class-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.class-icon i {
    font-size: 2rem;
    color: #fff;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-card p {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-details {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f0f0f0;
    border: 1px solid #000;
}

.class-details li {
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.curriculum-badge {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: 1px solid #000;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0;
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Instructors Section */
.instructors {
    background: #000;
    color: #fff;
}

.instructors .section-header h2 {
    color: #fff;
}

.instructors .section-header p {
    color: #fff;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.instructor-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid #fff;
    text-align: center;
    color: #000;
}

.instructor-image {
    width: 120px;
    height: 120px;
    background: #000;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-image i {
    font-size: 3rem;
    color: #fff;
}

.instructor-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-card h4 {
    color: #000;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instructor-card p {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.instructor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.credential {
    background: #000;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border: 1px solid #000;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Facilities Section */
.facilities-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid #000;
    text-align: center;
}

.facility-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.facility-icon i {
    font-size: 2rem;
    color: #fff;
}

.facility-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.facility-card p {
    color: #333;
    line-height: 1.6;
}

/* Legal Section */
.legal {
    background: #000;
    color: #fff;
}

.legal .section-header h2 {
    color: #fff;
}

.legal .section-header p {
    color: #fff;
}

.legal-documents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.legal-card {
    background: #fff;
    padding: 2rem;
    border: 2px solid #fff;
    text-align: center;
    color: #000;
}

.legal-icon {
    width: 80px;
    height: 80px;
    background: #000;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.legal-icon i {
    font-size: 2rem;
    color: #fff;
}

.legal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-card p {
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.legal-card .btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-card .btn-secondary:hover {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item p {
    color: #333;
}

.contact-form {
    background: #f0f0f0;
    padding: 2rem;
    border: 2px solid #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #000;
    background: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fca503;
    background: #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    /* Logo is already black and white, no filter needed */
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #fff;
    color: #ccc;
}

.footer-bottom a {
    color: #fca503;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Social Media Icons */
.social-icons a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a i {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    width: 1em;
    height: 1em;
    color: inherit !important;
}

.social-icons a:hover {
    color: #fca503;
    transform: translateY(-3px);
}

.social-icons a:hover i {
    color: inherit !important;
}

.social-icons a:hover i.fa-facebook,
.social-icons a:hover i.fa-brands.fa-facebook {
    color: #1877f2 !important;
}

.social-icons a:hover i.fa-instagram,
.social-icons a:hover i.fa-brands.fa-instagram {
    color: #e4405f !important;
}

.social-icons a:hover i.fa-x-twitter,
.social-icons a:hover i.fa-brands.fa-x-twitter {
    color: #fff !important;
}

.social-icons a:hover i.fa-youtube,
.social-icons a:hover i.fa-brands.fa-youtube {
    color: #ff0000 !important;
}

.social-icons a:hover i.fa-tiktok,
.social-icons a:hover i.fa-brands.fa-tiktok {
    color: #fff !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    border: 2px solid #000;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #000;
    flex-shrink: 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #000;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    min-height: 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 25px;
    border-top: 2px solid #000;
    flex-shrink: 0;
    background: #fff;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.document-content {
    max-width: 800px;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.close:hover {
    color: #fca503;
}

.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #000;
}

.payment-options {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.payment-form {
    margin-top: 1rem;
}

.payment-note {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    font-style: italic;
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #666;
}

.security-badges i {
    color: #000;
    margin-right: 0.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-logo h2 {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-options {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .classes-grid,
    .instructors-grid,
    .facilities-content,
    .legal-documents {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.instructor-actions {
    margin-top: 1.5rem;
}

.instructor-actions .btn {
    min-width: 160px;
}

/* Instructor Detail Pages */
.instructor-detail-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #000 0%, #111 50%, #000 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.instructor-detail-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(252, 165, 3, 0.15), transparent 45%);
    pointer-events: none;
}

.profile-hero-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.profile-photo {
    width: 220px;
    height: 220px;
    border-radius: 18px;
    background: #111;
    border: 3px solid #fca503;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo i {
    font-size: 4rem;
    color: #fca503;
}

.profile-overview {
    flex: 1;
    min-width: 260px;
}

.instructor-role {
    display: inline-block;
    background: #fca503;
    color: #000;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.profile-overview h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.profile-overview p {
    font-size: 1.1rem;
    max-width: 640px;
    color: #e2e2e2;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.profile-meta .meta-item {
    min-width: 160px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.profile-meta .meta-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.35rem;
}

.profile-meta .meta-item strong {
    font-size: 1.4rem;
    color: #fff;
}

.profile-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.instructor-detail-body {
    background: #f7f7f7;
    padding: 80px 0 120px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.detail-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-section p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.detail-section h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fca503;
    box-shadow: 0 0 0 3px rgba(252, 165, 3, 0.2);
}

.detail-card {
    background: #fff;
    border: 2px solid #000;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid #000;
}

.detail-badge.accent {
    background: #fca503;
    color: #000;
    border-color: #fca503;
}

.detail-quote {
    background: #fff;
    border-left: 4px solid #fca503;
    padding: 1.5rem;
    font-style: italic;
    color: #333;
    margin: 2.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.detail-quote strong {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
}

.back-link {
    margin-top: 3rem;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #000;
    text-decoration: none;
}

.back-link a i {
    color: #fca503;
}

@media (max-width: 1024px) {
    .profile-hero-grid {
        justify-content: center;
        text-align: center;
    }

    .profile-overview {
        text-align: center;
    }

    .profile-meta {
        justify-content: center;
    }

    .profile-cta {
        justify-content: center;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .instructor-detail-hero {
        padding: 100px 0 40px;
    }

    .profile-photo {
        width: 180px;
        height: 180px;
    }

    .profile-overview h1 {
        font-size: 2.4rem;
    }

    .profile-overview p {
        font-size: 1rem;
    }

    .profile-meta .meta-item {
        min-width: 140px;
    }
}

.class-detail {
    max-width: 960px;
    padding: 2.5rem;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.class-detail-page-section {
    padding: 120px 0 100px;
    background: #f4f4f4;
}

.class-detail-page-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.class-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 2.5rem;
}

.class-cta .btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.class-cta .btn-secondary:hover {
    background: #000;
    color: #fff;
}

.class-detail-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.class-detail-title h2 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.class-detail-title p {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 720px;
}

.class-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.metadata-item {
    background: #f7f7f7;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    min-width: 140px;
}

.metadata-item span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin-bottom: 0.25rem;
}

.metadata-item strong {
    font-size: 1.1rem;
    color: #000;
}

.class-detail-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.class-narrative p {
    margin-bottom: 1.1rem;
    color: #333;
    line-height: 1.8;
}

.class-narrative h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.class-resources {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.class-schedule h3 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.class-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.calendar-card {
    display: flex;
    border: 1px solid #000;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.calendar-date {
    background: #000;
    color: #fff;
    padding: 1.5rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.calendar-date .month {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.3rem;
}

.calendar-date .day {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.calendar-date .weekday {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.calendar-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.calendar-info p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
}

.calendar-info .btn {
    align-self: flex-start;
    margin-top: 0.75rem;
}

.no-schedule {
    font-style: italic;
    color: #666;
}

@media (max-width: 900px) {
    .class-detail-body {
        grid-template-columns: 1fr;
    }

    .class-detail-title h2 {
        font-size: 2rem;
    }

    .class-detail-title p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .class-detail {
        padding: 2rem 1.5rem;
    }

    .calendar-card {
        flex-direction: column;
    }

    .calendar-date {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        border-radius: 16px 16px 0 0;
        min-width: unset;
    }
}
