:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary: #7e22ce;
  --dark: #1e293b;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
  --border: #e2e8f0;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Exo 2", Sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

@media only screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  /* Hide top bar on mobile */
  .top-bar {
    display: none;
  }

  .navbar-brand {
    align-items: center !important;
    margin-top: 0 !important;
  }

  .navbar {
    padding: 0.75rem 0 !important;
  }
}

/* Top Bar */
.top-bar {
  background: #2c5aa0;
  color: white;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  position: relative;
  z-index: 5;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-icon {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.top-bar-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Improved Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
  display: flex;
  align-items: flex-start;
  padding: 0;
}

/* Logo Shield Design */
.logo-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.logo-shield::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: white;
  clip-path: polygon(50% 0%, 100% 15%, 100% 75%, 50% 100%, 0% 75%, 0% 15%);
}

.logo-shield img {
  width: 80px;
  height: auto;
  position: relative;
  z-index: 1;
}

.navbar.scrolled .logo-shield {
  width: 75px;
  height: 85px;
  margin-top: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .hamburger-line {
  background: var(--primary);
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  background-color: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-weight: 600;
}

.language-btn:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

.language-btn i {
  font-size: 1rem;
  line-height: 1;
}

.language-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
}

.language-option {
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--dark);
  font-weight: 500;
}

.language-option:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown-menu {
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  margin-top: 0.5rem;
}

/* Mobile Sidebar Menu */
.mobile-menu-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: white;
  z-index: 1002;
  transition: left 0.4s ease;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu-sidebar.active {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 2px solid #f3f4f6;
  background: white;
}

.logo-shield-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-shield-mobile img {
  width: 70px;
  height: auto;
}

.mobile-menu-close {
  background: #f3f4f6;
  border: none;
  color: #1f2937;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: #e5e7eb;
  color: #2563eb;
  transform: rotate(90deg);
}

.mobile-nav-menu {
  list-style: none;
  padding: 1.5rem 0;
  margin: 0;
}

.mobile-nav-item {
  margin: 0;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, transparent 100%);
  border-left-color: #2563eb;
  padding-left: 2rem;
  color: #2563eb;
}

.mobile-nav-link::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #cbd5e1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
  background: #2563eb;
  transform: translateY(-50%) scale(1.5);
}

.mobile-menu-footer {
  padding: 1.5rem 1.25rem;
  border-top: 2px solid #f3f4f6;
  margin-top: auto;
  background: white;
}

.mobile-menu-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mobile-menu-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.mobile-menu-secondary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-secondary a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.mobile-menu-secondary a:hover {
  color: #2563eb;
  padding-left: 0.5rem;
}

/* Desktop Navigation Links */
.nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.25rem;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(37, 99, 235, 0.1);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 50%;
}

.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

/* Hover effect removed */

.btn-outline-custom {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: transparent;
}

/* Hover effect removed */

/* Modern Hero Slideshow Section */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kenburns 20s ease-in-out infinite;
}

@keyframes kenburns {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.85) 0%,
    rgba(37, 99, 235, 0.75) 50%,
    rgba(59, 130, 246, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 2rem 0;
}

.hero-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.text-highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 400;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  background: white;
  color: var(--primary);
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Slider Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
  left: 2rem;
}

.hero-nav-next {
  right: 2rem;
}

/* Slider Indicators */
.hero-indicators {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.hero-indicator {
  width: 50px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-indicator.active {
  background: white;
  width: 70px;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 10;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.scroll-mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 28px;
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Hero */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero-slideshow {
    height: 90vh;
    min-height: 600px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-nav {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .hero-nav-prev {
    left: 1rem;
  }

  .hero-nav-next {
    right: 1rem;
  }

  .scroll-indicator {
    left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-slideshow {
    height: 85vh;
    min-height: 550px;
  }

  .hero-title {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .hero-nav {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-indicators {
    bottom: 2rem;
  }
}

/* Enhanced Stats Section */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(37, 99, 235, 0.2),
    transparent
  );
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.05rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Showcase Section */
.features-showcase {
  background: white;
  position: relative;
  overflow: hidden;
}

.features-showcase::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.05) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #60a5fa 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

.feature-icon.icon-secondary {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.feature-icon.icon-success {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.feature-icon.icon-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.feature-icon.icon-info {
  background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.feature-icon.icon-danger {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--dark);
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.feature-list li i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Enhanced Section Styling */
.section-padding {
  padding: 6rem 0;
}

/* Enhanced Section Headers */
.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.bg-light-custom {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
}

.bg-white-custom {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Enhanced Cards */
.card-clean {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  background: var(--white);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-clean::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-clean:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.card-clean:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.card-clean:hover .card-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}

/* Enhanced Course Cards */
.course-card-home {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  background: var(--white);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
}

.price-period {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

/* Enhanced Testimonials */
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  background: var(--white);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Enhanced Contact Form */
.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 5rem 0 2rem;
  margin-top: 2rem;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.footer-link i {
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Utilities */
.section-padding {
  padding: 2rem 0;
}

.bg-light-custom {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
}

.bg-white-custom {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .hero-section::before {
    display: none;
  }

  /* Mobile Navigation Improvements */
  .logo-shield {
    height: 65px !important;
    margin-top: 0 !important;
  }

  .navbar-brand {
    align-items: center !important;
    margin-top: 0 !important;
  }

  .navbar {
    padding: 0.75rem 0 !important;
  }

  .navbar-collapse {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .language-switcher {
    position: relative;
  }

  .language-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .d-lg-flex {
    padding: 1rem;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0 2rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu-sidebar,
  .mobile-menu-overlay {
    display: none;
  }
}

/* Enhanced Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Hover effect removed */

/* Enhanced Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Animation */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: var(--gray);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--success);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 5rem 0;
  border-radius: 20px;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light-custom {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

/* Hover effect removed */

.btn-ripple {
  position: relative;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 82%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

/* Hover effect removed */

.btn {
  position: relative;
}

.scroll-to-top::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

/* Hover effect removed */

/* Auth Section Styles */
.auth-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.auth-container {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.auth-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.auth-header p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.auth-body {
  padding: 2.5rem 2rem;
}

.auth-tabs {
  display: flex;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 2rem;
  position: relative;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1;
}

.auth-tab.active {
  color: var(--primary);
}

.auth-tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.auth-tab-slider.signup {
  transform: translateX(100%);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: block;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.password-input {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remember-me input {
  width: 16px;
  height: 16px;
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-auth-primary {
  background: var(--primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
  margin-bottom: 1.5rem;
}

/* Hover effect removed */

.divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
  color: var(--gray);
  font-size: 0.9rem;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

.divider span {
  background: var(--white);
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.social-login {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-btn.google {
  color: #db4437;
}

.social-btn.facebook {
  color: #4267b2;
}

.auth-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Hero Section for Courses */
.courses-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.courses-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.courses-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.courses-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.courses-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.courses-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Filter Section */
.filter-section {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.filter-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.filter-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--white);
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.filter-actions {
  display: flex;
  gap: 1rem;
}

/* Courses Section */
.courses-section {
  padding: 4rem 0;
  background: var(--light-gray);
}

.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.courses-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

.results-count {
  color: var(--gray);
  font-size: 0.95rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;

  transform: translateY(20px);
}

.course-card.animate-in {
  animation: cardSlideUp 0.6s ease forwards;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.course-image {
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  align-self: flex-start;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.course-card:hover .course-badge {
  transform: scale(1);
  background: var(--primary);
  color: white;
}

.course-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.course-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.price-period {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1 / -1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 0.3s forwards;
}

.empty-state i {
  font-size: 4rem;
  color: var(--border);
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Enrollment Hero Section */
.enroll-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.enroll-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.enroll-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.enroll-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.enroll-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.enroll-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Enrollment Process Section */
.enroll-process {
  padding: 4rem 0;
  background: var(--white);
}

.process-container {
  max-width: 1000px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.process-step.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.process-step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-weight: 600;
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

.process-step.active .step-label {
  color: var(--primary);
}

.process-step.completed .step-label {
  color: var(--success);
}

.process-content {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.process-content.active {
  opacity: 1;
  transform: translateY(0);
}

.form-section {
  display: none;
}

.form-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.form-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.form-control,
.form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-text {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

.course-summary {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.course-summary h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.payment-methods {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-method {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: var(--primary);
}

.payment-method.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
}

.payment-method.selected .payment-icon {
  color: var(--primary);
}

.payment-label {
  font-weight: 600;
  color: var(--dark);
}

.card-element {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
}

.process-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Success Section */
.success-section {
  text-align: center;
  padding: 4rem 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  display: none;
}

.success-section.active {
  opacity: 1;
  transform: translateY(0);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Hero Section */
.about-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.about-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.about-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.about-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Section Common Styles */
.section-padding {
  padding: 2rem 0;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Our Story Section */
.our-story {
  background: var(--white);
}

.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 1;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 3rem;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -40px;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.timeline-description {
  color: var(--gray);
  line-height: 1.7;
}

/* Mission & Values Section */
.mission-values {
  background: var(--light-gray);
}

.mission-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.mission-text {
  color: var(--gray);
  line-height: 1.7;
}

/* Team Section */
.team-section {
  background: var(--white);
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-image {
  height: 280px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.team-role {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Achievements Section */
.achievements-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 5rem 0;
}

.achievement-item {
  text-align: center;
  padding: 1.5rem;
}

.achievement-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.achievement-label {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.cta-card {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 4rem 3rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light-custom {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

/* Hover effect removed */

/* Contact Hero Section */
.contact-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.contact-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.contact-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.contact-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  background: var(--white);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.contact-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.contact-info {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-action {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.contact-action:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* Contact Form & Info */
.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.form-container {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.form-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.form-control,
.form-select,
.form-textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.info-container {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2.5rem;
}

.info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.info-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.info-text {
  color: var(--gray);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 500px;
}

/* Map Section */
.map-section {
  padding: 0 0 5rem;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  background: var(--light-gray);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: var(--dark);
}

.map-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.map-placeholder h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  color: var(--gray);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 5rem 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light-custom {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

/* Hover effect removed */

/* Privacy Hero Section */
.privacy-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.privacy-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.privacy-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.privacy-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.privacy-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Privacy Content Section */
.privacy-content {
  padding: 5rem 0;
  background: var(--white);
}

.privacy-container {
  max-width: 1000px;
  margin: 0 auto;
}

.last-updated {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.last-updated i {
  font-size: 1.5rem;
  color: var(--primary);
}

.last-updated strong {
  color: var(--primary);
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.privacy-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.privacy-text {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.privacy-list {
  list-style-type: none;
  padding-left: 0;
}

.privacy-list li {
  padding: 0.75rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 2rem;
}

.privacy-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

.info-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.info-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.table-of-contents {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toc-title i {
  color: var(--primary);
}

.toc-list {
  list-style-type: none;
  padding-left: 0;
}

.toc-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  color: var(--gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.toc-list a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.toc-list a i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  background: var(--light-gray);
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem;
  max-height: 500px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding: 5rem 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-light-custom {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease;
}

/* Hover effect removed */

/* Terms Hero Section */
.terms-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.terms-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.terms-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.terms-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.terms-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.terms-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Terms Content Section */
.terms-content {
  padding: 5rem 0;
  background: var(--white);
}

.terms-container {
  max-width: 1000px;
  margin: 0 auto;
}

.last-updated {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.last-updated i {
  font-size: 1.5rem;
  color: var(--primary);
}

.last-updated strong {
  color: var(--primary);
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.terms-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.terms-text {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.terms-list {
  list-style-type: none;
  padding-left: 0;
}

.terms-list li {
  padding: 0.75rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 2rem;
}

.terms-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

.info-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.info-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.table-of-contents {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toc-title i {
  color: var(--primary);
}

.toc-list {
  list-style-type: none;
  padding-left: 0;
}

.toc-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  color: var(--gray);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.toc-list a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.toc-list a i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Help Hero Section */
.help-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.help-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(37, 99, 235, 0) 70%
  );
  border-radius: 50%;
}

.help-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
}

.help-hero .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.help-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.help-hero .lead {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Search Section */
.search-section {
  padding: 2rem 0;
  background: var(--white);
}

.search-container {
  max-width: 700px;
  margin: 0 auto;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 3rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.suggestion-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-tag:hover {
  background: var(--primary);
  color: white;
}

/* Help Categories */
.help-categories {
  padding: 4rem 0;
  background: var(--light-gray);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: auto;
}

.category-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.category-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.category-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.category-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.category-link:hover {
  gap: 0.75rem;
}

/* Popular Articles */
.popular-articles {
  padding: 5rem 0;
  background: var(--white);
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.article-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.article-excerpt {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray);
}

.article-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Contact Options */
.contact-options {
  padding: 5rem 0;
  background: var(--light-gray);
}

.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--primary);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.contact-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.contact-info strong {
  color: var(--dark);
}

/* Resources Section */
.resources-section {
  padding: 5rem 0;
  background: var(--white);
}

.resource-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.resource-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.resource-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* NEET Hero Section */
.neet-hero {
  padding: 7rem 0 5rem;
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.neet-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
}

.neet-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.neet-hero .highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
}

.neet-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(251, 191, 36, 0.3);
  z-index: -1;
}

.neet-hero .lead {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* NEET Info Section */
.neet-info {
  padding: 5rem 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: auto;
}

.neet-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.neet-card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--primary);
}

.neet-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.neet-card-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.neet-card-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.neet-card-list li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.neet-card-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Program Features */
.program-features {
  padding: 5rem 0;
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-desc {
  color: var(--gray);
}

/* Course Structure */
.course-structure {
  padding: 5rem 0;
  background: var(--white);
}

.subject-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
  height: 100%;
}

.subject-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.subject-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.subject-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.subject-topics {
  list-style-type: none;
  padding-left: 0;
}

.subject-topics li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.subject-topics li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

/* Batch Schedule */
.batch-schedule {
  padding: 5rem 0;
  background: var(--light-gray);
}

.schedule-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.schedule-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.schedule-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.schedule-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.schedule-features {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.schedule-features li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.schedule-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.schedule-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.schedule-period {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Faculty Section */
.faculty-section {
  padding: 5rem 0;
  background: var(--white);
}

.faculty-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.faculty-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--secondary-light);
}

.faculty-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.faculty-subject {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faculty-exp {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.faculty-desc {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Success Stories */
.success-stories {
  padding: 5rem 0;
  background: var(--light-gray);
}

.success-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.success-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.success-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary-light);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  line-height: 1;
  z-index: 0;
}

.success-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.success-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.success-details p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.success-rank {
  display: inline-block;
  background: #2c5c8a;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Refund Content Section */
.refund-content {
  padding: 5rem 0;
  background: var(--white);
}

.refund-container {
  max-width: 1000px;
  margin: 0 auto;
}

.last-updated {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.last-updated i {
  font-size: 1.5rem;
  color: var(--primary);
}

.last-updated strong {
  color: var(--primary);
}

.refund-section {
  margin-bottom: 3rem;
}

.refund-section:last-child {
  margin-bottom: 0;
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.refund-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.refund-text {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.refund-list {
  list-style-type: none;
  padding-left: 0;
}

.refund-list li {
  padding: 0.75rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 2rem;
}

.refund-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

.info-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.warning-card {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
}

.success-card {
  background: #d1fae5;
  border-left: 4px solid var(--success);
}

.danger-card {
  background: #fee2e2;
  border-left: 4px solid var(--danger);
}

.info-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--gray);
  margin-bottom: 0;
}

.table-of-contents {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

/* JEE Hero Section */
.jee-hero {
  padding: 7rem 0 5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.jee-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
}

.jee-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.jee-hero .highlight {
  color: #fbbf24;
  position: relative;
  display: inline-block;
}

.jee-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(251, 191, 36, 0.3);
  z-index: -1;
}

.jee-hero .lead {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* JEE Info Section */
.jee-info {
  padding: 5rem 0;
  background: var(--white);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: auto;
}

.jee-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.jee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.jee-card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--primary);
}

.jee-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.jee-card-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.jee-card-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.jee-card-list li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.jee-card-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Program Features */
.program-features {
  padding: 5rem 0;
  background: var(--light-gray);
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-desc {
  color: var(--gray);
}

/* Course Structure */
.course-structure {
  padding: 5rem 0;
  background: var(--white);
}

.subject-card {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
  height: 100%;
}

.subject-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.subject-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.subject-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.subject-topics {
  list-style-type: none;
  padding-left: 0;
}

.subject-topics li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.subject-topics li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

/* Batch Schedule */
.batch-schedule {
  padding: 5rem 0;
  background: var(--light-gray);
}

.schedule-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.schedule-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.schedule-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.schedule-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.schedule-features {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.schedule-features li {
  padding: 0.5rem 0;
  color: var(--gray);
  position: relative;
  padding-left: 1.5rem;
}

.schedule-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.schedule-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.schedule-period {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Faculty Section */
.faculty-section {
  padding: 5rem 0;
  background: var(--white);
}

.faculty-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  text-align: center;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.faculty-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-light);
}

.faculty-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.faculty-subject {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.faculty-exp {
  color: var(--gray);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.faculty-desc {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Success Stories */
.success-stories {
  padding: 5rem 0;
  background: var(--light-gray);
}

.success-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.success-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.success-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  line-height: 1;
  z-index: 0;
}

.success-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.success-details h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.success-details p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.success-rank {
  display: inline-block;
  background: #2c5c8a;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  background: #2c5c8a;
}

/* UPSC-specific styling */
.upsc-hero {
  background: #2c5c8a;
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.upsc-hero .highlight {
  color: #ffcc00;
}

.upsc-hero .hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.upsc-hero .hero-stat {
  text-align: center;
}

.upsc-hero .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.upsc-hero .stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.upsc-info {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.upsc-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.upsc-card:hover {
  transform: translateY(-5px);
}

.upsc-card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.upsc-card-icon i {
  color: white;
  font-size: 1.8rem;
}

.upsc-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a3a5f;
}

.upsc-card-desc {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.upsc-card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.upsc-card-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.upsc-card-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2c5c8a;
  font-weight: bold;
}

.program-features {
  padding: 80px 0;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  color: white;
  font-size: 1.8rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a3a5f;
}

.feature-desc {
  color: #666;
  line-height: 1.6;
}

.course-structure {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.subject-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.subject-card:hover {
  transform: translateY(-5px);
}

.subject-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.subject-icon i {
  color: white;
  font-size: 2rem;
}

.subject-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a3a5f;
}

.subject-topics {
  list-style: none;
  padding: 0;
  text-align: left;
}

.subject-topics li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.subject-topics li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2c5c8a;
  font-weight: bold;
  font-size: 1.2rem;
}

.subject-topics li:last-child {
  border-bottom: none;
}

.batch-schedule {
  padding: 80px 0;
}

.schedule-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  transition: transform 0.3s ease;
}

.schedule-card:hover {
  transform: translateY(-5px);
}

.schedule-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ffcc00;
  color: #1a3a5f;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.schedule-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a3a5f;
}

.schedule-desc {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.schedule-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.schedule-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.schedule-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2c5c8a;
  font-weight: bold;
}

.schedule-price {
  font-size: 2rem;
  font-weight: 700;
  color: #1a3a5f;
  margin-bottom: 5px;
}

.schedule-period {
  color: #666;
  margin-bottom: 20px;
}

.faculty-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.faculty-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
}

.faculty-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 5px solid #f0f0f0;
}

.faculty-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1a3a5f;
}

.faculty-subject {
  color: #2c5c8a;
  font-weight: 500;
  margin-bottom: 5px;
}

.faculty-exp {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.faculty-desc {
  color: #666;
  line-height: 1.6;
}

.success-stories {
  padding: 80px 0;
}

.success-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.success-quote {
  font-style: italic;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.success-quote:before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  color: #2c5c8a;
  font-family: Georgia, serif;
}

.success-info {
  display: flex;
  align-items: center;
}

.success-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.success-details h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  color: #1a3a5f;
}

.success-details p {
  margin: 0 0 5px;
  color: #666;
  font-size: 0.9rem;
}

.success-rank {
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  background: #2c5c8a;
}

.cta-section {
  padding: 80px 0;
  background: var(--primary);
  color: white;
}

.cta-card {
  text-align: center;
  padding: 50px 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cta-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a3a5f;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.btn-primary-custom {
  background: var(--primary);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect removed */

.btn-outline-custom {
  border: 2px solid #1a3a5f;
  color: #1a3a5f;
  background: transparent;
  padding: 10px 23px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect removed */

.btn-light-custom {
  background: white;
  color: #1a3a5f;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect removed */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 15px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.upsc-hero .stat-label {
  color: #fff;
}

@media (max-width: 768px) {
  .upsc-hero {
    padding: 80px 0 60px;
  }

  .upsc-hero .hero-stats {
    gap: 20px;
  }

  .upsc-hero .stat-number {
    font-size: 1.6rem;
  }

  .blog-card {
    width: 100% !important;
  }
}

.jee-hero .stat-label {
  color: #fff;
}

.neet-hero .stat-label {
  color: #fff;
}

/* Hero Section */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-container button {
  position: absolute;
  right: 5px;
  top: 5px;
  border: none;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect removed */

/* Blog Content */
.blog-content {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  line-height: 1.6;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 0px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  max-width: 410px;
  margin: 10px;
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 15px;
}

.blog-category {
  display: inline-block;
  background: rgba(26, 58, 95, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.blog-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
  line-height: 1.4;
}

.blog-card-excerpt {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-meta {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--primary);
}

.blog-meta span {
  margin-right: 10px;
}

.read-more {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Featured Post */
.featured-post {
  margin-bottom: 60px;
}

.featured-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;

  transform: translateY(30px);
}

.featured-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.featured-card .row {
  align-items: center;
}

.featured-img {
  height: 400px;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-img img {
  transform: scale(1.05);
}

.featured-content {
  padding: 40px;
}

.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.featured-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.3;
}

.featured-excerpt {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Categories */
.categories-section {
  padding: 60px 0;
  background-color: var(--light);
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  max-width: 410px;
  margin: 10px;
  transform: translateY(30px);
}

.category-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.category-icon i {
  color: white;
  font-size: 1.8rem;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.category-count {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.newsletter-card {
  text-align: center;
  padding: 50px 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  max-width: 700px;
  margin: 0 auto;

  transform: translateY(30px);
  transition: all 0.5s ease;
}

.newsletter-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.newsletter-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
}

.newsletter-form button {
  border: none;
  color: var(--primary);
  padding: 15px 25px;
  border-radius: 0 50px 50px 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Hover effect removed */

/* Apply hover effects to all images */
img {
  transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
  display: block;
  max-width: 100%;
  height: auto;
}

.back-to-login {
  text-align: center;
  margin-top: 20px;
}

.back-to-login a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.back-to-login a:hover {
  text-decoration: underline;
}

.sitemap-section {
  padding: 80px 0 40px;
}

.sitemap-header {
  text-align: center;
  margin-bottom: 60px;
}

.sitemap-category {
  margin-bottom: 40px;
}

.sitemap-category h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

.sitemap-list {
  list-style: none;
  padding-left: 0;
}

.sitemap-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.sitemap-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

.sitemap-list a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s;
}

.sitemap-list a:hover {
  color: #3498db;
}

.sitemap-subcategory {
  margin-top: 15px;
  padding-left: 20px;
}

.sitemap-subcategory li {
  margin-bottom: 8px;
}

.sitemap-subcategory li:before {
  content: "•";
  color: #7f8c8d;
}

.breadcrumb {
  background-color: transparent;
  padding: 15px 0;
  margin-bottom: 0;
}

.sitemap-section .fas {
  color: #2762ea;
}

@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 95%;
  }

  .btn-outline-custom {
    padding: 10px 10px;
  }

  .nav-link {
    padding: 0.5rem 0.7rem !important;
  }
}

/* Fix Blog Cards Alignment */
.blog-card {
  border: none;
  border-radius: 20px;
  padding: 0;
  background: var(--white);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  margin: 0;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 2rem;
}

.blog-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    rgba(37, 99, 235, 0.15) 100%
  );
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta i {
  color: var(--primary);
}

/* Enhanced Card Clean Styling */
.card-clean {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.card-clean::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.03),
    transparent
  );
  transition: left 0.5s ease;
}

.card-clean:hover::after {
  left: 100%;
}

.card-clean:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
  border-color: var(--primary);
}

/* =====================================================
   NEWS & EVENTS LISTING PAGES
   ===================================================== */

/* Page Hero Modern */
.page-hero-modern {
  position: relative;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.page-hero-events {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-hero-modern .container {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.filter-pill {
  background: #2c5aa0;
  backdrop-filter: blur(10px);
  border: 2px solid #2c5aa0;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

a.filter-pill {
  color: white;
}

a.filter-pill:hover {
  color: white;
  text-decoration: none;
}

.filter-pill:hover,
.filter-pill.active {
  background: #1e3d6f;
  color: white;
  border-color: #1e3d6f;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44, 90, 160, 0.4);
}

/* News Card with Link */
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card-overlay i {
  font-size: 3rem;
  color: white;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-overlay {
  opacity: 1;
}

.blog-card:hover .blog-card-overlay i {
  transform: scale(1);
}

/* Events Card */
.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

.event-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.event-card-date {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}

.date-box {
  background: white;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 80px;
}

.date-day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.date-month {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-box-primary {
  color: var(--primary);
}
.date-box-secondary {
  color: #7c3aed;
}
.date-box-success {
  color: #10b981;
}
.date-box-warning {
  color: #f59e0b;
}
.date-box-info {
  color: #06b6d4;
}
.date-box-danger {
  color: #ef4444;
}

.event-card-image {
  width: 300px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card-image img {
  transform: scale(1.1);
}

.event-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card-overlay i {
  font-size: 3rem;
  color: white;
  transform: scale(0.5);
  transition: transform 0.3s ease;
}

.event-card:hover .event-card-overlay {
  opacity: 1;
}

.event-card:hover .event-card-overlay i {
  transform: scale(1);
}

.event-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.event-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.event-card:hover .event-card-title {
  color: var(--primary);
}

.event-card-description {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: auto;
  flex-grow: 1;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--gray);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.event-meta i {
  color: var(--primary);
  width: 20px;
}

/* Empty State */
.empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-state i {
  font-size: 5rem;
  color: rgba(37, 99, 235, 0.2);
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* =====================================================
   ITEM DETAIL PAGE
   ===================================================== */

/* Item Detail Hero */
.item-detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.item-detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.1);
}

.item-detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.95) 0%,
    rgba(37, 99, 235, 0.9) 100%
  );
  z-index: 1;
}

.item-detail-hero .container {
  position: relative;
  z-index: 2;
}

/* Breadcrumb Modern */
.breadcrumb-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.breadcrumb-modern a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-modern a:hover {
  color: white;
}

.breadcrumb-modern .separator {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-modern .current {
  color: white;
  font-weight: 600;
}

/* Item Detail Header */
.item-detail-header {
  color: white;
}

.item-category {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.item-detail-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1.5px;
}

.item-detail-subtitle {
  font-size: 1.35rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 2.5rem;
}

/* Item Meta Header */
.item-meta-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meta-item i {
  font-size: 2rem;
  opacity: 0.8;
}

.meta-item div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-item strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.meta-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* No Image Placeholder Styling */
img[src*="no-image-placeholder"] {
  background-color: #f8f9fa;
  border: 2px dashed #e2e8f0;
  object-fit: contain;
  padding: 1rem;
  transition: all 0.3s ease;
}

img[src*="no-image-placeholder"]:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

/* Hero Gallery Styles */
.single-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-overlay-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-gallery-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-badge-separator {
  opacity: 0.7;
  font-weight: 400;
}

.hero-gallery-carousel .carousel-inner {
  border-radius: 20px;
  overflow: hidden;
}

.hero-gallery-image-container {
  position: relative;
  height: 400px;
}

.hero-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.main-image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-carousel-control {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

.hero-carousel-control:hover {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-control-prev {
  left: 1rem;
}

.hero-carousel-control-next {
  right: 1rem;
}

.hero-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  max-height: 100px;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.hero-gallery-thumb {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.hero-gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-gallery-thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.hero-gallery-thumb img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumb-main-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* Enhanced Item Category */
.item-category-wrapper {
  margin-bottom: 1.5rem;
}

.item-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.item-category:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.item-category i {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Item Detail Excerpt */
.item-detail-excerpt {
  margin-bottom: 2rem;
}

.excerpt-text {
  font-size: 1.4rem;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Item Detail Summary */
.item-detail-summary {
  margin-bottom: 2.5rem;
}

.summary-content {
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* Item Detail Content */
.item-detail-content {
  background: white;
}

.content-article {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--dark);
}

.content-article h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.content-article h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.content-article p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.content-article ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content-article li {
  margin-bottom: 0.75rem;
  color: var(--gray);
}

.content-article strong {
  color: var(--dark);
  font-weight: 700;
}

/* Tags */
.item-tags {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--primary-light);
  border-radius: 16px;
}

.item-tags h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag-badge:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Share Section */
.item-share {
  margin-top: 3rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 16px;
  border: 2px dashed var(--border);
}

.item-share h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.share-facebook {
  background: #1877f2;
}
.share-twitter {
  background: #1da1f2;
}
.share-linkedin {
  background: #0a66c2;
}
.share-whatsapp {
  background: #25d366;
}
.share-email {
  background: #ea4335;
}

/* Item Navigation */
.item-navigation {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 992px) {
  .page-hero-title {
    font-size: 3rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-card-link {
    flex-direction: column;
  }

  .event-card-image {
    width: 100%;
    height: 250px;
  }

  .event-card-content {
    width: 100% !important;
    padding: 1.5rem;
  }

  .item-detail-title {
    font-size: 2.5rem;
  }
  
  .excerpt-text {
    font-size: 1.15rem;
  }
  
  .item-category {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .summary-content {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .hero-image,
  .hero-gallery-image {
    height: 300px;
  }

  .hero-gallery-container,
  .single-image-container {
    margin-bottom: 2rem;
  }

  .hero-gallery-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    max-height: 80px;
  }

  .hero-gallery-thumb img {
    height: 50px;
  }

  .gallery-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-carousel-control {
    width: 40px;
    height: 40px;
  }

  .content-article {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .page-hero-modern {
    padding: 6rem 0 3rem;
  }

  .page-hero-title {
    font-size: 2.25rem;
  }

  .page-hero-description {
    font-size: 1.05rem;
  }

  .filter-pill {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .item-detail-title {
    font-size: 1.75rem;
  }

  .excerpt-text {
    font-size: 1rem;
  }
  
  .item-category {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .summary-content {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-image,
  .hero-gallery-image {
    height: 250px;
  }

  .hero-gallery-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    max-height: 70px;
    gap: 0.5rem;
  }

  .hero-gallery-thumb img {
    height: 40px;
  }

  .gallery-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    top: 0.5rem;
    left: 0.5rem;
  }

  .hero-carousel-control {
    width: 35px;
    height: 35px;
  }

  .hero-gallery-counter {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    bottom: 0.5rem;
    right: 0.5rem;
  }

  .main-image-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .item-meta-header {
    gap: 1rem;
    padding: 1.5rem;
  }

  .meta-item {
    width: 100%;
  }

  .content-article {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .item-navigation {
    flex-direction: column;
  }

  .item-navigation .btn {
    width: 100%;
    justify-content: center;
  }

  /* Fix for blog/news cards on mobile */
  .blog-card-content {
    height: auto !important;
    min-height: 150px;
    padding: 1.25rem;
  }

  .blog-card-img {
    height: 200px !important;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }

  .blog-card-excerpt {
    font-size: 0.9rem;
  }

  /* Fix for event cards on mobile */
  .event-card {
    flex-direction: column !important;
  }

  .event-card-link {
    flex-direction: column !important;
    display: flex !important;
  }

  .event-card-content {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 150px;
    padding: 1.25rem !important;
    width: 100% !important;
  }

  .event-card-image {
    width: 100% !important;
    height: 200px !important;
  }

  .event-card-title {
    font-size: 1.1rem;
    display: block !important;
    visibility: visible !important;
  }

  .event-card-description {
    font-size: 0.9rem;
    display: block !important;
    visibility: visible !important;
  }

  .event-category {
    display: inline-flex !important;
    visibility: visible !important;
  }

  .event-meta {
    display: flex !important;
    visibility: visible !important;
  }
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px);
  /* Adjust based on image height */
}

.blog-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  flex-grow: 1;
}

.blog-card-excerpt {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-meta i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Alumni & Scout Pages Styles */

/* Statistics Cards */
.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  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.15);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 2rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0;
}

.stat-label {
  color: var(--gray);
  font-weight: 500;
  margin: 0;
}

/* Alumni Story Cards */
.alumni-story-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.alumni-story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.alumni-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.alumni-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.alumni-story-card:hover .alumni-image img {
  transform: scale(1.1);
}

.alumni-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.alumni-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.alumni-class {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.alumni-title {
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 1rem;
}

.alumni-quote {
  font-style: italic;
  color: var(--gray);
  padding: 1rem;
  background: var(--light);
  border-left: 4px solid var(--primary);
  margin: 1rem 0;
  font-size: 0.95rem;
}

.alumni-quote i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.alumni-achievement {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 2px solid var(--light);
  font-size: 0.9rem;
  color: var(--dark);
}

.alumni-achievement i {
  margin-right: 0.5rem;
}

/* Event Card Modern */
.event-card-modern {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.event-icon i {
  font-size: 1.8rem;
  color: white;
}

.event-icon-primary {
  background: linear-gradient(135deg, var(--primary), #4a7bc8);
}

.event-icon-success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.event-icon-info {
  background: linear-gradient(135deg, #17a2b8, #3dbdc7);
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.event-details {
  margin-bottom: 1rem;
}

.event-detail {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-detail i {
  width: 20px;
}

.event-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Info Box */
.info-box, .highlight-box, .badge-category {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: var(--light);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.info-box i, .highlight-box i, .badge-category i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(44, 90, 160, 0.05));
  border-left: 4px solid var(--primary);
}

/* Program Cards */
.program-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-icon i {
  font-size: 2rem;
  color: white;
}

.program-icon-primary {
  background: linear-gradient(135deg, var(--primary), #4a7bc8);
}

.program-icon-success {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.program-icon-warning {
  background: linear-gradient(135deg, #ffc107, #ffb300);
}

.program-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.program-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.program-activities {
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-activities li {
  padding: 0.5rem 0;
  color: var(--gray);
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.program-activities li i {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

/* Value Cards */
.value-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 1.8rem;
  color: white;
}

.value-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.value-description {
  color: var(--gray);
  margin: 0;
}

/* Activity Cards */
.activity-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.activity-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  flex-grow: 1;
}

.activity-level {
  flex-shrink: 0;
}

.activity-details {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light);
}

.activity-detail {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-detail i {
  width: 20px;
}

.activity-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Testimonial Badge */
.testimonial-badge {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light);
}

.testimonial-badge i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-badge small {
  color: var(--gray);
  font-weight: 600;
}

/* Rounded Custom */
.rounded-custom {
  border-radius: 15px;
}

/* Team Member Cards - Hierarchical Structure */
.team-hierarchy {
  margin-top: 2rem;
}

.team-member-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.leader-card {
  border-top: 5px solid var(--primary);
}

.executive-card {
  border-top: 5px solid var(--secondary);
}

.coordinator-card {
  border-top: 5px solid var(--success);
}

.team-member-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-image img {
  transform: scale(1.05);
}

.team-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.leader-badge {
  background: linear-gradient(135deg, var(--primary), #4a7bc8);
}

.executive-badge {
  background: linear-gradient(135deg, var(--secondary), #ff6b9d);
}

.coordinator-badge {
  background: linear-gradient(135deg, var(--success), #20c997);
}

.team-member-info {
  padding: 2rem;
}

.team-member-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.team-member-role {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member-description {
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }

  .alumni-name {
    font-size: 1.2rem;
  }

  .program-title, .event-title, .activity-title {
    font-size: 1.1rem;
  }

  .activity-header {
    flex-direction: column;
  }

  .activity-level {
    align-self: flex-start;
  }

  .team-member-image {
    height: 250px;
  }

  .team-member-name {
    font-size: 1.3rem;
  }

  .team-member-role {
    font-size: 1rem;
  }
}


/* Gallery Carousel Styles */
.item-gallery-carousel {
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.item-gallery-carousel h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.item-gallery-carousel h5 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

#galleryCarousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

#galleryCarousel .carousel-item {
    position: relative;
}

#galleryCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

#galleryCarousel .carousel-caption p {
    margin: 0;
    font-size: 0.9rem;
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicators button.active {
    background-color: white;
    border-color: white;
}

/* Thumbnail Navigation */
.gallery-thumbnails {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-nav {
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-nav:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-nav.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Legacy Gallery Grid Styles (kept for backwards compatibility) */
.item-gallery {
    margin: 2.5rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.item-gallery h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.item-gallery h5 i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Modern Gallery Section Styles */
.gallery-section {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.gallery-title {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-title i {
    color: var(--primary);
}

.gallery-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.gallery-carousel-modern {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: #000;
    margin-bottom: 1.5rem;
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gallery-image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.gallery-carousel-modern .carousel-control-prev,
.gallery-carousel-modern .carousel-control-next {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-carousel-modern:hover .carousel-control-prev,
.gallery-carousel-modern:hover .carousel-control-next {
    opacity: 1;
}

.gallery-carousel-modern .carousel-control-prev {
    left: 20px;
}

.gallery-carousel-modern .carousel-control-next {
    right: 20px;
}

.gallery-carousel-modern .carousel-control-prev:hover,
.gallery-carousel-modern .carousel-control-next:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-carousel-modern .carousel-control-prev i,
.gallery-carousel-modern .carousel-control-next i {
    color: var(--primary);
    font-size: 20px;
}

.gallery-thumbnails-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f3f5;
}

.gallery-thumbnails-grid::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails-grid::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.gallery-thumbnails-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .gallery-image-container {
        height: 300px;
    }
    
    .gallery-thumb {
        width: 80px;
        height: 60px;
    }
}

/* Related Items Section */
.related-items-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.related-items-section .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.related-item-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.related-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-item-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.related-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-item-card:hover .related-item-image img {
    transform: scale(1.1);
}

.related-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-item-card:hover .related-item-overlay {
    opacity: 1;
}

.view-more-btn {
    color: white;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.related-item-content {
    padding: 25px;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6c757d;
    flex-wrap: wrap;
    gap: 10px;
}

.related-category,
.related-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-category {
    background: #e3f2fd;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.related-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-item-card:hover .related-title {
    color: var(--primary);
}

.related-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for related items */
@media (max-width: 768px) {
    .related-items-section .section-title {
        font-size: 1.8rem;
    }
    
    .related-item-image {
        height: 200px;
    }
}

