/* Global Fix for Horizontal Scroll */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

.text-gradient {
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
}

.hero-advanced {
  overflow: hidden;
}
.hero-advanced {
  min-height: 75vh;
}

.hero-slide {
  position: relative;
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.glass-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-title {
  color: #fff;
  text-shadow: 0 0 5px #8f94fb, 0 0 15px #4e54c8;
}

.object-fit-cover {
  object-fit: cover;
}

.navbar-nav .nav-link {
  color: #333;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #6C63FF;
}
.gradient-brand {
  font-size: 1.9rem;
  background: linear-gradient(90deg, #6C63FF, #FF6F61, #00BFA6, #FFB400, #FF3CAC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #6C63FF;
  text-decoration: underline;
}

.navbar-toggler {
  outline: none;
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.btn-primary {
  background-color: #574fd6 !important;
  border: none;
}
.nav-link.px-3.btn.btn-primary.text-white.rounded-pill.ms-lg-3.px-4 {
  background-color: blue !important;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #574fd6;
  color: #fff;
  box-shadow: 0 4px 10px rgb(108 99 255 / 0.4);
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  .btn-primary {
    width: 100%;
    margin-top: 10px;
  }
}

/* Services Section Updates */

#services {
  color: #222;
}

#services .text-gradient {
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card {
  background: rgba(255 255 255 / 0.9);
  box-shadow: 0 4px 15px rgba(78, 84, 200, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(78, 84, 200, 0.4);
  cursor: pointer;
}

.service-card .icon-wrapper i {
  background: linear-gradient(135deg, #8f94fb 0%, #4e54c8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper i {
  transform: scale(1.2);
}

.service-card h5 {
  font-weight: 600;
  color: #4e54c8;
}

.service-card p {
  color: #555;
}

/* Overlay fix for dark bg */
#services .bg-opacity-60 {
  background-color: rgba(0, 0, 0, 0.6) !important;
}
/* Why Choose Us Section */

#why h2 {
  font-weight: 700;
}

.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(78, 84, 200, 0.3);
  border-color: #8f94fb;
}

.text-gradient {
  background: linear-gradient(135deg, #8f94fb, #4e54c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-card i {
  transition: transform 0.3s ease;
}

.why-card:hover i {
  transform: scale(1.3);
}
/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  border: none;
  color: white;
  transition: background 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #8f94fb, #4e54c8);
  color: white;
}

/* Animated Icon - subtle up and down movement */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.animated-icon {
  animation: float 4s ease-in-out infinite;
}

/* Input fields customization */
.form-control {
  background-color: #222;
  border: 1px solid #444;
  color: white;
  box-shadow: none;
}

.form-control::placeholder {
  color: #aaa;
}

.form-control:focus {
  background-color: #333;
  border-color: #6c63ff;
  color: white;
  box-shadow: 0 0 8px #6c63ff;
  outline: none;
}
.btn-gradient {
  background: linear-gradient(135deg, #6C63FF, #8f94fb);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.6);
  transition: background 0.3s ease;
  font-weight: 600;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #8f94fb, #6C63FF);
  color: white;
  box-shadow: 0 6px 20px rgba(108, 99, 255, 0.8);
}

.gradient-brand {
  background: linear-gradient(90deg, #6C63FF, #8f94fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.footer-link:hover {
  text-decoration: underline;
  color: #8f94fb;
  transition: color 0.3s ease;
}

.social-icon {
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #6C63FF;
  transform: scale(1.2);
}


@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    display: block;
    font-size: 1rem;
    font-weight: 500;
  }
}

@media (max-width: 768px) {
  .hero-advanced {
    background-position: center top;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .glass-box {
    padding: 2rem 1.5rem !important;
    margin: 0 1rem; /* Prevent touching edges */
  }

  .hero-advanced h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-advanced p {
    font-size: 0.95rem;
  }
}
