:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --background-color: #ecf0f1;
  --text-color: #34495e;
  --white: #ffffff;
  --light-gray: #bdc3c7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Shippori Antique", sans-serif;
  font-style: normal;
  color: var(--primary-color);
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}


.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

.cta-button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button:hover {
  background-color: #2980b9;
  color: var(--white);
}

main {
  padding: 0 5%;
}

section {
  padding: 4rem 0;
}

#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img/hero-image.avif");
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

#problem {
  max-width: 1000px;
  margin: 0 auto;
}

.problem-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.problem-image {
  flex: 1;
}

.problem-image img {
  max-width: 100%;
  border-radius: 8px;
}

.problem-content {
  flex: 1.5;
}

.feature-grid,
.pricing-grid,
.service-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature,
.pricing-tier,
.service,
.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-bg-planning {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/feature-planning.avif");
}

.feature-bg-communication {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/feature-communication.avif");
}

.feature-bg-career {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("img/feature-career.avif");
}

.feature-bg-planning,
.feature-bg-communication,
.feature-bg-career {
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.feature-bg-planning .feature-content,
.feature-bg-communication .feature-content,
.feature-bg-career .feature-content {
  position: relative;
  z-index: 2;
}

.feature-bg-planning h3,
.feature-bg-planning p,
.feature-bg-communication h3,
.feature-bg-communication p,
.feature-bg-career h3,
.feature-bg-career p {
  color: var(--white);
}

.feature-bg-planning svg,
.feature-bg-communication svg,
.feature-bg-career svg {
  color: var(--white);
}

.feature svg,
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--white);
  margin-bottom: 1rem;
}

.feature h3 {
  color: var(--white);
}

.feature h3,
.pricing-tier h3,
.service h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

.pricing-tier h3,
.service h3 {
  color: var(--primary-color);
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.pricing-tier ul {
  list-style: none;
  padding-left: 0;
}

.pricing-tier ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.pricing-tier ul li svg {
  width: 20px;
  height: 20px;
  color: var(--secondary-color);
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.pricing-model {
  font-weight: bold;
  color: var(--primary-color);
}

.testimonial {
  border-left: 4px solid var(--secondary-color);
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: bold;
}

#cta {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem;
  border-radius: 8px;
  text-align: center;
}

#cta h2 {
  color: var(--white);
}

footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-menu svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .problem-container {
    flex-direction: column;
  }

  .feature-grid,
  .pricing-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .testimonial {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px; /* Adjust as needed */
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.nav-links.active li {
  padding: 1rem 5%;
}

/* Testimonial Image Styles */
.testimonial {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  gap: 1.5rem;
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* Prevent image from shrinking */
}

.testimonial-content {
  flex: 1;
}

.testimonial-content p {
  margin-top: 0;
}

/* Section Header Styles */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-header svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.section-header h2 {
  margin-top: 0;
  margin-bottom: 0;
}

#cta .section-header svg,
#cta .section-header h2 {
  color: var(--white);
}