@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #C0392B;
  --secondary-color: #922B21;
  --accent-color: #EC7063;
  --light-color: #FADBD8;
  --dark-color: #641E16;
  --gradient-primary: linear-gradient(135deg, #EC7063 0%, #C0392B 100%);
  --hover-color: #A93226;
  --background-color: #FEF9F8;
  --text-color: #2C3E50;
  --border-color: rgba(192, 57, 43, 0.25);
  --divider-color: rgba(146, 43, 33, 0.15);
  --shadow-color: rgba(146, 43, 33, 0.12);
  --highlight-color: #F39C12;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 22px 0;
  box-shadow: 0 6px 18px var(--shadow-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.08);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 38px;
}

header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(100, 30, 22, 0.72), rgba(146, 43, 33, 0.72)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(236, 112, 99, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 26px;
  text-shadow: 3px 3px 9px rgba(0, 0, 0, 0.55);
  line-height: 1.3;
}

.hero p {
  font-size: 1.32rem;
  margin-bottom: 36px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 17px 42px;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(192, 57, 43, 0.33);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 13px 30px rgba(192, 57, 43, 0.42);
  background: linear-gradient(135deg, #C0392B 0%, #922B21 100%);
}

/* CONTENT SECTIONS */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 42px;
  align-items: center;
}

.content-flex img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 11px 32px var(--shadow-color);
  transition: all 0.3s ease;
}

.content-flex img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 45px rgba(192, 57, 43, 0.2);
}

.content-text h2 {
  font-size: 2.7rem;
  margin-bottom: 26px;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.09rem;
  margin-bottom: 21px;
  line-height: 1.8;
}

/* DIVIDER */
.section-divider {
  padding: 62px 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--divider-color), transparent);
}

.section-divider h3 {
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 32px;
  position: relative;
  z-index: 1;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

/* CTA SECTIONS */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(100, 30, 22, 0.8), rgba(146, 43, 33, 0.8)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: 3.1rem;
  margin-bottom: 26px;
  text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.48);
}

.cta-section p {
  font-size: 1.42rem;
  margin-bottom: 36px;
  max-width: 810px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.38);
}

/* FEATURES */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--background-color) 0%, var(--light-color) 100%);
}

.features-section h2 {
  text-align: center;
  font-size: 2.85rem;
  margin-bottom: 62px;
  color: var(--primary-color);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 52px;
  position: relative;
  width: 48%;
  background-color: #ffffff;
  padding: 33px;
  border-radius: 14px;
  box-shadow: 0 7px 22px var(--shadow-color);
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.timeline-item:hover {
  transform: translateY(-9px);
  box-shadow: 0 14px 35px rgba(192, 57, 43, 0.22);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 52%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 33px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-item:nth-child(odd)::before {
  right: -64px;
}

.timeline-item:nth-child(even)::before {
  left: -64px;
}

.timeline-item i {
  font-size: 3.1rem;
  color: var(--primary-color);
  margin-bottom: 21px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.65rem;
  margin-bottom: 17px;
  color: var(--secondary-color);
}

.timeline-item p {
  font-size: 1.03rem;
  line-height: 1.73;
  color: var(--text-color);
}

/* TESTIMONIALS */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.85rem;
  margin-bottom: 62px;
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 36px;
}

.testimonial-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 14px;
  box-shadow: 0 7px 22px var(--shadow-color);
  border-right: 5px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5.2rem;
  color: var(--accent-color);
  opacity: 0.18;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(192, 57, 43, 0.22);
}

.testimonial-card p {
  font-size: 1.06rem;
  line-height: 1.73;
  margin-bottom: 21px;
  position: relative;
  z-index: 1;
}

.testimonial-card h4 {
  font-size: 1.23rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* CONTACT SECTION */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.85rem;
  margin-bottom: 62px;
  color: var(--primary-color);
}

.contact-flex {
  display: flex;
  gap: 62px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.85rem;
  margin-bottom: 31px;
  color: var(--secondary-color);
}

.contact-item {
  margin-bottom: 27px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.contact-item i {
  font-size: 1.55rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.contact-item p {
  font-size: 1.06rem;
  line-height: 1.63;
}

.contact-form {
  flex: 1;
  background: #ffffff;
  padding: 43px;
  border-radius: 14px;
  box-shadow: 0 9px 27px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.85rem;
  margin-bottom: 31px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 27px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
  background-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 145px;
}

/* FAQ */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: #ffffff;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.85rem;
  margin-bottom: 62px;
  color: var(--primary-color);
}

.faq-item {
  background: var(--light-color);
  margin-bottom: 27px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 5px 16px var(--shadow-color);
  transition: all 0.3s ease;
  border-right: 5px solid var(--primary-color);
}

.faq-item:hover {
  box-shadow: 0 9px 24px rgba(192, 57, 43, 0.22);
  transform: translateX(6px);
}

.faq-question {
  padding: 27px 31px;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.faq-answer {
  padding: 0 31px 27px 31px;
  font-size: 1.06rem;
  line-height: 1.83;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 52px 0 31px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 31px;
}

footer .logo img {
  height: 52px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 29px;
}

footer nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
  font-size: 13px;
  opacity: 0.83;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav {
    width: 100%;
    margin-top: 19px;
  }

  header nav ul {
    flex-direction: column;
    gap: 13px;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 1.03rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .timeline::before {
    left: 28px;
  }

  .timeline-item {
    width: 100%;
    margin-left: 57px !important;
  }

  .timeline-item::before {
    left: -47px !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-flex {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    gap: 27px;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 13px;
  }

  .cta-section h2 {
    font-size: 2.1rem;
  }

  .cta-section p {
    font-size: 1.13rem;
  }
}