/* ── GLOBAL STYLES & VARIABLES ── */
:root {
  --navy: #0f2a4a;
  --navy-dark: #003366;
  --navy-deep: #0f2a4a;
  /* Alias for consistency */
  --teal: #1a7a6e;
  --green: #4caf50;
  --gold: #b8860b;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #666;
  --border-gray: #eee;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* 🚀 PREMIUM CUSTOM SCROLLBAR 🚀 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--navy), var(--teal));
  border-radius: 10px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--navy-dark), #146c61);
  border-width: 2px;
}

/* ── NAVBAR ─────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  height: 85px;
  background: #fff;
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color .2s;
}

.nav-links li {
  list-style: none;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-icon {
  cursor: pointer;
  color: #555;
  transition: color .2s;
}

.nav-icon:hover {
  color: var(--navy);
}

.btn-login {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn-login:hover {
  background: var(--navy-dark);
}

/* ── MOBILE MENU ────────────────────────────── */
.mobile-toggle {
  display: none;
  cursor: pointer;
  color: var(--navy);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mm-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--navy);
}

.mm-links {
  list-style: none;
  text-align: center;
}

.mm-links li {
  margin-bottom: 25px;
}

.mm-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 800;
}


/* 🚀 BEST ATTRACTIVE SCROLL V2 UI 🚀 */
.progress-wrap {
  position: fixed;
  right: 40px;
  bottom: 40px;
  height: 60px;
  width: 60px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* GLASSMORPHISM PREMIUM */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 10px 40px -10px rgba(10, 25, 47, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.progress-wrap:hover {
  background: #fff;
  box-shadow: 
    0 15px 50px -5px rgba(26, 122, 110, 0.4),
    inset 0 0 10px rgba(26, 122, 110, 0.1);
  transform: translateY(-5px) scale(1.05);
}

.progress-wrap svg.progress-circle path {
  stroke: var(--navy);
  stroke-width: 5;
  box-sizing: border-box;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px rgba(10, 25, 47, 0.1));
}

.scroll-icon {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--navy);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-percent {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0;
  transition: all 0.3s ease;
  letter-spacing: -0.2px;
}

.progress-wrap:hover .scroll-icon {
  transform: translate(-50%, -85%) scale(0.9);
  color: var(--teal);
}

.progress-wrap:hover .progress-percent {
  opacity: 1;
  bottom: 14px;
}

.progress-wrap svg path {
  fill: none;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  padding: 80px 80px 40px;
  background: #f8fafd;
  border-top: 1px solid #eef2f5;
  color: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.fb-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 24px;
    display: block;
    object-fit: contain;
}

.fb-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 450px;
}

.fb-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.fb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003152;
  text-decoration: none;
  transition: opacity 0.2s;
}

.fb-icon:hover {
  opacity: 0.7;
}

.fb-icon svg {
  width: 20px;
  height: 20px;
  stroke: #003152;
  fill: none;
  stroke-width: 2;
}

.fc h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #003152;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.fc a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
  font-weight: 500;
  transition: color 0.2s;
}

.fc a:hover {
  color: #003152;
}

.footer-bottom {
  border-top: 1px solid #eef2f5;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666;
}

.footer-btm-links {
  display: flex;
  gap: 32px;
}

.footer-btm-links a {
  text-decoration: none;
  color: #666;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-btm-links a:hover {
  color: #003152;
}

/* ── RESPONSIVE GLOBAL ──────────────────────── */
@media (max-width: 1024px) {
  nav {
    padding: 0 40px;
  }

  .nav-links,
  .btn-login {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  footer {
    padding: 60px 40px 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-logo-img {
    height: 42px;
  }

  footer {
    padding: 60px 20px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-btm-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}