* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, Arial;
  background: linear-gradient(
    135deg,
    #949fe9 0%,
    #424988 30%,
    #0f0f3d 60%,
    #1a0f3f 100%
  );
  color: #e5e7eb;
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, #949fe9 0%, rgba(26, 31, 75, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(5, 150, 213, 0.05);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
  background: linear-gradient(90deg, #949fe9 0% rgba(26, 31, 75, 0.98) 100%);
}

.navbar-logo {
  height: 55px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar-logo:hover {
  transform: scale(1.1) rotateZ(5deg);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}

.navbar-brand {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  cursor: pointer;
}

.navbar-brand:hover {
  filter: brightness(1.2);
}

.nav-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin: 0 8px;
  font-weight: 500;
  padding: 8px 12px !important;
  border-radius: 6px;
}

.nav-link:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
  width: calc(100% - 24px);
}

/* ===== PORTFOLIO =====
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 150, 213, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.portfolio-btn:hover {
  background: white;
  color: #0a0e27;
  transform: scale(1.15);
} */

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(90deg, #494e70 0%, rgba(26, 31, 75, 0.95) 100%);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(5, 150, 213, 0.05);
  border-top: 1px solid rgba(56, 189, 248, 0.1);
  padding: 40px 0;
  margin-top: 80px;
}

.footer a {
  color: #e5e7eb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #38bdf8;
}

.footer ul li {
  margin: 8px 0;
}

.footer hr {
  border-color: rgba(56, 189, 248, 0.2);
  margin: 20px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-logo {
    height: 40px;
    max-width: 45px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .nav-link {
    margin: 0 5px;
    font-size: 0.95rem;
  }

  .slider-control {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .slider-control.prev {
    left: 10px;
  }

  .slider-control.next {
    right: 10px;
  }

  .slider-item h1 {
    font-size: 2rem;
  }

  .slider-item img {
    max-height: 300px;
    object-fit: cover;
  }

  .portfolio-item img {
    height: 200px;
  }

  .portfolio-overlay {
    gap: 15px;
  }

  .portfolio-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .service-icon {
    font-size: 35px;
  }

  .team-card-blur img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-logo {
    height: 35px;
    max-width: 40px;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .nav-link {
    margin: 0 3px;
    font-size: 0.9rem;
  }

  .slider-item h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .slider-item .lead {
    font-size: 0.95rem;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .slider-dots {
    bottom: 15px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 20px;
  }

  .portfolio-item img {
    height: 250px;
  }

  .team-card-blur img {
    height: 380px;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0ea5e9, #06b6d4);
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
