/* =============================================
   OrthoPro Clinic & Trauma Centre — Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #143766;       /* Logo navy — "ORTHO" */
  --primary-dark: #0a2550;
  --primary-light: #e4f3f2;
  --accent: #00b5a5;        /* Logo teal — "PRO"   */
  --accent-light: #e0f5f3;
  --text: #1c1c2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f4faf9;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(20, 55, 102, 0.08);
  --shadow-md: 0 8px 30px rgba(20, 55, 102, 0.14);
  --shadow-lg: 0 20px 60px rgba(20, 55, 102, 0.20);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font: 'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header h2 span {
  color: #39a29d;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255,255,255,0.75);
}

.section-header.light .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-nav {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-nav:hover {
  background: var(--primary-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.floating-contact {
  position: fixed;
  right: 30px;
  bottom: 86px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1200;
}

.floating-btn {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
}

.floating-btn i {
  font-size: 1.5rem;
}

.floating-whatsapp {
  background: #25d366;
}

.floating-call {
  background: var(--primary);
}

@media (max-width: 480px) {
  .floating-contact {
    right: 12px;
    bottom: 90px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  /* White on the dark slider background */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

/* Show real logo colors on white navbar */
.navbar.scrolled .logo-img {
  filter: none;
}

.logo-img-footer {
  /* Footer logo already designed for dark bg — no filter */
  filter: none;
  height: 52px;
  max-width: 200px;
  object-fit: contain;
  opacity: 1;
}

/* Text fallback shown when logo.png is missing */
.logo-fallback {
  display: none;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.navbar.scrolled .logo-icon {
  background: var(--primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.navbar.scrolled .logo-main { color: var(--primary); }
.navbar.scrolled .logo-sub  { color: var(--text-muted); }

.footer .logo-main { color: var(--white); }
.footer .logo-sub  { color: rgba(255,255,255,0.6); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-links li a {
  color: #39a29d;
}

.navbar.scrolled .nav-links li a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* Mobile Top Bar */
.mobile-topbar {
  display: none;
}

.mobile-topbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-topbar-phone i {
  font-size: 0.85rem;
  background: rgba(255,255,255,0.2);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Nav Contact */
.nav-contact {
  display: flex;
  align-items: center;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-phone:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.navbar.scrolled .nav-phone {
  color: #39a29d;
}

.navbar.scrolled .nav-phone:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-close {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text);
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 7s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,80,0.92) 0%, rgba(20,55,102,0.78) 50%, rgba(0,181,165,0.42) 100%);
}

.slide-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(230,57,70,0.15) 0%, transparent 40%);
}

.slide-overlay::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Container inside slide must fill full height for vertical centering */
.slide .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-content {
  max-width: 680px;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.slide-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.slide-content h1 span {
  color: #4dd4cc;
}

.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}


/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,0.22);
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background: rgba(255,255,255,0.38);
  border-color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

.dot:hover:not(.active) {
  background: rgba(255,255,255,0.75);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 10%;
  z-index: 11;
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
  transition: all var(--transition);
}

.hero-scroll a:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /*box-shadow: var(--shadow-lg);*/
  aspect-ratio: 5 / 6;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: contain;;
  /*object-position: center top;*/
  display: block;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.04);
}

.about-img-overlay {
  display: none;
}

.about-badge-float {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.about-badge-float i {
  color: #f59e0b;
}

.about-text .section-tag {
  margin-top: 0;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text);
}

.about-text h2 span {
  color: var(--primary);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-highlights {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.about-highlights li i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-img {
  width: 100%;
  height: 185px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.07);
}

.service-body {
  padding: 22px 24px 26px;
}

.service-card h3 {
  fontfont-size: 1.50rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
    text-transform: uppercase;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Staggered animation delays */
.service-card:nth-child(1)  { animation-delay: 0.05s; }
.service-card:nth-child(2)  { animation-delay: 0.10s; }
.service-card:nth-child(3)  { animation-delay: 0.15s; }
.service-card:nth-child(4)  { animation-delay: 0.20s; }
.service-card:nth-child(5)  { animation-delay: 0.25s; }
.service-card:nth-child(6)  { animation-delay: 0.30s; }
.service-card:nth-child(7)  { animation-delay: 0.35s; }
.service-card:nth-child(8)  { animation-delay: 0.40s; }
.service-card:nth-child(9)  { animation-delay: 0.45s; }
.service-card:nth-child(10) { animation-delay: 0.50s; }
.service-card:nth-child(11) { animation-delay: 0.55s; }
.service-card:nth-child(12) { animation-delay: 0.60s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #007a6e 100%);
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.why::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.why-card i {
  font-size: 2.2rem;
  color: #4dd4cc;
  margin-bottom: 20px;
  display: block;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-item a:hover {
  color: var(--primary-dark);
}

.contact-item p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #0a1e3d;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.4fr;
  gap: 48px;
  padding: 72px 24px 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-services li {
  font-size: 0.9rem;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact i {
  color: #39a29d;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* =============================================
   SERVICE CARD BUTTONS
   ============================================= */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body p {
  flex: 1;
}

.service-btns {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-sc-call,
.btn-sc-enquire {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-sc-call {
  background: var(--primary);
  color: var(--white);
}

.btn-sc-call:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sc-enquire {
  background: #39a29d;
  color: var(--white);
}

.btn-sc-enquire:hover {
  background: #d99200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,168,0,0.35);
}

/* =============================================
   ENQUIRY MODAL
   ============================================= */
.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 80, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.enquiry-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.enquiry-modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,37,80,0.30);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}

.enquiry-overlay.open .enquiry-modal {
  transform: translateY(0) scale(1);
}

.enquiry-header {
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.enquiry-header span {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.enquiry-header i {
  font-size: 1.1rem;
  color: #4dd4cc;
}

.enquiry-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.enquiry-close:hover {
  background: rgba(255,255,255,0.28);
}

.enquiry-body {
  padding: 28px 28px 32px;
}

.enquiry-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.enquiry-field input,
.enquiry-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

.enquiry-field input:focus,
.enquiry-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,181,165,0.15);
}

.enquiry-field input.invalid,
.enquiry-field textarea.invalid {
  border-color: #e63946;
}

.btn-enquiry-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 4px;
}

.btn-enquiry-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,181,165,0.35);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual {
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Mobile Top Bar */
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--primary-dark, #1a7a75), var(--primary, #39a29d));
    padding: 9px 16px;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: 44px;
  }

  /* Navbar pushed below top bar */
  .navbar { padding: 14px 0; top: 44px; }
  .navbar.scrolled { padding: 10px 0; }
  .logo-img { height: 38px; }
  .hamburger { display: flex; margin-top: 4px; z-index: 1001; }

  .nav-inner {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-contact {
    order: 2;
    margin-left: auto;
    margin-top: 0;
  }

  .hamburger {
    order: 3;
  }

  .nav-phone {
    font-size: 0.8rem;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    top: 44px;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links.open ~ .nav-close {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-close {
    display: flex;
    position: fixed;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.1rem;
    z-index: 1002;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-links li a {
    font-size: 1.3rem;
    padding: 14px 32px;
    color: var(--white) !important;
    background: transparent !important;
  }

  .nav-links li a:hover {
    background: rgba(255,255,255,0.1) !important;
  }

  /* ---- Slider mobile fixes ---- */
  .hero-slider { height: 100svh; min-height: 560px; }

  /* Content: pin to top so heading never hides behind navbar */
  .slide .container {
    align-items: flex-start;
    padding-top: 0;
  }

  .slide-content {
    padding-top: 130px;
    padding-bottom: 80px;
    width: 100%;
    max-width: 100%;
  }

  /* Tighter heading */
  .slide-content h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    margin-bottom: 12px;
  }

  /* Smaller body copy */
  .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 22px;
    line-height: 1.6;
  }

  /* Badge */
  .hero-badge {
    font-size: 0.74rem;
    padding: 5px 13px;
    margin-bottom: 14px;
  }

  /* CTA buttons: full width, stacked */
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 22px;
    gap: 10px;
  }

  .hero-cta .btn { justify-content: center; }

  /* Arrows: move to bottom center, out of the content area */
  .slider-arrow {
    top: auto;
    bottom: 84px;
    transform: none;
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .slider-arrow:hover { transform: scale(1.08); }
  .slider-prev {
    left: calc(50% - 54px);
    right: auto;
  }
  .slider-next {
    left: calc(50% + 16px);
    right: auto;
  }

  /* Dots above arrows */
  .slider-dots { bottom: 18px; z-index: 18; }

  /* Hide scroll indicator on mobile */
  .hero-scroll { display: none; }

  /* About */
  .about-badge-float { right: 12px; bottom: 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 40px;
  }
}

@media (max-width: 480px) {
  .slide-content h1 { font-size: clamp(1.55rem, 8vw, 1.9rem); }
  .hero-cta { align-items: baseline; }
  .contact-actions { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .service-btns { flex-direction: column; }
  .enquiry-body { padding: 20px 18px 24px; }
  .enquiry-header span { font-size: 0.88rem; }
  .nav-contact { display: none; }
}
