/* ===== ROOT ===== */
:root {
  --primary: #2dd4bf;
  --dark: #0f172a;
  --text: #475569;
  --light-bg: #f8fafc;
  --border: #e5e7eb;
}

/* ===== BASE ===== */
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: var(--light-bg);
  color: var(--text);
}

h2,
h3,
h4 {
  color: var(--dark);
  margin-top: 0;
}

.container {
  max-width: 72rem;
  margin: auto;
  padding: 1rem 1.5rem;
  text-align: center;
}



/* ===== LAYOUT ===== */
.services-layout {
    display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 3rem;
  align-items: start;
  padding: 0rem 4rem;
}

.services-sidebar{
  height: fit-content;
}


/* ===== SIDEBAR ===== */
.services-sidebar {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.05);
  height: fit-content;
  position: relative;
  width: 100%;
  top: 0rem;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-link {
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  color: var(--dark);
}

.service-link:hover {
  background: rgba(45, 212, 191, 0.1);
}

.service-link.active {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
}

/* ===== CONTENT AREA ===== */
.services-content {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.06);
  text-align: left;
}

/* Hide all by default */
.service-content {
  display: none;
  animation: fadeUp 0.35s ease;
}
.services-content {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.06);

  min-height: 400px; 
}

.service-content.active {
  display: block;
}

.service-content h2 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.service-content h4 {
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.service-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.service-content ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .container {
    padding: 5rem 1rem 2rem 1rem;
  }

  .services-sidebar {
    padding: 1.5rem;
  }

  .services-content {
    padding: 2rem 1.5rem;
  }

  .service-content h2 {
    font-size: 1.5rem;
  }

  .service-content p,
  .service-content ul li {
    font-size: 0.9rem;
  }
}

/* ================= MOBILE SERVICES DROPDOWN ================= */
.services-mobile-dropdown {
  display: none;
  position: relative;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .services-mobile-dropdown {
    display: block;
  }

  .services-list {
    display: none;
  }
}

.dropdown-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #2dd4bf;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.08);
  z-index: 10;
  overflow: hidden;
  list-style: none;
}

.dropdown-options li {
  padding: 0.8rem 0rem;
  cursor: pointer;
  font-size: 1.2rem;
}



.services-mobile-dropdown.active .dropdown-options {
  display: block;
}


/* Mobile / Tablet */
@media (max-width: 768px) {

  .services-layout {
    grid-template-columns: 1fr; /* sidebar + content stack */
  }

  /* Sidebar ko simple header jaisa rakho */
  .services-sidebar {
    padding: 1.25rem;
    background: #fff;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
  }

  /* Desktop wali list hide */
  .services-list {
    display: none;
  }

  /* Mobile dropdown show */
  .services-mobile-select {
    display: block;
  }
}



@media (max-width: 768px) {
  .services-list {
    display: none;
    list-style: none;
  padding-left: 0;
  margin: 0;
  }

  .services-mobile-select {
    display: block;
  }

}

.services-mobile-select option {
  background: #ffffff;
  color: #0f172a;
}

.services-mobile-select:focus {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
}
/* Remove bullets from services list (mobile + desktop) */

/* Remove unwanted left marker / cursor-like line */
.service-content p::before,
.service-content p::after {
  content: none !important;
}

.service-content p {
  border-left: none !important;
  padding-left: 0 !important;
}
.service-content h2::before {
  content: none !important;
}




/* ================= MOBILE SERVICES DROPDOWN ================= */
.services-mobile-select {
  display: none;
}

@media (max-width: 768px) {

  /* Layout stack */
  .services-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Sidebar simple card */
  .services-sidebar {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }

  /* Desktop list hide */
  .services-list {
    display: none;
  }

  /* Mobile dropdown show */
  .services-mobile-select {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #2dd4bf;
    background: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    color: #0f172a;

    position: relative;
    z-index: 1000;        /* 🔥 MOST IMPORTANT */
    pointer-events: auto;/* 🔥 click allow */
  }

  .services-mobile-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25);
  }
}

/* ================= BODY SCROLL SAFETY ================= */
body.menu-open {
  overflow: hidden;
}

/* ================= CONTENT CLEANUP ================= */
.service-content p::before,
.service-content p::after {
  content: none !important;
}

.service-content p {
  border-left: none !important;
  padding-left: 0 !important;
}

.service-content h2::before {
  content: none !important;
}



  

/* ================= FIX: HEADER OVERLAP ================= */

@media (min-width: 769px) and (max-width: 1024px){
  .services-details{
    padding-top: 50px;
  }
  .container{
    padding: 5rem 1rem 1rem 1rem ;
  }
}



/* ===== CONTACT MODAL ===== */
#contact {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#contact.active {
  display: flex;
}

/* ===== REQUEST VERIFICATION MODAL ===== */
.verification-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.verification-modal.active {
  display: flex;
}


/* ONLY Other Checks scrollable */
#other {
  max-height: 65vh;        /* screen ke hisaab se height */
  overflow-y: auto;        /* vertical scroll */
  padding-right: 10px;     /* scrollbar ke liye space */
}


/* ======= */
.page-hero {
  padding: 1rem 0;
  background: #f8fafc;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #1e3a8a;

}

.page-hero p {
  max-width: 600px;
  color: #6b7280;
  text-align: center;
  margin: auto;
}


