/* Global styles and animated gradient background */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  /* Animated gradient background */
  background: linear-gradient(45deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
  background-size: 400% 400%;
  animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Layout elements */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.header .logo {
  font-size: 1.6em;
  font-weight: bold;
  color: #1a2a6c;
  text-decoration: none;
}

.header nav a {
  margin: 0 15px;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #1a2a6c;
  transition: width 0.3s;
}

.header nav a:hover::after {
  width: 100%;
}

.header nav a:hover {
  color: #fa709a;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 120px 10% 80px;
}

.hero .content {
  flex: 1 1 50%;
  min-width: 280px;
}

.hero h1 {
  font-size: 2.6em;
  color: #1a2a6c;
  margin: 0 0 20px;
}

.hero p {
  font-size: 1.1em;
  margin: 0 0 30px;
}

.hero .cta {
  display: inline-block;
  background: #1a2a6c;
  color: #fff;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.hero .cta:hover {
  background: #fa709a;
  transform: scale(1.05);
}

.hero .image {
  flex: 1 1 40%;
  text-align: center;
  min-width: 260px;
  margin-top: 40px;
}

.hero .image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Section styling */
.section {
  padding: 80px 10%;
  background: rgba(255, 255, 255, 0.9);
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 2em;
  color: #1a2a6c;
  margin-bottom: 20px;
}

.section h3 {
  font-size: 1.5em;
  color: #1a2a6c;
  margin-top: 40px;
  margin-bottom: 15px;
}

.section p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.section ul {
  list-style: disc;
  margin: 20px 40px;
}

.section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.section table th,
.section table td {
  padding: 10px 15px;
  border: 1px solid #ddd;
  text-align: left;
}

.section blockquote {
  margin: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-left: 5px solid #fa709a;
  font-style: italic;
}

.section .callout {
  padding: 20px;
  background: #ffefef;
  border-radius: 10px;
  margin: 20px 0;
  font-weight: bold;
  color: #c00;
}

.section figure {
  margin: 30px 0;
  text-align: center;
}

.section figure img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.section figure figcaption {
  margin-top: 10px;
  font-style: italic;
  font-size: 0.9em;
  color: #555;
}

/* Video section */
.video-section {
  padding: 60px 10%;
  text-align: center;
}

.video-section h2 {
  color: #1a2a6c;
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ section */
.faq {
  padding: 60px 10%;
}

.faq h2 {
  color: #1a2a6c;
  margin-bottom: 20px;
  text-align: center;
}

.faq .faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
  padding: 10px 0;
  list-style: none;
}

.faq summary:hover {
  color: #fa709a;
}

.faq p {
  margin: 10px 0 20px 20px;
}

/* Footer styling */
footer {
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 20px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

footer a {
  color: #fa709a;
  margin-right: 10px;
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 5% 60px;
  }
  .hero .image {
    margin-top: 20px;
  }
  .header {
    padding: 15px 5%;
  }
  .section {
    padding: 60px 5%;
  }
  .video-section {
    padding: 40px 5%;
  }
  .faq {
    padding: 40px 5%;
  }
  footer {
    padding: 20px 5%;
  }
}