@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: #3498DB;
  --light-color: #D6EAF8;
  --dark-color: #0F1021;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2874A6 100%);
  --hover-color: #21618C;
  --background-color: #EBF5FB;
  --text-color: #34495D;
  --border-color: rgba(52, 152, 219, 0.25);
  --divider-color: rgba(27, 79, 114, 0.15);
  --shadow-color: rgba(40, 116, 166, 0.12);
  --highlight-color: #F39C12;
  --main-font: 'Merriweather', 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;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 18px 0;
  box-shadow: 0 4px 12px 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 {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

header nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
}

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::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header .logo {
    margin: 0 auto;
  }
  
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .menu-toggle {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  header nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  header nav.active {
    max-height: 500px;
  }
  
  header nav ul {
    flex-direction: column;
    padding: 20px 0;
    gap: 16px;
  }
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(15, 16, 33, 0.7), rgba(27, 79, 114, 0.6));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 32px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* Content Section */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.content-flex.reverse {
  flex-direction: row-reverse;
}

.content-image {
  flex: 0 0 40%;
}

.content-image img {
  border-radius: 16px;
  box-shadow: 0 12px 32px var(--shadow-color);
  transition: transform 0.4s ease;
}

.content-image img:hover {
  transform: scale(1.03);
}

.content-text {
  flex: 1;
}

.content-text h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.content-text p {
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 968px) {
  .content-flex,
  .content-flex.reverse {
    flex-direction: column;
  }
  
  .content-image {
    flex: 0 0 100%;
  }
}

/* Section Divider */
.section-divider {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--divider-color);
  z-index: 0;
}

.section-divider h2 {
  display: inline-block;
  background: var(--background-color);
  padding: 0 30px;
  position: relative;
  z-index: 1;
  font-size: 2rem;
}

/* CTA Section */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 16, 33, 0.75);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
}

/* Features Timeline */
.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.5rem;
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  flex: 0 0 45%;
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 24px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: var(--primary-color);
}

.timeline-marker {
  flex: 0 0 10%;
  display: flex;
  justify-content: center;
}

.timeline-marker i {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 10;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 24px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-content {
    flex: 1;
    margin-left: 60px;
  }
  
  .timeline-marker {
    position: absolute;
    left: 0;
  }
}

/* Testimonials */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--background-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 20px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(180deg, var(--light-color) 0%, var(--background-color) 100%);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 35%;
}

.contact-item {
  margin-bottom: 28px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.contact-item i {
  font-size: 24px;
  margin-right: 12px;
  color: var(--primary-color);
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow-color),
              inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  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-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 116, 166, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-primary);
  color: #fff;
  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 {
  background: linear-gradient(135deg, #2874A6 0%, #1B4F72 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow-color);
}

@media (max-width: 968px) {
  .contact-wrapper {
    flex-direction: column;
  }
  
  .contact-info {
    flex: 1;
    width: 100%;
  }
}

/* FAQ Section */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: var(--light-color);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 18px var(--shadow-color);
  border-color: var(--primary-color);
}

.faq-question {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--light-color) 0%, #fff 100%);
}

.faq-question i {
  color: var(--primary-color);
  font-size: 20px;
}

.faq-answer {
  padding: 0 28px 24px 28px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 50px 0 20px;
  color: #fff;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

footer .logo img {
  height: 50px;
  width: auto;
}

footer nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

footer nav ul li a {
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

footer nav ul li a:hover {
  opacity: 1;
  color: var(--highlight-color);
}

.footer-credit {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

.footer-credit a {
  color: var(--highlight-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  footer nav ul {
    flex-direction: column;
    gap: 12px;
  }
}