/* ============================================================
   BATROOL GROUP — Main Stylesheet (cleaned)
   Brand: #0857C3 (Primary Blue) | #1B1464 (Deep Navy) | #C9A84C (Gold)
   Only rules actually used by index / about / services / contact
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --blue:        #0857C3;
  --navy:        #1B1464;
  --navy-dark:   #120e45;
  --gold:        #C9A84C;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --light-gray:  #eef0f6;
  --mid-gray:    #9aa1b5;
  --text:        #2c2c54;
  --text-light:  #5a5f7a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --shadow-sm:   0 2px 8px rgba(8,87,195,0.08);
  --shadow-md:   0 6px 24px rgba(8,87,195,0.14);
  --shadow-lg:   0 16px 48px rgba(27,20,100,0.18);

  --radius:      6px;
  --radius-lg:   14px;
  --transition:  all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; margin: 0; }

/* --- Utility --- */
.section-pad { padding: 90px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 18px;
}

.section-title span { color: var(--blue); }

.divider-line {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin: 18px 0 28px;
}

.divider-line.center { margin-left: auto; margin-right: auto; }

.text-gold    { color: var(--gold) !important; }
.bg-off-white { background: var(--off-white) !important; }

/* --- Buttons --- */
.btn-primary-brand {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary-brand:hover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8,87,195,0.35);
}

/* Small variant used on service cards (replaces inline styles) */
.btn-sm-brand { font-size: 0.82rem; padding: 10px 22px; }

.btn-outline-brand {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-brand:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #a8832e 100%);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #a8832e 0%, var(--gold) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

/* ============================================================
   TOP BAR — visible on desktop AND mobile
   ============================================================ */
#top-bar {
  background: var(--navy-dark);
  padding: 9px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#top-bar a { color: rgba(255,255,255,0.72); }
#top-bar a:hover { color: var(--gold); }

.top-bar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top-bar-info span { display: flex; align-items: center; gap: 6px; }
.top-bar-info i { color: var(--gold); font-size: 0.78rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(27,20,100,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

#main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(27,20,100,0.16);
}

.navbar-brand { padding: 10px 0; }
.navbar-brand img { height: 52px; width: auto; }

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--navy) !important;
  letter-spacing: 0.4px;
  padding: 24px 18px !important;
  text-transform: uppercase;
  font-size: 0.82rem;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--blue) !important; }

.navbar-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 8px 0;
  min-width: 240px;
}

.navbar-nav .dropdown-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 22px;
  transition: var(--transition);
  display: flex; align-items: center; gap: 10px;
}

.navbar-nav .dropdown-item i { color: var(--blue); font-size: 0.8rem; }
.navbar-nav .dropdown-item:hover { background: var(--off-white); color: var(--blue); padding-left: 28px; }

/* ============================================================
   HERO / CAROUSEL — photo backgrounds with opacity
   ============================================================ */
#hero-carousel { position: relative; overflow: hidden; }

.hero-slide {
  min-height: 76vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}

/* Gradient overlay above the photo, below the content */
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(27,20,100,0.92) 0%, rgba(8,87,195,0.60) 60%, rgba(27,20,100,0.75) 100%);
  z-index: 1;
}

/* Background photo — sits under the gradient, softened by opacity */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

/* SVG pattern overlay */
.hero-pattern {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
}

.hero-title .accent { color: var(--gold); display: block; }

.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: var(--transition);
  opacity: 1;
  margin: 0 18px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--blue); }

.carousel-indicators { bottom: 28px; }
.carousel-indicators [data-bs-target] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  opacity: 1;
  margin: 0 5px;
  transition: var(--transition);
}
.carousel-indicators .active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================================================
   HOME — SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(8,87,195,0.15);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8,87,195,0.08), rgba(27,20,100,0.06));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--blue);
  transition: var(--transition);
}

.service-card:hover .service-icon i { color: var(--white); }

.service-card h5 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 22px;
  line-height: 1.7;
}

.service-card .learn-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.service-card .learn-more:hover { color: var(--navy); gap: 10px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(110deg, var(--blue) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .section-title { color: var(--white); }

/* ============================================================
   FOOTER — copyright left, social icons right
   ============================================================ */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.70);
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(110deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
}

.page-hero-subtitle { color: rgba(255,255,255,0.72); font-size: 1rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.value-card {
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: var(--transition);
  height: 100%;
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(8,87,195,0.18);
  transform: translateY(-4px);
}
.value-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.mission-vision-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  height: 100%;
}

.mv-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* Quick links bar (was inline styles) */
.svc-quicklinks {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}
.svc-quicklinks a {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 22px;
  font-size: 0.83rem; font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}
.svc-quicklinks a i { color: var(--blue); }
.svc-quicklinks a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Section header — white background variant */
.service-section-header {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 5px solid var(--blue);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.service-section-header::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(8,87,195,0.04);
}

.service-section-header .svc-number {
  font-size: 5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(8,87,195,0.10);          /* soft blue on white */
  position: absolute;
  top: 10px; right: 44px;
  line-height: 1;
}

.service-section-icon {
  width: 70px; height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--navy));  /* blue gradient on white */
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(8,87,195,0.25);
}

.service-section-header h2 {
  color: var(--navy);                   /* navy heading on white */
  font-size: 1.7rem;
  margin-bottom: 0;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  height: 100%;
  transition: var(--transition);
}
.service-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(8,87,195,0.14); }

.svc-img-wrap {
  width: 100%;
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

.svc-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.55);
}

.svc-body { padding: 26px 24px 28px; }
.svc-body h5 { font-size: 1.08rem; margin-bottom: 10px; }
.svc-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }

.svc-bullets { margin-bottom: 22px; }
.svc-bullets li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text); margin-bottom: 7px;
}
.svc-bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Gradient bg variants for svc images */
.svc-bg-1 { background: linear-gradient(135deg, #0857C3, #1B1464); }
.svc-bg-2 { background: linear-gradient(135deg, #1B1464, #0a1f6b); }
.svc-bg-3 { background: linear-gradient(135deg, #0857C3, #0a4a99); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  height: 100%;
}

.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item h6 {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 5px;
}
.contact-info-item p, .contact-info-item a {
  color: rgba(255,255,255,0.80);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}
.contact-info-item a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 42px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.form-label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.4px; margin-bottom: 7px; }

.form-control {
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 0.92rem;
  color: var(--text);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,87,195,0.12);
  outline: none;
}

.form-control::placeholder { color: var(--mid-gray); }

/* Honeypot — visually removed, still submitted by naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* reCAPTCHA — keep it inside the card on small screens */
.g-recaptcha { transform-origin: left top; }
@media (max-width: 380px) {
  .g-recaptcha { transform: scale(0.85); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp { animation: fadeInUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Scroll reveal (JS controlled) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .animate-fadeInUp { animation: none; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  border: none;
  display: none; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
#back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
#back-to-top.show { display: flex; }

/* ============================================================
   PRELOADER (home page only)
   ============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}
#preloader.done { opacity: 0; pointer-events: none; }

.preloader-inner { text-align: center; }
.preloader-logo { height: 56px; filter: brightness(0) invert(1); margin-bottom: 22px; animation: fadeInUp 0.5s ease both; }
.preloader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  animation: load 1.4s ease forwards;
}
@keyframes load { from { width: 0; } to { width: 100%; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .navbar-nav .nav-link { padding: 12px 0 !important; }
  .navbar-nav .nav-link::after { display: none; }
  .hero-slide { min-height: 70vh; }
  .contact-form-card { padding: 30px 22px; }
}

@media (max-width: 767px) {
  .section-pad { padding: 60px 0; }
  .hero-slide { min-height: 60vh; }
  .service-section-header { padding: 28px 22px; }
  .service-section-header .svc-number { font-size: 3rem; right: 22px; }
  /* Top bar stays visible on mobile — just tighter */
  #top-bar { font-size: 0.72rem; padding: 7px 0; }
  .top-bar-info { gap: 12px; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-section .d-flex { flex-direction: column; gap: 12px; }
  .contact-info-card { padding: 28px 20px; }
}
