/* ==========================================================================
   NEXUS FIBER ISP - MODERN PREMIUM DESIGN SYSTEM & STYLESHEET (MULTI-PAGE EDITION)
   Vanilla CSS with Glassmorphism, Vibrant Dark Mode, Tables & Micro-Animations
   ========================================================================== */

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

:root {
  /* Color Palette - Premium White & Clean Slate Theme (AirFi Connect Style) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  --accent-cyan: #10b981;
  --accent-blue: #0077b6;
  --accent-purple: #023e8a;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent-gradient-hover: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --glow-cyan: rgba(16, 185, 129, 0.25);
  --glow-purple: rgba(0, 119, 182, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-hover: rgba(0, 0, 0, 0.18);
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Typography & Layout */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --nav-height: 80px;
  --container-width: 1280px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 119, 182, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility Classes --- */
.gradient-text {
  color: #10b981;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-cyan);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-glow {
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 15px var(--glow-cyan); }
  50% { box-shadow: 0 0 25px var(--glow-purple), 0 0 10px var(--glow-cyan); }
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* --- Page Header Banner (For dedicated pages) --- */
.page-banner {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: #13171f !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.page-banner h1, .page-banner h2, .page-banner h3 {
  font-size: 3.5rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  color: #ffffff !important;
}

.page-banner p {
  font-size: 1.2rem;
  color: #94a3b8 !important;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   4. NAVIGATION BAR (SOLID BLACK HEADER)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: #000000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.navbar.scrolled {
  background: #000000;
  height: calc(var(--nav-height) - 10px);
  border-bottom-color: rgba(16, 185, 129, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff !important;
}

.brand-logo-img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-icon {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: #94a3b8 !important;
  position: relative;
  padding: 8px 4px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #10b981;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pay {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 10px 20px;
}

.btn-pay:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-login {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 10px 20px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Homepage)
   ========================================================================== */
.hero {
  padding: calc(var(--nav-height) + 60px) 0 100px;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: #13171f !important;
  color: #ffffff !important;
}

.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.hero-slider-container h1, .hero-slider-container h2, .hero-slider-container h3, .hero-slider-container h4, .hero-slider-container h5, .hero-slider-container h6,
.hero-content h1, .hero-content h2, .hero-content h3, .hero-content h4, .hero-content h5, .hero-content h6 {
  color: #ffffff !important;
}

.hero .text-muted, .hero p,
.hero-slider-container .text-muted, .hero-slider-container p,
.hero-content .text-muted, .hero-content p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff !important;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--glow-cyan);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.hero-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--glow-cyan);
}

.floating-card {
  position: absolute;
  background: rgba(38, 43, 54, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-1 {
  top: -20px;
  left: -20px;
}

.floating-card.card-2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.card-text h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.card-text span {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   ABOUT US & NETWORK TOPOLOGY
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-info h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-info p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: 16px;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-box h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-box p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-dim);
}

/* Team Grid (About Page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--accent-gradient);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.team-card h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-card span {
  display: block;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   SERVICES SECTION & RECOMMENDER QUIZ
   ========================================================================== */
.services-section {
  padding: 100px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

.service-link:hover {
  gap: 12px;
  color: #fff;
}

/* Service Quiz Widget (Services Page) */
.quiz-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  padding: 50px;
  margin-top: 60px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.quiz-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: 16px;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.quiz-btn:hover, .quiz-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

.quiz-result {
  display: none;
  margin-top: 30px;
  padding: 24px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--accent-cyan);
  border-radius: 16px;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   PACKAGES & PRICING TABLE
   ========================================================================== */
.packages-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.toggle-label {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--text-main);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background: var(--accent-gradient);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.discount-tag {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.package-card.popular {
  border: 2px solid #10b981;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, #ffffff 100%);
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 30px rgba(16, 185, 129, 0.15);
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
}

.package-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px var(--glow-cyan);
}

.package-name {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.package-speed {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.package-speed span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.package-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.package-price .currency {
  font-size: 1.5rem;
  margin-right: 4px;
}

.package-price .period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

.package-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.package-features li i {
  color: var(--success);
  font-size: 1.1rem;
}

/* Feature Comparison Table (Packages Page) */
.comparison-table-wrapper {
  margin-top: 80px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.comparison-table th, .comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
  background: #f1f5f9;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #0f172a;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
}

.comparison-table tr:hover {
  background: #f8fafc;
}

/* Fiber Availability Checker */
.availability-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(0, 119, 182, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 60px;
  text-align: center;
}

.availability-form {
  display: flex;
  gap: 12px;
  max-width: 750px;
  margin: 20px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.availability-input {
  flex-grow: 1;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  outline: none;
}

.availability-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   SPEED TEST SECTION & DEDICATED DIAGNOSTICS
   ========================================================================== */
.speedtest-section {
  padding: 100px 0;
  position: relative;
  text-align: center;
}

.speedtest-card {
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06), 0 0 40px rgba(16, 185, 129, 0.08);
}

.speedtest-bg-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.05;
  z-index: 0;
}

.speedtest-content {
  position: relative;
  z-index: 1;
}

.gauge-container {
  width: 280px;
  height: 140px;
  margin: 30px auto 20px;
  position: relative;
}

.gauge-canvas {
  width: 100%;
  height: 100%;
}

.gauge-readout {
  margin-bottom: 30px;
}

.readout-speed {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.readout-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
}

.metric-box h5 {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.metric-box p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.metric-box p span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.test-status {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  min-height: 28px;
  margin-top: 20px;
}

/* Server Selector (Speed Test Page) */
.server-selector {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.server-selector select {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-weight: 600;
  font-family: var(--font-body);
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   TERMS & CONDITIONS ACCORDION
   ========================================================================== */
.terms-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.accordion-container {
  max-width: 850px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--border-glass-hover);
}

.accordion-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  user-select: none;
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  max-height: 1200px;
  padding-bottom: 24px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.contact-card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-card-text p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   DEDICATED BILL PAY & LOGIN PORTALS
   ========================================================================== */
.portal-container {
  max-width: 580px;
  margin: 80px auto;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 28px;
  padding: 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 40px rgba(16, 185, 129, 0.08);
}

.portal-header {
  margin-bottom: 30px;
  text-align: center;
}

.portal-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.portal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 6px;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.08);
}

.modal-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.modal-tab.active {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.invoice-preview {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  display: none;
}

.invoice-preview.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.invoice-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.pay-method {
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.pay-method i {
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: block;
  color: var(--text-muted);
}

.pay-method span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pay-method.active, .pay-method:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
}

.pay-method.active i, .pay-method.active span {
  color: var(--accent-cyan);
}

.quick-fill-btn {
  background: none;
  border: none;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 16px;
  display: inline-block;
}

/* --- Customer Portal Dashboard (portal.html) --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 40px 0 100px;
}

.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 30px;
  height: fit-content;
}

.sidebar-user {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-gradient);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 30px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer, .footer {
  background: #000000 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 30px;
  margin-top: auto;
}

footer p, footer a, footer li, footer .text-muted, footer span,
.footer p, .footer a, .footer li, .footer .text-muted, .footer span {
  color: #94a3b8 !important;
}

footer h4, footer strong, footer .brand-logo, footer h3, footer h2,
.footer h4, .footer strong, .footer .brand-logo, .footer h3, .footer h2 {
  color: #ffffff !important;
}

footer a:hover, .footer a:hover {
  color: #ffffff !important;
}

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

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 16px 0 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 12px 16px;
  background: rgba(15, 21, 35, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #fff;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ==========================================================================
   PAY NOW DROPDOWN MENU
   ========================================================================== */
.pay-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.pay-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 290px;
  background: rgba(15, 21, 35, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 242, 254, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pay-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: rgba(15, 21, 35, 0.98);
  border-left: 1px solid var(--border-glass);
  border-top: 1px solid var(--border-glass);
  transform: rotate(45deg);
}

/* On desktop (> 1180px), show on hover or active */
@media (min-width: 1181px) {
  .pay-dropdown-wrapper:hover .pay-dropdown-menu,
  .pay-dropdown-wrapper.active .pay-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* On mobile/touch devices (<= 1180px), ONLY .active shows it. Hover never keeps it open! */
@media (max-width: 1180px) {
  .pay-dropdown-wrapper.active .pay-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
  .pay-dropdown-wrapper:not(.active) .pay-dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    pointer-events: none !important;
  }
}

.pay-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
}

.pay-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.pay-dropdown-item i {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.pay-dropdown-item div {
  display: flex;
  flex-direction: column;
}

.pay-dropdown-item strong {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.2;
}

.pay-dropdown-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   RELOCATION NOTICE MODAL
   ========================================================================== */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.custom-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-card {
  background: #ffffff;
  border: 2px solid #ff6b81;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 35px rgba(255, 107, 129, 0.15);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  color: #0f172a;
}

.custom-modal-overlay.active .custom-modal-card {
  transform: scale(1) translateY(0);
}

.modal-icon-warning {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 107, 129, 0.15);
  color: #ff6b81;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 107, 129, 0.3);
  box-shadow: 0 0 25px rgba(255, 107, 129, 0.25);
}

.custom-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.custom-modal-text {
  color: #334155;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  background: rgba(255, 107, 129, 0.08);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 107, 129, 0.3);
}

.custom-modal-text strong {
  color: #e11d48;
  font-weight: 700;
  font-size: 1.15rem;
  display: block;
  margin-top: 4px;
}

.custom-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid, .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content h1 { font-size: 3.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Hide mobile drawer actions on desktop by default */
.mobile-drawer-actions { display: none !important; }

@media (max-width: 1180px) {
  .nav-links,
  .navbar:not(.mobile-active) .btn-login {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
    color: #ffffff !important;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 2005;
    position: relative;
  }

  /* Sleek Compact Dropdown Card for Header Navigation on Mobile & Tablet (`<= 1180px`) */
  .navbar.mobile-active .nav-links,
  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 16px !important;
    left: 16px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(80vh - 85px) !important;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.98) 0%, rgba(14, 19, 29, 0.99) 100%) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    padding: 20px !important;
    border: 1px solid rgba(0, 242, 254, 0.35) !important;
    border-radius: 20px !important;
    gap: 10px !important;
    z-index: 2000 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95) !important;
    overflow-y: auto !important;
    animation: dropdownRollDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  .navbar.mobile-active .nav-links li,
  .nav-links.active li {
    width: 100%;
    list-style: none;
  }

  .navbar.mobile-active .nav-links .nav-link,
  .nav-links.active .nav-link {
    display: block;
    font-size: 1.15rem !important;
    padding: 12px 16px !important;
    color: #e2e8f0 !important;
    border-radius: 12px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar.mobile-active .nav-links .nav-link:hover,
  .nav-links.active .nav-link:hover,
  .navbar.mobile-active .nav-links .nav-link.active,
  .nav-links.active .nav-link.active {
    background: rgba(0, 242, 254, 0.15) !important;
    color: #00f2fe !important;
    padding-left: 22px !important;
  }

  /* Hide original login inside header actions when side menu is open */
  .navbar.mobile-active .btn-login,
  .nav-links.active ~ .nav-actions .btn-login {
    display: none !important;
  }

  /* Display mobile drawer actions right inside nav menu on mobile/tablet */
  .mobile-drawer-actions {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .mobile-drawer-action-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 16px !important;
    border-radius: 12px;
    font-weight: 700 !important;
  }
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes dropdownRollDown {
  from { opacity: 0; transform: translateY(-15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  /* Keep nav-actions visible so the mobile hamburger menu toggle stays visible right at the top header! */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    gap: 8px !important;
  }

  .nav-actions .pay-dropdown-wrapper {
    display: inline-block !important;
  }

  .nav-actions .pay-dropdown-btn {
    padding: 7px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }

  .pay-dropdown-menu {
    right: -40px;
    width: 270px;
    max-width: 90vw;
  }

  /* Hide redundant footer columns (Navigation & Quick Portals) and long description on mobile view ONLY */
  .footer-grid .footer-col:nth-child(2),
  .footer-grid .footer-col:nth-child(3),
  .footer-grid .footer-col:nth-child(1) p {
    display: none !important;
  }
  
  .hero-slider-container {
    min-height: 580px !important;
    height: auto !important;
    display: block !important;
    padding-bottom: 25px !important;
    overflow: hidden !important;
  }
  .hero-slide-img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .hero-slide-item {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .hero-slide-item.active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 130px 16px 85px 16px !important;
    height: auto !important;
    min-height: 520px !important;
  }
  .slider-nav {
    position: absolute !important;
    bottom: 18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 50 !important;
  }
  .hero-content {
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    text-align: center !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }
  .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }
  .hero-content h1 { font-size: 2.35rem !important; }
  .hero-buttons { display: flex !important; flex-direction: column !important; gap: 12px !important; width: 100% !important; }
  .hero-buttons .btn, .hero-buttons a.btn, .hero-price-wrapper, .hero-price-badge { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; margin: 0 !important; text-align: center !important; justify-content: center !important; display: flex !important; align-items: center !important; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .availability-form { flex-direction: column; }
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT BUBBLE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #1ebd5a;
  color: #fff;
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.8);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

/* ==========================================================================
   UNIVERSAL SCROLL ANIMATIONS & FLOATING BACKGROUND INTERNET ICONS
   ========================================================================== */
.scroll-animate-init {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity, transform;
}

.scroll-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-bg-icon {
  position: absolute;
  opacity: 0.28; /* Upgraded from 0.12 to 0.28 for crystal clear visibility on light theme */
  z-index: 1;
  pointer-events: none;
  animation: float-bg-watermark 12s ease-in-out infinite alternate;
}

/* Ensure body cards and text containers sit cleanly above background icons */
.section-header, .container, .dash-card, .feature-box, .service-card, .pricing-card, .accordion-item, .about-info, .contact-card, .metric-box, .stat-item, .package-card, .portal-card, .value-card, .info-box {
  position: relative;
  z-index: 2;
}

.dash-card, .feature-box, .service-card, .pricing-card, .accordion-item, .about-info, .contact-card, .metric-box, .stat-item, .package-card, .portal-card, .value-card, .info-box {
  background: var(--bg-card);
}

@keyframes float-bg-watermark {
  0% {
    transform: translateY(0) rotate(-6deg) scale(1);
  }
  50% {
    transform: translateY(-35px) rotate(10deg) scale(1.1);
  }
  100% {
    transform: translateY(25px) rotate(-8deg) scale(0.95);
  }
}

/* ==========================================================================
   ADVANCED MOBILE & RESPONSIVENESS OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Hide floating background watermarks on mobile to maximize readability,
     speed up rendering, and save battery/GPU resources. */
  /* Floating icons enabled */

  /* 2. Hero Section Mobile Optimization: Completely hide model images and display ALL hero text & buttons clearly! */
  .hero-slider-container {
    min-height: 530px !important;
    height: auto !important;
    display: block !important;
    padding-bottom: 75px !important;
    overflow: hidden !important;
    background: #13171f !important;
  }

  .hero-slide-img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hero-slide-item {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 130px 18px 75px 18px !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .hero-slide-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    display: flex !important;
  }

  .hero-slide-item:not(.active) {
    display: none !important;
  }

  .hero-overlay {
    background: #13171f !important;
    display: block !important;
    opacity: 1 !important;
  }

  .hero-content {
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    text-align: center !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }

  .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
  }

  .hero-content h1 {
    font-size: 2.15rem !important;
    letter-spacing: -0.5px !important;
    line-height: 1.28 !important;
    margin-bottom: 14px !important;
    color: #ffffff !important;
  }

  .hero-content p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
    color: var(--text-muted) !important;
  }

  .hero-buttons {
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .hero-buttons .btn,
  .hero-buttons a.btn,
  .hero-price-wrapper,
  .hero-price-badge {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-buttons .btn,
  .hero-buttons a.btn {
    padding: 15px 20px !important;
  }
  .hero-price-badge {
    padding: 12px 20px !important;
  }

  /* 3. Pricing Grid & Mobile Accordion Dropdown Adjustments */
  .packages-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .package-card {
    padding: 20px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
  }

  /* On mobile, collapse price, features, and button until clicked to expand */
  .package-card:not(.mobile-expanded) .package-price,
  .package-card:not(.mobile-expanded) .package-features,
  .package-card:not(.mobile-expanded) .join-us-btn {
    display: none !important;
  }

  .package-card:not(.mobile-expanded)::after {
    content: 'Click to expand plan details \25BC';
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 12px;
    text-align: center;
    border-top: 1px dashed rgba(0,0,0,0.12);
    padding-top: 10px;
  }

  .package-card.mobile-expanded::after {
    content: 'Click to collapse details \25B2';
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    border-top: 1px dashed rgba(0,0,0,0.12);
    padding-top: 10px;
  }

  /* 4. Hide specs table and plan finder on mobile to leave only the important pricing cards */
  .comparison-table-wrapper,
  .plan-finder-container {
    display: none !important;
  }

  /* 5. Mobile Modal & Form Padding Adjustments */
  .custom-modal-card {
    padding: 24px 20px !important;
    margin: 10px !important;
  }

  .custom-modal-text {
    font-size: 0.95rem !important;
    padding: 12px !important;
  }

  .quiz-opt-btn {
    padding: 12px !important;
  }

  /* 6. Coverage Result Card & Button Mobile Containment */
  .coverage-result-card,
  #availability-result > div {
    padding: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .coverage-action-btn {
    width: 100% !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
    white-space: normal !important;
    text-align: center !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.85rem !important;
  }
  
  .page-banner h1 {
    font-size: 1.8rem !important;
  }

  .section-header h2 {
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   REGIONAL LOCATION BAR & FOOTER LOCATION BADGES (ISP PORTAL)
   ========================================================================== */
.top-location-bar {
  background: rgba(11, 15, 25, 0.96);
  border-bottom: 1px solid rgba(0, 242, 254, 0.3);
  padding: 8px 0;
  font-size: 0.88rem;
  color: #cbd5e1;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-regional-bar {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.regional-badge {
  padding: 10px 22px;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  font-size: 0.98rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.regional-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.6), inset 0 1px 4px rgba(255, 255, 255, 0.6);
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ==========================================================================
   STATIC HERO HIGHLIGHTS & BARS (REFINED, SUBTLE, NON-DISTRACTING)
   ========================================================================== */
.hero-highlight-green {
  display: inline-block;
  color: #10b981 !important;
  -webkit-text-fill-color: #10b981 !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  filter: none !important;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
  animation: none !important;
  transform: none !important;
}

.hero-highlight-cyan {
  display: inline-block;
  color: #00f2fe !important;
  -webkit-text-fill-color: #00f2fe !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  filter: none !important;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.35) !important;
  animation: none !important;
  transform: none !important;
}

.hero-bar-green {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: #10b981;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important;
  animation: none !important;
}

.hero-bar-cyan {
  display: inline-block;
  width: 44px;
  height: 3px;
  background: #00f2fe;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.5) !important;
  animation: none !important;
}

/* --- ISP Floating Support Stack Hover & Pulsing --- */
.floating-outage-btn:hover, .floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
}
@keyframes pingPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
/* ==========================================================================
   FLOATING WIDGETS: REPORT NETWORK ISSUE (LEFT) & WHATSAPP BUBBLE (RIGHT)
   ========================================================================== */

/* Left Badge: Report a Network Issue */
.isp-floating-network-issue {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 2px solid rgba(239, 68, 68, 0.8);
  border-radius: 50px;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6), 0 8px 24px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  animation: badgePulseGlow 2.5s infinite ease-in-out;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.isp-floating-network-issue:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(239, 68, 68, 0.95);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.8), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.isp-network-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pingPulseFast 1.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes badgePulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6), 0 8px 24px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0), 0 8px 24px rgba(0, 0, 0, 0.45);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 8px 24px rgba(0, 0, 0, 0.45);
  }
}

@keyframes pingPulseFast {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

/* Right Bubble: WhatsApp Circular Icon with Ripple Animation */
.isp-floating-whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: whatsappRipple 2s infinite ease-out;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.isp-floating-whatsapp-bubble:hover {
  transform: translateY(-5px) scale(1.1);
  background: #1fba58;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.8);
}

@keyframes whatsappRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 8px 25px rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 8px 25px rgba(37, 211, 102, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 25px rgba(37, 211, 102, 0.5);
  }
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
  .isp-floating-network-issue {
    bottom: 14px !important;
    left: 12px !important;
    padding: 6px 12px !important;
    font-size: 0.74rem !important;
    border-radius: 30px !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.6) !important;
  }
  .isp-network-badge-dot {
    width: 7px !important;
    height: 7px !important;
  }
  .isp-floating-whatsapp-bubble {
    bottom: 14px !important;
    right: 12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.5rem !important;
  }
}

  50% { transform: translateY(-40px) rotate(12deg) scale(1.12); opacity: 0.24; color: #ff6b81; }
  100% { transform: translateY(30px) rotate(-6deg) scale(0.95); opacity: 0.18; color: #10b981; }
}
/* ==========================================================================
   DYNAMIC FAINT BADGE ON TEXT/FOOTER AREA & ABSOLUTE MULTI-COLOR BACKGROUND ICONS
   ========================================================================== */
.isp-floating-network-issue.badge-faint-mode,
a.isp-floating-network-issue.badge-faint-mode {
  opacity: 0.18 !important;
  filter: blur(0.5px) grayscale(50%) !important;
  transform: scale(0.9) !important;
  transition: all 0.3s ease !important;
}

.isp-floating-network-issue.badge-faint-mode:hover,
a.isp-floating-network-issue.badge-faint-mode:hover {
  opacity: 1 !important;
  filter: none !important;
  transform: translateY(-4px) scale(1.04) !important;
  z-index: 9999999 !important;
}

.floating-bg-icon {
  position: absolute;
  opacity: 0.32 !important;
  z-index: 1;
  pointer-events: none;
  animation: floatBgItemAnim 14s ease-in-out infinite alternate;
}

@keyframes floatBgItemAnim {
  0% { transform: translateY(0px) rotate(-6deg) scale(1); }
  50% { transform: translateY(-38px) rotate(10deg) scale(1.1); }
  100% { transform: translateY(28px) rotate(-8deg) scale(0.95); }
}
/* ==========================================================================
   GOOGLE TV LEVEL PREMIUM CINEMATIC HERO SLIDER & 3D GLASS SCROLL EFFECTS
   ========================================================================== */

/* 1. Google TV Hero Image Entrance (`Joins smoothly AFTER the text starts moving in!`) */
.hero-slide-item .hero-slide-img {
  transform: scale(1.15) translateX(12%);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease !important;
  will-change: transform, opacity;
}

.hero-slide-item.active .hero-slide-img {
  transform: scale(1) translateX(0) !important;
  opacity: 1 !important;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 1.1s ease 0.35s !important;
}

/* 2. Google TV Cinematic Text Entrance (`Text sweeps in first, ultra-smooth and clear`) */
.hero-slide-item:not(.active) .hero-content > * {
  opacity: 0 !important;
  transform: translateX(-45px) !important;
  filter: blur(6px) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, filter 0.35s ease !important;
}

.hero-slide-item.active .hero-content > div:first-child {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.8s ease 0.1s, filter 0.8s ease 0.1s !important;
}

.hero-slide-item.active .hero-content h1 {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, opacity 0.85s ease 0.22s, filter 0.85s ease 0.22s !important;
}

.hero-slide-item.active .hero-content p {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.34s, opacity 0.85s ease 0.34s, filter 0.85s ease 0.34s !important;
}

.hero-slide-item.active .hero-content .hero-buttons,
.hero-slide-item.active .hero-content div:last-child {
  opacity: 1 !important;
  transform: translateX(0) !important;
  filter: blur(0px) !important;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.46s, opacity 0.85s ease 0.46s, filter 0.85s ease 0.46s !important;
}

/* 3. Deep 3D Fold-Out Rotation Deck & Frosted Glass Shimmer Reveal (`Forming a closed loads up 3D form`) */
.pricing-card,
.feature-box,
.service-card,
.about-card,
.client-floating-card,
.package-card,
.contact-card,
.cta-banner,
.coverage-item {
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform-style: preserve-3d !important;
}

/* The Diagonal Glass Reflection Light Sweep (`::after`) */
.pricing-card::after,
.feature-box::after,
.service-card::after,
.about-card::after,
.client-floating-card::after,
.package-card::after,
.contact-card::after,
.cta-banner::after,
.coverage-item::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -160% !important;
  width: 80% !important;
  height: 100% !important;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(16, 185, 129, 0.25) 70%,
    transparent 100%
  ) !important;
  transform: skewX(-25deg) !important;
  pointer-events: none !important;
  z-index: 20 !important;
}

/* 3D Folded Deck Hidden State (`Rotated back like folded closed cards waiting to load up`) */
.glass-3d-hidden {
  opacity: 0 !important;
  transform: perspective(1200px) rotateX(72deg) rotateY(-18deg) translateY(130px) translateZ(-140px) scale(0.68) !important;
  filter: blur(12px) !important;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.45s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 1.2s ease,
              border-color 1.2s ease !important;
  will-change: transform, opacity, filter;
}

/* 3D Folded Deck Revealed State (`Rotates up and locks into closed loaded 3D form while firing Glass Sheen!`) */
.glass-3d-revealed {
  opacity: 1 !important;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0) translateZ(0) scale(1) !important;
  filter: blur(0px) !important;
}

/* Trigger the moving 3D Glass Shimmer Reflection when revealed on scroll */
.glass-3d-revealed::after {
  animation: glassSheenSweepAnim 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards !important;
}

@keyframes glassSheenSweepAnim {
  0% { left: -160%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 230%; opacity: 0; }
}

/* 3D Glass Interactive Hover Tilt & Universal Frosted Light Sweep (`Universal 3D Hover Pop!`) */
.pricing-card:hover,
.feature-box:hover,
.service-card:hover,
.about-card:hover,
.client-floating-card:hover,
.package-card:hover,
.cta-banner:hover,
.coverage-item:hover,
.pricing-card.glass-3d-revealed:hover,
.feature-box.glass-3d-revealed:hover,
.service-card.glass-3d-revealed:hover,
.about-card.glass-3d-revealed:hover,
.client-floating-card.glass-3d-revealed:hover,
.package-card.glass-3d-revealed:hover,
.cta-banner.glass-3d-revealed:hover,
.coverage-item.glass-3d-revealed:hover {
  transform: perspective(1200px) translateY(-16px) rotateX(8deg) rotateY(-3deg) scale(1.045) !important;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.95), 0 0 55px rgba(0, 242, 254, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 242, 254, 0.8) !important;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s ease, border-color 0.45s ease !important;
  z-index: 50 !important;
}

.pricing-card:hover::after,
.feature-box:hover::after,
.service-card:hover::after,
.about-card:hover::after,
.client-floating-card:hover::after,
.package-card:hover::after,
.cta-banner:hover::after,
.coverage-item:hover::after,
.pricing-card.glass-3d-revealed:hover::after,
.feature-box.glass-3d-revealed:hover::after,
.service-card.glass-3d-revealed:hover::after,
.about-card.glass-3d-revealed:hover::after,
.client-floating-card.glass-3d-revealed:hover::after,
.cta-banner.glass-3d-revealed:hover::after,
.coverage-item.glass-3d-revealed:hover::after {
  animation: glassSheenSweepAnim 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* ==========================================================================
   ULTRA-PREMIUM GLASSMORPHIC GDPR / COOKIE CONSENT BANNER & SETTINGS MODAL
   ========================================================================== */
.isp-cookie-banner {
  position: fixed !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(165%) !important;
  z-index: 9999999 !important;
  width: 92% !important;
  max-width: 820px !important;
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
  border-radius: 24px !important;
  padding: 24px 30px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.88), 0 0 45px rgba(0, 242, 254, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  opacity: 0 !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease !important;
}

.isp-cookie-banner.cookie-banner-active {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
}

.isp-cookie-banner.cookie-banner-hiding {
  transform: translateX(-50%) translateY(165%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cookie-banner-header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.cookie-banner-header i {
  font-size: 1.8rem !important;
  color: #f59e0b !important;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.6)) !important;
  animation: cookieWiggle 3.5s infinite ease-in-out !important;
  flex-shrink: 0 !important;
}

@keyframes cookieWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10%, 30% { transform: rotate(-16deg) scale(1.15); }
  20%, 40% { transform: rotate(16deg) scale(1.15); }
  50% { transform: rotate(0deg) scale(1); }
}

.cookie-banner-header h4 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 1.28rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}

.cookie-banner-text {
  margin: 0 !important;
  color: #cbd5e1 !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
}

.cookie-banner-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  padding-top: 6px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.cookie-buttons-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
  color: #0b0f19 !important;
  font-weight: 800 !important;
  font-size: 0.96rem !important;
  padding: 12px 26px !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.btn-cookie-accept:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 12px 32px rgba(0, 242, 254, 0.65) !important;
}

.btn-cookie-decline {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 12px 20px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.btn-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.btn-cookie-settings {
  background: transparent !important;
  color: var(--accent-cyan) !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 6px 10px !important;
  transition: color 0.2s ease !important;
}

.btn-cookie-settings:hover {
  color: #ffffff !important;
}

/* Discreet Floating Cookie Badge in corner when banner is closed (`Easily reopen settings anytime`) */
.isp-floating-cookie-reopen {
  position: fixed !important;
  bottom: 24px !important;
  left: 155px !important;
  z-index: 999998 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6) !important;
  color: #f59e0b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.isp-floating-cookie-reopen:hover {
  transform: translateY(-4px) scale(1.12) !important;
  background: rgba(245, 158, 11, 0.95) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.7) !important;
}

@media (max-width: 768px) {
  .isp-cookie-banner {
    bottom: 16px !important;
    width: 95% !important;
    padding: 20px 18px !important;
    border-radius: 20px !important;
  }
  .cookie-banner-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cookie-buttons-left {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .btn-cookie-accept, .btn-cookie-decline {
    width: 100% !important;
    justify-content: center !important;
  }
  .isp-floating-cookie-reopen {
    bottom: 14px !important;
    left: 115px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
  }
}

