:root {
  /* Premium Theme Variables */
  --primary-blue: #0d6efd;
  /* Keep original core blue */
  --primary-blue-dark: #0a58ca;
  --primary-blue-light: #4d94ff;
  --primary-gradient: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);

  --dark-bg: #1a1a2e;
  --dark-surface: #16213e;

  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;

  --bg: #f3f6f9;
  /* Slightly off-white for better contrast */
  --bg-alt: #ffffff;
  --surface: #ffffff;

  --text: #2c3e50;
  --text-muted: #6c757d;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(148, 163, 184, 0.1);
  --shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
  --shadow-lg: 0 10px 25px rgba(148, 163, 184, 0.15);
  --shadow-hover: 0 20px 40px rgba(148, 163, 184, 0.2);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* Smooth fonts */
body,
.navbar,
.dropdown-menu {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-blue-dark);
  text-decoration: none;
}

/* Container width */
.container {
  max-width: var(--container);
}

.container-wide {
  max-width: 1400px;
}

@media (min-width: 1600px) {
  .container-wide {
    max-width: 1600px;
  }
}

/* Header & Navbar */
header.site-header {
  background: transparent;
  padding-bottom: 0;
}

.navbar {
  background: var(--primary-gradient) !important;
  padding: 0.75rem 0;
  box-shadow: var(--shadow);
}

.navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .navbar-brand i {
  color: #fff;
  opacity: 0.9;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 1.2rem;
  margin: 0 0.15rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.navbar .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Dropdown menu */
.dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-top: 0.5rem;
  animation: dropdownFade 0.2s ease;
}

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

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

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background-color: var(--gray-100);
  color: var(--primary-blue);
  transform: translateX(3px);
}

/* Navbar toggler */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* Main Content */
main.site-main {
  flex: 1;
  padding: 2.5rem 0;
}

/* Cards & Glsss Effect */
.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

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

.card-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

/* Stats Cards Specifics */
.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--gray-100);
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary-blue);
  color: #fff;
}

/* Action Cards */
.action-card {
  text-align: center;
  height: 100%;
}

.action-card .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.action-card:hover .icon-wrapper {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.action-card .btn-action {
  margin-top: 1rem;
  width: 100%;
  border-radius: var(--radius);
}

/* Badges */
.badge {
  padding: 0.5em 0.85em;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.badge.bg-primary {
  background: var(--primary-gradient) !important;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%) !important;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

.badge.bg-success {
  background: linear-gradient(135deg, #198754 0%, #146c43 100%) !important;
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

/* Buttons */
.btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Forms */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* Footer */
footer.site-footer {
  background: var(--primary-gradient);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  margin-top: auto;
}

footer a {
  color: rgba(255, 255, 255, 0.9);
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Dashboard specific headers */
.dashboard-header {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.welcome-text h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.welcome-text p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Avatar big */
.avatar-xl {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

/* =========================================
   HOME PAGE SPECIFICS
   ========================================= */

/* Hero Section */
.hero-section {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--primary-blue) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
  z-index: 1;
}

.hero-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.hero-stats {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  background: var(--gray-100);
}

.stat-card:hover {
  background: #fff;
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.stat-card i {
  font-size: 2rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Header Video / Carousel */
.video-header-wrapper,
.carousel-wrapper {
  position: relative;
  /* border-radius: var(--radius-xl); REMOVED per request */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  background: #000;
  min-height: 500px;
}

.video-header {
  position: relative;
  height: 500px;
  width: 100%;
  overflow: hidden;
}

.video-header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-header-overlay,
.carousel-caption-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.video-header-content,
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 3rem;
  text-align: center;
  color: #fff;
}

.carousel-img {
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
  height: 4px;
  border-radius: 2px;
}

/* Teams Slider */
.teams-slider-section {
  position: relative;
}

.teams-slider-wrapper {
  overflow: hidden;
  padding: 1rem 0;
  /* Space for shadows */
  margin: -1rem 0;
}

.teams-slider {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-behavior: smooth;
  padding: 0 0.5rem;
  -ms-overflow-style: none;
  /* Hide scrollbar IE/Edge */
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.teams-slider::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.team-slide {
  flex: 0 0 280px;
  /* Card width */
}

.carousel-item.active {
  display: block !important;
}

.team-card-modern {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.team-card-inner {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card-modern:hover .team-card-inner {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue-light);
}

.team-avatar-wrapper {
  height: 120px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-placeholder {
  font-size: 3rem;
  color: var(--gray-400);
}

.team-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  background: #fff;
  color: var(--primary-blue);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}

.team-info {
  padding: 1.5rem 1.25rem 1rem;
  text-align: center;
  flex-grow: 1;
}

.team-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.team-location {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.team-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  background: var(--gray-100);
}

.view-profile {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  transition: color 0.2s;
}

.team-card-modern:hover .view-profile {
  color: var(--primary-blue-dark);
}

.slider-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-nav-btn:hover:not(:disabled) {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.slider-nav-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.newsletter-section {

  background: var(--primary-gradient);

  border-radius: var(--radius-lg);

  padding: 3rem;

  color: #fff;

  position: relative;

  overflow: hidden;

  margin-bottom: 3rem;

}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-section h3,
.newsletter-section p {
  color: #ffffff !important;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

/* Article Cards */
.article-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

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

.article-title a {
  background-image: linear-gradient(var(--gray-900), var(--gray-900));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size .3s;
}

.article-card:hover .article-title a {
  background-size: 100% 1px;
  color: var(--primary-blue) !important;
}

/* Mobile Stats Helper */
.mobile-stats {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.mobile-stat-card {
  flex: 0 0 140px;
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.mobile-stat-number {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gray-900);

  .team-badge {
    position: absolute;
    bottom: -15px;
    right: 15px;
    background: #fff;
    color: var(--primary-blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
  }

  .team-info {
    padding: 1.5rem 1.25rem 1rem;
    text-align: center;
    flex-grow: 1;
  }

  .team-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
  }

  .team-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
  }

  .team-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    background: var(--gray-100);
  }

  .view-profile {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.2s;
  }

  .team-card-modern:hover .view-profile {
    color: var(--primary-blue-dark);
  }

  .slider-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }

  .slider-nav-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
  }

  .slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: default;
  }

  /* Newsletter */
  .newsletter-section {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
  }

  .newsletter-content {
    position: relative;
    z-index: 1;
  }

  .newsletter-section h3,
  .newsletter-section p {
    color: #ffffff !important;
  }

  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }

  /* Animations */
  .animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
  }

  .animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
  }

  .delay-1 {
    animation-delay: 0.2s;
  }

  .delay-2 {
    animation-delay: 0.4s;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

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

  /* Article Cards */
  .article-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    background: #fff;
  }

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

  .article-title a {
    background-image: linear-gradient(var(--gray-900), var(--gray-900));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
  }

  .article-card:hover .article-title a {
    background-size: 100% 1px;
    color: var(--primary-blue) !important;
  }

  /* Mobile Stats Helper */
  .mobile-stats {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .mobile-stat-card {
    flex: 0 0 140px;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .mobile-stat-number {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
  }

  .mobile-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
    color: #ffffff !important;
  }

  .cta-section h2,
  .cta-section p {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
  }

  .team-info {
    padding: 1.5rem 1.25rem 1rem;
    text-align: center;
    flex-grow: 1;
  }

  .team-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
  }

  .team-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
  }

  .team-footer {
    padding: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
    background: var(--gray-100);
  }

  .view-profile {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.2s;
  }

  .team-card-modern:hover .view-profile {
    color: var(--primary-blue-dark);
  }

  .slider-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }

  .slider-nav-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
  }

  .slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: default;
  }

  /* Newsletter */
  .newsletter-section {
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
  }

  .newsletter-content {
    position: relative;
    z-index: 1;
  }

  .newsletter-section h3,
  .newsletter-section p {
    color: #ffffff !important;
  }

  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }

  /* Animations */
  .animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
  }

  .animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
  }

  .delay-1 {
    animation-delay: 0.2s;
  }

  .delay-2 {
    animation-delay: 0.4s;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

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

  /* Article Cards */
  .article-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    background: #fff;
  }

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

  .article-title a {
    background-image: linear-gradient(var(--gray-900), var(--gray-900));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
  }

  .article-card:hover .article-title a {
    background-size: 100% 1px;
    color: var(--primary-blue) !important;
  }

  /* Mobile Stats Helper */
  .mobile-stats {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .mobile-stat-card {
    flex: 0 0 140px;
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    text-align: center;
    box-shadow: var(--shadow-sm);
  }

  .mobile-stat-number {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-900);
  }

  .mobile-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .cta-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
    color: #ffffff !important;
  }

  .cta-section h2,
  .cta-section p {
    color: #ffffff !important;
    opacity: 1 !important;
    /* Force full opacity */
  }

}

/* Gallery Styles */
.gallery-thumb {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-thumb:hover {
  opacity: 0.8;
}