/* Import Premium Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
  font-weight: 400;
  padding-top: 80px; /* Add padding to account for fixed header */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Molecular Background */
.molecular-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.molecule {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.molecule::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 20px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 0, 0.3),
    transparent
  );
  top: -8px;
  left: 1px;
  transform-origin: center;
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes float-molecule {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) translateX(50px);
    opacity: 0;
  }
}

/* Header Styles */
header {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(42, 82, 152, 0.95) 50%, rgba(30, 60, 114, 0.95) 100%);
  color: white;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: headerFloat 6s ease-in-out infinite;
}

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

header:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2a5298;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.mobile-menu {
  display: none;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border: none;
  color: #1e3c72;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.mobile-menu:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.9) 0%,
    rgba(42, 82, 152, 0.9) 50%,
    rgba(30, 60, 114, 0.9) 100%
  );
  color: white;
  padding: 120px 0 120px; /* Reduced top padding since body now has padding-top */
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero:hover {
  background: linear-gradient(
    135deg,
    rgba(26, 51, 102, 0.95) 0%,
    rgba(74, 144, 226, 0.95) 25%,
    rgba(42, 82, 152, 0.95) 50%,
    rgba(74, 144, 226, 0.95) 75%,
    rgba(26, 51, 102, 0.95) 100%
  );
  transform: translateY(-5px);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 165, 0, 0.1) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700, #ffa500);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
  letter-spacing: 1px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero .subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.95;
}

/* Exam Badges */
.exam-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.exam-badge {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.15) 0%,
    rgba(255, 165, 0, 0.15) 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.4);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.exam-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: transform 0.6s;
}

.exam-badge:hover::before {
  transform: rotate(45deg) translateX(100%);
}

.exam-badge:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.25) 0%,
    rgba(255, 165, 0, 0.25) 100%
  );
  border-color: #ffd700;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 50%, #ffd700 100%);
  background-size: 200% 200%;
  color: #1e3c72;
  padding: 18px 45px;
  text-decoration: none;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  animation: button-glow 2s ease-in-out infinite;
}

@keyframes button-glow {
  0%,
  100% {
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.6),
      0 0 20px rgba(255, 215, 0, 0.3);
  }
}

.cta-button:hover {
  background-position: 100% 0;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.6);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.8s ease;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1e3c72;
  animation: loading-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
}

@keyframes loading-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
  }
}

.loading-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 215, 0, 0.3);
  border-top: 4px solid #ffd700;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffa500, #ffd700, #ffa500);
  background-size: 200% 100%;
  z-index: 10001;
  transition: width 0.1s ease;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes pulse-progress {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    height: 8px;
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.9),
      0 0 20px rgba(255, 215, 0, 0.5);
    height: 10px;
  }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f1f1f1 0%, #e1e1e1 100%);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700 0%, #ffa500 100%);
  border-radius: 6px;
  border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffa500 0%, #ffd700 100%);
}

/* Page Load Animation */
body {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

body.loaded {
  opacity: 1;
  transform: translateY(0);
}

.animate-in {
  animation: slideInUp 0.8s ease forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text Selection */
::selection {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: #1e3c72;
}

::-moz-selection {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: #1e3c72;
}

/* Focus Styles */
*:focus {
  outline: 3px solid rgba(255, 215, 0, 0.5);
  outline-offset: 2px;
}

/* Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* General Section Styles */
.video-section,
.exam-categories,
.features,
.contact {
  padding: 100px 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.08),
    transparent
  );
  animation: spin 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-section:hover::before {
  opacity: 1;
}

.video-section:hover {
  background: linear-gradient(135deg, #f0f4f8 0%, #dde5ed 100%);
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.exam-categories {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  position: relative;
}

.features {
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.02) 0%,
    rgba(42, 82, 152, 0.02) 100%
  );
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.08),
    transparent
  );
  animation: spin 6s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.features:hover::before {
  opacity: 1;
}

.features:hover {
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.05) 0%,
    rgba(42, 82, 152, 0.05) 100%
  );
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(30, 60, 114, 0.15);
}

.contact {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(233, 236, 239, 0.95) 100%
  );
  backdrop-filter: blur(20px);
}

.contact:hover {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 1) 0%,
    rgba(233, 236, 239, 1) 100%
  );
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}

.video-section h2,
.exam-categories h2,
.features h2,
.contact h2 {
  font-family: "Inter", sans-serif;
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: #1e3c72;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.exam-categories h2,
.features h2,
.contact h2 {
  font-size: 3rem;
  margin-bottom: 5rem;
  font-weight: 700;
}

.video-section h2::after,
.exam-categories h2::after,
.features h2::after,
.contact h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  border-radius: 2px;
  animation: expand 2s ease-in-out infinite;
}

.exam-categories h2::after,
.features h2::after,
.contact h2::after {
  bottom: -20px;
  width: 150px;
  height: 5px;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  border-radius: 3px;
  animation: expand 2s ease-in-out infinite;
}

@keyframes expand {
  0%,
  100% {
    width: 150px;
  }
  50% {
    width: 200px;
  }
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.video-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(30, 60, 114, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 215, 0, 0.1);
  position: relative;
}

.video-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: spin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(30, 60, 114, 0.2);
  border-color: rgba(255, 215, 0, 0.4);
}

.video-card iframe {
  width: 100%;
  height: 250px;
  border: none;
  transition: all 0.3s ease;
}

.video-info {
  padding: 2rem;
  text-align: center;
}

.video-info h3 {
  font-family: "Inter", sans-serif;
  color: #1e3c72;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.video-info p {
  font-family: "Inter", sans-serif;
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.category-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: spin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 30px 60px rgba(30, 60, 114, 0.2);
  border-color: #ffd700;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 250, 230, 0.95) 100%
  );
}

.category-card .icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: icon-shimmer 3s ease-in-out infinite;
}

@keyframes icon-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.category-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1e3c72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-card p {
  font-family: "Inter", sans-serif;
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 400;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  text-align: center;
  padding: 4rem 3rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: spin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(30, 60, 114, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 250, 230, 0.95) 100%
  );
}

.feature-card .icon {
  font-size: 5rem;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2.5rem;
  animation: icon-float 3s ease-in-out infinite;
}

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

.feature-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #1e3c72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  font-family: "Inter", sans-serif;
  color: #555;
  line-height: 2;
  font-size: 1.05rem;
  font-weight: 400;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 215, 0, 0.1),
    transparent
  );
  animation: spin 8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.stats:hover::before {
  opacity: 1;
}

.stats:hover {
  background: linear-gradient(
    135deg,
    #1a3366 0%,
    #2651a3 25%,
    #4a90e2 50%,
    #2651a3 75%,
    #1a3366 100%
  );
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 80%,
      rgba(255, 215, 0, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 20%,
      rgba(255, 165, 0, 0.15) 0%,
      transparent 50%
    );
  animation: stats-glow 4s ease-in-out infinite;
}

@keyframes stats-glow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item {
  padding: 3rem 2rem;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 215, 0, 0.1) 100%
  );
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.stat-item h3 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: stat-glow 2s ease-in-out infinite;
}

@keyframes stat-glow {
  0%,
  100% {
    background-position: 0% 50%;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  }
}

.stat-item p {
  font-size: 1.4rem;
  opacity: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  text-align: center;
}

.contact-item {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  padding: 4rem 3rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(30, 60, 114, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-item:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 60px rgba(30, 60, 114, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

.contact-item .icon {
  font-size: 4rem;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%,
  100% {
    transform: scale(1);
    background-position: 0% 50%;
  }
  50% {
    transform: scale(1.1);
    background-position: 100% 50%;
  }
}

.contact-item h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #1e3c72;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item p {
  color: #555;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  color: white;
  text-align: center;
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 70%
  );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

.footer-section h3 {
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: gradient-text 3s ease-in-out infinite;
}

@keyframes gradient-text {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 2.5;
  display: block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  padding-left: 20px;
}

.footer-section a::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #ffd700;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateX(-10px);
}

.footer-section a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-section a:hover {
  color: #ffd700;
  transform: translateX(10px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 4rem 0;
  position: relative;
  z-index: 2;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1.5rem;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: spin-slow 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

/* Individual social media colors and animations */
.social-facebook:hover {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  animation: bounce 0.6s ease-in-out;
}

.social-youtube:hover {
  background: linear-gradient(135deg, #ff0000, #ff5722);
  animation: pulse-grow 0.6s ease-in-out;
}

.social-telegram:hover {
  background: linear-gradient(135deg, #0088cc, #29b6f6);
  animation: slide-up 0.6s ease-in-out;
}

.social-instagram:hover {
  background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
  animation: rotate-scale 0.6s ease-in-out;
}

.social-twitter:hover {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  animation: shake 0.6s ease-in-out;
}

.social-linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  animation: flip 0.6s ease-in-out;
}

/* New Animation Keyframes */
@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  60%,
  100% {
    transform: translateY(-5px) scale(1.1);
  }
  40% {
    transform: translateY(-15px) scale(1.15);
  }
  80% {
    transform: translateY(-10px) scale(1.12);
  }
}

@keyframes pulse-grow {
  0% {
    transform: translateY(-5px) scale(1.1);
  }
  50% {
    transform: translateY(-5px) scale(1.2);
  }
  100% {
    transform: translateY(-5px) scale(1.1);
  }
}

@keyframes slide-up {
  0% {
    transform: translateY(-5px) scale(1.1);
  }
  50% {
    transform: translateY(-20px) scale(1.15);
  }
  100% {
    transform: translateY(-5px) scale(1.1);
  }
}

@keyframes rotate-scale {
  0% {
    transform: translateY(-5px) scale(1.1) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) scale(1.2) rotate(180deg);
  }
  100% {
    transform: translateY(-5px) scale(1.1) rotate(360deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateY(-5px) scale(1.1) translateX(0);
  }
  25% {
    transform: translateY(-5px) scale(1.1) translateX(-3px);
  }
  75% {
    transform: translateY(-5px) scale(1.1) translateX(3px);
  }
}

@keyframes flip {
  0% {
    transform: translateY(-5px) scale(1.1) rotateY(0deg);
  }
  50% {
    transform: translateY(-5px) scale(1.15) rotateY(180deg);
  }
  100% {
    transform: translateY(-5px) scale(1.1) rotateY(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(
      135deg,
      rgba(30, 60, 114, 0.98) 0%,
      rgba(42, 82, 152, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.4);
    border-radius: 0 0 20px 20px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero .subtitle {
    font-size: 1.3rem;
  }

  .exam-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    border-radius: 12px;
  }
}
