* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; }

.topbar {
  background: #f1f1f1;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow: hidden;
  position: relative;
}


.left-scroll {
  overflow: hidden;
  flex: 1;
  margin-right: 20px;
}

.scroll-wrapper {
  white-space: nowrap;
  display: inline-block;
  animation: scrollLeft 15s linear infinite;
}

.scroll-content {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.scroll-content i {
  color: #0077b6;
}

.scroll-content a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.divider {
  color: #999;
}


.right {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.icon-link {
  color: #333;
  font-size: 16px;
  transition: color 0.3s ease;
}

.icon-link:hover {
  color: #0077b6;
}


@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}


@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    gap: 5px;
  }

  .right {
    justify-content: flex-start;
  }
}

header {
  background: linear-gradient(to right, #0077b6, #00b4d8);
  color: #fff; padding: 20px;
  position: sticky; top: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
}
header h1 { font-size: 24px; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-weight: 600; }


.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel { position: relative; width: 100%; height: 100%; }
.slide { display: none; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide.active { display: block; }
.prev, .next {
  cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%);
  padding: 16px; color: #fff; font-size: 30px; font-weight: bold;
  background: rgba(0,0,0,0.4); border-radius: 50%;
  user-select: none; z-index: 10;
}
.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }
.prev { left: 20px; }
.next { right: 20px; }


/* Sections */
section { padding: 60px 20px; max-width: 1200px; margin: auto; text-align: center; }
h2 { margin-bottom: 20px; font-size: 32px; color: #0077b6; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
.card {
  background: #f9f9f9; padding: 20px; border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-10px); }

.client-card {
  background:#fff;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform 0.3s ease;
}
.client-card img {
  max-width:140px;
  max-height:80px;
  object-fit:contain;
}
.client-card:hover {
  transform:translateY(-5px);
}


.client-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  background: #fff;
  padding: 20px 0;
  margin-bottom: 30px;
}

.client-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollClients 40s linear infinite;
}

.client-card {
  flex: 0 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-right: 30px;
}

.client-card img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
}

.client-card:hover {
  transform: translateY(-5px);
}

@keyframes scrollClients {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


.client-marquee-wrapper:hover .client-marquee-track {
  animation-play-state: paused;
}


.portfolio {
  background: #0d0d0d;
  color: #fff;
  padding: 60px 20px;
   max-width: 100%;
  width: 100%;
}

.portfolio-title {
  text-align: center;
  font-size: 36px;
  color: #ff6600;
  margin-bottom: 40px;
}

.portfolio-toggle {
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-btn {
  padding: 12px 24px;
  border: 2px solid #ff6600;
  background: transparent;
  color: #ff6600;
  font-weight: 600;
  cursor: pointer;
  margin: 0 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.portfolio-btn.active,
.portfolio-btn:hover {
  background: #ff6600;
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.portfolio-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
}

.portfolio-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.portfolio-card h3 {
  margin: 15px 0 5px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.portfolio-card p {
  color: #ff6600;
  font-size: 14px;
  margin-bottom: 15px;
}


footer { background: #0077b6; color: #fff; text-align: center; padding: 20px; }


@media (max-width: 768px) {
  nav ul { flex-direction: column; display: none; background: #0077b6;
    position: absolute; top: 60px; right: 0; width: 200px; padding: 10px; }
  nav ul.show { display: block; }
  .menu-toggle { display: block; cursor: pointer; font-size: 24px; }
}
.menu-toggle { display: none; }


/* Submenu Styling */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0077b6;
  display: none;
  list-style: none;
  padding: 10px 0;
  min-width: 150px;
  z-index: 1000;
}

.submenu li {
  text-align: left;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover {
  background: #005f8d;
}

.has-submenu:hover .submenu {
  display: block;
}

@media (max-width: 768px) {
  .submenu {
    position: static;
    display: none;
    background: #006494;
  }

  .submenu.show-submenu {
    display: block;
  }
}


