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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: poppins-semibold, poppins, sans-serif;
  background: #ffffff;
  color: #333;
  text-align: center;
}

main {
  flex: 1;
}

/* Header */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 50px;
  background: linear-gradient(120deg, #be93c5, #7bc6cc); /* Pink Gradient */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  color: white;
  font-family: "Figtree", sans-serif;
}

.header-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  font-size: 2em;
  font-weight: bold;
  color: white;
  font-family: poppins-semibold, poppins, sans-serif;
  align-items: baseline; /* Aligns the icon and text baseline */
}

.logo-icon {
  height: 1.5em; /* Match the height of the text */
  margin-right: 10px; /* Space between the icon and the text */
  vertical-align: bottom; /* Align the bottom of the icon with the bottom of the text */
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  color: white;
  transition: color 0.3s;
  font-weight: 700;
  font-size: 1.1rem;
}

nav ul li a:hover {
  color: #fde2e4; /* Lighter Pink */
}

a {
  text-decoration: none; /* Removes the underline */
}

.cta-button {
  padding: 10px 20px;
  background: white;
  color: #ff6b6b; /* Vibrant Red */
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 20px;
}

.cta-button:hover {
  background: #ffe3e3; /* Soft Pink */
  color: #d64545; /* Darker Red */
}

/* Hero Section */
.hero {
  padding: 80px 20px 70px 20px;
  max-width: 1346px; /* Updated width */
  margin: auto;
  background: #f9f9f9;
  color: #333;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 15px;
  color: #ff6b6b; /* Vibrant Red */
}

.hero p {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 15px;
  color: #555;
}

.hero input {
  width: 35%;
  padding: 12px;
  font-size: 1em;
  border: 2px solid #ff6b6b;
  border-radius: 25px;
  margin-bottom: 15px;
  padding-left: 40px;
}

.hero button {
  padding: 12px 25px;
  font-size: 1em;
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.hero button:hover {
  background: #d64545; /* Darker Red */
}

/* Video Section */
.video-section {
  max-width: 1346px; /* Match hero section */
  margin: 30px auto 140px auto;
  background: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Hidden by default */
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: none;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

/* Footer */
footer {
  padding: 20px;
  background: linear-gradient(120deg, #ff9a9e, #fad0c4); /* Pink Gradient */
  background: rgba(128, 128, 128, 0.082);
  color: rgb(111, 104, 104);
}

footer p {
  margin: 0;
}

/* Animations */
.hero h1 {
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section {
  max-width: 900px;
  margin: 50px auto;
  text-align: left; /* Left-align text for better readability */
  padding: 20px;
  background: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
  font-size: 2rem;
  color: #ff6b6b;
  text-align: center; /* Center-align the title for emphasis */
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.features-list {
  margin-left: 20px; /* Slight indentation for the list */
  padding-left: 0;
  list-style: none; /* Remove default bullet points */
}

.features-list li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.features-list li strong {
  color: #333;
}

.features-list li::before {
  content: ""; /* Emojis are directly in the HTML */
  margin-right: 10px; /* Add spacing between the emoji and the text */
}


.plyr iframe[id^=youtube] {
  opacity: 1;
  -webkit-transition: all 0ms;
  transition: all 0ms;
}

.plyr.plyr--paused iframe[id^=youtube] {
  opacity: 0;
  -webkit-transition: all 0ms;
  transition: all 0ms;
}

.plyr iframe {
  transition: 0s filter;
  filter: opacity(1);
}

.plyr.plyr--paused iframe {
  filter: opacity(0);
  transition: 0s filter;
}

.plyr--paused .plyr__poster {
  z-index: 2;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

iframe {
  pointer-events: none;
}

.video-container {
  max-width: 1346px; /* match .hero */
  /* center horizontally */
  border-radius: 15px;
  overflow: hidden; /* keeps iframe corners rounded */
  position: relative; /* for absolute positioning of iframe */
  margin: 30px auto 500px;
}

p.help-text {
  font-size: .9rem;
  color: #777;
  margin-top: 0;
  margin-bottom: 0;
}