@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.08);
    --accent: #fbbf24;
    --accent-dark: #d97706;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.12);
    --font-main: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme Variables Override */
html[data-theme="dark"] {
    --bg: #0b0f19;
    --bg-light: #0f172a;
    --bg-gray: #1e293b;
    --card-bg: #111827;
    --text-dark: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 20px 45px rgba(37, 99, 235, 0.18);
    --primary-light: rgba(37, 99, 235, 0.18);
}

/* Theme Toggle Button Style */
.theme-toggle-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    transition: var(--transition);
    margin-left: 0.75rem;
}
.theme-toggle-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: scale(1.1) rotate(15deg);
}

/* Client Logo Card Custom Class with premium hover effect */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 110px;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}
.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.client-logo-card:hover {
    transform: translateY(-8px) scale(1.06) rotate(1.5deg);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}
.client-logo-card:hover img {
    transform: scale(1.05);
}

/* Ensure images stand out on dark themes */
html[data-theme="dark"] .client-logo-card img {
    filter: brightness(0.95) contrast(1.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; /* Offset for sticky navbar + top info bar */
}
body {
    background: var(--bg);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TOP INFO BAR (Corporate Datapro-style) ===== */
.top-info-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, #002a5c 100%);
    color: rgba(255,255,255,0.9);
    padding: 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-info-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.45rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-info-left span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.top-info-left i { color: var(--accent); font-size: 0.75rem; }
.top-info-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.top-info-right a {
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}
.top-info-right a:hover { color: var(--accent); }
.top-info-right i { color: var(--accent); font-size: 0.75rem; }
.top-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.top-socials a {
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.7rem;
    transition: var(--transition);
}
.top-socials a:hover { background: var(--accent); transform: scale(1.15); }

/* keep old .top-bar for backward compat */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}
.top-bar .ticker-wrap { overflow: hidden; white-space: nowrap; }
.top-bar .ticker { display: inline-block; animation: ticker 25s linear infinite; }
@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}
html[data-theme="dark"] .navbar {
    background: rgba(11, 15, 25, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}
.nav-logo-img:hover { opacity: 0.85; }

/* fallback text logo */
.logo { display: flex; flex-direction: column; }
.logo-main {
    font-family: var(--font-main);
    font-size: 1.6rem; font-weight: 800;
    color: var(--primary); letter-spacing: 1px; line-height: 1;
}
.logo-tagline {
    font-size: 0.65rem; color: var(--accent);
    font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}
.nav-links li {
    position: relative;
}
.nav-link {
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.nav-arrow {
    font-size: 0.65rem;
    opacity: 0.5;
    transition: var(--transition);
}
.dropdown:hover .nav-arrow { opacity: 1; transform: rotate(180deg); }
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    padding: 0.5rem 0;
}
.dropdown-menu li { width: 100%; }
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.dropdown-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
}
/* Dropdown icon circle */
.dm-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.dropdown-menu li a:hover .dm-icon {
    background: var(--primary);
    color: #fff;
}
.dm-text { display: flex; flex-direction: column; line-height: 1.3; }
.dm-text strong { font-family: var(--font-main); font-weight: 600; color: var(--text-dark); font-size: 0.88rem; }
.dropdown-menu li a:hover .dm-text strong { color: var(--primary); }
.dm-text small { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 88vh;
    min-height: 500px;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-media-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-media-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,61,128,0.85) 0%, rgba(0,86,179,0.6) 100%);
}
.hero-media-wrapper img, .hero-media-wrapper video {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.hero-title {
    font-family: var(--font-main);
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.slider-arrows {
    position: absolute;
    top: 50%; width: 100%;
    display: flex; justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 10; pointer-events: none;
}
.slider-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; pointer-events: auto; transition: var(--transition);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--primary);
    padding: 2.5rem 2rem;
}
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
    font-family: var(--font-main);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.7rem 1.8rem;
    font-family: var(--font-main);
    font-size: 0.9rem; font-weight: 600;
    border-radius: 50px; border: none; cursor: pointer;
    transition: var(--transition); gap: 0.5rem;
}
.btn-glow, .btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 15px rgba(0,86,179,0.3);
}
.btn-glow:hover, .btn-primary:hover {
    background: var(--primary-dark); color: #fff;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,86,179,0.4);
}
.btn-accent {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 15px rgba(247,148,29,0.3);
}
.btn-accent:hover {
    background: var(--accent-dark); color: #fff;
    transform: translateY(-2px);
}
.btn-secondary {
    background: #fff; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--primary); color: #fff; transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b02a37; color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-bg { background: var(--bg-light); }
.section-blue { background: var(--primary); }
.section-title {
    font-family: var(--font-main);
    font-size: 2.2rem; font-weight: 700;
    color: var(--text-dark); text-align: center;
    margin-bottom: 0.75rem;
}
.section-title span { color: var(--primary); }
.section-subtitle {
    text-align: center; color: var(--text-muted);
    font-size: 1rem; margin-bottom: 3rem;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.section-divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.5rem auto 2.5rem;
    border-radius: 2px;
}

/* ===== CARDS ===== */
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
/* legacy alias */
.glass-card { 
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

/* ===== COURSE CARDS ===== */
.course-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.course-card.hide-card { display: none !important; }

.course-image-wrapper {
    height: 180px; overflow: hidden; background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
}
.course-image-wrapper img { width: 100%; height: 100%; object-fit: contain; background: var(--card-bg); transition: var(--transition); }
.course-card:hover .course-image-wrapper img { transform: scale(1.05); }

.course-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-category {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--accent); margin-bottom: 0.5rem;
    display: block;
}
.course-title { font-family: var(--font-main); font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.course-desc { color: var(--text-muted); font-size: 0.9rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }

.course-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); padding-top: 0.75rem; border-top: 1px solid var(--border); }
.course-meta span i { color: var(--primary); margin-right: 0.3rem; }
.course-footer { padding: 1rem 1.25rem; background: var(--bg-light); border-top: 1px solid var(--border); }

.syllabus-btn {
    background: none; border: none; color: var(--primary);
    font-weight: 600; font-size: 0.875rem; cursor: pointer;
    display: flex; align-items: center; gap: 0.4rem;
    font-family: var(--font-body); padding: 0;
}

.syllabus-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.syllabus-content.open { max-height: 500px; padding: 0.75rem; background: var(--bg-light); border-radius: var(--radius); margin-top: 0.75rem; border: 1px solid var(--border); }

.logo-slider-container {
    background: var(--card-bg); padding: 2rem 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.logo-slider { display: flex; width: calc(200px * 16); animation: scroll 30s linear infinite; }
.logo-slide { width: 200px; display: flex; justify-content: center; align-items: center; padding: 0 1rem; }
.logo-slide h3 { font-family: var(--font-main); color: var(--text-muted); font-weight: 700; font-size: 1rem; letter-spacing: 1px; }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 8)); } }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.form-input, input[type=text], input[type=email], input[type=password], input[type=tel], select, textarea {
    width: 100%; padding: 0.7rem 1rem;
    background: var(--card-bg); border: 1.5px solid var(--border);
    border-radius: var(--radius); color: var(--text-dark);
    font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition);
}

.form-input:focus, input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,86,179,0.1);
}
textarea { resize: vertical; min-height: 100px; }
.alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-error, .alert-danger { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.alert-info { background: #d1ecf1; border: 1px solid #bee5eb; color: #0c5460; }
.alert-warning { background: #fff3cd; border: 1px solid #ffeeba; color: #856404; }

/* ===== TESTIMONIALS ===== */
.testimonials-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: relative; transition: var(--transition); }
.testimonial-card::before { content: '\201C'; font-size: 4rem; color: var(--primary); opacity: 0.15; position: absolute; top: 0.5rem; left: 1rem; font-family: serif; line-height: 1; }
.testimonial-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); }
.testimonial-stars { color: var(--warning); font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial-text { font-style: italic; color: var(--text-body); font-size: 0.92rem; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-user { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); font-family: var(--font-main); }
.testimonial-course { font-size: 0.8rem; color: var(--primary); }

/* ===== GRADIENT TEXT (keep for compatibility) ===== */
.gradient-text { color: var(--primary); font-weight: 800; }

/* ===== FOOTER ===== */
.footer { background: #0d2145; color: #cdd6e8; padding: 4rem 2rem 0; margin-top: 0; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer h3 { color: #fff; font-family: var(--font-main); font-size: 1.5rem; margin-bottom: 1rem; }
.footer-about p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.9rem; transition: var(--transition); }
.social-icon:hover { background: var(--accent); transform: translateY(-3px); }
.footer-title { font-family: var(--font-main); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #cdd6e8; font-size: 0.88rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--accent); font-weight: 700; }
.footer-contact li { display: flex; gap: 0.75rem; margin-bottom: 0.85rem; font-size: 0.88rem; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; min-width: 14px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }
.badge-success { background: #d4edda; color: #155724; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-primary { background: var(--primary-light); color: var(--primary); }

/* ===== ICON BOXES ===== */
.icon-box { text-align: center; padding: 2rem 1.5rem; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.icon-box:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
.icon-box-icon { width: 65px; height: 65px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1.25rem; transition: var(--transition); }
.icon-box:hover .icon-box-icon { background: var(--primary); color: #fff; }
.icon-box h3 { font-family: var(--font-main); font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.icon-box p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ===== FEATURE LIST ===== */
.feature-list { list-style: none; }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1rem; font-size: 0.95rem; }
.feature-list li i { color: var(--primary); margin-top: 3px; min-width: 18px; }

/* ===== PLACEMENT COMPANIES ===== */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.company-logo {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.company-logo:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.company-logo span {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
    }
}
@media (max-width: 480px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .company-logo {
        padding: 1rem 0.25rem;
    }
    .company-logo span {
        font-size: 0.85rem;
    }
}

/* ===== SECTION HEADER WITH LINE ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 0.3rem 1rem; border-radius: 50px; margin-bottom: 0.75rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2,1fr); }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .testimonials-slider { grid-template-columns: repeat(2,1fr); }
    .footer-container { grid-template-columns: repeat(2,1fr); }
    .stats-container { grid-template-columns: repeat(2,1fr); }
    .top-info-left span:nth-child(2) { display: none; }
}
@media (max-width: 768px) {
    .top-info-bar { display: none; }
    .nav-toggle { display: block; }
    .nav-logo-img { height: 55px; }
    .nav-container { height: 75px; }
    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 75px; left: 0; width: 100%;
        background: #fff; border-bottom: 3px solid var(--primary);
        padding: 1.5rem; gap: 0.25rem; z-index: 999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }
    .dropdown-menu {
        position: static;
        transform: none;
        left: auto;
        min-width: 100%;
        border-top: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
        display: none;
        opacity: 1; visibility: visible;
    }
    .dropdown:hover .dropdown-menu,
    .dropdown.open .dropdown-menu {
        display: block;
        transform: none;
    }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; }
    .grid-2, .grid-3, .grid-4, .stats-container, .testimonials-slider { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 3.5rem 1.25rem; }
    .section-title { font-size: 1.8rem; }
}

/* ===== VISION CIRCULAR DIAGRAM SECTION ===== */
.vision-section-wrapper {
    background: radial-gradient(circle at center, #ffffff 0%, #f7f9fc 100%);
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.vision-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.vision-text-side {
    padding-right: 1.5rem;
}
.vision-text-side h2 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.vision-text-side h2 span {
    color: var(--primary);
}
.vision-desc {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.vision-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vision-bullet-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.vision-bullet-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.vision-bullet-text strong {
    color: var(--text-dark);
    font-size: 0.95rem;
}
.vision-bullet-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* The Circle Wrapper and Orbit System */
.circle-graphic-side {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 480px;
}
.circle-outer-ring {
    position: relative;
    width: 360px;
    height: 360px;
    border: 2px dashed rgba(0, 86, 179, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotateRing 120s linear infinite;
}
.circle-outer-ring:hover {
    animation-play-state: paused;
}
@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Center Hub */
.circle-center-hub {
    position: absolute;
    width: 140px;
    height: 140px;
    background: #ffffff;
    border: 4px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem;
    z-index: 10;
    text-align: center;
    animation: counterRotateHub 120s linear infinite;
    animation-play-state: inherit;
}
@keyframes counterRotateHub {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
.circle-center-hub img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Individual Nodes orbiting the hub */
.circle-node {
    position: absolute;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: counterRotateNodes 120s linear infinite;
    animation-play-state: inherit;
}
@keyframes counterRotateNodes {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
.circle-node i {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
    transition: transform 0.3s ease;
}
.circle-node span {
    font-family: var(--font-main);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}
.circle-node:hover {
    transform: scale(1.18);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.circle-node:hover i {
    transform: scale(1.2);
}

/* Trigonometric Positioning around 360px circle (Radius = 180px) */
/* Top-left center: 50% 50% */
.node-1 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(0deg) translate(180px) rotate(0deg); }
.node-2 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(40deg) translate(180px) rotate(-40deg); }
.node-3 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(80deg) translate(180px) rotate(-80deg); }
.node-4 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(120deg) translate(180px) rotate(-120deg); }
.node-5 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(160deg) translate(180px) rotate(-160deg); }
.node-6 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(200deg) translate(180px) rotate(-200deg); }
.node-7 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(240deg) translate(180px) rotate(-240deg); }
.node-8 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(280deg) translate(180px) rotate(-280deg); }
.node-9 { top: calc(50% - 38px); left: calc(50% - 38px); transform: rotate(320deg) translate(180px) rotate(-320deg); }

/* Node Specific Colors */
.node-1 i { color: #28a745; } /* Placements */
.node-2 i { color: #f7941d; } /* Innovate */
.node-3 i { color: #0056b3; } /* Training */
.node-4 i { color: #e07b00; } /* Skills */
.node-5 i { color: #6f42c1; } /* Development */
.node-6 i { color: #17a2b8; } /* Sharing */
.node-7 i { color: #e83e8c; } /* Support */
.node-8 i { color: #20c997; } /* Mentoring */
.node-9 i { color: #fd7e14; } /* Guidance */

/* Mobile view vision layout */
@media (max-width: 991px) {
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .vision-text-side {
        padding-right: 0;
        text-align: center;
    }
    .vision-bullet-item {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .circle-outer-ring {
        width: 280px;
        height: 280px;
    }
    .circle-graphic-side {
        height: 380px;
    }
    .circle-center-hub {
        width: 100px;
        height: 100px;
    }
    .circle-node {
        width: 60px;
        height: 60px;
    }
    .circle-node i {
        font-size: 0.95rem;
    }
    .circle-node span {
        font-size: 0.55rem;
    }
    .node-1 { transform: rotate(0deg) translate(140px) rotate(0deg); }
    .node-2 { transform: rotate(40deg) translate(140px) rotate(-40deg); }
    .node-3 { transform: rotate(80deg) translate(140px) rotate(-80deg); }
    .node-4 { transform: rotate(120deg) translate(140px) rotate(-120deg); }
    .node-5 { transform: rotate(160deg) translate(140px) rotate(-160deg); }
    .node-6 { transform: rotate(200deg) translate(140px) rotate(-200deg); }
    .node-7 { transform: rotate(240deg) translate(140px) rotate(-240deg); }
    .node-8 { transform: rotate(280deg) translate(140px) rotate(-280deg); }
    .node-9 { transform: rotate(320deg) translate(140px) rotate(-320deg); }
}

/* Orbiting Wheel Bubble styles (Flying entrance scroll animation) */
.interactive-wheel-container {
    perspective: 1000px;
}
.wheel-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 86px;
    height: 86px;
    margin-left: -43px;
    margin-top: -43px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0056b3;
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    z-index: 5;
    /* Collapsed initially at center */
    transform: translate(0, 0) scale(0);
}
/* Active scroll-in trigger */
.vision-section-wrapper.active .wheel-bubble {
    transform: rotate(var(--angle)) translate(170px) rotate(calc(-1 * var(--angle))) scale(1);
}
.bubble-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 4px;
}
.bubble-inner i {
    font-size: 1.25rem;
    color: var(--color);
    margin-bottom: 3px;
}
.bubble-inner span {
    font-family: var(--font-main);
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.3px;
    line-height: 1.2;
}
.wheel-bubble:hover {
    border-color: var(--color);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.18);
    transform: rotate(var(--angle)) translate(170px) rotate(calc(-1 * var(--angle))) scale(1.1) !important;
}

@media (max-width: 480px) {
    .interactive-wheel-container {
        height: 380px !important;
    }
    .wheel-bubble {
        width: 72px !important;
        height: 72px !important;
        margin-left: -36px !important;
        margin-top: -36px !important;
    }
    .vision-section-wrapper.active .wheel-bubble {
        transform: rotate(var(--angle)) translate(125px) rotate(calc(-1 * var(--angle))) scale(1);
    }
    .wheel-bubble:hover {
        transform: rotate(var(--angle)) translate(125px) rotate(calc(-1 * var(--angle))) scale(1.08) !important;
    }
    .bubble-inner i {
        font-size: 1.05rem !important;
    }
    .bubble-inner span {
        font-size: 0.5rem !important;
    }
    .wheel-bg-logo {
        width: 95% !important;
    }
}

/* ==========================================
   PREMIUM GLOBAL DYNAMIC STYLING UPGRADES
   ========================================== */

/* Fade-in Entrance animations for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section, .promo-banner-section, .stats-bar, .courses-grid, .companies-grid {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Glassmorphism adjustments on dynamic widgets */
.dropdown-menu, #whatsappCard, .course-card, .promo-card, .card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Premium Card hover glowing border & zoom effect */
.course-card, .promo-card, .company-logo, .testimonial-card, .icon-box {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.course-card:hover, .promo-card:hover, .testimonial-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.12) !important;
    border-color: rgba(0, 86, 179, 0.25) !important;
}

/* Dynamic glow elements for buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}
.btn:hover::before {
    width: 300%;
    height: 300%;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3) !important;
}
.btn-accent:hover {
    box-shadow: 0 5px 15px rgba(247, 148, 29, 0.4) !important;
}

