/* ============================================
   BIG SPLASH POOL CARE — Main Stylesheet
   Fun, Light, High-Converting Pool Service Site
   ============================================ */

:root {
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --primary-light: #E0F2FE;
  --secondary: #06B6D4;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --green: #10B981;
  --red: #EF4444;
  --purple: #8B5CF6;
  --orange: #F97316;
  --dark: #0F172A;
  --gray-900: #1E293B;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fun: 'Fredoka One', cursive;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--dark); line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }

/* SECTION HEADERS */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); font-size: 1.1rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 11px 26px; font-size: 0.95rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

/* TOP BAR */
.top-bar {
  background: var(--dark);
  color: var(--gray-400);
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-left svg { flex-shrink: 0; }
.top-phone, .top-login { color: var(--gray-300); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.top-phone:hover, .top-login:hover { color: var(--primary); }

/* EMERGENCY BAR */
.emergency-bar {
  background: linear-gradient(135deg, #FEFCE8, #FEF3C7);
  border-bottom: 2px solid #FDE68A;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: hidden;
}
.emergency-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.emergency-scroll::-webkit-scrollbar { display: none; }
.emergency-track {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  min-width: max-content;
  justify-content: center;
}
.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  color: var(--white);
}
.emergency-btn:hover { transform: scale(1.05); color: var(--white); }
.green-pool { background: #16A34A; }
.equip-btn { background: #EA580C; }
.tile-btn { background: #0891B2; }
.openclose-btn { background: #7C3AED; }
.weekly-btn { background: var(--primary); }
.emer-btn { background: #DC2626; animation: pulse-red 2s infinite; }
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}

/* MAIN NAV */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 54px;
  z-index: 999;
  transition: var(--transition);
}
.main-nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.nav-logo img { height: 85px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links li a:hover { background: var(--primary-light); color: var(--primary); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* HERO */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(14, 165, 233, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 750px;
  padding: 60px 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.splash-text {
  font-family: var(--font-fun);
  color: var(--accent);
  display: inline-block;
  animation: splash 3s ease-in-out infinite;
}
@keyframes splash {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg) scale(1.02); }
  75% { transform: rotate(2deg) scale(1.02); }
}
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.7; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-btns .btn { padding-left: 16px; padding-right: 16px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}
.wave-bottom svg { width: 100%; height: auto; display: block; }
.wave-top { margin-bottom: -2px; }
.wave-top svg { width: 100%; height: auto; display: block; }

/* QUICK SERVICES GRID */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 260px));
  gap: 24px;
  justify-content: center;
  margin: 0 auto;
}
.quick-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 12px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.quick-card h3 { font-size: 0.88rem; margin: 8px 0 4px; }
.quick-card p { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 6px; }
.quick-icon { margin-bottom: 4px; }
.quick-icon svg { width: 32px; height: 32px; }
.quick-arrow { font-size: 1.2rem; font-weight: 700; }

.qc-green { border-color: #BBF7D0; }
.qc-green:hover { border-color: #16A34A; }
.qc-green .quick-icon { color: #16A34A; }
.qc-green .quick-arrow { color: #16A34A; }
.qc-green:hover { background: linear-gradient(to bottom, #F0FDF4, #fff); }

.qc-orange { border-color: #FED7AA; }
.qc-orange:hover { border-color: #EA580C; }
.qc-orange .quick-icon { color: #EA580C; }
.qc-orange .quick-arrow { color: #EA580C; }
.qc-orange:hover { background: linear-gradient(to bottom, #FFF7ED, #fff); }

.qc-cyan { border-color: #A5F3FC; }
.qc-cyan:hover { border-color: #0891B2; }
.qc-cyan .quick-icon { color: #0891B2; }
.qc-cyan .quick-arrow { color: #0891B2; }
.qc-cyan:hover { background: linear-gradient(to bottom, #ECFEFF, #fff); }

.qc-purple { border-color: #DDD6FE; }
.qc-purple:hover { border-color: #7C3AED; }
.qc-purple .quick-icon { color: #7C3AED; }
.qc-purple .quick-arrow { color: #7C3AED; }
.qc-purple:hover { background: linear-gradient(to bottom, #F5F3FF, #fff); }

.qc-blue { border-color: #BAE6FD; }
.qc-blue:hover { border-color: var(--primary); }
.qc-blue .quick-icon { color: var(--primary); }
.qc-blue .quick-arrow { color: var(--primary); }
.qc-blue:hover { background: linear-gradient(to bottom, #E0F2FE, #fff); }

.qc-red { border-color: #FECACA; }
.qc-red:hover { border-color: #DC2626; }
.qc-red .quick-icon { color: #DC2626; }
.qc-red .quick-arrow { color: #DC2626; }
.qc-red:hover { background: linear-gradient(to bottom, #FEF2F2, #fff); }

/* ABOUT PREVIEW */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-number { font-family: var(--font-fun); font-size: 2.5rem; display: block; line-height: 1; }
.badge-label { font-size: 0.8rem; font-weight: 500; opacity: 0.9; }
.about-text .section-tag { display: inline-block; margin-bottom: 8px; }
.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.stat-num {
  display: block;
  font-family: var(--font-fun);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 14px; }
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-link:hover { gap: 4px; }

/* CTA BANNER */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(6, 182, 212, 0.85));
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 28px; }
.cta-content .hero-btns { justify-content: center; }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stars { color: #FBBF24; font-size: 1.3rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.95rem; color: var(--gray-700); margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--dark); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-500); }

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-img { height: 200px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.blog-body { padding: 24px; }
.blog-date { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }
.blog-body h3 { margin: 8px 0 10px; font-size: 1.1rem; }
.blog-body p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 14px; }

/* SERVICE AREA */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}
.area-text .section-tag { display: inline-block; margin-bottom: 8px; }
.area-text h2 { margin-bottom: 14px; }
.area-text > p { margin-bottom: 20px; }
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.area-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.area-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

/* FORMS */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--gray-50);
  color: var(--dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success h3 { margin: 16px 0 8px; color: var(--green); }
.form-success p { color: var(--gray-500); }
.form-success a { color: var(--primary); font-weight: 600; }

/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding-bottom: 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
}
.footer-brand,
.footer-links-col {
  flex: 1 1 0;
  min-width: 0;
}
.footer-brand img { height: 200px !important; width: auto !important; max-width: 100%; }
.footer-brand p { margin: 10px 0; font-size: 0.8rem; line-height: 1.5; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-links-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { color: var(--gray-400); font-size: 0.9rem; }
.footer-links-col a { word-break: break-word; overflow-wrap: anywhere; font-size: 0.88rem; }
.footer-links-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 6px; }
.footer-contact li a { min-width: 0; overflow-wrap: anywhere; word-break: break-all; }
.footer-contact svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}
.footer-bottom p { margin-bottom: 4px; }
.powered-by { color: var(--gray-500); }
.powered-by strong { color: var(--primary); }

/* PAGE HERO (subpages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1E3A5F 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.page-hero .breadcrumb { margin-bottom: 16px; font-size: 0.85rem; }
.page-hero .breadcrumb a { color: var(--primary); }
.page-hero .breadcrumb span { color: var(--gray-400); }

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 250px;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 0.9rem; }

/* CAREERS */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-header { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.job-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.job-type {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.job-meta { display: flex; gap: 20px; margin-bottom: 14px; font-size: 0.85rem; color: var(--gray-500); }
.job-meta span { display: flex; align-items: center; gap: 6px; }

/* LOGIN PAGE */
.login-wrapper {
  max-width: 440px;
  margin: 60px auto;
  padding: 0 20px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-card img { margin: 0 auto 24px; height: 60px; }
.login-card h2 { margin-bottom: 6px; font-size: 1.5rem; }
.login-card .login-sub { color: var(--gray-500); margin-bottom: 28px; font-size: 0.95rem; }
.login-card .form-group { text-align: left; margin-bottom: 16px; }
.login-card .form-group input { width: 100%; }
.login-links { margin-top: 20px; font-size: 0.85rem; color: var(--gray-500); }
.login-links a { color: var(--primary); font-weight: 600; }

/* SERVICE DETAIL */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 350px;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-text h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-detail-text p { margin-bottom: 14px; }
.service-detail-text ul { margin: 14px 0; }
.service-detail-text ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
}

/* DOWNLOAD SECTION */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.download-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.download-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.download-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.download-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.download-info span { font-size: 0.8rem; color: var(--gray-500); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .top-bar-right { margin-left: auto; }
  .about-grid, .area-grid, .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail:nth-child(even) { direction: ltr; }
  .footer-grid { flex-wrap: wrap; gap: 24px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-links-col { flex: 1 1 calc(33% - 24px); }
  .about-badge-card { right: 20px; bottom: -10px; }
  .area-map { min-height: 300px; }
}

@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-links.active { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; }
  .hero { min-height: 70vh; }
  .hero-content { padding: 40px 24px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { min-width: 0; width: auto; max-width: none; align-self: flex-start; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 24px; }
  .footer-grid { flex-wrap: wrap; gap: 20px; }
  .footer-brand { flex: 1 1 100%; }
  .footer-links-col { flex: 1 1 calc(50% - 20px); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: flex-end; }
  .emergency-track { justify-content: flex-start; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-num { font-size: 1.5rem; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vh; }
  .hero-content { padding: 20px 16px; }
  .hero h1 { font-size: 1.6rem; margin-bottom: 8px; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 16px; }
  .hero-btns { flex-direction: row; flex-wrap: wrap; }
  .hero-btns .btn { min-width: 0; }
  .hero-trust { display: none; }
}

@media (max-width: 480px) {
  .quick-grid { grid-template-columns: 1fr !important; gap: 14px !important; justify-content: unset !important; margin: 0 auto !important; }
  .area-list { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
  .footer-links-col { flex: 1 1 100%; }
}
