@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: #EBF5FB;
  --dark-color: #0B2F47;
  --gradient-primary: linear-gradient(135deg, #3498DB 0%, #2874A6 100%);
  --hover-color: #1F618D;
  --background-color: #F8FBFD;
  --text-color: #4B5563;
  --border-color: rgba(52, 152, 219, 0.2);
  --divider-color: rgba(27, 79, 114, 0.1);
  --shadow-color: rgba(27, 79, 114, 0.1);
  --highlight-color: #F39C12;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Lato', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.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: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: var(--main-font);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--highlight-color);
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  width: 30px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .menu-icon {
    display: flex;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navigation ul {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .navigation ul li {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle:checked ~ .navigation {
    max-height: 500px;
  }

  .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(7px, -7px);
  }

  .logo {
    flex: 1;
    text-align: center;
  }
}

/* HERO SECTION */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 116, 166, 0.3) 0%, rgba(27, 79, 114, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title {
  font-family: var(--main-font);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-weight: 400;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

/* CONTENT SECTION */
.content-section {
  background: var(--background-color);
  position: relative;
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(40, 116, 166, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.content-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.content-reverse .content-grid {
  grid-template-columns: 60% 40%;
}

.content-reverse .content-text {
  order: 1;
}

.content-reverse .content-image {
  order: 2;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px var(--shadow-color),
              inset 0 -5px 20px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px var(--shadow-color);
}

.section-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content-paragraph {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .content-reverse .content-grid {
    grid-template-columns: 1fr;
  }

  .content-reverse .content-text {
    order: 2;
  }

  .content-reverse .content-image {
    order: 1;
  }
}

/* SECTION DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: var(--divider-color);
  position: relative;
}

.divider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
}

.divider-text {
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 768px) {
  .section-divider {
    flex-direction: column;
    padding: 2rem 20px;
  }

  .divider-line {
    width: 100%;
  }

  .divider-text {
    white-space: normal;
  }
}

/* CTA SECTION */
.cta-section {
  position: relative;
  padding: 8rem 0;
  color: #fff;
  text-align: center;
}

.cta-parallax {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 79, 114, 0.4) 0%, rgba(11, 47, 71, 0.6) 100%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--main-font);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.cta-subtitle {
  font-weight: 400;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

/* FEATURES SECTION */
.features-section {
  background: linear-gradient(to bottom, var(--background-color) 0%, var(--light-color) 100%);
  position: relative;
}

.section-heading {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4rem;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.features-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: #fff;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -3px 15px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 15px 0 0 15px;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  min-width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 116, 166, 0.3),
              inset 0 -3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-description {
  line-height: 1.8;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-item:hover {
    transform: translateY(-5px);
  }
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: #fff;
  position: relative;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(40, 116, 166, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: linear-gradient(135deg, #fff 0%, var(--light-color) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -3px 15px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color);
  border-color: var(--primary-color);
}

.testimonial-text {
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--main-font);
}

/* CONTACT SECTION */
.contact-section {
  background: linear-gradient(to bottom, var(--light-color) 0%, #fff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color),
              inset 0 -2px 10px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
}

.contact-form-wrapper {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color),
              inset 0 -3px 15px rgba(255, 255, 255, 0.5);
}

.form-title {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem;
  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-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(40, 116, 166, 0.1);
  background: #fff;
}

.form-button {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(40, 116, 166, 0.3);
}

.form-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 116, 166, 0.4);
}

.form-button:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* FAQ SECTION */
.faq-section {
  background: var(--background-color);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(40, 116, 166, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(52, 152, 219, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  box-shadow: 0 8px 25px var(--shadow-color),
              inset 0 -3px 15px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px var(--shadow-color);
  transform: translateY(-3px);
}

.faq-question {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-question i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.faq-answer {
  padding-left: 2.5rem;
}

.faq-answer p {
  line-height: 1.8;
  color: var(--text-color);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.9rem;
}

.footer-credit {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* UTILITY CLASSES */
.rounded-image {
  border-radius: 20px;
}

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.2rem;
  }
}