/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL BODY */
body {
  font-family: "DM Sans", Arial, sans-serif;
  background-color: #fdfdfd;
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* HEADER */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 5px 80px 0 80px;
}

header.scrolled {
  background-color: rgba(249, 249, 249, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header nav a {
  margin-left: 20px;
  color: #555;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  font-size: 1rem;
}

header nav a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #18272F;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

header nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* HERO SECTION */
.hero {
  max-width: 1200px;
  margin: 0 auto 0px;
  padding: 120px 20px 0; /* Push below fixed header */
  text-align: left;
}

.hero-text {
  max-width: 1100px;
  margin: 0 auto 30px;
}

.hero-text h1 {
  font-size: 2.2rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 40px;
  margin-top: 40px;
}

.hero-text p {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.7;
  text-indent: 15px;
}

/* INFO SECTIONS */
.content {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.info-sections {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.info-section {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-image {
  width: 580px;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
}

.info-text {
  flex: 1;
}

.info-text h2 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 10px;
}

.info-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.info-text a {
  color: #966661;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

.info-text a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #18272F;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-in-out;
}

.info-text a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .info-section {
    flex-direction: column;
    text-align: left;
  }

  .info-image {
    width: 100%;
    height: auto;
  }

  header {
    padding: 10px 10px 0 10px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 100px;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .info-section {
    padding: 15px;
  }

  .info-text h2 {
    font-size: 1.2rem;
  }

  .info-text p {
    font-size: 0.95rem;
  }
}