/* ================================================================
   HealthPRO Mission — Custom Design System
   No BootstrapMade dependency. 100% owned CSS.
   ================================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;900&display=swap');

/* ---- Design Tokens ---- */
:root {
  --teal:        #0a7ea4;
  --teal-light:  #12a8d8;
  --teal-dark:   #065f7c;
  --amber:       #f59e0b;
  --amber-light: #fbbf24;
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-soft:   #334155;
  --slate:       #64748b;
  --light:       #f8fafc;
  --white:       #ffffff;
  --text-body:   #334155;
  --text-muted:  #64748b;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
  --shadow-glow: 0 0 40px rgba(10,126,164,.25);

  --transition:  all .3s cubic-bezier(.4,0,.2,1);
  --font-main:   'Inter', sans-serif;
  --font-head:   'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================================================================
   UTILITY
   ================================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title .badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(10,126,164,.12), rgba(245,158,11,.12));
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(10,126,164,.2);
}
.section-title h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.light-bg { background: var(--light); }

/* ================================================================
   KEYFRAME ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulseRing {
  0%   { transform: scale(.95); box-shadow: 0 0 0 0 rgba(10,126,164,.5); }
  70%  { transform: scale(1);   box-shadow: 0 0 0 16px rgba(10,126,164,0); }
  100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(10,126,164,0); }
}

.animate-fade-up  { animation: fadeUp  .8s ease both; }
.animate-fade-in  { animation: fadeIn  1s  ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s;  }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s;  }

/* ================================================================
   NAVBAR
   ================================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

#header.scrolled {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: .65rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}
.logo .sitename {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

/* Nav links */
.navmenu ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.navmenu a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navmenu a:hover,
.navmenu a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

/* Login buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: .875rem;
  padding: .55rem 1.25rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,126,164,.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(10,126,164,.5);
}
.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,158,11,.5);
}
.btn-lg {
  font-size: 1rem;
  padding: .85rem 2.25rem;
}

/* Mobile nav toggle — hamburger (desktop: hidden) */
.mobile-nav-toggle {
  display: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: .25rem;
}

/* Mobile nav close — X button inside overlay (always hidden on desktop) */
.mobile-nav-close {
  display: none;
}

/* ================================================================
   HERO
   ================================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 50, 80, 0.82) 0%,
    rgba(15, 23, 42, 0.70) 50%,
    rgba(10, 126, 164, 0.30) 100%
  );
  z-index: 1;
}

/* Decorative floating orb */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(10,126,164,.3);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(245,158,11,.2);
  bottom: 80px; left: -80px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 8rem 0 5rem;
}
.hero-inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulseRing 2s infinite;
  flex-shrink: 0;
}

.hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-inner h1 .highlight {
  background: linear-gradient(135deg, var(--amber-light), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-inner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat {
  text-align: center;
}
.hero-stat .number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat .number span {
  color: var(--amber);
}
.hero-stat .label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
  letter-spacing: .05em;
}

/* ================================================================
   ABOUT
   ================================================================ */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-align: center;
}
.about-image-badge .big { font-size: 2rem; font-weight: 900; font-family: var(--font-head); line-height: 1; }
.about-image-badge .small { font-size: .78rem; color: rgba(255,255,255,.8); margin-top: .2rem; }

.about-content .badge-tag {
  display: inline-block;
  background: rgba(10,126,164,.1);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about-checklist {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.check-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  margin-top: .1rem;
}
.check-item span { color: var(--text-body); font-weight: 500; }

/* ================================================================
   WHY US
   ================================================================ */
#why-us {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,.06);
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.why-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.why-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.why-card:hover .why-card-img img { transform: scale(1.06); }

.why-card-icon {
  position: absolute;
  bottom: -20px; left: 24px;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
}
.why-card-body {
  padding: 2.25rem 1.5rem 1.75rem;
}
.why-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.why-card-body p {
  color: var(--text-muted);
  font-size: .925rem;
  line-height: 1.7;
}

/* ================================================================
   SERVICES
   ================================================================ */
#services {
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--teal-light));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(10,126,164,.12), rgba(18,168,216,.08));
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ================================================================
   CONTACT
   ================================================================ */
#contact {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10,126,164,.3);
}
.contact-info-item h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
.contact-info-item p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
}
.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-soft);
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: .95rem;
  color: var(--text-body);
  background: var(--light);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,126,164,.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-status {
  text-align: center;
  padding: .6rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  margin-top: .75rem;
  display: none;
}
.form-status.success { background: rgba(16,185,129,.1); color: #059669; display: block; }
.form-status.error   { background: rgba(239,68,68,.1);  color: #dc2626; display: block; }

/* ================================================================
   LOGIN MODAL — role chooser
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  transform: scale(.94) translateY(20px);
  transition: var(--transition);
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}
.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.modal-header h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.modal-header p {
  color: var(--text-muted);
  font-size: .9rem;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(239,68,68,.1); color: #dc2626; }

.login-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.login-option-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(0,0,0,.08);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.login-option-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.login-option-btn.admin {
  border-color: rgba(10,126,164,.25);
}
.login-option-btn.admin:hover {
  border-color: var(--teal);
  background: rgba(10,126,164,.04);
}
.login-option-btn.school {
  border-color: rgba(245,158,11,.25);
}
.login-option-btn.school:hover {
  border-color: var(--amber);
  background: rgba(245,158,11,.04);
}
.login-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.login-option-btn.admin  .login-icon { background: linear-gradient(135deg, var(--teal), var(--teal-light));   color: var(--white); }
.login-option-btn.school .login-icon { background: linear-gradient(135deg, var(--amber), var(--amber-light)); color: var(--navy); }

.login-option-text { text-align: left; }
.login-option-text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: .2rem;
}
.login-option-text small { color: var(--text-muted); font-size: .82rem; }

/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.75rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.75rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo .sitename { font-size: 1.05rem; }
.footer-brand p {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.social-link:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: var(--teal-light);
  padding-left: .25rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .825rem;
  color: rgba(255,255,255,.4);
}

/* ================================================================
   SCROLL-TO-TOP
   ================================================================ */
#scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(10,126,164,.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  cursor: pointer;
  border: none;
}
#scroll-top.show {
  opacity: 1;
  visibility: visible;
}
#scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(10,126,164,.5);
}

/* ================================================================
   PRELOADER
   ================================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-ring {
  width: 52px; height: 52px;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: var(--teal-light);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .why-us-grid   { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Navbar mobile */
  .navmenu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .navmenu.open { display: flex; }
  .navmenu ul {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
  }
  .navmenu a { font-size: 1.3rem; padding: .75rem 1.5rem; }
  .nav-actions { display: none; }
  .mobile-nav-toggle { display: flex; }
  .mobile-nav-close {
    display: flex;
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.6rem;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
  }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 1.5rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image-badge { bottom: 1rem; right: 1rem; }

  /* Grids */
  .why-us-grid   { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-inner h1 { font-size: 2.2rem; }
  .container { padding: 0 1rem; }
  .modal-box { padding: 2rem 1.5rem; }
}
