@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2874A6;
  --secondary-color: #1B4F72;
  --accent-color: #5DADE2;
  --light-color: #EBF5FB;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2874A6 100%);
  --hover-color: #21618C;
  --background-color: #F8FBFD;
  --text-color: #4B5563;
  --border-color: rgba(93, 173, 226, 0.2);
  --divider-color: rgba(27, 79, 114, 0.1);
  --shadow-color: rgba(27, 79, 114, 0.1);
  --highlight-color: #F1C40F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  padding: 1rem 0;
  box-shadow: 0 4px 6px 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: 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: 2rem;
}

header nav a {
  color: var(--light-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

header nav a:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-section h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
  padding: 10vh 0;
}

.content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px var(--shadow-color);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.content-image:hover img {
  transform: scale(1.05);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  margin-bottom: 1.5rem;
}

.content-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 5vh 0;
  padding: 0 20px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: var(--gradient-primary);
}

.divider-text {
  font-family: var(--main-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
  padding: 0 1rem;
}

/* CTA Sections */
.cta-section {
  position: relative;
  padding: 10vh 0;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: white;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Features Section */
.features-section {
  padding: 10vh 0;
  background: linear-gradient(135deg, var(--light-color) 0%, var(--background-color) 100%);
}

.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.feature-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-icon {
  flex: 0 0 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.1);
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px var(--shadow-color),
              inset 0 -3px 6px rgba(0, 0, 0, 0.15);
}

.feature-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-content {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}

.feature-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 10vh 0;
  background: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: var(--accent-color);
  opacity: 0.2;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding: 10vh 0;
  background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.25rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 116, 166, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FAQ Section */
.faq-section {
  padding: 10vh 0;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--light-color);
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--accent-color);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: var(--accent-color);
}

footer p {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

footer p a {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }

  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }

  .menu-icon {
    order: 1;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .content-image {
    flex: 0 0 100%;
  }

  .features-timeline::before {
    left: 30px;
  }

  .feature-item {
    flex-direction: column !important;
    padding-left: 80px;
  }

  .feature-icon {
    position: absolute;
    left: 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}