/* ============================================================
   M ALAM ENTERPRISE — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy:       #0d1b3e;
  --navy-mid:   #162348;
  --navy-light: #1e2f5c;
  --yellow:     #f5c518;
  --yellow-hot: #ffaa00;
  --white:      #ffffff;
  --off-white:  #f4f6fb;
  --gray:       #8a9ab5;
  --gray-light: #dde3ef;
  --whatsapp:   #25d366;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  28px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.10);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.28);
  --shadow-yellow: 0 8px 32px rgba(245,197,24,0.30);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--navy); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p  { font-size: 0.95rem; color: #3a4a6b; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-hot);
  background: rgba(245,197,24,0.12); border: 1px solid rgba(245,197,24,0.3);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 10px;
}
.section-title { margin-bottom: 10px; }
.section-sub { font-size: 0.92rem; color: var(--gray); max-width: 520px; margin-bottom: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 100px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: var(--shadow-yellow); }
.btn-primary:hover { background: var(--yellow-hot); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 28px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 0.98rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-outline-navy { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 100px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--navy); border: 2px solid var(--navy); transition: var(--transition); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 8px 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(13,27,62,0.97); backdrop-filter: blur(12px); box-shadow: var(--shadow-md); padding: 6px 0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo { display: flex; align-items: center; }
/* Navbar logo image */
/* ── LOGO SIZE CONTROL ──────────────────────────────────────
   To make logo BIGGER: increase the height values below.
   To make logo SMALLER: decrease them.
   Desktop height → line below (.nav-logo-img height)
   Tablet (≤768px) → inside @media max-width:768px
   Mobile (≤480px) → inside @media max-width:480px
────────────────────────────────────────────────────────── */
.nav-logo-img {
  height: 70px;        /* ← DESKTOP: change this number to resize */
  width: auto;
  max-width: 280px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  flex-shrink: 0;
}
/* Footer logo */
.footer-logo-img {
  height: 68px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.footer-logo-wrap { display: flex; }
/* Center footer logo on mobile */
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; transition: color var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-family: var(--font-display); font-size: 0.84rem; font-weight: 700; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.nav-phone span { color: var(--yellow); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; position: fixed; top: 106px; left: 0; right: 0; background: var(--navy); padding: 16px 24px 24px; border-top: 1px solid rgba(255,255,255,0.08); z-index: 999; flex-direction: column; gap: 0; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--white); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: block; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-wa-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px !important;
  padding: 14px 20px !important;
  background: #25D366 !important;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px !important;
  border-bottom: none !important;
  text-align: center;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  transition: background 0.2s, transform 0.15s;
}
.mobile-menu-wa-btn:hover { background: #1ebe5d !important; transform: translateY(-1px); }

/* Brand Pill — GLOBAL uniform size for all pages */
.brand-pill {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 120px;
  height: 72px;
  padding: 6px 8px;
  flex-shrink: 0;
  cursor: default;
  overflow: hidden;
}
.brand-pill:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
/* Fixed logo container — clips all logos uniformly */
.brand-logo-wrap {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-logo-wrap img {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.brand-name-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.56rem;
  color: var(--gray);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}
/* Text-only pill — when logo unavailable */
.brand-pill.text-only {
  height: 48px;
  padding: 8px 10px;
}
.brand-pill.text-only .brand-name-text {
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Service Cards */
.service-card { background: var(--white); border-radius: var(--radius-md); padding: 20px 18px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-light); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--yellow), var(--yellow-hot)); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.service-tag { display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(245,197,24,0.15); color: var(--yellow-hot); padding: 3px 9px; border-radius: 100px; margin-bottom: 5px; }
.service-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--navy); margin: 6px 0 4px; }
.service-desc { font-size: 0.83rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }

/* Review Cards */
.review-card { background: var(--white); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); border: 1.5px solid var(--gray-light); transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars { display: flex; gap: 2px; margin-bottom: 9px; }
.star { color: var(--yellow); font-size: 0.9rem; }
.review-text { font-size: 0.85rem; line-height: 1.6; color: #3a4a6b; font-style: italic; margin-bottom: 12px; }
.reviewer-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.reviewer-meta { font-size: 0.74rem; color: var(--gray); margin-top: 2px; }
.review-badge { display: inline-block; font-size: 0.67rem; background: rgba(46,204,113,0.12); color: #1a9150; padding: 2px 8px; border-radius: 100px; margin-top: 5px; font-weight: 600; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Divider */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--gray-light), transparent); }

/* Page Header */
.page-header { background: var(--navy); padding: 100px 0 52px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(245,197,24,0.10) 0%, transparent 70%); pointer-events: none; }
.page-header h1 { color: var(--white); }
.page-header p  { color: var(--gray); max-width: 500px; margin-top: 8px; }

/* Footer */
.footer { background: #060f25; color: rgba(255,255,255,0.65); padding: 44px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 20px; }
.footer-brand p { font-size: 0.86rem; line-height: 1.7; margin-top: 10px; }
.footer h4 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.86rem; transition: color var(--transition); }
.footer ul li a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; }

/* Floating WhatsApp */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; z-index: 900; width: 52px; height: 52px; background: var(--whatsapp); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 28px rgba(37,211,102,0.55); transition: var(--transition); animation: pulse-wa 2.5s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 26px; height: 26px; fill: white; }
@keyframes pulse-wa { 0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,0.55); } 50% { box-shadow: 0 6px 40px rgba(37,211,102,0.80), 0 0 0 10px rgba(37,211,102,0.10); } }

/* Scroll To Top */
.scroll-top-btn { position: fixed; bottom: 86px; right: 22px; z-index: 900; width: 42px; height: 42px; background: var(--navy); border: 2px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); transition: var(--transition); opacity: 0; pointer-events: none; transform: translateY(10px); }
.scroll-top-btn.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px); }
.scroll-top-btn svg { width: 17px; height: 17px; stroke: var(--white); fill: none; }
.scroll-top-btn:hover svg { stroke: var(--navy); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, #e8ecf4 25%, #d5dbe8 50%, #e8ecf4 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

  /* Footer centered on mobile */
  .footer { padding: 36px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-brand .footer-logo-wrap { justify-content: center; }
  .footer-logo-img { margin: 0 auto; }
  .footer-brand p { text-align: center; }
  .footer-brand .btn { margin: 0 auto; }
  .footer h4 { text-align: center; }
  .footer ul { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  /* Navbar logo responsive */
  .nav-logo-img { height: 72px; max-width: 220px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 32px 0; }
  .whatsapp-float { bottom: 14px; right: 14px; width: 46px; height: 46px; }
  .scroll-top-btn { bottom: 72px; right: 14px; width: 38px; height: 38px; }
  .mobile-menu { top: 58px; }
  .btn { padding: 10px 18px; font-size: 0.86rem; }
  .btn-lg { padding: 12px 22px; font-size: 0.9rem; }
  .nav-logo-img { height: 60px; max-width: 150px; }
  .footer-logo-img { height: 44px; }
}

/* ── Individual Brand Logo Sizes ─────────────────────────── */
.brand-pill[title="Daikin"] .brand-logo-wrap img {
  max-height: 100px;
}
.brand-pill[title="LG"] .brand-logo-wrap img {
  max-height: 100px;
}
.brand-pill[title="Samsung"] .brand-logo-wrap img {
  max-height: 100px;
}
.brand-pill[title="Panasonic"] .brand-logo-wrap img {
  max-height: 500px;
  
}
.brand-pill[title="Blue Star"] .brand-logo-wrap img {
  max-height: 95px;
}
.brand-pill[title="Haier"] .brand-logo-wrap img {
  max-height: 60px;
}
.brand-pill[title="Hitachi"] .brand-logo-wrap img {
  max-height: 80px;
}
.brand-pill[title="Carrier"] .brand-logo-wrap img {
  max-height: 35px;
}
.brand-pill[title="Lloyd"] .brand-logo-wrap img {
  max-height: 100px;
}
.brand-pill[title="Godrej"] .brand-logo-wrap img {
  max-height: 100px;
}
.brand-pill[title="Mitsubishi"] .brand-logo-wrap img {
  max-height: 70px;
}
.brand-pill[title="Whirlpool"] .brand-logo-wrap img {
  max-height: 85px;
}
.brand-pill[title="O General"] .brand-logo-wrap img {
  max-height: 100px;
}


