/* ------------------------------------------------------------
   Dark Gray Portfolio Theme — Modern, Blue Accents, Animations
   Includes: hero fade/slide, glowing buttons/inputs, 
   reveal-on-scroll, smooth client slider
   ------------------------------------------------------------ */

:root {
  --bg: #121316;
  --card: #18191b;
  --muted: #9aa3ad;
  --text: #e7eef6;
  --accent: #2e8bff;
  --accent-2: #3399ff;
  --glass: rgba(255,255,255,0.03);
  --radius: 10px;
  --transition: 240ms cubic-bezier(.2,.9,.3,1);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body.site-bg {
  font-family: "Inter", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* NAVBAR */
.navbar.glass {
  background: linear-gradient(180deg, rgba(22,23,25,0.85), rgba(12,12,14,0.7));
  border-bottom: 1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(4px);
}
.navbar .nav-link { color: var(--muted); transition: color var(--transition); }
.navbar .nav-link:hover { color: var(--text); }
.navbar .navbar-brand { color: var(--text); }

/* HERO */
.hero-area {
  position: relative;
  padding: 80px 0;
  background-image: url('/uploads/1760047845_Screenshot2025-10-03225432.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset:0;
  background: linear-gradient(270deg, rgba(8,9,11,0.6), rgba(46,139,255,0.1), rgba(6,7,9,0.8));
  background-size: 400% 100%;
  animation: shimmer 15s linear infinite;
  z-index: 0;
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.hero-content.in-view { transform: none; opacity: 1; }
.hero-content h1,
.hero-content p,
.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.hero-content.in-view h1 { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.hero-content.in-view p { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.hero-content.in-view .btn { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Section Titles */
.section-title {
  font-size: 1.6rem;
  text-align: center;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.2px;
}

/* Cards */
.card.card-dark {
  background: linear-gradient(180deg, var(--card), rgba(20,20,22,0.6));
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.card.card-dark img { height: 220px; object-fit: cover; width: 100%; display: block; }
.card.card-dark .card-body { padding: 16px; }

/* Hover lift */
.hover-card { transform: translateY(0); opacity: 0; transition: transform 400ms cubic-bezier(.2,.9,.3,1), opacity 300ms ease; }
.hover-card.in-view { transform: translateY(0); opacity: 1; }
.reveal-card { transform: translateY(14px) scale(.995); opacity: 0; transition: transform 480ms cubic-bezier(.2,.9,.3,1), opacity 360ms ease; }
.reveal-card.in-view { transform: none; opacity: 1; }

/* Buttons */
.btn-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
  box-shadow: 0 6px 24px rgba(46,139,255,0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  border-radius: 8px;
}
.btn-accent:hover, .btn-accent:focus {
  transform: translateY(-3px);
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent-2);
}
.btn-outline-light:hover {
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* Forms / Inputs */
.form-control.form-dark {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 14px;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.form-control.form-dark:focus {
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(46,139,255,0.2);
  border-color: var(--accent);
  outline: none;
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

/* Clients Slider */
.clients-section {
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.clients-slider {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  align-items: center;
  will-change: transform;
}

.client-name {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #b5b5b5;
  transition: color 0.3s ease;
}

/* Only the center (focused) item glows */
.client-item.focused {
  transform: scale(1.35);
  opacity: 1;
}
.client-item.focused img {
  box-shadow: 0 0 25px rgba(124,58,237,0.7), 0 0 50px rgba(124,58,237,0.4);
}
.client-item.focused .client-name {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(124,58,237,0.8);
}


.client-item {
  transition: transform 0.4s ease, opacity 0.4s ease;
  flex-shrink: 0;
  width: 120px;
  text-align: center;
}

.client-item img {
  width: 100%;
  border-radius: 50%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.client-item:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255,255,255,0.25);
}

/* Gradient fade edges */
.clients-fade-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(17,17,17,1) 0%, 
    rgba(17,17,17,0) 10%, 
    rgba(17,17,17,0) 90%, 
    rgba(17,17,17,1) 100%
  );
  z-index: 5;
}





.category {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.button {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.button:hover {
  background: #3399ff;
}

#reviews {
  position: relative;
  overflow: hidden;
}

#reviewsCarousel .card {
  background: rgba(25, 25, 25, 0.85);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

#reviewsCarousel .carousel-inner {
  padding-bottom: 1rem;
}


.review-card {
  background: rgba(25, 25, 25, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  color: #ddd;
  transition: all 0.4s ease;
}

.review-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
}

.review-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #ccc;
}

.rating i {
  font-size: 1.1rem;
  margin: 0 2px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100%);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  opacity: 0.8;
}


/* Footer */
footer { border-top: 1px solid rgba(255,255,255,0.03); background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.05)); color: var(--muted); }

/* Reveal on Scroll */
.reveal { transform: translateY(14px); opacity: 0; transition: transform 520ms cubic-bezier(.2,.9,.3,1), opacity 420ms ease; }
.reveal.in-view { transform: none; opacity: 1; }

/* Stagger cards for nice effect */
.reveal-card:nth-child(1){ transition-delay: 0.05s; }
.reveal-card:nth-child(2){ transition-delay: 0.1s; }
.reveal-card:nth-child(3){ transition-delay: 0.15s; }
.reveal-card:nth-child(4){ transition-delay: 0.2s; }
.reveal-card:nth-child(5){ transition-delay: 0.25s; }
.reveal-card:nth-child(6){ transition-delay: 0.3s; }

/* Text utilities */
.text-muted { color: var(--muted) !important; }
.lead.text-muted { color: #b9c4d1; }

/* Responsive tweaks */
@media (max-width: 992px) {
  .card.card-dark img { height: 180px; }
  .hero-area { padding: 56px 0; }
  .hero-content { padding: 28px 10px; }
}
@media (max-width: 576px) {
  .card.card-dark img { height: 150px; }
  .clients-slider { gap: 12px; }
  .client-item { min-width: 120px; max-width: 120px; padding: 10px; }
}
