/* =========================================================
   ENAM'S BEAUTY
   Premium Beauty Masterclass Platform
   Theme: Luxury Black / Warm Gold / Ivory
   Font: Montserrat
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   ROOT / BRAND SYSTEM
   ========================================================= */

:root {
    /* Brand Colors */
    --black: #0c0c0c;
    --black-soft: #121212;
    --black-light: #1a1a1a;

    --gold: #b98b35;
    --gold-light: #d0a04a;
    --gold-pale: #ead7ad;
    --gold-soft: rgba(185, 139, 53, 0.10);
    --gold-hover: rgba(185, 139, 53, 0.20);

    --white: #ffffff;
    --ivory: #f8f7f4;
    --cream: #f2f0eb;

    --text: #151515;
    --text-soft: #666666;
    --text-muted: #929292;

    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(255, 255, 255, 0.10);

    /* Shadows */
    --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 15px 45px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 25px 70px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 12px 35px rgba(185, 139, 53, 0.20);

    /* Layout */
    --container-width: 1240px;
    --section-padding: 100px;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.35s ease;
    --transition-slow: 0.5s ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--ivory);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: 'Montserrat', sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    cursor: pointer;
}

ul,
ol {
    padding-left: 1.2rem;
}

::selection {
    background: var(--gold);
    color: var(--white);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.2;
    font-weight: 500;
}

h1 {
    letter-spacing: -1.5px;
}

h2 {
    letter-spacing: -0.8px;
}

h3,
h4 {
    letter-spacing: -0.3px;
}

p {
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--gold) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-light-gray {
    color: var(--text-soft) !important;
}

.bg-gold {
    background: var(--gold) !important;
}

.bg-dark-primary {
    background: var(--black) !important;
}


/* =========================================================
   CONTAINERS / SECTIONS
   ========================================================= */

.container {
    max-width: var(--container-width);
}

.section {
    padding: var(--section-padding) 0;
}

.section-sm {
    padding: 60px 0;
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-title {
    position: relative;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--gold);
    font-weight: 500;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.9;
}

.section-heading {
    margin-bottom: 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    background: rgba(12, 12, 12, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    min-height: 78px;
    padding: 0.7rem 0;

    border-bottom: 1px solid rgba(185, 139, 53, 0.35);

    position: sticky;
    top: 0;
    z-index: 1050;

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(12, 12, 12, 0.99) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.8px;

    color: var(--white) !important;
}

.navbar-brand span {
    color: var(--gold) !important;
}

.navbar-brand img {
    max-height: 52px;
    width: auto;
}

.navbar .nav-link {
    position: relative;

    color: rgba(255, 255, 255, 0.78) !important;

    padding: 1rem 1rem !important;

    font-size: 0.73rem;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.18em;

    transition: color var(--transition);
}

.navbar .nav-link::after {
    content: "";
    position: absolute;

    left: 1rem;
    right: 1rem;
    bottom: 7px;

    height: 1px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--transition);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--white) !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar .btn-primary {
    margin-left: 12px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    position: relative;

    font-family: 'Montserrat', sans-serif;
    font-weight: 600;

    border-radius: var(--radius-full);

    padding: 0.85rem 2.2rem;

    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);

    border-width: 1.5px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gold);
    border: 1.5px solid var(--gold);
    color: var(--white);

    box-shadow: none;
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:focus,
.btn-primary:active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
    box-shadow: 0 0 0 4px rgba(185, 139, 53, 0.18) !important;
}

.btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);

    box-shadow: none;
}

.btn-outline-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-dark {
    background: var(--black);
    border: 1.5px solid var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--black-light);
    border-color: var(--black-light);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    border: 1.5px solid var(--white);
    color: var(--black);
}

.btn-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-link {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;

    border-radius: 0;
    padding: 0.5rem 0;
}

.btn-link:hover {
    color: var(--gold-light);
}

.btn-sm {
    padding: 0.55rem 1.5rem;
    font-size: 0.65rem;
}

.btn-lg {
    padding: 1rem 2.8rem;
    font-size: 0.8rem;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;

    min-height: 75vh;

    display: flex;
    align-items: center;

    padding: 80px 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.96) 0%,
            rgba(8, 8, 8, 0.84) 43%,
            rgba(8, 8, 8, 0.35) 100%
        ),
        var(--black);

    color: var(--white);

    overflow: hidden;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -200px;
    right: -150px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(185, 139, 53, 0.14),
        transparent 68%
    );

    pointer-events: none;
}

.hero-section::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 140px;

    left: 6%;
    bottom: 0;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(185, 139, 53, 0.6)
    );
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    max-width: 800px;

    color: var(--white);

    font-size: clamp(2.8rem, 5.5vw, 4.8rem);

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 22px;
}

.hero-section h1 .highlight {
    color: var(--gold-light);
    font-weight: 500;
}

.hero-section .lead {
    max-width: 580px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.95rem;
    line-height: 1.8;

    margin-bottom: 28px;
}

.hero-section .eyebrow {
    color: var(--gold-light);
}

.hero-section .hero-image {
    width: 100%;
    border-radius: var(--radius-md);

    box-shadow: var(--shadow-lg);

    position: relative;
    z-index: 2;

    transition: transform var(--transition-slow);
}

.hero-section .hero-image:hover {
    transform: scale(1.015);
}


/* =========================================================
   HERO IMAGE FRAME
   ========================================================= */

.hero-image-wrapper {
    position: relative;
    padding: 16px;
}

.hero-image-wrapper::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 70%;
    height: 70%;

    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);

    opacity: 0.6;
}

.hero-image-wrapper::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 40%;
    height: 40%;

    border-bottom: 1px solid var(--gold);
    border-left: 1px solid var(--gold);

    opacity: 0.6;
}


/* =========================================================
   FACT STRIP
   ========================================================= */

.fact-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
}

.fact-item i {
    color: var(--gold);
    font-size: 1rem;
}

.fact-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   SCARCITY LINE
   ========================================================= */

.scarcity-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
}

.scarcity-line i {
    color: var(--gold);
    font-size: 1rem;
}


/* =========================================================
   GALLERY / SHOWCASE
   ========================================================= */

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: var(--black);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        transparent 100%
    );
    opacity: 0;
    transform: translateY(20px);
    transition: 
        opacity 0.4s ease,
        transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    background: var(--gold);
    border-radius: var(--radius-full);
    display: inline-block;
}


/* =========================================================
   COURSE SECTION
   ========================================================= */

.courses-section {
    background: var(--ivory);
}

.course-card {
    position: relative;

    height: 100%;

    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.05);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(185, 139, 53, 0.25);
    box-shadow: var(--shadow-md);
}

.course-card .card-img-top {
    width: 100%;
    height: 260px;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.04);
}

.course-card .image-wrapper {
    position: relative;
    overflow: hidden;
}

.course-card .image-wrapper::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.25),
        transparent 45%
    );

    pointer-events: none;
}

.course-card .card-body {
    padding: 28px;
}

.course-card .card-title {
    font-size: 1.25rem;
    font-weight: 500;

    color: var(--text);

    margin-bottom: 10px;
}

.course-card .card-text {
    color: var(--text-soft);

    font-size: 0.88rem;

    line-height: 1.8;
}

.course-card .price {
    color: var(--gold);

    font-size: 1.45rem;
    font-weight: 600;
}

.course-card .duration-badge {
    display: inline-flex;

    background: var(--gold-soft);
    color: var(--gold);

    padding: 6px 14px;

    border-radius: var(--radius-full);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.05em;
}

.course-card .btn-primary {
    width: 100%;

    padding: 0.75rem 1.3rem;
}


/* =========================================================
   COURSE DETAILS
   ========================================================= */

.course-details {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 45px;

    box-shadow: var(--shadow-sm);
}

.course-details .course-image {
    width: 100%;

    max-height: 480px;

    object-fit: cover;

    border-radius: var(--radius-md);
}

.course-details .course-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;

    margin-bottom: 15px;
}

.course-details .course-price {
    color: var(--gold);

    font-size: 2rem;
    font-weight: 600;
}

.course-details .course-meta {
    color: var(--text-soft);

    font-size: 0.88rem;
}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-icon {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border: 1px solid rgba(185, 139, 53, 0.35);

    background: var(--gold-soft);

    border-radius: var(--radius-full);

    transition:
        background var(--transition),
        transform var(--transition);
}

.feature-icon i {
    color: var(--gold);
    font-size: 1.65rem;
}

.feature-icon:hover {
    background: var(--gold);
    transform: translateY(-4px);
}

.feature-icon:hover i {
    color: var(--white);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;

    margin-bottom: 10px;
}

.feature-text {
    color: var(--text-soft);

    font-size: 0.88rem;
    line-height: 1.8;
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonial-card {
    height: 100%;

    position: relative;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 32px;

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: "“";

    position: absolute;

    top: 15px;
    right: 25px;

    color: var(--gold);

    font-size: 4rem;

    font-family: Georgia, serif;

    opacity: 0.2;
}

.testimonial-card .stars {
    color: var(--gold);

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.testimonial-card .testimonial-text {
    color: var(--text-soft);

    font-size: 0.92rem;

    line-height: 1.9;
}

.testimonial-card .testimonial-name {
    color: var(--text);

    font-size: 0.85rem;
    font-weight: 600;

    margin-top: 22px;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-page {
    min-height: calc(100vh - 78px);

    background: var(--ivory);

    padding: 45px 0;
}

.dashboard-stats {
    height: 100%;

    position: relative;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 26px;

    overflow: hidden;

    box-shadow: var(--shadow-xs);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.dashboard-stats::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -35px;
    top: -35px;

    border-radius: 50%;

    background: var(--gold-soft);
}

.dashboard-stats:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dashboard-stats .stat-icon {
    color: var(--gold);
    font-size: 1.8rem;

    margin-bottom: 15px;
}

.dashboard-stats .stat-number {
    color: var(--text);

    font-size: 1.9rem;
    font-weight: 600;

    line-height: 1.2;
}

.dashboard-stats .stat-label {
    color: var(--text-muted);

    font-size: 0.72rem;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    background: var(--black);

    border-radius: var(--radius-md);

    padding: 22px;

    box-shadow: var(--shadow-md);
}

.sidebar .sidebar-title {
    color: var(--gold-light);

    font-size: 0.68rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.18em;

    padding: 10px 15px 15px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.65);

    padding: 12px 15px;

    margin-bottom: 4px;

    border-radius: var(--radius-sm);

    font-size: 0.78rem;
    font-weight: 500;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.sidebar .nav-link:hover {
    background: rgba(185, 139, 53, 0.10);
    color: var(--white);

    transform: translateX(3px);
}

.sidebar .nav-link.active {
    background: var(--gold);
    color: var(--white);

    box-shadow: 0 5px 20px rgba(185, 139, 53, 0.18);
}

.sidebar .nav-link i {
    width: 22px;

    margin-right: 10px;

    text-align: center;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-label {
    color: var(--text);

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.03em;

    margin-bottom: 8px;
}

.form-control,
.form-select {
    min-height: 50px;

    background: var(--white);

    border: 1px solid rgba(0, 0, 0, 0.10);

    border-radius: var(--radius-sm);

    padding: 0.8rem 1rem;

    color: var(--text);

    font-size: 0.85rem;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus,
.form-select:focus {
    background: var(--white);

    border-color: var(--gold);

    box-shadow: 0 0 0 4px rgba(185, 139, 53, 0.10);

    outline: none;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}


/* =========================================================
   AUTHENTICATION
   ========================================================= */

.auth-section {
    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    padding: 60px 0;

    background:
        linear-gradient(
            rgba(12, 12, 12, 0.94),
            rgba(12, 12, 12, 0.94)
        );
}

.auth-card {
    max-width: 480px;

    margin: auto;

    background: var(--white);

    border-radius: var(--radius-lg);

    padding: 45px;

    box-shadow: var(--shadow-lg);
}

.auth-card .auth-logo {
    color: var(--black);

    font-size: 1.5rem;
    font-weight: 700;

    text-align: center;

    margin-bottom: 30px;
}

.auth-card .auth-logo span {
    color: var(--gold);
}

.auth-card h1 {
    font-size: 1.8rem;
    font-weight: 500;

    margin-bottom: 8px;
}

.auth-card .auth-description {
    color: var(--text-soft);

    font-size: 0.85rem;

    margin-bottom: 30px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    position: relative;

    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            var(--black) 0%,
            #171717 100%
        );

    color: var(--white);

    overflow: hidden;
}

.cta-section::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -120px;
    top: -200px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(185, 139, 53, 0.16),
        transparent 70%
    );
}

.cta-section h2 {
    position: relative;

    color: var(--white);

    font-size: clamp(2rem, 4vw, 3.3rem);

    font-weight: 400;

    margin-bottom: 15px;
}

.cta-section p {
    position: relative;

    max-width: 650px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.95rem;
}


/* =========================================================
   CERTIFICATES
   ========================================================= */

.certificate-card {
    position: relative;

    background: var(--white);

    border: 1px solid rgba(185, 139, 53, 0.45);

    border-radius: var(--radius-lg);

    padding: 45px;

    text-align: center;

    box-shadow: var(--shadow-md);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.certificate-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.certificate-card .certificate-badge {
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    background: var(--gold);

    border-radius: var(--radius-full);

    box-shadow: 0 10px 30px rgba(185, 139, 53, 0.25);
}

.certificate-card .certificate-badge i {
    color: var(--white);

    font-size: 2.8rem;
}

.certificate-card .certificate-number {
    color: var(--text-muted);

    font-size: 0.72rem;

    letter-spacing: 0.08em;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress {
    height: 7px;

    background: rgba(185, 139, 53, 0.12);

    border-radius: var(--radius-full);

    overflow: hidden;
}

.progress-bar {
    background: var(--gold);

    border-radius: var(--radius-full);

    transition: width 0.7s ease;
}


/* =========================================================
   BADGES / STATUS
   ========================================================= */

.badge {
    padding: 0.45rem 0.9rem;

    border-radius: var(--radius-full);

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.03em;
}

.badge-primary {
    background: var(--gold-soft) !important;
    color: var(--gold) !important;
}

.badge-success {
    background: rgba(40, 167, 69, 0.10) !important;
    color: #218838 !important;
}

.badge-warning {
    background: rgba(255, 193, 7, 0.12) !important;
    color: #a07800 !important;
}

.badge-danger {
    background: rgba(220, 53, 69, 0.10) !important;
    color: #c82333 !important;
}

.badge-info {
    background: rgba(23, 162, 184, 0.10) !important;
    color: #138496 !important;
}


/* =========================================================
   TABLES
   ========================================================= */

.table {
    background: var(--white);

    border-collapse: separate;
    border-spacing: 0;

    overflow: hidden;

    border-radius: var(--radius-md);
}

.table thead th {
    background: var(--black);

    color: rgba(255, 255, 255, 0.85);

    border: none;

    padding: 15px 18px;

    font-size: 0.68rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table tbody td {
    color: var(--text-soft);

    padding: 16px 18px;

    border-color: var(--border);

    font-size: 0.8rem;

    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(185, 139, 53, 0.035);
}


/* =========================================================
   ALERTS
   ========================================================= */

.alert {
    border-radius: var(--radius-sm);

    border: 1px solid transparent;

    font-size: 0.82rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.08);
    color: #237a39;
    border-color: rgba(40, 167, 69, 0.15);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #b42332;
    border-color: rgba(220, 53, 69, 0.15);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.10);
    color: #856404;
    border-color: rgba(255, 193, 7, 0.18);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position: relative;

    background: var(--black);

    color: rgba(255, 255, 255, 0.58);

    padding: 65px 0 25px;

    border-top: 1px solid rgba(185, 139, 53, 0.45);
}

footer h5 {
    color: var(--white);

    font-size: 0.78rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.15em;

    margin-bottom: 22px;
}

footer p {
    font-size: 0.82rem;
    line-height: 1.8;
}

footer a {
    color: rgba(255, 255, 255, 0.55);

    font-size: 0.8rem;
}

footer a:hover {
    color: var(--gold-light);
}

footer .footer-links {
    list-style: none;

    padding: 0;
    margin: 0;
}

footer .footer-links li {
    margin-bottom: 11px;
}

footer .social-links {
    display: flex;
    gap: 9px;
}

footer .social-links a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: var(--radius-full);

    color: var(--white);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

footer .social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);

    color: var(--white);

    transform: translateY(-3px);
}

footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.08);

    margin: 40px 0 22px;
}

footer .copyright {
    color: rgba(255, 255, 255, 0.4);

    font-size: 0.7rem;
}


/* =========================================================
   DROPDOWNS
   ========================================================= */

.dropdown-menu {
    min-width: 210px;

    padding: 10px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    box-shadow: var(--shadow-md);
}

.dropdown-item {
    padding: 10px 13px;

    border-radius: var(--radius-sm);

    color: var(--text);

    font-size: 0.75rem;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gold-soft);
    color: var(--gold);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.page-link {
    color: var(--text);

    border: 1px solid var(--border);

    font-size: 0.8rem;

    padding: 0.6rem 0.85rem;
}

.page-link:hover {
    background: var(--gold-soft);
    color: var(--gold);
    border-color: rgba(185, 139, 53, 0.25);
}

.page-item.active .page-link {
    background: var(--gold);
    border-color: var(--gold);
}


/* =========================================================
   UTILITY
   ========================================================= */

.rounded-20 {
    border-radius: 20px !important;
}

.rounded-28 {
    border-radius: 28px !important;
}

.rounded-full {
    border-radius: var(--radius-full) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-gold {
    box-shadow: var(--shadow-gold) !important;
}

.bg-ivory {
    background: var(--ivory) !important;
}

.bg-black {
    background: var(--black) !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes goldPulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(185, 139, 53, 0.15);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(185, 139, 53, 0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.7s ease forwards;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    animation: fadeInUp 0.7s 0.1s ease forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeInUp 0.7s 0.2s ease forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    animation: fadeInUp 0.7s 0.3s ease forwards;
}


/* =========================================================
   MOBILE NAVBAR
   ========================================================= */

.navbar-toggler {
    padding: 7px 9px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: var(--radius-sm);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(185, 139, 53, 0.15);
}

.navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 992px) {

    :root {
        --section-padding: 60px;
    }

    .navbar .nav-link {
        padding: 12px 0 !important;
    }

    .navbar .nav-link::after {
        left: 0;
        right: auto;
        width: 30px;
        bottom: 4px;
    }

    .navbar .btn-primary {
        margin: 10px 0 0;
        display: inline-block;
    }

    .hero-section {
        min-height: auto;

        padding: 70px 0;
    }

    .hero-section h1 {
        font-size: clamp(2.6rem, 6vw, 4rem);
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .course-details {
        padding: 30px;
    }

    .sidebar {
        margin-bottom: 25px;
    }

    .fact-strip {
        gap: 10px 16px;
        padding: 14px 18px;
    }

    .fact-item {
        font-size: 0.78rem;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --section-padding: 50px;
    }

    .navbar {
        min-height: 68px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        max-height: 40px;
    }

    .hero-section {
        text-align: center;

        padding: 55px 0;
    }

    .hero-section::after {
        display: none;
    }

    .hero-section h1 {
        font-size: 2.4rem;

        letter-spacing: -1.2px;
    }

    .hero-section .lead {
        margin-left: auto;
        margin-right: auto;

        font-size: 0.85rem;
    }

    .hero-section .eyebrow {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 35px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .course-card .card-img-top {
        height: 210px;
    }

    .course-card .card-body {
        padding: 22px;
    }

    .course-details {
        padding: 20px;
    }

    .course-details .course-title {
        font-size: 1.5rem;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .cta-section {
        padding: 60px 0;
        text-align: center;
    }

    footer {
        padding-top: 50px;
    }

    .fact-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .fact-divider {
        display: none;
    }

    .fact-item {
        font-size: 0.78rem;
        width: 100%;
    }

    .scarcity-line {
        font-size: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .btn-lg {
        padding: 0.85rem 2rem;
        font-size: 0.75rem;
    }

    /* Gallery Mobile */
    .gallery-item {
        border-radius: var(--radius-sm);
    }

    .gallery-overlay {
        padding: 12px;
    }

    .gallery-label {
        font-size: 0.6rem;
        padding: 4px 12px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL PHONES
   ========================================================= */

@media (max-width: 576px) {

    .hero-section {
        padding: 45px 0;
    }

    .hero-section h1 {
        font-size: 1.9rem;
    }

    .hero-section .lead {
        font-size: 0.8rem;
    }

    .btn {
        width: 100%;

        padding: 0.75rem 1.2rem;

        font-size: 0.68rem;
    }

    .hero-section .btn {
        margin-bottom: 8px;
    }

    .course-card .card-img-top {
        height: 190px;
    }

    .course-card .price {
        font-size: 1.2rem;
    }

    .dashboard-stats {
        padding: 20px;
    }

    .dashboard-stats .stat-number {
        font-size: 1.5rem;
    }

    .certificate-card {
        padding: 28px 18px;
    }

    .table-responsive {
        border-radius: var(--radius-md);
    }

    .fact-strip {
        padding: 12px 14px;
    }

    .fact-item {
        font-size: 0.72rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ivory);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}