/* FULL style.css for SBA Global Ltd */

/* =============================================
   GLOBAL RESET & BASE STYLES
============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =============================================
   HEADER
============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
}

.wrap {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 55px;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #00c6ff;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 200px;
    padding: 15px 0;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none;
  }
  

  .nav.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}
@media (max-width: 768px) {
  .hero-slideshow img {
    object-position: center center;
  }
}
//* ================= HERO SECTION — FINAL VERSION ================= */
.hero {
  position: relative;
  height: 100vh; /* default height for mobile */
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 120px;
  color: #fff;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* default for most images */
  object-position: center 20%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* Special fix for this MD e image */
.hero-slideshow img[src="images/m1.png"] {
    object-position: center 40% !important;
}

/* Active slide */
.hero-slideshow img.active {
  opacity: 1;
}

/* Specific adjustment for Tours.jpg to show full image */
.hero-slideshow img[src="images/Tours.jpg"] {
  object-fit: contain;         /* fit whole image inside hero */
  object-position: center center;
}

/* Overlay gradient */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.highlight {
  color: #00c6ff;
}

/* ========== RESPONSIVE HERO HEIGHTS ========== */

/* Tablet screens */
@media (min-width: 768px) {
  .hero {
    height: 90vh; /* slightly taller */
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* Desktop screens */
@media (min-width: 1024px) {
  .hero {
    height: 100vh; /* full screen */
  }
  .hero-content h1 {
    font-size: 4rem;
  }
}

/* Large desktops */
@media (min-width: 1440px) {
  .hero {
    height: 120vh; /* allow tall images to fully show */
  }
}

  
  

#typing-text {
  font-size: 1.8rem;
  font-weight: 500;
  min-height: 40px;
  margin-bottom: 15px;
}

.fade-in { animation: fadeIn 1.5s ease forwards; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up { animation: slideUp 1.2s ease forwards; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  background: #00c6ff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: #0089b3;
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 180px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  #typing-text {
    font-size: 1.4rem;
  }
}

/* =============================================
   SERVICE CARDS
============================================= */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about-alt-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-alt-image {
  width: 50%;
  height: 350px;
  background: url('images/about.jpg') center/cover no-repeat;
  border-radius: 10px;
}

ul.bullets {
  margin: 20px 0;
}

ul.bullets li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

ul.bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00c6ff;
}

@media (max-width: 768px) {
  .about-alt-inner {
    flex-direction: column;
  }

  .about-alt-image {
    width: 100%;
  }
}

/* =============================================
   FOOTER
============================================= */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo {
  height: 60px;
  margin-bottom: 10px;
}

.footer-right p {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}


.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
