/* ------------------------------ ROOT VARIABLES ------------------------------ */
:root {
  --ff-montserrat: 'Montserrat', sans-serif;
  --ff-playfair: 'Playfair Display', serif;

  --fs-1: 3.6rem;
  --fs-2: 2.4rem;
  --fs-3: 2.2rem;
  --fs-4: 2rem;
  --fs-5: 1.5rem;

  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  --section-padding: 60px;
  --shadow-1: 0 2px 30px hsla(0, 0%, 0%, 0.1);

  --radius-10: 10px;
  --transition-1: 0.25s ease;
  --transition-3: 1s ease;
}

/* ------------------------------ RESET ------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
li { list-style: none; }
a { text-decoration: none; color: inherit; }
html { font-family: var(--ff-montserrat); font-size: 10px; scroll-behavior: smooth; }
body { font-size: 1.6rem; line-height: 1.75; }
img { height: auto; }

/* ------------------------------ REUSABLE CLASSES ------------------------------ */
.container { padding: 0 15px; margin: auto; }
.section { padding: var(--section-padding) 0; }
.h1, .h2, .h3 { font-family: var(--ff-playfair); line-height: 1.1; }
.h1 { font-size: var(--fs-1); }
.h2 { font-size: var(--fs-2); }
.h3 { font-size: var(--fs-4); }

.grid-list { display: grid; gap: 50px; }

/* ------------------------------ NAVBAR ------------------------------ */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.navbar-logo img { max-width: 120px; }
.navbar-list { display: flex; gap: 20px; }
.navbar-link { font-weight: bold; transition: color 0.3s ease; }
.navbar-link:hover { color: #007bff; }

@media (max-width: 768px) {
  .navbar { flex-direction: column; }
  .navbar-logo { margin-bottom: 10px; }
  .navbar-list { flex-direction: column; align-items: center; gap: 10px; }
}

/* ------------------------------ HERO SECTION ------------------------------ */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background-color: #e9dec7;
  text-align: center;
  padding: 60px 20px;
}

.hero-content img.logo { width: 120px; height: auto; margin-bottom: 20px; }
.hero-content h1 { font-size: 2.8rem; margin-bottom: 10px; }
.motto { font-size: 1.4rem; }

@media (max-width: 768px) {
  .hero-content img.logo { width: 100px; }
  .hero-content h1 { font-size: 2.2rem; }
  .motto { font-size: 1.2rem; }
}

/* ------------------------------ ABOUT SECTION ------------------------------ */
.about .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.about-banner img { width: 100%; height: auto; }
.about-content { flex: 1 1 300px; max-width: 600px; text-align: justify; }

@media (max-width: 768px) {
  .about .container { flex-direction: column; text-align: center; padding: 20px; }
}
/* Our Clients Section */
.our-clients {
    padding: 3rem 2rem;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
  }
  
  .clients-slider {
    overflow: hidden;
    position: relative;
    max-width: 100%;
  }
  
  .slide-track {
    display: flex;
    width: calc(250px *20); /* 6 logos repeated twice */
    animation: scroll 30s linear infinite;
  }
  
  .slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }
  
  .slide img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    transition: filter 0.3s ease;
  }
  
  .slide img:hover {
    filter: none;
  }
  
  /* Scrolling animation */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 600px) {
    .slide {
      width: 150px;
    }
  }

/* ------------------------------ FOOTER ------------------------------ */
.footer {
  background-color: #1e3a8a;
  color: white;
  font-size: 0.95rem;
  text-align: center;
  padding: 2rem;
}

/* ------------------------------ CONTACT SECTION ------------------------------ */
.contact-section {
  padding: 4rem 2rem;
  background-color: #f3f4f6;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-info, .contact-map { flex: 1; min-width: 280px; }

.contact-info h3 { font-size: 1.5rem; color: #1e3a8a; margin-bottom: 1rem; }
.contact-info p { font-size: 1.1rem; line-height: 1.6; color: #333; }

.contact-map iframe { width: 100%; border: none; }

/* ------------------------------ BACK TO TOP BUTTON ------------------------------ */
.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: #ff6600;
  color: white;
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: var(--shadow-1);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
  z-index: 4;
}

.back-top-btn.active { visibility: visible; opacity: 1; transform: translateY(-10px); }

/* ------------------------------ DROPDOWN (PRODUCTS) ------------------------------ */
.box-3d {
  width: 100%;
  background: linear-gradient(145deg, #dcdcdc, #ffffff);
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 10px 10px 20px #c5c5c5, -10px -10px 20px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.box-3d:hover { transform: rotateY(5deg) rotateX(5deg); }

.box-content { font-weight: bold; font-size: 1.2rem; text-align: center; color: #333; }

.dropdown-content { display: none; overflow: hidden; background: #fff; border-radius: 8px; margin-top: 10px; }
.dropdown-content.open { display: block; }

.dropdown-content ol { padding-left: 1rem; }
.dropdown-content li::before { content: "\279C "; color: #555; margin-right: 8px; }

/* Tighten spacing around Hero section */
.hero {
  padding: 0 !important;
  margin: 0 !important;
}

/* On mobile, remove all forced min-height and extra gaps */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero img {
    width: 100%;
    height: auto;
    display: block;
  }
}
.hero img {
  margin-top: 0;
  margin-bottom: 0;
}

