/* 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: 0px;
  /* 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-left: 1px;
  padding-bottom: 7px;
  padding-top: 7px;
  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;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 8px;
  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: 310px;
  transition: transform 0.3s ease;
  padding-left: 14px;
}

/* 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: 1.5rem 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 2rem;
}

/* 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-top: 2rem;
  padding-bottom: 0.5rem;
  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;
  }
}

/* ===== Override: make hero image truly full-screen (no other changes) ===== */
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100vh;
  /* occupy full viewport height */
  object-fit: cover !important;
  /* cover whole area, preserve aspect ratio */
  object-position: center center;
  z-index: 1;
  pointer-events: none;
  /* keep existing behaviour */
}

/* ====== Responsive overrides for Anvisha Enterprises (paste at end of style.css) ====== */

/* Ensure header height variable is consistent and responsive */
:root {
  --header-height: 40px;
  /* default for desktop */
}

/* Smaller header on medium and small screens */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
}

@media (max-width: 420px) {
  :root {
    --header-height: 56px;
  }
}

/* Make sure body padding adjusts to header height */
body {
  padding-top: var(--header-height);
}

/* Header logo & inner spacing responsiveness */
.logo-img {
  height: 35px;
  max-width: 200px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
    max-width: 260px;
  }
}

/* Hero adjustments: keep visual full-screen but responsive content sizing */
.hero-full {
  min-height: calc(100vh - var(--header-height));
  padding: 1rem 0;
  align-items: center;
}

.hero-full .hero-bg {
  height: 100%;
  width: 100%;
  object-fit: cover !important;
  object-position: center center;
}

/* Ensure hero content scales and remains readable on small screens */
.hero-full .hero-inner {
  padding: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-full h1 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.hero-full p.lead {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.95);
}

/* Services grid responsiveness tweaks (keeps existing desktop layout) */
@media (max-width: 1200px) {
  .services-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}

@media (max-width: 768px) {
  .services-grid-home {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card-img {
    height: 180px;
  }
}

@media (max-width: 420px) {
  .service-card-img {
    height: 140px;
  }
}

/* Testimonial slider: single column on small screens */
@media (max-width: 768px) {
  .testimonial-track {
    gap: 1rem;
  }

  .testimonial-card {
    min-width: 100%;
  }

  .slider-nav {
    gap: 0.6rem;
  }

  .slider-btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
}

/* Footer grid stacking */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.6rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }
}

/* Fixed social bar: keep hidden on small viewports (already handled), ensure spacing on medium */
@media (max-width: 1024px) {
  .fixed-social-bar {
    right: 0.75rem;
    top: 140px;
    gap: 8px;
  }
}

/* Floating vertical Book button scaling */
@media (max-width: 1024px) {
  .float-btn {
    right: 22px;
    top: 68%;
    font-size: 0.78rem;
    padding: 0.6rem 0.45rem;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .float-btn {
    display: none !important;
  }

  /* keep mobile clean */
}

/* Accessibility: ensure mobile nav/hamburger is prominent and clickable */
.hamburger-menu {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .hamburger-menu {
    position: fixed !important;
    top: calc(var(--header-height) / 2) !important;
    right: 0.75rem !important;
  }

  .mobile-nav-menu {
    width: 86%;
    max-width: 360px;
  }
}

/* Images: prevent overflow and preserve aspect ratio */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Minor spacing & readable font sizes on very small screens */
@media (max-width: 420px) {
  .container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .section {
    padding: 1.2rem 0;
  }

  .btn,
  .btn-cta,
  .newsletter-btn {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

/* End of responsive overrides */
/* ===== Responsive: make hero image fully visible (no crop) on small screens =====
   Paste this at the END of your style.css (no other changes) */

@media (max-width: 768px) {

  /* ensure hero area accounts for fixed header */
  .hero-full {
    min-height: calc(100vh - var(--header-height));
    align-items: center;
    justify-content: center;
  }

  /* show full image without cropping */
  .hero-full .hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    /* let width scale to preserve aspect ratio */
    height: calc(100vh - var(--header-height));
    /* fill available vertical space */
    max-width: 100%;
    object-fit: contain !important;
    /* IMPORTANT: show entire image (no crop) */
    object-position: center center !important;
    pointer-events: none;
    z-index: 1;
  }

  /* ensure hero content stays above image */
  .hero-full .hero-inner {
    position: relative;
    z-index: 3;
    padding: 1rem 0.6rem;
  }
}

/* -------- MOBILE HERO FIX: full image, no crop, no white gap -------- */
@media (max-width: 768px) {
  .hero-full {
    min-height: auto !important;
    padding: 0 !important;
  }

  .hero-full .hero-bg {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: top center !important;
    position: relative !important;
  }
}

/* ===== MOBILE HERO: put image back in flow so it is NOT cut by header =====
   Paste this at the END of style.css (overrides only; no HTML changes) */

@media (max-width: 768px) {

  /* let hero height grow/shrink with image */
  .hero-full {
    position: relative !important;
    min-height: auto !important;
    padding: 0 !important;
    display: block !important;
  }

  /* place image in normal document flow so header won't overlap it */
  .hero-full .hero-bg {
    position: static !important;
    /* remove absolute covering */
    display: block !important;
    width: 100% !important;
    /* full width */
    height: auto !important;
    /* natural height, no forced vh */
    max-height: none !important;
    object-fit: contain !important;
    /* show full image (no crop) */
    object-position: top center !important;
    margin: 0 auto !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* keep hero content above image and add comfortable spacing */
  .hero-full .hero-inner {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 0.8rem !important;
    padding-bottom: 1.2rem !important;
  }
}

/* Extra tiny-screen tweak to prevent tiny gaps */
@media (max-width: 420px) {
  .hero-full .hero-bg {
    object-position: center top !important;
  }
}

/* ===== MOBILE HERO - center full image, no crop, prevent header overlap ===== */
@media (max-width: 768px) {


  /* let hero size follow image naturally */
  .hero-full {
    position: relative !important;
    min-height: auto !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Return image to normal flow, force full-width, center it */
  .hero-full .hero-bg {
    position: static !important;
    /* remove absolute positioning */
    display: block !important;
    width: 100% !important;
    /* span full container width */
    max-width: 100% !important;
    height: auto !important;
    /* natural height (no 100vh) */
    margin: 0 auto !important;
    /* center horizontally */
    object-fit: contain !important;
    /* show entire image (no crop) */
    object-position: center top !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* ensure hero content sits above image with small breathing room */
  .hero-full .hero-inner {
    position: relative !important;
    z-index: 3 !important;
    padding-top: 0.75rem !important;
    padding-bottom: 1rem !important;
  }

  /* Keep header fixed and above everything */
  .header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 12000 !important;
  }

  /* small tweak to avoid unexpected horizontal scroll */
  html,
  body {
    overflow-x: hidden !important;
  }
}

/* ========================================
   SMOOTH SCROLLING & ANIMATIONS ENHANCEMENT
   ======================================== */

/* Enhanced Smooth Scrolling with Custom Easing */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height, 80px);
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   SCROLL-BASED ANIMATIONS
   ======================================== */

/* Base state for animated elements - hidden initially */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible state when scrolled into view */
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Animation */
.fade-in-scroll {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in-scroll.animated {
  opacity: 1;
}

/* Slide Up Animation */
.slide-up-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Slide In From Left */
.slide-left-scroll {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left-scroll.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In From Right */
.slide-right-scroll {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right-scroll.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In Animation */
.zoom-in-scroll {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-in-scroll.animated {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay for multiple elements */
.animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

.animate-on-scroll:nth-child(7) {
  transition-delay: 0.6s;
}

.animate-on-scroll:nth-child(8) {
  transition-delay: 0.7s;
}

/* ========================================
   PARALLAX EFFECTS
   ======================================== */

.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Subtle parallax on hero sections */
.hero-full {
  overflow: hidden;
}

.hero-full .hero-bg {
  will-change: transform;
  transition: transform 0.3s ease-out;
}

/* ========================================
   ENHANCED HOVER EFFECTS
   ======================================== */

/* Enhanced Button Hover Effects */
.btn,
.btn-cta,
.btn-primary,
.btn-ghost {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.btn::before,
.btn-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before,
.btn-cta:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover,
.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(139, 115, 85, 0.35);
}

.btn:active,
.btn-cta:active {
  transform: translateY(-2px) scale(0.98);
}

/* Enhanced Image Hover Effects */
.service-card-img,
.card-img,
.about-image,
.career-image {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.service-card:hover .service-card-img,
.card:hover .card-img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.05);
}

.about-image:hover,
.career-image:hover {
  transform: scale(1.04) rotate(0.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced Card Hover Effects */
.service-card,
.card,
.icon-card,
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.service-card:hover,
.card:hover,
.icon-card:hover,
.testimonial-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Enhanced Icon Hover Effects */
.icon-circle,
.feature-icon,
.contact-icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.icon-card:hover .icon-circle,
.feature-item:hover .feature-icon,
.contact-card:hover .contact-icon {
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 8px 16px rgba(139, 115, 85, 0.3);
}

/* Enhanced Link Hover Effects */
.nav a,
.footer a,
.mobile-nav-inner a {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav a:hover,
.footer a:hover {
  transform: translateX(3px);
  color: var(--accent);
}

/* Enhanced Social Icon Hover Effects */
.social-icon {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.15) rotate(5deg);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Enhanced Input Focus Effects */
.form-input:focus,
.form-textarea:focus,
.newsletter-input:focus {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 16px rgba(139, 115, 85, 0.15);
}

/* Enhanced Filter Pill Hover */
.filter-pill {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.filter-pill:hover,
.filter-pill.active {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 12px rgba(139, 115, 85, 0.25);
}

/* Enhanced Newsletter Button Hover */
.newsletter-btn:hover {
  transform: translateX(8px) scale(1.05);
  box-shadow: 0 6px 12px rgba(139, 115, 85, 0.3);
}

/* Enhanced Slider Button Hover */
.slider-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(139, 115, 85, 0.35);
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* GPU Acceleration for smooth animations */
.service-card,
.card,
.icon-card,
.testimonial-card,
.btn,
.btn-cta,
.social-icon,
.filter-pill,
.service-card-img,
.card-img,
.about-image,
.career-image {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Optimize will-change for frequently animated elements */
.service-card:hover,
.card:hover,
.btn:hover,
.btn-cta:hover {
  will-change: transform, box-shadow;
}

/* Remove will-change after animation completes */
.service-card,
.card,
.btn,
.btn-cta {
  will-change: auto;
}

/* ========================================
   LOADING ANIMATIONS
   ======================================== */

/* Pulse animation removed for cleaner appearance */

.btn-cta:hover,
.float-btn:hover {
  animation: none;
}

/* Page load animation removed for better stability */

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {

  /* Reduce animation intensity on mobile for performance */
  .service-card:hover,
  .card:hover {
    transform: translateY(-6px) scale(1.01);
  }

  .btn:hover,
  .btn-cta:hover {
    transform: translateY(-2px) scale(1.01);
  }

  /* Disable parallax on mobile */
  .parallax-element {
    transform: none !important;
  }

  /* Simplify hover effects on touch devices */
  @media (hover: none) {

    .service-card:hover,
    .card:hover,
    .btn:hover,
    .btn-cta:hover {
      transform: none;
    }
  }
}