@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary-color: #2980B9;
  --secondary-color: #1A5276;
  --accent-color: #8E44AD;
  --light-color: #ECF0F1;
  --dark-color: #1C2833;
  --gradient-primary: linear-gradient(135deg, #2980B9 0%, #8E44AD 100%);
  --hover-color: #21618C;
  --background-color: #2C3E50;
  --text-color: #ECF0F1;
  --border-color: rgba(41, 128, 185, 0.3);
  --divider-color: rgba(142, 68, 173, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --highlight-color: #E67E22;
  --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.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--light-color);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 6px 15px var(--shadow-color);
  border-bottom: 3px solid var(--primary-color);
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: var(--light-color);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover {
  color: var(--highlight-color);
}

header nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-icon span {
  width: 32px;
  height: 4px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  header .logo {
    order: 1;
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: flex;
    order: 2;
    position: absolute;
    right: 1.5rem;
    top: 1.75rem;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 600px;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    background-color: rgba(28, 40, 51, 0.98);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(236, 240, 241, 0.1);
  }

  header nav ul li:last-child {
    border-bottom: none;
  }

  header nav ul li a::after {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 2.5rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.75), rgba(142, 68, 173, 0.75));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 950px;
}

.hero-content h1 {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styles */
section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  font-size: 2.75rem;
  color: var(--light-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Content Section Styles */
.content-flex {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.content-flex img {
  border-radius: 20px;
  box-shadow: 10px 10px 30px var(--shadow-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 3px solid var(--border-color);
}

.content-flex img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 15px 15px 40px var(--shadow-color);
}

.content-text p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
  color: var(--light-color);
}

@media (max-width: 768px) {
  .content-flex {
    flex-direction: column;
  }
}

/* Section Divider */
.section-divider {
  position: relative;
  text-align: center;
  margin: 5rem 0;
  padding: 2.5rem 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.4;
}

.section-divider h3 {
  position: relative;
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 2.5rem;
  color: var(--light-color);
  font-size: 2rem;
  letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 10vh 2rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.85), rgba(142, 68, 173, 0.85));
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.75rem;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.cta-section p {
  font-size: 1.3rem;
  line-height: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Features Timeline */
.features-timeline {
  position: relative;
  padding: 2.5rem 0;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(41, 128, 185, 0.5);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  position: relative;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  background: linear-gradient(145deg, #34495E, #2C3E50);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 10px 10px 25px var(--shadow-color);
  transition: all 0.4s ease;
  position: relative;
}

.feature-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--primary-color);
}

.feature-item:nth-child(odd) .feature-content::before {
  right: -22px;
}

.feature-item:nth-child(even) .feature-content::before {
  left: -22px;
}

.feature-content:hover {
  transform: translateY(-8px);
  box-shadow: 15px 15px 35px var(--shadow-color);
  border-color: var(--highlight-color);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: white;
  box-shadow: 0 6px 20px rgba(41, 128, 185, 0.4);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  border: 4px solid var(--background-color);
}

.feature-content h3 {
  color: var(--light-color);
  margin-bottom: 1.25rem;
  font-size: 1.65rem;
}

.feature-content p {
  color: var(--light-color);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 45px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: row;
    padding-left: 0;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  .feature-content::before {
    display: none;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: linear-gradient(145deg, #34495E, #2C3E50);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 10px 10px 25px var(--shadow-color);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 4rem;
  color: var(--highlight-color);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 15px 15px 40px var(--shadow-color);
  border-color: var(--highlight-color);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 2;
  position: relative;
  z-index: 1;
  color: var(--light-color);
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--highlight-color);
  font-size: 1.15rem;
  font-family: var(--main-font);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info {
  background: linear-gradient(145deg, #34495E, #2C3E50);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 10px 10px 25px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.75rem;
  color: var(--highlight-color);
  margin-top: 0.25rem;
}

.contact-item strong {
  color: var(--light-color);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form {
  background: linear-gradient(145deg, #34495E, #2C3E50);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 10px 10px 25px var(--shadow-color);
  border: 2px solid var(--border-color);
}

.contact-form h3 {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--light-color);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(44, 62, 80, 0.5);
  color: var(--light-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(236, 240, 241, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--highlight-color);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
  background: rgba(44, 62, 80, 0.7);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 1.125rem 3rem;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 18px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 25px var(--shadow-color);
  background: linear-gradient(135deg, #21618C 0%, #6C3483 100%);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-container {
  max-width: 950px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(145deg, #34495E, #2C3E50);
  margin-bottom: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  box-shadow: 8px 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--highlight-color);
  box-shadow: 10px 10px 30px var(--shadow-color);
  transform: translateX(5px);
}

.faq-question {
  padding: 2rem;
  font-weight: 700;
  color: var(--light-color);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(41, 128, 185, 0.1);
  font-family: var(--main-font);
}

.faq-question i {
  color: var(--highlight-color);
  font-size: 1.5rem;
}

.faq-answer {
  padding: 2rem;
  line-height: 2;
  border-top: 1px solid var(--divider-color);
  background: rgba(0, 0, 0, 0.1);
  color: var(--light-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 4rem 2.5rem 2rem;
  border-top: 3px solid var(--primary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}

footer .logo img {
  height: 55px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: var(--light-color);
  transition: all 0.3s ease;
  font-weight: 500;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(236, 240, 241, 0.15);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--highlight-color);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--main-font);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 6px 6px 18px var(--shadow-color);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 25px var(--shadow-color);
  border-color: var(--highlight-color);
}

/* Decorative Background Pattern */
section:nth-child(even) {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

section:nth-child(odd) {
  background: var(--background-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 1.5rem;
}