:root{
  --brand:#1f68ff;
  --brand-2:#6d28d9;
  --dark:#0f1730;
  --text:#0f1422;
  --muted:#6b7280;
  --bg:#f7f8fc;
  --glass:rgba(255,255,255,.6);
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

html,body{scroll-behavior:smooth}
body{font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Arial,sans-serif;color:var(--text);background:#fff;overflow-x:hidden}
a{color:var(--brand);text-decoration:none}
a:hover{opacity:.92}

/* ─────────────────────────────── */
/* 🧭 Navbar — Scrollable, Non-Sticky, Modern Design */
/* ─────────────────────────────── */

header {
  position: relative !important;  /* removes sticky behavior */
  top: auto;
  z-index: 5;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: transparent !important;
  color: inherit;
}

.navbar .nav-link {
  padding: 0.6rem 1rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

.navbar .nav-link.active {
  color: var(--brand);
  font-weight: 600;
}

.navbar .btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

@media (max-width: 992px) {
  .navbar-collapse {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }

  .navbar .nav-link {
    padding: 0.5rem 0;
  }
}

/* ─────────────────────────────── */
/* Existing Styles (Unchanged) */
/* ─────────────────────────────── */

.hero{background: radial-gradient(1200px 400px at 10% 10%, rgba(31,104,255,.12), transparent), radial-gradient(800px 300px at 90% 30%, rgba(109,40,217,.12), transparent)}
.hero .hero-illustration{max-height:500px;object-fit:cover}
.hero .hero-shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -120px;
  height: 240px;
  background: linear-gradient(180deg, rgba(31,104,255,.17), transparent);
  filter: blur(30px);
  overflow: hidden;
  max-width: 100%;
  pointer-events: none;
}

.page-hero{background:linear-gradient(135deg, rgba(31,104,255,.08), rgba(109,40,217,.08));padding:2.6rem 0}
.page-hero.small{padding:2.2rem 0}

.py-6{padding:4.5rem 0}
.bg-gradient-light{background:linear-gradient(180deg,#fff,var(--bg))}

.feature-card,.offer-card,.program-card,.community-card,.contact-box,.blog-card,.cohort-card,.mentor-card,.resource-card,.auth-card{
  background:#fff;border:1px solid #eef0f6;border-radius:16px;padding:1.25rem;box-shadow:var(--shadow)
}
.feature-card i{font-size:2rem;color:var(--brand)}
.program-card h5,.feature-card h5{margin-top:.3rem}
.cohort-card img,.blog-card img,.community-card img{width:100%;height:180px;object-fit:cover}

.glass{background:var(--glass);backdrop-filter: blur(10px);border:1px solid rgba(255,255,255,.35)}

.timeline{position:relative}
.timeline:before{content:"";position:absolute;left:14px;top:0;bottom:0;width:2px;background:linear-gradient(var(--brand),var(--brand-2))}
.timeline-item{position:relative;padding-left:48px;margin-bottom:20px}
.timeline-badge{position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand-2))}
.timeline-content{background:#fff;border:1px solid #eef0f6;border-radius:12px;padding:1rem;box-shadow:var(--shadow)}

.mini-card{background:#fff;border:1px solid #eef0f6;border-radius:14px;padding:.9rem .9rem;display:flex;align-items:center;gap:.7rem;box-shadow:var(--shadow)}
.mini-card i{color:var(--brand)}
.mini-card .num{font-weight:700;margin-right:.5rem;color:var(--brand)}

.mentor-card{text-align:center}
.mentor-photo{width:84px;height:84px;object-fit:cover}

.roadmap li{display:flex;align-items:center;gap:.75rem;padding:.55rem 0;border-bottom:1px dashed #e5e7eb}
.roadmap li:last-child{border-bottom:none}
.roadmap li span{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:rgba(31,104,255,.1);color:var(--brand);font-weight:700}

.footer{background:linear-gradient(180deg,#0b1220,#0f1730);color:#d1d5db}
.footer a{color:#e5e7eb}
.footer .brand-logo{background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff}

.back-to-top{position:fixed;right:16px;bottom:16px;border-radius:100px;display:none}
.back-to-top.show{display:inline-flex}

.auth-hero{padding:5rem 0;background:linear-gradient(135deg, rgba(31,104,255,.08), rgba(109,40,217,.08))}

.noise-overlay{position:absolute;inset:0;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" opacity="0.07"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="2"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');pointer-events:none}

.tilt{transform-style:preserve-3d;transition:transform .2s ease}
.hover-rise {
  transition: all 0.3s ease;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef0f6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.hover-rise:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(31,104,255,0.15);
}
.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,104,255,.1), rgba(109,40,217,.1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-program-wrapper {
  max-width: 850px; /* Controls how wide the image can go */
  margin: 0 auto;
  position: relative;
}

.hero-program-img {
  border-radius: 20px;
  max-height: 420px; /* Adjusted height */
  object-fit: cover;
  width: 100%;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.hero-program-img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(31, 104, 255, 0.25);
}

.hero-program-overlay {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(31,104,255,0.15), rgba(109,40,217,0.15));
  pointer-events: none;
}

/* Fix for the hero image proportions and background match */
.smooth-hero-img {
  max-width: 95%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  mix-blend-mode: multiply;
  transition: transform 0.5s ease;
}

.smooth-hero-img:hover {
  transform: scale(1.02);
}

.hero {
  background: radial-gradient(1200px 400px at 10% 10%, rgba(31,104,255,.08), transparent),
              radial-gradient(800px 300px at 90% 30%, rgba(109,40,217,.08), transparent);
}

/* Optional: keeps image nicely scaled on smaller screens */
@media (max-width: 992px) {
  .smooth-hero-img {
    max-width: 80%;
    margin-top: 2rem;
  }
}
.vision-image {
  border-radius: 18px;
  object-fit: cover;
  max-height: 420px;
  width: 100%;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
}

.vision-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(31, 104, 255, 0.25);
}
/* ─────────────────────────────── */
/* ✨ Why Filenod - Elegant Styling */
/* ─────────────────────────────── */

.elegant-card {
  border: none;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(31,104,255,0.08);
  transition: all 0.3s ease;
}

.elegant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(31,104,255,0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(31,104,255,0.1), rgba(109,40,217,0.15));
  color: var(--brand);
  font-size: 2rem;
}

.why-filenod h5 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.why-filenod p {
  font-size: 0.95rem;
  line-height: 1.6;
}
/* Navbar Buttons */
.btn-outline-primary {
  border: 2px solid #0d6efd;
  color: #0d6efd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-primary {
  background: linear-gradient(90deg, #0d6efd, #0b5ed7);
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #0b5ed7, #084298);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

/* Navbar Link Hover Effect */
.nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: #0d6efd;
  transform: translateY(-1px);
}

.hover-scale img {
  transition: transform 0.6s ease;
}
.hover-scale:hover img {
  transform: scale(1.05);
}

.overlay-gradient {
  transition: opacity 0.4s ease;
  opacity: 0;
}
.hover-scale:hover .overlay-gradient {
  opacity: 1;
}

.hover-rise {
  transition: all 0.3s ease;
}
.hover-rise:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/*cohort*/
