/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/hero.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-size: cover;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Dancing Script', cursive;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.6rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.2rem;
  background-color: #0070c9;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
}

.btn:hover {
  background-color: #005da1;
}
/* Main Section */
.main {
  padding: 80px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.main h2 {
  font-size: 3.5rem;
  margin-bottom: 50px;
  color: #333;
}

.feature-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Feature Card */
.feature-card {
  background-color: #fff;
  width: 320px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #e2d7f2 0%, #f9f0fa 100%);
}

/* Feature icon styles */
.feature-card .icon {
  width: 120px; /* Ensure consistent size for all icons */
  height: 120px; /* Equal width and height to maintain circle */
  background-color: #f9f9f9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 12px; /* Reduce padding to reduce empty space inside the circle */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card .icon-img {
  width: 112%; /* Ensure icons fill up the container */
  height: auto;
  border-radius: 50%;
}

.feature-card .text {
  margin-top: 20px;
}

.feature-card .text h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 15px;
}

.feature-card .text p {
  font-size: 1.2rem;
  color: #777;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 90%;
  }
}

/* Footer Section */
footer {
  background-color: #f1f1f1;
  padding: 40px 20px;
  text-align: center;  /* Ensure content is centered */
  width: 100%;
}

footer p {
  color: #777;
  font-size: 0.9rem;
}

footer .beian {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #999;
}

footer a {
  text-decoration: none;
  color: #0070c9;
}

footer a:hover {
  text-decoration: underline;
}
