/* Stat Cards */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fa-regular-400.woff2') format('woff2');
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

/* Navigation */
.nav-link {
  padding: 0.5rem 1rem;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover {
  color: #2563eb;
}

/* Desktop Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #2563eb;
  padding-left: 2rem;
}

/* Mobile Dropdown */
.mobile-dropdown-btn {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-btn:hover {
  background: #f3f4f6;
}

.mobile-dropdown-btn i {
  transition: transform 0.3s;
}

.mobile-dropdown-content {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.mobile-dropdown-item:hover {
  color: #2563eb;
  border-left-color: #2563eb;
  padding-left: 1.25rem;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 20px
    );
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 1200px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(45deg, #ff6b6b, #feca57);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  margin-top: 1rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-block {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.feature-block:hover::before {
  transform: scaleX(1);
}

.feature-block:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0f2027, #2c5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-block h3 {
  color: #0f2027;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-block p {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

.feature-block:nth-child(1) .feature-icon {
  animation-delay: 0s;
}
.feature-block:nth-child(2) .feature-icon {
  animation-delay: 0.2s;
}
.feature-block:nth-child(3) .feature-icon {
  animation-delay: 0.4s;
}
.feature-block:nth-child(4) .feature-icon {
  animation-delay: 0.6s;
}
.feature-block:nth-child(5) .feature-icon {
  animation-delay: 0.8s;
}
.feature-block:nth-child(6) .feature-icon {
  animation-delay: 1s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #0f2027, #2c5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f6f9fc, #ffffff);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.published-date {
  text-align: center;
  color: #666;
  font-style: italic;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

th,
td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background: linear-gradient(135deg, #0f2027, #2c5364);
  color: white;
  font-weight: 600;
}

tr:hover {
  background: #f8f9fa;
  transition: background 0.3s ease;
}
/* =========================
   RESPONSIVE TABLE FIX
   ========================= */
@media (max-width: 768px) {
  table {
    display: block; /* allow horizontal scrolling */
    overflow-x: auto; /* scroll when table is wider than screen */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }

  th,
  td {
    padding: 0.8rem 0.5rem; /* slightly smaller padding for mobile */
    font-size: 0.9rem; /* optional smaller font */
  }

  tr {
    display: table-row; /* keep rows intact */
  }

  thead {
    display: table-header-group; /* keep headers visible */
  }
}
/* Wrap table in a scrollable container */
.table-responsive {
  width: 100%;
  overflow-x: auto; /* enable horizontal scroll on small screens */
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

/* Optional: add some spacing around the table on mobile */
.table-responsive table {
  min-width: 600px; /* ensures table doesn’t shrink too much */
}

/* Optional: smaller padding for mobile screens */
@media (max-width: 768px) {
  th, td {
    padding: 0.8rem 0.5rem;
    font-size: 0.9rem;
  }
}

.case-study {
  background: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-study:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-study h3 {
  color: #2c5364;
  margin-bottom: 1rem;
}

.case-study-meta {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  color: #666;
  font-size: 0.9rem;
}

.faq {
  background: white;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #2c5364;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.faq-question {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: #666;
  line-height: 1.8;
}

.cta-section {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 20px;
  margin: 4rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

.schema-markup {
  display: none;
}
