/* =========================
   Base
========================= */
html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* No fixed navbar, so no top padding needed */
body {
  padding-top: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}
h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.3px;
}
.hero h1 {
  letter-spacing: 1px;
}
/* Top Bar */
.topbar {
  font-size: 14px;
}

.topbar-social a {
  color: #000;
  margin-left: 12px;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.topbar-social a:hover {
  color: #333;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 768px) {
  .topbar {
    text-align: center;
  }

  .topbar-social {
    margin-top: 8px;
  }
}

/* =========================
   Navbar
========================= */
.navbar-brand img {
  height: 50px;
  width: auto;
}

.nav-link {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
/* =========================
   Hero
========================= */
.hero {
  min-height: 70vh;
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url("../images/hero.jpg") center / cover no-repeat;
}

/* =========================
   About Section
========================= */
.about-section {
  background-color: #f9f9f9;
}

.about-item {
  margin-bottom: 20px;
}

.about-item p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.check-icon {
  color: #f0ad4e;
  font-weight: bold;
  margin-top: 2px;
  flex-shrink: 0;
}

/* =========================
   Services
========================= */
.service-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

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

.service-content {
  padding: 20px;
}

.service-content h5 {
  font-weight: 600;
  margin-bottom: 10px;
}

.service-content p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* =========================
   Gallery
========================= */
.gallery-img {
  cursor: pointer;
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* =========================
   Lightbox
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  padding: 10px 20px;
}

.nav-btn.prev {
  left: 20px;
}

.nav-btn.next {
  right: 20px;
}

/* =========================
   Footer
========================= */
.footer-link {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.footer-link:hover {
  color: #f0ad4e;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #ffffff;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333333;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background-color: #f0ad4e;
  transform: translateY(-3px);
}

/* =========================
   Tablet & Mobile
========================= */
@media (max-width: 768px) {

  body {
    padding-top: 0;
  }

  .navbar-brand img {
    height: 32px;
  }

  .hero {
    min-height: 35vh;
    padding: 80px 15px 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card img {
    height: 180px;
  }

  .service-content h5 {
    font-size: 1.05rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }

  #projects img {
    margin-bottom: 15px;
  }

  #contact {
    text-align: center;
  }

  #contact .col-md-6 {
    margin-bottom: 25px;
  }
}

/* =========================
   Small Mobile
========================= */
@media (max-width: 576px) {

  .hero + section {
    padding-top: 1.5rem;
  }

  section.py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  section h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .row.g-4 {
    row-gap: 16px;
  }

  .gallery-img {
    height: 220px;
    object-fit: cover;
  }

  .row.g-4 > div {
    display: flex;
    justify-content: center;
  }

  .lightbox-img {
    max-width: 95%;
    max-height: 75%;
  }

  .lightbox .close-btn {
    top: 12px;
    right: 16px;
    font-size: 32px;
  }

  .nav-btn {
    font-size: 36px;
    padding: 8px 12px;
  }

  .nav-btn.prev {
    left: 5px;
  }

  .nav-btn.next {
    right: 5px;
  }
}
