/* ===== Base Body Styling (Clean Production) ===== */
body {
  background-color: #000;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  animation: pageFade 0.6s ease;
}


@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  transition: all 0.3s ease;
}

/* Blur state when scrolling */
.top-nav.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo:hover {
  color: #fff;
}

.logo-img {
  height: 32px;
  /* logo size */
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-segment {
  
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto; /* THIS pushes links to the right */
}
.segment-link {
  position: relative;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

/* Animated Underline */
.segment-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1.5px;
  background: #a855f7;
  transition: width 0.35s ease, box-shadow 0.35s ease;
}

.segment-link:hover {
  color: #ffffff;
}

.segment-link:hover::after {
  width: 100%;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7); /* purple glow */
}

/* Active Nav Glow */
.segment-link.active {
  color: #ffffff;
}
.segment-link.active::before {
  content: "";
  position: absolute;
  top: -6px;
  right: -10px;
  width: 4px;
  height: 4px;
  background: #a855f7;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.9);
}

.segment-link.active::after {
  width: 100%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.segment-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.menu-icon {
  width: 42px;
  height: 42px;
  padding: 9px 8px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
}

.hero-section {
  
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  right: 5%;          /* was 8% */
  bottom: 0;
  height: 80vh;       /* was 92vh (too big) */
  width: auto;
  object-fit: contain;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
  will-change: transform; /* ADD THIS (performance boost) */
}
/* Better balance on medium screens (laptops) */
@media (max-width: 1200px) {
  .hero-img {
    height: 70vh;
    right: 2%;
  }
}

/* Button Hover Effect */
.btn-outline-light:hover {
  background-color: white;
  color: black;
}

.btn-secondary {
  background-color: #444;
  border: none;
}

.btn-secondary:hover {
  background-color: #666;
}

.hero-title {
  font-size: 5.8rem;
  /* bigger */
  font-weight: 800;
  line-height: 0.95;
  /* tighter lines */
  letter-spacing: -2.5px;
  margin-bottom: 28px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px; /* tighter = more premium */
}

.hero-content h1 {
  /* font-size: 5rem;      */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  /* tight professional look */
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 1.15rem;
  color: #b5b5b5;
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-content .btn {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}


@media (max-width: 992px) {
  .nav-wrap {
    height: 78px;
  }

  .brand-logo {
    font-size: 34px;
  }

  .nav-segment {
    gap: 10px;
  }

  .segment-link {
    font-size: 13px;
    letter-spacing: 0.4px;
  }

  .menu-icon {
    width: 30px;
    height: 30px;
    padding: 7px 4px;
  }

  .hero-section {
    padding-top: 110px;
    text-align: center;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ===== Services Section (Corporate ISP Style) ===== */
.services-section {
  padding: 120px 0;
  background: #000;
}

.services-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.services-subtitle {
  color: #9a9a9a;
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.service-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-card p {
  color: #b5b5b5;
  font-size: 15px;
  line-height: 1.7;
}

/* Premium Hover Effect */
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  background: #111;
}

/* ===== Pricing Section (Corporate ISP Style) ===== */
.pricing-section {
  padding: 120px 0;
  background: #000;
}

.pricing-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.pricing-subtitle {
  color: #9a9a9a;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
}

.plan-name {
  font-size: 20px;
  font-weight: 600;
  color: #b5b5b5;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.plan-features li {
  margin-bottom: 12px;
  color: #d1d1d1;
  font-size: 15px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  background: #111;
}

/* Featured Plan (Center Highlight) */
.featured-plan {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  transform: scale(1.05);
}

.badge-plan {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

/* Page Hero (Services & Pricing) */
.page-hero {
  padding: 160px 0 80px;
  background: #000;
  text-align: center;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-hero p {
  color: #9a9a9a;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Reusable Cards */
.services-section,
.pricing-section {
  padding: 80px 0 120px;
  background: #000;
}

.service-card,
.pricing-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px;
  transition: 0.3s ease;
}

.service-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);
  background: #111;
  border-color: rgba(255,255,255,0.15);
}

.pricing-card h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 15px 0;
}

.pricing-card ul {
  padding-left: 18px;
  color: #b5b5b5;
}

/* Contact Section */
.contact-section {
  padding: 80px 0 120px;
  background: #000;
}

.contact-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 40px;
}

.form-label {
  color: #d1d1d1;
  font-weight: 500;
}

.form-control {
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
}

.form-control:focus {
  background: #000;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  box-shadow: none;
}

textarea.form-control {
  resize: none;
}

/* ===== Global Fade In Animation (Premium) ===== */

.fade-in,
.fade-in-delay-1,
.fade-in-delay-2,
.fade-in-delay-3 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Premium Corporate Footer ===== */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 120px;   /* moved here (clean) */
  padding-top: 70px;   /* unified spacing */
  color: #cfcfcf;
}

.footer-trust {
  font-size: 13px;
  color: #7a7a7a;
  margin-top: 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-tagline {
  max-width: 320px;
  font-size: 14px;
  color: #9a9a9a;
  line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #9a9a9a;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #9a9a9a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}
/* ===== ISP Professional Footer Upgrade ===== */
.footer-logo-img {
  height: 32px;
  margin-bottom: 14px;
}

.footer-trust {
  font-size: 13px;
  color: #6f6f6f;
  margin-top: 12px;
  line-height: 1.5;
}

.footer-service {
  font-size: 13px;
  color: #7a7a7a;
  margin-top: 10px;
  line-height: 1.5;
  max-width: 320px;
}
.footer-coverage {
  font-size: 12px;
  color: #6f6f6f;
  margin-top: 8px;
  line-height: 1.5;
}



/* ===== CINEMATIC MOBILE HERO (Tower Behind + Fade) ===== */
@media (max-width: 768px) {

  .hero-section {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
  }

  /* Text always above tower */
  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Responsive heading */
  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 15px auto 25px;
    max-width: 90%;
  }

  /* Buttons centered */
  .hero-content .mt-4 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* ===== TOWER AS BACKGROUND ELEMENT ===== */
  .hero-img {
    position: absolute;   /* stays behind */
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
    height: 85vh;
    width: auto;
    z-index: 1;           /* behind text */
    opacity: 0.18;        /* FADE effect (premium) */
    filter: grayscale(20%) contrast(110%);
    pointer-events: none; /* buttons remain clickable */
  }
}

/* ===== HAMBURGER MENU (Mobile Navbar) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  display: block;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-segment {
    position: fixed;
    top: 78px;
    right: -100%;
    width: 220px;
    height: calc(100vh - 78px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 20px;
    transition: right 0.35s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Show menu when active */
  .nav-segment.active {
    right: 0;
  }

  /* Hide desktop dividers on mobile */
  .segment-divider {
    display: none;
  }

  .segment-link {
    font-size: 14px;
    width: 100%;
  }
  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
}

/* ===== Coverage Section (Corporate ISP Style) ===== */
.coverage-section {
  padding: 100px 20px;
  background: #000;
  position: relative;
}
.coverage-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.08), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.coverage-header {
  max-width: 700px;
  margin: 0 auto 50px;
}

.coverage-title {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1px;
}

.coverage-subtitle {
  color: #9a9a9a;
  font-size: 16px;
  margin-top: 12px;
  line-height: 1.6;
}

.coverage-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
  max-width: 880px; /* PREMIUM FIX */
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.coverage-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 26px;
  border-radius: 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 17px;
  min-width: 160px;
  text-align: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.coverage-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.coverage-section h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.coverage-section p {
  font-size: 17px;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto;
}
.coverage-col {
  display: flex;
  justify-content: center;
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
  .coverage-section {
    padding: 70px 15px;
  }

  .coverage-title {
    font-size: 28px;
  }

  .coverage-subtitle {
    font-size: 14px;
  }

  .coverage-card {
    font-size: 14px;
    padding: 14px 8px;
  }
}

/* ===== FORCE HIDE SUCCESS POPUP ===== */
#successPopup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none !important;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

#successPopup.show {
  display: flex !important;
}

.success-box {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px 30px;
  border-radius: 18px;
  text-align: center;
  max-width: 420px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}