:root {
  --primary: #06A3DA;
  --primary-dark: #0580AC;
  --dark: #091E3E;
  --dark-rgb: 9, 30, 62;
  --light: #EEF9FF;
  --light-alt: #F8FCFF;
  --white: #FFFFFF;
  --gray: #6C7A8D;
  --border: #E2E8F0;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #3A4553;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--dark);
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: 40px;
  margin-bottom: 24px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-top: 20px;
  border-radius: 2px;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--dark-rgb), 0.6) 0%, rgba(var(--dark-rgb), 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 820px;
  padding: 20vh 24px 40px;
}

.hero-logo {
  width: 280px;
  margin: 0 auto 40px;
  display: block;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: 52px;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 16px 42px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline {
  display: inline-block;
  padding: 16px 42px;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  60% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; transform: translateY(16px); }
}

/* ===================== FACTS BAR ===================== */

.facts-bar {
  position: relative;
  z-index: 3;
  margin-top: -60px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.fact-item {
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.fact-item:nth-child(1) {
  background: var(--primary);
  border-radius: 8px 0 0 8px;
}

.fact-item:nth-child(2) {
  background: var(--dark);
}

.fact-item:nth-child(3) {
  background: var(--primary);
  border-radius: 0 8px 8px 0;
}

.fact-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}

.fact-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 34px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ===================== ABOUT ===================== */

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-subtitle {
  margin-bottom: 32px;
}

.about-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin-bottom: 36px;
}

.about-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--dark);
}

.about-check i {
  color: var(--primary);
  font-size: 14px;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 480px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(var(--dark-rgb), 0.15));
}

/* ===================== SERVICES ===================== */

.services {
  background: var(--light-alt);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 44px 32px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(var(--dark-rgb), 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: var(--primary);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===================== FEATURES (Why Us) ===================== */

.features {
  background: var(--white);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-item {
  padding: 28px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--light);
}

.feature-item .feature-icon-sm {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 16px;
}

.feature-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.features-image {
  border-radius: 12px;
  overflow: hidden;
  height: 460px;
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================== PHILOSOPHY ===================== */

.philosophy {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: rgba(6, 163, 218, 0.06);
  border-radius: 50%;
}

.philosophy .section-title {
  color: var(--white);
}

.philosophy .section-title::after {
  background: var(--primary);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 20px;
}

.philosophy-text a {
  color: #5CC8F0;
  font-weight: 500;
  border-bottom: 1px solid rgba(92, 200, 240, 0.3);
  transition: border-color 0.3s ease;
}

.philosophy-text a:hover {
  border-color: #5CC8F0;
  color: #5CC8F0;
}

.philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.philosophy-stat {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.philosophy-stat .stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.philosophy-stat .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ===================== COMMITMENT ===================== */

.commitment {
  background: var(--light-alt);
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.commitment-image {
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
}

.commitment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commitment-text p {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.commitment-text a.inline-link {
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px solid rgba(6, 163, 218, 0.3);
  transition: border-color 0.3s ease;
}

.commitment-text a.inline-link:hover {
  border-color: var(--primary);
}

/* ===================== CTA ===================== */

.cta {
  background: var(--primary);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: var(--white);
  font-size: 38px;
  margin-bottom: 20px;
}

.cta h2::after {
  display: none;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta .btn-white {
  display: inline-block;
  padding: 16px 42px;
  background: var(--white);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid var(--white);
  border-radius: 4px;
  transition: all 0.4s ease;
}

.cta .btn-white:hover {
  background: transparent;
  color: var(--white);
}

/* ===================== FOOTER ===================== */

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  width: 200px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 4px;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================== BACK TO TOP ===================== */

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(6, 163, 218, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-4px);
}

/* ===================== ANIMATIONS (AOS-like) ===================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .about-grid,
  .philosophy-grid,
  .commitment-grid {
    gap: 40px;
  }

  .features-layout {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-about-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-logo {
    width: 220px;
  }

  .facts-bar {
    margin-top: -40px;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fact-item:nth-child(1) {
    border-radius: 8px 8px 0 0;
  }

  .fact-item:nth-child(3) {
    border-radius: 0 0 8px 8px;
  }

  .about-grid,
  .philosophy-grid,
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image,
  .features-image,
  .commitment-image {
    height: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-image {
    order: -1;
    height: 260px;
  }

  .about-checks {
    grid-template-columns: 1fr;
  }

  .philosophy-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .commitment-image {
    order: -1;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-about-col {
    grid-column: span 1;
  }

  .hero-scroll {
    display: none;
  }

  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
  }

  .btn-primary,
  .btn-outline,
  .cta .btn-white {
    padding: 14px 32px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .section-title {
    font-size: 26px;
  }

  .fact-item {
    padding: 28px 24px;
  }

  .fact-number {
    font-size: 28px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .philosophy-stats {
    grid-template-columns: 1fr;
  }
}