/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafb;
  color: #333;
}

/* ================= NAVBAR ================= */
.navbar {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 10;
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-container img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
}

.logo-container span {
  font-size: 22px;
  font-weight: 600;
  color: white;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #facc15;
  transform: scale(1.08);
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 55px;
  left: 0;
  min-width: 230px;
  padding: 10px 0;
  list-style: none;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #0A1F44;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}

.dropdown-menu li a:hover {
  background: #facc15;
  color: black;
  padding-left: 25px;
}

/* ================= HERO ================= */
/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 20px;
}

/* DARK OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;   /* 🔥 KEY FIX */
  align-items: center;
  justify-content: center;

  max-width: 800px;
}

/* TITLE */
.hero h2 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

/* DESCRIPTION */
.hero p {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ================= SCROLL BAR ================= */
.scrolling {
  background: #ffd54f;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.scroll-track {
  display: inline-block;
  animation: scrollSmooth 20s linear infinite;
}

.scroll-track span {
  padding-right: 50px;
  font-weight: 500;
}

@keyframes scrollSmooth {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 40px;
  text-align: center;
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* ================= CARDS ================= */
.cards,
.service-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card,
.service-card {
  width: 280px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.card:hover,
.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* SERVICES SECTION */
.services {
  padding: 70px 40px;
  text-align: center;
}

/* CENTER TITLE */
.services h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* SPACE BELOW CARDS */
.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px; /* 👈 IMPORTANT SPACE */
}
/* ================= ABOUT ================= */
.about {
  padding: 60px 40px;
  background: #eef2f7;
}

.about p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* CONTACT ICONS */
.contact-icons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.icon-btn {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0A1F44;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.icon-btn:hover {
  background: #facc15;
  transform: scale(1.15);
}

/* ================= FOOTER ================= */
footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 20px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #facc15;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ================= HAMBURGER ================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #1f2937;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  /* DROPDOWN MOBILE */
  .dropdown-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-menu li a {
    color: white;
  }

  /* HERO */
  .hero h2 {
    font-size: 30px;
  }

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

  /* CARDS */
  .cards,
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .service-card {
    width: 90%;
  }

  /* CONTACT */
  .contact-icons {
    justify-content: center;
  }

}
