/* Global */
*, *::before, *::after { box-sizing: border-box; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Roboto', sans-serif; color: #222; background: #f8f9fa; line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
body > * {
  max-width: 100vw;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  section {
    padding: 2rem 6px;
  }
}
/* Navbar */
header { 
  position: sticky; 
  top: 0; 
  background: white;  /* Changed from #111 to white background */
  color: #111;        /* Text color adjusted for white background */
  padding: 1rem 2rem; 
  z-index: 1000; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* lighter shadow for white navbar */
}

nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 5px 5px;
}

nav .logo {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700; 
  font-size: 1.3rem;
  max-width: 150px;  /* added to contain logo width */
}

nav .logo img {
  max-width: 100%;    /* responsive logo */
  height: auto;
  display: block;
}

nav ul { 
  display: flex; 
  gap: 1.5rem; 
  list-style: none; 
  margin: 0;
  padding: 0;
}

nav ul li a { 
  font-weight: 500; 
  transition: color 0.3s; 
  color: #111;       /* link color on white background */
}

nav ul li a:hover { 
  color: #f39c12; 
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #111;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav ul {
    position: absolute;
    top: 70px; /* below navbar */
    right: 0;
    background: #fff;
    color: #111;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    min-width: 200px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    display: none; /* hidden by default, controlled by JS */
    z-index: 2000;
  }
  nav ul.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  nav {
    position: relative;
  }
}

@media (max-width: 600px) {

  header {
    padding: 0.6rem 0.6rem;               /* less vertical & horizontal space */
  }

  nav {
    padding: 4px 8px;                     /* tighter nav bar inside header */
  }

  nav .logo img {
    max-width: 110px;                     /* shrink logo significantly */
    height: auto;
  }

  .nav-toggle {
    font-size: 1.6rem;                    /* slightly smaller hamburger */
    padding: 6px 11px;
    border-radius: 10px;
    border-width: 2px;
  }

  /* Optional: keep logo and menu closer together */
  nav {
    gap: 8px;
  }
}

/* Hero */
#home {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  min-height: 400px;
  width: 100vw;
  position: relative;
  overflow: hidden;
  /* Above: 3 radial gradients for an abstract look, over pure white */
}


#home::before { 
  content: ''; 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: 
    linear-gradient(120deg, rgba(243,244,247,0.93) 70%, rgba(232,234,239,0.90) 100%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.7) 180px, transparent 100%),
    radial-gradient(circle at 15% 35%, rgba(210,230,255,0.12) 130px, transparent 100%);
  z-index: 0;
}

#home .hero-content {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#home .hero-content img {
  /* width: 50vw; */
  max-width: 600px;
  min-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 2rem auto;
  padding: 2vw;
  /* Adjust as per logo aspect */
  /* object-fit: contain; */
}

#home .hero-content p {
  font-size: 1.3rem;
  color: #3b3d4a;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 0 auto;
  max-width: 90vw;
  font-weight: 500;
}

/* On mobile, shrink logo as needed */
@media (max-width: 900px) {
  #home { height: 45vh; min-height: 280px;}
  #home .hero-content img { width: 70vw; max-width: 98vw; }
}

@media (max-width: 500px) {
  #home { height: 38vh; min-height: 160px;}
  #home .hero-content img { width: 90vw; min-width: 120px; padding: 6vw;}
  #home .hero-content p { font-size: 1rem; padding: 8px 10px; }
}

#home h1 { 
  font-family: 'Montserrat', sans-serif; 
  font-size: 3rem; 
  margin-bottom: 1rem; 
  font-weight: 700; 
}

#home p { 
  font-size: 1.2rem; 
}

/* Sections */
section { 
  padding: 4rem 2rem; 
  max-width: 1200px; 
  margin: auto; 
  opacity: 0; 
  transform: translateY(50px); 
  transition: all 0.8s ease-out; 
}

section.visible { 
  opacity: 1; 
  transform: translateY(0); 
}

h2 { 
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700; 
  font-size: 2rem; 
  margin-bottom: 2rem; 
  text-align: center; 
  position: relative; 
}

h2::after { 
  content: ""; 
  display: block; 
  width: 60px; 
  height: 3px; 
  background: #f39c12; 
  margin: 1rem auto 0; 
  border-radius: 2px; 
}

/* Cards with Gradient Hover */
.cards { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 2rem; 
}

.card {
  background: #fff; 
  border-radius: 12px; 
  overflow: hidden; 
  text-align: center; 
  padding: 2rem 1rem;
  transition: all 0.5s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card:hover { 
  transform: translateY(-8px) scale(1.03);
  background: linear-gradient(135deg, #f39c12, #111);
  color: #fff;
}

.card img { 
  display: none; 
} /* optional: replace image with icon for modern style */

.card h3 { 
  margin: 1rem 0 0.5rem; 
  font-family: 'Montserrat', sans-serif; 
}

.card p { 
  font-size: 0.95rem; 
  color: #555; 
  transition: color 0.3s; 
}

.card:hover p { 
  color: #fff; 
}

.icon { 
  font-size: 3rem; 
  margin-bottom: 1rem; 
  transition: transform 0.3s; 
}

.card:hover .icon { 
  transform: scale(1.2); 
}

/* Clients */
.clients { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  gap: 1rem; 
  justify-items: center; 
}

.client-card { 
  overflow: hidden; 
  border-radius: 12px; 
  transition: transform 0.3s, box-shadow 0.3s; 
}

.client-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 12px 25px rgba(0,0,0,0.15); 
}

.clients img { 
  width: 100%; 
  max-width: 150px; 
  height: 100px; 
  object-fit: cover; 
  border-radius: 10px; 
}

/* Forms */
form { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
  max-width: 500px; 
  margin: auto; 
}

input, textarea, button { 
  padding: 0.8rem; 
  border-radius: 6px; 
  border: 1px solid #ccc; 
  font-size: 1rem; 
  width: 100%; 
}

button { 
  background: #111; 
  color: #fff; 
  font-weight: 600; 
  cursor: pointer; 
  transition: background 0.3s; 
}

button:hover { 
  background: #f39c12; 
}

/* Contact Map */
iframe { 
  width: 100%; 
  height: 300px; 
  border: 0; 
  border-radius: 12px; 
  margin-top: 2rem; 
}

/* Footer */
footer { 
  text-align: center; 
  padding: 2rem; 
  background: #111; 
  color: #fff; 
  margin-top: 2rem; 
}

/* CTA Button */
.cta-btn { 
  position: fixed; 
  bottom: 2rem; 
  right: 2rem; 
  background: #f39c12; 
  color: #111; 
  padding: 1rem 1.5rem; 
  border-radius: 50px; 
  font-weight: 600; 
  box-shadow: 0 6px 20px rgba(0,0,0,0.2); 
  cursor: pointer; 
  transition: transform 0.3s, box-shadow 0.3s; 
  z-index: 1000; 
}

.cta-btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
}

/* Responsive */
@media (max-width: 768px) { 
  nav ul { 
    flex-direction: column; 
    gap: 0.8rem; 
  }
}

/* Responsive Logo Images */
.logo img,
.hero-content img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

/* Adjust logo size on smaller screens */
@media (max-width: 500px) {
  .logo img,
  .hero-content img {
    max-width: 120px;
  }
}
