/* ==========================================================================
   Minimalist Bright Design System & Flyer Colors: Pre-SHS Skills Training
   ========================================================================== */

/* Typography Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Bright, Harmonious Light Theme Base */
    --bg-base: #F8F9FC;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #F1F5F9;
    
    /* Slate Typography System (Strict Web Accessibility Standards) */
    --text-primary: #1E293B;     /* Deep slate for titles/headers */
    --text-secondary: #475569;   /* Slate grey for body content */
    --text-muted: #64748B;       /* Light cool slate for subtext */

    /* Flyer Coherent Accents */
    --accent-blue: #355DF5;      /* Vibrant Royal Blue from flyer */
    --accent-blue-glow: rgba(53, 93, 245, 0.08);
    
    --accent-orange: #EF4E22;    /* Vibrant Warm Orange from flyer */
    --accent-orange-hover: #D73C14;
    --accent-orange-glow: rgba(239, 78, 34, 0.08);
    
    --border-color: #E2E8F0;     /* Soft slate border */
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions & Physics */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset & Globals */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Faint corner color blooms (extremely clean, no heavy grids/dots) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(53, 93, 245, 0.025) 0%, transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(239, 78, 34, 0.025) 0%, transparent 55%);
    pointer-events: none;
}

/* Page Layout Fluid Wrapper */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 100vh;
}

/* Header Branding Header */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo-badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.logo-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(239, 78, 34, 0.3);
    animation: pulse-dot-orange 2.5s infinite;
}

/* Main Split Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* ==========================================================================
   Right Side (Flyer Image Column) - First on Mobile
   ========================================================================== */
.hero-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Silver/White Modern Bezel frame */
.device-bezel {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border: 10px solid #E2E8F0;
    border-radius: 32px;
    box-shadow: 
        0 20px 50px -15px rgba(148, 163, 184, 0.25),
        0 0 30px rgba(53, 93, 245, 0.04),
        inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 4px;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    animation: gentle-float 6s ease-in-out infinite alternate;
}

.device-bezel:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 30px 70px -20px rgba(148, 163, 184, 0.35),
        0 0 40px rgba(53, 93, 245, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Bezel speaker slit notch */
.device-bezel::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: #CBD5E1;
    border-radius: 0 0 3px 3px;
    z-index: 10;
}

.device-screen {
    border-radius: 20px;
    overflow: hidden;
    background: #F8FAFC;
    display: block;
    aspect-ratio: 4 / 5.65; /* Exact aspect ratio of flyer to avoid cropping */
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.hero-flyer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Glass reflection sweeps across the frame on hover */
.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.45) 50%,
        transparent 70%
    );
    transform: skewX(-20deg);
    z-index: 2;
    transition: left 0.8s ease;
}

.device-bezel:hover .device-screen::before {
    left: 150%;
}

/* ==========================================================================
   Left Side (Details, Content, Bullet lists & CTAs)
   ========================================================================== */
.hero-content-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Typography elements */
.eyebrow {
    color: var(--accent-orange);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.eyebrow-line {
    width: 32px;
    height: 3px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.main-headline {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.headline-highlight {
    color: var(--accent-orange);
    display: inline-block;
}

.sub-headline {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 650px;
}

/* Dynamic details card grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* Date Details & Location Block */
.detail-inline-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.03);
}

.detail-inline-icon {
    background: var(--accent-orange-glow);
    color: var(--accent-orange);
    border: 1px solid rgba(239, 78, 34, 0.1);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-inline-icon svg {
    width: 22px;
    height: 22px;
}

.detail-inline-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-orange);
    display: block;
}

.detail-inline-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-inline-subtext {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* ==========================================================================
   Flyer Coherent Royal Blue Programs Module Card
   ========================================================================== */
.programs-blue-card {
    background: var(--accent-blue);
    color: #FFFFFF;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 
        0 12px 30px -10px rgba(53, 93, 245, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.programs-blue-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 12px;
}

.programs-blue-card-title svg {
    width: 24px;
    height: 24px;
}

/* Bullet list (Each module on a new line, clean layout) */
.modules-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.module-bullet-item {
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.module-bullet-item svg.bullet-arrow {
    color: rgba(255, 255, 255, 0.9);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Highlighted Bonus Practical Entrepreneurship (Star badge icon) */
.module-bullet-item.bonus-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 14px;
    margin-top: 6px;
    font-weight: 600;
}

.module-bullet-item.bonus-item svg.bullet-star {
    color: #FFD700; /* Rich gold highlight */
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    animation: star-spin 8s linear infinite;
}

.bonus-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.45;
    margin-left: 34px; /* Matches the star icon offset */
}

/* ==========================================================================
   Investment Details Component (Covers breakdown)
   ========================================================================== */
.investment-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(148, 163, 184, 0.03);
}

.investment-header-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

/* High impact orange cost badge from flyer */
.cost-badge {
    background: var(--accent-orange);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(239, 78, 34, 0.2);
    display: inline-flex;
    align-items: center;
}

.investment-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.inclusions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-top: 4px;
}

.inclusion-pill {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.inclusion-pill svg {
    color: var(--accent-blue);
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Call To Action (CTA & Prominent Contact Hub)
   ========================================================================== */
.cta-area {
    background: var(--bg-surface);
    border: 1.5px solid var(--accent-orange);
    border-radius: 24px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 
        0 10px 30px -15px rgba(239, 78, 34, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.01);
}

.cta-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-tag {
    align-self: flex-start;
    background: var(--accent-orange);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(239, 78, 34, 0.1);
}

.cta-text {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

/* High conversion contact grid cards */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

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

.contact-number-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-number-label svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
}

/* Dual triggers: Call Now & WhatsApp outline */
.contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-fast) var(--transition-spring);
    cursor: pointer;
}

/* Direct Dial Call Button */
.btn-call {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.btn-call:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Flyer Theme Blue WhatsApp button */
.btn-whatsapp {
    background: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(53, 93, 245, 0.15);
}

.btn-whatsapp:hover {
    background: #2045DC;
    border-color: #2045DC;
    box-shadow: 0 6px 12px rgba(53, 93, 245, 0.25);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid var(--border-color);
    padding: 32px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-top: auto;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: #2045DC;
    text-decoration: underline;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulse-dot-orange {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(239, 78, 34, 0.4);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 6px rgba(239, 78, 34, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(239, 78, 34, 0);
    }
}

@keyframes gentle-float {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes star-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Responsive Viewport Auditing Breakpoints
   ========================================================================== */

/* Handheld large & Tablet landscape screens */
@media (min-width: 600px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .investment-header-row {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

/* Desktop wide layouts (992px & Up) */
@media (min-width: 992px) {
    .page-container {
        padding: 40px;
        gap: 60px;
    }

    .main-grid {
        grid-template-columns: 58fr 42fr; /* 58% content column, 42% flyer bezel mockup column */
        gap: 64px;
        align-items: start;
    }

    .hero-image-column {
        order: 1; /* Aligns bezel frame layout on the right side on desktop */
        position: sticky;
        top: 40px; /* Keeps the bezel floating and visible during scroll */
    }

    .hero-content-column {
        order: 0; /* Aligns copy content layout on the left side on desktop */
    }

    .device-bezel {
        max-width: 100%; /* Adapts width fluidly inside its column */
    }
}
