/* ============================================================
   GLOBAL STYLING
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fb;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* ============================================================
   HEADER
============================================================ */
header {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  gap: 8px;
  color: #1b3b67;
}

.logo-area img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation (Desktop Default) */
nav {
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #1b3b67;
  font-size: 16px;
  transition: .3s;
}

nav a:hover,
nav a.active {
  color: #0a2342;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #1b3b67;
  border-radius: 3px;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.hero-carousel {
  position: relative;
  height: 55vh;
  max-height: 500px;
}

.hero-carousel .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.bg.active {
  opacity: 1;
}

/* Hero Arrows */
.hero-arrow {
  background: rgba(0,0,0,0.45);
  border: none;
  padding: 10px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .3s;
}

.hero-arrow.left { left: 10px; }
.hero-arrow.right { right: 10px; }

.hero-arrow:hover {
  background: rgba(0,0,0,0.7);
}

/* Dots */
.hero-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: #a9b5c9;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
}

.hero-dot.active {
  background: #1b3b67;
}

/* ============================================================
   SERVICES
============================================================ */
.services-title {
  text-align: center;
  margin: 40px 0 15px;
  font-size: 26px;
  color: #1b3b67;
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: #1b3b67;
}

.service-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.service-card a {
  background: #1b3b67;
  padding: 8px 18px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  margin: 45px auto;
}

.about h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #1b3b67;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-flex img {
  width: 45%;
  border-radius: 12px;
}

.about-text {
  width: 55%;
  color: #444;
  font-size: 15px;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: #1b3b67;
  color: #fff;
  padding: 40px 0 15px;
  margin-top: 40px;
}

.footer-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li { margin-bottom: 7px; }

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}

/* ============================================================
   MOBILE RESPONSIVENESS
============================================================ */
@media (max-width: 992px) {
  nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  nav.active { display: flex; }

  .menu-toggle { display: flex; }

  .about-flex {
    flex-direction: column;
  }

  .about-flex img,
  .about-text {
    width: 100%;
  }
}

@media (max-width: 600px) {
  header {
    padding: 10px 0;
  }

  .logo-area {
    font-size: 15px;
  }

  .hero-carousel {
    height: 42vh;
  }

  .hero-arrow {
    padding: 7px;
    font-size: 16px;
  }

  .services-title {
    font-size: 22px;
  }

  footer {
    padding: 30px 0 15px;
  }

  .footer-flex {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
