/* ==========================================================================
   STAR FORCE FACILITIES - MASTER DESIGN SYSTEM (ALL PAGES)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-navy: #071630;
  --primary-blue: #004ecc;
  --primary-dark: #030d1d;
  --accent-blue: #1e88e5;
  --accent-cyan: #00d2ff;
  --accent-gradient: linear-gradient(135deg, #004ecc 0%, #00d2ff 100%);
  --hero-gradient: linear-gradient(135deg, rgba(7, 22, 48, 0.92) 0%, rgba(0, 48, 135, 0.82) 100%);
  --card-bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-light: rgba(148, 163, 184, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow-sm: 0 2px 8px rgba(7, 22, 48, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(7, 22, 48, 0.08), 0 8px 10px -6px rgba(7, 22, 48, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(7, 22, 48, 0.12), 0 10px 15px -5px rgba(7, 22, 48, 0.06);
  --shadow-glow: 0 0 30px rgba(0, 78, 204, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar a:hover {
  color: var(--accent-cyan);
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 210, 255, 0.12);
  color: #38bdf8;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.top-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   NAVBAR (MODERN GLASSMORPHIC)
   ========================================================================== */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  transition: var(--transition);
  z-index: 1030;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-blue);
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

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

.dropdown-menu {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 240px;
  animation: dropdownFade 0.25s ease-out;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  font-weight: 500;
  font-size: 0.92rem;
  color: #334155;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dropdown-item i {
  color: var(--primary-blue);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: var(--bg-subtle);
  color: var(--primary-blue) !important;
  transform: translateX(4px);
}

.nav-cta-btn {
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 78, 204, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-left: 0.75rem;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 78, 204, 0.4);
  color: #fff !important;
}

/* ==========================================================================
   SUBPAGE MODERN HERO BANNER
   ========================================================================== */
.subpage-hero {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 5rem 0;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 22, 48, 0.94) 0%, rgba(7, 22, 48, 0.8) 60%, rgba(7, 22, 48, 0.55) 100%);
  z-index: 1;
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.subpage-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.subpage-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subpage-hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-modern-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(0, 78, 204, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-modern-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 78, 204, 0.5);
  color: #ffffff;
}

.btn-modern-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
  text-decoration: none;
}

.btn-modern-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   SECTION COMMON ELEMENTS
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 78, 204, 0.08);
  color: var(--primary-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   CARDS & GRIDS (MODERN LOOK)
   ========================================================================== */
.modern-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 78, 204, 0.25);
}

.card-icon-gradient {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 78, 204, 0.3);
  transition: var(--transition);
}

.modern-card:hover .card-icon-gradient {
  transform: scale(1.08) rotate(3deg);
}

.modern-card h4, .modern-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.modern-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Job Cards (Career) */
.job-card-modern {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.job-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 78, 204, 0.3);
}

.job-type-badge {
  background: rgba(0, 78, 204, 0.1);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Contact Modern Boxes */
.contact-card-modern {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-pill {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.contact-info-pill:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 78, 204, 0.25);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   CALL TO ACTION BANNER (ALL SUBPAGES)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #003087 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 600px;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1045;
  text-decoration: none;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp .whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: pulseRipple 2s infinite;
  z-index: -1;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1040;
  box-shadow: 0 4px 14px rgba(0, 78, 204, 0.3);
}

.back-to-top:hover {
  background: var(--primary-navy);
  color: #fff;
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MODERN FOOTER
   ========================================================================== */
footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer h5 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  margin-top: 0.25rem;
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-social-icons a:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  font-size: 0.88rem;
  text-align: center;
  color: #64748b;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }

  .navbar-collapse {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    margin-top: 0.75rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta-btn {
    margin-left: 0;
    margin-top: 0.75rem;
    justify-content: center;
  }

  .subpage-hero {
    min-height: 320px;
    padding: 3.5rem 0;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .subpage-hero h1 {
    font-size: 1.85rem;
  }

  .btn-modern-primary,
  .btn-modern-outline {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
  }

  .floating-whatsapp {
    bottom: 18px;
    left: 18px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .back-to-top {
    bottom: 18px;
    right: 18px;
  }
}
