/* ============================================
   HOME PAGE STYLES - Elias Unlimited
   Modern, Bold, Impressive
   ============================================ */

/* ============================================
   TEXT GRADIENT
   ============================================ */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated gradient shimmer effect */
.text-gradient-animated {
  background: linear-gradient(90deg, #0066ff 0%, #00d4ff 50%, #0066ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shimmer 3s ease-in-out infinite;
}

@keyframes gradient-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-gradient-animated {
    animation: none;
  }
}

/* ============================================
   NAVIGATION ENHANCEMENTS
   ============================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.125rem 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.nav-header.scrolled {
  padding: 0.875rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo-image {
  height: 54px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-image {
    height: 40px;
    max-width: 150px;
  }
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg-slate);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.0625rem;
  color: #1a1a1a;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  position: relative;
}

/* Animated underline effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  height: 48px;
  line-height: 48px;
  border-radius: 24px;
  margin-left: auto;
  letter-spacing: 0.01em;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Active States */
.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* Hide mobile CTA on desktop */
.mobile-cta {
  display: none;
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
  .nav-header {
    padding: 1rem 0;
  }

  .nav {
    padding: 0 var(--space-4);
  }

  /* Full-screen mobile menu */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Hide back to top button when menu is open */
  .nav-links.active ~ .back-to-top,
  body:has(.nav-links.active) .back-to-top {
    display: none !important;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    list-style: none;
    width: 100%;
  }

  .nav-links > li > a {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: #ffffff;
    padding: 16px 0 12px 0;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    letter-spacing: -0.01em;
  }

  /* Remove border from Contact (before CTA) and last item */
  .nav-links > li:nth-last-child(2) > a,
  .nav-links > li:last-child > a {
    border-bottom: none;
  }

  /* Style dropdown arrow on mobile */
  .nav-dropdown-trigger svg {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  /* Mobile dropdown menu */
  .nav-dropdown-menu {
    display: none !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .nav-dropdown.mobile-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
  }

  .nav-dropdown.mobile-open .nav-dropdown-trigger svg {
    transform: rotate(180deg);
  }

  .nav-dropdown-menu .dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 14px 20px !important;
    border-bottom: none !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .nav-dropdown-menu .dropdown-item strong {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    -webkit-text-fill-color: rgba(255,255,255,0.7) !important;
    background: none !important;
  }

  .nav-dropdown-menu .dropdown-item:hover strong,
  .nav-dropdown-menu .dropdown-item:active strong {
    color: #00d4ff !important;
    -webkit-text-fill-color: #00d4ff !important;
  }

  /* Hide Book a Call button on mobile header */
  .btn-nav {
    display: none !important;
  }

  /* Show mobile CTA button in menu */
  .mobile-cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: none;
    border-bottom: none !important;
  }

  .mobile-cta::before,
  .mobile-cta::after {
    display: none !important;
  }

  li.mobile-cta a.btn.btn-primary {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 18px 32px !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 50px !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
  }

  li.mobile-cta a.btn.btn-primary:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%) !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #fff !important;
    background-clip: unset !important;
    color: #fff !important;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4) !important;
    text-decoration: none !important;
    text-decoration-color: transparent !important;
  }

  /* Mobile menu item hover effects - exact same gradient as desktop */
  .nav-links > li:not(.mobile-cta) > a:hover {
    background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-decoration: none !important;
  }

  /* Show hamburger */
  .nav-mobile-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
    z-index: 1000;
  }
}

/* ============================================
   HERO SECTION - State of the Art
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-cream);
  padding-top: 100px;
}

/* Star field container */
.hero-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.star-container {
  position: absolute;
  animation: star-drift linear infinite;
  animation-duration: var(--drift-duration);
  animation-delay: var(--drift-delay);
}

.hero-star {
  width: inherit;
  height: inherit;
  background: var(--star-color);
  border-radius: 50%;
  animation: twinkle linear infinite;
  animation-duration: var(--twinkle-duration);
  animation-delay: var(--twinkle-delay);
  transform: translateZ(0);
}

@keyframes star-drift {
  0% {
    transform: translateY(110vh) translateZ(0);
  }
  100% {
    transform: translateY(-10vh) translateZ(0);
  }
}

@keyframes twinkle {
  0%, 80%, 100% {
    opacity: 0.7;
    box-shadow: 0 0 0 white, 0 0 0 white;
  }
  95% {
    opacity: 1;
    box-shadow: 0 0 2px white, 0 0 4px white;
  }
}

/* Hero container */
.hero-container {
  max-width: 1300px;
  width: 100%;
  padding: 0 var(--space-8);
  margin: 0 auto;
}

/* Minimal centered hero */
.hero-minimal .hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-centered {
  text-align: center;
  max-width: 900px;
}

.hero-centered .hero-description {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.hero-centered .hero-cta {
  justify-content: center;
}

/* Hero grid layout (for two-column) */
.hero-container.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1300px;
  width: 100%;
  padding: 0 var(--space-8);
  text-align: left;
}

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

/* Badge */
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Title */
.hero-title {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
}

.title-gradient {
  background: linear-gradient(135deg, #0066ff, #00d4ff, #0099ff, #00d4ff, #0066ff);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Description */
.hero-description {
  font-size: 1.75rem;
  color: var(--muted-fg);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.5;
}

/* Rotating text animation */
.hero-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.rotating-text-wrapper {
  display: block;
  height: 1.5em;
  overflow: hidden;
  text-align: center;
}

.rotating-text {
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.rotating-word {
  display: block;
  height: 1.5em;
  line-height: 1.5;
  font-weight: 600;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.hero-tagline {
  display: block;
  color: var(--muted-fg);
}

/* Staggered entrance animations */
.title-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-slide-up 0.8s ease forwards;
}

.hero-title .title-animate:nth-child(1) {
  animation-delay: 0.1s;
}

.hero-title .title-animate:nth-child(2) {
  animation-delay: 0.25s;
}

.hero-title .title-animate:nth-child(3) {
  animation-delay: 0.4s;
}

.hero-description.title-animate {
  animation-delay: 0.6s;
}

.hero-cta.title-animate {
  animation-delay: 0.8s;
}

@keyframes fade-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Buttons - Side by side */
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Social proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-proof-text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 500;
}

.hero-proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.proof-avatar:first-child {
  margin-left: 0;
}

/* Hero visual - Right side */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-showcase {
  position: relative;
}

.showcase-frame {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.showcase-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.showcase-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3a3a3a;
}

.showcase-header span:nth-child(1) { background: #ff5f57; }
.showcase-header span:nth-child(2) { background: #ffbd2e; }
.showcase-header span:nth-child(3) { background: #28ca41; }

.showcase-content {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.showcase-frame:hover .showcase-overlay {
  opacity: 1;
}

.showcase-play {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #1a1a1a;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.showcase-play:hover {
  transform: scale(1.1);
}

.showcase-label {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-fg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.5;
    transform: scaleY(0.6);
  }
}

/* Responsive - Hero */
@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(3.25rem, 13vw, 4.5rem);
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: 2rem;
  }

  .hero-tagline {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
  }
}

/* ============================================
   TRUSTED BY SECTION - Marquee Banner
   ============================================ */
.trusted-section {
  background: #0a0a0f;
  position: relative;
  overflow: hidden;
  padding: var(--space-12) 0;
  border: none;
}

/* Subtle gradient glow accents */
.trusted-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.trusted-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.trusted-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0 auto var(--space-6);
}

.trusted-marquee {
  overflow: hidden;
}

.trusted-track {
  display: flex;
  width: max-content;
  animation: trusted-scroll 20s linear infinite;
}

@keyframes trusted-scroll {
  to {
    transform: translateX(-25%);
  }
}

.trusted-content {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: 0 var(--space-4);
}

.trusted-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-6);
  background: #fff;
  border-radius: var(--radius-lg);
  min-width: 160px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.08);
}


.trusted-item img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}



/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: #0a0a0f;
  padding: var(--space-16) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.testimonial-text {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-text .word {
  display: inline-block;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--word-delay, 0ms);
}

.testimonial-card:hover .testimonial-text .word {
  color: var(--word-color);
  transform: translateY(-1px);
}

.testimonial-author {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ============================================
   MINIMAL FOOTER
   ============================================ */
.footer-minimal {
  background: #0a0a0f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-6) 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-minimal .footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-links-inline {
  display: flex;
  gap: var(--space-6);
}

.footer-links-inline a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-inline a:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .footer-row {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--bg-white);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--muted-fg);
  max-width: 600px;
}

.section-header.text-center .section-description {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: var(--accent-gradient);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.service-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-description {
  font-size: var(--text-base);
  color: var(--muted-fg);
  margin-bottom: var(--space-6);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--accent-blue);
  transition: all 0.3s ease;
  position: relative;
}

.service-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.service-link:hover {
  gap: var(--space-3);
  color: #0066ff;
}

.service-link:hover::after {
  width: 100%;
}

/* ============================================
   WORK / PORTFOLIO SECTION
   ============================================ */
.work-section {
  background: var(--bg-cream);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.work-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--fg-slate);
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: scale(1.02);
}

.work-item-featured {
  grid-column: span 2;
}

.work-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-item-featured .work-image {
  aspect-ratio: 21/9;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
  transform: scale(1.05);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-category {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.work-content {
  padding: var(--space-6);
  background: var(--bg-white);
}

.work-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.work-content p {
  font-size: var(--text-base);
  color: var(--muted-fg);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.testimonial-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all 0.3s ease;
}


.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--pop-yellow);
  font-size: 1.25rem;
}

.testimonial-quote {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--fg-slate);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--fg-slate);
}

.author-title {
  font-size: var(--text-sm);
  color: var(--muted-fg);
}

/* ============================================
   SCHOOL WEB SOLUTIONS SECTION
   ============================================ */
.school-section {
  background: var(--bg-subtle);
}

.school-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-card);
}

.school-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.school-description {
  font-size: var(--text-lg);
  color: var(--muted-fg);
  margin-bottom: var(--space-6);
}

.school-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.school-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 500;
  color: var(--fg-slate);
}

.school-features svg {
  color: var(--pop-mint);
  flex-shrink: 0;
}

.school-preview {
  display: flex;
  justify-content: center;
}

.preview-placeholder {
  text-align: center;
}

.preview-mockup {
  width: 100%;
  max-width: 400px;
  background: var(--fg-slate);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mockup-header {
  display: flex;
  gap: 6px;
  padding: var(--space-3) var(--space-4);
  background: #2a2a2a;
}

.mockup-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a4a4a;
}

.mockup-header span:first-child { background: #ff5f57; }
.mockup-header span:nth-child(2) { background: #ffbd2e; }
.mockup-header span:nth-child(3) { background: #28ca41; }

.mockup-content {
  padding: var(--space-4);
  background: #1a1a1a;
  min-height: 250px;
}

.mockup-nav {
  height: 20px;
  background: #2a2a2a;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.mockup-hero {
  height: 80px;
  background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.mockup-grid div {
  height: 60px;
  background: #2a2a2a;
  border-radius: var(--radius-sm);
}

.preview-label {
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--muted-fg);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  background: var(--fg-slate);
  overflow: hidden;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 128, 255, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: var(--space-4);
}

.cta-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-8);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--fg-slate);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: white;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  transition: width 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .school-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .school-features {
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-items: center;
  }
}

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

  .work-item-featured {
    grid-column: span 1;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .school-card {
    padding: var(--space-8);
  }
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge-mint {
  background: var(--pop-mint);
  color: var(--fg-slate);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .title-animate,
  .hero-content > *,
  .hero-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .title-gradient {
    animation: none !important;
  }

  .rotating-text {
    animation: none !important;
  }

  .trusted-track {
    animation: none;
  }
}

/* ============================================
   NAVIGATION DROPDOWN
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 320px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: background 0.2s ease;
  color: #1a1a1a;
}

.dropdown-item:hover {
  background: rgba(0, 102, 255, 0.06);
}

.dropdown-item:hover strong {
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dropdown-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* Keep dropdown icons from changing color on hover */
.dropdown-item:hover .dropdown-icon {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: inherit !important;
  background-clip: unset !important;
}

.dropdown-item strong {
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}




/* ============================================
   SERVICES PREVIEW - Simple Grid
   ============================================ */
.services-preview {
  padding: var(--space-16) 0;
}

.services-grid-simple {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-6);
}

.service-card-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  color: var(--fg-slate);
}

.service-card-simple:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
}

.service-icon-simple {
  font-size: 2.5rem;
  line-height: 1;
}

.service-card-simple h3 {
  font-size: var(--text-base);
  font-weight: 600;
}

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

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

  .nav-dropdown-menu {
    display: none;
  }
}

/* ============================================
   GHOST BUTTON FOR DARK MODE
   ============================================ */
.btn-ghost {
  background: transparent;
  border: 2px solid transparent;
  color: #fff;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Gradient border effect using pseudo-element */
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  padding: 2px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.4), rgba(0, 212, 255, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all 0.3s ease;
}

.btn-ghost:hover::before {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
}

.btn-ghost:hover {
  background: rgba(0, 102, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

/* Ensure hero buttons are same height */
.hero-cta .btn {
  min-height: 56px;
  box-sizing: border-box;
}

.hero-cta .btn-primary {
  border: none;
}

/* Mobile hero buttons - more padding for better tap targets */
@media (max-width: 768px) {
  .hero-cta .btn {
    min-height: 60px;
    padding: 18px 32px;
    font-size: 1.1rem;
  }
}

/* ============================================
   FOOTER SIMPLE
   ============================================ */
.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
  padding: var(--space-12) 0;
}

.footer-links-simple {
  display: flex;
  gap: var(--space-8);
}

.footer-links-simple a {
  color: var(--muted-fg);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links-simple a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer-links-simple a:hover {
  color: var(--accent-cyan);
}

.footer-links-simple a:hover::after {
  width: 100%;
}

.footer-contact {
  display: flex;
  gap: var(--space-6);
}

.footer-contact a {
  color: var(--muted-fg);
  font-size: var(--text-sm);
  transition: all 0.3s ease;
  position: relative;
}

.footer-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
  transition: width 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-cyan);
}

.footer-contact a:hover::after {
  width: 100%;
}

.footer-copyright {
  color: var(--muted-fg);
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .footer-links-simple,
  .footer-contact {
    flex-direction: column;
    gap: var(--space-3);
  }
}

/* ============================================
   CTA SECTION DARK
   ============================================ */
.cta-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
}

.cta-description {
  color: var(--muted-fg);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}
