/* =========================================================
   METROSOLUSINDO — Custom Design System
   PT. Metrosolusi Teknologi Indonesia
   ========================================================= */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --blue:        #00A2E9;
  --blue-dark:   #0071C2;
  --blue-deeper: #004F9E;
  --cyan:        #00D4FF;
  --navy:        #0D1B2A;
  --navy-2:      #162A3F;
  --navy-3:      #1E3A5F;
  --white:       #FFFFFF;
  --off-white:   #F0F8FF;
  --gray-light:  #E8F4FD;
  --gray:        #6C8EAD;
  --text-dark:   #0D1B2A;
  --text-body:   #4A6073;

  --gradient-blue: linear-gradient(135deg, #00A2E9 0%, #0071C2 100%);
  --gradient-hero: linear-gradient(135deg, #0D1B2A 0%, #0A3352 50%, #0D1B2A 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));

  --shadow-sm:  0 2px 12px rgba(0,162,233,0.10);
  --shadow-md:  0 8px 32px rgba(0,162,233,0.18);
  --shadow-lg:  0 20px 60px rgba(0,162,233,0.25);
  --shadow-card:0 4px 20px rgba(13,27,42,0.10);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Override Old Template Styles ──────────────────────── */
/* These rules override conflicts from style.css (Techie template) */

/* Global section overflow fix (allows our animations to be visible) */
section { overflow: visible; }

/* Reset old hero */
#hero {
  background: var(--gradient-hero) !important;
  height: auto !important;
  overflow: hidden;
}
#hero .container, #hero .container-fluid {
  padding-top: 0 !important;
}

/* Remove underline decoration from old section-title h2 */
.section-title h2::after { display: none !important; }

/* Old template had padding on these — our ID rules override them */
#about    { padding: 90px 0 !important; }
#counts   { padding: 70px 0 !important; }
#services { padding: 90px 0 !important; }
#features { padding: 90px 0 !important; }
#contact  { padding: 90px 0 !important; }
#custreference { padding: 90px 0 !important; }

/* Counts old class style reset (new section doesn't use class .counts) */
.counts { background: none !important; }

/* Portfolio wrap — we style via .portfolio-wrap in our system */
.portfolio-wrap { border-radius: var(--radius-md); }

/* Contact old info-box hidden — we use .contact-info-card */
.contact .info-box { display: none !important; }

/* Services old icon-box hidden — we use .service-card */
#services .icon-box { display: none !important; }

/* Features old icon-box hidden — we use .feature-icon-box */
#features .icon-box { display: none !important; }
#features .image { display: none !important; }

/* ── Base Overrides ─────────────────────────────────────── */
body {
  color: var(--text-body);
  background: #fff;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* ── Preloader ─────────────────────────────────────────── */
#preloader {
  background: var(--navy);
}
#preloader:before {
  border-color: rgba(0,212,255,0.2);
  border-top-color: var(--cyan);
  width: 50px;
  height: 50px;
  border-width: 4px;
}

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── Section Title ─────────────────────────────────────── */
.section-title {
  text-align: center;
  padding-bottom: 50px;
}
.section-title .section-badge {
  display: inline-block;
  padding: 5px 18px;
  background: rgba(0,162,233,0.1);
  border: 1px solid rgba(0,162,233,0.3);
  border-radius: 50px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
}
.section-title h2 span {
  color: var(--blue);
}
.section-title p {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-title::after {
  display: none;
}

/* Title-word animation wrappers: correct alignment & colour cascade */
.title-word {
  vertical-align: bottom;
  line-height: inherit;
}
/* .title-word spans must not inherit the generic blue-span rule */
.section-title h2 span.title-word { color: inherit; }
/* Plain text words inside .title-word must also inherit (not pick up blue) */
.section-title h2 .title-word > .tw-text { color: inherit; }

/* ── Header Upgrade ─────────────────────────────────────── */
#header {
  background: transparent;
  padding: 16px 0;
}
#header.header-scrolled {
  background: rgba(13,27,42,0.96) !important;
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
/* Top-level nav links — white on dark scrolled header */
#header.header-scrolled .navbar > ul > li > a,
#header.header-scrolled .navbar > ul > li > a span { color: rgba(255,255,255,0.85); }
#header.header-scrolled .navbar > ul > li > a:hover { color: #fff; }

/* Dropdown links ALWAYS stay dark (white bg dropdown) */
.navbar .dropdown ul a,
#header .navbar .dropdown ul a,
#header.header-scrolled .navbar .dropdown ul a { color: #2c4964 !important; }
.navbar .dropdown ul a:hover,
#header.header-scrolled .navbar .dropdown ul a:hover { color: var(--blue) !important; }

/* Dropdown nested sub-menus */
.navbar .dropdown .dropdown ul a,
#header.header-scrolled .navbar .dropdown .dropdown ul a { color: #2c4964 !important; }
.navbar .dropdown .dropdown ul a:hover,
#header.header-scrolled .navbar .dropdown .dropdown ul a:hover { color: var(--blue) !important; }

.navbar .getstarted {
  background: var(--gradient-blue);
  border: none !important;
  padding: 9px 24px !important;
  border-radius: 50px !important;
  font-size: 13px !important;
  box-shadow: 0 4px 15px rgba(0,162,233,0.4);
  transition: var(--transition) !important;
}
.navbar .getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,162,233,0.5) !important;
}

/* ── Hero Section ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--blue);
  top: -200px; right: -100px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--cyan);
  bottom: -100px; left: 20%;
}

#hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(0,162,233,0.15);
  border: 1px solid rgba(0,162,233,0.4);
  border-radius: 50px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-title .line {
  display: block;
}
.hero-title .line span {
  display: block;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 36px;
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(0,162,233,0.45);
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,162,233,0.55);
  color: #fff;
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  transform: translateY(-3px);
}

.hero-stats-bar {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: left;
}
.hero-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* Hero Network Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-network-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}
.network-node {
  cursor: pointer;
  transition: var(--transition);
}
.network-node:hover circle { fill: var(--cyan); }

/* ── About Section ─────────────────────────────────────── */
#about {
  padding: 90px 0;
  background: #fff;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gradient-blue);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-image-badge .num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.about-image-badge .label {
  font-size: 12px;
  opacity: 0.85;
}
.about-content .section-badge { margin-bottom: 12px; }
.about-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.about-content .intro-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 28px;
}
.vision-mission {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}
.vm-card {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue);
  background: var(--off-white);
  transition: var(--transition);
}
.vm-card:hover {
  background: rgba(0,162,233,0.06);
  transform: translateX(4px);
}
.vm-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.vm-card p, .vm-card ul {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.7;
}
.vm-card ul { padding-left: 18px; }
.vm-card ul li { margin-bottom: 4px; }

/* ── Counts Section ─────────────────────────────────────── */
#counts {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
#counts::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300A2E9' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.counter-item {
  text-align: center;
  position: relative;
  padding: 20px;
}
.counter-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.counter-item:last-child::after { display: none; }
.counter-icon {
  width: 56px; height: 56px;
  background: rgba(0,162,233,0.15);
  border: 1px solid rgba(0,162,233,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--cyan);
  transition: var(--transition);
}
.counter-item:hover .counter-icon {
  background: var(--blue);
  transform: rotate(5deg) scale(1.1);
}
.counter-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: block;
}
.counter-suffix {
  color: var(--cyan);
  font-size: 2rem;
}
.counter-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

/* ── Why Choose / Services ─────────────────────────────── */
#services {
  padding: 90px 0;
  background: var(--off-white);
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,162,233,0.15);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.icon-blue   { background: rgba(0,162,233,0.12);  color: #00A2E9; }
.icon-cyan   { background: rgba(0,212,255,0.12);  color: #00B4D8; }
.icon-indigo { background: rgba(79,70,229,0.12);  color: #4F46E5; }
.icon-green  { background: rgba(16,185,129,0.12); color: #10B981; }
.icon-amber  { background: rgba(245,158,11,0.12); color: #F59E0B; }
.icon-red    { background: rgba(239,68,68,0.12);  color: #EF4444; }
.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
}

/* ── Products Section ──────────────────────────────────── */
#products {
  padding: 90px 0;
  background: #fff;
}

.product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}
.product-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  background: #fff;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.product-tab-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.product-tab-btn.active {
  background: var(--gradient-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,162,233,0.35);
}
.product-tab-btn i { font-size: 16px; }

.product-pane { display: none; }
.product-pane.active { display: block; }

.product-card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--gradient-blue);
  border-radius: 0 var(--radius-md) 0 80px;
  opacity: 0.06;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,162,233,0.25);
}
.product-card:hover::after { opacity: 0.12; }
.product-card.featured {
  background: var(--gradient-blue);
  border-color: transparent;
  color: #fff;
}
.product-card.featured h4,
.product-card.featured p,
.product-card.featured li { color: rgba(255,255,255,0.9); }
.product-card.featured .product-badge { background: rgba(255,255,255,0.2); color: #fff; }

.product-badge {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(0,162,233,0.1);
  color: var(--blue);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.product-card > p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 18px;
}
.product-features {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid rgba(0,162,233,0.1);
  padding-top: 16px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-body);
  padding: 5px 0;
}
.product-features li i {
  color: var(--blue);
  font-size: 14px;
  flex-shrink: 0;
}
.product-card.featured .product-features {
  border-top-color: rgba(255,255,255,0.2);
}
.product-card.featured .product-features li i { color: var(--cyan); }

.product-cta-wrap {
  text-align: center;
  margin-top: 48px;
}
.btn-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(0,162,233,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.btn-product-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,162,233,0.5);
  color: #fff;
}

/* ── Features Section ──────────────────────────────────── */
#features {
  padding: 90px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0,162,233,0.08) 0%, transparent 70%);
}
#features .section-title h2 { color: #fff; }
#features .section-title p { color: rgba(255,255,255,0.6); }

.feature-icon-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.04);
  margin-bottom: 16px;
  transition: var(--transition);
  cursor: default;
}
.feature-icon-box:hover {
  background: rgba(0,162,233,0.1);
  border-color: rgba(0,162,233,0.3);
  transform: translateX(6px);
}
.feature-icon-box .fi-icon {
  width: 52px; height: 52px;
  background: rgba(0,162,233,0.15);
  border: 1px solid rgba(0,162,233,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-icon-box:hover .fi-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(-5deg);
}
.feature-icon-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.feature-icon-box p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.7;
}

.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual img { filter: drop-shadow(0 20px 60px rgba(0,162,233,0.3)); }

/* ── Testimonials Section ──────────────────────────────── */
#testimonials {
  padding: 90px 0;
  background: var(--off-white);
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,162,233,0.15);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0; top: -8px;
  font-size: 48px;
  color: var(--blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2px;
}
.testimonial-author span {
  font-size: 12px;
  color: var(--text-body);
}

/* ── Customer References ───────────────────────────────── */
#custreference {
  padding: 90px 0;
  background: #fff;
}

#portfolio-flters {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  flex-wrap: wrap;
  justify-content: center;
}
#portfolio-flters li {
  padding: 8px 24px;
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
#portfolio-flters li:hover {
  border-color: var(--blue);
  color: var(--blue);
}
#portfolio-flters li.filter-active {
  background: var(--gradient-blue);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,162,233,0.35);
}

.portfolio-item {
  margin-bottom: 24px;
}
.portfolio-wrap {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-wrap:hover {
  border-color: rgba(0,162,233,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.portfolio-wrap img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(60%);
  transition: var(--transition);
}
.portfolio-wrap:hover img { filter: grayscale(0%); }

/* ── FAQ Section ───────────────────────────────────────── */
#faq {
  padding: 90px 0;
  background: var(--off-white);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(0,162,233,0.25); }
.faq-item.open { border-color: rgba(0,162,233,0.4); box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
}
.faq-question h5 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}
.faq-item.open .faq-question h5 { color: var(--blue); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-body);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ── Contact Section ───────────────────────────────────── */
#contact {
  padding: 90px 0;
  background: #fff;
}
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-card:hover {
  background: rgba(0,162,233,0.06);
  border-color: rgba(0,162,233,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,162,233,0.3);
}
.contact-info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-info-card p {
  font-size: 14px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.contact-map iframe {
  width: 100% !important;
  height: 360px !important;
  border: none !important;
  display: block;
}

.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-light);
}
.contact-form-wrap .form-control {
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
  font-family: 'Open Sans', sans-serif;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,162,233,0.12);
  outline: none;
}
.contact-form-wrap .form-control::placeholder { color: #aab5c0; }
.contact-form-wrap button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--gradient-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0,162,233,0.4);
  font-family: 'Poppins', sans-serif;
}
.contact-form-wrap button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,162,233,0.5);
}
.contact-form-wrap button[type="submit"]:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}
.contact-form-wrap .form-control.is-invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

/* Form feedback message */
.contact-form-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 16px;
  opacity: 0;
}
.contact-form-msg--success,
.contact-form-msg--error { display: flex; }
.contact-form-msg--success {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.28);
  color: #065F46;
}
.contact-form-msg--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.28);
  color: #991B1B;
}
.contact-form-msg i { font-size: 20px; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
#footer .footer-top {
  padding: 60px 0 40px;
}
#footer .footer-contact h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 24px;
}
#footer .footer-contact h4:first-of-type { margin-top: 0; }
#footer .footer-contact p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}
#footer .footer-contact strong { color: rgba(255,255,255,0.75); }
#footer .footer-links h4 {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
#footer .footer-links ul {
  list-style: none;
  padding: 0; margin: 0;
}
#footer .footer-links ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
#footer .footer-links ul li i {
  color: var(--blue);
  font-size: 12px;
}
#footer .footer-links ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
#footer .footer-links ul a:hover { color: var(--cyan); padding-left: 4px; }
#footer .footer-newsletter h4 {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
#footer .footer-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
#footer .footer-newsletter form {
  display: flex;
  gap: 8px;
}
#footer .footer-newsletter input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
#footer .footer-newsletter input[type="email"]:focus {
  border-color: var(--blue);
  background: rgba(0,162,233,0.1);
}
#footer .footer-newsletter input[type="submit"] {
  padding: 10px 20px;
  background: var(--gradient-blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
#footer .footer-newsletter input[type="submit"]:hover {
  box-shadow: 0 4px 16px rgba(0,162,233,0.4);
}
.footer-divider {
  border-color: rgba(255,255,255,0.07);
  margin: 0;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-copyright span { color: var(--blue); font-weight: 600; }
.footer-social-links {
  display: flex;
  gap: 10px;
}
.footer-social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social-links a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

/* ── Back to Top ───────────────────────────────────────── */
.back-to-top {
  background: var(--gradient-blue) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(0,162,233,0.4) !important;
  width: 44px !important;
  height: 44px !important;
}
.back-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(0,162,233,0.5) !important;
  background: var(--gradient-blue) !important;
}

/* ── Utility Classes ───────────────────────────────────── */
.text-blue { color: var(--blue) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-dark-navy { background: var(--navy); }
.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  border: 2px solid var(--blue);
  border-radius: 50px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  cursor: pointer;
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,162,233,0.3);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-title { font-size: 2.4rem; }
  .hero-visual { margin-top: 40px; }
  .hero-stats-bar { gap: 20px; }
  #counts .counter-item::after { display: none; }
  .feature-visual { margin-top: 40px; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { gap: 12px; }
  .btn-hero-primary, .btn-hero-outline { padding: 12px 24px; font-size: 14px; }
  .section-title h2 { font-size: 1.9rem; }
  .product-tabs { gap: 6px; }
  .product-tab-btn { padding: 8px 16px; font-size: 13px; }
  #hero { padding-top: 80px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Entrance Animations ───────────────────────────────── */
/* Initial state is set by JS (anime.set), NOT by CSS.
   This ensures content is always visible even if JS fails. */
.animate-ready { /* no hidden state here — JS handles it */ }
.animate-delay-1 { }
.animate-delay-2 { }
.animate-delay-3 { }
.animate-delay-4 { }
.animate-delay-5 { }
.animate-delay-6 { }

/* ── Animation Enhancement Styles ─────────────────────── */

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

/* Section floating particles canvas */
.section-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
#services, #counts, #testimonials, #contact { position: relative; }
#services .container,
#counts .container,
#testimonials .container,
#contact .container { position: relative; z-index: 1; }

/* Animated gradient text for section titles */
.section-title h2.anim-gradient-text {
  background: linear-gradient(135deg, var(--text-dark) 40%, var(--blue) 70%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Typed cursor for hero */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--cyan);
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink-cursor 0.7s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Floating tech icons in hero */
.hero-float-icons {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.float-icon {
  position: absolute;
  width: 40px; height: 40px;
  border: 1px solid rgba(0,162,233,0.3);
  border-radius: 12px;
  background: rgba(0,162,233,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,212,255,0.5);
  font-size: 18px;
  backdrop-filter: blur(4px);
}

/* Counter section enhanced */
.counter-item { cursor: default; }
.counter-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,162,233,0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.counter-item:hover .counter-glow { opacity: 1; }
.counter-item { position: relative; }

/* Service card shine effect */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.service-card:hover::after {
  transform: translateX(50%) rotate(45deg);
}

/* Magnetic button wrapper */
.btn-magnetic { display: inline-block; }

/* Ripple on buttons */
.btn-ripple {
  position: relative;
  overflow: hidden;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* Product tab enhanced */
.product-tab-btn.active {
  animation: tab-pulse 0.4s ease;
}
@keyframes tab-pulse {
  0%   { transform: scale(0.95); }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* Testimonial auto-slide */
.testimonials-track {
  position: relative;
}

/* FAQ counter badge */
.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,162,233,0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-number {
  background: var(--blue);
  color: #fff;
}

/* Contact form field glow */
.contact-form-wrap .form-control:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(0,162,233,0.15),
              0 0 20px rgba(0,162,233,0.1) !important;
}

/* About section skill bars */
.skill-bar-wrap { margin-bottom: 16px; }
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.skill-bar-label span { color: var(--blue); }
.skill-bar-track {
  height: 6px;
  background: var(--gray-light);
  border-radius: 3px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--gradient-blue);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(0,162,233,0.4);
}

/* Glow pulse on counter numbers */
@keyframes counter-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); color: var(--cyan); }
  100% { transform: scale(1); }
}
.counter-pop { animation: counter-pop 0.4s ease; }

/* Feature section animated line */
.feature-connector {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transform: scaleX(0);
}

/* Logo hover shimmer */
.portfolio-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,162,233,0.12), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.portfolio-wrap { position: relative; overflow: hidden; }
.portfolio-wrap:hover::before { left: 150%; }

/* Marquee container for reference logos */
.reference-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.reference-marquee::before,
.reference-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.reference-marquee::before { left: 0;  background: linear-gradient(to right,  #fff, transparent); }
.reference-marquee::after  { right: 0; background: linear-gradient(to left,   #fff, transparent); }

/* Back to top enhanced */
.back-to-top { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; }

/* Section reveal overlay */
.section-reveal-line {
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGES — shared hero + page-specific components
   ═══════════════════════════════════════════════════════════ */

/* Always-dark header for inner pages */
#header.header-scrolled .navbar > ul > li > a { color: rgba(255,255,255,0.85); }
#header.header-scrolled .navbar > ul > li > a:hover { color: #fff; }

/* ── Inner Hero ─────────────────────────────────────────── */
.inner-hero {
  background: var(--gradient-hero);
  padding: 130px 0 72px;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,162,233,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.inner-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 8%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.inner-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.inner-hero p {
  color: rgba(255,255,255,0.62);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.8;
  margin: 0;
}
.inner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.inner-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
}
.inner-breadcrumb a:hover { color: var(--cyan); }
.inner-breadcrumb .sep { color: rgba(255,255,255,0.2); }
.inner-breadcrumb .current { color: var(--cyan); font-weight: 600; }

/* ── Support Page ───────────────────────────────────────── */
.support-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  height: 100%;
  transition: var(--transition);
}
.support-card:hover {
  border-color: rgba(0,162,233,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.support-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,162,233,0.1), rgba(0,212,255,0.07));
  border: 1px solid rgba(0,162,233,0.18);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 20px;
}
.support-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.support-card-sub {
  font-size: 11.5px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}
.support-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: var(--off-white);
  transition: var(--transition);
}
.support-contact-item:hover { background: rgba(0,162,233,0.07); }
.support-contact-item i { font-size: 18px; color: var(--blue); flex-shrink: 0; }
.support-contact-item span { font-size: 13.5px; color: var(--text-body); font-weight: 500; }
.support-divider { border-color: rgba(0,162,233,0.12); margin: 14px 0; }

/* ── Payment Page ───────────────────────────────────────── */
.payment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition);
}
.payment-card:hover {
  border-color: rgba(0,162,233,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.payment-card-header {
  background: linear-gradient(135deg, #005FAD 0%, #00A2E9 100%);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.payment-bank-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; flex-shrink: 0;
}
.payment-card-header h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 5px;
}
.payment-type-badge {
  display: inline-block;
  padding: 2px 11px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.payment-card-body { padding: 28px 32px; }
.payment-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  gap: 20px;
}
.payment-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.pd-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray);
  flex-shrink: 0;
}
.pd-value { font-size: 14px; color: var(--text-dark); font-weight: 600; text-align: right; }
.pd-account { font-size: 1.6rem; font-weight: 900; color: var(--blue); letter-spacing: 1px; text-align: right; }
.payment-note {
  background: rgba(0,162,233,0.05);
  border: 1px solid rgba(0,162,233,0.14);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.payment-note > i { font-size: 28px; color: var(--blue); margin-bottom: 10px; display: block; }
.payment-note p { font-size: 14px; color: var(--text-body); line-height: 1.75; margin: 0; }

/* ── Speedtest Page ─────────────────────────────────────── */
.speedtest-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}
.speedtest-wrap iframe { display: block; }

/* ── Terms Page ─────────────────────────────────────────── */
.terms-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--gray-light);
  margin-bottom: 14px;
  transition: var(--transition);
}
.terms-card:hover {
  border-color: rgba(0,162,233,0.2);
  box-shadow: var(--shadow-sm);
}
.terms-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.terms-card-num {
  width: 34px; height: 34px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.terms-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}
.terms-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.85;
  margin: 0;
}
.terms-last-updated {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  text-align: right;
  margin-top: 8px;
}

/* ── Web Portal Page ────────────────────────────────────── */
.portal-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  height: 100%;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
}
.portal-card:hover {
  border-color: rgba(0,162,233,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  color: inherit;
  text-decoration: none;
}
.portal-card-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.portal-card-icon.icon-blue   { background:rgba(0,162,233,0.1);  color:var(--blue);   border:1px solid rgba(0,162,233,0.18); }
.portal-card-icon.icon-green  { background:rgba(16,185,129,0.1); color:#10B981; border:1px solid rgba(16,185,129,0.2); }
.portal-card-icon.icon-purple { background:rgba(139,92,246,0.1); color:#8B5CF6; border:1px solid rgba(139,92,246,0.2); }
.portal-card-icon.icon-amber  { background:rgba(245,158,11,0.1); color:#F59E0B; border:1px solid rgba(245,158,11,0.2); }
.portal-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  transition: var(--transition);
}
.portal-card:hover h4 { color: var(--blue); }
.portal-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.75;
  margin: 0;
  flex-grow: 1;
}
.portal-card-arrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.portal-card:hover .portal-card-arrow { gap: 10px; }

/* ── Newsletter Feedback Message ────────────────────────── */
.newsletter-msg {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0;
}
.newsletter-msg--success,
.newsletter-msg--error { display: flex; }
.newsletter-msg--success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7;
}
.newsletter-msg--error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}
.newsletter-msg i { font-size: 18px; flex-shrink: 0; }
