@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #2980B9;
  --secondary-color: #1F618D;
  --accent-color: #5DADE2;
  --light-color: #EBF5FB;
  --dark-color: #154360;
  --gradient-primary: linear-gradient(135deg, #5DADE2 0%, #2980B9 100%);
  --hover-color: #21618C;
  --background-color: #F8FBFD;
  --text-color: #34495E;
  --border-color: rgba(41, 128, 185, 0.25);
  --divider-color: rgba(31, 97, 141, 0.15);
  --shadow-color: rgba(31, 97, 141, 0.12);
  --highlight-color: #E67E22;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  padding: 18px 0;
  box-shadow: 0 5px 15px 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: 48px;
  width: auto;
  transition: opacity 0.3s ease;
}

header .logo img:hover {
  opacity: 0.85;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

header nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(21, 67, 96, 0.75), rgba(31, 97, 141, 0.75)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(93, 173, 226, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 28px;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.25;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 38px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* BUTTON STYLES */
.btn {
  display: inline-block;
  padding: 18px 45px;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(41, 128, 185, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(41, 128, 185, 0.45);
  background: linear-gradient(135deg, #2980B9 0%, #1F618D 100%);
}

/* CONTENT SECTIONS */
.content-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.content-flex {
  display: flex;
  gap: 45px;
  align-items: center;
}

.content-flex img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 12px 35px var(--shadow-color);
  transition: transform 0.4s ease;
}

.content-flex img:hover {
  transform: scale(1.02) rotate(1deg);
}

.content-text h2 {
  font-size: 2.6rem;
  margin-bottom: 28px;
  color: var(--primary-color);
}

.content-text p {
  font-size: 1.08rem;
  margin-bottom: 22px;
  line-height: 1.85;
}

/* DIVIDER */
.section-divider {
  padding: 65px 0;
  text-align: center;
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--divider-color), transparent);
}

.section-divider h3 {
  display: inline-block;
  background-color: var(--background-color);
  padding: 0 35px;
  position: relative;
  z-index: 1;
  font-size: 2.1rem;
  color: var(--secondary-color);
}

/* CTA SECTIONS */
.cta-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(rgba(21, 67, 96, 0.82), rgba(31, 97, 141, 0.82)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: 3.2rem;
  margin-bottom: 28px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.cta-section p {
  font-size: 1.45rem;
  margin-bottom: 38px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* FEATURES */
.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.9rem;
  margin-bottom: 65px;
  color: var(--primary-color);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  margin-bottom: 55px;
  position: relative;
  width: 47%;
  background-color: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-color);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}

.timeline-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(41, 128, 185, 0.25);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 53%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 35px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 5px solid #ffffff;
  box-shadow: 0 0 0 5px var(--light-color);
}

.timeline-item:nth-child(odd)::before {
  right: -66px;
}

.timeline-item:nth-child(even)::before {
  left: -66px;
}

.timeline-item i {
  font-size: 3.2rem;
  color: var(--primary-color);
  margin-bottom: 22px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--secondary-color);
}

.timeline-item p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-color);
}

/* TESTIMONIALS */
.testimonials-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: var(--light-color);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 65px;
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 38px;
}

.testimonial-card {
  background: #ffffff;
  padding: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 25px var(--shadow-color);
  border-top: 4px solid var(--primary-color);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 5.5rem;
  color: var(--accent-color);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(41, 128, 185, 0.25);
}

.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.testimonial-card h4 {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* CONTACT SECTION */
.contact-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--light-color) 100%);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 65px;
  color: var(--primary-color);
}

.contact-flex {
  display: flex;
  gap: 65px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.9rem;
  margin-bottom: 32px;
  color: var(--secondary-color);
}

.contact-item {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-item i {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-top: 6px;
}

.contact-item p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-form {
  flex: 1;
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.9rem;
  margin-bottom: 32px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 28px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--alt-font);
  transition: all 0.3s ease;
  background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 5px rgba(41, 128, 185, 0.1);
  background-color: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* FAQ */
.faq-section {
  padding-top: 10vh;
  padding-bottom: 10vh;
  background-color: #ffffff;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.9rem;
  margin-bottom: 65px;
  color: var(--primary-color);
}

.faq-item {
  background: var(--light-color);
  margin-bottom: 28px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-color);
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(41, 128, 185, 0.25);
  transform: translateX(8px);
}

.faq-question {
  padding: 28px 32px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.faq-answer {
  padding: 0 32px 28px 32px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 55px 0 32px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

footer .logo img {
  height: 48px;
  width: auto;
}

footer nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

footer nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

footer nav ul li a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  opacity: 0.85;
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav {
    width: 100%;
    margin-top: 18px;
  }

  header nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .content-flex {
    flex-direction: column;
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    width: 100%;
    margin-left: 55px !important;
  }

  .timeline-item::before {
    left: -43px !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-flex {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  footer nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .cta-section h2 {
    font-size: 2.2rem;
  }

  .cta-section p {
    font-size: 1.15rem;
  }
}