@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Montserrat:wght@300;400;500;600&family=Caveat:wght@600;700&display=swap');

:root {
  --bg-color: #113025;
  --bg-secondary: #e6ddd4; /* New secondary background color */
  --text-primary: #e6ddd4;
  --text-secondary: rgba(230, 221, 212, 0.7);
  --text-dark: #113025; /* For text on secondary bg */
  --accent-color: #113025;
  --nav-bg: rgba(17, 48, 37, 0.9);
  
  --font-heading: 'Playfair Display', serif;
  --font-subheading: 'Cormorant Garamond', serif;
  --font-heading-alt: 'Cormorant Garamond', serif; /* Use Cormorant for alternate headings too */
  --font-body: 'Montserrat', sans-serif;
  
  --transition: all 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2 {
  font-family: var(--font-heading);
}

h3, h4, h5, h6 {
  font-family: var(--font-subheading);
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout & Utilities --- */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  padding: 40px 0;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bg-secondary);
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(17, 48, 37, 0.9); /* Solid translucent dark green */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(17, 48, 37, 0.95); /* Solid translucent dark green */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* Sleek reflection outline */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Enhancing navigation link readability in scrolled glass state */
.navbar.scrolled .nav-links > li > a {
  color: var(--text-primary); /* Solid text color for top-level links only */
}

.navbar.scrolled .nav-links > li > a:hover,
.navbar.scrolled .nav-links > li > a.active {
  color: #ffffff !important;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 40px; /* Adjust height as needed */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}



.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

/* --- Navigation Dropdown --- */
.dropdown {
  position: relative;
}

.dropdown-back {
  display: none !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.95);
  min-width: 580px; /* Wider to prevent column wrapping */
  background: var(--bg-secondary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(17, 48, 37, 0.15);
  border-radius: 20px;
  padding: 24px;
  margin-top: 15px;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -25px; /* Bridges the 15px gap to prevent menu hiding when cursor moves down */
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--bg-color);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 8px;
  white-space: nowrap; /* Prevent text wrapping to double lines */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dropdown-service-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bg-color);
  transition: transform 0.3s ease, color 0.3s ease;
  opacity: 0.95;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--bg-secondary) !important;
  background: var(--bg-color) !important;
  padding-left: 18px;
}

.dropdown-menu a:hover .dropdown-service-icon,
.dropdown-menu a.active .dropdown-service-icon {
  color: var(--bg-secondary) !important;
  transform: scale(1.18);
  opacity: 1 !important;
}

@media (max-width: 992px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    min-width: 100%;
    grid-template-columns: 1fr;
    padding: 0 15px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid; /* Always grid, transition height and opacity */
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
  }
  
  .dropdown-menu a {
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 12px 10px;
    white-space: normal;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding-left: 15px;
  }
  
  .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* X Animation */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  overflow: hidden;
}

.btn:hover {
  background: var(--text-primary);
  color: var(--bg-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-color) !important;
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary) !important;
}



/* --- Animations: Smooth Scroll Fade-In & Slide-Up Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal.active,
.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Clients & Partners --- */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 35px;
}
.diamond-divider::before, .diamond-divider::after {
  content: '';
  height: 1px;
  width: 40px;
  background-color: var(--text-primary);
  opacity: 0.5;
}
.diamond-divider .diamond {
  width: 12px;
  height: 12px;
  border: 1px solid var(--text-primary);
  transform: rotate(45deg);
  margin: 0 15px;
  opacity: 0.7;
}

.client-section {
  padding: 35px 0;
  text-align: center;
}
.client-section h3 {
  font-family: var(--font-subheading);
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 300;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
}

.client-card {
  background-color: #fff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  aspect-ratio: 16 / 9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(100%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Universal Footer CTA --- */
.footer-cta {
  padding: 35px 0;
  background-color: #ffffff;
  color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: flex;
  background: var(--bg-color);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(17, 48, 37, 0.2);
  min-height: 500px;
}

.cta-image {
  flex: 1;
  min-width: 400px;
  position: relative;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.footer-cta:hover .cta-image img {
  transform: scale(1.05);
}

.cta-content {
  flex: 1;
  padding: 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  color: var(--bg-color);
}

.cta-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--bg-color);
}

.cta-content h2 em {
  font-family: var(--font-subheading);
  font-style: italic;
  font-weight: 600;
  color: #c5a880;
  text-transform: none;
  display: inline-block;
  transition: color 0.4s ease, transform 0.4s ease;
}

.footer-cta:hover .cta-content h2 em {
  color: #d8be99;
  transform: skewX(-3deg) translateY(-2px);
}

.cta-content p {
  font-size: 1.15rem;
  margin-bottom: 45px;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 500px;
}

.cta-buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 15px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.handwritten-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 5;
  transform: rotate(-2deg);
  animation: floatHandwritten 3.5s ease-in-out infinite alternate;
}

@keyframes floatHandwritten {
  0% { transform: rotate(-2deg) translateY(0); }
  100% { transform: rotate(-2deg) translateY(-3px); }
}

.handwritten-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #55517b;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.handwritten-arrow-left {
  width: 55px;
  height: 32px;
  color: #55517b;
  flex-shrink: 0;
  transform: translateY(-2px);
}

.cta-buttons .btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  border: 1.5px solid var(--bg-color);
  color: var(--bg-color);
}

.cta-buttons .btn-primary {
  background: var(--bg-color);
  color: #fff !important;
}

.cta-buttons .btn:hover {
  background: var(--bg-color);
  color: #ffffff !important;
  border-color: var(--bg-color);
}

@media (max-width: 1000px) {
  .cta-container {
    flex-direction: column;
    min-height: auto;
  }
  .cta-image {
    min-width: 100%;
    height: 350px;
  }
  .cta-content {
    padding: 60px 8%;
    text-align: center;
    align-items: center;
  }
  .cta-content h2 {
    /* Font size is handled responsively by clamp() globally */
  }
  .cta-buttons-wrapper {
    justify-content: center;
    flex-direction: column;
    gap: 16px;
  }
  .cta-buttons {
    justify-content: center;
  }
  .handwritten-note {
    transform: rotate(0deg);
    justify-content: center;
  }
  .handwritten-text {
    text-align: center;
    font-size: 1.35rem;
  }
  .handwritten-arrow-left {
    transform: rotate(90deg) scaleY(-1);
    height: 26px;
    width: 45px;
    margin-top: 0;
  }
}


.scroll-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 100px; /* Sits above the WhatsApp FAB */
  right: 30px;
  background: var(--bg-color);
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--bg-color);
  transform: translateY(-5px);
}

/* --- Universal Footer --- */
.global-footer {
  padding: 80px 0 0px;
  background-color: var(--bg-color);
  color: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Logo ™ Symbol */
.logo-wrapper {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  text-decoration: none;
}

.tm-symbol {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1;
  margin-left: 3px;
  margin-top: -1px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 1 !important;
  letter-spacing: 0.5px;
}

.footer-tm {
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 1 !important;
}

.footer-wa-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-secondary);
  color: var(--bg-color) !important;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 20px;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer-wa-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.footer-wa-highlight svg {
  color: var(--bg-color);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo-img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.35s ease, padding 0.35s ease;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
}

/* Smooth bottom hover line for Explore and Expertise columns only */
.footer-col:nth-child(2) ul li a::after,
.footer-col:nth-child(3) ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: linear-gradient(90deg, #d4af37, #f3e5ab); /* Luxury Gold Hairline Line */
  transition: width 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.footer-col ul li a svg {
  color: var(--bg-secondary);
  opacity: 0.6;
  margin-right: 10px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-col:nth-child(2) ul li a:hover,
.footer-col:nth-child(3) ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-col:nth-child(2) ul li a:hover::after,
.footer-col:nth-child(3) ul li a:hover::after {
  width: 100%;
}

.footer-col ul li a:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Footer Locations Column - Enhanced Larger Phone Numbers */
.footer-col:nth-child(4) ul li a[href^="tel:"] {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  padding: 5px 0;
  transition: all 0.3s ease;
}

.footer-col:nth-child(4) ul li a[href^="tel:"] strong {
  font-weight: 700;
  color: #d4af37; /* Luxury Gold City Tag */
  margin-right: 4px;
}

.footer-col:nth-child(4) ul li a[href^="tel:"]:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.enquiry-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--bg-secondary);
  color: var(--bg-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--bg-secondary);
  color: var(--bg-color);
  transform: translateY(-5px);
}

/* --- Industries We Serve Footer Section (SEO Optimized) --- */
.footer-industries {
  padding-top: 30px;
  padding-bottom: 25px;
  margin-top: 30px;
  border-top: 1px solid rgba(230, 221, 212, 0.08);
}

.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 221, 212, 0.12);
  color: #e6ddd4;
  padding: 7px 14px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-tag svg {
  color: #d4af37;
  transition: transform 0.3s ease;
}

.industry-tag:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.industry-tag:hover svg {
  transform: scale(1.2);
}

/* --- The Vital Media - Top 10 Indian Cities Footer Section --- */
.footer-vital-cities {
  padding: 25px 0 25px;
  margin-top: 0;
  border-top: 1px solid rgba(230, 221, 212, 0.08);
  border-bottom: none;
  margin-bottom: 0;
}

/* Separate row labels for India vs Global */
.cities-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cities-group-label.india {
  color: rgba(212, 175, 55, 0.85);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.cities-group-label.global {
  color: rgba(212, 175, 55, 0.85);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.vital-cities-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 10px;
  margin-bottom: 10px;
}

.vital-cities-row:last-child {
  margin-bottom: 0;
}

/* Global cities — same style as Indian cities */
.city-tag.global {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 221, 212, 0.12);
  color: #e6ddd4;
  font-weight: 500;
}

.city-tag.global svg {
  color: #d4af37;
}

.city-tag.global:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.vital-cities-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.vital-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vital-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 8px #d4af37;
  animation: vitalPulse 2s infinite ease-in-out;
}

@keyframes vitalPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.vital-subtitle {
  font-size: 0.85rem;
  color: rgba(230, 221, 212, 0.75);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.vital-cities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 221, 212, 0.12);
  color: #e6ddd4;
  padding: 7px 14px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-tag svg {
  color: #d4af37;
  transition: transform 0.3s ease;
}

.city-tag:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.city-tag:hover svg {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .footer-vital-cities {
    padding: 22px 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .vital-title-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .vital-cities-tags {
    gap: 8px;
  }
  .city-tag {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
}

.footer-bottom {
  padding-top: 35px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.18); /* Subtle luxury gold divider */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-copyright {
  flex: 1;
  max-width: 680px;
}

.copyright-main {
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copyright-main::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #d4af37; /* Luxury Gold Glowing Dot */
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
  flex-shrink: 0;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(230, 221, 212, 0.65) !important;
  line-height: 1.55;
  display: block;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(212, 175, 55, 0.5); /* Gold vertical accent line */
  border-radius: 0 8px 8px 0;
  margin-top: 6px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(230, 221, 212, 0.7);
  position: relative;
  padding: 4px 0;
  text-decoration: none;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color 0.35s ease, letter-spacing 0.35s ease;
}

.footer-legal a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: linear-gradient(90deg, #d4af37, #f3e5ab); /* Luxury Gold Underline */
  transition: width 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.footer-legal a:hover {
  color: #ffffff;
  letter-spacing: 1.5px;
}

.footer-legal a:hover::after {
  width: 100%;
}

.footer-legal a:not(:last-child)::before {
  content: "•";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.45);
  font-size: 0.75rem;
  pointer-events: none;
}

.dmca-badge {
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.dmca-badge:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.dmca-badge-wrapper {
  display: flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  border: 1px solid rgba(230, 221, 212, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dmca-left {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4px 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.dmca-shield {
  width: 9px;
  height: 11px;
  color: #3498db; /* Authentic blue for DMCA shield */
  display: block;
}

.dmca-title {
  text-transform: uppercase;
}

.dmca-right {
  background-color: #2ecc71; /* Authentic green for DMCA status */
  color: #ffffff;
  padding: 4px 7px;
  line-height: 1;
  text-transform: uppercase;
}

/* --- Mobile/Tablet Footer --- */
@media (max-width: 1000px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 3;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: left;
  }
  .footer-brand {
    grid-column: span 1;
    display: block;
    margin-bottom: 0;
  }
  .footer-description {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
  .social-links {
    justify-content: flex-start;
  }
  .footer-col h4 {
    margin-bottom: 15px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
  }
  .footer-legal {
    justify-content: flex-start;
  }
  
  /* CTA Buttons in one line on mobile */
  .cta-buttons {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .cta-buttons .btn {
    flex: 1;
    padding: 12px 10px !important;
    font-size: 0.8rem !important;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .cta-buttons .btn svg {
    width: 14px !important;
    height: 14px !important;
    margin-right: 4px !important;
    margin-left: 0 !important;
    transform: none !important;
  }
}

/* --- Responsive --- */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 48, 37, 0.98); /* Luxury depth dark green */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    text-align: left; /* Left align main container */
    padding: 0 0 30px 0;
    gap: 0;
    border-bottom: 1px solid rgba(230, 221, 212, 0.12); /* Subtle beige border */
    
    /* Animation state when CLOSED */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-15px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
    z-index: 1000;
    
    /* Max height and scrolling */
    max-height: calc(100vh - 100%);
    height: calc(100vh - 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(230, 221, 212, 0.15) transparent;
  }
  
  .nav-links::-webkit-scrollbar {
    width: 4px;
  }
  .nav-links::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav-links::-webkit-scrollbar-thumb {
    background: rgba(230, 221, 212, 0.15);
    border-radius: 2px;
  }
  
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links.submenu-active {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-links > li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-bottom: 1px solid rgba(230, 221, 212, 0.06); /* Elegant divider */
  }

  .nav-links > li:last-child {
    border-bottom: none;
  }

  .nav-links > li > a {
    display: block;
    padding: 16px 24px; /* Left indent */
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    width: 100%;
    text-align: left; /* Left align menu link text */
    box-sizing: border-box;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, opacity 0.35s ease, padding-left 0.3s ease;
  }

  .nav-links > li > a:hover {
    letter-spacing: 2px;
    color: #ffffff;
    padding-left: 32px; /* slide right slightly on hover */
  }

  .nav-links.active > li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Main menu items slide left off-screen when subpanel is active */
  .nav-links.submenu-active > li:not(.dropdown) {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-links.submenu-active > li.dropdown > a {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-links.submenu-active > li.dropdown {
    border-bottom-color: transparent !important;
  }

  /* Staggered Delay for main menu luxury entrance */
  .nav-links.active > li:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.active > li:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.active > li:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.active > li:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.active > li:nth-child(5) { transition-delay: 0.32s; }
  .nav-links.active > li:nth-child(6) { transition-delay: 0.38s; }
  .nav-links.active > li:nth-child(7) { transition-delay: 0.44s; }

  /* Mobile Sliding Submenu Panel */
  .dropdown {
    position: static !important;
  }

  .dropdown-menu {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    background: rgba(17, 48, 37, 0.99) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(100%) !important; /* Slide off-screen right */
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.45s !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    padding: 0 0 40px 0 !important;
    box-sizing: border-box !important;
    z-index: 1005 !important;
    border: none !important;
    box-shadow: none !important;
    grid-template-columns: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .nav-links.submenu-active .dropdown-menu {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Back Button Styling in Mobile Submenu Panel (Exact 1:1 Match with Home Link Start Position) */
  .dropdown-back {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(230, 221, 212, 0.06) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .dropdown-back a {
    display: flex !important;
    align-items: center !important;
    padding: 16px 24px !important; /* Exact 1:1 match with Home link padding */
    font-size: 0.85rem !important; /* Exact 1:1 match with Home link font size */
    font-weight: 600 !important;
    letter-spacing: 1.5px !important; /* Exact 1:1 match with Home link letter spacing */
    line-height: normal !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: background 0.3s ease, padding-left 0.3s ease !important;
  }

  .dropdown-back a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    padding-left: 32px !important;
  }

  /* Submenu Service Links (Reduced padding by 3px for compact 12-item display) */
  .dropdown-menu > li:not(.dropdown-back) {
    width: 100% !important;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(230, 221, 212, 0.05) !important;
  }

  .dropdown-menu > li:last-child {
    border-bottom: none !important;
  }

  .dropdown-menu > li:not(.dropdown-back) > a {
    display: block !important;
    padding: 11px 20px !important; /* Compact 11px padding (-3px height per item) */
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.8px !important;
    width: 100% !important;
    text-align: left !important;
    color: var(--text-secondary) !important;
    box-sizing: border-box !important;
    transition: letter-spacing 0.3s ease, color 0.3s ease, padding-left 0.3s ease, background 0.3s ease !important;
  }

  .dropdown-menu > li:not(.dropdown-back) > a:hover,
  .dropdown-menu > li:not(.dropdown-back) > a.active {
    letter-spacing: 1.4px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding-left: 26px !important;
  }

  .nav-links.submenu-active .dropdown-menu > li:not(.dropdown-back) {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered entrance animation for 12 service items in new subpanel */
  .nav-links.submenu-active .dropdown-menu > li:nth-child(2) { transition-delay: 0.05s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(3) { transition-delay: 0.09s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(4) { transition-delay: 0.13s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(5) { transition-delay: 0.17s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(6) { transition-delay: 0.21s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(7) { transition-delay: 0.25s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(8) { transition-delay: 0.29s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(9) { transition-delay: 0.33s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(10) { transition-delay: 0.37s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(11) { transition-delay: 0.41s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(12) { transition-delay: 0.45s; }
  .nav-links.submenu-active .dropdown-menu > li:nth-child(13) { transition-delay: 0.49s; }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .client-card {
    padding: 15px;
  }
}
@media (max-width: 600px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .client-card {
    padding: 8px;
  }
}

/* Contextual button hover states */
.btn:hover {
  background-color: var(--text-primary);
  border-color: var(--text-primary) !important;
  /* Default to Green text on hover (for buttons on Green bg) */
  color: var(--bg-color) !important;
}

/* For buttons that have Green text (i.e. on Beige bg) */
.services-preview .text-center .btn:hover,
.clients-section .btn:hover,
[style*="var(--bg-secondary)"] .btn:hover,
.mission-section .btn:hover,
.bg-beige .btn:hover,
.footer-cta .btn:hover {
  background-color: var(--bg-color) !important;
  border-color: var(--bg-color) !important;
  color: var(--bg-secondary) !important;
}

/* Override for service-item which is green */
.service-item .btn:hover {
  background-color: var(--bg-secondary) !important;
  border-color: var(--bg-secondary) !important;
  color: var(--bg-color) !important;
}

/* Normal state for buttons on light/beige backgrounds (otherwise invisible) */
.services-preview .text-center .btn,
.clients-section .btn,
[style*="var(--bg-secondary)"] .btn,
.mission-section .btn,
.bg-beige .btn,
.footer-cta .btn {
  border-color: var(--bg-color);
  color: var(--bg-color);
}

/* Prevent View All Services in Detail button from moving/floating on hover */
.services-preview .text-center .btn:hover {
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  section, .section, .services-preview, .clients-section, .discover-quote, .case-studies, .mission-section {
    padding: 40px 0 !important;
  }
  .achievements, .reveal[style*="padding: 50px"] {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .global-footer {
    padding-top: 50px !important;
    padding-bottom: 0 !important;
  }
  .blog-header {
    padding-top: 100px !important;
    padding-bottom: 40px !important;
  }
  .footer-cta > div > div:nth-child(2) {
    padding: 50px 5% !important;
  }
}

/* --- Legal & Rich Text Content --- */
.legal-container {
  background: #ffffff;
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(17, 48, 37, 0.05);
  border: 1px solid rgba(17, 48, 37, 0.02);
  color: var(--bg-color);
  margin: 40px auto;
  max-width: 100%;
}

.legal-container h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--bg-color);
  text-transform: none;
  border-bottom: 1px solid rgba(17, 48, 37, 0.1);
  padding-bottom: 8px;
}

.legal-container h2:first-of-type {
  margin-top: 0;
}

.legal-container p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(17, 48, 37, 0.85);
}

.legal-container ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.legal-container ul li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
  color: rgba(17, 48, 37, 0.85);
}

@media (max-width: 768px) {
  .legal-container {
    padding: 35px 20px;
    border-radius: 16px;
  }
  .legal-container h2 {
    font-size: 1.5rem;
  }
}

/* === SEO & Accessibility Utilities === */

/* Visually hidden but readable by search engines and screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Breadcrumb Navigation */
/* --- Full-Width Light Cream Breadcrumb Bar --- */
.breadcrumb-wrapper {
  background-color: #f7f3ee;
  border-bottom: 1px solid rgba(17, 48, 37, 0.08);
  border-top: 1px solid rgba(17, 48, 37, 0.05);
  width: 100%;
}

.breadcrumb-nav {
  padding: 12px 0;
  font-size: 0.8rem;
  background: transparent;
}

.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumb-nav ol li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-home-icon {
  margin-right: 6px;
  color: #113025;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.breadcrumb-nav ol li a:hover .breadcrumb-home-icon {
  transform: scale(1.15);
  color: #b08b29;
}

.breadcrumb-nav ol li + li::before {
  content: '›';
  margin: 0 10px;
  font-size: 1rem;
  color: rgba(17, 48, 37, 0.45);
  font-weight: 700;
}

.breadcrumb-nav ol li a {
  color: rgba(17, 48, 37, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.breadcrumb-nav ol li a:hover {
  color: #b08b29;
}

.breadcrumb-nav ol li[aria-current="page"] {
  color: #113025;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* --- Brand Name Typography Highlighting --- */
.brand-name {
  font-weight: 700 !important;
  text-transform: uppercase;
  display: inline-block;
  color: inherit !important; /* Fallback to inherit parent's text color for readability */
}

/* White text for dark green backgrounds (default fallback) */
.hero .brand-name,
.faq-header .brand-name,
.about-header .brand-name,
.services-header .brand-name,
.contact-header .brand-name,
.work-header .brand-name,
.global-footer .brand-name,
.footer-cta .brand-name,
.scroll-top .brand-name,
.featured-section .brand-name,
.case-studies .brand-name,
.achievements .brand-name,
.discover-quote .brand-name,
.faq-contact-cta .brand-name,
[style*="color: var(--text-primary)"] .brand-name,
[style*="color: var(--text-secondary)"] .brand-name,
[style*="color: #fff"] .brand-name,
[style*="color: #ffffff"] .brand-name {
  color: #ffffff !important;
}

/* Green text for light cream/white backgrounds */
.mission-section .brand-name,
.services-preview .brand-name,
.clients-section .brand-name,
.testimonials-section .brand-name,
.faq-page-container .brand-name,
.clients-page-container .brand-name,
.legal-container .brand-name,
.about-content .brand-name,
.about-vision .brand-name,
.about-team .brand-name,
.about-intro-section .brand-name,
.gallery-section .brand-name,
.case-study.bg-beige .brand-name,
.services-section .brand-name,
.service-content .brand-name,
.cta-content .brand-name,
.light-bg .brand-name,
[style*="var(--bg-secondary)"] .brand-name,
[style*="#e6ddd4"] .brand-name {
  color: var(--bg-color) !important;
}

/* --- Floating WhatsApp FAB Button (Bottom Right) --- */
.sticky-whatsapp-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1001;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.25); }
  50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.75), 0 2px 12px rgba(0,0,0,0.3); }
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.12) translateY(-3px);
  background: #1ebe5d;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.35);
  animation: none;
}

.sticky-whatsapp-btn svg {
  display: block;
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.sticky-whatsapp-btn:hover svg {
  transform: scale(1.1) rotate(-8deg);
}

/* WhatsApp tooltip label */
.sticky-whatsapp-btn::before {
  content: 'Chat with us!';
  position: absolute;
  right: 66px;
  background: #113025;
  color: #e8ddd0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.sticky-whatsapp-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile: smaller, keep visible */
@media (max-width: 900px) {
  .sticky-whatsapp-btn {
    width: 52px;
    height: 52px;
    right: 20px;
    bottom: 20px;
  }
  .sticky-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
  .sticky-whatsapp-btn::before {
    display: none;
  }
}

/* Adjust scroll-top to stay above WhatsApp FAB on mobile */
@media (max-width: 900px) {
  .scroll-top {
    bottom: 84px;
    right: 20px;
  }
}

/* --- Navigation Instagram Icon --- */
.nav-instagram {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.nav-instagram a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px !important;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.nav-instagram a::after {
  display: none !important;
}

.nav-instagram a:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.navbar.scrolled .nav-instagram a {
  color: var(--text-primary);
}

.navbar.scrolled .nav-instagram a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .nav-instagram {
    display: none !important;
  }
}

/* --- RHOE Luxury Page Loader & Transitions --- */
.rhoe-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color); /* Brand green */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.3, 1), 
              visibility 0.6s cubic-bezier(0.25, 1, 0.3, 1), 
              transform 0.6s cubic-bezier(0.25, 1, 0.3, 1);
}

.rhoe-page-loader.loader-fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03); /* slight expansion to give premium exit feel */
}

.rhoe-page-loader.loader-fade-in {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.rhoe-page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.loader-letter {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--text-primary); /* #e6ddd4 */
  opacity: 0;
  transform: translateY(25px) scaleY(1.25);
  filter: blur(4px);
  animation: letterReveal 0.8s cubic-bezier(0.25, 1, 0.3, 1) forwards;
}

.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.22s; }
.loader-letter:nth-child(3) { animation-delay: 0.34s; }
.loader-letter:nth-child(4) { animation-delay: 0.46s; }

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(25px) scaleY(1.25);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

.loader-line-container {
  width: 140px;
  height: 1.5px;
  background-color: rgba(230, 221, 212, 0.1);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background-color: var(--accent-color); /* Gold accent #c5a880 */
  animation: lineGrow 1.2s cubic-bezier(0.25, 1, 0.3, 1) 0.5s forwards;
}

@keyframes lineGrow {
  0% {
    left: 50%;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

/* Solid non-blinking page transitions and FOUC prevention across all pages */
html, body {
  background-color: var(--bg-color) !important; /* solid brand green during transition phase */
  opacity: 1 !important;
}

body.home-body {
  opacity: 1 !important;
}

/* ==========================================================================
   UNIFIED LUXURY HERO BANNER SYSTEM (ALL INNER PAGES)
   ========================================================================== */

/* 1. Global Height (Padding) and Flex Layout */
.about-header,
.services-header,
.work-header,
.contact-header,
.blog-header,
.faq-header,
.clients-hero,
.post-header {
  padding: 220px 0 120px !important;
  text-align: center !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: auto !important;
  box-sizing: border-box !important;
}

/* 2. Unified Hero Title Typography */
.about-header h1,
.services-header h1,
.work-header h1,
.contact-header h1,
.blog-header h1,
.faq-header h1,
.clients-hero h1,
.post-header h1 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.8rem, 6vw, 4.8rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  letter-spacing: -1.5px !important;
  text-transform: uppercase !important;
  color: var(--text-primary) !important;
  margin: 0 auto 20px !important;
  max-width: 960px !important;
  display: block !important;
}

/* 3. Unified Hero Subtitle/Description Typography */
.about-header p,
.services-header p,
.work-header p,
.contact-header p,
.blog-header p,
.faq-header p,
.clients-hero p,
.post-header p {
  font-family: var(--font-subheading) !important;
  font-style: italic !important;
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  color: var(--text-secondary) !important;
  max-width: 750px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
  opacity: 0.9 !important;
  letter-spacing: 0.5px !important;
  display: block !important;
}

/* 4. Unified Mobile Responsiveness & Typography for all Inner Page Heroes */
@media (max-width: 768px) {
  .about-header,
  .services-header,
  .work-header,
  .contact-header,
  .blog-header,
  .faq-header,
  .clients-hero,
  .post-header {
    padding: 160px 0 80px !important;
  }

  /* Reduce all page main headers / title font sizes on mobile */
  .about-header h1,
  .services-header h1,
  .work-header h1,
  .contact-header h1,
  .blog-header h1,
  .faq-header h1,
  .clients-hero h1,
  .post-header h1 {
    font-size: 2.2rem !important;
  }

  /* Reduce all general section headers and service/case titles on mobile */
  .section-header h2,
  .section-title,
  .case-details h2,
  .service-content h2,
  .discover-quote h2,
  .promise-title {
    font-size: 2.1rem !important;
  }

  /* Reduce hero content titles on mobile */
  .hero-text {
    font-size: 2.3rem !important;
  }
}

/* ==========================================================================
   FLOATING BRAND GROWTH POPUP TOAST (BOTTOM LEFT)
   ========================================================================== */
.rhoe-growth-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 330px;
  background: #0d2b21; /* Studio RHOE Dark Luxury Emerald */
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 22px 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(230, 221, 212, 0.22);
  z-index: 99999;
  transform: translateX(-120%) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.6s;
  pointer-events: none;
}

.rhoe-growth-toast.active {
  transform: translateX(0) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.toast-close-btn:hover {
  color: #ffffff;
}

.toast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #d4af37;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.toast-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.toast-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e6ddd4;
  opacity: 0.9;
  margin-bottom: 16px;
}

.toast-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  background: #e6ddd4;
  color: #0d2b21 !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.toast-cta-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .rhoe-growth-toast {
    bottom: 85px; /* Sits nicely above sticky WhatsApp button on mobile */
    left: 15px;
    right: 15px;
    width: auto;
    padding: 20px 18px 16px;
  }
}

/* --- Global FAQ Contact CTA Card Component --- */
.faq-contact-cta {
  background: var(--bg-color); /* Luxury deep green brand color */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(17, 48, 37, 0.15);
  padding: 28px 35px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.faq-contact-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(17, 48, 37, 0.25);
}

.faq-contact-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.faq-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--bg-secondary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.faq-contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--bg-secondary);
}

.faq-contact-text {
  text-align: left;
}

.faq-contact-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.faq-contact-text p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(230, 221, 212, 0.75);
  margin: 0;
}

.btn-faq-contact {
  background: var(--bg-secondary) !important;
  border-color: var(--bg-secondary) !important;
  color: var(--bg-color) !important;
  padding: 10px 24px !important;
  font-size: 0.8rem !important;
  border-radius: 50px !important;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-faq-contact:hover {
  background: transparent !important;
  color: var(--bg-secondary) !important;
  border-color: var(--bg-secondary) !important;
}

@media (max-width: 900px) {
  .faq-contact-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
    gap: 20px;
    margin: 30px 0;
  }
  .faq-contact-info {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .faq-contact-text {
    text-align: center;
  }
  .faq-contact-text h3 {
    font-size: 1.2rem;
  }
  .faq-contact-text p {
    font-size: 0.85rem;
  }
}


