/* ============================================================
   عيادة نور للأسنان — COMPLETE STYLESHEET v3
   Modern Medical | Light + Dark Mode | RTL
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES — LIGHT & DARK
   ============================================================ */
:root,
[data-theme="light"] {
  --primary:       #2A7BBF;
  --primary-dk:    #1E5F99;
  --primary-lt:    #4A90D9;
  --primary-xlt:   #EBF4FD;
  --accent:        #1AB3A0;
  --accent-lt:     #E6F7F5;
  --gold:          #C8A96E;

  --bg:            #FFFFFF;
  --bg-alt:        #F4F8FC;
  --bg-card:       #FFFFFF;
  --bg-border:     #DDE9F5;

  --text:          #1A2B3C;
  --text-muted:    #5A748A;
  --text-light:    #8DA3B5;

  --shadow-sm:     0 2px 8px rgba(42,123,191,0.08);
  --shadow-md:     0 8px 32px rgba(42,123,191,0.13);
  --shadow-lg:     0 20px 60px rgba(42,123,191,0.16);

  --nav-scrolled:  rgba(255,255,255,0.97);
  --input-bg:      #F4F8FC;
  --input-border:  #D0E4F5;

  --footer-bg:     #0D1E2D;
  --footer-text:   rgba(255,255,255,0.65);
  --footer-title:  #FFFFFF;
  --footer-bot:    #07111A;

  --radius:        14px;
  --radius-sm:     8px;
  --radius-lg:     22px;
  --trans:         all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  --font:          'Cairo', sans-serif;
  --font-d:        'Playfair Display', serif;
}

[data-theme="dark"] {
  --primary:       #4A90D9;
  --primary-dk:    #2A7BBF;
  --primary-lt:    #6AAEE8;
  --primary-xlt:   rgba(74,144,217,0.13);
  --accent:        #20C8B2;
  --accent-lt:     rgba(26,179,160,0.13);

  --bg:            #0D1B2A;
  --bg-alt:        #111F30;
  --bg-card:       #152537;
  --bg-border:     #1E3347;

  --text:          #E8F0F8;
  --text-muted:    #90AABB;
  --text-light:    #607080;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.35);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.45);

  --nav-scrolled:  rgba(13,27,42,0.97);
  --input-bg:      #152537;
  --input-border:  #1E3347;

  --footer-bg:     #08111A;
  --footer-bot:    #040C14;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, select, textarea { font-family: var(--font); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 100px 0; }
.bg-alt { background: var(--bg-alt); }

/* Image error fallback */
.img-error,
img.img-fallback {
  background: linear-gradient(135deg, #0d2240, #1a3a5c);
  min-height: 200px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   3. PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0D1B2A;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }

.pre-inner {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}

.pre-logo-img {
  width: 72px; height: 72px; object-fit: contain;
  /* ROUND logo in preloader */
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 0 40px rgba(200,169,110,0.35);
  animation: fadeUp 0.6s ease forwards; opacity: 0;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

.pre-name {
  color: #fff; font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.04em; opacity: 0;
  animation: fadeUp 0.6s 0.4s ease forwards;
}

.pre-bar-wrap {
  width: 130px; height: 3px;
  background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden;
}
.pre-bar-fill {
  height: 100%; background: var(--primary-lt); border-radius: 99px;
  animation: barGrow 1.5s 0.3s ease forwards;
  transform-origin: right; transform: scaleX(0);
}
@keyframes barGrow { to { transform: scaleX(1); } }

/* ============================================================
   4. NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 16px 0; transition: var(--trans);
}
#navbar.scrolled {
  background: var(--nav-scrolled);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

.nav-logo-img {
  width: 40px; height: 40px; object-fit: contain;
  /* ROUND logo in navbar */
  border-radius: 50%;
  background: white;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: var(--trans);
}

.logo-stack { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-size: 0.97rem; font-weight: 400;
  color: rgba(255,255,255,0.92); transition: color 0.35s;
}
#navbar.scrolled .logo-main { color: var(--text); }
.logo-main strong { font-weight: 800; color: var(--primary-lt); }
.logo-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em; transition: color 0.35s;
}
#navbar.scrolled .logo-sub { color: var(--text-muted); }

/* Nav links */
.nav-links { display: flex; gap: 2px; margin-right: auto; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.875rem; font-weight: 500;
  padding: 7px 13px; border-radius: 7px; white-space: nowrap;
  transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-lt); background: rgba(74,144,217,0.13);
}
#navbar.scrolled .nav-links a { color: var(--text-muted); }
#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--primary); background: var(--primary-xlt);
}

/* Nav end */
.nav-end { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8); font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(6px);
  transition: var(--trans);
}
.theme-toggle:hover { background: rgba(255,255,255,0.2); transform: rotate(20deg); }
#navbar.scrolled .theme-toggle {
  border-color: var(--bg-border); color: var(--text-muted); background: var(--bg-alt);
}
#navbar.scrolled .theme-toggle:hover {
  background: var(--primary-xlt); border-color: var(--primary); color: var(--primary);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: #fff;
  padding: 9px 20px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 700; white-space: nowrap;
  transition: var(--trans);
}
.nav-cta:hover { background: var(--primary-dk); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,0.9); border-radius: 2px; transition: var(--trans);
}
#navbar.scrolled .hamburger span { background: var(--text); }

/* Mobile menu */
.mobile-menu {
  display: none; background: var(--bg-card);
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  border-top: 1px solid var(--bg-border);
}
.mobile-menu.open { max-height: 440px; padding: 10px 0; }
.mobile-menu ul { padding: 0 24px; display: flex; flex-direction: column; }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); padding: 12px 0;
  font-size: 0.95rem; font-weight: 500;
  border-bottom: 1px solid var(--bg-border); transition: var(--trans);
}
.mobile-menu a:hover { color: var(--primary); padding-right: 6px; }
.mobile-menu a i { width: 16px; color: var(--primary); font-size: 0.85rem; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--primary); color: #fff;
  padding: 13px 26px; border-radius: 10px;
  font-size: 0.925rem; font-weight: 700; font-family: var(--font);
  cursor: pointer; border: none; transition: var(--trans);
}
.btn-primary:hover {
  background: var(--primary-dk); transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-primary.sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-primary.full { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: #fff;
  padding: 13px 26px; border-radius: 10px;
  font-size: 0.925rem; font-weight: 600; font-family: var(--font);
  border: 1.5px solid rgba(255,255,255,0.38); transition: var(--trans);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ============================================================
   6. SECTION LABELS & TITLES
   ============================================================ */
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-xlt); color: var(--primary);
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 99px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(74,144,217,0.2);
}
.sec-title {
  font-family: var(--font); font-size: clamp(1.85rem,4vw,2.75rem);
  font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: 14px;
}
.sec-title em { font-style: italic; color: var(--primary); font-family: var(--font-d); font-weight: 600; }
.sec-header { text-align: center; margin-bottom: 56px; }
.sec-sub { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  background: #071525;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.7) brightness(0.75);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    rgba(7,21,37,0.92) 0%,
    rgba(7,21,37,0.72) 50%,
    rgba(7,21,37,0.42) 100%
  );
}

/* Animated shapes (always visible as depth layer) */
.hero-bg-shapes {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.hbs {
  position: absolute; border-radius: 50%;
  animation: floatBall 9s ease-in-out infinite;
}
.hbs-1 {
  width: 520px; height: 520px; top: -160px; left: -80px;
  background: rgba(74,144,217,0.06);
}
.hbs-2 {
  width: 340px; height: 340px; bottom: -60px; right: 8%;
  background: rgba(26,179,160,0.05); animation-delay: -4s;
}
@keyframes floatBall {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-28px) scale(1.03); }
}

/* Fallback gradient when image fails */
.hero-bg.img-error .hero-img { display: none; }
.hero-bg.img-error {
  background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(74,144,217,0.2) 0%, transparent 60%),
              linear-gradient(135deg, #071525 0%, #0d2240 40%, #0a1828 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 32px; padding-top: 100px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,144,217,0.18);
  border: 1px solid rgba(74,144,217,0.4);
  color: #93C8F5; font-size: 0.8rem; font-weight: 600;
  padding: 7px 16px; border-radius: 99px;
  letter-spacing: 0.05em; margin-bottom: 22px;
}
.hero-title {
  display: flex; flex-direction: column;
  font-family: var(--font); font-size: clamp(2.8rem,6.5vw,5rem);
  font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 20px;
}
.hero-title em {
  font-style: italic; font-family: var(--font-d);
  font-weight: 600; color: #7DC4F8;
}
.hero-sub {
  color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.8;
  max-width: 520px; margin-bottom: 32px;
}
.hero-btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; align-items: center; gap: 28px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; backdrop-filter: blur(12px); width: fit-content;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.stat-item strong { font-size: 1.7rem; font-weight: 800; color: #7DC4F8; line-height: 1; }
.stat-item span { font-size: 0.75rem; color: rgba(255,255,255,0.55); white-space: nowrap; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5);
  animation: scrollBob 2s infinite;
}
@keyframes scrollBob {
  0%,100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(10px); opacity: 1; }
}

/* ============================================================
   8. ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-imgs { position: relative; }

.img-main-wrap {
  width: 72%; aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-sm-wrap {
  width: 48%; aspect-ratio: 1;
  border-radius: var(--radius); overflow: hidden;
  position: absolute; bottom: -28px; left: -16px;
  border: 4px solid var(--bg); box-shadow: var(--shadow-md);
}
.exp-float {
  position: absolute; top: 28px; left: -10px;
  background: var(--primary); color: #fff;
  padding: 14px 18px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-md);
}
.exp-num { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.exp-lbl { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 2px; }

.about-para { color: var(--text-muted); font-size: 0.97rem; line-height: 1.82; margin: 16px 0 24px; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; color: var(--text); }
.check-list i { color: var(--accent); font-size: 0.9rem; flex-shrink: 0; }

/* ============================================================
   9. SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius); padding: 32px 26px; transition: var(--trans);
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: right; transition: var(--trans);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(74,144,217,0.3); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--primary-xlt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--primary);
  margin-bottom: 18px; transition: var(--trans);
}
.svc-card:hover .svc-icon { background: var(--primary); color: #fff; }
.svc-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.svc-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 18px; }
.svc-link {
  font-size: 0.82rem; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px; transition: var(--trans);
}
.svc-link:hover { gap: 10px; }

/* ============================================================
   10. GALLERY — REAL PHOTOS
   ============================================================ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 290px 240px;
  gap: 14px;
}

.gal-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: zoom-in;
  background: var(--bg-alt);
}

.gal-item.gal-large {
  grid-column: span 2;
  grid-row: span 2;
}

/* The actual photo */
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
  display: block;
}

.gal-item:hover img { transform: scale(1.06); }

/* Caption overlay */
.gal-caption {
  position: absolute; bottom: 0; right: 0; left: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(to top, rgba(7,21,37,0.88) 0%, transparent 100%);
  color: #fff; font-size: 0.88rem; font-weight: 600;
  display: flex; align-items: center; gap: 7px;
  opacity: 0; transform: translateY(6px); transition: var(--trans);
}
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }
.gal-caption i { color: var(--gold); font-size: 0.85rem; }

/* ============================================================
   11. WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
}
.why-img-wrap img { border-radius: var(--radius-lg); }
.why-badge {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--primary); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 700; box-shadow: var(--shadow-md);
}
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0;
  background: var(--primary-xlt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--primary);
}
.why-item h4 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.why-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.68; }

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testi-outer { overflow: hidden; width: 100%; }
.testi-track {
  display: flex; gap: 0;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.testi-slide {
  flex: 0 0 calc(33.333%); min-width: calc(33.333%);
  padding: 0 12px; box-sizing: border-box;
}
.testi-card {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius); padding: 30px 26px; height: 100%;
  transition: var(--trans);
}
.testi-card:hover { border-color: rgba(74,144,217,0.35); box-shadow: var(--shadow-md); }
.testi-quote { font-size: 1.6rem; color: var(--primary-lt); opacity: 0.22; margin-bottom: 12px; display: block; }
.testi-stars { display: flex; gap: 3px; color: #F0A500; font-size: 0.825rem; margin-bottom: 14px; }
.testi-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.78; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-xlt); border: 1.5px solid rgba(74,144,217,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.testi-author span { font-size: 0.75rem; color: var(--primary); font-weight: 500; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.t-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--bg-border); color: var(--primary);
  font-size: 0.95rem; display: flex; align-items: center; justify-content: center;
  background: var(--bg-card); transition: var(--trans);
}
.t-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.05); }
.t-dots { display: flex; gap: 8px; align-items: center; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg-border); cursor: pointer; transition: var(--trans);
}
.t-dot.active { background: var(--primary); transform: scale(1.35); }

@media (max-width: 1024px) {
  .testi-slide { flex: 0 0 50%; min-width: 50%; }
}
@media (max-width: 640px) {
  .testi-slide { flex: 0 0 100%; min-width: 100%; padding: 0 4px; }
}

/* ============================================================
   13. CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.form-col {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-sm);
}
#contactForm { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label {
  font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.fg label i { color: var(--primary); }
.fg input, .fg select, .fg textarea {
  padding: 12px 14px; border-radius: 9px;
  border: 1.5px solid var(--input-border);
  background: var(--input-bg); color: var(--text);
  font-size: 0.9rem; outline: none; transition: var(--trans);
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--primary); background: var(--bg);
  box-shadow: 0 0 0 3px rgba(74,144,217,0.12);
}
.fg textarea { resize: vertical; min-height: 110px; }

.info-col { display: flex; flex-direction: column; gap: 20px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-card); border: 1px solid var(--bg-border); border-radius: var(--radius-sm);
}
.info-ic {
  width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
  background: var(--primary-xlt);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--primary);
}
.info-item h4 { font-size: 0.83rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.info-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--bg-border); }
.map-bar {
  background: var(--primary); color: #fff;
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700;
}
.map-box iframe { display: block; }

.social-row { display: flex; gap: 10px; }
.soc-btn {
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--bg-card); border: 1px solid var(--bg-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.95rem; transition: var(--trans);
}
.soc-btn:hover { transform: translateY(-2px); }
.soc-btn.fb:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.soc-btn.ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border: none; color: #fff; }
.soc-btn.wa:hover { background: #25D366; border-color: #25D366; color: #fff; }
.soc-btn.tt:hover { background: #010101; border-color: #010101; color: #fff; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer { background: var(--footer-bg); }
.footer-main { padding: 72px 0 56px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }

.ft-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ft-logo-img {
  width: 52px; height: 52px; object-fit: contain;
  /* ROUND logo in footer */
  border-radius: 50%;
  background: white;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.ft-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.ft-logo-text span { font-size: 1.05rem; font-weight: 400; color: var(--footer-title); }
.ft-logo-text span strong { font-weight: 800; color: var(--primary-lt); }
.ft-logo-text small { font-size: 0.7rem; color: var(--footer-text); letter-spacing: 0.04em; }
.ft-desc { color: var(--footer-text); font-size: 0.875rem; line-height: 1.8; margin-bottom: 24px; }

.ft-social { display: flex; gap: 10px; }
.ft-social a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--trans);
}
.ft-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

.ft-col h4 {
  font-size: 0.92rem; font-weight: 700; color: var(--footer-title);
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft-col ul { display: flex; flex-direction: column; gap: 10px; }
.ft-col ul li a {
  display: flex; align-items: center; gap: 8px;
  color: var(--footer-text); font-size: 0.86rem; transition: var(--trans);
}
.ft-col ul li a:hover { color: var(--primary-lt); padding-right: 4px; }
.ft-col ul li a i { font-size: 0.7rem; color: var(--primary-lt); opacity: 0.6; }

.ft-info { display: flex; flex-direction: column; gap: 14px; }
.ft-info li { display: flex; gap: 10px; align-items: flex-start; }
.ft-info li i { color: var(--primary-lt); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.ft-info li span { color: var(--footer-text); font-size: 0.86rem; line-height: 1.55; }

.footer-bot { background: var(--footer-bot); padding: 18px 0; }
.ft-bot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ft-bot-inner p { color: rgba(255,255,255,0.32); font-size: 0.8rem; }
.ft-badges { display: flex; gap: 18px; }
.ft-badges span { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.38); font-size: 0.75rem; }
.ft-badges span i { color: var(--primary-lt); font-size: 0.7rem; }

/* ============================================================
   15. WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  display: flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 12px 18px 12px 14px; border-radius: 50px;
  font-size: 1.4rem; box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  text-decoration: none; transition: var(--trans);
  animation: waPulse 2.5s ease infinite;
}
.wa-float span { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.wa-float:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,0.55); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 40px rgba(37,211,102,0.7); }
}

/* ============================================================
   16. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(5,12,22,0.88); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--bg-border);
  border-radius: 22px; padding: 48px 40px; max-width: 460px; width: 100%;
  text-align: center; box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  transform: scale(0.88) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.show .modal-box { transform: scale(1) translateY(0); }
.modal-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(26,179,160,0.12); border: 2px solid rgba(26,179,160,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--accent);
  margin: 0 auto 20px;
  animation: popIn 0.5s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popIn { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }
.modal-box h3 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.modal-box > p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; margin-bottom: 18px; }
.modal-detail {
  background: var(--bg-alt); border: 1px solid var(--bg-border); border-radius: 10px;
  padding: 14px 18px; font-size: 0.88rem; color: var(--text-muted);
  margin-bottom: 24px; text-align: right; line-height: 1.8;
}
.modal-detail:empty { display: none; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff; padding: 13px 24px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 700; font-family: var(--font); transition: var(--trans);
}
.modal-wa-btn:hover { background: #1daa52; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.modal-close-btn {
  background: var(--bg-alt); border: 1.5px solid var(--bg-border);
  color: var(--text-muted); padding: 13px 24px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600; font-family: var(--font); cursor: pointer; transition: var(--trans);
}
.modal-close-btn:hover { background: var(--primary-xlt); border-color: var(--primary); color: var(--primary); }

/* ============================================================
   17. SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left { opacity: 0; transform: translateX(36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(-36px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translate(0,0); }

/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .gal-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .gal-item.gal-large { grid-column: span 2; height: 320px; }
  .gal-item { height: 230px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-imgs { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img-wrap { max-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .section-pad { padding: 72px 0; }
  .container { padding: 0 20px; }
  .hero-content { padding: 0 20px; padding-top: 100px; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { flex-wrap: wrap; gap: 18px; padding: 16px 18px; }
  .stat-sep { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gal-item { height: 180px; }
  .gal-item.gal-large { grid-column: span 2; height: 250px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ft-bot-inner { flex-direction: column; text-align: center; }
  .ft-badges { justify-content: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .sec-title { font-size: 1.7rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-white { width: 100%; justify-content: center; }
  .modal-box { padding: 32px 20px; }
}