
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
}
h1,h2,h3,h5 { color: #0d6efd; }

/* ===== Hero Section ===== */
.ielts-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.ielts-hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 110px;
}
.hero-text-box {
  display: inline-block;
  background: rgba(0,0,0,0.55);
  padding: 20px 25px; /* smaller padding */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  color: #fff;
  max-width: 550px; /* limits width for smaller box */
}
.hero-text-box h6 {
  font-size: 1.8rem; /* smaller heading */
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff !important;
}

.hero-text-box p {
  font-size: 1rem;
  font-weight: 500;
  color: #f1f1f1 !important;
  margin: 0;
}

/* Responsive (Mobile view) */
@media (max-width:768px){
  .ielts-hero { min-height: 70vh; }
  .hero-content { top: 30px; }
  .hero-text-box {
    padding: 15px 20px;
    max-width: 90%;
  }
  .hero-text-box h6 { font-size: 1.3rem; }
  .hero-text-box p { font-size: 0.85rem; }
}

/* Sidebar */
#desktopSidebar .nav-link {
  color: #0d6efd;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.3s;
  font-weight: 500;
}
#desktopSidebar .nav-link:hover { background: #e8f1ff; }
#desktopSidebar .nav-link.active { background: #d0e4ff; font-weight: 600; }
.sticky-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Sections */
section {
  background: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.alert-success {
  background: #e6f7ec;
  border-left: 5px solid #198754;
  color: #155724;
  border-radius: 8px;
  padding: 15px 20px;
}
.table th {
  background: #0d6efd;
  color: #fff;
  text-align: center;
}
.table td { text-align: center; }
.btn-primary {
  background: #0d6efd;
  border: none;
  border-radius: 6px;
  transition: all .3s;
}
.btn-primary:hover { background: #0b5ed7; transform: translateY(-2px); }

/* Animation */
.slide-in { opacity: 0; transform: translateY(50px); transition: all 0.7s ease-out; }
.slide-in.active { opacity: 1; transform: translateY(0); }

/* Responsive Sidebar Hide */
@media (max-width: 991.98px) {
  .sticky-sidebar { display: none !important; }
}

html { scroll-behavior: smooth; }
