/* ============================================
   Altair Unmanned Technologies - Main Stylesheet
   Theme: Dark aviation/tech with blue (#0A84FF) accent
   ============================================ */

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

:root {
    --primary: #0A84FF;
    --primary-dark: #0066CC;
    --primary-light: #3DA0FF;
    --secondary: #30D158;
    --accent: #FF9500;
    --bg-body: #060A14;
    --bg-surface: #0C1220;
    --bg-card: #101828;
    --bg-card-hover: #162036;
    --bg-elevated: #1A2540;
    --border: rgba(10, 132, 255, 0.15);
    --border-hover: rgba(10, 132, 255, 0.35);
    --text-primary: #F0F4F8;
    --text-secondary: #8B9AB5;
    --text-muted: #5B6B85;
    --gradient-primary: linear-gradient(135deg, #0A84FF, #30D158);
    --gradient-hero: linear-gradient(160deg, #060A14 0%, #0C1830 40%, #0A1428 100%);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(10, 132, 255, 0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-surface);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(10, 132, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background: rgba(10, 132, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
}

.btn-accent {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}

.btn-accent:hover {
    background: #E68600;
    color: #000;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 10px;
}

/* ── Top Bar ── */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(90deg, #040810 0%, #0A1020 50%, #040810 100%);
    border-bottom: 1px solid rgba(10, 132, 255, 0.08);
    height: 36px;
    font-size: 0.72rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    transition: var(--transition);
}

.topbar-item a {
    color: var(--text-muted);
    transition: var(--transition);
}

.topbar-item a:hover {
    color: var(--primary);
}

.topbar-item svg,
.topbar-item i {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.topbar-divider {
    width: 1px;
    height: 14px;
    background: rgba(139, 154, 181, 0.15);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-partnership {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.65rem;
}

.topbar-partnership .partner-name {
    color: var(--text-muted);
}

.topbar-partnership .x-mark {
    color: var(--accent);
    font-weight: 800;
    font-size: 0.8rem;
}

.topbar-partnership .dendat-name {
    color: var(--secondary);
}

.topbar-status {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.62rem;
}

.topbar-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0); }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 10, 20, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-brand:hover {
    color: var(--text-primary);
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(10, 132, 255, 0.25);
}

.brand-text {
    line-height: 1.1;
}

.brand-text span {
    color: var(--primary);
}

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

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 4px;
}

.navbar-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-links a.active {
    color: var(--primary);
    background: rgba(10, 132, 255, 0.1);
    box-shadow: 0 0 12px rgba(10, 132, 255, 0.08);
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-cta .btn-primary {
    padding: 9px 20px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 16px 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    background: rgba(10, 132, 255, 0.06);
    border-color: rgba(10, 132, 255, 0.1);
}

.mobile-menu .mobile-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.mobile-menu .mobile-partnership {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin-top: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg-body);
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    filter: saturate(0.6);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg img {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(6,10,20,0.92) 0%, rgba(6,10,20,0.7) 40%, rgba(10,132,255,0.08) 100%);
}

.hero-slide .hero-grid-bg {
    z-index: 2;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 132, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 132, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding-top: 120px;
    padding-bottom: 100px;
    max-width: 720px;
}

.hero-slide-content .hero-badge,
.hero-slide-content h1,
.hero-slide-content p,
.hero-slide-content .hero-actions {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active .hero-slide-content .hero-badge    { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.hero-slide.active .hero-slide-content h1             { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.hero-slide.active .hero-slide-content p              { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.hero-slide.active .hero-slide-content .hero-actions   { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-slide-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-slide-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Indicators */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-indicator {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-indicator:hover {
    background: rgba(255,255,255,0.4);
}

.hero-indicator.active {
    width: 48px;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(10,132,255,0.4);
}

/* Arrow Nav */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(6,10,20,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: rgba(10,132,255,0.3);
    border-color: var(--primary);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Progress Bar */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.05);
    z-index: 10;
}

.hero-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(10,132,255,0.5);
}

@keyframes orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Trust Bar ── */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Feature Cards ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Course Cards ── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.course-header {
    padding: 24px 24px 16px;
}

.course-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-category {
    background: rgba(10, 132, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(10, 132, 255, 0.2);
}

.badge-level {
    background: rgba(48, 209, 88, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(48, 209, 88, 0.2);
}

.badge-featured {
    background: rgba(255, 149, 0, 0.1);
    color: var(--accent);
    border: 1px solid rgba(255, 149, 0, 0.2);
}

.badge-format {
    background: rgba(139, 154, 181, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(139, 154, 181, 0.2);
}

.course-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.course-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.course-body {
    padding: 0 24px 16px;
    flex: 1;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.course-meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.course-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.course-price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ── Category Filter ── */
.category-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(10, 132, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* ── About Page ── */
.about-hero {
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

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

.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.founder-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.founder-card .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.founder-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.value-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.value-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

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

/* ── Timeline ── */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-body);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ── Contact Page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(10, 132, 255, 0.1);
    border: 1px solid rgba(10, 132, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

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

.contact-info-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ── Forms ── */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label span {
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

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

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

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

/* ── Footer ── */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer h4 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ── CTA Section ── */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 132, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    margin-bottom: 16px;
    position: relative;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

/* ── Page Header ── */
.page-header {
    padding: 160px 0 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-header .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 132, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 132, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.page-header h1 {
    margin-bottom: 12px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    position: relative;
}

/* ── Toast Notification ── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: var(--secondary);
    color: #000;
}

.toast-error {
    background: #EF4444;
}

/* ── Scroll Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Error Pages ── */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.error-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.error-page h2 {
    margin-bottom: 12px;
}

.error-page p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 400px;
}

/* ── Legal Pages ── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

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

.legal-content ul {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-slide-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-slide-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-arrow {
        display: none;
    }

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

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

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    .mobile-menu {
        top: 64px;
    }

    .navbar-links,
    .navbar-cta .btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-slider {
        min-height: 85vh;
    }

    .hero-slides {
        height: 85vh;
    }

    .hero-slide-content {
        padding-top: 90px;
        padding-bottom: 80px;
    }

    .hero-slide-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero-indicators {
        bottom: 24px;
    }

    .page-header {
        padding: 120px 0 50px;
    }

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

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

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

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

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

    .section {
        padding: 60px 0;
    }

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

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .trust-number {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }
}

/* ── Bottom Mobile Nav ── */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(6, 10, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(10, 132, 255, 0.1);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)) 8px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

.bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item svg,
.bottom-nav-item i {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.bottom-nav-item:hover {
    color: var(--text-secondary);
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 2px 8px rgba(10, 132, 255, 0.4);
}

.bottom-nav-item.active svg,
.bottom-nav-item.active i {
    filter: drop-shadow(0 0 6px rgba(10, 132, 255, 0.4));
}

.bottom-nav-item.cta-item {
    color: var(--accent);
}

.bottom-nav-item.cta-item svg,
.bottom-nav-item.cta-item i {
    width: 22px;
    height: 22px;
}

.bottom-nav-item.cta-item.active {
    color: var(--accent);
}

.bottom-nav-item.cta-item.active::before {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(255, 149, 0, 0.4);
}

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

    /* Add padding to body so footer content isn't hidden behind bottom nav */
    body {
        padding-bottom: 72px;
    }

    /* Hide top mobile menu toggle since bottom nav handles navigation */
    .mobile-toggle {
        display: block;
    }

    /* Adjust footer bottom padding */
    .footer {
        padding-bottom: 16px;
    }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
