@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #337357;
  --secondary-color: #2C3D4F;
  --accent-color: #4a9e7a;
  --light-color: #EAE4D5;
  --dark-color: #1a2a1e;
  --gradient-primary: linear-gradient(135deg, #4a9e7a 0%, #337357 100%);
  --hover-color: #285f47;
  --background-color: #f9f7f4;
  --text-color: #3d4a40;
  --border-color: rgba(51, 115, 87, 0.22);
  --divider-color: rgba(44, 61, 79, 0.1);
  --shadow-color: rgba(44, 61, 79, 0.12);
  --highlight-color: #FFC145;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  line-height: 1.3;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--hover-color); }

img { max-width: 100%; height: auto; display: block; }

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

section {
  padding-top: 10dvh;
  padding-bottom: 10dvh;
}

/* ===== HEADER ===== */
header {
  background-color: var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-toggle { display: none; }

.hamburger-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  order: 2;
}

.hamburger-label span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navigation {
  order: 3;
}

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.navigation ul li a {
  color: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--main-font);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.navigation ul li a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* hamburger animation when open */
.nav-toggle:checked ~ .hamburger-label span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle:checked ~ .hamburger-label span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle:checked ~ .hamburger-label span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  height: 72vh;
  min-height: 500px;
  background: linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
              url('./img/bg.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--main-font);
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: var(--main-font);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(51, 115, 87, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(51, 115, 87, 0.5);
  color: #fff;
}

.btn-accent {
  display: inline-block;
  background-color: var(--highlight-color);
  color: var(--secondary-color);
  padding: 14px 40px;
  border-radius: 50px;
  font-family: var(--main-font);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(255, 193, 69, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 193, 69, 0.52);
  color: var(--secondary-color);
}

/* ===== CONTENT SECTION 1 (40/60) ===== */
.content-section-1 { background-color: var(--background-color); }

.content-section-1 .content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 44px;
  align-items: center;
}

.content-section-1 .content-image img {
  border-radius: 18px;
  box-shadow: 10px 14px 40px var(--shadow-color);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.content-section-1 .content-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.content-section-1 .content-text p { margin-bottom: 1rem; }

.content-text .highlight-tag {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--main-font);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  padding: 0;
  background-color: var(--background-color);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.divider-inner {
  text-align: center;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

.divider-inner h3 {
  font-family: var(--main-font);
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  color: var(--primary-color);
  margin: 0;
  letter-spacing: 0.04em;
}

.divider-inner i {
  color: var(--highlight-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ===== CTA SECTIONS ===== */
.cta-section {
  background: url('./img/bg.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: rgba(255,255,255,0.92);
  max-width: 680px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* ===== FEATURES — TIMELINE ===== */
.features-section {
  background-color: var(--light-color);
}

.features-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 3.2rem;
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 44px);
  position: relative;
  margin-bottom: 3.4rem;
  transition: transform 0.3s ease;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 44px);
}

.timeline-item:hover { transform: scale(1.025); }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 3px solid var(--background-color);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--primary-color);
  z-index: 2;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  background: var(--highlight-color);
  box-shadow: 0 0 0 3px var(--highlight-color);
}

.timeline-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 4px 22px var(--shadow-color);
  border: 1px solid var(--border-color);
  max-width: 380px;
  transition: box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-card {
  box-shadow: 0 10px 36px rgba(51, 115, 87, 0.2);
}

.timeline-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.35rem;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px rgba(51, 115, 87, 0.3);
}

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.timeline-card p {
  font-size: 0.93rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.65;
}

/* ===== CONTENT SECTION 2 (50/50) ===== */
.content-section-2 { background-color: var(--background-color); }

.content-section-2 .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.content-section-2 .content-image img {
  border-radius: 18px;
  box-shadow: -10px 14px 40px var(--shadow-color);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}

.check-list li i {
  color: var(--primary-color);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background-color: var(--light-color); }

.testimonials-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 2.8rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 4px 22px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.08;
  position: absolute;
  top: 5px;
  left: 16px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(51, 115, 87, 0.18);
}

.testimonial-stars {
  color: var(--highlight-color);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.4rem;
  color: var(--text-color);
  position: relative;
  z-index: 1;
  font-size: 0.97rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--divider-color);
  padding-top: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--main-font);
  font-size: 1.15rem;
  font-weight: 600;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--main-font);
  font-size: 1rem;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 2px;
}

.author-location {
  font-size: 0.82rem;
  color: #999;
}

/* ===== FORM SECTION ===== */
.form-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.form-section .container { position: relative; z-index: 1; }

.form-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.form-section-text h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.form-section-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.75;
}

.form-section-text ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.form-section-text ul li {
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.97rem;
}

.form-section-text ul li i {
  color: var(--highlight-color);
}

/* ===== CONTACT SECTION ===== */
.contact-section { background-color: var(--background-color); }

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.contact-info .section-intro {
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.6rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(51, 115, 87, 0.3);
}

.contact-item-text strong {
  display: block;
  color: var(--secondary-color);
  font-family: var(--main-font);
  font-size: 1rem;
  margin-bottom: 3px;
}

.contact-item-text span {
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Form wrapper */
.form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 38px;
  box-shadow: 0 6px 32px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--secondary-color);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 9px;
  font-family: var(--alt-font);
  font-size: 0.95rem;
  color: var(--text-color);
  background: var(--background-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(51, 115, 87, 0.13);
}

.form-group textarea {
  min-height: 116px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--main-font);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(51, 115, 87, 0.32);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(51, 115, 87, 0.44);
}

/* Simple form (in form-section) */
.simple-form-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.15);
}

.simple-form-wrapper h3 {
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
  color: var(--secondary-color);
}

/* ===== FAQ ===== */
.faq-section { background-color: var(--background-color); }

.faq-section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  margin-bottom: 2.6rem;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item input[type="checkbox"] { display: none; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 11px;
  padding: 18px 24px;
  cursor: pointer;
  font-family: var(--main-font);
  font-size: 1.05rem;
  color: var(--secondary-color);
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease;
  box-shadow: 0 2px 12px var(--shadow-color);
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(51, 115, 87, 0.04);
  border-color: var(--primary-color);
}

.faq-question-text { flex: 1; }

.faq-icon {
  color: var(--primary-color);
  font-size: 1rem;
  transition: transform 0.35s ease;
  margin-left: 12px;
  flex-shrink: 0;
}

.faq-item input:checked ~ .faq-question {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  border-radius: 11px 11px 0 0;
}

.faq-item input:checked ~ .faq-question .faq-icon {
  transform: rotate(180deg);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid transparent;
  border-top: none;
  border-radius: 0 0 11px 11px;
  transition: max-height 0.45s ease, padding 0.3s ease, border-color 0.25s ease;
  padding: 0 24px;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 500px;
  padding: 18px 24px 22px;
  border-color: var(--border-color);
}

.faq-answer p { margin: 0; font-size: 0.97rem; line-height: 1.75; }

/* ===== FOOTER ===== */
footer {
  background-color: var(--secondary-color);
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 44px 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

footer .logo img { height: 40px; }

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

footer nav ul li a {
  color: rgba(255,255,255,0.75);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  transition: color 0.25s ease, background 0.25s ease;
}

footer nav ul li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.48);
}

.footer-bottom a {
  color: rgba(255,255,255,0.62);
  transition: color 0.25s ease;
}

.footer-bottom a:hover { color: rgba(255,255,255,0.9); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Hamburger */
  .hamburger-label { display: flex; }

  .navigation {
    display: none;
    width: 100%;
  }

  .nav-toggle:checked ~ .navigation {
    display: block;
  }

  .navigation ul {
    flex-direction: column;
    background-color: rgba(0,0,0,0.2);
    border-radius: 0 0 10px 10px;
    padding: 8px 0;
    width: 100%;
  }

  .navigation ul li a {
    display: block;
    padding: 13px 20px;
    border-radius: 0;
  }

  /* Grids */
  .content-section-1 .content-grid,
  .content-section-2 .content-grid,
  .contact-section .contact-grid,
  .form-section-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .content-section-1 .content-image img,
  .content-section-2 .content-image img {
    height: 260px;
  }

  /* Timeline */
  .timeline::before {
    left: 22px;
    transform: none;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-dot {
    left: 22px;
    transform: none;
  }

  .timeline-card { max-width: 100%; }

  /* CTA parallax off on mobile */
  .cta-section { background-attachment: scroll; }

  /* Footer */
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul { justify-content: center; }

  /* Form wrapper */
  .form-wrapper { padding: 26px 20px; }
  .simple-form-wrapper { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.75rem; }
  .btn-primary, .btn-accent { padding: 12px 28px; font-size: 1rem; }
}
