/* ============================================================
   CIE USA - Public Stylesheet
   ============================================================ */

:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a8c;
    --primary-dark: #0f2440;
    --accent: #c8a44e;
    --accent-light: #dbb95e;
    --accent-dark: #a8882e;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #0f2440;
    --border: #e5e7eb;
    --success: #059669;
    --error: #dc2626;
    --warning: #d97706;
    --info: #0284c7;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Scroll-Reveal Animations
   ============================================================ */
.animate-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.animate-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}
[data-stagger] > * {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-stagger].visible > * {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        'Inter',
        -apple-system,
        sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   Flash Messages
   ============================================================ */
.flash-alert {
    padding: 12px 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    max-width: 400px;
}
.flash-alert.flash-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.flash-alert.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.flash-alert.flash-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.flash-alert.flash-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}
.flash-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}
.flash-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo-subtitle {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 14px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}
.nav-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.nav-auth {
    display: flex;
    gap: 8px;
    margin-left: 12px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.25);
}
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 10px;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}
.btn-block {
    width: 100%;
}
.btn-danger {
    background: var(--error);
    color: #fff;
}
.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

/* ============================================================
   Hero Section — Minimalist
   ============================================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    color: #fff;
    overflow: hidden;
}

@keyframes heroGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Floating decorative elements */
.hero-floating {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-floating span {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: floatUp linear infinite;
}
.hero-floating span:nth-child(1) {
    width: 300px;
    height: 300px;
    left: -5%;
    bottom: -10%;
    animation-duration: 20s;
}
.hero-floating span:nth-child(2) {
    width: 200px;
    height: 200px;
    right: -3%;
    top: 10%;
    animation-duration: 25s;
    animation-delay: -5s;
}
.hero-floating span:nth-child(3) {
    width: 150px;
    height: 150px;
    left: 15%;
    top: -5%;
    animation-duration: 18s;
    animation-delay: -10s;
    background: rgba(200, 164, 78, 0.05);
}
.hero-floating span:nth-child(4) {
    width: 80px;
    height: 80px;
    right: 20%;
    bottom: 25%;
    animation-duration: 15s;
    animation-delay: -3s;
    background: rgba(200, 164, 78, 0.06);
}
.hero-floating span:nth-child(5) {
    width: 120px;
    height: 120px;
    left: 40%;
    top: 60%;
    animation-duration: 22s;
    animation-delay: -8s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-60px) scale(1.05);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 820px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(200, 164, 78, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    opacity: 0;
    animation: heroFadeIn 0.8s ease forwards;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    animation: heroSlideUp 0.8s 0.15s ease both;
}
.hero .highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: heroSlideUp 0.8s 0.3s ease both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: heroSlideUp 0.8s 0.45s ease both;
}
.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}
.hero .btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}
.hero .btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 78, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
    animation: heroSlideUp 0.8s 0.6s ease both;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 13px;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: 64px 0;
}
.section-alt {
    background: var(--bg-alt);
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.section-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* ============================================================
   Grid
   ============================================================ */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.card-body {
    padding: 0;
}
.card-footer {
    margin: 16px -24px -24px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}
.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 18px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.card:hover .card-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(26, 58, 92, 0.25);
}
.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}
.card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}
.card-img {
    margin: -24px -24px 16px;
    width: calc(100% + 48px);
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card-img {
    transform: scale(1.05);
}
.course-card .card-body {
    transition: background 0.3s ease;
}

/* News card Read More link */
.news-card .card-body small {
    color: var(--text-light);
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}
.news-card .card-body a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    transition: gap 0.3s ease;
}
.news-card .card-body a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.news-card .card-body a:hover {
    gap: 10px;
}

/* ============================================================
   Core Values
   ============================================================ */
.value-item {
    text-align: center;
    padding: 28px 24px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.value-item:hover::before {
    transform: scaleX(1);
}
.value-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.value-item i {
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.value-item:hover i {
    transform: scale(1.2);
}
.value-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.value-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================================
   Certification Path
   ============================================================ */
.path-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.path-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}
.path-item {
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
    position: relative;
    transition: transform 0.3s ease;
}
.path-item:last-child {
    padding-bottom: 0;
}
.path-item:hover {
    transform: translateX(4px);
}
.path-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.path-item:hover .path-number {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}
.path-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}
.path-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section .btn {
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    position: relative;
}
.cta-section .btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 164, 78, 0.3);
}

/* ============================================================
   Page Banner
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    background-size: 200% 200%;
    animation: heroGradient 12s ease infinite;
    color: #fff;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    animation: heroSlideUp 0.6s 0.1s ease both;
}
.page-banner p {
    font-size: 16px;
    opacity: 0.9;
    animation: heroSlideUp 0.6s 0.25s ease both;
}

/* Programme level title */
.level-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
}
.page-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.page-link.active,
.page-link.active:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================================
   Content Layout
   ============================================================ */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}
.content-main h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}
.content-main h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 24px 0 12px;
}
.content-main p {
    margin-bottom: 16px;
    color: var(--text-light);
}
.content-main ul {
    margin-bottom: 16px;
    padding-left: 20px;
}
.content-main ul li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.content-sidebar .sidebar-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}
.content-sidebar .sidebar-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}
.content-sidebar .sidebar-box ul {
    padding-left: 16px;
}
.content-sidebar .sidebar-box ul li {
    margin-bottom: 6px;
    font-size: 14px;
}

.sidebar-cta {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}
.sidebar-cta h4 {
    font-size: 18px;
    margin-bottom: 8px;
}
.sidebar-cta p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}
.sidebar-cta .btn {
    background: var(--accent);
    color: var(--primary-dark);
}
.sidebar-cta .btn:hover {
    background: var(--accent-light);
}

/* ============================================================
   Forms
   ============================================================ */
.form {
    max-width: 100%;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}
textarea.form-control {
    resize: vertical;
}
select.form-control {
    cursor: pointer;
}
.form-control-static {
    padding: 10px 14px;
    font-size: 14px;
    background: var(--bg-light, #f8f9fa);
    border-radius: 6px;
    color: var(--text, #333);
    margin-bottom: 0;
}
.form-group .form-control-static {
    margin-top: 4px;
}
.form-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    margin: 24px 0 16px;
}
.checkbox-group label {
    display: flex;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    align-items: flex-start;
}
.checkbox-group input[type='checkbox'] {
    margin-top: 3px;
}

/* ============================================================
   Auth Section
   ============================================================ */
.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 48px 20px;
    background: var(--bg-alt);
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px;
}
.auth-card-wide {
    max-width: 720px;
}
.auth-header {
    text-align: center;
    margin-bottom: 32px;
}
.auth-header h1 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}
.auth-header p {
    color: var(--text-light);
    font-size: 14px;
}
.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-light);
}
.auth-footer a {
    color: var(--primary);
    text-decoration: underline;
}

/* ============================================================
   Tables
   ============================================================ */
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
}
.table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
}
.table td {
    border-bottom: 1px solid var(--border);
}
.table tr:hover {
    background: var(--bg-alt);
}

.table-details {
    width: 100%;
}
.table-details td {
    padding: 8px 12px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.table-details td:first-child {
    font-weight: 600;
    color: var(--text-light);
    width: 40%;
}

/* ============================================================
   Misc
   ============================================================ */
.motto-box {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 15px;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.fee-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.course-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}
.course-meta i {
    width: 16px;
}
.text-center {
    text-align: center;
}
.mt-1 {
    margin-top: 8px;
}
.mt-2 {
    margin-top: 16px;
}
.mt-3 {
    margin-top: 24px;
}
.mt-4 {
    margin-top: 32px;
}
.text-muted {
    color: var(--text-light);
}
.text-success {
    color: var(--success);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.fees-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.benefit-item i {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 8px;
}
.benefit-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.benefit-item p {
    font-size: 13px;
    color: var(--text-light);
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
}
.empty-state i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}
.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* ============================================================
   Cert Levels
   ============================================================ */
.cert-level {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}
.cert-level:hover {
    box-shadow: var(--shadow);
}
.cert-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.cert-level-badge {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.cert-header h3 {
    font-size: 20px;
    color: var(--primary);
}
.cert-level .grid-2 {
    gap: 16px;
    margin-top: 12px;
}
.exam-info {
    background: var(--bg-alt);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 16px;
}
.exam-info h4 {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================================
   Alerts
   ============================================================ */
.alert {
    padding: 16px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.6;
}
.alert-info {
    background: #e8f4fd;
    border: 1px solid #b6d4fe;
    color: #0c5460;
}
.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}
.alert i {
    margin-right: 8px;
}
.alert strong {
    font-weight: 600;
}
.alert p {
    margin: 4px 0;
}

/* ============================================================
   Form Actions
   ============================================================ */
.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}
.form-actions.justify-center {
    justify-content: center;
}

/* ============================================================
   Misc Utilities
   ============================================================ */
.mb-3 {
    margin-bottom: 16px;
}
.text-muted {
    color: var(--text-light);
}
.ml-2 {
    margin-left: 8px;
}

.course-list {
    list-style: none;
    padding: 0;
}
.course-list li {
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.course-list li::before {
    content: '▸';
    color: var(--accent);
    margin-right: 8px;
}

/* ============================================================
   Status Tracker
   ============================================================ */
.status-tracker {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 24px 0;
}
.status-step {
    text-align: center;
    flex: 1;
    position: relative;
}
.status-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.status-step:last-child::after {
    display: none;
}
.status-step.active::after {
    background: var(--primary);
}
.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
}
.status-step.active .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.status-step span {
    font-size: 12px;
    color: var(--text-light);
    display: block;
}
.status-step.active span {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open {
        display: flex;
    }
    .nav-auth {
        margin-left: 0;
        margin-top: 8px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 24px;
    }
    .cert-header {
        flex-direction: column;
        text-align: center;
    }
    .status-tracker {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
