/* RESET + GLOBAL FIXES */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}
/* ===============================
HERO SECTION – WAVE STYLE
=============================== */

.hero-section {
  font-family: "Segoe UI", sans-serif;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 90px 8%;
  overflow: hidden;
  background: #f7f8f8;
}

/* TEXT CONTENT */
.hero-content {
  max-width: 48%;
  z-index: 2;
}

.hero-content h2 {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.7;
  color: #ffffff;
  max-width: 520px;
  font-weight: 700;
}

/* IMAGE */
.hero-image {
  max-width: 42%;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* ===============================
WAVE BACKGROUND
=============================== */

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  z-index: 1;
}


/* ===============================
RESPONSIVE
=============================== */

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 70px 6%;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .hero-image {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }
}


/* ========== SECTION 2 ========== */
/* ===============================
FEATURES SECTION – INFOGRAPHIC STYLE
=============================== */
.staircase-section {
  width: 100%;
  padding: 100px 0;
  background: #fff;
  overflow-x: hidden; /* 🟢 fix scroll */
}

.step {
  width: 50%;
  position: relative;
  margin-bottom: 30px; /* Added some space between steps */
}

/* left */
.step.left {
  margin: 0;
}

/* right – instead of margin-left:50%, use flex pushing */
.step.right {
  margin-left: auto;
  text-align: right;
}

/* top images */
.step-img, .step2-img {
  display: block;
  margin: 0 auto -35px auto;
  position: relative;
  z-index: 3;
}

.step-img {
  height: 230px;
}

.step2-img {
  height: 180px;
}

/* teal bar */
.step-bar {
  width: 100%;
  height: 45px;
  background: #0b5070;
  position: relative;
  z-index: 2;
}

/* grey text */
.step-text {
  width: 100%;
  background: #f3f3f3;
  padding: 28px 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  color: #0d273d;
  text-align: center;
  z-index: 1;
}

/* scroll animation */
.from-left,
.from-right {
  opacity: 0;
  transition: 0.5s ease; /* Faster transition */
}

.from-left {
  transform: translateX(-200px);
}

.from-right {
  transform: translateX(200px);
}

.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .step {
    width: 100%;
  }

  .step.left,
  .step.right {
    margin: 0; /* Remove margin to stack vertically */
    text-align: center; /* Center text on smaller screens */
  }

  .step-img, .step2-img {
    height: auto;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .step-text {
    font-size: 20px;
    padding: 20px 15px;
  }

  .step-bar {
    height: 40px;
  }
}

/* Further adjustments for mobile */
@media (max-width: 768px) {
  .step {
    width: 100%;
    margin-bottom: 20px;
  }

  .step-img, .step2-img {
    height: 150px;
  }

  .step-text {
    font-size: 18px;
    padding: 18px 10px;
  }
}


#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#whatsapp-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* HEADER BASE */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid #eee;
  background: #ffffff;
  position: relative;
  z-index: 100;
}

.logo {
  height: 60px;
}

/* DESKTOP NAV */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 45px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  font-size: 18px;
  color: #0f2f45;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
  color: #0b5070;
  transform: translateY(-3px); /* small jump on hover */
}

/* HAMBURGER (HIDDEN ON DESKTOP) */
.hamburger {
  font-size: 32px;
  cursor: pointer;
  display: none;
  color: #0f2f45;
}

/* MOBILE FULLSCREEN MENU (HIDDEN BY DEFAULT) */
.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  align-items: center;
  justify-content: flex-start;
  transition: top 0.4s ease;
  z-index: 999;
}

/* When active */
.menu-show {
  top: 0;
}

/* Close icon */
.close-menu {
  position: absolute;
  right: 30px;
  top: 25px;
  font-size: 36px;
  color: #0f2f45;
  cursor: pointer;
}

/* Mobile menu items */
.mobile-menu ul {
  list-style: none;
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.mobile-menu ul li {
  margin: 25px 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #0f2f45;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.mobile-menu a:hover {
  transform: translateY(-4px);
}

/* RESPONSIVE BEHAVIOUR */
@media (max-width: 900px) {
  /* Hide desktop menu on small screens */
  .main-nav {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }
}

/* Default version (Blue color) */
.title-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #0b5070;  /* Blue color */
}

/* Center text */
.title-dots .text {
  text-align: center;
  line-height: 1.2;
}

/* Decorative line */
.decor {
  position: relative;
  width: 60px;
  height: 2px;
  background: #0b5070; /* Blue color */
}

/* Dot */
.decor::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #0b5070; /* Blue color */
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Left dot position */
.decor.left::before {
  left: -10px;
}

/* Right dot position */
.decor.right::before {
  right: -10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .decor {
    width: 30px;
  }

  .decor::before {
    width: 6px;
    height: 6px;
  }

  .decor.left::before {
    left: -8px;
  }

  .decor.right::before {
    right: -8px;
  }
}

/* Version 2 (White color) */
.title-dots-white {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #ffffff;  /* White color */
}

/* Center text for white version */
.title-dots-white .text {
  text-align: center;
  line-height: 1.2;
}

/* Decorative line for white version */
.decor-white {
  position: relative;
  width: 60px;
  height: 2px;
  background: #ffffff; /* White color */
}

/* Dot for white version */
.decor-white::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #ffffff; /* White color */
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Left dot position for white version */
.decor-white.left::before {
  left: -10px;
}

/* Right dot position for white version */
.decor-white.right::before {
  right: -10px;
}

/* Responsive adjustments for white version */
@media (max-width: 768px) {
  .decor-white {
    width: 30px;
  }

  .decor-white::before {
    width: 6px;
    height: 6px;
  }

  .decor-white.left::before {
    left: -8px;
  }

  .decor-white.right::before {
    right: -8px;
  }
}
