/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  --dark-blue: #1c2331;
  --brand-green: #32cd32;
  --light-brand-green: #adff2f;
  --dark-green-hover: #28a428;
  --footer-blue: #4a4ff2;
  --extended-team-blue: #00CFFF;
  --extended-team-blue-light: #E0F8FF;
  --text-dark: #212529;
  --text-grey: #495057;
  --background-light: #ffffff;
  --background-off-white: #f8f9fa;
  --border-color: #dee2e6;
  --placeholder-bg: #e9ecef;
  --font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--background-off-white);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  word-wrap: break-word;
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color .3s ease;
}

/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.highlight {
  color: var(--brand-green);
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: '“';
  position: absolute;
  left: -.6em;
  top: 0;
}

.highlight::after {
  content: '”';
  position: absolute;
  right: -.6em;
  top: 0;
}

.section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.go-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--brand-green);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}

.go-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--brand-green);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(50, 205, 50, .4);
  transition: transform .2s ease, background-color .2s ease;
  text-align: center;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: var(--dark-green-hover);
  transform: scale(1.05);
}

.know-more-btn-container {
  text-align: center;
  margin-top: 40px;
}

.know-more-btn {
  background-color: var(--light-brand-green);
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: transform .3s ease, box-shadow .3s ease;
}

.know-more-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(173, 255, 47, .4);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.top-bar {
  background-color: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar-contact a:hover {
  color: var(--brand-green);
}

.top-bar-contact .phone,
.top-bar-contact .chat-now-btn,
.top-bar-email-link {
  background-color: var(--brand-green);
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-contact .phone:hover,
.top-bar-contact .chat-now-btn:hover,
.top-bar-email-link:hover {
  background-color: var(--dark-green-hover);
  color: #fff !important;
}

.top-bar-contact .chat-now-btn,
.top-bar-email-link {
  padding: 8px 20px;
}

.header-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--background-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  width: 100%;
}

.main-header {
  background-color: var(--background-light);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  font-weight: 800;
  color: var(--dark-blue);
  flex-shrink: 0;
  white-space: nowrap !important;
}

.logo-link .logo-ad {
  color: var(--brand-green);
  font-weight: 700;
}

.logo-link .logo-nex {
  color: var(--dark-blue);
}

.main-nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
  transition: color .3s ease, transform .3s ease;
}

.main-nav a:hover {
  color: var(--brand-green); /* FIXED: Issue 1 (Footer blue removed) */
  transform: scale(1.1);
}

.main-nav a.active {
  color: var(--brand-green);
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-green);
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-socials a {
  color: var(--text-dark);
  transition: transform .3s ease, color .3s ease;
}

.header-socials a svg {
  width: 20px;
  height: 20px;
}

.header-socials a:hover {
  transform: scale(1.1);
  color: var(--brand-green);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-blue);
  z-index: 1001;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--dark-blue);
  z-index: 1000;
  transition: right .4s ease-in-out, opacity .4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.mobile-nav.nav-open {
  right: 0;
  opacity: 1;
  box-shadow: -5px 0 20px rgba(0, 0, 0, .2);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav li {
  margin: 20px 0;
}

.mobile-nav a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
}

/* =========================================
   4. MAIN HERO SECTION (Global)
   ========================================= */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Background layer – cannot be blocked */
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at top left, #eafff1 0%, transparent 45%),
    radial-gradient(circle at bottom right, #e8f7ff 0%, transparent 45%);
  z-index: 0;
}

/* Content always on top */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 15px;
  color: #1b1f24;
}

.hero-content h1 span {
  color: #2ecc71;
}

.hero-proof {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  margin-bottom: 12px;
}

.hero-subtext {
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto 28px;
  color: #555;
}

/* Update CTA for this section specifically if needed, or rely on global .cta-button */
.hero-content .cta-button {
  background: #2ecc71;
  color: #ffffff !important;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(46,204,113,0.35);
  transition: all 0.2s ease;
}

.hero-content .cta-button:hover {
  background: #27ae60;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-content {
    padding: 50px 15px 70px;
  }
  .hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .hero-subtext {
    font-size: 16px;
  }
}

/* =========================================
   5. SECTIONS & MODULES
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.3;
}

.about-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  background-color: var(--background-light);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(28, 35, 49, .07);
  border: 1px solid var(--border-color);
  align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.about-content-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(28, 35, 49, .1);
}

.about-visual-side {
  background: linear-gradient(145deg, #fdfdff, #f0f0f5);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--placeholder-bg);
}

.about-visual-side img,
.about-visual-side dotlottie-wc {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
}

.about-text-side {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.about-text-side h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 15px;
  line-height: 1.3;
}

.about-text-side p {
  font-size: .95rem;
  color: var(--text-grey);
  line-height: 1.7;
}

.about-text-side ul {
  list-style: none;
  padding-left: 0;
}

.about-text-side ul li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 10px;
  font-size: .95rem;
  color: var(--text-grey);
  line-height: 1.7;
}

.about-text-side ul li:last-child {
  margin-bottom: 0;
}

.about-text-side ul li::before {
  content: '✔';
  color: var(--brand-green);
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
}

#how-we-work {
  background-color: #fff;
}

.work-process-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.work-process-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.work-process-text h2 span {
  color: var(--brand-green);
}

.work-process-text p {
  font-size: 1rem;
  color: var(--text-grey);
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  transition: background-color .3s ease, border-color .3s ease;
}

.accordion-header {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out, padding .3s ease-out;
  padding: 0 20px;
}

.accordion-content p {
  padding-bottom: 18px;
  font-size: .95rem;
}

.accordion-item.active {
  background-color: var(--light-brand-green);
  border-color: var(--brand-green);
}

.accordion-item.active .accordion-header,
.accordion-item.active .accordion-content p {
  color: var(--text-dark);
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

#why-adnex {
  background-color: var(--background-off-white);
}

#why-adnex .section-header h2 span {
  color: var(--footer-blue);
}

.why-adnex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.why-adnex-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
  text-align: left;
  display: flex;
  gap: 15px;
  transition: all .4s ease;
  cursor: pointer;
}

.why-adnex-card:hover {
  transform: translateY(-8px);
  background-color: var(--light-brand-green);
}

.why-adnex-card .icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.why-adnex-card .number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-green);
}

.why-adnex-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-adnex-card p {
  font-size: .95rem;
}

.services-section {
  background-color: var(--background-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border: 2px solid var(--dark-blue);
  border-radius: 15px;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
}

.service-card:hover {
  transform: translateY(-8px) rotate(0);
  background-color: var(--light-brand-green);
  border-color: var(--dark-blue);
}

.service-card .icon {
  margin-bottom: 20px;
}

.service-card .icon svg {
  width: 48px;
  height: 48px;
  color: var(--dark-blue);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.service-card p {
  font-size: .95rem;
  color: var(--text-grey);
  line-height: 1.7;
  margin-bottom: 30px;
}

.service-arrow {
  position: absolute;
  bottom: 25px;
  right: 25px;
  transition: transform .3s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(5px);
}

.team-section {
  background-color: var(--background-off-white);
}

.team-heading-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.team-heading {
  font-size: 2.2rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
}

.core-team-heading {
  background-color: var(--light-brand-green);
  color: var(--text-dark);
}

.extended-team-heading-wrapper {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 50px;
}

.extended-team-heading {
  background-color: var(--extended-team-blue);
  color: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.team-member {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(28, 35, 49, .08);
}

.team-member .team-img-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 20px auto;
  overflow: hidden;
  border: 5px solid #f0f0f5;
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 0 20px 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.team-info .role {
  font-size: .8rem;
  color: var(--text-dark);
  font-weight: 500;
  background-color: var(--light-brand-green);
  padding: 8px 15px;
  border-radius: 50px;
  margin-top: 5px;
  line-height: 1.5;
}

.extended-team .team-member .team-img-wrapper {
  border-color: var(--extended-team-blue-light);
}

.extended-team .team-info .role {
  background-color: var(--extended-team-blue);
  color: white;
}

/* =========================================
   6. FOOTER & FORMS
   ========================================= */
.footer-section {
  background-color: var(--background-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.footer-left h2 .asterisk {
  color: var(--footer-blue);
  font-size: .8em;
  vertical-align: super;
}

.footer-left h2 .underline-wrapper {
  position: relative;
  display: inline-block;
}

.footer-left h2 .underline-wrapper::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--footer-blue);
}

.footer-left .description {
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  max-width: 480px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-grey);
}

.footer-contact-info {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.footer-contact-info h4 {
  color: var(--footer-blue);
  font-size: 1rem;
  margin-bottom: 5px;
}

.footer-contact-info p,
.footer-contact-info a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: .9rem;
}

.footer-contact-info img {
  max-width: 120px;
  border-radius: 8px;
}

.footer-socials {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.footer-socials a svg {
  width: 24px;
  height: 24px;
}

.contact-form-wrapper {
  background-color: #fff;
  padding: 25px;
  border-radius: 15px;
}

.contact-form-wrapper h3 {
  color: var(--dark-blue);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 2px dotted var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: .95rem;
  background-color: #f8f9fa;
}

.contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: var(--brand-green); /* FIXED: Issue 2 (Footer blue removed) */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease;
}

.contact-form button:hover {
  background-color: var(--dark-green-hover); /* FIXED: Issue 2 */
}

#form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: none;
}

#form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* =========================================
   7. GLOBAL MEDIA QUERIES
   ========================================= */
@media (max-width: 1100px) {
  .main-nav, .header-socials {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 20px;
  }
  .top-bar {
    justify-content: center;
  }
  .top-bar-contact {
    justify-content: center;
  }
  .hero-section {
    padding: 60px 0;
    min-height: auto;
    text-align: center;
  }
  .hero-container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }
  .hero-image {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-text {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-left, .footer-right {
    text-align: center;
  }
  .footer-left .description {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-contact-info {
    justify-items: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .about-content-wrapper {
    grid-template-columns: 1fr;
  }
  .work-process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .about-content-wrapper {
    padding: 20px;
  }
  .about-text-side {
    text-align: center;
  }
  .main-header {
    padding: 15px 10px;
    height: auto;
  }
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .hero-section {
    padding-top: 70px;
    padding-bottom: 50px;
    display: block;
  }
  .hero-image {
    max-width: 300px;
  }
  .hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .cta-button {
    padding: 12px 24px;
    font-size: .9rem;
    width: 100%;
    max-width: 280px;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: clamp(2rem, 7vw, 2.2rem);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 25px;
    transform: rotate(0deg);
  }
  .about-text-side ul {
    text-align: left;
    display: inline-block;
  }
  .about-visual-side {
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
  }
  .team-info .role {
    white-space: normal;
    min-height: unset;
    padding: 8px 12px;
  }
  .accordion-header {
    font-size: 1.1rem;
    padding: 15px;
  }
  .why-adnex-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
  }
  .contact-form-wrapper {
    padding: 20px;
  }
  .footer-left h2 {
    font-size: 1.6rem;
  }
  .team-heading {
    font-size: 1.8rem;
  }
  .logo-link {
    font-size: 1.5rem;
  }
  .header-spacer {
    display: block;
    height: 120px;
  }
  .top-bar-contact {
    width: 100%;
  }
  .top-bar-contact .phone,
  .top-bar-contact .chat-now-btn {
    padding: 8px 10px;
    font-size: .8rem;
  }
}

.header-spacer {
  display: none;
}

@media (min-width: 769px) {
  .top-bar-contact {
    display: flex;
    gap: 15px;
    width: 380px;
    max-width: 100%;
  }
  .top-bar-contact .phone,
  .top-bar-contact .chat-now-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 8px 15px;
    font-size: .9rem;
    white-space: nowrap;
  }
}

/* =========================================
   8. SCOPED LANDING PAGE STYLES (.page-haldwani)
   ========================================= */
/* All styles below only apply when body has class="page-haldwani" */

/* Hero: spacing and background */
.page-haldwani .landing-hero {
  padding: 48px 0 56px;
  text-align: center;
  background: var(--background-off-white); /* FIXED: Unified background */
  position: relative;
  overflow: visible;
  margin-top: 0 !important;
  padding-top: 20px !important;
}

/* Slightly bigger on desktop */
@media (min-width: 992px) {
  .page-haldwani .landing-hero {
    padding: 64px 0 72px;
    padding-top: 40px !important;
  }
  .page-haldwani .landing-hero h1 {
    font-size: 2.6rem;
  }
}

/* Headline margin cleanup */
.page-haldwani .landing-hero h1 {
  margin-top: 0 !important;
  margin-bottom: 12px;
  padding: 0;
  line-height: 1.04;
  font-size: 2.5rem;
  color: var(--text-dark); /* FIXED: Issue 3 (No hardcoded black) */
}

/* Paragraphs in hero */
.page-haldwani .landing-hero p {
  font-size: 1.05rem;
  color: var(--text-grey); /* FIXED: Issue 3 (No hardcoded grey) */
  max-width: 860px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

/* CTA group wrapper */
.page-haldwani .cta-group {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Primary button - FIXED: Brand Green, no Blue */
.page-haldwani .btn-primary {
  display: inline-block;
  background: var(--brand-green);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(50, 205, 50, 0.2);
  transition: transform .12s ease, box-shadow .12s ease;
}

/* WhatsApp button */
.page-haldwani .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.12);
}

/* Mobile-specific CTA styling */
.page-haldwani .mobile-cta-btn {
  display: none;
  background-color: var(--brand-green); /* FIXED: Brand Green */
  color: #fff !important;
  padding: 14px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(50, 205, 50, 0.3);
  margin-top: 15px;
}

/* Small responsive tweaks for Landing Page */
@media (max-width: 767px) {
  .page-haldwani .landing-hero {
    padding-top: 10px !important;
    padding-bottom: 36px !important;
  }
  .page-haldwani .landing-hero h1 {
    font-size: 1.6rem;
    margin-top: 0 !important;
  }
  .page-haldwani .landing-hero p {
    font-size: 0.98rem;
  }
  
  /* Hide standard buttons on mobile */
  .page-haldwani .cta-group .btn-primary,
  .page-haldwani .cta-group .btn-whatsapp {
    display: none;
  }
  
  /* Show single mobile button */
  .page-haldwani .mobile-cta-btn {
    display: inline-block;
  }
}

/* Hero rating styles */
.page-haldwani .hero-rating {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-dark); /* FIXED: Issue 3 */
  font-family: 'Poppins', sans-serif;
  z-index: 3;
  position: relative;
}

.page-haldwani .rating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 32, 0.06);
}

/* stars */
.page-haldwani .stars {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}

.page-haldwani .stars svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #E0E0E0;
}

.page-haldwani .stars svg.filled {
  fill: #F5B301;
}

.page-haldwani .stars svg.half {
  fill: url(#halfGrad);
}

/* numeric score */
.page-haldwani .rating-score {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark); /* FIXED: Issue 3 */
  margin-left: 4px;
}

.page-haldwani .rating-count {
  color: #666;
  font-size: 0.95rem;
}

/* snippet */
.page-haldwani .rating-snippet {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-dark); /* FIXED: Issue 3 */
  max-width: 760px;
}

.page-haldwani .snippet-source {
  display: block;
  color: #666;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* responsive */
@media (max-width: 767px) {
  .page-haldwani .rating-badge {
    padding: 8px 12px;
    border-radius: 10px;
  }
  .page-haldwani .stars svg {
    width: 18px;
    height: 18px;
  }
  .page-haldwani .rating-score {
    font-size: 1rem;
  }
}

/* =========================================
   9. PREMIUM HERO STYLES (Adymize-Inspired for AdNex)
   ========================================= */

/* 1. Parent container setup - FIX FOR BLANK SPACE */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Remove default padding */
  margin-top: 0;
  display: block; /* CRITICAL: Overrides previous flex centering */
  min-height: auto; /* CRITICAL: Removes full viewport height forcing */
}

/* 2. Premium Background Layer - UPDATED: Image Background with Overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* UPDATED: Points to local file */
  background: url('../images/adnex-hero-bg.jpg') no-repeat center center/cover;
}

/* REMOVED: Dark Overlay to remove black shade */
/* .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
*/

/* 3. Hero Content Container */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 50px 20px 120px; /* UPDATED: Reduced top padding to shift text upward */
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #1c2331; /* UPDATED: Dark Blue for visibility on light bg */
}

.hero-content h1 span {
  color: #32cd32; /* UPDATED: Brand Green */
}

.hero-proof {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555555; /* UPDATED: Dark Grey for visibility */
  margin-bottom: 15px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.hero-subtext {
  font-size: 1.25rem;
  max-width: 750px;
  margin: 0 auto 40px;
  color: #555555; /* UPDATED: Dark Grey for visibility */
  line-height: 1.6;
  font-weight: 400;
}

/* Premium CTA Button */
.hero-content .cta-button {
  background: #32cd32;
  color: #ffffff !important;
  padding: 18px 48px;
  font-size: 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.hero-content .cta-button:hover {
  background: #28a428;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 40px 20px 100px; /* UPDATED: Reduced top padding on mobile too */
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-subtext {
    font-size: 1.1rem;
  }
  .hero-content .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 320px;
  }
}