/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   TOPBAR
===================== */
.topbar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 0.78rem;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-left a {
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.topbar-left a:hover {
  color: #fff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-right a {
  color: #ccc;
  font-size: 0.85rem;
  transition: color 0.3s;
}

.topbar-right a:hover {
  color: #fff;
}

.callback-btn {
  background: #1565c0;
  color: #fff !important;
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  transition: background 0.3s !important;
}

.callback-btn:hover {
  background: #0d47a1 !important;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1565c0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: #1565c0;
  margin-left: 0;
}

.logo span {
  color: #1565c0;
}

.logo-icon {
  color: #1565c0;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1565c0;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1565c0;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  height: 78vh;
  background: /* bg set inline */ center center / cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 170px 24px 80px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 35, 0.65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: #fff;
  text-align: center;
  margin-left: 0;
}

.hero-tagline {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #90caf9;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: -8px;
}

.hero-content h1 {
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content h1 span {
  color: #4fc3f7;
}

.hero-content p {
  font-size: 1.18rem;
  color: #dce8ff;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
  box-shadow: 0 4px 18px rgba(21,101,192,0.45);
}

.btn-primary:hover {
  background: #0d47a1;
  border-color: #0d47a1;
  box-shadow: 0 6px 24px rgba(21,101,192,0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}

.btn-outline::before {
  content: '';
  position: absolute;
  bottom: -400%;
  left: 50%;
  transform: translateX(-50%);
  width: 300%;
  height: 300%;
  background: #fff;
  border-radius: 50%;
  transition: bottom 1s ease;
  z-index: -1;
}

.btn-outline:hover { color: #1565c0; }
.btn-outline:hover::before { bottom: -50%; }

.btn-white {
  background: #fff;
  color: #1565c0;
  border-color: #fff;
}

.btn-white::before {
  content: '';
  position: absolute;
  bottom: -400%;
  left: 50%;
  transform: translateX(-50%);
  width: 300%;
  height: 300%;
  background: #1565c0;
  border-radius: 50%;
  transition: bottom 1s ease;
  z-index: -1;
}

.btn-white:hover { color: #fff; }
.btn-white:hover::before { bottom: -50%; }

/* =====================
   SECTION HEADER
===================== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #1565c0;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header p {
  color: #666;
  font-size: 1rem;
}

/* =====================
   SERVICES OVERVIEW
===================== */
.services-overview {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(21,101,192,0.12);
  border-color: #1565c0;
}

.service-card i {
  font-size: 2.2rem;
  color: #1565c0;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

/* =====================
   WHY CHOOSE US
===================== */
.why-us {
  padding: 80px 24px;
  background: #f4f7fb;
}

.why-us .section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(21,101,192,0.1);
}

.why-card i {
  font-size: 2rem;
  color: #1565c0;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* =====================
   CTA BANNER
===================== */
.cta-banner {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1rem;
  color: #cce0ff;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 60px 24px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2e2e4e;
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #888;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links a,
.footer-services a {
  display: block;
  color: #888;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-services a:hover {
  color: #64b5f6;
}

.footer-contact p {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: #1565c0;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #555;
}

/* =====================
   FLOATING CALL BUTTON
===================== */
.float-call {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #1565c0;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(21,101,192,0.5);
  z-index: 9999;
  transition: background 0.3s, transform 0.3s;
  animation: pulse 2s infinite;
}

.float-call:hover {
  background: #0d47a1;
  transform: scale(1.1);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(21,101,192,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(21,101,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}

/* =====================
   LAPTOP
   max-width: 1024px
===================== */
@media (max-width: 1024px) {
  .hero {
    padding: 80px 40px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* =====================
   LARGE MOBILE
   385px - 575px
===================== */
@media (min-width: 385px) and (max-width: 575px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.72rem;
    padding: 8px 16px;
    gap: 6px;
  }

  .topbar-left {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .topbar-right {
    gap: 12px;
    justify-content: center;
  }

  .nav-container {
    padding: 12px 16px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 16px;
    z-index: 998;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
    padding: 100px 16px 60px;
    align-items: flex-start;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.92rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* =====================
   SMALL MOBILE
   max-width: 384px
===================== */
@media (max-width: 384px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.68rem;
    padding: 6px 12px;
    gap: 5px;
  }

  .topbar-left {
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .topbar-right {
    gap: 10px;
    justify-content: center;
  }

  .nav-container {
    padding: 10px 14px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 14px 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    gap: 14px;
    z-index: 998;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 65vh;
    padding: 50px 14px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .cta-banner {
    padding: 48px 14px;
  }

  .cta-banner h2 {
    font-size: 1.3rem;
  }
}

/* =====================
   SCROLL PROGRESS BAR
===================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #1565c0, #4fc3f7);
  z-index: 99999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* =====================
   ANIMATE BASE
===================== */
.animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.5s ease calc(var(--delay, 0s)), transform 1.5s ease calc(var(--delay, 0s));
}

.animate.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animates on load immediately */
.hero-content.animate {
  animation: heroFadeUp 1.6s ease 0.7s forwards;
  opacity: 0;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   PAGE LOADER
===================== */
#page-loader {
  position: fixed;
  inset: 0;
  background: #1a1a2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-stars {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 32px;
  animation: rotatestars 1s linear infinite;
}

@keyframes rotatestars {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loader-stars span {
  position: absolute;
  font-size: 1.6rem;
  color: #1565c0;
  line-height: 1;
}

.star-1 { top: 0;    left: 50%; transform: translateX(-50%); color: #4fc3f7; }
.star-2 { top: 50%;  right: 0;  transform: translateY(-50%); }
.star-3 { bottom: 0; left: 50%; transform: translateX(-50%); color: #4fc3f7; }
.star-4 { top: 50%;  left: 0;   transform: translateY(-50%); }
.star-5 { top: 50%;  left: 50%; transform: translate(-50%, -50%); font-size: 2rem; color: #fff; }

.loader-percent {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4fc3f7;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.loader-bar-wrap {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1565c0, #4fc3f7);
  border-radius: 4px;
  transition: width 0.05s linear;
}
