/* ========================================
   MANTHAN COACHING - MAIN STYLESHEET
   Modern, Responsive, Clean UI
   ======================================== */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fafcff;
  color: #1e293b;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.highlight {
  color: #e67e22;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #0f2b3d;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}
/* ========================================
   NAVBAR WITH WRAPPING SUPPORT
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo {
  flex-shrink: 0;
}

.logo-image {
  width: 70px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Navigation Links - Wrapping Behavior */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #2c3e50;
  transition: 0.3s;
  font-size: 0.95rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  white-space: nowrap;
}

/* For very small screens, allow text to wrap */
@media (max-width: 480px) {
  .nav-links a {
    white-space: normal;
    font-size: 0.85rem;
  }
}

.nav-links a:hover {
  color: #e67e22;
}

.nav-links a.active {
  color: #e67e22;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e67e22;
  border-radius: 4px;
}

/* Dropdown Icon */
.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.nav-links li:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  border-radius: 0.75rem;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0;
  list-style: none;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Items */
.dropdown-menu li {
  width: 100%;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdown-item i {
  width: 1.25rem;
  font-size: 0.9rem;
  color: #e67e22;
}

.dropdown-item:hover {
  background-color: #fef9f0;
  color: #e67e22;
  padding-left: 1.25rem;
}

/* View All Link */
.dropdown-item.view-all {
  border-bottom: 1px solid #e9ecef;
  font-weight: 700;
  color: #e67e22;
  background: #fffaf5;
}

.dropdown-item.view-all i {
  color: #e67e22;
}

.dropdown-item.view-all:hover {
  background-color: #fef0e4;
}

/* ---------- MULTI-LEVEL SUBMENU ---------- */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-item {
  position: relative;
}

.dropdown-submenu > .dropdown-item::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: auto;
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.dropdown-submenu:hover > .dropdown-item::after {
  transform: translateX(3px);
  color: #e67e22;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  transform: translateX(-10px);
  margin-top: 0;
}

.dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Right-aligned submenu for last items */
.dropdown-menu li:last-child .dropdown-submenu > .dropdown-menu,
.dropdown-menu li:nth-last-child(2) .dropdown-submenu > .dropdown-menu {
  left: auto;
  right: 100%;
  transform: translateX(10px);
}

.dropdown-menu li:last-child .dropdown-submenu:hover > .dropdown-menu,
.dropdown-menu li:nth-last-child(2) .dropdown-submenu:hover > .dropdown-menu {
  transform: translateX(0);
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1e293b;
  transition: 0.3s;
  z-index: 1002;
}

.hamburger:hover {
  color: #e67e22;
}

/* ---------- RESPONSIVE DESIGN ---------- */
/* Tablet */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0.8rem 1.5rem;
  }

  .nav-links {
    gap: 0.5rem 1rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .dropdown-item {
    white-space: normal;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    background: white;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 1rem 0;
    transition: 0.3s ease-in-out;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-links a {
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    white-space: normal;
  }

  .nav-links a.active::after {
    display: none;
  }

  /* Mobile Dropdown Styles */
  .dropdown-menu,
  .dropdown-submenu > .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8fafc;
    margin: 0;
    padding: 0;
    border: none;
    display: none;
    width: 100%;
  }

  /* .nav-links li.active-dropdown > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu.active-dropdown > .dropdown-menu {
    display: block;
  } */

  .dropdown-item {
    padding: 0.7rem 1.5rem 0.7rem 2.5rem;
    white-space: normal;
  }

  .dropdown-submenu > .dropdown-item::after {
    content: '\f078';
    transform: rotate(0deg);
  }


  .dropdown-icon {
    transition: transform 0.3s ease;
  }

}

/* Small Mobile */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.6rem 1rem;
  }

  .logo-image {
    width: 50px;
  }

  .nav-links {
    top: 60px;
    height: calc(100vh - 60px);
    width: 100%;
    max-width: none;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }

  .dropdown-item {
    padding: 0.6rem 1rem 0.6rem 2rem;
  }
}

/* Desktop Large Screens - Wrap to next line */
@media (min-width: 1025px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .logo {
    flex: 0 0 auto;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  /* When nav-links overflow, they will wrap to next line */
  .nav-links {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  /* Alternative: Keep on same line but allow wrapping */
  @media (min-width: 1200px) {
    .nav-links {
      width: auto;
      flex: 1;
      justify-content: flex-end;
      margin-top: 0;
    }
  }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
  .nav-container {
    max-width: 1400px;
  }

  .nav-links {
    gap: 1.5rem 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* Animation for dropdown */
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-menu {
  animation: dropdownFadeIn 0.2s ease forwards;
}

/* Active dropdown item */
.dropdown-menu .dropdown-item.active {
  background-color: #fef9f0;
  color: #e67e22;
  font-weight: 600;
}

/* Scrollbar for mobile menu */
@media (max-width: 768px) {
  .nav-links::-webkit-scrollbar {
    width: 4px;
  }

  .nav-links::-webkit-scrollbar-track {
    background: #f1f5f9;
  }

  .nav-links::-webkit-scrollbar-thumb {
    background: #e67e22;
    border-radius: 4px;
  }
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* ---------- BUTTONS ---------- */
.btn-primary {
  background: #e67e22;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #cf711f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #e67e22;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
  border: 2px solid #e67e22;
}

.btn-secondary:hover {
  background: #e67e22;
  color: white;
  transform: translateX(5px);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: #e67e22;
  transform: translateY(-3px);
}

.btn-outline-light {
  background: transparent;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
  border: 2px solid white;
}

.btn-outline-light:hover {
  background: white;
  color: #e67e22;
}

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg, #0f2b3d 0%, #1b4f72 100%);
  color: white;
  padding: 5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #e67e22;
}

.stat p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ---------- INTRO SECTION ---------- */
.intro {
  padding: 4rem 1.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tagline {
  color: #e67e22;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
}

.intro-text h2 {
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}

.intro-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.intro-features div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.intro-features i {
  color: #e67e22;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.floating-card i {
  color: #e67e22;
  font-size: 1.5rem;
}

/* ---------- FEATURES SECTION ---------- */
.features {
  background: #f8fafc;
  border-radius: 40px;
  margin: 2rem 1.5rem;
  padding: 3rem 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -12px rgba(0,0,0,0.15);
}

.icon {
  font-size: 2.8rem;
  color: #e67e22;
  margin-bottom: 1rem;
}

.feature-hover {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: #e67e22;
  color: white;
  padding: 0.5rem;
  text-align: center;
  transition: 0.3s;
  font-size: 0.8rem;
}

.feature-card:hover .feature-hover {
  bottom: 0;
}

/* ---------- COURSES SECTION ---------- */
.courses {
  padding: 3rem 0;
  background: linear-gradient(180deg, #fff 0%, #fef9f0 100%);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
}

.course-card.popular {
  border: 2px solid #e67e22;
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #e67e22;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-icon {
  font-size: 3rem;
  color: #e67e22;
  margin-bottom: 1rem;
}

.course-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.course-card ul li {
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-card ul li i {
  color: #e67e22;
  font-size: 0.8rem;
}

.course-link {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.3s;
}

.course-link:hover {
  gap: 0.8rem;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  background: linear-gradient(135deg, #0f2b3d, #1b4f72);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat-block .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #e67e22;
}

.stat-block p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 4rem 1.5rem;
  background: #f8fafc;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 2rem;
  color: #e67e22;
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.student-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.student-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.student-info span {
  font-size: 0.8rem;
  color: #64748b;
}

/* ---------- UPDATES SECTION ---------- */
.updates {
  padding: 4rem 1.5rem;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.update-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid #e67e22;
  transition: 0.3s;
}

.update-card:hover {
  transform: translateX(5px);
}

.update-date {
  color: #e67e22;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.update-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.update-card p {
  color: #64748b;
  margin-bottom: 1rem;
}

.read-more {
  color: #e67e22;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  padding: 4rem 1.5rem;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0a1c2a;
  color: #cbd5e1;
  margin-top: 0;
  padding-top: 2.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 0 1.5rem 2rem;
}

.footer-col h3, .footer-col h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #e67e22;
  padding-left: 4px;
}

.socials {
  margin-top: 1rem;
}

.socials a {
  color: white;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: 0.3s;
}

.socials a:hover {
  color: #e67e22;
  transform: translateY(-3px);
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem;
  border-top: 1px solid #2d3e4e;
  font-size: 0.85rem;
}

/* ========================================
   STUDY PLAN PAGE SPECIFIC
   ======================================== */
.page-title {
  font-size: 2.2rem;
  margin: 1.5rem 0 1rem;
  font-weight: 700;
}

.filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: #eef2ff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  background: #e67e22;
  color: white;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.study-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: 0.25s;
}

.study-card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.video-wrapper iframe {
  width: 100%;
  height: 200px;
}

.card-body {
  padding: 1.2rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4f9;
  padding: 8px 14px;
  border-radius: 30px;
  text-decoration: none;
  color: #e67e22;
  font-weight: 500;
  margin: 0.5rem 0;
  transition: 0.3s;
}

.pdf-link:hover {
  background: #e67e22;
  color: white;
}

.card-footer {
  font-size: 0.8rem;
  color: #5b6e8c;
  margin-top: 12px;
}

/* ========================================
   DOWNLOAD PAGE SPECIFIC
   ======================================== */
.download-section {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.02);
  border: 1px solid #eef2ff;
}

.download-section h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.download-list {
  margin-top: 1rem;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-item span i {
  color: #e67e22;
  margin-right: 0.5rem;
}

.download-btn {
  background: #e67e22;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.2s;
}

.download-btn:hover {
  background: #c25d14;
}

/* ========================================
   NOTIFICATION PAGE SPECIFIC
   ======================================== */
.notification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.notify-card {
  background: white;
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.notify-list {
  list-style: none;
}

.notify-list li {
  padding: 0.9rem 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.date {
  font-weight: 600;
  color: #e67e22;
  font-size: 0.8rem;
  background: #fff3e6;
  padding: 2px 10px;
  border-radius: 30px;
}

/* ========================================
   CURRENT AFFAIRS PAGE SPECIFIC
   ======================================== */
.ca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.ca-card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.ca-card:hover {
  transform: translateY(-5px);
}

.ca-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #e67e22;
  padding-bottom: 10px;
}

.ca-download {
  display: block;
  background: #f8fafc;
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 40px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: 0.2s;
}

.ca-download:hover {
  background: #e67e22;
  color: white;
}

/* ========================================
   HISTORY PAGE SPECIFIC
   ======================================== */
.history-pdf-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.history-item {
  background: white;
  padding: 1rem 1.8rem;
  border-radius: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.02);
  border: 1px solid #eef2ff;
  transition: 0.3s;
}

.history-item:hover {
  transform: translateX(5px);
  border-color: #e67e22;
}

.download-btn-sm {
  background: #e67e22;
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.2s;
}

.download-btn-sm:hover {
  background: #c25d14;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-title, .animate-text {
  opacity: 0;
  transform: translateY(30px);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 110px;
    left: -100%;
    background: white;
    width: 100%;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s ease-in-out;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
    gap: 1rem;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .features-grid, .courses-grid, .testimonial-grid, .updates-grid {
    grid-template-columns: 1fr;
  }

  .notification-grid {
    grid-template-columns: 1fr;
  }

  .history-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .study-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    justify-content: center;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================
   CATEGORY & CONTENT PAGES STYLES
   ======================================== */
/* ---------- BREADCRUMB STYLES - SIMPLE SINGLE LINE ---------- */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-item {
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #e67e22;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #cf711f;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #adb5bd;
    padding: 0 0.6rem;
    font-size: 0.8rem;
}

/* Mobile - Allow wrapping if needed */
@media (max-width: 576px) {
    .breadcrumb-item {
        font-size: 0.75rem;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 0.4rem;
    }
}
