* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER ================= */
/* HEADER */
.header {
  background: linear-gradient(135deg, #020617, #0f172a);
  padding: 10px 0;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}


/* LOGO + USERNAME GROUP */
.header-left {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.header-center {
  text-align: center;
}

.brand-name {
  color: #fff;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  margin: 0;
}

.brand-name span {
  color: #fbbf24;
}


/* LOGIN / SIGNUP BUTTON */
.phone-group {
  display: flex;
  gap: 5px;
}

.phone-group select {
  width: 35%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
}

.phone-group input {
  width: 65%;
}

.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

/* Login button */
.auth-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  font-weight: 600;
  border: none;
  cursor: pointer;
  min-height: 40px;
}


.auth-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.user-menu {
  position: relative;
}

.user-menu span {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  color: #000;
  min-width: 200px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  padding: 8px;
  display: none;
  z-index: 1000;
}

.user-menu.open .dropdown {
  display: block;
}
.dropdown a:hover,
.dropdown button:hover {
  background: rgba(0,0,0,0.05);
}

.dropdown a,
.dropdown button {
  padding: 10px 12px;
  display: block;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}


/* ---------------- RESPONSIVE ---------------- */
/* MOBILE FIX – KEEP HEADER IN ONE LINE */
@media (max-width: 640px) {
  .header-bar {
    grid-template-columns: auto 1fr auto; /* ✅ still 3 columns */
    gap: 8px;
  }

  .brand-name {
    font-size: 16px; /* slightly smaller */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .auth-btn,
  .user-menu span {
    padding: 6px 12px;
    font-size: 13px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}



/* Login container */
.login-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  margin: 5vh auto; /* centers with margin instead of flex body */
  text-align: center;
}

/* Logo section */
.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.anim-108 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0078d7;
}

/* Welcome box */
#welcomeBox {
  margin-bottom: 1.5rem;
}

#welcomeBox.hidden {
  display: none;
}

#welcomeBox h2 {
  margin-bottom: 0.5rem;
}

#welcomeBox button {
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#welcomeBox button:hover {
  background: #005fa3;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.input-group small {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.3rem;
}

/* Button */
form button {
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #005fa3;
}

/* Responsive design */
@media (max-width: 768px) {
  .login-container {
    max-width: 90%;
    padding: 1.5rem;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .anim-108 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 1rem;
    margin: 2vh auto;
  }

  form button {
    font-size: 0.9rem;
    padding: 0.7rem;
  }

  .input-group input {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
}
.nav a:hover {
  color: #fbbf24;
}
/*search style code*/
body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}
.search-container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

/* ================= SEARCH PANEL ================= */

.search-panel {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  max-width: 1100px;
  margin: -50px auto 40px;
}

/* SEARCH INPUT */
.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 16px 52px 16px 18px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  outline: none;
  background: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

/* MIC BUTTON */
.mic-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.mic-btn:hover {
  background: #fbbf24;
  color: #000;
  transform: translateY(-50%) scale(1.05);
}

/* FILTER ROW */
.search-select {
  position: relative;
}

.search-select input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.options {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
}

.options li {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

.options li:hover {
  background: #fbbf24;
  color: #000;
}
#stateList, #districtList {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: none;
  z-index: 1000;
}

#stateList li, #districtList li {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

#stateList li:hover, #districtList li:hover {
  background: #fbbf24;
  color: #000;
}
.filter-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.filter-row select {
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-row select:focus {
  outline: none;
  background: #ffffff;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}
/* SEARCH TOP ROW */
.search-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-toggle {
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-toggle:hover {
  background: #fbbf24;
  color: #000;
}

/* FILTER BOX */
.filter-box {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;

  /* animation */
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

.filter-box.show {
  max-height: 200px;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .search-top {
    flex-direction: column;
  }

  .filter-toggle {
    width: 100%;
  }

  .filter-box {
    grid-template-columns: 1fr;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .filter-row {
    grid-template-columns: 1fr;
  }

  .search-panel {
    margin-top: -30px;
    padding: 20px;
  }
}

.results {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  animation: fadeUp .4s ease;
}

.card {
  background: #ffffff;
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeUp 0.5s ease both;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 55px rgba(0,0,0,0.12);
}
.card-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}

.card-header img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fbbf24;
}
/*media card style of search*/
.media-card img,
.media-card video {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

.media-video {
  max-height: 240px;
  background: #000;
}


.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 20px;
  margin: 8px 0;
  font-weight: 500;
}

.contractor {
  background: #fde68a;
  color: #92400e;
}

.material {
  background: #bbf7d0;
  color: #065f46;
}

.rating {
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 6px;
}
/*@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}*/
/* DESIGN full screen view MODAL */
.design-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  z-index: 9999;
}

.design-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 95%;
  max-height: 95%;
  background: #fff;
  border-radius: 14px;
  overflow: auto;
  animation: zoomIn 0.4s ease;
}

.modal-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.modal-details {
  padding: 20px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #fbbf24;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .modal-content img {
    max-height: 60vh;
  }

  .modal-details h2 {
    font-size: 18px;
  }
}

.design-card {
  padding: 0;
  overflow: hidden;
}

.design-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.design-card h3 {
  padding: 10px 15px 0;
}

.design-card p {
  padding: 0 15px 10px;
  font-size: 14px;
}

/* ================= HERO ================= */
/* ================= BRAND SLOGAN ================= */
.brand-slogan {
  margin-bottom: 15px;
  overflow: hidden;
}

.slogan-en,
.slogan-hi {
  display: block;
  font-weight: 600;
  letter-spacing: 1.2px;
  animation: sloganFade 1.5s ease forwards;
  opacity: 0;
}

.slogan-en {
  font-size: 24px;
  color: #fbbf24;
  animation-delay: 0.2s;
}

.slogan-hi {
  font-size: 20px;
  color: #e5e7eb;
  margin-top: 5px;
  animation-delay: 0.6s;
}

@keyframes sloganFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('../images/hero.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.hero-content {
  color: #fff;
  max-width: 600px;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 25px;
}

.btn {
  padding: 5px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  margin-right: 10px;
}
.primary {
  background: #10c3b1;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease; /* smooth animation */
}

.primary:hover {
  transform: scale(1.05); /* slight zoom */
  box-shadow: 0 4px 12px rgba(16, 195, 177, 0.5); /* glow effect */
}

.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary:hover {
  background: #fff;
  color: #10c3b1;
  transform: translateY(-3px); /* lift effect */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}
/*.primary {
  background: #10c3b1;
  color: #000;
}

.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

 ================= SERVICES ================= */
/* ================= CORE SERVICES GRADIENT ================= */
.service-card {
  position: relative;
  padding: 28px;
  border-radius: 14px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    #0f172a,
    #1e293b,
    #fbbf24
  );
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.service-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.service-card p {
  color: #f1f5f9;
  font-size: 14px;
}

/* Hover / Focus effect */
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  animation-duration: 4s;
}
@media (max-width: 768px) {
  .service-card:active {
    animation-duration: 3s;
    transform: scale(0.98);
  }
}
.service-card:nth-child(1) {
  background: linear-gradient(120deg, #0f172a, #1e3a8a, #38bdf8);
}

.service-card:nth-child(2) {
  background: linear-gradient(120deg, #1e293b, #065f46, #22c55e);
}

.service-card:nth-child(3) {
  background: linear-gradient(120deg, #3f1d0b, #92400e, #fbbf24);
}

.service-card:nth-child(4) {
  background: linear-gradient(120deg, #1f2937, #7c2d12, #fb923c);
}

.service-card:nth-child(5) {
  background: linear-gradient(120deg, #020617, #0f766e, #5eead4);
}

.service-card:nth-child(6) {
  background: linear-gradient(120deg, #020617, #4c1d95, #a78bfa);
}


/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* ================= WORKFLOW ================= */
.workflow {
  padding: 60px 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.step {
  padding: 20px;
  background: #0f172a;
  color: #fff;
  border-radius: 6px;
}

/* ================= CTA ================= */
.cta {
  background: #fbbf24;
  padding: 60px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 10px;
}
/* CTA section  
.cta {
  padding: 40px 0;
  background: #f8f8f8;
}*/

/* Button wrapper */
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap; /* critical for responsiveness */
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 120px;
  padding: 12px 20px;

  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;

  border-radius: 6px;
  border: 1px solid #000;

  background-color: #000;
  color: #fff;

  cursor: pointer;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              transform 0.1s ease;

  -webkit-tap-highlight-color: transparent; /* mobile fix */
}

/* Hover (desktop only) */
.cta-btn:hover {
  background-color: #222;
}

/* Active (touch feedback) */
.cta-btn:active {
  transform: scale(0.97);
}

/* Tablet */
@media (max-width: 768px) {
  .cta-btn {
    min-width: 140px;
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    font-size: 16px;
    padding: 14px;
  }
}


/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero h2 {
    font-size: 30px;
  }
}
.services {
  padding: 70px 0;
  background: #f4f492;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}
.section-subtitle {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 15px;
}
.subscription-note {
  margin-top: 24px;
  background: #fff7e6;
  padding: 20px;
  border-left: 6px solid #ffa726;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.subscription-note h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #d35400;
  font-weight: 600;
}

.subscription-note p {
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.6;
}
.plans {
  padding: 70px 0;
  background: #f1f5f9;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.plan-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  text-align: center;
}

.plan-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0f172a;
}

.plan-desc {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 15px;
}

.plan-card ul li {
  font-size: 14px;
  margin-bottom: 8px;
}

.plan-note {
  font-size: 13px;
  color: #777;
}

.featured {
  border: 2px solid #fbbf24;
  transform: scale(1.03);
}
/* ================= SUBSCRIPTION PLANS ================= */
.subscription-section {
  padding: 30px 0;
  background: #6be3e7;
}

.subscription-header {
  text-align: center;
  margin-bottom: 40px;
}

.subscription-header h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.subscription-header p {
  font-size: 15px;
  color: #555;
  max-width: 750px;
  margin: auto;
}

.table-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.table-responsive {
  overflow-x: auto;
}

.subscription-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.subscription-table th,
.subscription-table td {
  padding: 15px;
  text-align: left;
  font-size: 14px;
}

.subscription-table thead {
  background: #0f172a;
  color: #ffffff;
}

.subscription-table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.highlight-row {
  background: #fff7ed;
}

.plan-name {
  font-weight: 600;
}

.plan-tag {
  margin-left: 8px;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 12px;
  background: #fbbf24;
  color: #000;
}

.plan-tag.free {
  background: #e5e7eb;
}

.plan-tag.pro {
  background: #22c55e;
  color: #fff;
}

.duration-pill {
  background: #e5e7eb;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.price-pill {
  font-weight: 600;
}

.price-pill.pro {
  color: #16a34a;
}

.price-pill.free {
  color: #6b7280;
}
/* ================= PAGE BANNER ================= */
.page-banner {
  background: #0f172a;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-banner h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* ================= SERVICES DETAIL ================= */
.services-detail {
  padding: 70px 0;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-img img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-text h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #0f172a;
}

.service-text p {
  margin-bottom: 15px;
}

.service-text ul {
  padding-left: 20px;
}

.service-text ul li {
  margin-bottom: 8px;
}

/* ================= NAV ACTIVE ================= */
.nav .active {
  color: #fbbf24;
  font-weight: 600;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-img img {
    max-width: 100%;
  }
}
/* ================= MORE SERVICES 3D ================= */
.more-services {
  padding: 80px 0;
  background: #ffffff;
}

.service-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  perspective: 1000px;
}

.service-3d-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.service-3d-card h3 {
  color: #0f172a;
  margin-bottom: 10px;
}

.service-3d-card p {
  font-size: 14px;
}

/* 3D Hover Effect */
.service-3d-card:hover {
  transform: rotateY(12deg) rotateX(6deg) translateY(-10px);
  box-shadow: 0 35px 60px rgba(0,0,0,0.2);
}

/* Mobile Safe */
@media (max-width: 768px) {
  .service-3d-card:hover {
    transform: translateY(-10px);
  }
}
/* project and report css*/
/* PAGE HERO */
.page-hero {
  background: linear-gradient(rgba(15,23,42,0.85), rgba(15,23,42,0.85));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

/* PROJECTS */
.projects {
  padding: 70px 0;
  background: #f8fafc;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.project-img {
  height: 160px;
  background: #e5e7eb;
}

.project-info {
  padding: 20px;
}

.status {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.completed {
  background: #22c55e;
  color: #fff;
}

.ongoing {
  background: #f59e0b;
  color: #fff;
}

/* REPORTS */
.reports {
  padding: 25px ;
}

.report-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.report-card {
  background: #ffffff;
  padding: 25px;
  border-left: 5px solid #fbbf24;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.report-card h3 {
  margin-bottom: 10px;
  color: #0f172a;
}
/* PROJECT TABLE */
/* Section wrapper */
.project-table-section {
  padding: 1rem 0; /* use rem for scalability */
  background-color: #a3c2e2; /* explicit property for clarity */
}

/* Table container */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smoother scroll on mobile */
}

/* Table styling */
.project-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Table cells */
.project-table th,
.project-table td {
  padding: 1rem;
  text-align: left;
  font-size: 0.875rem; /* 14px equivalent */
  line-height: 1.4;
}

/* Table header */
.project-table th {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Zebra striping */
.project-table tr:nth-child(even) {
  background-color: #f1f5f9;
}

/* Hover effect for rows */
.project-table tr:hover {
  background-color: #e2e8f0;
  transition: background-color 0.2s ease-in-out;
}

/* Action button */
.view-btn {
  padding: 0.375rem 0.875rem;
  background-color: #fbbf24;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  color: #1f2937;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.view-btn:hover {
  background-color: #f59e0b;
  transform: translateY(-1px);
}

.view-btn:active {
  background-color: #d97706;
  transform: translateY(0);
}
/* MODAL */
/* MODAL OVERLAY */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* MODAL BOX */
.slider-modal {
  background: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

/* SLIDER AREA */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px; /* ✅ FIXED FRAME */
  overflow: hidden;
  background: #000;
  border-radius: 10px;
}

/* IMAGE & VIDEO SAME RULES */
.slider-container img,
.slider-container video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ✅ CRITICAL */
  display: none;
}

/* SHOW ACTIVE MEDIA */
.slider-container img.active,
.slider-container video.active {
  display: block;
}

/* NAV BUTTONS */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
}

.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .slider-container {
    height: 260px;
  }
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
}



.modal-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.modal-images img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}
/* TABLE SEARCH */
.table-search {
  margin-bottom: 1.25rem;
  text-align: right;
}

.table-search input {
  padding: 0.625rem 0.875rem;
  width: 100%;
  max-width: 350px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.table-search input:focus {
  outline: none;
  border-color: #fbbf24;
}
/* Flex wrapper for heading + search */
.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  margin-bottom: 1.25rem;
}

/* Heading */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

/* Search input */
.table-search input {
  padding: 0.625rem 0.875rem;
  width: 100%;
  max-width: 350px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.table-search input:focus {
  outline: none;
  border-color: #fbbf24;
}

/* Responsive tweak: stack heading + search on small screens */
@media (max-width: 600px) {
  .table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .table-search input {
    max-width: 100%;
  }
}
/* SLIDER MODAL */
.slider-modal {
  max-width: 850px;
  text-align: center;
}

.slider-container {
  position: relative;
  margin-top: 20px;
}

.slider-container img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
}

/* NAV BUTTONS */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.image-count {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

/* MOBILE */
@media (max-width: 600px) {
  .slider-container img {
    max-height: 260px;
  }
}
/* CONTACT pages css*/
.contact {
  padding: 70px 0;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #0f172a;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 14px;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
  margin-bottom: 15px;
  color: #0f172a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  cursor: pointer;
}

/* MAP */
.map iframe {
  display: block;
}
/* POLICY PAGES */
.language-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.language-toggle button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  min-width: 120px;
  padding: 10px 18px;

  font-size: 14px;
  font-weight: 600;
  text-align: center;

  border-radius: 6px;
  border: 1px solid #ccc;

  background-color: #f5f5f5;
  color: #000;

  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.language-toggle button:hover {
  background-color: #eaeaea;
}

.language-toggle button.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .language-toggle {
    gap: 8px;
  }

  .language-toggle button {
    width: 100%;
    max-width: 260px;
    font-size: 15px;
    padding: 12px;
  }
}
/* Base Layout */
.policy-content {
  width: 100%;
  padding: 12px 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Text List */
.legal-list {
  padding-left: 18px;
  margin: 0;
  list-style-position: outside;

  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Noto Sans Devanagari",
               "Hind", Arial, sans-serif;

  font-size: 15px;
  line-height: 1.8;

  word-break: break-word;
  overflow-wrap: anywhere;
}

/* List Item */
.legal-list li {
  margin-bottom: 10px;
  color: #222;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  .legal-list {
    font-size: 14.5px;
    line-height: 1.9;
    padding-left: 16px;
  }
}

/* Large Screens */
@media (min-width: 1200px) {
  .legal-list {
    font-size: 16px;
    line-height: 1.85;
  }
}
.policy {
  padding: 70px 0;
  background: #ffffff;
}

.policy h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #0f172a;
}

.policy p,
.policy li {
  font-size: 14px;
  margin-bottom: 10px;
  color: #374151;
}

.policy ul {
  margin-left: 20px;
}
.contractors-hero {
      background: linear-gradient(135deg, #0f172a, #1e293b);
      color: #ffffff;
      padding: 70px 0;
      text-align: center;
    }

    .filters {
      background: #f8fafc;
      padding: 30px;
      margin-top: -40px;
      border-radius: 10px;
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

    .filter-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 15px;
    }

    .filters input,
    .filters select {
      padding: 12px;
      border-radius: 6px;
      border: 1px solid #d1d5db;
      font-size: 14px;
    }

    .contractors {
      padding: 80px 0;
    }

    .contractor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
    }

    .contractor-card {
      background: #fff;
      border-radius: 14px;
      padding: 25px;
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      animation: fadeUp 0.6s ease forwards;
    }

    .contractor-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    }

    .contractor-header {
      display: flex;
      gap: 15px;
      align-items: center;
      margin-bottom: 15px;
    }

    .contractor-header img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #fbbf24;
    }

    .contractor-header h3 {
      margin: 0;
      font-size: 18px;
      color: #0f172a;
    }

    .contractor-header span {
      font-size: 13px;
      color: #64748b;
    }

    .rating {
      font-weight: 600;
      color: #f59e0b;
      margin: 8px 0;
    }

    .meta {
      font-size: 13px;
      color: #475569;
      margin-bottom: 10px;
    }

    .desc {
      font-size: 14px;
      color: #334155;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    /*data maths list css */
    .math-card {
  background: #ffffff;
  border-left: 5px solid #6366f1;
}

.formula-box {
  background: #f1f5f9;
  padding: 12px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
  text-align: center;
}

.formula-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin: 10px 0;
}

.formula-desc {
  font-size: 14px;
  color: #475569;
}
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.image-modal.show {
  display: flex;
}

.image-modal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

/* Mobile friendly */
@media (max-width: 768px) {
  .modal-close {
    font-size: 32px;
    right: 15px;
  }
}
.kids-card {
  text-align: center;
  padding: 18px;
}

.kids-3d-box {
  width: 140px;
  height: 140px;
  margin: auto;
  background: linear-gradient(145deg, #fde68a, #fef3c7);
  border-radius: 20px;
  box-shadow:
    6px 6px 18px rgba(0,0,0,0.18),
    -6px -6px 18px rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(700px) rotateX(8deg);
}

.kids-3d-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.kids-card h3 {
  margin-top: 12px;
  font-size: 18px;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.quiz-option {
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.quiz-option:hover {
  transform: scale(1.04);
  background: #e0f2fe;
}

.quiz-option:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* FEEDBACK AREA */
.quiz-feedback {
  margin-top: 18px;
  font-size: 32px;
  font-weight: 800;
  text-align: center;
}

/* ✅ CORRECT */
.correct {
  color: #16a34a;
  animation: pop 0.4s ease;
}

/* ❌ WRONG */
.wrong {
  color: #dc2626;
  animation: shake 0.35s ease;
}

/* ANIMATIONS */
@keyframes pop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-6px); }
  100% { transform: translateX(0); }
}
/*search loader code css of */
.search-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.loader-108 {
  font-size: 42px;
  font-weight: bold;
  color: #f97316;
  animation: upDown108 0.8s ease-in-out infinite;
}

@keyframes upDown108 {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.hidden {
  display: none;
}
.quiz-voice {
  display: flex;
  gap: 10px;
  margin: 8px 0 12px;
}

.quiz-voice button {
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  cursor: pointer;
}
/*it is the contact and whatsapp button css*/
.contact-actions {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

/* Call button  and whatsapp button in contractor and materila button css*/
.call-btn {
  background-color: #e0f2fe;
  color: #0369a1;
}

/* WhatsApp button */
.whatsapp-btn {
  background-color: #dcfce7;
  color: #166534;
}

/* Hover only on desktop */
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
}

/* Touch feedback */
.btn:active {
  transform: scale(0.97);
}

/* Accessibility */
.btn:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
}
/*calculator css
.calc-result {
  margin: 10px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f0fdf4;
  color: #166534;
  font-size: 18px;
  font-weight: bold;
}

.hidden {
  display: none;
}
.calc-steps {
  margin-top: 8px;
  font-size: 14px;
  color: #065f46;
}*/
/* cear button css*/
.clear-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: #fee2e2;
  color: #991b1b;
  cursor: pointer;
}
/* pagination code css here for infinte scroll*/
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.pagination button {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
