/* ---------- GLOBAL & UTILITIES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #FFFFFF;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
}

/* animated gradient background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(29,185,84,0.08), rgba(0,0,0,0) 60%),
              radial-gradient(circle at 80% 70%, rgba(29,185,84,0.05), rgba(0,0,0,0) 50%);
  background-size: 200% 200%;
  animation: softGlow 18s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes softGlow {
  0% { opacity: 0.6; background-position: 0% 0%; }
  50% { opacity: 1; background-position: 100% 100%; }
  100% { opacity: 0.6; background-position: 0% 0%; }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #121212; }
::-webkit-scrollbar-thumb { background: #1DB954; border-radius: 10px; }

/* ---------- NAVIGATION & GLASS EFFECTS ---------- */
.glass-nav {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.glass-toggle {
  background: rgba(29, 185, 84, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(29, 185, 84, 0.3);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.glass-toggle:hover {
  background: rgba(29, 185, 84, 0.25);
  border-color: rgba(29, 185, 84, 0.6);
  transform: scale(1.02);
}

.glass-sidebar {
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(29, 185, 84, 0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-radius: 0 0 2rem 2rem;
}

.drawer-slide {
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  transform: translateY(-100%);
}
.drawer-slide.open {
  transform: translateY(0);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 39;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}


/* ---------- BUTTONS ---------- */
.btn-primary {
  background: #1DB954;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.btn-primary:hover {
  background: #169C46;
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(29,185,84,0.4);
}
.btn-outline {
  transition: all 0.2s ease;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(29,185,84,0.1);
  transform: translateY(-2px);
}

/* ---------- CARDS (Services, Solutions, About, Portfolio, Testimonial, Resources, Careers, Contact) ---------- */
.card-service, .card-solution, .card-about, .card-portfolio, .card-testimonial, .card-resource, .card-careers, .card-contact {
  background: #181818;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  border: none;
}
.card-service:hover, .card-solution:hover, .card-about:hover, .card-portfolio:hover, .card-testimonial:hover, .card-resource:hover, .card-careers:hover, .card-contact:hover {
  background: #1F1F1F;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
.card-portfolio:hover {
  transform: translateY(-6px);
}
.card-testimonial:hover {
  transform: scale(1.02);
}

/* ---------- FORM INPUTS ---------- */
.form-input {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: white;
  transition: all 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: #1DB954;
  box-shadow: 0 0 0 2px rgba(29,185,84,0.2);
}
.form-input::placeholder {
  color: rgba(179, 179, 179, 0.6);
}

/* ---------- LOGO TEXT STYLING ---------- */
.logo-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #1DB954 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}
.logo-text:hover {
  background: linear-gradient(135deg, #1DB954 0%, #FFFFFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

/* ---------- SWIPER CUSTOMIZATION ---------- */
.testimonial-swiper {
  padding-bottom: 2rem;
  width: 100%;
}
.testimonial-swiper .swiper-pagination-bullet {
  background: #1DB954;
  opacity: 0.5;
}
.testimonial-swiper .swiper-pagination-bullet-active {
  background: #1DB954;
  opacity: 1;
  transform: scale(1.2);
}
.testimonial-swiper .swiper-slide {
  height: auto;
}

/* ---------- UTILITY CLASSES ---------- */
.animate-bounce {
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mobile-nav-open {
  overflow: hidden;
}
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
}
.hover-glow {
  transition: all 0.3s ease;
}
.hover-glow:hover {
  text-shadow: 0 0 8px rgba(29,185,84,0.6);
}


/* Portfolio Filter Buttons */
.filter-btn {
  background: rgba(24, 24, 24, 0.8);
  color: #B3B3B3;
  border: 1px solid rgba(29, 185, 84, 0.2);
  cursor: pointer;
}

.filter-btn:hover {
  background: rgba(29, 185, 84, 0.1);
  color: #1DB954;
  border-color: rgba(29, 185, 84, 0.4);
}

.filter-btn.active {
  background: #1DB954;
  color: #121212;
  border-color: #1DB954;
}

/* Portfolio item animations */
.portfolio-item {
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}


/* Resource Tabs */
.resource-tab {
  background: rgba(24, 24, 24, 0.8);
  color: #B3B3B3;
  border: 1px solid rgba(29, 185, 84, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.resource-tab:hover {
  background: rgba(29, 185, 84, 0.1);
  color: #1DB954;
  border-color: rgba(29, 185, 84, 0.4);
}

.resource-tab.active {
  background: #1DB954;
  color: #121212;
  border-color: #1DB954;
}

/* Resource Items Animation */
.resource-item {
  transition: all 0.3s ease;
  opacity: 1;
  transform: scale(1);
}


/* Smooth scroll offset for fixed header */
.scroll-mt-24 {
  scroll-margin-top: 100px;
}

@media (min-width: 768px) {
  .scroll-mt-24 {
    scroll-margin-top: 120px;
  }
}
