/* -------------------- RESET & VARIABLES -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0a0c0f;
  color: #f0f2f5;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* ---------- SMOKE CANVAS BACKGROUND ---------- */
#smoke-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

:root {
  --gradient-1: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-2: linear-gradient(135deg, #a78bfa, #f472b6);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --card-bg: rgba(18, 22, 28, 0.8);
  --surface: #151e2a;
}

/* -------------------- UTILITY CLASSES -------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-sub {
  font-size: 1.2rem;
  color: #9ca3af;
  max-width: 600px;
  margin-bottom: 3rem;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 8px 20px -8px #8b5cf6;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 12px 28px -6px #8b5cf6;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: white;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- NAVBAR -------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ---------- MOBILE NAVIGATION ---------- */
.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 12, 15, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  visibility: hidden; /* hide when not active */
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-header {
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-nav-close i {
  font-size: 1.8rem;
  color: white;
}

.mobile-nav-close:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  height: 100%;
  padding: 20px;
}

.mobile-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  padding: 12px 30px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-radius: 50px;
}

.mobile-link:hover,
.mobile-link:active {
  color: white;
  background: rgba(139, 92, 246, 0.2);
}

.mobile-cta {
  margin-top: 20px;
  width: 80%;
  max-width: 300px;
  padding: 15px 20px;
  font-size: 1.2rem;
}

/* Hide desktop nav on mobile, show hamburger */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none; /* completely remove from layout on desktop */
  }
}
/* -------------------- LOGO WITH ICON -------------------- */
/* -------------------- LOGO WITH CUSTOM IMAGE -------------------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 10px -3px rgba(139, 92, 246, 0.4);
  background: var(--gradient-1); /* fallback if image fails */
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

/* Adjust for mobile if needed */
@media (max-width: 768px) {
  .logo-icon {
    width: 32px;
    height: 32px;
  }
  .logo-text {
    font-size: 1.4rem;
  }
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  background: var(--gradient-1);
  padding: 10px 24px;
  border-radius: 40px;
  color: white;
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* -------------------- HERO -------------------- */
.hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at 70% 30%, rgba(139,92,246,0.15), transparent 60%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero .highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.2rem;
  color: #9ca3af;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-icons {
  display: flex;
  gap: 24px;
  font-size: 1.8rem;
  color: #6b7280;
}

.social-icons i {
  transition: all 0.2s;
  cursor: default;
  animation: float 3s infinite ease-in-out;
}

.social-icons i:nth-child(2) { animation-delay: 0.2s; }
.social-icons i:nth-child(3) { animation-delay: 0.4s; }
.social-icons i:nth-child(4) { animation-delay: 0.6s; }
.social-icons i:nth-child(5) { animation-delay: 0.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.dashboard-illu {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 30px 25px;
  box-shadow: 0 40px 80px -20px #00000080;
}

.chart-bar {
  display: flex;
  align-items: end;
  gap: 20px;
  height: 200px;
  margin-top: 30px;
}

.bar {
  flex: 1;
  background: linear-gradient(to top, #8b5cf6, #ec4899);
  border-radius: 20px 20px 8px 8px;
  height: calc(70% + 20px);
  min-height: 40px;
}

.bar:nth-child(2) { height: 140px; background: #8b5cf6; }
.bar:nth-child(3) { height: 180px; background: linear-gradient(to top, #a78bfa, #f472b6); }
.bar:nth-child(4) { height: 110px; background: #ec4899; }
.bar:nth-child(5) { height: 200px; }
.bar:nth-child(6) { height: 90px; }

/* -------------------- ABOUT -------------------- */
.about-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.platform-icons {
  display: flex;
  gap: 32px;
  font-size: 2rem;
  color: #6b7280;
  margin-top: 20px;
}

/* -------------------- SERVICES -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 32px 24px;
  transition: 0.2s;
}

.service-card i {
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #9ca3af;
  margin-bottom: 24px;
}

.learn-more {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Video wrapper for 16:9 aspect ratio */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* matches card's rounded corners */
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* -------------------- REEL CAROUSEL (refined minimal) -------------------- */
#reelCarousel {
  max-width: 380px; /* slightly narrower for elegant vertical presence */
  margin: 0 auto;
}

#reelCarousel .testimonial-slide {
  background: rgba(18, 22, 28, 0.5); /* very subtle glass – barely visible */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px; /* softer corners */
  padding: 8px;        /* small padding to separate video from edge */
  box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}

#reelCarousel .testimonial-slide.active {
  display: block;
}

/* Video wrapper inside reel */
.reel-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); /* subtle inner border */
}

.reel-wrapper video {
  display: block;
  width: 100%;
  height: auto;
}

/* Arrow styling – specific to reel carousel */
#reelCarousel .carousel-arrow {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 42px;
  height: 42px;
  font-size: 2.2rem;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5);
}

#reelCarousel .carousel-arrow:hover {
  background: rgba(139, 92, 246, 0.7);
  border-color: #8b5cf6;
  transform: translateY(-50%) scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  #reelCarousel {
    max-width: 300px;
  }
  #reelCarousel .testimonial-slide {
    padding: 5px;
  }
}
/* -------------------- TESTIMONIALS (carousel) -------------------- */
.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  background: var(--card-bg);
  border-radius: 36px;
  padding: 40px;
  border: 1px solid var(--glass-border);
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.client-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.client-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stars {
  color: #fbbf24;
  margin: 16px 0 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4b5563;
  cursor: pointer;
  transition: 0.2s;
}

.dot.active {
  background: #8b5cf6;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
  line-height: 1;
  padding-bottom: 4px;
}

.carousel-arrow:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 2rem;
  }
  .carousel-arrow.prev {
    left: 5px;
  }
  .carousel-arrow.next {
    right: 5px;
  }
}

/* -------------------- PRICING -------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: 36px;
  padding: 40px 30px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.popular {
  border: 2px solid #8b5cf6;
  transform: scale(1.02);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-1);
  padding: 6px 20px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.9rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 20px 0;
}

.price span {
  font-size: 1rem;
  color: #9ca3af;
}

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

.pricing-card li {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card i.fa-check {
  color: #8b5cf6;
}

/* -------------------- TEAM SECTION -------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.3);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: white;
  word-break: break-word;
}

.team-role {
  color: #9ca3af;
  margin-bottom: 16px;
  font-size: 1rem;
  word-break: break-word;
}

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

.team-social a {
  color: #9ca3af;
  font-size: 1.2rem;
  transition: color 0.2s;
  position: relative;
  z-index: 2;
}

.team-social a:hover {
  color: #8b5cf6;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- NEW TESTIMONIALS SECTION (grid) -------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonial-item {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.3);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-content {
  width: 100%;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote::before {
  content: "“";
  font-size: 1.5rem;
  color: #8b5cf6;
  margin-right: 4px;
}

.testimonial-quote::after {
  content: "”";
  font-size: 1.5rem;
  color: #8b5cf6;
  margin-left: 4px;
}

.testimonial-item h4 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: white;
}

.testimonial-role {
  font-size: 0.9rem;
  color: #9ca3af;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------- CONTACT -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-form {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form:hover {
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.2);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b5cf6;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 1;
}

.form-group.textarea-group i {
  top: 24px;
  transform: none;
}

input, textarea {
  width: 100%;
  padding: 16px 20px 16px 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid transparent;
  border-radius: 60px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

textarea {
  border-radius: 30px;
  resize: vertical;
  min-height: 120px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.4);
}

input:focus + i, textarea:focus + i {
  opacity: 1;
  color: #ec4899;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-top: 10px;
  border-radius: 60px;
  background: var(--gradient-1);
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -8px #8b5cf6;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -6px #8b5cf6;
}

.contact-info .instagram-line a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d1d5db;          /* matches other contact text */
  text-decoration: none;
  transition: color 0.2s;
}
/* Make email and phone lines clickable, with hover effect */
.contact-info p a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d1d5db;
  text-decoration: none;
  width: 100%;
  transition: color 0.2s;
}

.contact-info p a:hover {
  color: #8b5cf6;
}

.contact-info .instagram-line a:hover {
  color: #8b5cf6;           /* gradient start color on hover */
}

.contact-info .instagram-line i {
  font-size: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 32px;
  text-align: center;
}

.contact-info p {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: #d1d5db;
}

.contact-info i {
  font-size: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 32px;
  text-align: center;
}

/* ---------- 🔧 ULTIMATE FIX FOR TELEPHONE ICON ---------- */
.contact-info i.fa-phone-alt,
.contact-info .fa-phone-alt,
.contact-info i[class*="phone"],
.contact-info i[class*="Phone"] {
  transform: none !important;
  -webkit-transform: none !important;
  -moz-transform: none !important;
  -ms-transform: none !important;
  -o-transform: none !important;
}

.contact-info .social-links {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  justify-content: flex-start;
}

.contact-info .social-links a {
  color: #9ca3af;
  font-size: 1.8rem;
  transition: all 0.2s;
}

.contact-info .social-links a:hover {
  color: #8b5cf6;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-form, .contact-info {
    padding: 30px;
  }
}

/* -------------------- CONTACT FORM SUCCESS MESSAGE (IN PLACE) -------------------- */
.contact-form {
  position: relative;
  min-height: 500px;
}

.form-container {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-container.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.success-message i {
  font-size: 4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-message p {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.success-message .btn-outline {
  margin-top: 30px;
  pointer-events: auto;
  display: inline-block;
}

/* -------------------- CONTACT FORM SUCCESS MESSAGE (FLOATING) -------------------- */
.form-success {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  transform: translateX(400px);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-left: 4px solid #8b5cf6;
}

.form-success.show {
  transform: translateX(0);
}

.form-success h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.form-success p {
  color: #d1d5db;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .form-success {
    left: 20px;
    right: 20px;
    bottom: 20px;
    transform: translateY(200px);
  }
  .form-success.show {
    transform: translateY(0);
  }
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: #0b0f15;
  border-top: 1px solid rgba(139,92,246,0.2);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.newsletter input {
  padding: 12px 16px;
  border-radius: 60px;
  margin-top: 10px;
}

.copyright {
  text-align: center;
  margin-top: 60px;
  color: #6b7280;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .blog-grid, .case-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .portfolio-grid, .blog-grid, .case-grid { grid-template-columns: 1fr; }
}

/* -------------------- PREMIUM CURSOR EFFECT -------------------- */
/* .cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: white;
  box-shadow: 0 0 15px #8b5cf6, 0 0 30px rgba(139, 92, 246, 0.6);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2), transparent 80%);
  transition: width 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.2s ease,
              background 0.2s ease;
}

.cursor-outline.hover {
  width: 70px;
  height: 70px;
  border-color: #8b5cf6;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.4), transparent 80%);
}

@media (pointer: fine) {
  body {
    cursor: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-outline {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
} */

/* -------------------- TEAM MODAL -------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
  padding: 40px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #aaa;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  color: #8b5cf6;
}

.modal-body {
  text-align: center;
}

.modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--gradient-1);
  box-shadow: 0 15px 30px -8px rgba(139, 92, 246, 0.5);
}

.modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal-role {
  font-size: 1.2rem;
  color: #8b5cf6;
  margin-bottom: 20px;
  font-weight: 500;
}

.modal-bio {
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 25px;
}

.modal-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.modal-social a {
  color: #9ca3af;
  font-size: 1.8rem;
  transition: all 0.2s;
}

.modal-social a:hover {
  color: #8b5cf6;
  transform: translateY(-3px);
}

/* -------------------- SERVICE MODAL (added) -------------------- */
.modal-icon {
  font-size: 4rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.modal-description {
  font-size: 1.2rem;
  color: #8b5cf6;
  margin-bottom: 15px;
  font-weight: 500;
}

.modal-details {
  color: #d1d5db;
  line-height: 1.7;
}
/* ========== MOBILE-FIRST MODAL FIX (SERVICE + TEAM) ========== */

/* Disable glass-card hover effects on modal content (prevents transform shifts on tap) */
.modal-content.glass-card:hover {
  transform: none;
  box-shadow: 0 30px 60px -10px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
  /* Modal overlay */
  .modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  /* The popup card */
  .modal-content {
    width: 88%;
    max-width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    margin: auto;
    padding: 28px 20px 22px;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
  }

  .modal-body {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Icon */
  .modal-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    text-align: center;
    width: 100%;
  }

  /* Heading */
  .modal-body h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
    word-break: break-word;
    width: 100%;
  }

  /* Subtitle */
  .modal-description,
  .modal-role {
    font-size: 0.95rem;
    margin-bottom: 12px;
    width: 100%;
    word-break: break-word;
  }

  /* Body text */
  .modal-details,
  .modal-bio {
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
    width: 100%;
    word-break: break-word;
  }

  /* Team modal avatar */
  .modal-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
  }

  .modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Close button */
  .modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.8rem;
    line-height: 1;
    z-index: 10;
  }

  /* Social links in modal */
  .modal-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    width: 100%;
  }

  .modal-social a {
    font-size: 1.4rem;
  }
}

/* Extra small devices (≤380px) */
@media (max-width: 380px) {
  .modal-content {
    width: 92%;
    max-width: 300px;
    padding: 24px 16px 18px;
  }

  .modal-icon {
    font-size: 2rem;
  }

  .modal-body h2 {
    font-size: 1.25rem;
  }

  .modal-description,
  .modal-details,
  .modal-bio {
    font-size: 0.85rem;
  }
}
