/* ════════════════════════════════════════════
   Thane Cool Services – Custom Stylesheet
   Author : GitHub Copilot
   Version: 1.0.0
════════════════════════════════════════════ */

/* ── Custom Properties ────────────────────── */
:root {
  --primary:    #0d6efd;
  --primary-dark: #0a58ca;
  --secondary:  #0dcaf0;
  --accent:     #ff6b35;
  --bg-light:   #f8f9fa;
  --bg-white:   #ffffff;
  --text-dark:  #1a1a2e;
  --text-body:  #444;
  --text-muted: #777;
  --border:     #e9ecef;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.07);
  --shadow-md:  0 6px 30px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 50px rgba(0,0,0,.14);
  --radius:     14px;
  --radius-lg:  20px;
  --transition: .3s ease;
}

/* ── Base Styles ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--text-body);
  background: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.section-pad { padding: 90px 0; }

/* ── Section Typography Helpers ──────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(13,110,253,.08);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--primary);
  position: relative;
}

.section-sub {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Buttons ──────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 4px 20px rgba(13,110,253,.35);
  transition: all var(--transition);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 28px rgba(13,110,253,.5);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all var(--transition);
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#mainNavbar {
  background: rgba(10, 30, 70, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  transition: all .4s ease;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

#mainNavbar.scrolled {
  padding: 8px 0;
  background: rgba(8, 20, 55, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}

/* Brand */
.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  flex-shrink: 0;
}

.brand-text { line-height: 1.15; }
.brand-main {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Nav Links */
.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.12);
}

.btn-call-nav {
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff !important;
  border: none;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13.5px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(13,110,253,.4);
}
.btn-call-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,110,253,.55);
  color: #fff !important;
}

/* ══════════════════════════════════════════
   HERO / CAROUSEL
══════════════════════════════════════════ */
.hero-slide {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,15,50,0.88) 0%,
    rgba(5,15,50,0.55) 60%,
    rgba(13,110,253,0.20) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(13,202,240,.18);
  border: 1px solid rgba(13,202,240,.4);
  color: var(--secondary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
  animation: fadeInDown .8s ease both;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  animation: fadeInUp .9s ease both .1s;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
  animation: fadeInUp .9s ease both .2s;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp .9s ease both .3s;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  box-shadow: 0 6px 28px rgba(13,110,253,.5);
  transition: all .3s ease;
}
.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(13,110,253,.65);
}

.btn-hero-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  border-color: rgba(255,255,255,.7);
  transform: translateY(-3px);
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 42px; height: 42px;
  background-color: rgba(13,110,253,.6);
  border-radius: 50%;
  background-size: 60%;
  transition: background-color .3s;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary);
}

.carousel-indicators [data-bs-target] {
  width: 30px; height: 4px;
  border-radius: 3px;
  background-color: rgba(255,255,255,.6);
  border: none;
  transition: all .3s;
}
.carousel-indicators .active {
  width: 52px;
  background-color: var(--secondary);
}

@media (max-width: 767px) {
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next,
  #heroCarousel .carousel-indicators {
    display: none !important;
  }
}

/* ══════════════════════════════════════════
   STATS RIBBON
══════════════════════════════════════════ */
.stats-ribbon {
  background: linear-gradient(135deg, #051428 0%, #0d3280 100%);
  padding: 0;
  position: relative;
  z-index: 3;
}

.stat-item {
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition);
}
.col-md-3:last-child .stat-item { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.05); }

.stat-item i {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 8px;
  display: block;
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1;
}

.stat-item h4 span {
  color: #ffd700;
  font-size: 1.4rem;
}

.stat-item p {
  color: rgba(255,255,255,.65);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
.about-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.about-badge-box strong {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge-box small {
  font-size: 11px;
  opacity: .85;
}

.about-desc {
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.about-feat-item i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════ */
.services-section {
  background: #f0f6ff;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
  border: 1px solid rgba(13,110,253,.07);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13,110,253,.2);
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.07);
}

.service-icon-badge {
  position: absolute;
  bottom: 15px;
  left: 20px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(13,110,253,.4);
  z-index: 2;
}

.service-body {
  padding: 34px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color var(--transition);
}

.service-card:hover .service-title { color: var(--primary); }

.service-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.service-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.btn-service-call {
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(13,110,253,.3);
  transition: all .3s ease;
}
.btn-service-call:hover {
  color: #fff;
  box-shadow: 0 6px 22px rgba(13,110,253,.5);
  transform: translateY(-2px);
}

.btn-service-enquire {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 7px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  transition: all .3s ease;
}
.btn-service-enquire:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,110,253,.35);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════ */
.why-section { background: var(--bg-white); }

.why-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  height: 100%;
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity .35s ease;
  border-radius: var(--radius);
}

.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { opacity: 1; }
.why-card:hover .why-icon-wrap,
.why-card:hover h5,
.why-card:hover p { position: relative; z-index: 1; }
.why-card:hover .why-icon-wrap { background: rgba(255,255,255,.2); color: #fff; }
.why-card:hover h5 { color: #fff; }
.why-card:hover p { color: rgba(255,255,255,.85); }

.why-icon-wrap {
  width: 72px; height: 72px;
  background: rgba(13,110,253,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: all .35s ease;
}

.why-card h5 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  transition: color .3s;
}

.why-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  transition: color .3s;
}

/* ══════════════════════════════════════════
   BRANDS SECTION – Infinite Auto-Scroll Slider
══════════════════════════════════════════ */
.brands-section { background: #f0f6ff; }

/* Outer wrapper clips the overflowing track */
.brands-slider-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 100%;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Pause on hover */
.brands-slider-wrapper:hover .brands-track { animation-play-state: paused; }

/* The scrolling track – contains 18 items (9 original + 9 duplicate) */
.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brandScroll 28s linear infinite;
  gap: 20px;
}

/* Each logo card – desktop: 4 visible = 25% of viewport / mobile: 2 = 50% */
.brand-item {
  /* Desktop: show 4 at a time */
  flex: 0 0 calc((100vw - 80px) / 4);
  max-width: calc((100vw - 80px) / 4);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.brand-item:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(13,110,253,.18);
  transform: scale(1.05);
}

.brand-item img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(35%);
  transition: filter .3s;
}

.brand-item:hover img { filter: grayscale(0%); }

/* Keyframe: scroll left by exactly 50% of track (= width of the 9 original items) */
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile: show 2 at a time */
@media (max-width: 767px) {
  .brand-item {
    flex: 0 0 calc((100vw - 48px) / 2);
    max-width: calc((100vw - 48px) / 2);
  }
}

/* ══════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════ */
.contact-section { background: var(--bg-white); }

.contact-info-card {
  background: linear-gradient(145deg, #051428 0%, #0d3280 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.contact-info-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-detail-item:last-of-type { border-bottom: none; }

.contact-icon-box {
  width: 44px; height: 44px;
  background: rgba(13,202,240,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 3px;
}

.contact-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  transition: color .3s;
}

a.contact-value:hover { color: var(--secondary); }

.contact-social { display: flex; gap: 12px; }

.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all .3s ease;
}

.social-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  color: #fff;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: #050f1d; }

.footer-top { padding: 60px 0 40px; }

.footer-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand i { color: var(--secondary); }

.footer-about-text {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .3s;
}
.footer-links a:hover { color: var(--secondary); }
.footer-links i { color: var(--primary); }

.footer-contact-list {
  list-style: none;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
}
.footer-contact-list i {
  color: var(--secondary);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-list a {
  color: rgba(255,255,255,.55);
  transition: color .3s;
}
.footer-contact-list a:hover { color: var(--secondary); }

.footer-bottom {
  background: rgba(0,0,0,.35);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom p {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
}
.footer-bottom strong { color: rgba(255,255,255,.75); }

/* ══════════════════════════════════════════
   ENQUIRY MODAL
══════════════════════════════════════════ */
.enquiry-modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

/* Mobile: full-width modal */
@media (max-width: 575px) {
  #enquiryModal .modal-dialog {
    margin: 0;
    max-width: 100%;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: flex-end;
  }
  #enquiryModal .modal-content,
  .enquiry-modal-content {
    border-radius: 20px 20px 0 0;
    width: 100%;
  }
}

.enquiry-modal-header {
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff;
  padding: 24px 28px;
  border: none;
  align-items: flex-start;
}

.enquiry-modal-header .modal-title {
  font-size: 18px;
  font-weight: 700;
}

.modal-body .form-label {
  font-size: 13.5px;
}

.modal-body .input-group-text {
  background: var(--bg-light);
  border-color: #dee2e6;
  color: var(--primary);
}

.modal-body .form-control,
.modal-body .form-select {
  border-color: #dee2e6;
  font-size: 14px;
  padding: 10px 14px;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}

.btn-primary-submit {
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(13,110,253,.35);
}
.btn-primary-submit:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,110,253,.5);
}

.btn-call-submit {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 11px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s ease;
}
.btn-call-submit:hover {
  background: var(--primary);
  color: #fff;
}

/* Success Message */
.enq-success-msg {
  text-align: center;
  padding: 20px 0;
}
.enq-success-msg i { color: #198754; }
.enq-success-msg h5 { font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.enq-success-msg p { color: var(--text-muted); margin-bottom: 20px; }

/* ══════════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════════ */

/* Enquire Now – Right Side Floating Tab */
.float-enquire-btn {
  position: fixed;
  top: 50%;
  right: 25px;
  transform: translateY(-50%) rotate(-90deg) translateX(calc(100% - 42px));
  transform-origin: right center;
  background: linear-gradient(135deg, var(--primary), #0a9df0);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  z-index: 999;
  box-shadow: -4px 0 20px rgba(13,110,253,.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform .35s ease, box-shadow .3s;
  white-space: nowrap;
}

.float-enquire-btn:hover {
  transform: translateY(-50%) rotate(-90deg) translateX(calc(100% - 52px));
  box-shadow: -6px 0 28px rgba(13,110,253,.6);
  color: #fff;
}

@media (max-width: 575px) {
  .float-enquire-btn {
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* Call Button – Bottom Right */
.float-call-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: all .3s ease;
  animation: pulse-call 2.5s infinite;
}

.float-call-btn:hover {
  transform: scale(1.12);
  color: #fff;
  animation: none;
  box-shadow: 0 8px 28px rgba(37,211,102,.65);
}

/* Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(13,110,253,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-call {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ══════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .navbar-collapse { margin-top: 12px; }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
  .hero-slide { min-height: 85vh; }
  .about-badge-box { bottom: 10px; right: 10px; }
  .section-pad { padding: 70px 0; }
}

@media (max-width: 767px) {
  .section-pad { padding: 55px 0; }
  .hero-slide { min-height: 75vh; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .col-md-3:last-child .stat-item { border-bottom: none; }
  .about-badge-box { position: static; margin-top: 20px; width: fit-content; }
  .about-img-wrap { text-align: center; }
  .contact-info-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-sub   { font-size: 14px; }
  .btn-hero-primary, .btn-hero-outline { padding: 11px 22px; font-size: 14px; }
  .float-call-btn { width: 50px; height: 50px; font-size: 19px; bottom: 80px; right: 16px; }
  .scroll-top-btn { right: 16px; bottom: 16px; }
}

/* ── Utility ──────────────────────────────── */
.text-primary-custom { color: var(--primary) !important; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
