/* =========================================================================
   BEST AIRCOND CARE — DESIGN UPGRADE LAYER
   Loaded AFTER style.css. Purely additive/refining — does not replace
   the original stylesheet, so nothing breaks if you ever remove this file.
   ========================================================================= */

:root {
  /* Brand palette v2 — bolder, more saturated than the original */
  --navy: #0a2540;
  --navy-deep: #061829;
  --teal: #9cb812;
  --teal-dark:linear-gradient(90deg,rgba(75, 175, 214, 1) 19%, rgba(87, 199, 133, 0.78) 54%, rgba(240, 224, 86, 0.81) 100%);
  --mint: #702908;
  --amber: #ffb020;
  --coral: #ff6b47;
  --coral-dark: #e8532f;
  --ink: #101828;
  --slate: #108cdf;
  --mist: #8e2d04;
  --whatsapp: linear-gradient(90deg,rgba(75, 175, 214, 1) 19%, rgba(87, 199, 133, 0.78) 54%, rgba(240, 224, 86, 0.81) 100%);

  /* Previously-undefined variables referenced in style.css — fixed here */
  --primary-green: var(--teal);
  --dark: var(--navy);
  --accent: var(--amber);
  --gradient-soft: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 50%, var(--teal) 100%);

  /* Shared design tokens */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 30px rgba(10, 37, 64, 0.10);
  --shadow-lift: 0 20px 45px rgba(10, 37, 64, 0.18);
  --shadow-btn: 0 10px 24px rgba(255, 107, 71, 0.4);
}

/* ===== TYPOGRAPHY ===== */
* { font-family: 'Poppins', 'Segoe UI', sans-serif; }

h1, h2, h3, h4, .section-title, .logo, .hero-left h1 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  letter-spacing: -0.01em;
}

.section-title {
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
}
.section-title.color-white::after {
  background: linear-gradient(90deg, var(--mint), var(--amber));
}

::selection {
  background: var(--teal);
  color: #37ce11;
}

/* Slim, on-brand scrollbar (Chromium/WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg,rgba(75, 175, 214, 1) 0%, rgba(75, 175, 214, 0.647) 68%, rgba(191, 31, 10, 0.81) 100%);

  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.logo h2 {
  font-weight: 800;
}
.nav-links a.active {
  background: linear-gradient(90deg, rgba(42,157,143,0.35), rgba(122,233,214,0.15));
}

/* ===== HERO ===== */
.hero-overlay {
  background: linear-gradient(120deg, rgba(6, 24, 41, 0.90) 0%, rgba(10, 37, 64, 0.80) 45%, rgba(11, 133, 119, 0.60) 100%);
}
.hero-left h1,
.hero-left .subhead,
.hero-left .desc {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero-left h1 {
  font-weight: 800;
}
.hero-left h1 span {
  background: linear-gradient(365deg,hwb(197 0% 5%) 0%, hwb(197 0% 5%) 0%, rgba(245, 242, 242, 0.755) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.hero-right {
  background: rgba(10, 37, 64, 0.35);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-right h3 { font-weight: 700; }

/* ===== BUTTONS — unified premium treatment =====
   Primary conversion buttons now use the coral accent — it's the one
   warm color against an otherwise cool navy/teal site, so it's the
   thing your eye lands on first. That contrast is deliberate: it's
   what should make people actually click "Book Now" / "Submit". */
.btn-submit,
.btn-final,
.cta-section .cta-btns .btn-cta.primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.2px;
}
.btn-submit:hover,
.btn-final:hover,
.cta-section .cta-btns .btn-cta.primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(255, 107, 71, 0.5);
}

.card .btn-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.25);
}
.card .btn-card:hover {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  transform: translateY(-2px);
}

.table-wrap .btn-table {
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
}

.float-btn {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.float-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #1da85a);
}
.float-btn.call {
  background: linear-gradient(135deg, #0077b6, #075985);
}

.btn-offer-fixed {
  box-shadow: 0 8px 24px rgba(255, 176, 32, 0.4);
}

/* ===== CARDS ===== */
.card {
  border-top-width: 4px;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}
.card:hover {
  box-shadow: var(--shadow-lift);
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(42,157,143,0.12), rgba(122,233,214,0.18));
  margin-bottom: 14px;
}

.card-why {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
}
.card-why:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
}

.step-card {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}
.step-card .num {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 6px 16px rgba(18, 184, 166, 0.35);
}

/* ===== PRICE TABLE ===== */
.table-wrap {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-wrap th {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.table-wrap tr:hover td {
  background: rgba(94, 234, 212, 0.08);
}

/* ===== FAQ ===== */
.faq-item,
.faq-item-2 {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.faq-item-2 .q {
  font-weight: 600;
}
.faq-item-2 .q.open {
  color: var(--teal-dark);
}

/* ===== REVIEWS ===== */
.review-item,
.review-card {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}
.rating-badge {
  background: linear-gradient(135deg, rgba(244,185,66,0.14), rgba(255,255,255,0));
  border-radius: 999px;
  padding: 10px 24px;
  display: inline-flex;
}

/* ===== COVERAGE AREAS ===== */
.area-box {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

/* ===== FLAG / MALAY CARD ===== */
.flag-card {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 40px;
}
.cta-section .cta-text h2,
.cta-section .cta-text p {
  color: #fff;
}
.cta-section .cta-btns .btn-cta.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== OFFER BANNER / FORM ===== */
.offer-banner {
  background: linear-gradient(90deg, var(--amber), var(--coral));
  box-shadow: 0 10px 26px rgba(255, 176, 32, 0.3);
}
.form-final {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}
.form-final .fg input,
.form-final .fg select {
  border-radius: var(--radius-sm);
}
.form-final .fg input:focus,
.form-final .fg select:focus {
  box-shadow: 0 0 0 3px rgba(18, 184, 166, 0.25);
}

/* ===== OFFER POPUP ===== */
.offer-popup {
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
}
.offer-popup .offer-sub,
.offer-popup .offer-desc,
.offer-popup .offer-terms {
  color: rgba(255, 255, 255, 0.85);
}
.offer-features span {
  color: #fff;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
}
.footer .social-icons a {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: 0.25s;
}
.footer .social-icons a:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

/* ===== TOAST (replaces jarring browser alert() confirmations) ===== */
.bac-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  font-size: 15px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 90vw;
  text-align: center;
}
.bac-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== IMAGE LOADING POLISH ===== */
img {
  color: transparent; /* hides broken-image alt text flash while loading */
}

/* Real photos dropped into the decorative placeholder boxes had no sizing
   rule at all (the boxes were built for an icon+label, not a photo), so
   they rendered off — force them to properly fill and crop the box. */
.img-placeholder {
  overflow: hidden;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* ===== RESPONSIVE POLISH ===== */
@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .cta-section { padding: 28px 20px; }
  .hero-right { padding: 24px 18px; }
}
