/* ===== Vamika Builders & Developers – Red (#d00504) & White only =====
   Palette: brand red #d00504, deep red, soft red, pink-white, white. */
:root {
  --navy: #7a0302;
  /* deep red: headings, footer */
  --navy-2: #a30403;
  /* strong red */
  --gold: #d00504;
  /* BRAND RED: buttons, highlights, icons */
  --gold-2: #ff8a89;
  /* soft red: accents on dark-red areas */
  --red-dark: #a30403;
  /* hover red */
  --pink: #fde8e8;
  /* light red tint backgrounds */
  --cream: #F3E6D5;
  /* near-white warm background */
  --ink: #2a1414;
  --muted: #7a6a6a;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(208, 5, 4, .14);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto
}

section {
  padding: 90px 0
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  color: var(--navy)
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 10px
}

.lead {
  color: var(--muted);
  max-width: 620px
}

.center {
  text-align: center
}

.center .lead {
  margin-inline: auto
}

/* Header: transparent at top (white text), white with red text when scrolled */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  box-shadow: none;
  transition: background .3s ease, box-shadow .3s ease
}

header.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(208, 5, 4, .15)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  transition: color .3s
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .6)
}

.logo small {
  display: block;
  font-family: 'Segoe UI', sans-serif;
  font-size: .62rem;
  letter-spacing: .2em;
  color: var(--gold-2);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: -3px;
  transition: color .3s
}

header.scrolled .logo {
  color: var(--navy)
}

header.scrolled .logo small {
  color: var(--gold)
}

header.scrolled .logo-mark {
  box-shadow: none
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none
}

nav a {
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent
}

nav a:hover {
  color: var(--gold-2)
}

nav a.active {
  border-bottom-color: var(--gold-2)
}

header.scrolled nav a {
  color: var(--navy)
}

header.scrolled nav a:hover {
  color: var(--gold)
}

header.scrolled nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold)
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit
}

.btn-gold {
  background: var(--gold);
  color: #fff
}

.btn-gold:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px)
}

.btn-outline {
  border-color: rgba(255, 255, 255, .8);
  color: var(--white)
}

.btn-outline:hover {
  background: var(--white);
  color: var(--gold)
}

.nav-cta {
  padding: 9px 22px
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer
}

header.scrolled .menu-btn {
  color: var(--navy)
}

/* Hero (home) */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 110px 0 90px
}

.hero .slides {
  position: absolute;
  inset: 0
}

.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s ease
}

.hero .slide.active {
  opacity: 1;
  transform: scale(1)
}

.hero .container {
  position: relative;
  z-index: 2
}

.hero .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background: rgba(0, 0, 0, .2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s
}

.hero .arrow:hover {
  background: var(--gold);
  border-color: var(--gold)
}

.hero .arrow.prev {
  left: 20px
}

.hero .arrow.next {
  right: 20px
}

.hero .dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px
}

.hero .dots button {
  width: 11px;
  height: 11px;
  border-radius: 10px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: all .3s
}

.hero .dots button.active {
  width: 30px;
  background: #fff
}

@media(max-width:600px) {
  .hero .arrow {
    display: none
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 4.1rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(60, 0, 0, .5)
}

.hero h1 span {
  color: var(--gold-2)
}

.hero p {
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 34px;
  text-shadow: 0 2px 10px rgba(60, 0, 0, .5)
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

/* Page banner (inner pages): red gradient strip */
.page-hero {
  padding: 150px 0 70px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #a30403, #d00504 60%, #e84a49)
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 70%)
}

.page-hero .container {
  position: relative;
  z-index: 2
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 10px
}

.crumbs {
  color: #ffe3e3;
  font-size: .92rem
}

.crumbs a {
  color: #fff;
  text-decoration: underline
}

/* Stats: light red tint */
.stats {
  background: var(--pink);
  padding: 0;
  margin-top: -1px
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center
}

.stat {
  padding: 42px 10px;
  border-right: 1px solid rgba(208, 5, 4, .15)
}

.stat:last-child {
  border: 0
}

.stat b {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.4rem;
  color: var(--gold)
}

.stat span {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-visual {
  aspect-ratio: 4/4.2;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #7a0302, #d00504 60%, #ff8a89);
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  overflow: hidden
}

.about-visual svg {
  width: 70%;
  opacity: .9
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 700
}

.about-badge small {
  display: block;
  color: var(--muted);
  font-weight: 500
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px
}

.ticks {
  list-style: none;
  margin: 22px 0 28px
}

.ticks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 500
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: .78rem;
  display: grid;
  place-items: center;
  top: 3px;
  font-weight: 800
}

/* Cards / services */
.alt {
  background: var(--cream)
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px
}

.card {
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(208, 5, 4, .08);
  transition: transform .25s, box-shadow .25s;
  border-bottom: 4px solid transparent;
  text-align: left
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-bottom-color: var(--gold)
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d00504, #a30403);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px
}

.card p {
  color: var(--muted);
  font-size: .95rem
}

.card ul {
  margin: 12px 0 0 18px;
  color: var(--muted);
  font-size: .9rem
}

/* Mission / vision */
.mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 40px
}

.mv .card {
  border-left: 4px solid var(--gold);
  border-bottom: 0
}

/* Team */
.member {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 18px;
  box-shadow: 0 4px 18px rgba(208, 5, 4, .08)
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a30403, #ff6b6a);
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.8rem
}

.member h3 {
  font-size: 1.05rem
}

.member span {
  color: var(--muted);
  font-size: .88rem
}

/* Timeline */
.timeline {
  max-width: 760px;
  margin: 46px auto 0;
  position: relative;
  padding-left: 34px;
  text-align: left
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--gold), var(--gold-2))
}

.tl {
  position: relative;
  margin-bottom: 30px
}

.tl::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold)
}

.tl b {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.1rem
}

.tl p {
  color: var(--muted);
  font-size: .95rem
}

/* Service detail rows */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid #f6dcdc
}

.svc-row:last-child {
  border: 0
}

.svc-row.flip .svc-art {
  order: 2
}

.svc-art {
  height: 280px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow)
}

.svc-text h3 {
  font-size: 1.6rem;
  margin-bottom: 10px
}

.svc-text p {
  color: var(--muted);
  margin-bottom: 14px
}

/* Projects */
.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 40px
}

.filters button {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid #f3c9c9;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  transition: .2s;
  font-family: inherit
}

.filters button.active,
.filters button:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold)
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(208, 5, 4, .1);
  background: var(--white);
  transition: transform .25s
}

.project:hover {
  transform: translateY(-5px)
}

.project.hide {
  display: none
}

.thumb {
  height: 210px;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
  color: rgba(255, 255, 255, .9);
  position: relative
}

.t1 {
  background: linear-gradient(135deg, #8f0403, #d00504)
}

.t2 {
  background: linear-gradient(135deg, #a30403, #ff6b6a)
}

.t3 {
  background: linear-gradient(135deg, #6e0302, #d00504)
}

.t4 {
  background: linear-gradient(135deg, #d00504, #ff9a99)
}

.t5 {
  background: linear-gradient(135deg, #7a0302, #e84a49)
}

.t6 {
  background: linear-gradient(135deg, #b80f0e, #ffb3b2)
}

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: .72rem;
  background: rgba(255, 255, 255, .95);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 700
}

.p-body {
  padding: 22px
}

.p-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px
}

.p-body p {
  color: var(--muted);
  font-size: .9rem
}

.p-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: .8rem;
  color: var(--navy);
  font-weight: 600
}

/* Why: light red section with white cards */
.why {
  background: var(--pink);
  color: var(--ink)
}

.why h2 {
  color: var(--navy)
}

.why .lead {
  color: var(--muted)
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px
}

.why-item {
  padding: 28px 22px;
  border: 1px solid #f6caca;
  border-radius: var(--radius);
  background: var(--white);
  text-align: left;
  box-shadow: 0 4px 16px rgba(208, 5, 4, .06)
}

.why-item .num {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px
}

.why-item h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 8px
}

.why-item p {
  color: var(--muted);
  font-size: .92rem
}

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  counter-reset: s
}

.step {
  text-align: center;
  padding: 10px 14px
}

.step::before {
  counter-increment: s;
  content: counter(s);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-weight: 800;
  font-size: 1.2rem
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 6px
}

.step p {
  color: var(--muted);
  font-size: .92rem
}

/* CTA band: soft red tint */
.cta {
  background: linear-gradient(120deg, #fde8e8, #ffd3d3);
  color: var(--ink);
  text-align: center;
  padding: 70px 0
}

.cta h2 {
  color: var(--navy)
}

.cta p {
  color: var(--muted);
  margin-bottom: 26px
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: left
}

.faq details {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(208, 5, 4, .08);
  margin-bottom: 12px;
  padding: 18px 22px
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1
}

.faq details[open] summary::after {
  content: "–"
}

.faq p {
  color: var(--muted);
  margin-top: 10px;
  font-size: .95rem
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  margin-top: 10px
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px
}

.info-item .ic {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.2rem
}

.info-item b {
  display: block;
  color: var(--navy)
}

.info-item span {
  color: var(--muted);
  font-size: .95rem
}

.map-box {
  height: 220px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fde8e8, #f9c9c9);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: .95rem;
  text-align: center;
  padding: 20px
}

form {
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #f3c9c9;
  border-radius: 10px;
  font: inherit;
  margin-bottom: 16px;
  background: #fffafa;
  transition: border .2s
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--gold)
}

textarea {
  min-height: 110px;
  resize: vertical
}

form .btn {
  width: 100%
}

.note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px
}

/* 404 */
.nf {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 20px 60px
}

.nf h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--gold)
}

/* Footer: deep red */
footer {
  background: #6e0302;
  color: #f6bcbb;
  padding: 50px 0 24px
}

.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .18)
}

footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-family: Georgia, serif
}

footer li {
  list-style: none;
  margin-bottom: 8px;
  font-size: .92rem
}

footer a:hover {
  color: #fff
}

.copy {
  text-align: center;
  padding-top: 22px;
  font-size: .85rem
}

/* WhatsApp button */
.float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  transition: transform .2s
}

.float:hover {
  transform: scale(1.08)
}

.float svg {
  width: 32px;
  height: 32px;
  fill: #fff
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .7s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* Tablet */
@media(max-width:900px) {
  section {
    padding: 70px 0
  }

  .menu-btn {
    display: block
  }

  nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(208, 5, 4, .12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s
  }

  nav.open {
    max-height: 460px
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 4%
  }

  nav li a,
  header.scrolled nav li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #f6dcdc;
    color: var(--navy)
  }

  nav a.active {
    color: var(--gold)
  }

  .nav-cta {
    display: none
  }

  .about-grid,
  .contact-grid,
  .svc-row,
  .mv {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .svc-row.flip .svc-art {
    order: 0
  }

  .cards,
  .projects {
    grid-template-columns: 1fr 1fr
  }

  .stats-grid,
  .why-grid,
  .steps,
  .team {
    grid-template-columns: 1fr 1fr
  }

  .stat:nth-child(2) {
    border-right: 0
  }

  .foot {
    grid-template-columns: 1fr 1fr
  }
}

/* Services cards: uppercase titles + Read More link */
.svc-cards .card h3 {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.1rem
}

.svc-cards .card p {
  margin-bottom: 16px
}

.read-more {
  color: var(--gold);
  font-weight: 700;
  font-size: .9rem
}

.read-more::after {
  content: " →";
  transition: margin .2s
}

.read-more:hover {
  color: var(--red-dark)
}

.read-more:hover::after {
  margin-left: 4px
}

.card h3 a {
  color: inherit;
  transition: color .2s
}

.card h3 a:hover {
  color: var(--gold)
}

/* so the fixed header doesn't cover the section when jumping to it */
.svc-row {
  scroll-margin-top: 90px
}



/* Phone */
@media(max-width:600px) {

  .cards,
  .projects,
  .why-grid,
  .steps,
  .row,
  .foot,
  .team {
    grid-template-columns: 1fr
  }
}

/* Services: photo boxes (3 per row) */
.svc-grid {
  --svc-bg: #ffffff;
  /* panel background */
  --svc-title: #d00504;
  /* title colour */
  --svc-text: #5a4a4a;
  /* description colour */
  --svc-line: #d00504;
  /* line under the image */
  --svc-link: #d00504;
  /* Read More colour */

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 26px;
  margin-top: 50px;
  text-align: left
}

.svc-box {
  display: flex;
  flex-direction: column;
  background: var(--svc-bg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s
}

.svc-box:hover {
  transform: translateY(-6px)
}

.svc-img {
  display: block;
  height: 270px;
  background: linear-gradient(135deg, #a30403, #d00504);
  border-bottom: 5px solid var(--svc-line);
  overflow: hidden
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.svc-box:hover .svc-img img {
  transform: scale(1.06)
}

.svc-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.svc-body h3 {
  font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px
}

.svc-body h3 a {
  color: var(--svc-title);
  transition: color .2s
}

.svc-body h3 a:hover {
  color: var(--red-dark)
}

.svc-body p {
  color: var(--svc-text);
  font-size: .98rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1
}

/* small text link instead of a button */
.svc-btn {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  color: var(--svc-link);
  font-size: .9rem;
  font-weight: 700;
  transition: color .2s
}

.svc-btn:hover {
  color: var(--red-dark);
  text-decoration: underline;
  transform: none
}

@media(max-width:900px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .svc-grid {
    grid-template-columns: 1fr
  }

  .svc-img {
    height: 230px
  }
}

/* ===== Add to the END of css/style.css ===== */

/* Image logo */
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .logo-img {
    height: 36px;
  }
}

/* Footer logo on dark red background */
footer .logo-img {
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Other-services links */
.svc-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.svc-links a {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid #f3c9c9;
  background: var(--white);
  font-weight: 600;
  color: var(--navy);
  transition: .2s;
}

.svc-links a:hover,
.svc-links a.current {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Colus font */
:root {
  --font-display: 'Colus';
}

h1,
h2,
h3,
h4,
.logo,
.stat b,
.tl b,
.avatar,
.why-item .num,
.svc-body h3,
footer h4 {
  font-family: var(--font-display);
  font-weight: 400;
  /* Colus has only one weight, so this avoids fake bold */
}

body,
input,
select,
textarea,
button {
  font-family: 'Colus';
}

.logo small {
  font-family: 'Colus';
}


/* Project photos */
.thumb {
  overflow: hidden;
}

.thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.project:hover .thumb img {
  transform: scale(1.06);
}

/* ===== Scroll-zoom images =====
   Applies to: About image (home), Services cards, service pages, Projects.
   The hero slider is NOT touched. */

/* Lenis smooth scroll needs native smooth-scroll off */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Image boxes crop the zoomed image */
.about-visual,
.svc-img,
.thumb {
  overflow: hidden;
}

/* --zoom is updated by JS while scrolling (1.4 at the edges, 1 in the middle) */
.about-visual img,
.svc-img img,
.thumb img {
  transform: scale(var(--zoom, 1.4));
  transform-origin: 50% 50%;
  will-change: transform;
  transition: none;
}

/* Replace the old hover-zoom so it doesn't fight the scroll effect */
.svc-box:hover .svc-img img,
.project:hover .thumb img {
  transform: scale(var(--zoom, 1.4));
}

@media (prefers-reduced-motion: reduce) {

  .about-visual img,
  .svc-img img,
  .thumb img {
    transform: none;
  }
}

/* Team grid (base) */
.team {
  display: grid;
  gap: 24px;
  margin-top: 50px;
  margin-inline: auto;
}

/* ===== Vamika – Hover Effects ===== */

/* ---------- 1. LOGO ---------- */
.logo {
  transition: transform .3s ease, filter .3s ease;
}

.logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 10px rgba(208, 5, 4, .35));
}

.logo-img {
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.logo:hover .logo-img {
  transform: rotate(-4deg) scale(1.08);
}

/* ---------- 2. NAV LINKS: underline grows from the centre (desktop) ---------- */
@media (min-width: 901px) {
  nav a {
    border-bottom: 0;
    background: linear-gradient(currentColor, currentColor) no-repeat 50% 100% / 0 2px;
    transition: color .2s, background-size .35s ease;
  }

  nav a:hover,
  nav a.active {
    background-size: 100% 2px;
  }

  nav a.active {
    border-bottom: 0;
  }

  nav a:hover {
    transform: translateY(-1px);
  }
}

/* ---------- 3. BUTTONS: shine sweep + lift + glow ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left .6s ease;
}

.btn:hover::before {
  left: 130%;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(208, 5, 4, .35);
}

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

.btn-outline:hover {
  box-shadow: 0 10px 22px rgba(255, 255, 255, .25);
}

/* CTA band: invert the button (white with red text) */
.cta .btn-gold {
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}

.cta .btn-gold:hover {
  background: #fff;
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- 4. HERO SLIDER ---------- */
.hero .arrow {
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.hero .arrow:hover {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .15);
}

.hero .arrow:active {
  transform: translateY(-50%) scale(.95);
}

.hero .dots button:hover {
  background: #fff;
  transform: scale(1.35);
}

.hero .dots button.active:hover {
  transform: none;
}

/* ---------- 5. ABOUT IMAGE: lift, red wash, corner frame ---------- */
.about-visual {
  transition: transform .4s ease, box-shadow .4s ease;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 10px;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}

.about-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(208, 5, 4, .3);
}

.about-visual:hover::after {
  opacity: 1;
  transform: scale(1);
}

.about-visual img {
  transition: filter .4s ease, scale .6s ease;
}

.about-visual:hover img {
  scale: 1.06;
  filter: saturate(1.15) brightness(1.05);
}

/* ---------- 6. TICK LISTS ---------- */
.ticks li {
  transition: transform .25s ease, color .25s ease;
}

.ticks li::before {
  transition: transform .35s ease, box-shadow .35s ease;
}

.ticks li:hover {
  transform: translateX(8px);
  color: var(--gold);
}

.ticks li:hover::before {
  transform: rotate(360deg) scale(1.15);
  box-shadow: 0 0 0 5px rgba(208, 5, 4, .15);
}

/* ---------- 7. EYEBROW / HEADINGS ---------- */
.eyebrow {
  transition: letter-spacing .35s ease;
}

.center:hover>.eyebrow,
.about-text:hover .eyebrow {
  letter-spacing: .26em;
}

/* ---------- 8. SERVICE BOXES (home + services page) ---------- */
.svc-box {
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

.svc-box::before {
  /* red top-edge that draws in */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: var(--gold);
  transition: width .45s ease;
  z-index: 2;
}

.svc-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 46px rgba(208, 5, 4, .28);
}

.svc-box:hover::before {
  width: 100%;
}

.svc-img {
  position: relative;
}

.svc-img::after {
  /* red wash + "+" badge */
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(208, 5, 4, .1), rgba(122, 3, 2, .72));
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.svc-box:hover .svc-img::after {
  opacity: 1;
}

.svc-img img {
  transition: filter .4s ease, scale .6s ease;
}

.svc-box:hover .svc-img img {
  scale: 1.1;
  filter: saturate(1.2);
}

.svc-body h3 a {
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 2px;
  transition: color .2s, background-size .4s ease;
}

.svc-box:hover .svc-body h3 a {
  background-size: 100% 2px;
}

.svc-btn {
  transition: color .2s, letter-spacing .3s, transform .3s;
}

.svc-box:hover .svc-btn {
  letter-spacing: .06em;
  transform: translateX(6px);
}

/* ---------- 9. CARDS (mission/vision etc.) ---------- */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(208, 5, 4, .07), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  transition: color .25s, transform .3s;
}

.card:hover h3 {
  color: var(--gold);
  transform: translateX(6px);
}

.mv .card {
  transition: transform .3s, box-shadow .3s, border-left-width .3s;
}

.mv .card:hover {
  border-left-width: 10px;
}

/* ---------- 10. PROJECT CARDS ---------- */
.project {
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 46px rgba(208, 5, 4, .28);
}

.thumb img {
  transition: filter .4s ease, scale .6s ease;
}

.project:hover .thumb img {
  scale: 1.1;
  filter: saturate(1.2);
}

.tag {
  z-index: 2;
  transition: background .3s, color .3s, transform .3s;
}

.project:hover .tag {
  background: var(--gold);
  color: #fff;
  transform: translateY(2px) scale(1.06);
}

.p-body h3 {
  transition: color .25s;
}

.project:hover .p-body h3 {
  color: var(--gold);
}

.p-body {
  position: relative;
}

.p-body::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  transition: width .45s ease;
}

.project:hover .p-body::before {
  width: calc(100% - 44px);
}

/* ---------- 11. FILTER BUTTONS + OTHER-SERVICE LINKS ---------- */
.filters button,
.svc-links a {
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.filters button:hover,
.svc-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(208, 5, 4, .28);
}

.filters button:active,
.svc-links a:active {
  transform: scale(.96);
}

/* ---------- 12. WHY-VAMIKA TILES: flood with red ---------- */
.why-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}

.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(160deg, #a30403, #d00504);
  transition: height .45s ease;
  z-index: -1;
}

.why-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(208, 5, 4, .3);
  border-color: var(--gold);
}

.why-item:hover::before {
  height: 100%;
}

.why-item .num,
.why-item h3,
.why-item p {
  transition: color .35s ease, transform .35s ease;
}

.why-item:hover .num {
  color: #ffd3d3;
  transform: scale(1.2) translateX(8px);
}

.why-item:hover h3,
.why-item:hover p {
  color: #fff;
}

/* ---------- 13. TIMELINE ---------- */
.tl {
  transition: transform .3s ease;
}

.tl::before {
  transition: transform .3s ease, box-shadow .3s ease, background .3s;
}

.tl:hover {
  transform: translateX(10px);
}

.tl:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(208, 5, 4, .2);
}

.tl b {
  transition: color .25s;
}

.tl:hover b {
  color: var(--gold);
}

/* ---------- 14. TEAM ---------- */
.member {
  transition: transform .35s ease, box-shadow .35s ease;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.avatar {
  transition: transform .4s ease, box-shadow .4s ease;
}

.member:hover .avatar {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(208, 5, 4, .18);
}

.member h3 {
  transition: color .25s;
}

.member:hover h3 {
  color: var(--gold);
}

/* ---------- 15. CONTACT PAGE ---------- */
.info-item {
  transition: transform .3s ease;
}

.info-item .ic {
  transition: transform .4s ease, box-shadow .3s ease, background .3s;
}

.info-item:hover {
  transform: translateX(8px);
}

.info-item:hover .ic {
  transform: rotate(-12deg) scale(1.12);
  box-shadow: 0 8px 18px rgba(208, 5, 4, .35);
  background: var(--red-dark);
}

.info-item span a {
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0 1px;
  transition: background-size .3s, color .2s;
}

.info-item span a:hover {
  color: var(--gold);
  background-size: 100% 1px;
}

.map-box {
  transition: transform .3s ease, box-shadow .3s ease;
}

.map-box:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

form {
  transition: box-shadow .35s ease, transform .35s ease;
}

form:hover {
  box-shadow: 0 20px 44px rgba(208, 5, 4, .22);
}

input,
select,
textarea {
  transition: border-color .25s, box-shadow .25s, background .25s, transform .25s;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--gold);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(208, 5, 4, .15);
  background: #fff;
}

label {
  transition: color .2s;
}

/* ---------- 16. FOOTER ---------- */
footer li {
  transition: transform .25s ease;
}

footer li:hover {
  transform: translateX(6px);
}

footer a {
  transition: color .2s;
}

footer a:hover {
  color: #fff;
}

footer .logo-img {
  transition: transform .4s ease, box-shadow .4s ease;
}

footer .logo:hover .logo-img {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

footer h4 {
  position: relative;
  display: inline-block;
}

footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--gold-2);
  transition: width .4s ease;
}

.foot>div:hover h4::after {
  width: 100%;
}

/* ---------- 17. BREADCRUMBS ---------- */
.crumbs a {
  transition: color .2s, text-decoration-color .2s;
  text-underline-offset: 4px;
}

.crumbs a:hover {
  color: #ffd3d3;
  text-decoration-thickness: 2px;
}

/* ---------- 18. WHATSAPP FLOAT: pulsing ring ---------- */
.float {
  transition: transform .25s ease, box-shadow .25s ease;
}

.float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
}

.float:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .5);
}

.float:hover::after {
  animation: vk-ping 1s ease-out infinite;
}

@keyframes vk-ping {
  from {
    transform: scale(1);
    opacity: .8;
  }

  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* ---------- 20. 404 PAGE ---------- */
.nf h1 {
  transition: transform .4s ease, text-shadow .4s ease;
  display: inline-block;
}

.nf h1:hover {
  transform: scale(1.08) rotate(-2deg);
  text-shadow: 0 10px 24px rgba(208, 5, 4, .35);
}


/* Touch devices: gentle press feedback instead of hover */
@media (hover: none) {

  .btn:active,
  .svc-box:active,
  .project:active,
  .why-item:active,
  .member:active {
    transform: scale(.98);
  }
}

/* ===== Team: large square photos ===== */
.member {
  padding: 0 0 24px;
  overflow: hidden;
}

.member .avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  /* square */
  border-radius: 0;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #a30403, #ff6b6a);
  overflow: hidden;
  box-shadow: none;
}

.member .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* keeps faces in frame */
  transition: scale .5s ease, filter .4s ease;
}

/* <img class="avatar"> used directly: square crop, height comes from aspect-ratio */
.member img.avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  transition: scale .5s ease, filter .4s ease;
}

.member h3,
.member span {
  padding: 0 14px;
}

.member span {
  display: block;
  margin-top: 4px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {

  .member:hover .avatar,
  .member:hover img.avatar {
    transform: none;
    box-shadow: none;
  }

  .member:hover .avatar img,
  .member:hover img.avatar {
    scale: 1.08;
    filter: saturate(1.15);
  }
}

@media (max-width: 600px) {
  .team {
    max-width: 340px;
    margin-inline: auto;
  }

  /* stops one huge photo per row on phones */
}

/* Two team members, centred and large */
.team {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 32px;
}

@media (max-width: 600px) {
  .team {
    grid-template-columns: minmax(0, 340px);
  }
}

/* ===== Projects page: section jump links + photo galleries ===== */
.sec-nav {
  padding: 20px 0 0;
}

.sec-nav .svc-links {
  margin-top: 0;
}

.sec-nav:has(.svc-links:empty) {
  display: none;
}

#finished,
#ongoing,
#galleries section {
  scroll-margin-top: 90px;
}

[hidden] {
  display: none !important;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}

.gal-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #a30403, #d00504 60%, #ff8a89);
  box-shadow: 0 4px 18px rgba(208, 5, 4, .12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gal-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gal-item.has-img {
  cursor: zoom-in;
}

.gal-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(80, 2, 2, .85));
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gal-item figcaption b {
  font-weight: 400;
  font-size: 1.02rem;
}

.gal-item figcaption span {
  font-size: .85rem;
  opacity: .9;
}

@media (hover: hover) {
  .gal-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 46px rgba(208, 5, 4, .28);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(30, 0, 0, .92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox p {
  color: #fff;
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Gallery photos: same scroll image-movement as the project cards (--zoom is set by main.js) */
.gal-item img {
  transform: scale(var(--zoom, 1.4));
  transform-origin: 50% 50%;
  will-change: transform;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .gal-item img {
    transform: none;
  }
}

/* ===== Hero on mobile: show the whole picture (no cropping) ===== */
@media (max-width: 900px) {
  .hero {
    --hero-ratio: 4 / 3;
    /* size of the hero box on mobile; photos of any shape fit inside it */
    min-height: 0;
    height: auto;
    padding: 72px 0 0;
    /* space for the fixed header */
    aspect-ratio: auto;
    background: var(--navy);
    /* colour behind the picture and header */
  }

  .hero .slides {
    position: relative;
    inset: auto;
    aspect-ratio: var(--hero-ratio);
    width: 100%;
  }

  /* every slide is the same size; the whole photo sits in the middle and a
     blurred copy of the same photo fills any empty space around it */
  .hero .slide {
    overflow: hidden;
    background-size: 0 0;
    /* the layers below draw the picture */
  }

  .hero .slide::before,
  .hero .slide::after {
    content: "";
    position: absolute;
    background-image: inherit;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero .slide::before {
    /* blurred filler */
    inset: -24px;
    background-size: cover;
    filter: blur(18px) brightness(.8);
  }

  .hero .slide::after {
    /* the full photo */
    inset: 0;
    background-size: contain;
  }

  .hero .dots {
    bottom: 12px;
  }
}