/* -------- GLOBAL -------- */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #333;
}
a { text-decoration: none; color: inherit; }
.container { width: 90%; margin: auto; max-width: 1200px; }
h2 { color: #0b1b33; text-align: center; margin-bottom: 15px; font-size: 2rem; }
.btn {
  display: inline-block;
  background: #0078d7;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  margin-top: 20px;
  transition: 0.3s;
}
.btn:hover { background: #005fa3; }

header {
  background: #0b1b33;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.top-bar {
  background: #071427;
  padding: 8px 5%;
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-end;
  color: #ddd;
  gap: 20px;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}
/* ===== LOGO STYLING ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 80px;
  width: 90px;
}

.logo-text {
  font-size: 1.9rem;
  font-weight: 700;
  color: #00b4d8;
  text-transform: none;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 45px;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  color: white;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active { color: #00aaff; }
.hamburger { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* -------- HERO -------- */
.hero {
  background: linear-gradient(to right, #0b1b33, #004080);
  color: white;
  text-align: center;
  padding: 100px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}
.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: auto;
}

/* -------- ABOUT -------- */
.about {
  background: white;
  text-align: center;
  padding: 70px 20px;
}
.about p {
  max-width: 800px;
  margin: auto;
  color: #555;
  font-size: 1rem;
}

/* -------- SERVICES -------- */
.services {
  background: #f1f5fb;
  padding: 80px 20px;
}
.section-intro {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.service-card img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
}
.service-card h3 { color: #004080; margin-top: 15px; }

/* -------- CONTACT INFO -------- */
.contact-info-section {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}
.contact-details p {
  margin: 10px 0;
  color: #444;
}

/* -------- FOOTER -------- */
footer {
  background: #0b1b33;
  color: #ccc;
  padding: 50px 5%;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.footer-col h5 {
  color: white;
  margin-bottom: 15px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ccc;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: #00aaff;
}
.social-icons a {
  color: #00aaff;
  margin-right: 15px;
  font-size: 1.3rem;
}
.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #aaa;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5%;
    background: #0b1b33;
    flex-direction: column;
    width: 220px;
    border-radius: 10px;
    display: none;
    padding: 15px 0;
  }
  .nav-links.show { display: flex; }
  .hamburger { display: block; }
  .top-bar { flex-direction: column; align-items: center; gap: 5px; }
}
/* ----- HEADER CONTACT INFO ----- */
.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; /* spacing between WhatsApp and email on large screens */
  background: #0b1b33;
  color: #fff;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info i {
  color: #00b4d8;
  margin-right: 8px;
}

/* ----- MOBILE SCROLLING EFFECT ----- */
@media (max-width: 768px) {
  .contact-info {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    animation: scrollText 12s linear infinite;
  }
}

@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
