/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f4f6f8;
  color: #1f2937;
}

/* ================= PREMIUM NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9); /* gradient */
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-radius: 0 0 20px 20px; /* soft rounded bottom */
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.navbar .logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.05);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.navbar a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #ffffff;
  transition: width 0.3s ease;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 16px 20px;
    gap: 10px;
    border-radius: 0 0 15px 15px;
  }

  .navbar nav {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .navbar nav a {
    width: 100%;
    text-align: center;
  }
}

/* ================= HERO (GLOBAL – ALL PAGES) ================= */
.hero {
  position: relative;
  background: url("assets/images/hero-bg.jpg") center center / cover no-repeat;
  color: #ffffff;
  padding: 140px 20px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
}

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

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Smaller hero for inner pages */
.hero.small {
  padding: 90px 20px;
}

/* ================= HERO BUTTONS ================= */
.hero-buttons a {
  display: inline-block;
  margin: 10px 15px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary {
  background: #38bdf8;
  color: #020617;
}

.btn-primary:hover {
  background: #0ea5e9;
  color: #ffffff;
}

.btn-secondary {
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn-secondary:hover {
  background: #38bdf8;
  color: #ffffff;
}

/* ================= SECTIONS ================= */
.section {
  padding: 80px 60px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 50px;
}

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

/* ================= SERVICE CARDS ================= */
.card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: left;
}

.card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1e3a8a;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ================= DARK SECTION / WHY CHOOSE US ================= */
.section.dark {
  background: rgba(2, 6, 23, 0.95);
  color: #e5e7eb;
}

.section.dark .dark-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 22px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #020617;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.section.dark .dark-card img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.section.dark .dark-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* ================= NETWORK HEALTH ANIMATION ================= */
.wave-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(2, 6, 23, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin: 12px 0;
}

.wave {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    #22c55e,
    #38bdf8,
    #ef4444,
    transparent
  );
  filter: drop-shadow(0 0 6px rgba(56,189,248,0.8));
  animation: waveMove 1.8s linear infinite;
}

.ping-wave {
  animation-duration: 1.2s;
}

@keyframes waveMove {
  from { left: -50%; }
  to { left: 100%; }
}

/* ================= ABOUT PAGE TEXT ================= */
.section-text {
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 18px;
}

/* ================= FOOTER ================= */
footer {
  background: #020617;
  color: #9ca3af;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

footer p {
  margin-bottom: 6px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .section {
    padding: 60px 25px;
  }
}

/* PREMIUM CONNECTIVITY SECTION */
.premium-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.premium-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1e3a8a;
  text-align: center; /* optional: center title */
}

.premium-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
  text-align: justify; /* makes it look more premium */
}

/* Responsive */
@media (max-width: 768px) {
  .premium-text h2 {
    font-size: 24px;
  }

  .premium-text p {
    font-size: 15px;
  }
}

/* ================= HOW WE DELIVER SECTION ================= */
.deliver-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff, #e0f2f8);
  text-align: center;
  border-radius: 16px;
  margin: 60px 0;
}

.deliver-section .section-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e3a8a;
}

.deliver-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 16px;
  line-height: 1.8;
  color: #1f2937;
}

.deliver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  justify-items: center;
}

.deliver-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  opacity: 0;             /* animation start */
  transform: translateY(40px); /* animation start */
}

.deliver-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.deliver-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #0ea5e9;
}

.deliver-card p {
  font-size: 15px;
  color: #1f2937;
  line-height: 1.6;
}

/* Hover effect */
.deliver-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Fade-in animation */
.deliver-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Staggered animation delay */
.deliver-card:nth-child(1) { transition-delay: 0s; }
.deliver-card:nth-child(2) { transition-delay: 0.15s; }
.deliver-card:nth-child(3) { transition-delay: 0.3s; }
.deliver-card:nth-child(4) { transition-delay: 0.45s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .deliver-intro {
    font-size: 15px;
  }
  .deliver-card {
    width: 90%;
  }
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials .section-title {
  color: #fff;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonials .testimonial-intro {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f9ff;
}

.testimonial-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.testimonial-card {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-card span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f0f9ff;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 80%;
  }
}

/* WHY CHOOSE ICE CONNECT ISP – PREMIUM */
.why-ice {
  position: relative;
  background: #020617;
  color: #e5e7eb;
  overflow: hidden;
}

/* Soft glowing background */
.why-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(56,189,248,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(14,165,233,0.25), transparent 40%);
  z-index: 0;
}

.why-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

/* LEFT TEXT */
.why-text {
  flex: 1;
}

.why-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #f8fafc;
}

.why-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5f5;
  margin-bottom: 30px;
}

/* Points */
.why-points {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.why-point {
  display: flex;
  gap: 16px;
}

.why-point h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.why-point p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ICONS */
.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(56,189,248,0.45);
  flex-shrink: 0;
}

.why-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* RIGHT STATS */
.why-visual {
  flex: 0.9;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.stat-box {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(56,189,248,0.35);
}

.stat-box span {
  font-size: 32px;
  font-weight: 700;
  color: #38bdf8;
}

.stat-box p {
  margin-top: 6px;
  font-size: 14px;
  color: #e5e7eb;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .why-container {
    flex-direction: column;
  }
}

.section-text {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.75;
  margin-bottom: 18px;
}
