body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #fff;
}

header {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}

header h1 {
  color: #dc2626;
  line-height: 1.1;
  font-size: 1.5rem;
  text-align: left;
  display: inline-block;
}

.navbar-brand-link {
  text-decoration: none !important;
}

.navbar-brand-link h1 {
  color: #dc2626;
  margin: 0;
  transition: color 0.3s ease;
}

.navbar-brand-link:hover h1 {
  color: #b91c1c;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #000;
}

nav a:hover {
  color: #dc2626;
}

.hamburger-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #dc2626;
}

.navbar-nav {
  display: flex;
  gap: 1.5rem;
}

.navbar-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-nav a:hover {
  color: #dc2626;
}

section {
  padding: 4rem 1.5rem;
}

.hero {
  text-align: center;
  background: linear-gradient(to bottom, #fff, #fef2f2);
}

.hero h2 {
  color: #dc2626;
  font-size: 2.5rem;
}

.text-red {
  color: #dc2626;
}

.services,
.projects {
  display: grid;
  gap: 2rem;
}

.card {
  position: relative;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('Mas\ bima.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at bottom right, rgba(220, 38, 38, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card h4 {
  text-align: center;
  font-size: 1.5rem;
}

.card h5 {
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.card p {
  font-weight: normal;
  text-align: justify;
  font-size: 0.875rem;
}

.project-gallery-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gallery-top {
  height: 500px;
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.gallery-top .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-top {
  --swiper-navigation-color: #fff;
  --swiper-navigation-size: 30px;
}

.project-info {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-bottom: 1.5rem;
}

.project-info h4 {
  font-size: 1.75rem;
  color: #111827;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-top: 0;
}

.gallery-thumbs {
  height: 100px;
  padding: 0;
}

.gallery-thumbs .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.gallery-thumbs .swiper-slide:hover {
  opacity: 1;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.swiper-projects {
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.swiper-projects .swiper-slide .card {
  width: 100%;
  height: 100%;
  margin: 0;
}

.swiper-projects {
  --swiper-navigation-color: #dc2626;
  --swiper-pagination-color: #dc2626;
}

section#gallery,
section#about {
  position: relative;
  overflow: hidden;
}

section#gallery::before,
section#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sam.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

section#gallery > *,
section#about > * {
  position: relative;
  z-index: 1;
}

#about {
  background-color: #fff;
}

#gallery {
  background-color: #fef2f2;
}

#contact {
  background-color: #111827;
  color: #f9fafb;
  padding: 5rem 1.5rem;
}

.footer {
  text-align: center;
  font-size: 0.875rem;
  padding: 1rem;
  border-top: 1px solid #374151;
  background-color: #202938;
  color: white;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
  background-image: url('vecteezy_whatsapp-logo-png-icon_16716480.png');
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  text-indent: 100%;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

.tiktok-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiktok-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-text h3 {
  font-size: 2.5rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-cta-button {
  background-color: #dc2626;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-cta-button:hover {
  background-color: #ef4444;
  transform: translateY(-3px);
}

.contact-details {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid #dc2626;
}

.contact-details h4 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.contact-details li i {
  color: #dc2626;
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}

.contact-details a {
  color: #f9fafb;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-details a:hover {
  color: #dc2626;
}

.navbar-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 100px;
}

.swiper {
  width: 100%;
  height: auto;
}

:root {
  --swiper-navigation-color: #dc2626;
  --swiper-pagination-color: #dc2626;
}

@media (min-width: 768px) {
  .services,
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-container {
    grid-template-columns: 3fr 1fr;
  }

  .projects {
    grid-template-columns: repeat(3, 1fr);
    max-width: 10000px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
  }

  .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 4rem;
    gap: 2rem;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav.active {
    right: 0;
  }

  .navbar-nav a {
    font-size: 1.2rem;
  }

  header h1 {
    font-size: 1.2rem;
  }

  .navbar-center-logo {
    height: 70px;
  }
}

.swiper-clients {
  padding: 0 40px 3rem 40px !important;
  box-sizing: border-box;
}

.swiper-clients .swiper-slide {
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  overflow: visible;
}

.swiper-clients .swiper-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.swiper-slide .logo-gbt {
    transform: scale(1.6);
}

.swiper-slide .logo-ab {
    transform: scale(1.6);
}

.swiper-slide img[src*="GLATT"] {
    transform: scale(1.8);
}