/* =========================================================
   Tatkal Marriage Consultant — Custom Stylesheet
   ========================================================= */

:root {
  --tmc-navy: #0f1f3d;
  --tmc-navy-dark: #0a1629;
  --tmc-navy-light: #16305c;
  --tmc-gold: #cf483e;
  --tmc-gold-dark: #a8362e;
  --tmc-gold-light: #f0a89f;
  --tmc-white: #ffffff;
  --tmc-grey-bg: #f6f6f8;
  --tmc-grey-border: #e6e6ea;
  --tmc-text: #2b2f38;
  --tmc-text-muted: #6b7280;
  --tmc-radius: 14px;
  --tmc-radius-sm: 8px;
  --tmc-shadow: 0 10px 30px rgba(15, 31, 61, 0.08);
  --tmc-shadow-hover: 0 18px 40px rgba(15, 31, 61, 0.16);
  --tmc-transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Segoe UI", "Poppins", Arial, sans-serif;
  color: var(--tmc-text);
  background-color: var(--tmc-white);
  overflow-x: hidden;
  max-width: 100%;
  padding-top: 82px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

* {
  min-width: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 56px 0;
  }
}

.bg-grey {
  background-color: var(--tmc-grey-bg);
}

.text-gold {
  color: var(--tmc-gold) !important;
}

.text-navy {
  color: var(--tmc-navy) !important;
}

.bg-navy {
  background-color: var(--tmc-navy) !important;
}

/* ---------- Section Heading ---------- */
.section-label {
  display: inline-block;
  color: var(--tmc-gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 34px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background-color: var(--tmc-gold);
}

.section-heading {
  font-weight: 700;
  color: var(--tmc-navy);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--tmc-text-muted);
  max-width: 640px;
}

.mx-auto-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-tmc {
  background-color: var(--tmc-white);
  box-shadow: 0 2px 18px rgba(15, 31, 61, 0.08);
  padding-top: 12px;
  padding-bottom: 12px;
  transition: var(--tmc-transition);
}

.navbar-brand-tmc {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-tmc .nav-link {
  color: var(--tmc-navy);
  font-weight: 600;
  margin: 0 10px;
  position: relative;
  padding: 8px 2px !important;
}

.navbar-tmc .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--tmc-gold);
  transition: width 0.3s ease;
}

.navbar-tmc .nav-link:hover::after,
.navbar-tmc .nav-link.active::after {
  width: 100%;
}

.navbar-tmc .nav-link.active {
  color: var(--tmc-gold);
}

.btn-call-nav {
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
  font-weight: 700;
  border-radius: 50px;
  padding: 9px 20px;
  white-space: nowrap;
  border: none;
  transition: var(--tmc-transition);
}

.btn-call-nav:hover {
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-gold {
  background-color: var(--tmc-gold);
  border: 2px solid var(--tmc-gold);
  color: var(--tmc-white);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 30px;
  transition: var(--tmc-transition);
}

.btn-gold:hover {
  background-color: transparent;
  border-color: var(--tmc-white);
  color: var(--tmc-white);
}

.btn-outline-light-tmc {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--tmc-white);
  font-weight: 700;
  border-radius: 50px;
  padding: 12px 30px;
  transition: var(--tmc-transition);
}

.btn-outline-light-tmc:hover {
  background-color: var(--tmc-white);
  color: var(--tmc-navy);
  border-color: var(--tmc-white);
}

.btn-navy {
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  border: 2px solid var(--tmc-navy);
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 24px;
  transition: var(--tmc-transition);
}

.btn-navy:hover {
  background-color: var(--tmc-gold);
  border-color: var(--tmc-gold);
  color: var(--tmc-white);
}

.btn-outline-navy {
  background-color: transparent;
  border: 2px solid var(--tmc-navy);
  color: var(--tmc-navy);
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 24px;
  transition: var(--tmc-transition);
}

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

/* =========================================================
   HERO / CAROUSEL
   ========================================================= */
.hero-carousel {
  margin-top: -82px;
}

.hero-slide {
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 22, 41, 0.88) 0%,
    rgba(15, 31, 61, 0.72) 55%,
    rgba(15, 31, 61, 0.55) 100%
  );
}

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

.hero-content {
  max-width: 720px;
  color: var(--tmc-white);
}

.hero-eyebrow {
  color: var(--tmc-gold-light);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: inline-block;
}

.hero-content h1 {
  font-weight: 800;
  font-size: 2.9rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.hero-btns .btn {
  margin-right: 14px;
  margin-bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--tmc-gold);
  width: 32px;
  height: 4px;
  border-radius: 2px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(207, 72, 62, 0.85);
  border-radius: 50%;
  padding: 18px;
  background-size: 50%;
}

@media (max-width: 767.98px) {
  .hero-slide {
    height: 100vh;
    min-height: 520px;
  }
  .hero-content h1 {
    font-size: 1.9rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--tmc-radius);
  box-shadow: var(--tmc-shadow);
}

.about-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  border-radius: var(--tmc-radius);
  padding: 20px 26px;
  box-shadow: var(--tmc-shadow-hover);
  text-align: center;
}

@media (min-width: 992px) {
  .about-badge {
    bottom: -24px;
    right: -24px;
  }
}

@media (max-width: 575.98px) {
  .about-badge {
    right: 8px;
    bottom: 8px;
    padding: 14px 18px;
  }
}

.about-badge .about-badge-number {
  color: var(--tmc-gold);
  font-weight: 800;
  font-size: 1.8rem;
  display: block;
}

.about-badge .about-badge-text {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--tmc-navy);
}

.about-highlights li i {
  color: var(--tmc-white);
  background-color: var(--tmc-gold);
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-card {
  background-color: var(--tmc-white);
  border-radius: var(--tmc-radius);
  overflow: hidden;
  box-shadow: var(--tmc-shadow);
  transition: var(--tmc-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--tmc-grey-border);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tmc-shadow-hover);
  border-color: var(--tmc-gold);
}

.service-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-icon {
  position: absolute;
  top: 188px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--tmc-white);
  z-index: 2;
}

.service-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--tmc-navy);
  color: var(--tmc-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.4px;
}

.service-card-body {
  padding: 34px 22px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--tmc-navy);
  margin-bottom: 10px;
}

.service-card-body p {
  color: var(--tmc-text-muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-card-actions .btn {
  flex: 1 1 auto;
  font-size: 0.85rem;
  padding: 9px 14px;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  position: relative;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(207, 72, 62, 0.2) 0%,
      transparent 45%
    ),
    linear-gradient(
      120deg,
      var(--tmc-navy-dark) 0%,
      var(--tmc-navy) 60%,
      var(--tmc-navy-light) 100%
    );
  color: var(--tmc-white);
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(207, 72, 62, 0.25);
}

.cta-banner::before {
  width: 320px;
  height: 320px;
  top: -140px;
  right: -80px;
}

.cta-banner::after {
  width: 220px;
  height: 220px;
  bottom: -100px;
  left: -60px;
  border-color: rgba(255, 255, 255, 0.1);
}

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

.cta-banner h2 {
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tmc-gold-light);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 24px;
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.feature-card {
  background-color: var(--tmc-white);
  border-radius: var(--tmc-radius);
  padding: 34px 26px;
  height: 100%;
  box-shadow: var(--tmc-shadow);
  transition: var(--tmc-transition);
  border-bottom: 3px solid transparent;
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background-color: rgba(15, 31, 61, 0.06);
  color: var(--tmc-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--tmc-transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tmc-navy);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--tmc-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* =========================================================
   PROCESS TIMELINE
   ========================================================= */
.process-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--tmc-gold) 0,
    var(--tmc-gold) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.process-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--tmc-navy);
  color: var(--tmc-gold);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--tmc-shadow);
  border: 4px solid var(--tmc-white);
  outline: 2px solid var(--tmc-grey-border);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tmc-navy);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--tmc-text-muted);
  font-size: 0.9rem;
  padding: 0 6px;
}

@media (max-width: 767.98px) {
  .process-track {
    flex-direction: column;
    gap: 36px;
  }
  .process-track::before {
    top: 6%;
    bottom: 6%;
    left: 34px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      var(--tmc-gold) 0,
      var(--tmc-gold) 8px,
      transparent 8px,
      transparent 16px
    );
  }
  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }
  .process-num {
    margin: 0;
    flex-shrink: 0;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-info-card {
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  border-radius: var(--tmc-radius);
  padding: 40px 32px;
  height: 100%;
}

.contact-info-card h2 {
  font-weight: 700;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contact-item i {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background-color: rgba(207, 72, 62, 0.16);
  color: var(--tmc-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-item a,
.contact-item span {
  color: rgba(255, 255, 255, 0.88);
}

.contact-item a:hover {
  color: var(--tmc-gold);
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--tmc-white);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.contact-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--tmc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tmc-transition);
}

.contact-social a:hover {
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
}

.contact-form-card {
  background-color: var(--tmc-white);
  border-radius: var(--tmc-radius);
  padding: 40px 32px;
  box-shadow: var(--tmc-shadow);
  height: 100%;
  border: 1px solid var(--tmc-grey-border);
}

.form-label {
  font-weight: 600;
  color: var(--tmc-navy);
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border-radius: var(--tmc-radius-sm);
  border: 1px solid var(--tmc-grey-border);
  padding: 11px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--tmc-gold);
  box-shadow: 0 0 0 0.2rem rgba(207, 72, 62, 0.2);
}

/* =========================================================
   MAP
   ========================================================= */
.map-wrap {
  border-radius: var(--tmc-radius);
  overflow: hidden;
  box-shadow: var(--tmc-shadow);
  line-height: 0;
  min-height: 400px;
  border: 1px solid var(--tmc-grey-border);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-tmc {
  background-color: var(--tmc-navy-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* =========================================================
   FLOATING ACTION BUTTONS
   ========================================================= */
.fab-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tmc-white);
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--tmc-transition);
}

.fab-btn:hover {
  transform: scale(1.1);
  color: var(--tmc-white);
}

.fab-call {
  background-color: var(--tmc-navy);
  animation: fab-pulse 2.2s infinite;
}

@keyframes fab-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 31, 61, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(15, 31, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 31, 61, 0);
  }
}

@media (max-width: 575.98px) {
  .fab-wrap {
    right: 14px;
    bottom: 14px;
  }
  .fab-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* Floating side "Enquire Now" button — rotated vertical tab, right edge, vertically centered.
   The anchor is a zero-size point pinned at the right edge / vertical middle of the
   viewport; the button is absolutely positioned with its top-right corner on that
   point, then rotated around that same corner so it swings out as a side tab without
   any positional drift. */
.fab-enquire-anchor {
  position: fixed;
  top: 50%;
  right: 0;
  width: 0;
  height: 0;
  z-index: 1040;
}

.fab-enquire-side {
  position: absolute;
  top: 0;
  right: 0;
  transform-origin: top right;
  transform: rotate(90deg);
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  transition: var(--tmc-transition);
}

.fab-enquire-side i {
  font-size: 1rem;
}

.fab-enquire-side:hover {
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  padding-top: 16px;
}

@media (max-width: 575.98px) {
  .fab-enquire-side {
    padding: 10px 16px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .fab-enquire-side:hover {
    padding-top: 13px;
  }
}

/* =========================================================
   ENQUIRY MODAL
   ========================================================= */
.modal-enquiry .modal-content {
  border-radius: var(--tmc-radius);
  border: none;
  overflow: hidden;
}

.modal-enquiry .modal-header {
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  border: none;
  padding: 22px 28px;
}

.modal-enquiry .modal-header .btn-close {
  filter: invert(1);
}

.modal-enquiry .modal-body {
  padding: 28px;
}

.back-to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--tmc-navy);
  color: var(--tmc-white);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1040;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: var(--tmc-transition);
}

.back-to-top:hover {
  background-color: var(--tmc-gold);
  color: var(--tmc-white);
}
