.bg-overlay {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 191, 255, 0.2) 0%,
    transparent 70%
  );
  z-index: -5;
  pointer-events: none;
}

.hero-section {
  padding: 0;

  min-height: 90vh;
  margin-top: 8vh;

  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

#video-bg-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 1;

  filter: brightness(60%) contrast(120%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  color: var(--color-text-dark);
  margin-bottom: 15px;
  font-size: 3.5em;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9), 0 0 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2em;
  color: var(--color-text-dark);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-accent);
  color: var(--color-dark-bg);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 0 15px var(--color-accent);
}

.cta-button:hover {
  background-color: #0088cc;
  transform: translateY(-2px);
}

.cta-link {
  display: block;
  text-align: center;
  color: var(--color-accent);
  text-decoration: none;
  margin-top: 20px;
  font-weight: 500;
}

.cta-banner {
  background-image: linear-gradient(
      to right,
      rgba(0, 50, 100, 1) 0%,
      transparent 100%
    ),
    url("/public/assets/images/data-center-.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 80px 40px;

  max-width: 1300px;
  max-height: 450px;
  margin: 60px auto;

  border-radius: 15px;
  color: white;
}

.cta-content {
  max-width: 600px;
  text-align: left;
}

.cta-banner h1 {
  font-size: 2em;
  color: var(--color-text-dark, white);
  margin-bottom: 20px;
}

.cta-banner p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.banner-button {
  display: inline-block;
  padding: 12px 35px;
  background-color: white;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.banner-button:hover {
  background-color: #f0f0f0;
}

.stats-grid {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
  padding: 30px 0;
}

.stat-card {
  background-color: var(--color-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(0, 191, 255, 0.1);
  transition: all 0.3s;
}

.stat-card:hover {
  color: var(--color-card-hover-text);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 91, 172, 0.5);
}

.stat-card h3 {
  font-size: 2.5em;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.stat-card p {
  color: var(--color-text-dim);
}

#services {
  margin-bottom: 60px;
  padding: 30px 0;
}

.services-grid-new {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
}

.service-card-new {
  display: block;
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  box-shadow: var(--shadow-dark);
}

.service-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

/* Zoom Image Scale */

.service-card-new:hover::before {
  transform: scale(1.1);
}

/* Change Image for Grid */

.services-grid-new .card-1::before {
  background-image: url("/public/assets/images/system\ integrator.png");
}
.services-grid-new .card-2::before {
  background-image: url("/public/assets/images/wireless.jpg");
}
.services-grid-new .card-3::before {
  background-image: url("/public/assets/images/distribution.png");
}
.services-grid-new .card-4::before {
  background-image: url("/public/assets/images/managed.jpg");
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;

  color: var(--color-text-dark);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-overlay i {
  font-size: 2em;
  color: var(--color-card-bg);
  margin-bottom: 5px;
}

.card-overlay h3 {
  color: var(--color-text-dark);
  margin-bottom: 5px;
}

.card-overlay p {
  color: var(--color-text-dim);
  font-size: 0.9em;
}

.cta-link-card {
  color: var(--color-accent);
  font-weight: bold;
  margin-top: 10px;
}
cts {
  padding: 60px 0;
}

#products {
  padding: 0;
}

.product-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 40px;

  max-width: 1200px;
  margin: 0 auto;
}

.product-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0;
  transform: translateX(-3rem);
  margin-right: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.product-intro h2 {
  text-align: left;
  line-height: 3rem;
  margin-bottom: 15px;
  font-size: 2.25em;
  color: var(--color-text-light);
}

.product-intro p {
  color: var(--color-text-dim);
  margin-bottom: 25px;
  font-size: 1.1em;
}

.cta-button.cta-products {
  width: fit-content;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 25px;
  background-color: var(--color-accent);
  color: var(--color-dark-bg);
  border-radius: 8px;
  box-shadow: none;
}

.carousel-controls {
  display: flex;
  gap: 15px;
}

.control-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  color: var(--color-dark-bg);
  border-radius: 50%;
  font-size: 1.5em;
  cursor: pointer;
  transition: background-color 0.2s;
}

.control-arrow:hover {
  background-color: #0088cc;
}

.carousel-outer {
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
}

.product-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-radius: 1rem;
  gap: 20px;
  padding-left: 0;
  padding-right: 300px;
}
.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 350px;
  min-height: 450px;
  width: 400px;
  height: 480px;
  flex-shrink: 0;
  background-color: var(--color-card-bg);
  border-radius: 1rem;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 55%;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.product-card h4 {
  padding: 15px 20px 5px 20px;
  color: var(--color-accent);
  font-size: 1em;
  margin: 0;
}

.product-card p {
  padding: 0 20px 10px 20px;
  font-size: 1.2em;
  color: var(--color-text-dim);
}

.btn-detail {
  margin-top: auto;

  display: block;
  text-align: center;
  padding: 12px 0;
  background-color: var(--color-accent);
  color: var(--color-dark-bg);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.product-card:hover .btn-detail {
  background-color: #0088cc;
}

#services h2,
.stats-grid,
#timeline {
  padding-left: 0px;
  padding-right: 0px;
}

.stats-grid,
#products {
  margin-left: auto;
  margin-right: auto;

  padding-left: 15px;
  padding-right: 15px;
}

.timeline-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 30px;
  column-gap: 0;
  max-width: 900px;
  margin: 40px auto;
  position: relative;
  padding: 0 15px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-accent);
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.timeline-list::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
  z-index: 1;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.timeline-item {
  position: relative;
  padding: 20px 30px;
  background-color: var(--color-card-bg);
  border-radius: 10px;
  box-shadow: var(--shadow-dark);

  border-left: none;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 25px;
  z-index: 2;
  border-bottom: 1px solid rgba(0, 191, 255, 0.15);
}

.timeline-list .timeline-item:last-child,
.timeline-list .timeline-item:nth-last-child(2) {
  border-bottom: none;
}

.timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.timeline-item h4.year {
  color: var(--color-accent);
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-list .timeline-item:nth-child(odd) {
  grid-column: 1 / 2;
  text-align: right;

  padding-right: 30px;
  margin-right: 30px;
  justify-self: end;
  max-width: 400px;
}

.timeline-list .timeline-item:nth-child(even) {
  grid-column: 2 / 3;
  text-align: left;
  padding-left: 30px;
  margin-left: 30px;
  justify-self: start;
  max-width: 400px;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--color-accent);
  border: 3px solid var(--color-dark-bg);
  border-radius: 50%;
  top: 70px;
  z-index: 3;
}

.timeline-list .timeline-item:nth-child(odd)::after {
  right: -6px;
}

.timeline-list .timeline-item:nth-child(even)::after {
  left: -6px;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5em;
  }
  .stats-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 80vh;
  }
}
