/* ===========================
   Global Styles & Reset
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #0A1624;
    --accent: #0FB9C6;
    --white: #FFFFFF;
    --text: #1E2933;
    --muted: #C9D2DC;
    
    /* Additional Colors */
    --light-bg: #F8FAFB;
    --border: #E5EAF0;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global scale: 100% zoom = 80% size; small viewport = 75% */
html {
    scroll-behavior: smooth;
    font-size: 80%;
}

@media (max-width: 900px) {
    html {
        font-size: 75%;
    }
}

body {
    font-family: var(--font-base);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1.0625rem;
    color: var(--text);
    opacity: 0.85;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #0891A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-base);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 40px;
    color: #fff !important;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-base);
    /* background-color: #fff; */
    border: 2px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===========================
   Navigation Bar (Floating Pill)
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 24px 0;
    pointer-events: none;
}

.navbar > .nav-container {
    pointer-events: auto;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    border: 0.5px solid var(--white);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(10, 22, 36, 0.35);
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    box-shadow: 0 10px 40px rgba(10, 22, 36, 0.45);
}

.navbar .container.nav-container {
    padding: 2px 24px;
}

.logo a {
    font-size: 0.75rem;
    font-weight: 800;
}

.logo a img {
    height: 70px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

/* Nav item with dropdown (desktop) */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.95);
    font: inherit;
    cursor: pointer;
}

.nav-dropdown-caret {
    font-size: 0.7rem;
    opacity: 0.8;
}

.nav-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 16px;
    background: #111827;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(201, 210, 220, 0.3);
    display: none;
    z-index: 1001;
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.nav-dropdown a::after {
    display: none;
}

.nav-item-has-dropdown:hover .nav-dropdown {
    display: block;
}

.nav-links a.btn.btn-primary {
    background: var(--white);
    color: var(--primary) !important;
}

.nav-links a.btn.btn-primary:hover {
    background: var(--accent);
    color: var(--white) !important;
}

/* Hamburger → X Icon Transformation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    padding: 200px 0 150px;
    overflow: hidden;
    background-color: var(--primary);
}

.hero-light {
    /* background-color: rgba(15, 185, 198, 0.1); */
    color: var(--white);
}

.hero-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.hero-dots-tr {
    top: 100px;
    right: 8%;
}

.hero-dots-tr::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--text), var(--text) 6px, transparent 6px, transparent 12px);
    opacity: 0.25;
}

.hero-dots-tr::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 60px;
    background: repeating-linear-gradient(180deg, var(--text), var(--text) 6px, transparent 6px, transparent 12px);
    opacity: 0.25;
}

.hero-dots-bl {
    bottom: 100px;
    left: 8%;
}

.hero-dots-bl::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--text), var(--text) 6px, transparent 6px, transparent 12px);
    opacity: 0.25;
}

.hero-dots-bl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 60px;
    background: repeating-linear-gradient(180deg, var(--text), var(--text) 6px, transparent 6px, transparent 12px);
    opacity: 0.25;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-testimonial-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--white);
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.2;
}

/* Rotating "Future-*" slide animation */
.hero-title-rotating-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    /* min-width: 19ch;  */
}

.hero-title-rotating {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.hero-title-rotating.slide-out {
    transform: translateX(-120%);
    opacity: 0;
}

.hero-title-rotating.slide-in {
    transform: translateX(120%);
    opacity: 0;
}

.hero-title-rotating.slide-in.ready {
    transform: translateX(0);
    opacity: 1;
}

.hero-title-underline {
    position: relative;
    display: inline-block;
}

.hero-title-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -4px;
    right: -4px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 20'%3E%3Cpath d='M5 12 Q40 2 80 14 Q120 4 160 12 Q200 6 215 10' fill='none' stroke='%230FB9C6' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 100% 16px;
    opacity: 1;
    filter: drop-shadow(0 1px 2px rgba(15, 185, 198, 0.3));
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0.9;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--white);
    color: var(--text);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-base);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-cta:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* ===========================
   Section Commons
   =========================== */

section {
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(15, 185, 198, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text);
    opacity: 0.8;
}

/* ===========================
   Content Pages
   =========================== */

.content-page-main {
    padding: 140px 0 80px;
    background: var(--light-bg);
    min-height: 80vh;
}

.content-hero {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.2;
}

.content-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.7;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 60px;
    border: 1px solid var(--border);
}

.content-section {
    margin-bottom: 48px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--accent);
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.content-section h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 700;
}

.content-section h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.content-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
    opacity: 0.9;
}

.content-section ul,
.content-section ol {
    margin: 24px 0;
    padding-left: 32px;
}

.content-section li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
    opacity: 0.9;
    padding-left: 8px;
}

.content-section ul li::marker {
    color: var(--accent);
    font-weight: bold;
}

.content-section ol li::marker {
    color: var(--accent);
    font-weight: bold;
}

.content-section strong {
    color: var(--primary);
    font-weight: 700;
}

.content-section a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.content-section a:hover {
    border-bottom-color: var(--accent);
}

.content-card {
    background: var(--light-bg);
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    border-radius: 12px;
    margin: 32px 0;
}

.content-card h4 {
    margin-top: 0;
    color: var(--accent);
    font-size: 1.125rem;
}

.content-card p {
    margin-bottom: 0;
}

.content-highlight {
    background: linear-gradient(135deg, rgba(15, 185, 198, 0.1) 0%, rgba(8, 145, 166, 0.1) 100%);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
}

.content-highlight h3 {
    margin-top: 0;
    color: var(--accent);
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-table th {
    background: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.content-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-table tr:hover {
    background: var(--light-bg);
}

.content-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 48px 0;
    border: none;
}

.content-badge {
    display: inline-block;
    background: rgba(15, 185, 198, 0.1);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.content-grid-item {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.content-grid-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.content-grid-item h4 {
    margin-top: 0;
    color: var(--accent);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 40px 24px;
        border-radius: 16px;
    }
    
    .content-hero {
        margin-bottom: 40px;
    }
    
    .content-section {
        margin-bottom: 36px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Problem Section
   =========================== */

.problem-section {
    background: var(--light-bg);
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.problem-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: left;
    border: 2px solid transparent;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.problem-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===========================
   Programme Section
   =========================== */

.programme-section {
    background: var(--white);
    text-align: center;
}

.programme-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.programme-hero-card {
    background: linear-gradient(135deg, var(--accent) 0%, #0891A6 100%);
    color: var(--white);
    padding: 48px;
    border-radius: 20px;
    margin-bottom: 32px;
}

.programme-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.programme-hero-card h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.programme-hero-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.programme-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.feature-icon {
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.6;
}

.programme-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card, .ideal-for-card {
    background: var(--light-bg);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--border);
}

.info-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.info-desc {
    font-size: 0.9375rem;
    color: var(--text);
    opacity: 0.8;
}

.ideal-for-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.ideal-for-card ul {
    list-style: none;
}

.ideal-for-card li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    font-size: 1rem;
}

.ideal-for-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ===========================
   How It Works Section
   =========================== */

.how-it-works-section {
    background: var(--white);
    text-align: center;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 60px auto 80px;
    text-align: left;
}

.how-block {
    background: var(--light-bg);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.how-block:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.how-block-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
}

.how-block h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
    padding-right: 48px;
}

.how-block p {
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.how-highlights {
    list-style: none;
    margin-top: 12px;
}

.how-highlights li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.how-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.how-highlights strong {
    color: var(--primary);
}

.framework-card {
    padding: 24px;
}

.framework-title {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.framework-tier {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.framework-tier:last-child {
    border-bottom: none;
}

.tier-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.tier-desc {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.85;
}

.tier-platinum .tier-name { color: #888888;}
.tier-gold .tier-name { color: #FFD700;}
.tier-silver .tier-name { color: #C0C0C0;}
.tier-bronze .tier-name { color: #CD7F32;}

.timeline {
    max-width: 800px;
    margin: 60px auto 80px;
    text-align: left;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 40px;
    bottom: 40px;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), #0891A6);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 0 0 8px rgba(15, 185, 198, 0.1);
}

.timeline-label {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.timeline-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.timeline-meta {
    display: inline-block;
    background: rgba(15, 185, 198, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #0F2537 100%);
    color: var(--white);
    padding: 60px 48px;
    border-radius: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-box button{
    color: #000 !important;
}

/* ===========================
   Learner Pathway Section
   =========================== */

.learner-pathway-section {
    background: var(--light-bg);
    text-align: center;
}

.pathway {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: left;
}

.pathway-stage {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border);
    
}

.pathway-stage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(15, 185, 198, 0.05), rgba(8, 145, 166, 0.05));
}

.pathway-stage.highlight {
    background: linear-gradient(135deg, rgba(15, 185, 198, 0.05), rgba(8, 145, 166, 0.05));
    border-color: var(--accent);
}

.pathway-simple .stage-content {
    padding-top: 0;
}

.pathway-simple .stage-description {
    margin-bottom: 0;
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stage-number {
    background: var(--accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stage-header h3 {
    font-size: 1.75rem;
    color: var(--primary);
    flex: 1;
}

.stage-duration {
    font-size: 0.9375rem;
    color: var(--text);
    opacity: 0.7;
    font-weight: 600;
}

.stage-description {
    font-size: 1.0625rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.stage-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stage-topics li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.topic-icon {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.stage-topics li > div {
    flex: 1;
}

.stage-topics strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.stage-topics p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* ===========================
   Partners Section
   =========================== */

.partners-section {
    background: var(--white);
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 60px 0 80px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.partner-logo:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.logo-placeholder {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.6;
    letter-spacing: 1px;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: var(--light-bg);
    border-radius: 16px;
    text-align: left;
}

.trust-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.trust-text p {
    font-size: 0.9375rem;
}

/* ===========================
   Contact Section
   =========================== */

.contact-section {
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-info > p {
    font-size: 1.125rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(15, 185, 198, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.8;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-base);
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: var(--accent);
    color: #FFFFFF !important;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ===========================
   Forms
   =========================== */

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-base);
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(15, 185, 198, 0.1);
}

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

.form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--accent);
}

.form-checkbox label {
    font-size: 0.9375rem;
    color: var(--text);
    cursor: pointer;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.7;
    text-align: center;
    margin-top: 20px;
}

/* ===========================
   Apply CTA Section
   =========================== */

.apply-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0F2537 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.apply-cta-content h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 24px;
}

.apply-cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.apply-note {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px !important;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
    color: var(--white);
}

/* ===========================
   Modal
   =========================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 36, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--light-bg);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-header p {
    font-size: 1.0625rem;
    color: var(--text);
    opacity: 0.8;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-testimonial-img {
        max-width: 400px;
        margin: 30px auto;
    }
    
    .programme-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 80px 24px 32px;
        background: #3f3f3feb;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
        overflow-y: auto;
        z-index: 999;
        border-left: 1px solid rgba(201, 210, 220, 0.3);
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(201, 210, 220, 0.3);
    }
    
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1.0625rem;
        color: var(--white);
    }
    
    .nav-links a:hover {
        color: var(--accent);
    }
    
    .nav-links a.btn {
        width: 100%;
        justify-content: center;
        background: none !important;
        border: none !important;
        color: #fff;
    }
    
    .nav-links a.btn:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    /* Stack dropdown content inside mobile menu */
    .nav-item-has-dropdown {
        border-bottom: none;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 0;
    }

    .nav-dropdown {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 8px;
        display: block;
    }

    .nav-dropdown a {
        padding-left: 18px;
        font-size: 0.9rem;
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .logo a {
        font-size: 0.8125rem;
        line-height: 1.25;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-grid {
        gap: 32px;
    }
    
    .hero-testimonial-img {
        max-width: 300px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-icon {
        width: 48px;
        height: 48px;
        left: -4px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
}

@media (max-width: 400px) {
    .logo a {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .how-block {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .programme-hero-card,
    .cta-box {
        padding: 24px 16px;
    }
    
    .feature-card {
        flex-direction: column;
        padding: 20px;
    }
    
    .stage-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .pathway-stage {
        padding: 24px;
    }
    
    .apply-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px 16px;
    }
    
    .btn-hero-cta {
        /* width: 100%; */
    }
}

/* ===========================
   Utility Classes
   =========================== */

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ===========================
   Scroll Reveal Animations
   =========================== */

[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-scroll].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Chatbot Widget
   =========================== */

.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    font-family: var(--font-base);
}

.chatbot-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(15, 185, 198, 0.4);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(15, 185, 198, 0.5);
}

.chatbot-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 480px;
    max-height: calc(100vh - 140px);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    overflow: hidden;
}

.chatbot-widget.open .chatbot-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
}

.chatbot-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    opacity: 0.9;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--light-bg);
}

.chatbot-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chatbot-message.bot {
    background: var(--white);
    color: var(--text);
    align-self: flex-start;
    box-shadow: var(--shadow-sm);
}

.chatbot-message.user {
    background: var(--accent);
    color: var(--white);
    align-self: flex-end;
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.chatbot-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--font-base);
    transition: var(--transition);
}

.chatbot-input-area input:focus {
    outline: none;
    border-color: var(--accent);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-send:hover {
    background: #0891A6;
}

@media (max-width: 480px) {
    .chatbot-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-panel {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 64px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
}
