:root {
  --navy: #18392b;
  --navy2: #295243;

  --gold: #c2a878;
  --gold2: #e3d5b8;

  --white: #fefcf8;
  --beige: #f5f1e8;

  --muted: #6f746d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(8, 27, 48, 0.18);
  --radius: 16px;
  --font-head: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-decoration: none;
}

.disclaimer {
  width: 100%;
  height: 100vh;
  background-color: rgba(31, 29, 29, 0.781);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 800;
  display: none;
}
.disclaimer .dis {
  width: 500px;
  height: 350px;
  text-align: center;
  border-radius: 0.5rem;
  color: var(--beige);
  background-color: white;
  border-radius: 1rem;
  padding-bottom: 10px;
}
.disclaimer .dis h2 {
  padding: 0.5rem 0;
  align-items: center;
  text-align: center;
  background-color: #18392bef;
  border-radius: 0.5rem 0.5rem 0 0;
}
.disclaimer .dis p {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
  padding: 0 0.4rem;
}
.disclaimer .dis button {
  padding: 0.3rem 0.7rem;
  border: none;
  font-weight: 900;
  background-color: #c2a878;
  border-radius: 1rem;
  color: var(--beige);
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.disclaimer .dis button:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 3rem #e3d5b8;
}
.disclaimer .dis strong {
  color: var(--gold);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1180px, 92%);
  margin: auto;
}
.section {
  padding: 112px 0;
}
.beige {
  background: var(--beige);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: 0.35s;
}
.site-header.scrolled {
  background: rgba(8, 27, 48, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.navbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
}
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}
.logo-mark img {
  border-radius: 50%;
  width: 100%;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
  z-index:10;
}
.nav-menu a:not(.btn) {
  font-size: 14px;
  opacity: 0.9;
  position: relative;
  
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: 0.3s;
}
.nav-menu a:hover::after {
  width: 100%;
}
.dropdown-item:not(.btn)::after {
  display: none;
}
.dropdown-item:hover {
  background-color: var(--gold);
  color: var(--beige);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: 0.3s;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  box-shadow: 0 14px 32px rgba(199, 151, 47, 0.3);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  backdrop-filter: blur(12px);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn:hover {
  transform: translateY(-3px);
}
.ripple span.ripple-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.45);
  animation: ripple 0.7s linear;
}
@keyframes ripple {
  from {
    width: 0;
    height: 0;
    opacity: 1;
  }
  to {
    width: 420px;
    height: 420px;
    opacity: 0;
  }
}
.hero {
  min-height: 100vh;
  background: radial-gradient(
    circle at 75% 30%,
    #173a60 0%,
    var(--navy) 45%,
    #04101f 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 86px;
  color: #fff;
}
.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.eyebrow,
.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1,
.section h2,
.cta h2 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 55px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold), #fff2b7);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-text {
  max-width: 640px;
  margin: 26px 0 34px;
  color: #d7e1ea;
  font-size: 16px;
  line-height: 23px;
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.hero-mini {
  display: flex;
  gap: 22px;
  margin-top: 36px;
  color: #becbd7;
  font-family: var(--font-mono);
  font-size: 12px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 43px;
}
.hero-visual img {
  height: 560px;
  width: 100%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  filter: saturate(0.9);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
}
.floating-card {
  position: absolute;
  z-index: 3;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}
.card-a {
  top: 54px;
  left: -28px;
}
.card-b {
  top: 140px;
  right: -30px;
}
.card-c {
  bottom: 130px;
  left: -35px;
}
.card-d {
  bottom: 70px;
  right: 40px;
}
.card-e {
  top: 260px;
  left: 35%;
}
@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}
.connect-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.connect-lines path {
  fill: none;
  stroke: rgba(199, 151, 47, 0.55);
  stroke-width: 1.3;
  stroke-dasharray: 8 10;
  animation: dash 8s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -120;
  }
}
.strip {
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 28px 0;
}
.trust-grid div {
  border-right: 1px solid #e4e8ee;
}
.trust-grid div:last-child {
  border-right: 0;
}
.trust-grid strong {
  display: block;
  font-size: 34px;
  font-family: var(--font-head);
}
.trust-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: 30px;
  box-shadow: var(--shadow);
  height: 620px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  right: -25px;
  bottom: 38px;
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.section h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  color: var(--navy);
}
.about-content p,
.section-head p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.8;
}
.small-timeline {
  margin: 32px 0;
  display: grid;
  gap: 18px;
}
.small-timeline article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(8, 27, 48, 0.08);
}
.small-timeline span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--beige);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 900;
}
.text-link {
  font-weight: 900;
  color: var(--gold);
}
.center {
  text-align: center;
  margin-inline: auto;
}
.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.slider-shell {
  position: relative;
}
.slider-window {
  overflow: hidden;
  border-radius: 28px;
}
.slider-track {
  display: flex;
  gap: 22px;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.service-track .service-card {
  flex: 0 0 calc((100% - 66px) / 4);
  min-height: 280px;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(8, 27, 48, 0.1);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 35px rgba(8, 27, 48, 0.14);
  font-size: 34px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  transition: 0.3s;
}
.slider-btn:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.slider-btn.prev {
  left: -24px;
}
.slider-btn.next {
  right: -24px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #c9d0d8;
  cursor: pointer;
  transition: 0.3s;
}
.slider-dots button.active {
  width: 32px;
  background: var(--gold);
}
.service-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(8, 27, 48, 0.08);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 14px 45px rgba(8, 27, 48, 0.07);
  transition: 0.35s;
}
.service-card img {
  width: 100%;
  height: 200px;
}
.service-card i {
  font-style: normal;
  font-size: 30px;
  color: var(--gold);
}
.service-card h3 {
  margin: 22px 0 12px;
}
.service-card p {
  color: var(--muted);
  line-height: 1.65;
}
.service-card a {
  display: inline-block;
  margin-top: 22px;
  font-weight: 900;
  color: var(--gold);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(8, 27, 48, 0.14);
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-line::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  z-index: -1;
}
.process-step {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(8, 27, 48, 0.07);
}
.process-step span {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 900;
}
.process-step h3 {
  margin: 16px 0 10px;
  font-size: 1rem;
}
.process-step p {
  color: var(--muted);
}
.dark-section {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-section h2 {
  color: #fff;
}
.gold {
  color: var(--gold);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.why-title p:not(.section-label) {
  color: #c9d2dc;
  line-height: 1.8;
  margin-top: 22px;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.why-cards article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px;
  font-weight: 800;
  transition: 0.3s;
}
.why-cards article:hover {
  background: rgba(199, 151, 47, 0.18);
  transform: translateY(-5px);
}
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 22px;
}
.project-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-card.tall {
  grid-row: span 2;
}
.project-card.wide {
  grid-column: span 2;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 27, 48, 0.86), transparent 60%);
  opacity: 0.9;
}
.project-card div {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: 0.35s;
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-card:hover div {
  opacity: 1;
  transform: none;
}
.testimonial-shell {
  max-width: 850px;
  margin: auto;
}
.testimonial-track {
  gap: 0;
}
.testimonial {
  flex: 0 0 100%;
  max-width: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(8, 27, 48, 0.08);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
  transform: scale(0.96);
  opacity: 0.55;
  transition: 0.6s;
}
.testimonial.is-active {
  opacity: 1;
  transform: scale(1);
}
.testimonial img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}
.testimonial p {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 20px;
}
.testimonial span {
  display: block;
  color: var(--gold);
  margin-top: 8px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
}
.accordion {
  display: grid;
  gap: 14px;
}
.accordion-btn {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 18px;
  padding: 22px;
  font-weight: 900;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: 0.35s;
  background: #f8fafc;
  border-radius: 0 0 18px 18px;
}
.accordion-panel p {
  padding: 0 22px 22px;
}
.accordion-btn.active + .accordion-panel {
  max-height: 180px;
}
.cta {
  background: var(--navy);
  padding: 96px 0;
  color: #fff;
}
.cta-card {
  text-align: center;
  border-radius: 36px;
  padding: 80px 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(199, 151, 47, 0.14)
  );
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.24);
}
.cta h2 {
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
}
.center-actions {
  justify-content: center;
  margin-top: 30px;
}
.footer {
  background: #04101f;
  color: #fff;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer p,
.footer a {
  display: block;
  color: #b9c5d1;
  line-height: 1.8;
  margin: 8px 0;
}
.footer h3 {
  margin-bottom: 14px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.copyright {
  text-align: center;
  color: #8996a4;
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
}
.float-call,
.float-whatsapp,
.back-top {
  position: fixed;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 40;
  border: 0;
}
.float-call {
  bottom: 88px;
  background-color: #c9d2dc;
}
.float-whatsapp {
  bottom: 146px;
  background: transparent;
}
.back-top {
  bottom: 30px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
}
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-up {
  transform: translateY(45px);
}
.reveal-left {
  transform: translateX(-45px);
}
.reveal-right {
  transform: translateX(45px);
}
.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-track .service-card {
    flex-basis: calc((100% - 22px) / 2);
  }
  .process-line {
    grid-template-columns: 1fr 1fr;
  }
  .process-line::before {
    display: none;
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-visual {
    min-height: auto;
  }
  .hero-visual img {
    height: 460px;
  }
}

@media (max-width: 760px) {
  .navbar {
    height: 76px;
    width: 100%;
  }
  .menu-toggle {
    display: block;
    z-index: 55;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 86%);
    background: rgba(8, 27, 48, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 34px;
    transition: 0.35s;
  }
  .nav-menu.open {
    right: 0;
  }

  .hero {
    padding: 120px 0 70px;
  }
  .hero-grid {
    gap: 34px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-mini {
    gap: 12px;
  }
  .floating-card {
    font-size: 12px;
    padding: 10px 12px;
  }
  .card-b {
    right: 8px;
  }
  .card-c {
    left: 6px;
  }
  .card-a {
    left: 6px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid div {
    border: 0;
  }
  .section {
    padding: 76px 0;
  }
  .about-image img {
    height: 700px;
    width: 100%;
  }

  .service-grid,
  .process-line,
  .why-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .service-track .service-card {
    flex-basis: 100%;
    min-height: 260px;
  }
  .slider-btn.prev {
    left: 8px;
  }
  .slider-btn.next {
    right: 8px;
  }
  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
  .masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .project-card.wide {
    grid-column: span 1;
  }
  .project-card.tall {
    grid-row: span 1;
  }
  .testimonial p {
    font-size: 22px;
  }
  .testimonial {
    padding: 30px 22px;
  }
  .cta-card {
    padding: 56px 20px;
  }
  .mouse-glow {
    display: none;
  }
}

/* ===== Mobile responsive stability fix (design same, only layout fix) ===== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main,
section,
.container,
.slider-shell,
.slider-window {
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

table {
  max-width: 100%;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    position: relative;
  }

  .container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header,
  .navbar,
  .hero,
  .section,
  .strip,
  .beige,
  .dark-section,
  .cta,
  .footer {
    width: 100%;
    max-width: 100%;
  }

  .disclaimer .dis {
    width: 280px;
    height: 390px;
    overflow: scroll;
  }

  .hero-grid,
  .about-grid,
  .why-grid,
  .faq-grid,
  .trust-grid,
  .process-line,
  .why-cards,
  .footer-grid,
  .masonry {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .section h2,
  .cta h2 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 46px);
  }

  .section h2 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .hero-visual,
  .about-image,
  .projects,
  .testimonials,
  .services {
    overflow: hidden;
  }

  .hero-visual {
    padding: 0;
    margin-top: 10%;
  }
  .hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
  }

  .floating-card {
    max-width: calc(100% - 24px);
  }

  .card-a,
  .card-c {
    left: 10px;
  }

  .card-b {
    right: 10px;
  }

  .card-d {
    right: 14px;
  }

  .card-e {
    left: auto;
    right: 14px;
  }

  .about-badge {
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .slider-shell {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }

  .slider-window {
    width: 100%;
    overflow: hidden;
  }

  .slider-track {
    width: 100%;
    max-width: 100%;
  }

  .service-track {
    gap: 0;
  }

  .service-track .service-card,
  .service-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .service-card img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
  }

  .testimonial-track {
    gap: 0;
  }

  .testimonial {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .masonry {
    overflow: hidden;
  }

  .project-card {
    width: 100%;
    max-width: 100%;
  }

  .process-step,
  .small-timeline article,
  .why-cards article,
  .accordion-btn,
  .testimonial,
  .service-card {
    overflow-wrap: anywhere;
  }
  .process-step {
    font-size: 1rem;
  }
  .reveal-left,
  .reveal-right {
    transform: translateY(45px);
  }

  .float-call,
  .float-whatsapp,
  .back-top {
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .float-whatsapp {
    bottom: 128px;
  }

  .float-call {
    bottom: 78px;
  }

  .back-top {
    bottom: 26px;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 42px);
  }

  .trust-grid strong {
    font-size: 30px;
  }

  .testimonial p {
    font-size: 20px;
  }
}

/* Shared header responsive fixes */
.dropdown-toggle {
  background: transparent;
  border: 0;
  color: #f5f1e8;
  font: inherit;
  font-size: 14px;
  padding: 0;
}

@media (max-width: 760px) {
  .logo {
    min-width: 0;
    max-width: calc(100% - 58px);
  }

  .logo > span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 4vw, 16px);
  }

  .nav-menu {
    overflow-y: auto;
    gap: 22px;
    z-index: 50;
  }

  .nav-menu > a,
  .nav-menu .dropdown,
  .dropdown-toggle {
    width: 100%;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-height: 44vh;
    overflow-y: auto;
    margin-top: 10px !important;
  }
}

/* Building Plan Sanction & Liaison Work detail pages */
.service-detail-page {
  background: var(--navy, #081b30);
  color: var(--cream, #f5f1e8);
  padding: 150px 0 90px;
  overflow: hidden;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.service-detail-content h1 {
  margin: 14px 0 22px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.service-detail-content h1 span {
  color: var(--gold, #c7972f);
}
.service-detail-content p {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  opacity: 0.82;
}

.service-detail-image {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(199, 151, 47, 0.42);
  border-radius: 4px 80px 4px 4px;
  padding: 12px;
}

.service-detail-image::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(199, 151, 47, 0.18);
  z-index: 0;
}

.service-detail-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 494px;
  object-fit: cover;
  border-radius: 2px 68px 2px 2px;
}
.service-location {
  margin-top: 70px;
}
.service-location-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(199, 151, 47, 0.28);
  background: rgba(255, 255, 255, 0.035);
}
.location-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid var(--gold, #c7972f);
  border-radius: 50%;
  color: var(--gold, #c7972f);
  font-size: 31px;
}
.service-location h2 {
  margin: 7px 0 5px;
  font-size: clamp(22px, 3vw, 34px);
}
.service-location p {
  margin: 0;
  opacity: 0.72;
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer iframe {
  min-height: 180px;
}

@media (max-width: 900px) {
  .service-detail-page {
    padding-top: 125px;
  }
  .service-detail-hero {
    grid-template-columns: 1fr;
  }
  .service-detail-image {
    min-height: 430px;
    order: -1;
  }
  .service-detail-image img {
    min-height: 404px;
  }
}

@media (max-width: 600px) {
  .service-detail-page {
    padding: 105px 0 65px;
  }
  .service-detail-hero {
    gap: 32px;
  }
  .service-detail-content h1 {
    font-size: clamp(40px, 13vw, 58px);
  }
  .service-detail-image {
    min-height: 300px;
    padding: 8px;
    border-radius: 3px 45px 3px 3px;
  }
  .service-detail-image img {
    min-height: 282px;
    border-radius: 2px 37px 2px 2px;
  }
  .service-detail-image::before {
    inset: -10px 10px 10px -10px;
  }
  .service-location {
    margin-top: 45px;
  }
  .service-location-card {
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }
  .location-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 24px;
  }
  .service-location h2 {
    font-size: 21px;
    overflow-wrap: anywhere;
  }
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  height: 100%;
  text-align: center;
  transition: 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--gold);
  transition: 0.3s;
}

.service-card a:hover {
  color: #084298;
}

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

@media (max-width: 767px) {
  .service-card {
    padding: 20px;
  }

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

  .service-card h3 {
    font-size: 20px;
  }
}

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