/* Main Styles for Enrich Group of Companies */

/* Base Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Logo Animation */
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(253, 253, 253);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s ease 4s forwards;
  margin-left: 100px;
}

.light-streak {
  width: 200px;
  opacity: 0;
  transform: scale(0.7);
  filter: blur(10px) brightness(1.2);
  animation: logoIn 3s ease forwards;
}

/* Netflix-style zoom/glow blur effect */
@keyframes logoIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(10px) brightness(1.2);
  }
  30% {
    opacity: 1;
    transform: scale(1.1);
    filter: blur(2px);
  }
  60% {
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Fade out the entire intro screen */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
/* Navigation */
.navbar {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 600;
  color: #003366;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #0077cc;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #003366;
  cursor: pointer;
}

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

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}
/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #003366;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.overlay h2 {
  color: #fff;
  font-size: 3rem;
  text-align: center;
  margin: 0;
  padding: 0 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
.section {
  padding: 60px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2.5rem;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 1.5rem;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 10px;
}

.section p {
  line-height: 1.6;
  color: #333;
}

/* Board Members */
.board-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.board-card {
  text-align: center;
  max-width: 250px;
}

.board-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.board-card h4 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.board-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Stats Section */
.stats-section {
  background-color: #f0f5ff;
  text-align: center;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.stat-box {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
}

/* Reviews Section */
.reviews-section {
  background-color: #f7f9fc;
  padding: 60px 30px;
  text-align: center;
}

.reviews-section h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.review-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}

.review-card .stars {
  color: #f39c12;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #007bff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

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

.scroll-top:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .section {
    padding: 40px 20px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .overlay h2 {
    font-size: 2rem;
  }

  .hero {
    height: 60vh;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 100%;
    max-width: 300px;
  }

  .board-grid {
    gap: 1rem;
  }

  .board-card {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .nav-bar {
    padding: 10px 15px;
  }

  .logo img {
    height: 40px;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .section h3 {
    font-size: 1.3rem;
  }

  .overlay h2 {
    font-size: 1.5rem;
  }

  .hero {
    height: 50vh;
  }

  .board-card {
    max-width: 150px;
  }

  .review-card {
    padding: 15px;
  }

  .review-card h3 {
    font-size: 1rem;
  }
}