/* =======================
   GLOBAL RESET
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fbfc;
  color: #2c3e50;
}

/* =======================
   HEADER
======================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #f1f6f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.logo {
  width: 90px;
}

.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #2c3e50;
}

/* =======================
   DESKTOP NAV
======================= */
nav {
  display: flex;
  gap: 12px;
}

nav a {
  background: white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  background: #a6c9e2;
  color: white;
}

/* =======================
   SECTIONS
======================= */
section {
  padding: 100px 8% 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =======================
   HERO
======================= */
.hero {
  background: white;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 18px;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  max-width: 520px;
  color: #555;
}

.cta-btn {
  margin-top: 20px;
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 40px;
  background: #a6c9e2;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(166,201,226,0.35);
}

/* =======================
   SERVICES
======================= */
#services h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
}

.section-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: #555;
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: auto;
}

.card {
  background: white;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* =======================
   CLIENTS
======================= */
#clients h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
}

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: auto;
}

.clients img {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  padding: 18px;
}

/* =======================
   ABOUT
======================= */
.about-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #a4d1ed;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}

/* ===========================
   OUR WORK CULTURE (FINAL)
=========================== */

#gallery {
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: center;
}

#gallery h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
}

.gallery-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollGallery 60s linear infinite;
}

.gallery-track img {
  width: 420px;      /* Bigger width */
  height: 280px;     /* Bigger height */
  object-fit: cover;
  border-radius: 20px;
  flex-shrink: 0;
}

@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover or touch */
.gallery-wrapper:hover .gallery-track {
  animation-play-state: paused;
}

/* Mobile size */
@media (max-width: 768px) {
  .gallery-track img {
    width: 90vw;     /* Almost full screen */
    height: 260px;   /* Taller */
  }
}

@media (min-width: 1200px) {
  .gallery-track img {
    width: 480px;
    height: 320px;
  }
}
/* =======================
   CONTACT
======================= */
#contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 720px;
  margin: auto;
  background: white;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

#phone {
  margin-bottom: 20px;
}

.contact-form button {
  padding: 14px 38px;
  background: #a6c9e2;
  color: white;
  border: none;
  border-radius: 35px;
  font-size: 15px;
  cursor: pointer;
}

/* =======================
   FOOTER
======================= */
footer {
  background: #eef4f7;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.95rem;
  color: #555;
}

/* =======================
   MOBILE NAV MODAL
======================= */
@media (max-width: 768px) {

  section {
    padding: 80px 9px 50px;
  }

  nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  #navMenu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }

  #navMenu.active {
    display: flex;
  }

  .nav-box {
    background: #e6e6e6;
    width: 85%;
    max-width: 330px;
    padding: 28px 18px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    animation: scaleIn 0.25s ease;
  }

  .nav-box a {
    background: white;
    padding: 14px 10px;
    text-align: center;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
  }

  .nav-box a:hover,
  .nav-box a.active {
    background: #a6c9e2;
    color: white;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .clients {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-form {
    padding: 30px 22px;
  }

  .contact-form button {
    width: 100%;
  }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}