/* =========================================================
   CERAGEM Uttarahalli — Evolution Health and Wellness Bengaluru
   Bootstrap 5 theme — inspired by ceragem.co.in
   Palette: tan #b79480 · dark brown #231816 · cream #f7f3ee · red #c30d22
   ========================================================= */
:root {
  --cg-tan: #b79480;
  --cg-tan-light: #d6c3b2;
  --cg-brown: #231816;
  --cg-brown-mid: #4a3a33;
  --cg-cream: #f7f3ee;
  --cg-red: #c30d22;
  --cg-red-dark: #9e0a1c;
  --cg-text: #3b2f29;
  --cg-gray: #8a7a70;
  --cg-gold: #f4b500;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--cg-text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--cg-brown); }

.text-tan { color: var(--cg-tan); }
.text-brown { color: var(--cg-brown); }
.text-red { color: var(--cg-red); }
.bg-tan { background-color: var(--cg-tan); }
.bg-brown { background-color: var(--cg-brown); }
.bg-cream { background-color: var(--cg-cream); }
.bg-red { background-color: var(--cg-red); }

/* ---------------- Top utility bar ---------------- */
.topbar {
  background: var(--cg-brown);
  color: #d9d0c8;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.topbar a { color: #d9d0c8; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .bi { color: var(--cg-tan); }

/* ---------------- Navbar ---------------- */
.navbar-cg {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: all .35s ease;
  padding-top: .65rem;
  padding-bottom: .65rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.navbar-cg .navbar-brand img { height: 48px; }
.navbar-cg .nav-link {
  color: var(--cg-brown);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .5rem .9rem;
  position: relative;
}
.navbar-cg .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .2rem;
  height: 2px;
  background: var(--cg-tan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-cg .nav-link:hover, .navbar-cg .nav-link.active { color: var(--cg-red); }
.navbar-cg .nav-link:hover::after, .navbar-cg .nav-link.active::after { transform: scaleX(1); }
.navbar-cg .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
  margin-top: .6rem;
  padding: .6rem 0;
}
.navbar-cg .dropdown-item { font-size: .85rem; font-weight: 600; color: var(--cg-brown-mid); padding: .55rem 1.3rem; }
.navbar-cg .dropdown-item:hover, .navbar-cg .dropdown-item.active { background: var(--cg-cream); color: var(--cg-red); }
@media (min-width: 992px) {
  .navbar-cg .nav-item.dropdown { position: relative; }
  .navbar-cg .nav-item.dropdown > .dropdown-menu { top: 100%; margin-top: .6rem; }
  /* invisible bridge covering the margin gap so hover survives the move to the menu */
  .navbar-cg .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.6rem; left: 0; right: 0;
    height: 0.6rem;
  }
  .navbar-cg .nav-item.dropdown:hover > .dropdown-menu,
  .navbar-cg .nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
  .navbar-cg .dropdown-toggle::after { display: inline-block; }
}
/* Hover-open on any device that supports hovering (desktop, trackpad/mouse tablets).
   Pure-touch devices report hover:none and keep the click/tap toggle via JS. */
@media (hover: hover) {
  .navbar-cg .nav-item.dropdown { position: relative; }
  .navbar-cg .nav-item.dropdown:hover > .dropdown-menu,
  .navbar-cg .nav-item.dropdown:focus-within > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
  .navbar-cg .dropdown-menu {
    position: static;
    box-shadow: none;
    margin-top: 0;
    margin-left: 1rem;
    width: auto;
    border-left: 2px solid var(--cg-tan);
    border-radius: 0 8px 8px 0;
    padding: .4rem 0;
    background: #fbf9f6;
  }
  .navbar-cg .nav-item.dropdown.show > .dropdown-menu,
  .navbar-cg .nav-item.dropdown .dropdown-menu.show { display: block; }
}
.navbar-cg .btn-call {
  background: var(--cg-tan);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  font-size: .85rem;
  padding: .6rem 1.4rem;
  transition: all .25s ease;
}
.navbar-cg .btn-call:hover { background: var(--cg-red); color: #fff; }

.navbar-cg .navbar-toggler { border-color: rgba(35,24,22,.5); }
.navbar-cg .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(35,24,22,.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ---------------- Hero carousel ---------------- */
.hero-carousel {
  height: 100vh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.hero-carousel .carousel,
.hero-carousel .carousel-inner, .hero-carousel .carousel-item { height: 100%; }
.hero-carousel .carousel-item { position: relative; }
.hero-carousel .slide-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-carousel .carousel-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,12,10,.82) 0%, rgba(18,12,10,.55) 45%, rgba(18,12,10,.18) 100%);
}
.hero-carousel .carousel-item.slide-product {
  background: linear-gradient(115deg, #1d1412 0%, #2a1e1a 60%, #402d26 100%);
}
.hero-carousel .carousel-item.slide-product::after {
  background: linear-gradient(90deg, rgba(18,12,10,.85) 0%, rgba(18,12,10,.55) 42%, rgba(18,12,10,.12) 100%);
}
.hero-carousel .slide-product .slide-media {
  inset: 0 2rem 0 auto;
  width: 46%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 2.5rem;
}
.hero-carousel .slide-product .carousel-caption { max-width: 54%; }
.hero-carousel .carousel-caption {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-38%);
  bottom: auto;
  text-align: left;
  z-index: 5;
}
.hero-carousel .kicker {
  color: var(--cg-tan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  display: block;
  margin-bottom: 1rem;
}
.hero-carousel h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 720px;
}
.hero-carousel p.lead {
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-top: 1.2rem;
  font-weight: 400;
}
.hero-carousel .carousel-indicators { z-index: 6; margin-bottom: 2.2rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 34px; height: 4px; border-radius: 4px;
  border: 0; background: rgba(255,255,255,.35);
  opacity: 1; transition: all .3s ease;
}
.hero-carousel .carousel-indicators .active { background: var(--cg-tan); width: 52px; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { z-index: 6; width: 8%; opacity: .9; }
.hero-carousel .carousel-control-prev-icon, .hero-carousel .carousel-control-next-icon {
  width: 2.6rem; height: 2.6rem;
  background-color: rgba(255,255,255,.14);
  border-radius: 50%;
  background-size: 50%;
  backdrop-filter: blur(2px);
}
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 6; color: #fff; text-align: center;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  animation: floaty 2.2s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------------- Inner page hero ---------------- */
.page-hero {
  position: relative;
  margin-top: 72px;
  color: #fff;
  background: linear-gradient(120deg, var(--cg-brown) 0%, var(--cg-brown-mid) 60%, #6d4a3a 100%);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -70px; top: -70px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,148,128,.4), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.page-hero p.lead { color: rgba(255,255,255,.85); max-width: 620px; }
.breadcrumb-cg { color: var(--cg-tan-light); font-size: .8rem; font-weight: 600; }
.breadcrumb-cg a { color: var(--cg-tan-light); text-decoration: none; }
.breadcrumb-cg a:hover { color: #fff; }

/* ---------------- Contact cards ---------------- */
.contact-card {
  border: none;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  padding: 2rem 1.6rem;
  height: 100%;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 18px 42px rgba(0,0,0,.14); }
.contact-card .icon {
  width: 66px; height: 66px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--cg-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--cg-tan);
}
.contact-card h5 { font-size: 1rem; font-weight: 800; }
.contact-card p, .contact-card a { color: var(--cg-gray); font-size: .92rem; margin-bottom: 0; }
.contact-card a { color: var(--cg-brown); text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--cg-red); }

/* ---------------- Buttons ---------------- */
.btn-cg {
  background: var(--cg-tan);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  padding: .72rem 1.7rem;
  transition: all .25s ease;
}
.btn-cg:hover { background: var(--cg-red); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(195,13,34,.28); }
.btn-outline-light-cg {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 40px;
  font-weight: 700;
  padding: .66rem 1.6rem;
  transition: all .25s ease;
}
.btn-outline-light-cg:hover { background: #fff; color: var(--cg-brown); border-color: #fff; transform: translateY(-2px); }
.btn-dark-brown {
  background: var(--cg-brown);
  color: #fff;
  border: none;
  border-radius: 40px;
  font-weight: 700;
  padding: .72rem 1.7rem;
  transition: all .25s ease;
}
.btn-dark-brown:hover { background: var(--cg-red); color: #fff; transform: translateY(-2px); }
.btn-outline-brown {
  background: transparent;
  color: var(--cg-brown);
  border: 2px solid var(--cg-brown);
  border-radius: 40px;
  font-weight: 700;
  padding: .66rem 1.6rem;
  transition: all .25s ease;
}
.btn-outline-brown:hover { background: var(--cg-brown); color: #fff; transform: translateY(-2px); }

/* ---------------- Sections ---------------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.2rem 0; }
.kicker {
  color: var(--cg-tan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  display: block;
  margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-sub { color: var(--cg-gray); max-width: 640px; }

/* ---------------- Welcome / counters ---------------- */
.welcome-img-wrap { position: relative; }
.welcome-img-wrap .main-img { border-radius: 18px; width: 100%; object-fit: cover; box-shadow: 0 22px 50px rgba(0,0,0,.16); }
.welcome-img-wrap .badge-float {
  position: absolute;
  bottom: -1.4rem; right: -1.2rem;
  background: var(--cg-brown);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.badge-float .num { font-size: 1.7rem; font-weight: 800; color: var(--cg-tan); line-height: 1; }
.badge-float .txt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .25rem; }
.counters { border-top: 1px solid #e7ded5; }
.counter-item { text-align: center; padding: .5rem .5rem; }
.counter-item .num { font-size: 2.4rem; font-weight: 800; color: var(--cg-brown); line-height: 1; }
.counter-item .num span { color: var(--cg-tan); }
.counter-item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cg-gray); margin-top: .45rem; font-weight: 600; }

/* ---------------- Product cards ---------------- */
.product-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 46px rgba(0,0,0,.15); }
.product-card .img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdfaf6, #f3ece2);
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .card-body { padding: 1.4rem 1.4rem 1.6rem; }
.product-card .tagline {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--cg-tan);
  font-weight: 700;
  display: block;
  margin-bottom: .35rem;
}
.product-card .card-title { font-weight: 800; font-size: 1.25rem; }
.product-card .card-text { color: var(--cg-gray); font-size: .9rem; }
.product-card .card-link {
  font-weight: 700; color: var(--cg-brown); text-decoration: none;
  display: inline-flex; align-items: center; gap: .45rem;
}
.product-card .card-link i { transition: transform .25s ease; }
.product-card .card-link:hover { color: var(--cg-red); }
.product-card .card-link:hover i { transform: rotate(-45deg); }

/* ---------------- Feature / tech cards ---------------- */
.feature-card {
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
  padding: 2rem 1.6rem;
  height: 100%;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(0,0,0,.12); }
.feature-card .icon {
  width: 74px; height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--cg-cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: var(--cg-tan);
}
.feature-card h5 { font-size: 1.05rem; }
.feature-card p { color: var(--cg-gray); font-size: .9rem; }

/* ---------------- Experience / reviews ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-bubble {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.35rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.09);
}
.review-bubble .stars { color: var(--cg-gold); letter-spacing: 2px; margin-bottom: .7rem; font-size: .85rem; }
.review-bubble .quote { font-size: .92rem; color: var(--cg-brown-mid); font-weight: 500; }
.review-bubble .author { font-weight: 800; font-size: .88rem; color: var(--cg-brown); margin-top: 1rem; }
.review-bubble .badge-google {
  display: inline-block; font-size: .68rem; font-weight: 700; color: #fff;
  background: #4285F4; border-radius: 12px; padding: 2px 10px; margin-top: .5rem;
}
.rating-big .num { font-size: 3.4rem; font-weight: 900; color: var(--cg-brown); line-height: 1; }
.rating-big .stars { color: var(--cg-gold); font-size: 1.2rem; letter-spacing: 3px; }

/* ---------------- Video / news cards ---------------- */
.news-card {
  position: relative;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(0,0,0,.16); }
.news-card .img-wrap { height: 200px; overflow: hidden; position: relative; }
.news-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .img-wrap img { transform: scale(1.06); }
.news-card .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--cg-red); font-size: 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .25s ease;
}
.news-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.12); }
.news-card .card-body { padding: 1.4rem; }
.news-card .card-title { font-size: 1.05rem; font-weight: 800; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--cg-brown) 0%, var(--cg-brown-mid) 100%);
  border-radius: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183,148,128,.35), transparent 70%);
}

/* ---------------- Footer ---------------- */
.footer {
  background: var(--cg-brown);
  color: #b9aca2;
  font-size: .9rem;
  padding: 4rem 0 0;
}
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 1.2rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.footer a { color: #b9aca2; text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--cg-tan); }
.footer .foot-brand img { height: 40px; }
.footer .list-social a {
  display: inline-flex; width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  align-items: center; justify-content: center;
  margin-right: .5rem; font-size: .95rem;
}
.footer .list-social a:hover { background: var(--cg-tan); border-color: var(--cg-tan); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; font-size: .8rem; }
.footer-bottom a { color: var(--cg-tan); }

/* ---------------- Floating call button ---------------- */
.float-call {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 1040;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cg-red), var(--cg-red-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 30px rgba(195,13,34,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.float-call:hover { color: #fff; transform: scale(1.1); box-shadow: 0 16px 36px rgba(195,13,34,.55); }

/* ---------------- Innovation page ---------------- */
.innovation-banner { width: 100%; overflow: hidden; }
.innovation-banner img {
  width: 100%;
  height: auto;
  max-height: 32vh;
  display: block;
  object-fit: cover;
  object-position: center;
}
.innovation-icon { height: 40px; width: auto; opacity: .9; }
.ceracore { position: relative; color: #fff; }
.ceracore::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,12,10,.88) 0%, rgba(18,12,10,.7) 55%, rgba(18,12,10,.35) 100%);
}
.ceracore .container { position: relative; z-index: 2; }
.ceracore-img { max-width: 240px; width: 100%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.5)); }
.innovation-visual { width: 100%; overflow: hidden; }
.innovation-visual img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ---------------- Misc ---------------- */
.map-frame { width: 100%; height: 440px; border: 0; border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.fade-up { opacity: 0; transform: translateY(26px); transition: all .7s ease; }
.fade-up.in { opacity: 1; transform: none; }

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .navbar-cg { padding-top: .5rem; padding-bottom: .5rem; }
  .navbar-cg .navbar-collapse { padding-top: .5rem; }
  .hero-carousel { height: 88vh; min-height: 500px; }
  .hero-carousel .carousel-caption { transform: translateY(-32%); }
  .hero-carousel .slide-product .slide-media { inset: 0 1rem 0 auto; width: 42%; padding: 1.5rem; }
  .hero-carousel .slide-product .carousel-caption { max-width: 58%; }
  .welcome-img-wrap .badge-float { right: 1rem; }
}
@media (max-width: 575.98px) {
  .hero-carousel { height: 82vh; }
  .hero-carousel .slide-product .slide-media { display: none; }
  .hero-carousel .slide-product .carousel-caption { max-width: 100%; }
  .section { padding: 4rem 0; }
  .counter-item .num { font-size: 1.9rem; }
}
