:root {
  --navy: #0b3d91;
  --sky: #00b4d8;
  --ice: #e8f7ff;
  --orange: #ff7a18;
  --pink: #ff3d81;
  --green: #12b886;
  --ink: #14213d;
  --white: #fff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  font-family: "Poppins", "Noto Sans Tamil", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
html[data-lang="en"] .ta,
html[data-lang="ta"] .en {
  display: none !important;
}
html[data-lang="ta"] body {
  font-family: "Noto Sans Tamil", "Poppins", sans-serif;
}
h1,
h2,
h3 {
  font-family: "Baloo 2", "Noto Sans Tamil", sans-serif;
  line-height: 1.2;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  background: rgba(11, 61, 145, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.2rem;
}
.logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--pink));
  animation: spin 8s linear infinite;
}
nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
nav a {
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.92rem;
  transition: 0.3s;
}
nav a:hover {
  background: var(--orange);
}
.lang {
  display: flex;
  margin-left: 10px;
  border: 2px solid var(--sky);
  border-radius: 20px;
  overflow: hidden;
}
.lang button {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 5px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}
html[data-lang="ta"] .lang [data-set="ta"],
html[data-lang="en"] .lang [data-set="en"] {
  background: var(--sky);
  color: var(--navy);
  font-weight: 600;
}
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 34px;
}
.burger i {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 110px 5% 60px;
  color: #fff;
  background: linear-gradient(
    120deg,
    #0b3d91,
    #00b4d8,
    #7b2ff7,
    #ff3d81,
    #0b3d91
  );
  background-size: 400% 400%;
  animation: flow 16s ease infinite;
  overflow: hidden;
}
.hero-in {
  flex: 1;
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 14px 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.lead {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 24px;
}
.chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}
.hero-img {
  flex: 1;
  max-width: 480px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 40px;
  font-weight: 600;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.3s;
}
.btn:hover {
  transform: translateY(-4px) scale(1.04);
}
.btn.hot {
  background: linear-gradient(90deg, var(--orange), var(--pink));
  color: #fff;
}
.btn.wa {
  background: var(--green);
  color: #fff;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin-top: 36px;
}
.stats b {
  display: block;
  font:
    800 2.2rem "Baloo 2",
    sans-serif;
  color: #ffe066;
}
.stats span {
  font-size: 0.85rem;
}
.bubbles i {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  animation: rise 14s linear infinite;
}
.bubbles i:nth-child(1) {
  left: 8%;
  width: 60px;
  height: 60px;
}
.bubbles i:nth-child(2) {
  left: 25%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}
.bubbles i:nth-child(3) {
  left: 48%;
  width: 40px;
  height: 40px;
  animation-delay: 6s;
}
.bubbles i:nth-child(4) {
  left: 65%;
  width: 90px;
  height: 90px;
  animation-delay: 1s;
}
.bubbles i:nth-child(5) {
  left: 82%;
  width: 50px;
  height: 50px;
  animation-delay: 8s;
}
.bubbles i:nth-child(6) {
  left: 92%;
  width: 130px;
  height: 130px;
  animation-delay: 4s;
}

/* sections */
.sec {
  padding: 80px 5%;
  max-width: 1200px;
  margin: auto;
}
.alt {
  max-width: none;
  background: linear-gradient(180deg, var(--ice), #fff);
}
.alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.sec h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
  position: relative;
}
.sec h2:after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--sky), var(--orange), var(--pink));
  background-size: 200%;
  animation: flow 4s linear infinite;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.grid2 p {
  margin-bottom: 14px;
}
.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  padding: 14px 18px 14px 50px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(11, 61, 145, 0.12);
  position: relative;
  font-weight: 500;
}
.ticks li:before {
  content: "✔";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}
.owner {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 14px 40px rgba(11, 61, 145, 0.15);
}
.photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    var(--sky),
    var(--pink),
    var(--orange),
    var(--sky)
  );
  animation: spin 10s linear infinite;
  position: relative;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  animation: spin 10s linear infinite reverse;
}
.ph {
  display: none;
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 800 5rem "Baloo 2";
  place-items: center;
}
.photo.noimg .ph {
  display: grid;
}
.owner h3 {
  font-size: 2rem;
  color: var(--navy);
}
.role {
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 10px;
}
.owner a:hover {
  color: var(--pink);
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  border-bottom: 6px solid var(--c);
}
.card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}
.c1 {
  --c: #00b4d8;
}
.c2 {
  --c: #7b2ff7;
}
.c3 {
  --c: #ff7a18;
}
.c4 {
  --c: #12b886;
}
.c5 {
  --c: #0b3d91;
}
.c6 {
  --c: #ff3d81;
}
.c7 {
  --c: #e03131;
}
.im {
  height: 190px;
  background: linear-gradient(135deg, var(--c), #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.im img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transition: transform 0.6s;
}
.card:hover .im img {
  transform: scale(1.12);
}
.im em {
  font-style: normal;
  font-size: 4.5rem;
  animation: float 3s ease-in-out infinite;
}
.card h3 {
  padding: 16px 20px 4px;
  color: var(--c);
  font-size: 1.4rem;
}
.card p {
  padding: 0 20px 22px;
  font-size: 0.95rem;
  color: #44506b;
}
.faq {
  display: grid;
  gap: 12px;
}
details {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 6px 16px rgba(11, 61, 145, 0.1);
  border-left: 5px solid var(--orange);
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
details p {
  margin-top: 10px;
}

/* contact */
address {
  font-style: normal;
  background: linear-gradient(135deg, var(--navy), #7b2ff7);
  color: #fff;
  padding: 30px;
  border-radius: 24px;
}
address p {
  margin-bottom: 14px;
}
address .btn {
  margin: 4px 4px 4px 0;
}
.enq {
  display: grid;
  gap: 12px;
}
.enq input,
.enq select,
.enq textarea {
  padding: 13px 16px;
  border: 2px solid #d5e4f5;
  border-radius: 12px;
  font: inherit;
}
.enq input:focus,
.enq select:focus,
.enq textarea:focus {
  outline: 0;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
}
.map {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  height: 420px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.center {
  text-align: center;
  margin-top: 24px;
}
footer {
  background: var(--navy);
  color: #cfe3ff;
  text-align: center;
  padding: 26px 5%;
  font-size: 0.9rem;
}
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  box-shadow: 0 8px 22px rgba(255, 61, 129, 0.5);
  animation: pulse 2s infinite;
}

/* reveal: one orchestrated entrance */
.rv {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.rv.on {
  opacity: 1;
  transform: none;
}

@keyframes flow {
  0%,
  100% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes float {
  50% {
    transform: translateY(-16px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rise {
  to {
    transform: translateY(-120vh);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 61, 129, 0.6);
  }
  100% {
    box-shadow: 0 0 0 22px rgba(255, 61, 129, 0);
  }
}

@media (max-width: 860px) {
  .burger {
    display: block;
  }
  nav {
    position: fixed;
    top: 58px;
    right: -100%;
    width: 78%;
    height: calc(100vh - 58px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--navy);
    transition: right 0.4s;
  }
  nav.open {
    right: 0;
  }
  .lang {
    margin: 14px 0 0;
    align-self: flex-start;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .cta,
  .stats {
    justify-content: center;
  }
  .hero-img {
    max-width: 90%;
  }
  .grid2 {
    grid-template-columns: 1fr;
  }
  .sec {
    padding: 60px 5%;
  }
  .owner {
    text-align: center;
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
