@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2980B9;
  --secondary-color: #1B5A7D;
  --accent-color: #3498DB;
  --light-color: #E8F4F8;
  --dark-color: #0F3A52;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
  --hover-color: #1F6FA8;
  --background-color: #F8FCFD;
  --text-color: #2C3E50;
  --border-color: rgba(52, 152, 219, 0.2);
  --divider-color: rgba(27, 90, 125, 0.1);
  --shadow-color: rgba(27, 90, 125, 0.15);
  --highlight-color: #F39C12;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Roboto', 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.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header styles */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 50px;
  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 ul li a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  background-color: var(--hover-color);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

#menu-checkbox {
  display: none;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  header .logo {
    order: 2;
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    order: 1;
  }

  header nav {
    order: 3;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-checkbox:checked ~ nav {
    max-height: 500px;
  }

  header nav ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  header nav ul li a {
    display: block;
    padding: 1rem;
  }
}

/* Hero section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.85) 0%, rgba(27, 90, 125, 0.85) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Sections */
section {
  padding: 10vh 0;
}

.content-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.content-section img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.3);
}

.content-section .text-content {
  flex: 1;
  min-width: 300px;
}

.content-section .image-content {
  flex: 0 0 40%;
  min-width: 300px;
}

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 5vh 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.section-divider h3 {
  white-space: nowrap;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* CTA sections */
.cta-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}

/* Features section */
.features-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.features-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.features-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
}

.feature-item {
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.feature-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.feature-content {
  flex: 1;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.5);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 6px 15px var(--shadow-color);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .features-timeline::before {
    left: 20px;
  }

  .feature-item,
  .feature-item:nth-child(odd),
  .feature-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Contact section */
.contact-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.5);
  border-left: 4px solid var(--primary-color);
}

.contact-info-item i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.5);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  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(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: var(--gradient-primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-color);
  background: linear-gradient(135deg, #2980B9 0%, #1F6FA8 100%);
}

/* FAQ section */
.faq-section {
  background: #fff;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-color),
              inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 18px var(--shadow-color);
  transform: translateY(-2px);
}

.faq-question {
  background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 1.5rem;
  background: #fff;
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
  line-height: 1.8;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 3rem 0 1rem;
}

footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer .logo img {
  height: 50px;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #fff;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

footer .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

footer .footer-bottom a {
  color: var(--highlight-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .content-section {
    flex-direction: column;
  }

  .content-section .image-content {
    flex: 0 0 100%;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}