/* Custom Styles for Modern ECL Website */

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --primary-color: #f57321 !important;
  --secondary-color: #fad40a;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f57421;
  --info-color: #3b82f6;
  --light-color: #f8fafc;
  --dark-color: #1e293b;
  --text-muted: #64748b;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: var(--primary-color);
}

.bg-primary {
  background: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background: white !important;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(0, 0, 0) !important;
}

.dropdown-item:focus {
  background-color: var(--primary-color);
  color: white;
}

/* Desktop Nav Links */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.9) !important;
    font-weight: 500;
    /* padding: 8px 8px !important; */
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
  }

  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    width: 100%;
    /* margin-top: 5px; */
  }

  .dropdown:hover>.dropdown-menu {
    display: block;
  }
}

/* Offcanvas Styles */
.offcanvas {
  width: 300px !important;
}

.offcanvas-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #77808f 100%);
  color: white;
  padding: 20px;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.3rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.offcanvas-body {
  padding: 10px 0 0;
}

/* Mobile Nav Links */
.offcanvas .nav-link {
  color: var(--dark-color);
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas .nav-link:hover {
  background: #f8f9fa;
  color: var(--primary-color);
  padding-left: 25px;
}

.offcanvas .nav-link.active {
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
}

.offcanvas .nav-link i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Dropdown in Offcanvas */
.offcanvas .dropdown-menu {
  width: 100%;
  border: none;
  background: #f8f9fa;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.offcanvas .dropdown-item {
  padding: 12px 20px 12px 50px;
  color: #666;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.offcanvas .dropdown-item:hover {
  background: white;
  color: var(--primary-color);
  padding-left: 55px;
}

/* Call Button */
.btn-call {
  background: #ffc107;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-call:hover {
  background: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Mobile Call Button in Offcanvas */
.offcanvas .btn-call {
  margin: 20px 20px 10px;
  width: calc(100% - 40px);
}

/* Toggler Icon */
.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* 
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */

/* Home Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
  overflow: hidden;
}

#home.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00000070;
  /* background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1 !important;
  width: 100%;
  height: 100%;
  background: url("https://images.pexels.com/photos/5212345/pexels-photo-5212345.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080") center/cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgb(255, 255, 255);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--warning-color);
  margin-bottom: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* Custom Accordion */
.accordion-button {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1a1a1a;
  padding: 1.5rem 0;
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #1a1a1a;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3e%3c/svg%3e");
  transform: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a1a1a'%3e%3cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3e%3c/svg%3e");
  transform: none;
}

.accordion-item {
  border: none;
  border-bottom: 1px solid #e5e5e5;
}

/* .accordion-item:first-child {
  border-top: 1px solid #e5e5e5;
} */

.accordion-body {
  padding: 0 0 1.5rem 0;
  color: #666;
  line-height: 1.6;
}

.accordion-collapse {
  border: none;
}

/* Exam Boards Section */
.exam-boards-carousel {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Feature Cards */

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--warning-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-list {
  list-style: none;
  padding: 0;
  padding-left: 10px;
  text-align: left;
}

.feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateX(10px);
}

.service-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  width: 30px;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
}

/* Exam Cards */
.exam-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: none;
}

.exam-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.exam-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
}

.contact-card {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--warning-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--dark-color);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--warning-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

/* Accordion Customization */

/* Responsive Design */
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .exam-boards-carousel {
    justify-content: center;
  }
}

/* Animation Enhancements */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

/* Custom Badge Styles */
.badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--primary-color));
}

.btn-warning {
  background: var(--accent-color);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  background: #d97706;
  color: white;
}

/* About Us CSS  */

.btn-warning {
  background: var(--accent-color);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  background: var(--warning-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.breadcrumb-section {
  padding: 120px 0 20px;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.breadcrumb {
  visibility: hidden;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: rgb(0, 0, 0);
}

.text-warning {
  color: var(--accent-color) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.stats-section {
  /* background: linear-gradient(135deg,
      var(--dark-color),
      var(--secondary-color)); */
  color: white;
  padding: 4rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.about-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
  color: black;
}

.locations-section {
  background: var(--light-color);
  padding: 5rem 0;
}

.location-card {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(46, 156, 70, 0.1);
}

.location-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.location-icon i {
  font-size: 1.5rem;
  color: white;
}

.exam-boards-section {
  padding: 5rem 0;
  background: white;
}

.board-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--light-color);
  border-radius: 15px;
  margin: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.board-logo:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.board-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cta-section {
  background: linear-gradient(135deg,
      var(--accent-color),
      var(--warning-color));
  padding: 5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20v20h20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-section {
  background: var(--dark-color);
  padding: 5rem 0;
  color: white;
}

.contact-card {
  text-align: center;
  padding: 2rem;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 1.8rem;
  color: white;
}

.footer {
  background: #0f172a;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* A Level Course */


/* Hero Section */


@keyframes float {
  0% {
    transform: translateX(0) translateY(0);
  }

  100% {
    transform: translateX(-60px) translateY(-60px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-buttons .btn {
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.min-vh-75 {
  min-height: 75vh;
}


/* Subject Cards */
.subject-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.subject-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.subject-card i {
  font-size: 1.2rem;
  width: 24px;
}

/* Exam Boards Carousel */
.exam-boards-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.board-logo img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.board-logo:hover img {
  filter: grayscale(0%);
}

/* Calendar Card */
.calendar-card {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.calendar-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.calendar-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.calendar-month {
  position: relative;
  z-index: 2;
}

.calendar-month h3 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

/* Content Section */
.content-section {
  padding: 2rem 0;
}

.content-section h3 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Practical Cards */
.practical-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.practical-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.practical-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: white;
}

/* Contact Cards */
.contact-card {
  text-align: center;
  padding: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.contact-card h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-card a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: var(--accent-color) !important;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.btn-primary {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--primary-color));
}

.btn-warning {
  background: var(--accent-color);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  background: #d97706;
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.exam-booking {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color)) !important;
}

/* Feature Cards */
.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 1.8rem;
  color: white;
}

/* Service Cards */
.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: white;
}

/* Collaboration Visual */
.collaboration-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.collaboration-icon {
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* University Partners */
.university-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.partner-logo {
  padding: 1rem 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

/* Security Features */
.security-feature {
  padding: 2rem;
}

.security-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--warning-color), #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.security-feature h5 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Contact Cards */
.contact-card {
  text-align: center;
  padding: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.contact-card h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-card a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: var(--accent-color) !important;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Utility Classes */
.btn-primary {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg,
      var(--secondary-color),
      var(--primary-color));
}

.btn-warning {
  background: var(--accent-color);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  background: #d97706;
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

/* Content Section */
.content-section {
  padding: 2rem 0;
}

.content-section h3 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Social Links */
.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--dark-color) !important;
  transform: translateY(-3px);
}

/* Practical Endorsement Css  */

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.info-section {
  background: var(--light-color);
  padding: 5rem 0;
}

.info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(46, 156, 70, 0.1);
}

.process-section {
  padding: 5rem 0;
  background: white;
}

.process-step {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.process-step:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.grades-section {
  /* background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color)); */
  padding: 4rem 0;
  /* color: white; */
}

.grade-card {
  background: rgba(238, 238, 238, 0.87);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.grade-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.grade-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.grade-icon i {
  font-size: 1.8rem;
  color: white;
}

.cta-section {
  background: linear-gradient(135deg,
      var(--accent-color),
      var(--warning-color));
  padding: 5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20v20h20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-section {
  background: var(--dark-color);
  padding: 5rem 0;
  color: white;
}

.contact-card {
  text-align: center;
  padding: 2rem;
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--primary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon i {
  font-size: 1.8rem;
  color: white;
}

.footer {
  background: #0f172a;
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--accent-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(46, 156, 70, 0.1);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .exam-boards-carousel {
    gap: 1.5rem;
  }

  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .feature-card,
  .practical-card {
    padding: 2rem;
  }

  .feature-icon,
  .practical-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .calendar-card {
    padding: 2rem;
  }

  .calendar-icon {
    font-size: 3rem;
  }

  .calendar-month h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-card,
  .exam-card {
    padding: 2rem;
  }

  .feature-icon,
  .exam-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .subject-card {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .partner-logo {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .feature-card,
  .service-card {
    padding: 2rem;
  }

  .feature-icon,
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .collaboration-visual {
    height: 300px;
  }

  .collaboration-icon {
    font-size: 6rem;
  }
}

/* Animation delays for staggered effects */
[data-aos="fade-up"]:nth-child(1) {
  --aos-delay: 0ms;
}

[data-aos="fade-up"]:nth-child(2) {
  --aos-delay: 100ms;
}

[data-aos="fade-up"]:nth-child(3) {
  --aos-delay: 200ms;
}

[data-aos="fade-up"]:nth-child(4) {
  --aos-delay: 300ms;
}

[data-aos="fade-up"]:nth-child(5) {
  --aos-delay: 400ms;
}

[data-aos="fade-up"]:nth-child(6) {
  --aos-delay: 500ms;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

  .feature-card,
  .exam-card,
  .service-item {
    border: 2px solid var(--dark-color);
  }

  .text-muted {
    color: var(--dark-color) !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    animation: none;
  }
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px;
  width: 100%;
}

.form-title {
  margin-bottom: 30px;
  text-align: center;
}

.form-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.form-title p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-control,
.form-select {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.phone-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: start;
}

.country-select-wrapper {
  position: relative;
  flex: 0 0 140px;
}

.flag-icon {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  margin-right: 5px;
}

.form-select {
  padding-left: 10px;
}

.phone-number-wrapper {
  flex: 1;
  position: relative;
}

.optional-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #f0f0f0;
  color: #666;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* textarea.form-control {
  min-height: 120px;
  resize: vertical;
} */

.submit-btn {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--primary-color) 100%);
  border: none;
  color: white;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 30px 20px;
  }

  .form-title h2 {
    font-size: 1.5rem;
  }

  .phone-input-wrapper {
    flex-direction: column;
  }

  .country-select-wrapper {
    flex: 1;
    width: 100%;
  }
}

/* Book Exam */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
}

.main-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.main-container .header-section {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  padding: 50px 30px;
  text-align: center;
}

.main-container .header-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.main-container .header-section p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.main-container .form-container {
  padding: 40px 30px;
}

.main-container .section-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.main-container .form-control,
.main-container .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
}

.main-container .form-control:focus,
.main-container .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.main-container .exam-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.main-container .exam-radio-item {
  position: relative;
}

.main-container .exam-radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.main-container .exam-radio-label {
  display: block;
  padding: 20px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  margin-bottom: 0;
}

.main-container .exam-radio-item input[type="radio"]:checked+.exam-radio-label {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.main-container .info-alert {
  background: #f0f7ff;
  border-left: 4px solid var(--primary-color);
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 5px;
}

.main-container .submit-btn {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s;
}

.main-container .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.main-container .success-alert {
  display: none;
}

.main-container .success-alert.show {
  display: block;
}

@media (max-width: 768px) {
  .main-container .header-section h1 {
    font-size: 2rem;
  }

  .main-container .exam-radio-group {
    grid-template-columns: 1fr;
  }
}

/* Blogs Css  */
/* Blog Categories */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-pill {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.blog-meta i {
  color: var(--primary-color);
}

.blog-category {
  display: inline-block;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more-btn {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.read-more-btn:hover {
  transform: translateX(5px);
  color: white;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
}

.page-link {
  color: var(--primary-color);
  border: 2px solid #e0e0e0;
  margin: 0 0.25rem;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
}

.page-link:hover {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  color: white;
  border-color: transparent;
}

.page-item.active .page-link {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  border-color: transparent;
}

/* Blog Details */

/* Blog Header */
.blog-header {
  padding: 3rem 0 5rem;
  color: black;
}

.blog-category-badge {
  background: rgba(255, 255, 255, 0.2);
  color: rgb(0, 0, 0);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.blog-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.blog-meta-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.blog-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.blog-meta-info i {
  color: #ffc107;
}

/* Featured Image */
.featured-image {
  margin-top: -4rem;
  margin-bottom: 3rem;
}

.featured-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Blog Content */
.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.blog-content p {
  margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-content li {
  margin-bottom: 0.75rem;
}

.highlight-box {
  background: linear-gradient(135deg,
      var(--primary-color) 15 0%,
      var(--secondary-color) 15 100%);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.highlight-box h4 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Author Box */
.author-box {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 3rem 0;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.author-info h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-info p {
  margin-bottom: 0;
  color: #666;
}

/* Share Buttons */
.share-section {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  margin: 3rem 0;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn:hover {
  transform: translateY(-3px);
  color: white;
}

.share-btn.facebook {
  background: #3b5998;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn.whatsapp {
  background: #25d366;
}

/* Related Posts */
.related-posts {
  padding: 4rem 0;
  background: #f8f9fa;
}

.related-post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-post-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.related-post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.related-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.related-read-more:hover {
  color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%);
  padding: 4rem 0;
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

/* Subject Details  */

/* Subject Overview Cards */
.overview-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.overview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.overview-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.overview-icon i {
  font-size: 2rem;
  color: white;
}

/* Module Cards */
.module-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.module-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.module-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Topics Grid */
.topic-item {
  background: var(--light-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.topic-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.topic-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.topic-item:hover i {
  color: white;
}

/* Exam Structure Table */
.exam-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.exam-table table {
  margin-bottom: 0;
}

.exam-table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.exam-table tbody tr {
  transition: all 0.3s ease;
}

.exam-table tbody tr:hover {
  background: var(--light-color);
}

/* Requirements List */
.requirement-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.requirement-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.requirement-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.requirement-icon i {
  color: white;
  font-size: 1.5rem;
}


/* Media section css */
.media-item {
    width: 100%;
    height: 380px;
    border-radius: 10px;
    font-size: 0;
    background-color: #dadce0;
    object-fit: cover;
}