:root {
  --primary: #4f46e5;
  --secondary: #ec4899;
  --bg-color: #0b0f19;
  --card-bg: rgba(255, 255, 255, 0.03);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-primary: 'Inter', sans-serif;
  --transition: all 0.3s ease-in-out;

  /* Bootstrap Overrides */
  --bs-primary: #4f46e5;
  --bs-primary-rgb: 79, 70, 229;
  --bs-body-color: #f3f4f6;
  --bs-body-bg: #0b0f19;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons */
.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
  color: #fff;
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

/* Navbar */
.navbar {
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff !important;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: #fff !important;
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

/* Dropdown */
.dropdown-menu {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-item {
  color: var(--text-muted);
  border-radius: 6px;
  padding: 8px 15px;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Dropdown Submenu hover fix */
.dropdown:hover>.dropdown-menu {
  display: block;
  animation: fadeUp 0.3s ease forwards;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: url('../img/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -5px;
  background: linear-gradient(to bottom, rgba(11, 15, 25, 0.4), rgba(11, 15, 25, 1));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

/* Hero Image & Decorations */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 0 30px rgba(79, 70, 229, 0.3));
  animation: float 6s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.glass-info-card {
  position: absolute;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  z-index: 10;
  transition: var(--transition);
}

.glass-info-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.glass-info-card.top-right {
  top: 10%;
  right: -5%;
}

.glass-info-card.bottom-left {
  bottom: 15%;
  left: -5%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Cards & Services */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.feature-card h4 {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
}

.feature-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* About Section */
.about-section {
  padding: 100px 0;
  position: relative;
}

.image-glow {
  position: relative;
}

.image-glow::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.3;
}

.about-img {
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  background: #06090e;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
}

.footer-text {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  margin-right: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2rem;
  }

  .navbar {
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
  }

  .navbar-toggler {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* Clients Logo Slider */
.clients-slider-wrapper {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientsScroll 30s linear infinite;
  gap: 10px;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 110px;
  padding: 20px;
  background: transparent;
  border: none;
  transition: var(--transition);
  cursor: default;
}

.client-logo-item img {
  max-width: 240px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.35;
  filter: brightness(1.2);
  mix-blend-mode: screen;
  transition: all 0.4s ease;
}

.client-logo-item:hover {
  transform: translateY(-8px);
}

.client-logo-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes clientsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Creative Agency (Home 2) Styles */
.hero-creative {
  background-image: url('../img/hero_bg_2.png');
}

.hero-tech {
  background-image: url('../img/hero_bg_3.png');
}

.hero-about {
  min-height: 55vh;
  background-image: linear-gradient(rgba(11, 15, 25, 0.65), rgba(11, 15, 25, 0.9)), url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-gallery {
  min-height: 50vh;
  background-image: url('../img/gallery_hero_bg.png');
}

.hero-pricing {
  min-height: 50vh;
  background-image: url('../img/pricing_hero_bg.png');
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 50px 40px;
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.pricing-card.popular {
  border-color: #f59e0b;
  /* Golden Border */
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(0, 0, 0, 0));
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.1);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f59e0b;
  color: #000;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.pricing-list li {
  margin-bottom: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.pricing-list li i {
  color: var(--primary);
  margin-right: 12px;
}

.pricing-list li.disabled {
  opacity: 0.5;
  text-decoration: line-through;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  transform: translateY(20px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 15px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-card img {
  transition: all 0.6s ease;
  width: 100%;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 2;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.2;
  text-transform: uppercase;
  letter-spacing: 5px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Utility Overrides & Custom Helpers */
.text-muted {
  color: var(--text-muted) !important;
}

.hover-white:hover {
  color: #fff !important;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

/* --- Blog Section --- */
.blog-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-meta i {
  color: var(--primary);
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* --- Team Section --- */
.team-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: center;
  padding-bottom: 30px;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
}

.team-image-wrapper {
  position: relative;
  margin: 30px auto 20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 8px;
  background: var(--primary-gradient);
}

.team-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0b0f19;
}

.team-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.team-info p {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-social a:hover {
  background: var(--primary-gradient);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

/* --- FAQ Section --- */
.faq-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px !important;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: #fff;
  padding: 25px 30px;
  font-weight: 600;
  box-shadow: none;
  font-size: 1.1rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.03);
}

.faq-accordion .accordion-button::after {
  filter: invert(1);
}

.faq-accordion .accordion-body {
  padding: 0 30px 30px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-accordion .accordion-item:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.04);
}

/* --- Pagination --- */
.pagination-custom .page-link {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.pagination-custom .page-link:hover,
.pagination-custom .page-item.active .page-link {
  background: var(--primary-gradient);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

/* --- Blog Single --- */
.blog-single-content {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.blog-single-content h2,
.blog-single-content h3 {
  color: #fff;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-single-content blockquote {
  background: rgba(124, 58, 237, 0.05);
  border-left: 4px solid var(--primary);
  padding: 30px;
  border-radius: 0 20px 20px 0;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #eee;
}

.sidebar-widget {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.search-box {
  position: relative;
}

.search-box input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 12px 20px;
  padding-right: 45px;
  width: 100%;
}

.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.1);
}

/* Glass Social Icons */
.social-icon-glass {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-icon-glass:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

/* --- Progress Bars (About Section) --- */
.progress-container {
  margin-bottom: 25px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.progress-custom {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-gradient {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 10px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.1, 0, 0.2, 1);
}

.progress-bar-gradient::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translate(50%, -50%);

  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}



/* --- Lightbox / Gallery Box Premium Styles --- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  padding: 40px 10px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 9, 14, 0.98), #000);
  backdrop-filter: blur(25px);
  animation: lightboxFadeIn 0.35s cubic-bezier(0.1, 0, 0.2, 1);
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9), 0 0 40px rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: lightboxZoomIn 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1000;
  font-size: 1.6rem;
}

.lightbox-nav-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  transform: translateY(-50%) scale(1.15) rotate(0deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.btn-prev {
  left: 40px;
}

.btn-next {
  right: 40px;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s ease;
  z-index: 1001;
  font-size: 22px;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg) scale(1.1);
  color: var(--secondary);
}

.lightbox-info {
  margin-top: 40px;
  text-align: center;
  max-width: 850px;
  animation: lightboxFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff 20%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lightbox-counter {
  color: #6366f1;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.6;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.9) translateY(40px);
    opacity: 0;
  }

  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes lightboxFadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .lightbox-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .btn-prev {
    left: 20px;
  }

  .btn-next {
    right: 20px;
  }

  .lightbox-close {
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
  }

  .lightbox-caption {
    font-size: 1.8rem;
  }
}