:root {
  --primary-color: #4c1d95;
  --secondary-color: #5b21b6;
  --background-color: #f3f4f6;
  --text-color: #1f2937;
  --accent-color: #7c3aed;
  --light-purple: #ddd6fe;
  --white: #ffffff;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Main Content */
main {
  padding-top: 80px;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.content-section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 1rem auto 0;
}

/* Cards and Grids */
.card-grid,
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card,
.staff-member {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.staff-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card {
  padding: 2rem;
}

.staff-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.staff-info {
  padding: 1.5rem;
  text-align: center;
  background-color: var(--light-purple);
}

.staff-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.staff-info p {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.primary-cta {
  background-color: var(--white);
  color: var(--primary-color);
}

.primary-cta:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

.secondary-cta {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.secondary-cta:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Video Section */
.video-section {
  padding: 4rem 0;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
}

video {
  width: 100%;
  display: block;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.review {
  background-color: var(--light-purple);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.review p {
  margin-bottom: 1rem;
  font-style: italic;
}

.review .stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.review-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Review Form */
.review-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--light-purple);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-form h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.review-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
}

.review-form fieldset {
  border: none;
  margin-bottom: 1rem;
}

.review-form legend {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.review-form input[type="radio"] {
  margin-right: 0.5rem;
}

.review-form button {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.review-form button:hover {
  background-color: var(--primary-color);
}

/* Fact Overlay */
.fact-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.fact-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.fact-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.fact-content p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: var(--white);
  text-align: center;
  padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav ul li {
    margin: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .card-grid,
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    margin-bottom: 1rem;
  }

  .review-image {
    max-width: 100%;
  }
}
