/* ================================
   Global Reset & Base Styles
   ================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   Header & Navigation
   ================================ */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}
.cta-btn {
  background: #0078d7;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
}
.cta-btn:hover {
  background: #005fa3;
}

/* ================================
   Mega Menu
   ================================ */
.mega-dropdown {
  position: relative;
}
.mega-dropdown > a {
  cursor: pointer;
}

/* Dropdown container */
.mega-content {
  display: none;                 /* hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  width: 900px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  gap: 2rem;
  z-index: 1000;
}

.mega-content.active {
  display: flex;                 /* only visible when .active is added */
}


/* Left Menu */
.mega-menu-left {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
  padding-right: 1rem;
}
.mega-menu-left a {
  padding: 0.6rem 0;
  color: #333;
  font-weight: 500;
}
.mega-menu-left a.active {
  color: #0078d7;
  border-left: 3px solid #0078d7;
  padding-left: 0.5rem;
}

/* Right Cards */
.mega-menu-right {
  flex: 1;
}
.mega-menu-right .card {
  display: none; /* hidden by default */
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #eee;
}
.mega-menu-right .card.active {
  display: block;
}
.mega-menu-right h4 {
  margin-bottom: 0.5rem;
}
.mega-menu-right p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.mega-menu-right a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0078d7;
  font-weight: bold;
  font-size: 0.9rem;
}

/* ================================
   Hero Section
   ================================ */
.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b, #3b82f6);
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ================================
   Quick Links
   ================================ */
.quick-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: #f9f9f9;
  flex-wrap: wrap;
}
.link-item {
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
}
.link-item p {
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ================================
   Features Section
   ================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
}
.features .card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s;
}
.features .card:hover {
  transform: translateY(-5px);
}
.features .card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.features .card h3 {
  margin: 0.5rem 0;
}
.features .card a {
  display: inline-block;
  margin-top: 1rem;
  color: #0078d7;
  font-weight: bold;
}

/* ================================
   Footer
   ================================ */
footer {
  text-align: center;
  padding: 2rem;
  background: #f1f1f1;
  font-size: 0.9rem;
}

/* ================================
   Responsive (Optional)
   ================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

.mega-menu-right .card img {
  width: 100%;            /* still use full card width */
  max-height: 160px;      /* limit height so it doesn’t expand menu */
  object-fit: cover;      /* crop to fit nicely */
  border-radius: 6px;
  margin-bottom: 0.8rem;
}


/* ================================
   hero section
   ================================ */
.hero h1 {
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
}

.hero h1 .indent {
  margin-left: 1rem;   /* 1 level indent */
}

.hero h1 .double-indent {
  margin-left: 2rem;   /* 2 levels indent */
}

.compliance {
  text-align: center;
  padding: 3rem 2rem;
  background: #f9f9f9;
}

.compliance h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.compliance p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.compliance-list li {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  position: relative;
}

.vision {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  max-width: 900px;
  margin: 0 auto;
}
.vision h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.vision p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.core-values {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}
.core-values h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.value h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.value p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* CTA Banner Above Footer */
.footer-cta {
  background: #0f172a;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}
.footer-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.footer-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.footer-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer-cta .link-btn {
  color: #fff;
  font-weight: bold;
}

/* Main Footer */
.footer {
  background: #f1f1f1;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}
.footer-links,
.footer-sub-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-links a,
.footer-sub-links a {
  color: #333;
  font-weight: 500;
}
.footer-social {
  margin-bottom: 1rem;
}
.footer-social a {
  margin: 0 0.5rem;
  font-size: 1.2rem;
  color: #333;
  transition: color 0.3s;
}
.footer-social a:hover {
  color: #0078d7;
}
.footer-copy {
  color: #555;
}

/* Burger menu button (hidden desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #333;
  margin-left: 1rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    border-top: 1px solid #eee;
    z-index: 1000;
  }
  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* Hide CTA button on mobile if needed */
  .cta-btn {
    display: none;
  }

  /* Mega menu stacks vertically */
  .mega-content {
    position: static;
    width: 100%;
    flex-direction: column;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .mega-menu-left {
    border-right: none;
    padding-right: 0;
    margin-bottom: 1rem;
  }
}

/* Updates Section */
.updates {
  padding: 3rem 2rem;
  background: #fff;
}

.updates h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 2rem;
}

/* Updates Section */
.updates {
  padding: 3rem 2rem;
  background: #fff;
}

.updates h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #111;
  margin-bottom: 2rem;
  text-align: center;
}

.update-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.update-card .date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: block;
}

.update-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111;
}

.update-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Footer button */
.updates-footer {
  text-align: center;
  margin-top: 2rem;
}

.updates-footer .btn {
  background: #0078d7;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-block;
}

.updates-footer .btn:hover {
  background: #005fa3;
}

/* Add spacing below hero */
.hero {
  margin-bottom: 4rem; /* adjust as needed */
}

/* Insight card wrapper */
.insight-card {
  position: relative;
  width: 70%;
  margin: 0 auto 4rem auto; /* space below */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  overflow: visible;
}

/* Text box */
.insight-text {
  flex: 1;
  padding: 2rem;
  z-index: 2;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  left: 0;
  margin-right: -20%; /* overlap ~20% over the image */
}

/* Image */
.insight-image {
  flex: 1;
  z-index: 1;
}

.insight-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .insight-card {
    flex-direction: column;
    width: 90%;
  }

  .insight-text {
    margin-right: 0;
    box-shadow: none;
  }

  .insight-image {
    margin-top: 1rem;
  }
}

/* Wrapper for all cards */
.overlap-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 70%;
  margin: 3rem auto;
}

/* Individual card */
.overlap-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px; /* keeps them from being too wide */
}

/* Image block (half size) */
.overlap-image {
  flex: 0.7; /* takes 1 part */
  overflow: hidden;
  border-radius: 8px;
}

.overlap-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Text block (double size, overlaps image) */
.overlap-text {
  flex: 2; /* takes 2 parts */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2rem;
  position: relative;
  left: -10%; /* overlaps into image */
  z-index: 2;
}

.overlap-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.overlap-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.service-btn {
  font-weight: bold;
  color: #0066aa;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Alternate layout: second card (image on right, text overlaps left) */
.overlap-card:nth-child(2) {
  flex-direction: row-reverse;
}

.overlap-card:nth-child(2) .overlap-text {
  left: 10%; /* push overlap in opposite direction */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .overlap-cards {
    width: 90%;
  }

  .overlap-card {
    flex-direction: column !important;
    max-width: 100%;
  }

  .overlap-text {
    left: 0 !important;
    margin-top: 1rem;
    width: 100%;
    flex: unset;
  }

  .overlap-image {
    width: 100%;
  }
}

.compliance {
  text-align: center;
  margin: 4rem 0;
  width: 100%;             /* full width */
  background: #f9f9f9;     /* subtle background for separation */
  padding: 3rem 2rem;
}

.compliance h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  width: 100%;             /* stretch full width */
  max-width: 1400px;       /* optional cap on very large screens */
  margin: 0 auto;
}

.network-card {
  background: #a3a0a0;
  color: hsl(0, 0%, 0%);
  border-radius: 6px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.network-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #007bff;
}

.network-card p {
  font-size: 1rem;
  margin: 0;
}

.network-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: #fff;
}

