@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #F59D2A;
  --secondary-color: #EE7738;
  --accent-color: #FFB86C;
  --light-color: #FFF5E6;
  --dark-color: #2C3D4F;
  --gradient-primary: linear-gradient(135deg, #F59D2A 0%, #EE7738 100%);
  --hover-color: #D98825;
  --background-color: #FFFBF5;
  --text-color: #2C3D4F;
  --border-color: rgba(245, 157, 42, 0.3);
  --divider-color: rgba(238, 119, 56, 0.15);
  --shadow-color: rgba(44, 61, 79, 0.12);
  --highlight-color: #27AE60;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: var(--dark-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
}

header nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

header nav a:hover {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  width: 30px;
  height: 3px;
  background: var(--light-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-icon {
    display: flex;
    order: 1;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
    margin-top: 20px;
  }

  header nav ul {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 20px 0;
  }

  header nav a {
    display: block;
    padding: 10px 0;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(44, 61, 79, 0.7), rgba(44, 61, 79, 0.7)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

.hero-content {
  color: white;
  max-width: 900px;
  padding: 40px 20px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Section */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.content-image {
  width: 40%;
  border-radius: 20px;
  box-shadow: 12px 12px 24px var(--shadow-color), -12px -12px 24px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease;
}

.content-image:hover {
  transform: translateY(-10px);
}

.content-text {
  width: 60%;
}

@media (max-width: 968px) {
  .content-flex {
    flex-direction: column;
  }

  .content-image,
  .content-text {
    width: 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 40px 0;
  text-align: center;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border-color);
}

.section-divider::before {
  left: 0;
}

.section-divider::after {
  right: 0;
}

/* CTA Section */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(44, 61, 79, 0.85), rgba(44, 61, 79, 0.85)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  margin-top: 25px;
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 12px 12px 24px var(--shadow-color), -12px -12px 24px rgba(255, 255, 255, 0.1);
}

/* Features Section - Timeline */
.features-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 45%;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 55%;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--border-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -60px;
}

.timeline-content:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

.timeline-icon {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 40px;
  }

  .timeline-content::before {
    left: -40px !important;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 60px;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

.testimonial-name {
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 20px;
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 15px;
}

.contact-icon {
  font-size: 24px;
  color: var(--primary-color);
  min-width: 30px;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(245, 157, 42, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 16px var(--shadow-color), -8px -8px 16px rgba(255, 255, 255, 0.1);
}

.submit-btn:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 25px;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 6px 6px 12px var(--shadow-color), -6px -6px 12px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  background: var(--light-color);
  padding: 25px 30px;
  font-weight: 700;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-icon {
  color: var(--primary-color);
  font-size: 22px;
}

.faq-answer {
  padding: 25px 30px;
  background: white;
  line-height: 1.8;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 50px 0 30px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

footer .logo img {
  height: 50px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--primary-color);
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-credit a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer .logo {
    order: 1;
  }

  footer nav {
    order: 2;
  }

  footer nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}