/* =========================================================
   THEME VARIABLES
========================================================= */
:root {
    --brand: #1e7afa;
    --brand-2: #7b5cff;
    --dark: #0E2637;
    --gradient: linear-gradient(135deg, #0c2a45 0%, #092137 35%, #061726 100%);
    --glass: rgba(255, 255, 255, .08);

    /* Header */
    --header-bg: #0E2637;
    --header-link: #E5E7EB;
    --header-link-hover: #FFFFFF;
    --header-link-active: #2C7BE5;
    --header-button-bg: #FFFFFF;
    --header-button-text: #0E2637;

    /* Footer */
    --footer-bg: #0B1F2A;
    --footer-heading: #FFFFFF;
    --footer-text: #CBD5E1;
    --footer-link: #E5E7EB;
    --footer-link-hover: #FFFFFF;
}

/* =========================================================
   BASE
========================================================= */
html,
body {
    height: 100%;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #0b1736;
    background-color: #ffffff;
}

.container {
    max-width: 1140px;
}

main {
    display: block;
}

/* =========================================================
   NAVBAR
========================================================= */
.site-header .navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--header-bg) !important;
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header .navbar.stuck {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.nav-link {
    color: var(--header-link) !important;
}

.nav-link:hover {
    color: var(--header-link-hover) !important;
}

.nav-link.active {
    color: var(--header-link-active) !important;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn {
    border-radius: 6px !important;
}

.btn-primary {
    background-image: linear-gradient(135deg, var(--brand), var(--brand-2));
    border: none;
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-signin {
    background: var(--header-button-bg);
    color: var(--header-button-text) !important;
    border-radius: 12px;
    padding: .5rem 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

/* =========================================================
   HERO
========================================================= */
.hero-section {
    position: relative;
    background: var(--gradient);
    overflow: hidden;
}

.hero-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    animation: floaty 8s ease-in-out infinite;
}

.hero-icon {
    height: 56px;
    width: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #e5f1ff, #fff);
    color: var(--brand);
    font-size: 28px;
    margin-right: 12px;
}

.stat {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 16px;
}

.stat-icon {
    color: var(--brand);
    font-size: 24px;
}

/* =========================================================
   SPACING
========================================================= */
.py-6 {
    padding: 4.5rem 0;
}

/* =========================================================
   COURSE / CARD SYSTEM
========================================================= */
.course-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(13, 48, 78, .12);
    transition: transform .2s ease, box-shadow .3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(13, 48, 78, .18);
}

/* =========================================================
   IMPROVISED SECTIONS (LEARNING UI)
========================================================= */
.improvised-section {
    position: relative;
    padding: 100px 0 160px;
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop') center/cover no-repeat;
    border-radius: 40px;
    margin: 40px 20px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.improvised-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 26, 47, 0.75) 0%, rgba(7, 26, 47, 0.9) 100%);
    z-index: 1;
}

/* Minimalist Card Styles (Matching Screenshot) */
.minimal-list-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: left;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.minimal-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.minimal-list-item .item-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 12px;
}

.minimal-list-item i {
    font-size: 1.5rem;
    color: #0b1f2a;
    display: block;
    margin-bottom: 15px;
}

.minimal-list-item h6 {
    font-weight: 800;
    color: #0b1f2a;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.minimal-list-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.improvised-section .container {
    position: relative;
    z-index: 10;
}

.improvised-section .section-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.improvised-section .display-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 600px;
}

.badge-elevate {
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Feature Grid Overlapping */
.feature-overlap-grid {
    margin-top: -100px;
    padding-bottom: 80px;
}

.premium-feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 20;
}

.premium-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.15);
}

.feature-icon-v2 {
    width: 54px;
    height: 54px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.premium-feature-card:hover .feature-icon-v2 {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
}

.premium-feature-card h5 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.premium-feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .improvised-section .section-title {
        font-size: 2.8rem;
    }
    .improvised-section {
        padding: 80px 0 120px;
        margin: 20px 10px;
    }
}

@media (max-width: 767px) {
    .improvised-section .section-title {
        font-size: 2.2rem;
    }
    .feature-overlap-grid {
        margin-top: 20px;
    }
    .improvised-section {
        border-radius: 25px;
        padding-bottom: 40px;
    }
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    position: relative;
    background-color: var(--footer-bg) !important;
    color: var(--footer-text);
    overflow: hidden;
}

.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 {
    color: var(--footer-heading) !important;
}

.site-footer p {
    color: var(--footer-text);
}

.social-links a {
    color: var(--footer-link) !important;
}
.social-links a:hover {
    color: var(--footer-link-hover) !important;
}

.footer-links a {
    color: var(--footer-link);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-link-hover);
}

.contact-list li {
    color: var(--footer-text);
}

.site-footer .brand-logo {
    height: 50px;
    width: 150px;
    border-radius: 8px;
}

/* =========================================================
   UTILITIES
========================================================= */
.rounded-4 {
    border-radius: 1rem;
}

/* =========================================================
   ANIMATIONS
========================================================= */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================================================
   PROCESS SECTION
========================================================= */
.process-section {
    position: relative;
    background: var(--gradient);
    overflow: hidden;
    padding: 80px 0;
}

.process-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1519337265831-281ec6cc8514?q=80&w=1600&fit=crop') center/cover no-repeat;
    opacity: .15;
}

.process-step {
    position: relative;
    text-align: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 35px 25px;
    backdrop-filter: blur(10px);
    height: 100%;
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-5px);
}

.process-icon {
    height: 60px;
    width: 60px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: #ffffff;
    margin: 0 auto 20px;
    color: var(--brand);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ================= ACCREDITATION / COMPANIES ================= */
.company-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 25px;
  height: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.company-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

.company-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.company-logo img {
  max-height: 85px;
  max-width: 100%;
  object-fit: contain;
}

.company-title {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  margin-top: 10px;
}
