/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --primary: #0057D9;
    --primary-light: #3b82f6;
    --primary-dark: #003e99;
    --secondary: #0A2540;
    --accent: #F59E0B;
    --bg-color: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Border Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(0, 87, 217, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
    letter-spacing: -0.02em;
}

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

p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

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

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

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

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

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

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

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Background Blobs */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite alternate;
}

.blob-blue {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(0,87,217,0) 70%);
}

.blob-orange {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(245,158,11,0) 70%);
    animation-delay: -5s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 87, 217, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 217, 0.4);
    color: white;
}

.btn-secondary {
    background-color: var(--bg-color);
    color: var(--secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
    border-radius: 0;
}

.btn-outline::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.btn-outline:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--secondary);
    color: white;
    padding: 0.5rem 1.25rem;
}

.btn-nav:hover {
    background-color: var(--text-dark);
    color: white;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    /* padding: 1.5rem 0; */
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* padding: 1rem 0; */
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    display: flex;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--secondary);
    transition: all var(--transition-normal);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.mockup-wrapper {
    position: relative;
    padding: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    border: none;
    box-shadow: var(--shadow-lg);
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--secondary);
    animation: float 6s ease-in-out infinite;
}

.floating-badge svg {
    color: var(--accent);
}

.badge-1 {
    bottom: -20px;
    left: -40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
}

/* ==========================================================================
   Trusted By & Logos
   ========================================================================== */
.section-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2rem;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    width: calc(200px * 10);
    animation: scroll 30s linear infinite;
    gap: 3rem;
}

.logo-item {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #9ca3af;
    filter: grayscale(100%);
    transition: all var(--transition-fast);
}

.logo-item:hover {
    color: var(--secondary);
    filter: grayscale(0%);
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.program-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 87, 217, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* ==========================================================================
   Learning Path
   ========================================================================== */
.timeline-container {
    position: relative;
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    transform: translateY(-50%);
    border-radius: 4px;
}

.timeline-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

.timeline-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.timeline-node {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-node::after {
    content: attr(data-label);
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-node.active {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.2);
}

.timeline-node.active::after {
    color: var(--secondary);
    font-weight: 600;
}

.timeline-node.highlight.active {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.feature-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Curriculum / FAQ Accordion
   ========================================================================== */
.accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: white;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--secondary);
    text-align: left;
}

.module-num {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 1rem;
    background: rgba(0,87,217,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform var(--transition-fast);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   Technologies
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.tech-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

/* ==========================================================================
   Real-Time Projects
   ========================================================================== */
.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-preview {
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.project-preview.preview-1 { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.project-preview.preview-2 { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.project-preview.preview-3 { background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%); }
.project-preview.preview-4 { background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); }

.project-preview::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.4);
    border-radius: var(--radius-md);
    transform: rotate(-15deg);
}

.project-info {
    padding: 2rem;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tags span {
    font-size: 0.75rem;
    background: var(--bg-light);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

/* ==========================================================================
   Training Features Timeline
   ========================================================================== */
.features-timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.features-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.f-timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.f-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
    flex-shrink: 0;
}

.f-content {
    padding: 1.5rem;
    width: 100%;
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-slider {
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    animation: scroll-slow 40s linear infinite;
}

.testimonial-card {
    min-width: 400px;
    padding: 2.5rem;
}

.review {
    font-size: 1.125rem;
    color: var(--secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
}

.info-items {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.info-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
}

input, select, textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: rgba(255,255,255,0.5);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.1);
    background: white;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-muted);
}

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

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: transform var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateX(0);
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

.hidden {
    display: none !important;
}
