/* Anvisha Enterprises - Premium CSS with Animations */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --bg: #FAF7F0;
  --card: #fff;
  --accent: #8B7355;
  --accent-hover: #6B5845;
  --text: #2F2F2F;
  --muted: #6B6B6B;
  --border: rgba(0,0,0,0.1);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 28px rgba(0,0,0,0.15);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: 'Inter', sans-serif; 
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { 
  text-decoration: none; 
  color: inherit; 
  transition: all 0.3s ease;
}

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Header (fixed on all devices) */
:root {
  --header-height: 80px; /* fallback; JS updates this at runtime */
}

.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: #2F2F2F;
  color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.header:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0; /* header-inner padding is controlled by .header */
}

/* Logo */
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.logo-img {
  height: 45px;
  width: 210px;
  transition: transform 0.3s ease;
}

/* Navigation */
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: #fff;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--accent); }

/* CTA */
.btn-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(139,115,85,0.3);
  transition: all 0.3s ease;
}
.btn-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(139,115,85,0.4);
}

/* hamburger: hidden by default (desktop); positioned when visible on mobile */
.hamburger-menu {
  display: none !important;
  position: fixed;
  right: 0.5rem;
  top: calc(var(--header-height, 80px) / 2);
  transform: translateY(-50%);
  z-index: 10001;
}

/* Ensure body content sits below the fixed header */
body {
  padding-top: var(--header-height);
}

/* Mobile adjustments: mobile menu should start below header */
.mobile-nav-menu {
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
}

/* Overlay should be placed below header so header remains visible */
.mobile-nav-overlay {
  z-index: 9990;
}

/* Floating elements z-index override if needed */
.float-btn { z-index: 10005; }
.fixed-social-bar { z-index: 10005; }

/* Small-screen tweak */
@media (max-width: 768px) {
  .nav { display: none !important; }
  .hamburger-menu { 
    display: inline-flex !important;
    position: fixed;
    right: 0.5rem;
    top: calc(var(--header-height, 80px) / 2);
    transform: translateY(-50%);
    z-index: 11000;
  }
  .header-inner { padding: 0.2rem 1rem; }
}


/* Footer */
.footer {
  background: #F5F1EB; 
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s ease-out;
}
.footer-grid {
  max-width: 1400px; 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer h4 { 
  margin-bottom: 1rem; 
  font-size: 1.15rem; 
  color: var(--text);
}
.footer p, .footer a { 
  font-size: 0.95rem; 
  color: var(--muted); 
  margin: 0.5rem 0; 
  display: block;
  transition: all 0.3s ease;
}
.footer a:hover { 
  color: var(--accent);
  transform: translateX(5px);
}
.footer-logo { 
  height: 40px; 
  margin-bottom: 1rem;
}
.contact-item { 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  margin: 0.5rem 0;
}
.social-links { 
  display: flex; 
  gap: 1rem; 
  margin-top: 1rem;
}

/* Hide social-links on desktop - show on fixed bar instead */
@media (min-width: 769px) {
  .social-links {
    display: none !important;
  }
}

.newsletter-box { 
  display: flex; 
  gap: 0.5rem; 
  margin-top: 1rem;
}
.newsletter-input { 
  flex: 1; 
  padding: 0.6rem; 
  border: 1px solid var(--border); 
  border-radius: 6px;
  transition: all 0.3s ease;
}
.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
}
.newsletter-btn { 
  background: var(--accent); 
  color: #fff; 
  border: none; 
  padding: 0.6rem 1rem; 
  border-radius: 6px; 
  cursor: pointer;
  transition: all 0.3s ease;
}
.newsletter-btn:hover { 
  background: var(--accent-hover);
  transform: translateX(5px);
}
.stats-row { 
  display: flex; 
  gap: 2rem; 
  margin-top: 1rem;
}
.stat-item { 
  font-weight: 700; 
  color: var(--text);
}
.footer-bottom { 
  text-align: center; 
  padding-top: 1.5rem; 
  border-top: 1px solid var(--border); 
  color: var(--muted); 
  font-size: 0.9rem;
}

.float-btn {
  position: fixed;
  top: 70%;
  right: 39px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: var(--accent);
  color: #fff;
  font-weight: 620;
  padding: 0.8rem 0.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(139,115,85,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  z-index: 9999;
  display: none; /* hide by default */
}
.float-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.05);
}

/* Show float-btn only on desktop */
@media (min-width: 769px) {
  .float-btn {
    display: block !important;
  }
}

/* Container */
.container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 2rem;
}
.section { 
  padding: 4rem 0;
  animation: fadeInUp 0.8s ease-out;
}
.section-alt { 
  background: #F5F1EB;
}
.section-title { 
  font-size: 2.5rem; 
  text-align: center; 
  margin-bottom: 1rem;
  animation: slideInLeft 0.6s ease-out;
}
.section-subtitle { 
  text-align: center; 
  color: var(--muted); 
  max-width: 700px; 
  margin: 0 auto 3rem;
}

/* Hero 
.hero {
  min-height: 85vh; 
  width: 100%;
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  animation: fadeInUp 1s ease-out;
}
*/
/* Homepage Services Grid - 3+3+2 Centered */
.services-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}



/* Service Card with Premium Animations */
.service-card {
  background: var(--card); 
  border-radius: var(--radius);
  box-shadow: var(--shadow); 
  padding: 1.5rem;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out;
}
.service-card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.service-card-img { 
  border-radius: var(--radius); 
  margin-bottom: 1rem; 
  height: 200px; 
  object-fit: cover; 
  width: 100%;
  transition: all 0.4s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.service-card h3 { 
  margin: 0.5rem 0;
  transition: color 0.3s ease;
}
.service-card:hover h3 {
  color: var(--accent);
}
.service-card p { 
  color: var(--muted); 
  font-size: 0.95rem;
}

/* Button with Animation */
.btn {
  display: inline-block; 
  background: var(--accent); 
  color: #fff;
  padding: 0.8rem 1.8rem; 
  border-radius: 8px; 
  font-weight: 600;
  transition: all 0.4s ease; 
  border: none; 
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 4px 8px rgba(139,115,85,0.2);
}
.btn:hover { 
  background: var(--accent-hover); 
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(139,115,85,0.3);
}

/* Service Detail - Icon Cards */
.service-header { 
  text-align: center; 
  padding: 3rem 2rem; 
  background: #F5F1EB;
  animation: fadeInUp 0.8s ease-out;
}
.service-icon-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
}
.icon-card {
  background: var(--card); 
  border-radius: var(--radius);
  padding: 2rem; 
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  animation: fadeInUp 0.7s ease-out;
}
.icon-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.icon-card-header { 
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  margin-bottom: 1rem;
}
.icon-circle {
  width: 60px; 
  height: 60px; 
  background: #E5DDD5; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.8rem; 
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.icon-card:hover .icon-circle {
  transform: rotate(360deg) scale(1.1);
  background: var(--accent);
}
.icon-card h3 { 
  color: var(--text); 
  margin: 0;
}
.icon-card p { 
  color: var(--muted); 
  margin: 0.5rem 0;
}
.icon-card ul { 
  padding-left: 1.2rem; 
  margin: 0.5rem 0;
}
.icon-card li { 
  margin: 0.3rem 0; 
  color: var(--muted);
  transition: all 0.3s ease;
}
.icon-card li:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* Grid Layouts */
.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem;
}
.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--card); 
  border-radius: var(--radius);
  box-shadow: var(--shadow); 
  padding: 1.5rem;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out;
}
.card:hover { 
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.card-img { 
  border-radius: var(--radius); 
  margin-bottom: 1rem; 
  height: 200px; 
  object-fit: cover; 
  width: 100%;
  transition: all 0.4s ease;
}
.card:hover .card-img {
  transform: scale(1.08);
}
.card h3 { 
  margin: 0.5rem 0;
}
.card p { 
  color: var(--muted); 
  font-size: 0.95rem;
}

/* About */
.about-layout { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 3rem; 
  align-items: start;
}
.feature-list { 
  display: flex; 
  flex-direction: column; 
  gap: 1.5rem;
}
.feature-item { 
  display: flex; 
  gap: 1rem; 
  align-items: start;
  transition: all 0.3s ease;
}
.feature-item:hover {
  transform: translateX(10px);
}
.feature-icon {
  width: 50px; 
  height: 50px; 
  background: var(--accent); 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #fff; 
  font-size: 1.5rem; 
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.feature-item:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}
.about-image { 
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  width: 100%;
  transition: all 0.4s ease;
}
.about-image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}
.about-caption { 
  text-align: center; 
  margin-top: 1rem; 
  font-weight: 600;
}
.stat-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 1rem; 
  margin-top: 2rem;
}
.stat-card { 
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
}
.stat-value { 
  color: var(--accent); 
  font-size: 2rem; 
  font-weight: 700;
}

/* Projects */
.filter-pills { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin: 2rem 0;
}
.filter-pill {
  background: #E5DDD5; 
  color: var(--text); 
  padding: 0.6rem 1.5rem;
  border-radius: 20px; 
  cursor: pointer; 
  transition: all 0.3s ease;
  border: none; 
  font-weight: 500; 
  font-size: 0.95rem;
}
.filter-pill.active, .filter-pill:hover { 
  background: var(--accent); 
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(139,115,85,0.3);
}
.project-card { 
  position: relative;
}
.project-badge {
  position: absolute; 
  top: 1rem; 
  left: 1rem;
  background: rgba(255,255,255,0.95); 
  padding: 0.4rem 1rem;
  border-radius: 20px; 
  font-size: 0.85rem; 
  font-weight: 600;
}

/* Testimonials */
.testimonial-slider { 
  position: relative; 
  overflow: hidden;
}
.testimonial-track { 
  display: flex; 
  gap: 2rem; 
  transition: transform 0.5s ease;
}
.testimonial-card {
  min-width: calc(33.333% - 1.5rem); 
  background: var(--card);
  padding: 2rem; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.stars { 
  color: #FFB800; 
  margin: 0.5rem 0; 
  font-size: 1.2rem;
}
.client-info { 
  display: flex; 
  gap: 1rem; 
  align-items: center; 
  margin-top: 1.5rem;
}
.client-avatar { 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  object-fit: cover;
  transition: all 0.3s ease;
}
.client-avatar:hover {
  transform: scale(1.2);
}
.slider-nav { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  margin-top: 2rem;
}
.slider-btn {
  background: var(--accent); 
  color: #fff; 
  border: none;
  padding: 0.8rem 1.5rem; 
  border-radius: 6px; 
  cursor: pointer; 
  font-weight: 600;
  transition: all 0.3s ease;
}
.slider-btn:hover { 
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* Contact */
.contact-layout { 
  display: grid; 
  grid-template-columns: 1fr 1.5fr; 
  gap: 3rem;
}
.contact-card {
  background: var(--card); 
  padding: 1.5rem; 
  border-radius: var(--radius);
  box-shadow: var(--shadow); 
  margin-bottom: 1.5rem; 
  display: flex; 
  gap: 1rem;
  transition: all 0.3s ease;
}
.contact-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-hover);
}
.contact-icon {
  width: 50px; 
  height: 50px; 
  background: var(--accent); 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: #fff; 
  flex-shrink: 0; 
  font-size: 1.3rem;
  transition: all 0.3s ease;
}
.contact-card:hover .contact-icon {
  transform: rotate(360deg);
}

/* Career */
.career-layout { 
  display: grid; 
  grid-template-columns: 1fr 1.2fr; 
  gap: 3rem; 
  align-items: start;
}
.career-image { 
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  width: 100%; 
  height: 600px; 
  object-fit: cover;
  transition: all 0.4s ease;
}
.career-image:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}
.page-header { 
  text-align: center; 
  padding: 2rem 0; 
  background: #4A4A4A; 
  color: #fff;
  animation: fadeInUp 0.8s ease-out;
}
.breadcrumb { 
  margin-top: 0.5rem; 
  font-size: 0.9rem;
}
.breadcrumb a { 
  color: #fff;
}
.breadcrumb-current { 
  color: var(--accent);
}

/* Forms */
.form-group { 
  margin-bottom: 1.5rem;
}
.form-label { 
  display: block; 
  margin-bottom: 0.5rem; 
  font-weight: 600;
}
.form-input, .form-textarea {
  width: 100%; 
  padding: 0.8rem; 
  border: 1px solid var(--border);
  border-radius: 6px; 
  font-family: inherit; 
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.form-textarea { 
  min-height: 120px; 
  resize: vertical;
}
.form-input:focus, .form-textarea:focus { 
  outline: none; 
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,115,85,0.1);
  transform: translateY(-2px);
}
.form-submit { 
  width: 100%; 
  background: #D4A373;
}

.social-icon {
  font-size: 1.5rem;          /* 🔥 Increased size (from 28px to 40px) */
  color: #333;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icon:hover {
  color: #007bff;           /* Hover color */
  transform: scale(1.2);    /* Slight zoom effect on hover */
}

/* ===== Desktop / Tablet Right Fixed Bar (always visible while scrolling) ===== */
.fixed-social-bar {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px; /* reduced spacing */
  z-index: 99999;
  pointer-events: auto;
}

/* Smaller icons */
.fixed-social-bar .social-icon {
  width: 44px;   /* was 62px */
  height: 44px;
  background: #f3efe9;
  color: #6f684f;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px; /* was 30px */
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.fixed-social-bar .social-icon:hover {
  background: #6f684f;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
}

 /* Smaller vertical button - removed vertical text for horizontal desktop layout */
 .fixed-social-bar .consult-btn {
   background: #6f684f;
   color: #ffffff;
   display: none; /* hidden by default */
   align-items: center;
   justify-content: center;
   padding: 8px 16px;
   border-radius: 10px;
   font-weight: 600;
   font-size: 13px;
   text-decoration: none;
   transition: background 0.18s ease, transform 0.18s ease;
   height: auto;
   white-space: nowrap;
   box-shadow: 0 2px 4px rgba(0,0,0,0.06);
 }

 .fixed-social-bar .consult-btn:hover {
   background: #58543d;
   transform: translateY(-3px);
 }

 /* Desktop only: vertical layout with social icons - positioned on right side */
 @media (min-width: 769px) {
   .fixed-social-bar {
     position: fixed;
     right: 1.5rem;
     top: 200px; /* below header and hero section */
     transform: none;
     flex-direction: column;
     gap: 10px;
     align-items: center;
     justify-content: flex-start;
     z-index: 12000;
   }
   .fixed-social-bar .social-icon {
     width: 44px;
     height: 44px;
     font-size: 20px;
     display: inline-flex !important;
   }
   .fixed-social-bar .consult-btn {
     display: none !important; /* hide consult button on desktop */
   }
 }

 /* ===== Mobile: bottom sticky bar (smaller) ===== */
 .fixed-social-bar-mobile { display: none; }

 @media (max-width: 768px) {
  /* Hide .fixed-social-bar on mobile */
  .fixed-social-bar {
    display: none !important;
  }

  .fixed-social-bar-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    margin: 0 10px;
    background: rgba(255,255,255,0.95);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-around;
    padding: 6px;
    border-radius: 10px;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

  .fixed-social-bar-mobile .social-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 8px;
  }

  .consult-btn-mobile {
    background: #6f684f;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 11px;
  }

  .fixed-social-bar-mobile .social-icon:hover,
  .consult-btn-mobile:hover {
    transform: translateY(-2px);
  }
}

/* Accessibility focus */
.fixed-social-bar a:focus {
  outline: 2px solid rgba(111,104,79,0.18);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .fixed-social-bar .social-icon,
  .fixed-social-bar .consult-btn,
  .fixed-social-bar-mobile .social-icon,
  .consult-btn-mobile {
    transition: none;
  }
}



/* Responsive */
@media (max-width: 1024px) {
  .services-grid-home { 
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-home .service-card:nth-child(7),
  .services-grid-home .service-card:nth-child(8) {
    grid-column: auto;
    margin: 0;
  }
  .service-icon-cards { 
    grid-template-columns: 1fr;
  }
  .grid-3 { 
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid { 
    grid-template-columns: repeat(2, 1fr);
  }
  .about-layout, .contact-layout, .career-layout { 
    grid-template-columns: 1fr;
  }
}

/* ===== Hamburger + Mobile Nav (clean, non-conflicting) ===== */

/* Base: hide hamburger on desktop, keep desktop nav visible */
.hamburger-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100001;
}

/* 3-line hamburger (optional) */
.hamburger-menu .line {
  width: 24px;
  height: 2.5px;
  background: #fff;
  display: block;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-menu.open .line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.open .line:nth-child(2) { opacity: 0; }
.hamburger-menu.open .line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Grid-style hamburger (3x3 dots inside rounded square) */
.hamburger-menu.grid-hamburger {
  display: inline-flex;            /* media queries will control visibility */
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2000;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  pointer-events: auto !important;
}
/* hide 3-line visuals when using grid */
.hamburger-menu.grid-hamburger .line { display: none !important; }

.hamburger-menu .dot-row { display:flex; gap:6px; align-items:center; justify-content:center; pointer-events: none !important; }
.hamburger-menu .dot { width:6px; height:6px; border-radius:50%; background:#fff; box-shadow: 0 1px 0 rgba(0,0,0,0.12) inset; transition: transform .18s ease, background .18s ease; pointer-events: none !important; }

.hamburger-menu.grid-hamburger:hover,
.hamburger-menu.grid-hamburger:focus {
  background: rgba(255,255,255,0.08);
  outline: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.hamburger-menu.grid-hamburger.open { background: rgba(139,115,85,0.12); border-color: rgba(238,236,232,0.18); }
.hamburger-menu.grid-hamburger.open .dot { background: var(--accent); transform: scale(1.05); }

/* ---------- Mobile behavior & visibility ---------- */

/* Desktop default: show desktop nav, hide hamburger */
@media (min-width: 769px) {
  .nav { display: flex !important; }
  .hamburger-menu { display: none !important; }
}

/* Mobile: hide desktop nav and show hamburger */
@media (max-width: 768px) {
  .nav { display: none !important; }                 /* hide desktop nav */
  .hamburger-menu { display: inline-flex !important; /* show hamburger */ 
    position: fixed;
    right: 0.5rem;
    top: calc(var(--header-height, 80px) / 2);
    transform: translateY(-50%);
    z-index: 11000;
    pointer-events: auto;
  }

  /* Ensure header is fixed/relative so absolute button positions properly */
  .header { position: fixed; top: 0; left: 0; right: 0; z-index: 10500; }

  /* mobile menu / overlay stacking order */
  .mobile-nav-overlay { z-index: 10990; display:none; }
  .mobile-nav-overlay.show { display:block; opacity:1; pointer-events:auto; }
  .mobile-nav-menu { z-index: 10995; transform: translateX(110%); display:block; }

  /* Ensure hamburger is above everything and clickable */
  .hamburger-menu { z-index: 11000; pointer-events: auto; }
}

/* Small devices tweak */
@media (max-width: 420px) {
  .hamburger-menu.grid-hamburger { width:40px; height:40px; gap:3px; padding:5px; }
  .hamburger-menu .dot { width:5px; height:5px; }
}


/* ---------- Mobile overlay and off-canvas menu (clean) ---------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 11500;
  transition: opacity 0.28s ease;
  opacity: 0;
  pointer-events: none;
}

.mobile-nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Off-canvas menu panel */
.mobile-nav-menu {
  position: fixed;
  top: var(--header-height, 80px);
  right: 0;
  width: 82%;
  max-width: 360px;
  height: calc(100vh - var(--header-height, 80px));
  background: #2F2F2F;
  color: #fff;
  z-index: 11600;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
  padding: 2.2rem 1.4rem;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(0,0,0,0.25);
  display: block;
}

/* visible when open */
.mobile-nav-menu.open {
  transform: translateX(0) !important;
}

/* close button inside menu */
.mobile-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
}

/* inner links */
.mobile-nav-inner {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mobile-nav-inner a {
  color: #fff;
  padding: 0.8rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.18s ease, transform 0.18s ease;
}
.mobile-nav-inner a:hover {
  background: rgba(255,255,255,0.04);
  transform: translateX(6px);
}

/* phone and CTA styling */
.mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #ff69b4;
  font-weight: 700;
  margin-top: 0.6rem;
}
.mobile-cta {
  margin-top: 1rem;
  display: inline-block;
  width: fit-content;
}

/* optional mobile socials */
.mobile-socials {
  margin-top: 1.6rem;
  display:flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ensure overlay hidden by default (JS handles hidden attr) */
.mobile-nav-overlay[hidden] { 
  display: none !important; 
  opacity: 0; 
  pointer-events: none; 
}

/* ---------- Header / Nav visibility rules ---------- */

/* Default (Desktop view) */
.nav {
  display: flex !important;             /* full nav visible */
}
.hamburger-menu {
  display: none !important;             /* hide hamburger */
}
.mobile-nav-menu,
.mobile-nav-overlay {
  display: none !important;             /* force mobile elements hidden */
  transform: translateX(110%) !important;
}

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

  /* Hide desktop nav */
  .nav {
    display: none !important;
  }

  /* Show hamburger button */
  .hamburger-menu {
    display: inline-flex !important;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10050;
  }

  /* Allow JS-injected mobile menu to appear */
  .mobile-nav-menu {
    display: block !important;
    transform: translateX(110%);
  }

  /* Allow overlay to fade in/out on mobile only */
  .mobile-nav-overlay {
    display: block;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  /* Ensure body doesn't scroll when mobile nav open */
  body.no-scroll {
    overflow: hidden;
  }
}

/* ===== Mobile Responsive (<= 768px) ===== */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: inline-flex;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  /* Hide desktop nav, show mobile menu instead */
  .nav {
    display: none;
  }

  .mobile-nav-menu {
    display: block;
  }

  /* Services grid - single column */
  .services-grid-home { 
    grid-template-columns: 1fr !important;
  }

  .services-grid-home .service-card:nth-child(7),
  .services-grid-home .service-card:nth-child(8) {
    grid-column: auto !important;
    margin: 0 !important;
  }

  /* All grids to single column */
  .grid-3, .grid-2 { 
    grid-template-columns: 1fr;
  }

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

  /* Typography adjustments */ 
  .section-title { 
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section { 
    padding: 1.5rem 0;
  }

  .container { 
    padding: 0 1rem;
  }

  /* Image sizing */
  .service-card-img, .card-img { 
    height: 160px;
    object-fit: cover;
  }

  .about-image, .career-image {
    height: 200px;
    object-fit: cover;
  }

  /* Testimonial cards */
  .testimonial-card { 
    min-width: 100%;
  }

  /* Touch-friendly buttons & links */
  button, .btn, .btn-cta, .newsletter-btn, .slider-btn, .consult-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.8rem 1rem;
  }

  .social-links a, .fixed-social-bar .social-icon {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }

  /* Fix fixed social bar for mobile */
  .fixed-social-bar { 
    display: none;
  }

  .fixed-social-bar-mobile {
    display: flex !important;
  }

  /* Text sizing & readability */
  body, p, li, a { 
    font-size: min(1rem, 16px);
    line-height: 1.6;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  /* Form elements */
  input, textarea, select {
    font-size: 16px; /* prevent zoom on iOS */
    padding: 0.8rem;
  }

  /* Navigation links accessibility */
  .mobile-nav-menu a:focus {
    outline: 2px solid rgba(139, 115, 85, 0.4);
    outline-offset: 2px;
  }

  .hamburger-menu:focus {
    outline: 2px solid rgba(139, 115, 85, 0.4);
    outline-offset: 2px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.5rem 1rem;
  }

  .hamburger-menu {
    right: -2rem;
    top: 1.5rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .mobile-nav-menu {
    max-width: 85vw;
    padding: 2.5rem 1rem;
  }

  .service-card-img, .card-img {
    height: 140px;
  }
}


  .container {
    padding: 0 0.8rem;
  }

/* ---------- HERO: Full Image (No Crop, Always Visible) ---------- */
.hero-full {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 87vh;            /* height of hero area */
  overflow: hidden;
  background-color: #FAF7F0;      /* background shows behind letterbox */
  text-align: center;
  color: #fff;
}

/* background image (real <img> tag for perfect scaling) */
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 95%;
  object-fit: contain;         /* full image visible — NO cropping */
  object-position: center center;
  z-index: 1;
  pointer-events: none;        /* allows buttons/text clickable */
  background-color: #FAF7F0;
}

/* overlay gradient for readability */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.4)); */
  z-index: 2;
}

/* content layer */
.hero-full .hero-inner {
  position: relative;
  z-index: 3;
  padding: 2rem 1rem;
}

.hero-full h1 {
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.hero-full p.lead {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
}

/* Buttons inside hero */
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  z-index: 3;
}
/* ---------------------
   Ensure hamburger visible & clickable
   Paste near end of style.css
   --------------------- */
.hamburger-menu {
  display: none; /* will show on mobile via media query */
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  position: absolute;    /* place inside header */
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12000;        /* very high so it's not covered */
  pointer-events: auto;
}

/* dot visuals */
.hamburger-menu .dot { width:6px; height:6px; border-radius:50%; background:#fff; display:inline-block; }

/* visible on mobile only */
@media (max-width: 768px) {
  .hamburger-menu { display: inline-flex !important; }
  /* ensure header sits behind hamburger but header still visible */
  .header { position: relative; z-index: 11000; }
  /* overlay must be below hamburger so hamburger stays clickable */
  .mobile-nav-overlay { z-index: 11500; pointer-events: none; }
  .mobile-nav-overlay.show { pointer-events: auto; }
  .mobile-nav-menu { z-index: 11600; }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-full { min-height: 30vh; padding: 2rem 1rem; }
  .hero-full h1 { font-size: 1.8rem; }
  .hero-full p.lead { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero-full { min-height: 23vh; }
  .hero-full h1 { font-size: 1.5rem; }
  .hero-full p.lead { font-size: 0.95rem; }
}

/* ===== No Scroll When Menu is Open (across devices) ===== */
@media (max-width: 768px) {
  body.no-scroll {
    overflow: hidden !important;
  }
}

/* Prevent horizontal scrolling on all devices */
html, body {
  overflow-x: hidden;
}

/* Force hamburger fixed in the header top-right on mobile so it never jumps */
@media (max-width: 768px) {
  .hamburger-menu {
    position: fixed !important;
    top: calc(var(--header-height, 80px) / 2) !important;
    right: 0.75rem !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    z-index: 12000 !important;
    pointer-events: auto !important;
  }
  .hamburger-menu.grid-hamburger { width:44px; height:44px; }
}

@media (max-width: 480px) {
  .hamburger-menu {
    right: 0.5rem !important;
    top: calc(var(--header-height, 80px) / 2) !important;
  }
}
