/* Global Styles */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #3a0ca3;
  --accent-color: #f72585;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --background-color: #f8f9fa;
  /* New light color scheme matching the image */
  --hero-gradient-start: #f5f7fa;
  --hero-gradient-end: #f0f4f8;
  --hero-accent: #0d6efd;
  --hero-accent-secondary: #0b5ed7;
  --hero-text-color: #212529;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
  padding-top: 76px;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  padding: 0.6rem 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: var(--dark-color) !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Navbar social icons styles removed */

/* Hero Section */
.hero-section {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
  color: var(--hero-text-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 650px;
  display: flex;
  align-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='600' y1='25' x2='600' y2='777'%3E%3Cstop offset='0' stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%23f0f4f8'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='650' y1='25' x2='650' y2='777'%3E%3Cstop offset='0' stop-color='%230d6efd' stop-opacity='0.05'/%3E%3Cstop offset='1' stop-color='%233a0ca3' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='700' y1='25' x2='700' y2='777'%3E%3Cstop offset='0' stop-color='%230d6efd' stop-opacity='0.05'/%3E%3Cstop offset='1' stop-color='%233a0ca3' stop-opacity='0.1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Cg fill-opacity='0.05'%3E%3Ccircle fill='url(%23b)' cx='900' cy='100' r='150'/%3E%3Ccircle fill='url(%23c)' cx='100' cy='700' r='120'/%3E%3Ccircle fill='url(%23b)' cx='1000' cy='500' r='80'/%3E%3Ccircle fill='url(%23c)' cx='300' cy='200' r='100'/%3E%3Ccircle fill='url(%23b)' cx='600' cy='600' r='70'/%3E%3Ccircle fill='url(%23c)' cx='800' cy='300' r='60'/%3E%3Ccircle fill='url(%23b)' cx='400' cy='400' r='90'/%3E%3Ccircle fill='url(%23c)' cx='200' cy='500' r='50'/%3E%3C/g%3E%3Cpath d='M0,0 L1200,0 L1200,800 L0,800 Z' fill='none' stroke='%230d6efd' stroke-width='1' stroke-opacity='0.03' stroke-dasharray='5,8' /%3E%3Cpath d='M0,0 C300,100 600,200 900,100 C1050,50 1150,50 1200,100 L1200,800 L0,800 Z' fill='%233a0ca3' fill-opacity='0.02'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* Hero section decorative elements */
.hero-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.03);
  top: -100px;
  left: -100px;
  z-index: 0;
  animation: float 15s infinite alternate ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 300 300'%3E%3Cpath d='M150,10 C200,30 250,80 290,150 C250,220 200,270 150,290 C100,270 50,220 10,150 C50,80 100,30 150,10 Z' fill='%230d6efd' fill-opacity='0.03' stroke='%233a0ca3' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.02);
  bottom: -200px;
  right: -200px;
  z-index: 0;
  animation: float 20s infinite alternate-reverse ease-in-out;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 400 400'%3E%3Ccircle cx='200' cy='200' r='180' fill='none' stroke='%233a0ca3' stroke-opacity='0.04' stroke-width='1' stroke-dasharray='10,15'/%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%230d6efd' stroke-opacity='0.03' stroke-width='1' stroke-dasharray='5,10'/%3E%3Ccircle cx='200' cy='200' r='120' fill='none' stroke='%233a0ca3' stroke-opacity='0.02' stroke-width='1'/%3E%3C/svg%3E");
}

/* Hero text content */
.hero-text-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  width: 100%;
  height: 450px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
  animation: fadeIn 1s ease-out;
}

/* Category bubbles */
.category-bubble {
  position: absolute;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  z-index: 3;
  font-size: 1.1rem;
  color: var(--hero-accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-bubble:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

.category-bubble-1 {
  top: 10%;
  right: 15%;
  animation: float-small 13s ease-in-out infinite 0.5s;
}

.category-bubble-2 {
  bottom: 20%;
  right: 20%;
  animation: float-small 12s ease-in-out infinite 1.5s;
}

.category-bubble-3 {
  bottom: 35%;
  left: 15%;
  animation: float-small 11s ease-in-out infinite 2.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
  100% {
    transform: translateY(10px) translateX(-15px);
  }
}

@keyframes float-small {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-10px) translateX(5px);
  }
  100% {
    transform: translateY(5px) translateX(-10px);
  }
}

@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Additional decorative SVG for hero section */
.hero-section::before,
.hero-section::after {
  pointer-events: none;
}

.hero-section .svg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0,0 L100,0 L100,100 L0,100 Z' fill='none' stroke='%230d6efd' stroke-width='0.2' stroke-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-section .floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
}

.floating-shape.shape-1 {
  top: 15%;
  left: 10%;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M30,5 L55,30 L30,55 L5,30 Z' fill='%230d6efd'/%3E%3C/svg%3E");
  animation: float-shape 20s infinite alternate ease-in-out;
}

.floating-shape.shape-2 {
  top: 25%;
  right: 15%;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='15' fill='%233a0ca3'/%3E%3C/svg%3E");
  animation: float-shape 15s infinite alternate-reverse ease-in-out;
}

.floating-shape.shape-3 {
  bottom: 20%;
  left: 20%;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M10,10 L40,10 L40,40 L10,40 Z' fill='%230d6efd' transform='rotate(15, 25, 25)'/%3E%3C/svg%3E");
  animation: float-shape 18s infinite alternate ease-in-out 2s;
}

.floating-shape.shape-4 {
  bottom: 30%;
  right: 10%;
  width: 45px;
  height: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 45'%3E%3Cpath d='M22.5,5 L35,15 L30,35 L15,35 L10,15 Z' fill='%233a0ca3'/%3E%3C/svg%3E");
  animation: float-shape 22s infinite alternate-reverse ease-in-out 1s;
}

@keyframes float-shape {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(10px) rotate(-5deg);
  }
}

.hero-section .wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f0f4f8' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23f0f4f8' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23f0f4f8' opacity='.75'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center top;
  pointer-events: none;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 2;
  padding: 2rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

/* Trusted Badge */
.trusted-badge-container {
  position: absolute;
  top: 0;
  right: 10%;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  margin-top: -20px;
}

.trusted-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.15) 0%,
    rgba(58, 12, 163, 0.15) 100%
  );
  color: var(--hero-accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(13, 110, 253, 0.3);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.trusted-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  20%,
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.15);
  }
}

/* Floating Stats */
.floating-stats {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.floating-stat {
  position: absolute;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: float-stat 15s ease-in-out infinite;
  z-index: 1;
}

.floating-stat:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.floating-stat:nth-child(2) {
  top: 25%;
  right: 10%;
  animation-delay: 5s;
}

.floating-stat:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: 2.5s;
}

@keyframes float-stat {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(-2deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(15px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.stat-icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #3a0ca3 100%);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  font-size: 0.8rem;
}

.stat-text {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-color);
  font-family: "Space Grotesk", sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--hero-text-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.highlight {
  color: var(--hero-accent);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: rgba(13, 110, 253, 0.2);
  bottom: 5px;
  left: 0;
  z-index: -1;
  border-radius: 4px;
  animation: widthGrow 1s ease-out 0.5s forwards;
  transform-origin: left;
  transform: scaleX(0);
}

.highlight-secondary {
  color: #3a0ca3;
  position: relative;
  display: inline-block;
}

.highlight-secondary::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  background-color: rgba(58, 12, 163, 0.15);
  bottom: 5px;
  left: 0;
  z-index: -1;
  border-radius: 4px;
  animation: widthGrow 1s ease-out 0.8s forwards;
  transform-origin: left;
  transform: scaleX(0);
}

.launch-text {
  color: #3a0ca3;
  position: relative;
  display: inline-block;
}

@keyframes widthGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-color);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.6;
}

/* Key Stats Row */
.key-stats-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.key-stat {
  position: relative;
  text-align: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  transition: all 0.3s ease;
}

.key-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.1);
}

.key-stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0d6efd 0%, #3a0ca3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.key-stat-number small {
  font-size: 0.8rem;
  margin-left: 0.2rem;
  font-weight: 600;
  opacity: 0.8;
  background: linear-gradient(135deg, #0d6efd 0%, #3a0ca3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.key-stat-label {
  font-size: 0.8rem;
  color: var(--gray-color);
  font-weight: 500;
}

/* Feature Pills */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1) 0%,
    rgba(58, 12, 163, 0.1) 100%
  );
  color: var(--hero-accent);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 110, 253, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(13, 110, 253, 0.15);
}

.feature-pill:hover::before {
  transform: translateX(100%);
}

.feature-pill i {
  font-size: 0.9rem;
  color: var(--hero-accent);
}

/* Animated Headlines Container */
.animated-headlines-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 800px;
}

.animated-headlines-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #3a0ca3 100%);
  color: white;
  border-radius: 50%;
  margin-right: 1rem;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Animated Headlines */
.animated-headlines {
  position: relative;
  height: 36px;
  overflow: hidden;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0 1.5rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.headline-slider {
  position: relative;
  height: 100%;
}

.headline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: var(--dark-color);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  font-size: 0.95rem;
}

.headline.active {
  opacity: 1;
  transform: translateY(0);
}

/* Category Preview Container */
.category-preview-container {
  margin: 0 auto;
  max-width: 600px;
}

.category-preview-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.category-preview-label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hero-accent),
    transparent
  );
}

/* Category Preview */
.category-preview {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
}

.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.1) 0%,
    rgba(58, 12, 163, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hero-accent);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  animation: fadeInRotate 1s ease-out forwards;
  opacity: 0;
  transform: scale(0) rotate(-45deg);
  position: relative;
  cursor: pointer;
}

.category-icon::after {
  content: attr(data-category);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-color);
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.category-icon:hover::after {
  opacity: 1;
  bottom: -30px;
}

.category-icon:nth-child(1) {
  animation-delay: 0.1s;
}
.category-icon:nth-child(2) {
  animation-delay: 0.2s;
}
.category-icon:nth-child(3) {
  animation-delay: 0.3s;
}
.category-icon:nth-child(4) {
  animation-delay: 0.4s;
}
.category-icon:nth-child(5) {
  animation-delay: 0.5s;
}
.category-icon:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInRotate {
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.category-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15);
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.2) 0%,
    rgba(58, 12, 163, 0.2) 100%
  );
}

/* Hero features container */
.hero-features-container {
  margin: 0 auto;
  max-width: 600px;
}

/* Hero features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: var(--dark-color);
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0.7rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.hero-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero-feature:hover::before {
  transform: translateX(100%);
}

.feature-icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #3a0ca3 100%);
  border-radius: 50%;
  color: white;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

.hero-feature:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-feature:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-feature:nth-child(3) {
  animation-delay: 0.7s;
}

.hero-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.btn-hero {
  background-color: var(--hero-accent);
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--hero-accent) 0%,
    var(--secondary-color) 100%
  );
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-hero:hover::before {
  width: 100%;
}

.btn-hero:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.btn-outline-hero {
  color: var(--hero-accent);
  border: 2px solid var(--hero-accent);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--hero-accent);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-outline-hero:hover::before {
  height: 100%;
}

.btn-outline-hero:hover {
  color: white;
  border-color: var(--hero-accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

/* Stats Section */
.stats-section {
  background: #f0f4f9;
  padding: 4rem 0 0;
  position: relative;
  z-index: 1;
  color: var(--dark-color);
  overflow: visible;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.03);
  top: -100px;
  left: -100px;
  z-index: -1;
  animation: float 15s infinite alternate ease-in-out;
}

.stats-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.02);
  bottom: -200px;
  right: -200px;
  z-index: -1;
  animation: float 20s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 20px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 10px) scale(0.95);
  }
}

.stat-item {
  padding: 1rem;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
}

.stat-item:hover {
  transform: translateY(-5px);
  background-color: rgba(13, 110, 253, 0.05);
}

.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
  letter-spacing: -2px;
  color: #0d6efd;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
}

.stat-item:hover .stat-number {
  transform: scale(1.05);
  color: #0052cc;
}

.stat-label {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  color: var(--gray-color);
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  max-width: 90%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.stat-item:hover .stat-label {
  color: var(--dark-color);
}

.stats-divider {
  display: none;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 3.5rem;
  }

  .stat-item {
    margin-bottom: 2.5rem;
    padding: 1rem;
  }

  .stats-section {
    padding: 4rem 0 3rem;
  }

  .stat-label {
    font-size: 0.9rem;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .stat-number {
    font-size: 2.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-item {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
  }
}

@media (max-width: 375px) {
  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* Partners Section */
.partners-section {
  background-color: var(--light-color);
  background: linear-gradient(
    135deg,
    var(--hero-gradient-start) 0%,
    var(--hero-gradient-end) 100%
  );
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: var(--dark-color);
  margin-top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.05);
  top: -100px;
  left: -100px;
  z-index: 0;
  animation: float 15s infinite alternate ease-in-out;
}

.partners-section::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.03);
  bottom: -200px;
  right: -200px;
  z-index: 0;
  animation: float 20s infinite alternate-reverse ease-in-out;
}

.partners-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-color);
  margin-bottom: 2rem;
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

.partners-slider-container {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  z-index: 1;
}

.partners-slider:hover .partners-track {
  animation-play-state: paused;
}

.partners-track {
  display: flex;
  animation: scroll 40s linear infinite;
  width: calc(200px * 10); /* logo width * number of logos */
  padding: 1rem 0;
}

.partner-logo {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1352%)
    hue-rotate(206deg) brightness(96%) contrast(107%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-200px * 5)
    ); /* logo width * (number of logos / 2) */
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 3rem 0;
  }

  .partner-logo {
    flex: 0 0 150px;
    padding: 0 15px;
  }

  .partners-track {
    width: calc(150px * 10);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 5));
    }
  }
}

/* Categories Section */
.categories-section {
  background-color: var(--light-color);
}

.category-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-box i {
  font-size: 1.5rem;
  color: #0d6efd;
}

.category-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.category-card p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* About Section */
.about-section {
  background-color: white;
}

.about-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.feature-text h5 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-text p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Partners Section */
.partners-section {
  background-color: var(--dark-color);
}

.partner-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.partner-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.partner-logo {
  margin-bottom: 1rem;
}

.partner-logo h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 0;
}

.partner-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--background-color);
  padding: 80px 0;
  background-image: linear-gradient(
      to right,
      rgba(13, 110, 253, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(13, 110, 253, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 300px; /* Fixed height for all cards */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent content overflow */
  border-left: 4px solid #0d6efd;
  position: relative;
  background-image: radial-gradient(
    circle at 100% 100%,
    rgba(13, 110, 253, 0.03) 0%,
    transparent 50%
  );
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-left-color: #0052cc;
  background-image: radial-gradient(
    circle at 100% 100%,
    rgba(13, 110, 253, 0.06) 0%,
    transparent 60%
  );
}

.testimonial-card:hover .testimonial-rating .star {
  transform: rotate(5deg) scale(1.1);
  transition: transform 0.3s ease;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  flex-grow: 1;
  position: relative;
  padding-top: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 210px;
  font-style: italic;
}

.testimonial-text::before {
  content: "\201C";
  font-size: 3rem;
  color: #0d6efd;
  opacity: 0.2;
  position: absolute;
  top: -15px;
  left: -5px;
  font-family: Georgia, serif;
}

.testimonial-author {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 10px;
  position: relative;
}

.testimonial-rating {
  display: inline-flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 5px;
  border-radius: 12px;
}

.testimonial-rating .star {
  color: #ffd700;
  font-size: 16px;
  margin-right: 3px;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
  display: inline-block;
}

.testimonial-rating .star:last-child {
  margin-right: 0;
}

.testimonial-name-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.testimonial-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Stats Display */
.testimonial-stats h3 {
  background: linear-gradient(135deg, #4a90e2, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0;
}

/* Swiper Customization */
.swiper {
  padding: 20px 0;
}

.testimonialSwiper {
  padding-bottom: 50px;
  overflow: visible;
  margin-bottom: 30px;
}

.testimonialSwiper .swiper-wrapper,
.testimonialSwiperCircular .swiper-wrapper {
  height: 300px !important;
  display: flex;
  flex-direction: row;
  transition: none !important;
  will-change: transform;
}

.testimonialSwiper .swiper-slide,
.testimonialSwiperCircular .swiper-slide {
  min-width: 340px;
  max-width: 340px;
  height: 300px !important;
  margin-right: 30px;
  transition: none;
  opacity: 1;
  filter: none;
  transform: none !important;
  box-sizing: border-box;
}

.testimonialSwiper .testimonial-card {
  margin: 0;
  height: 100%;
  width: 100%;
  padding: 20px;
}

/* Ensure testimonial content is properly displayed */
.testimonialSwiper .testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonialSwiper .testimonial-text {
  font-size: 0.9rem;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  max-height: 210px;
  padding-top: 15px;
  position: relative;
}

.testimonialSwiper .testimonial-text::before {
  content: "\201C";
  font-size: 2.5rem;
  color: #0d6efd;
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: Georgia, serif;
}

.testimonialSwiper .testimonial-author {
  margin-top: auto;
  padding-top: 10px;
}

.testimonialSwiper .testimonial-name {
  font-size: 1rem;
  font-weight: 600;
}

.testimonialSwiper .testimonial-role {
  font-size: 0.85rem;
}

/* Remove Swiper-specific active/prev/next styling */
.testimonialSwiper .swiper-slide-active,
.testimonialSwiperCircular .swiper-slide-active,
.testimonialSwiper .swiper-slide-prev,
.testimonialSwiper .swiper-slide-next,
.testimonialSwiperCircular .swiper-slide-prev,
.testimonialSwiperCircular .swiper-slide-next {
  transform: none !important;
  z-index: auto;
  opacity: 1;
}

.testimonialSwiperCircular {
  padding-bottom: 50px;
  overflow: visible;
  margin-top: 40px;
}

.testimonialSwiperCircular .swiper-wrapper {
  height: 300px !important; /* Force fixed height */
  flex-direction: row; /* Ensure left-to-right direction */
  transition-timing-function: linear !important; /* Ensure linear movement */
  will-change: transform; /* Optimize for animation */
  transform: translate3d(0, 0, 0); /* Force hardware acceleration */
}

.testimonialSwiperCircular .swiper-slide {
  height: 300px !important; /* Force fixed height */
  transition: none; /* Remove transition for continuous flow */
  opacity: 1; /* Full opacity for all slides */
  filter: none; /* No blur effect */
  transform: none !important; /* Prevent any transform that might interfere with movement */
}

/* Remove active slide effects for continuous movement */
.testimonialSwiper .swiper-slide-active,
.testimonialSwiperCircular .swiper-slide-active {
  transform: none;
  z-index: auto;
}

.testimonialSwiper .swiper-slide-prev,
.testimonialSwiper .swiper-slide-next,
.testimonialSwiperCircular .swiper-slide-prev,
.testimonialSwiperCircular .swiper-slide-next {
  opacity: 1;
  z-index: auto;
}

.testimonial-card-circular {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 4px solid #0d6efd;
  position: relative;
  background-image: radial-gradient(
    circle at 100% 100%,
    rgba(13, 110, 253, 0.05) 0%,
    transparent 60%
  );
}

.testimonial-card-circular:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-left-color: #0052cc;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  width: 100%;
  position: relative;
  z-index: 10;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer .social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer .social-icons a:hover {
  color: white;
}

hr {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Container Fix */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

#page-content {
  flex: 1 0 auto;
  min-height: calc(100vh - 400px); /* Subtract footer height */
}

#footer-container {
  flex-shrink: 0;
}

.container,
.container-fluid {
  padding-right: 15px !important;
  padding-left: 15px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Fix for extra space on right side */
.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Additional fix for any potential overflow */
* {
  box-sizing: border-box;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
.hero-section {
    position: relative;
    min-height: 100vh;   /* ADD THIS */
    padding: 120px 0 0;
    overflow: hidden;
}
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 3.2rem;
    letter-spacing: -0.8px;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .hero-features {
    gap: 1rem;
  }

  .floating-stat:nth-child(1) {
    top: 10%;
    left: 5%;
  }

  .floating-stat:nth-child(2) {
    top: 20%;
    right: 5%;
  }

  .floating-stat:nth-child(3) {
    bottom: 15%;
    left: 8%;
  }

  .category-preview {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: 5rem 0;
    min-height: auto;
  }

  .hero-text-content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .key-stats-row {
    justify-content: center;
  }

  .feature-pills {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.7px;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .about-card {
    margin-bottom: 1.5rem;
  }

  .btn-hero,
  .btn-outline-hero {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .key-stats-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .key-stat {
    min-width: 120px;
  }

  .key-stat-number {
    font-size: 1.8rem;
  }

  .feature-pills {
    justify-content: center;
  }

  .trusted-badge-container {
    top: 0;
    right: 5%;
  }

  .trusted-badge {
    font-size: 0.8rem;
  }

  .hero-illustration {
    height: 350px;
  }

  .category-bubble {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.1px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-hero,
  .btn-outline-hero {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.4px;
  }

  .highlight::after,
  .highlight-secondary::after {
    height: 6px;
    bottom: 3px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
  }

  .btn-hero,
  .btn-outline-hero {
    width: 100%;
    max-width: 220px;
    text-align: center;
  }

  .trusted-badge-container {
    top: 0;
    right: 0;
    margin-top: -10px;
  }

  .trusted-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .key-stats-row {
    gap: 0.5rem;
  }

  .key-stat {
    padding: 0.4rem 0.6rem;
  }

  .key-stat-number {
    font-size: 1.5rem;
  }

  .key-stat-number small {
    font-size: 0.7rem;
  }

  .key-stat-label {
    font-size: 0.7rem;
  }

  .feature-pills {
    gap: 0.5rem;
  }

  .feature-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .feature-pill i {
    font-size: 0.8rem;
  }

  .hero-text-content {
    margin-bottom: 2rem;
  }

  .hero-illustration {
    height: 250px;
  }

  .category-bubble {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Certificate Showcase Styles */
.certificates-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #d7e3fc 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.certificates-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.08) 0%,
    rgba(13, 110, 253, 0.01) 70%
  );
  top: -200px;
  left: -200px;
  z-index: 0;
  animation: float-slow 15s infinite alternate ease-in-out;
}

.certificates-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.05) 0%,
    rgba(13, 110, 253, 0.01) 70%
  );
  bottom: -250px;
  right: -250px;
  z-index: 0;
  animation: float-slow 20s infinite alternate-reverse ease-in-out;
}

.certificate-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  z-index: 1;
}

.certificate-slider {
  width: 100%;
  overflow: visible;
  padding: 50px 0;
}

.certificate-slider .swiper-slide {
  width: 400px;
  height: auto;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.5;
  transform: scale(0.8) translateY(30px);
  filter: blur(2px);
  perspective: 1000px;
}

.certificate-slider .swiper-slide-prev,
.certificate-slider .swiper-slide-next {
  opacity: 0.7;
  transform: scale(0.85) translateY(15px);
  filter: blur(1px);
  z-index: 1;
}

.certificate-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
  z-index: 2;
}

.certificate-card {
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  height: 100%;
  border: 8px solid white;
}

.certificate-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  z-index: 1;
}

.certificate-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-origin: center;
  object-fit: cover;
}

.certificate-slider .swiper-slide-active .certificate-card {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.certificate-card:hover img {
  transform: scale(1.05);
}

.certificate-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.certificate-button-prev,
.certificate-button-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #4361ee);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
  color: white;
  z-index: 10;
  margin: 0 15px;
}

.certificate-button-prev:hover,
.certificate-button-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
}

.certificate-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.certificate-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(13, 110, 253, 0.3);
  opacity: 0.7;
  margin: 0 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.certificate-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #0d6efd, #4361ee);
  opacity: 1;
  width: 14px;
  height: 14px;
  transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 991px) {
  .certificates-section {
    padding: 60px 0;
  }

  .certificate-slider-container {
    padding: 30px 0;
  }

  .certificate-slider .swiper-slide {
    width: 350px;
  }
}

@media (max-width: 768px) {
  .certificate-slider .swiper-slide {
    width: 320px;
  }

  .certificate-button-prev,
  .certificate-button-next {
    width: 45px;
    height: 45px;
  }

  .certificate-slider {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .certificates-section {
    padding: 50px 0;
  }

  .certificate-slider-container {
    padding: 20px 0;
  }

  .certificate-slider {
    padding: 30px 0;
  }

  .certificate-slider .swiper-slide {
    width: 260px;
  }

  .certificate-card {
    border-radius: 12px;
    border-width: 6px;
  }

  .certificate-button-prev,
  .certificate-button-next {
    width: 40px;
    height: 40px;
    margin: 0 10px;
  }

  .certificate-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }

  .certificate-pagination .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 375px) {
  .certificate-slider .swiper-slide {
    width: 240px;
  }

  .certificate-card {
    border-width: 5px;
  }
}


/* Responsive fixes for InternPortal */

/* Floating Apply Now UI */
.floating-apply-now {
    position: absolute;
    top: 15%;
    left: 15%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-now-button {
    background: linear-gradient(135deg, #f72585 0%, #ff0676 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.apply-now-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
    color: white;
}

.apply-now-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(247, 37, 133, 0.3);
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Add a subtle floating animation to the Apply Now button */
.floating-apply-now {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(5deg);
    }
}

/* Navbar responsive fixes */
@media (max-width: 991.98px) {
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .navbar-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .navbar-collapse {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Hero section responsive fixes */
@media (max-width: 991.98px) {
    .hero-section .row {
        flex-direction: column;
    }

    .hero-text-content {
        margin-bottom: 2rem;
    }

    .hero-illustration {
        height: 300px;
        margin-top: 1rem;
        position: relative;
    }

    /* .main-illustration {
        background-size: contain;
        background-position: center;
    } */
     .main-illustration {
    position: relative;
    width: 100%;
    height: 500px;  /* ADD FIXED HEIGHT */
}

    .illustration-buttons {
        margin-top: 1rem;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-illustration {
        height: 250px;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    /* Responsive styles for trusted badge and category bubbles */
    .trusted-badge-container {
        top: 0;
        right: 5%;
        margin-top: -10px;
    }

    .trusted-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .category-bubble {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-illustration {
        height: 200px;
    }

    .illustration-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .illustration-buttons .btn {
        width: 100%;
        max-width: 200px;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Responsive styles for trusted badge and category bubbles on very small screens */
    .trusted-badge-container {
        top: 0;
        right: 2%;
        margin-top: -5px;
    }

    .trusted-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .category-bubble {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .category-bubble-1 {
        top: 15%;
        right: 10%;
    }

    .category-bubble-2 {
        bottom: 25%;
        right: 15%;
    }

    .category-bubble-3 {
        bottom: 40%;
        left: 10%;
    }
}



/* Floating Apply Now Button Styles */
.floating-apply-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f72585 0%, #ff0676 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.floating-apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
    color: white;
    text-decoration: none;
    animation: none;
}

.floating-apply-button i {
    margin-right: 8px;
}

/* Pulse animation for the button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 37, 133, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
    }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .floating-apply-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Adjust position when footer is in view to prevent overlap */
.footer-in-view .floating-apply-button {
    bottom: 100px; /* Adjust this value based on your footer height */
}



/* Partners Carousel Style - Single Circular Slider */
.partners-carousel-section {
    background-color: #f5f7fa;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.partners-carousel-title {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.partners-carousel {
    position: relative;
    padding: 0 40px;
}

.partners-carousel .swiper-slide {
    height: 140px; /* Increased from 80px to accommodate larger logos */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 15px; /* Increased from 10px */
}

.partner-carousel-item img {
    max-width: 100%;
    max-height: 80px; /* Increased from 50px */
    object-fit: contain;
    transition: transform 0.3s ease;
    min-width: 60px; /* Ensure minimum width */
}

.partner-carousel-item:hover img {
    transform: scale(1.1);
}

/* Specific styling for NIIT Foundation logo */
.niit-foundation-logo {
    max-height: 100px !important; /* Significantly increased size */
    min-height: 80px !important; /* Ensure minimum height */
    min-width: 80px !important; /* Ensure minimum width */
}

.partner-carousel-item:hover .niit-foundation-logo {
    transform: scale(1.15);
}

.partners-carousel .swiper-button-next,
.partners-carousel .swiper-button-prev {
    color: #0d6efd;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partners-carousel .swiper-button-next:after,
.partners-carousel .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.partners-carousel .swiper-button-next:hover,
.partners-carousel .swiper-button-prev:hover {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partners-carousel {
        padding: 0 30px;
    }

    .partner-carousel-item img {
        max-height: 70px; /* Increased from 40px */
        min-height: 50px;
        min-width: 50px;
    }

    .niit-foundation-logo {
        max-height: 90px !important;
        min-height: 70px !important;
        min-width: 70px !important;
    }

    /* Increase the height of the carousel slides */
    .partners-carousel .swiper-slide {
        height: 120px; /* Increased from 80px */
    }
}

@media (max-width: 576px) {
    .partners-carousel {
        padding: 0 20px;
    }

    .partner-carousel-item img {
        max-height: 60px; /* Increased from 35px */
        min-height: 40px;
        min-width: 40px;
    }

    .niit-foundation-logo {
        max-height: 80px !important;
        min-height: 60px !important;
        min-width: 60px !important;
    }

    /* Maintain increased height for smaller screens */
    .partners-carousel .swiper-slide {
        height: 100px;
    }
}



/* Enhanced Stats Section Styles */
.stats-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e7f0ff 100%);
    padding: 4rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    color: var(--dark-color);
}

.stats-section .section-title {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stats-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0d6efd, #4361ee);
    border-radius: 2px;
}

.stats-section .section-subtitle {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.stats-section .row {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.02) 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
    animation: float-slow 15s infinite alternate ease-in-out;
}

.stats-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, rgba(13, 110, 253, 0.01) 70%);
    bottom: -250px;
    right: -250px;
    z-index: 0;
    animation: float-slow 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 20px) scale(1.05);
    }
    100% {
        transform: translate(-20px, 10px) scale(0.95);
    }
}

/* Old stat-card styles removed in favor of unified-stat-card */

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(67, 97, 238, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent 30%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

.stat-icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #0d6efd, #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 3px rgba(13, 110, 253, 0.2));
}

.stat-item:hover .stat-icon {
    transform: rotateY(180deg) scale(1.1);
    background: linear-gradient(135deg, #0d6efd, #4361ee);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.2);
}

.stat-item:hover .stat-icon i {
    transform: rotateY(180deg);
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.1;
    background: linear-gradient(to right, #0d6efd, #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: all 0.5s ease;
    display: inline-block;
    min-height: 65px; /* Ensures consistent height during animation */
    width: 100%; /* Ensures the number takes full width of the card */
    text-align: center; /* Centers the text */
    letter-spacing: -1px;
    text-shadow: 3px 3px 6px rgba(13, 110, 253, 0.1);
}

/* Animation for counting effect */
.stat-item.counting .stat-number {
    animation: pulse-count 0.5s infinite alternate;
}

.stat-item.counted .stat-number {
    animation: scale-in 0.5s forwards;
}

/* Style for 'lacs+' text */
.stat-number::after {
    content: attr(data-suffix);
    display: inline;
    background: linear-gradient(to right, #0d6efd, #4361ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800;
    font-size: 0.9em;
}

@keyframes pulse-count {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes scale-in {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    background: linear-gradient(to right, #0052cc, #3a4cd7);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 4px 4px 8px rgba(13, 110, 253, 0.15);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.stat-item:hover .stat-label {
    color: #495057;
}

.stat-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, rgba(13, 110, 253, 0.3), rgba(67, 97, 238, 0.3));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label::after {
    width: 60px;
    background: linear-gradient(to right, rgba(13, 110, 253, 0.8), rgba(67, 97, 238, 0.8));
}

/* Animation for the stats section */
.stats-section .row {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    margin-bottom: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Unified stat card styles */
.unified-stat-card {
    background: linear-gradient(145deg, #ffffff, #f8faff);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: float-card 6s ease-in-out infinite alternate;
}

.unified-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(67, 97, 238, 0.04) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    border-radius: 20px;
}

.unified-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0d6efd, #4361ee);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.unified-stat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.15), 0 0 15px rgba(13, 110, 253, 0.1);
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
}

.unified-stat-card:hover::before {
    opacity: 1;
}

.unified-stat-card:hover::after {
    transform: scaleX(1);
}

/* Disable floating animation on mobile for better performance */
@media (max-width: 767px) {
    .unified-stat-card {
        animation: none;
    }
}

.stat-items-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    padding: 0.8rem;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(13, 110, 253, 0.2), transparent);
}

@keyframes float-card {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.unified-stat-card:hover {
    animation-play-state: paused;
}

/* Responsive styles */
@media (max-width: 991px) {
    .unified-stat-card {
        padding: 2rem 1.2rem;
    }

    .stat-items-container {
        gap: 1.2rem;
    }

    .stat-number {
        font-size: 3rem;
        min-height: 60px;
    }

    .stats-section .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .stat-item:not(:last-child)::after {
        height: 60%;
    }
}

@media (max-width: 767px) {
    .stats-section {
        padding: 3rem 0 1.5rem;
    }

    .stats-section .row {
        row-gap: 1.2rem !important;
    }

    .stats-section .section-title {
        font-size: 2rem;
    }

    .stats-section .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .unified-stat-card {
        padding: 1.5rem 0.8rem;
        border-radius: 18px;
    }

    .stat-items-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item {
        width: 100%;
        padding: 0.8rem 0.4rem;
    }

    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: -0.8rem;
        left: 0;
        top: auto;
        transform: none;
        height: 1px;
        width: 60%;
        margin: 0 auto;
        background: linear-gradient(to right, transparent, rgba(13, 110, 253, 0.2), transparent);
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .stat-icon i {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2.4rem;
        min-height: 50px;
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .stat-label::after {
        width: 30px;
        height: 2px;
    }
}

@media (max-width: 575px) {
    .stats-section {
        padding: 2rem 0 1rem;
    }

    .stats-section .row {
        row-gap: 1rem !important;
    }

    .stats-section .section-title {
        font-size: 1.6rem;
    }

    .stats-section .section-title::after {
        width: 50px;
        height: 3px;
        bottom: -4px;
    }

    .stats-section .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        max-width: 90%;
    }

    .unified-stat-card {
        padding: 1.2rem 0.8rem;
        border-radius: 16px;
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
    }

    .stat-items-container {
        gap: 1rem;
    }

    .stat-item:not(:last-child)::after {
        width: 50%;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.6rem;
        box-shadow: 0 6px 12px rgba(13, 110, 253, 0.08);
    }

    .stat-icon i {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.8rem;
        min-height: 35px;
        margin-bottom: 0.2rem;
        letter-spacing: -0.5px;
    }

    .stat-label {
        font-size: 0.8rem;
        padding-bottom: 0.3rem;
        line-height: 1.2;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .stat-label::after {
        width: 25px;
        height: 2px;
    }

    .unified-stat-card:hover {
        transform: translateY(-5px);
    }

    /* Reduce bottom margin for better spacing */
    .py-5 {
        padding-bottom: 0.8rem !important;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .unified-stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-items-container {
        gap: 0.8rem;
    }

    .stat-item {
        padding: 0.5rem 0.3rem;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }

    .stat-icon i {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 1.6rem;
        min-height: 30px;
    }

    .stat-label {
        font-size: 0.75rem;
        padding-bottom: 0.2rem;
    }

    .stats-section .section-title {
        font-size: 1.4rem;
    }

    .stats-section .section-subtitle {
        font-size: 0.8rem;
    }
}
