/* ---------- RESET & GLOBAL VARIABLES ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bb:      #5BB8F5;
  --bb-lt:   #A8D8F8;
  --bb-pale: #E8F5FE;
  --bb-dark: #2D8FCC;
  --gray1:   #F7F9FB;
  --gray2:   #EBF0F5;
  --gray3:   #C4D0DC;
  --gray4:   #6B7F90;
  --dark:    #1E2D3D;
  --white:   #FFFFFF;
}

html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: 'Poppins', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; }

/* ---------- ADA ACCESSIBILITY ---------- */
:focus-visible {
  outline: 3px solid var(--bb);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bb-dark);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}
.skip-to-content:focus { top: 0; }

.ico { display: inline-block; color: var(--bb); }
.ico svg { display: block; }

/* ---------- NAVIGATION BAR ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 80px;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray2);
  box-shadow: 0 1px 14px rgba(91,184,245,0.08);
  transition: box-shadow .3s;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; max-height: 80px; overflow: hidden; }
.nav-logo-img { height: 80px; width: auto; display: block; max-width: 100%; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { white-space: nowrap; padding: 7px 14px; border-radius: 6px; text-decoration: none; font-size: 0.85rem; font-weight: 500; color: var(--gray4); transition: all .2s; }
.nav-links a:hover { color: var(--dark); background: var(--gray1); }

.nav-cta { padding: 10px 22px; border-radius: 30px; background: var(--bb); color: var(--white); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--bb-dark); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 38px; height: 38px; border: none; background: none; cursor: pointer;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO SECTION (static background) ---------- */
.hero { 
  margin-top: 68px; position: relative; height: 620px; overflow: hidden;
  background-color: #1a2e44;
  background-image: url("images/hero logo.png");
  background-size: cover;
  background-position: center;
}
.hero::after { 
  content: ''; position: absolute; inset: 0; 
  background: linear-gradient(120deg, rgba(30,45,61,0.82) 0%, rgba(30,45,61,0.38) 60%, transparent 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 5%; max-width: 600px; }
h1.hero-headline { font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 16px; }
h1.hero-headline em { font-style: italic; color: var(--bb-lt); }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.6; max-width: 380px; margin-bottom: 28px; }
.hero-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-rating-stars { display: flex; gap: 3px; }
.hero-rating-stars svg { color: #FFD166; }
.hero-rating-text { font-size: 0.8rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.hero-btns { display: flex; gap: 12px; }
.btn-primary { padding: 13px 30px; border-radius: 28px; background: var(--bb); color: var(--white); font-weight: 700; font-size: 0.95rem; text-decoration: none; box-shadow: 0 6px 22px rgba(91,184,245,0.45); transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--bb-dark); transform: translateY(-2px); }
.hero-stats { position: absolute; bottom: 28px; right: 5%; z-index: 3; display: flex; gap: 32px; }
.hero-stat .val { font-size: 1.4rem; color: var(--white); font-weight: 700; }
.hero-stat .lbl { font-size: 0.62rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* ---------- TYPOGRAPHY & SHARED SECTION STYLES ---------- */
section { padding: 64px 5%; }
.lbl { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--bb); margin-bottom: 10px; }
.hdg { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 10px; }
.sub { font-size: 0.88rem; color: var(--gray4); line-height: 1.7; }

/* ---------- SERVICES SECTION ---------- */
#services { background: var(--gray1); }
.svc-header { text-align: center; max-width: 520px; margin: 0 auto 44px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  background: var(--white); border-radius: 16px; padding: 26px 22px;
  border: 1px solid var(--gray2); display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.svc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--bb); transform: scaleX(0); transition: transform .28s; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon-wrap { width: 60px; height: 60px; border-radius: 12px; background: var(--bb-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.svc-icon-wrap svg { width: 32px; height: 32px; }
.svc-card h3 { font-size: 0.87rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.svc-card p { font-size: 0.77rem; color: var(--gray4); line-height: 1.6; }

/* ---------- WHO WE SERVE SECTION (Two columns) ---------- */
#why-us { background: var(--white); }
.why-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.why-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-col { border-radius: 20px; padding: 38px 34px; }
.why-col-docs { background: var(--gray1); border: 1px solid var(--gray2); }
.why-col-pts { background: var(--bb-pale); border: 1px solid var(--bb-lt); }
.col-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.col-sub { font-size: 0.8rem; color: var(--gray4); line-height: 1.65; margin-bottom: 22px; }
.why-list { display: flex; flex-direction: column; gap: 10px; }
.why-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,0.7); }
.why-col-pts .why-item { background: var(--white); border: 1px solid var(--gray2); }
.why-item-icon { width: 48px; height: 48px; border-radius: 8px; background: var(--bb-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-item-icon svg { width: 24px; height: 24px; }
.why-item strong { display: block; font-size: 0.83rem; font-weight: 700; margin-bottom: 1px; }
.why-item span { font-size: 0.75rem; color: var(--gray4); line-height: 1.5; }

/* ---------- CTA BANNER ---------- */
#cta-banner {
  background: var(--bb-pale); border-top: 1px solid var(--gray2); border-bottom: 1px solid var(--gray2);
  padding: 64px 5% 0; text-align: center; padding-bottom: 32px;
}
#cta-banner h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; margin-bottom: 8px; }
#cta-banner p { font-size: 0.88rem; color: var(--gray4); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-cta-solid { padding: 12px 28px; border-radius: 28px; background: var(--bb); color: var(--white); font-weight: 700; font-size: 0.88rem; text-decoration: none; box-shadow: 0 4px 16px rgba(91,184,245,0.35); transition: background .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-solid:hover { background: var(--bb-dark); }
.btn-cta-ghost { padding: 12px 28px; border-radius: 28px; border: 2px solid var(--bb); color: var(--bb); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-ghost:hover { background: var(--bb); color: var(--white); }
.cta-car-slot { overflow: hidden; line-height: 0; min-height: auto; display: flex; align-items: flex-end; justify-content: center; }
.cta-car-img { max-width: 460px; width: 85%; height: auto; object-fit: contain; margin: 0 auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.05)); }

/* ---------- TESTIMONIALS CAROUSEL ---------- */
#testimonials { background: var(--gray1); padding-bottom: 64px; overflow: hidden; }
.t-header { text-align: center; max-width: 520px; margin: 0 auto 32px; }
.carousel-wrapper { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1300px; margin: 0 auto; }
.testimonials-container { flex: 1; overflow: hidden; border-radius: 20px; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1); will-change: transform; }
.t-card { flex: 0 0 320px; background: var(--white); border-radius: 20px; padding: 24px 22px; border: 1px solid var(--gray2); box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.t-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.t-stars svg { width: 14px; height: 14px; color: #FFC107; }
.t-text { font-size: 0.8rem; color: var(--gray4); line-height: 1.7; font-style: italic; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t-author { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--gray2); padding-top: 14px; margin-top: 6px; }
.t-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bb); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.75rem; flex-shrink: 0; }
.t-name { font-weight: 700; font-size: 0.8rem; }
.t-src { font-size: 0.68rem; color: var(--gray3); }
.carousel-btn { background: var(--white); border: 1px solid var(--gray2); border-radius: 50%; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; box-shadow: 0 4px 8px rgba(0,0,0,0.03); flex-shrink: 0; }
.carousel-btn svg { width: 24px; height: 24px; stroke: var(--bb); stroke-width: 2; }
.carousel-btn:hover { background: var(--bb); border-color: var(--bb); }
.carousel-btn:hover svg { stroke: white; }
.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.dot { width: 8px; height: 8px; border-radius: 10px; background: var(--gray3); transition: all 0.2s ease; cursor: pointer; }
.dot.active { width: 26px; background: var(--bb); }

/* ---------- CONTACT SECTION (WITH GOOGLE MAPS) ---------- */
#contact { background: var(--white); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; margin-top: 40px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.ci-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--gray1); border: 1px solid var(--gray2); }
.ci-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bb-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 18px; height: 18px; }
.ci-label { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--bb); margin-bottom: 2px; }
.ci-val { font-size: 0.85rem; color: var(--dark); text-decoration: none; line-height: 1.5; font-weight: 500; }
.ci-val:hover { color: var(--bb); }
.text-examples { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; } 
.text-group { padding-left: 10px; border-left: 2px solid var(--bb-lt); }
.text-title { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bb); margin-bottom: 4px; }
.text-example { font-size: 0.72rem; line-height: 1.6; color: #666; margin-bottom: 2px; }
.text-example:last-child { margin-bottom: 0; }
.social-row { display: flex; gap: 8px; margin-top: 4px; }
.social-pill { padding: 5px 14px; border-radius: 20px; background: var(--bb-pale); border: 1px solid var(--bb-lt); color: var(--bb); font-size: 0.77rem; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.social-pill:hover { background: var(--bb); color: var(--white); border-color: var(--bb); }

/* Google Maps Container Styles */
.map-container {
  background: var(--gray1);
  border-radius: 20px;
  padding: 0;
  border: 1px solid var(--gray2);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 100%;
  min-height: 400px;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

/* ---------- FOOTER - UPDATED FOR CENTERING ON TABLET/MOBILE ---------- */
footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 48px 5% 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 32px; }
.footer-brand-area { display: flex; flex-direction: column; }
.footer-logo-img { height: 70px; width: auto; max-width: 180px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); margin-bottom: 18px; }
.footer-about { font-size: 0.78rem; line-height: 1.7; max-width: 260px; margin-bottom: 18px; color: rgba(255,255,255,0.6); }
.footer-socials { display: flex; gap: 10px; }
.fsoc { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; text-decoration: none; color: rgba(255,255,255,0.65); font-weight: 700; transition: background .2s; }
.fsoc:hover { background: var(--bb); color: white; border-color: var(--bb); }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--bb-lt); }
.footer-col p { font-size: 0.78rem; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.amenities { display: flex; gap: 8px; flex-wrap: wrap; }
.amenity { font-size: 0.69rem; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.45); }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { 
  .why-cols { grid-template-columns: 1fr; } 
  .footer-grid { grid-template-columns: 1fr 1fr; } 
  .contact-wrap { grid-template-columns: 1fr; } 
  .map-container iframe { min-height: 350px; }
}
@media (max-width: 780px) {
  nav { height: 72px; } .nav-logo-img { height: 72px; } 
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px 5% 24px; } 
  .nav-links.open { display: flex; } .nav-cta { display: none; } .nav-hamburger { display: flex; } 
  .hero { margin-top: 72px; height: 540px; } .hero-stats { display: none; } 
  section { padding: 48px 5%; } .t-card { flex: 0 0 280px; } .carousel-btn { width: 40px; height: 40px; }
}
@media (max-width: 680px) { .services-grid { gap: 14px; } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } .hero-btns { flex-direction: column; align-items: flex-start; } .cta-btns { flex-direction: column; align-items: center; } }

/* CRITICAL UPDATE: Tablet and Mobile Footer Centering */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    justify-items: center;
  }
  .footer-brand-area {
    align-items: center;
    text-align: center;
  }
  .footer-about {
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-col {
    text-align: center;
    width: 100%;
  }
  .footer-col a {
    display: inline-block;
    margin-left: 8px;
    margin-right: 8px;
  }
  .footer-col p {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
  }
  .amenities {
    justify-content: center;
  }
}

/* Additional centering for smaller tablets */
@media (max-width: 680px) {
  .footer-col a {
    display: block;
    margin: 0 0 8px 0;
  }
}

@media (prefers-reduced-motion: reduce) { .testimonials-track { transition: none; } }
