/* Custom Tailwind CSS Configuration for SRIT Creations */
/* Design System: Elegant × Intelligent × Cool × Eye-Friendly */

/* Color Palette - Softer, Techy, Eye-Friendly */
:root {
  /* Background Colors - Softer, Less Harsh */
  --color-rich-black: #1a1f2e;
  --color-slate-glass: #232938;

  /* Primary & Secondary Colors - Logo Inspired */
  --color-royal-blue: #8B5CF6;
  --color-teal-neon: #06B6D4;

  /* Text Colors - Better Contrast, Easier on Eyes */
  --color-soft-white: #F1F5F9;
  --color-gray-400: #94A3B8;
  --color-gray-600: #64748B;

  /* Glass Morphism - Softer Glass Effect */
  --glass-bg: rgba(35, 41, 56, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);

  /* Gradients - Purple to Teal (Logo Colors) */
  --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
  --gradient-secondary: linear-gradient(135deg, #1a1f2e 0%, #232938 100%);
  --gradient-hero: linear-gradient(135deg, #1a1f2e 0%, #8B5CF6 50%, #06B6D4 100%);
}

/* Enhanced Mobile-First Responsive Design */
/* Preserves desktop design while optimizing mobile experience */

/* Responsive Container System */
.container-responsive {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-responsive {
    max-width: 640px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .container-responsive {
    max-width: 768px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-responsive {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container-responsive {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container-responsive {
    max-width: 1440px;
  }
}

/* Enhanced Responsive Typography */
.text-responsive-hero {
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.1;
}

.text-responsive-h1 {
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  line-height: 1.2;
}

.text-responsive-h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  line-height: 1.3;
}

.text-responsive-h3 {
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.3;
}

.text-responsive-body {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.6;
}

.text-responsive-caption {
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.5;
}

/* Enhanced Grid System */
.grid-responsive {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-responsive {
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-responsive {
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid-responsive {
    gap: 2.5rem;
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive Card System */
.card-responsive {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .card-responsive {
    padding: 2rem;
    border-radius: 1rem;
  }
}

@media (min-width: 1024px) {
  .card-responsive {
    padding: 2.5rem;
    border-radius: 1.25rem;
  }
}

.card-responsive:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 245, 160, 0.15);
}

/* Mobile-Optimized Buttons */
.btn-responsive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 44px;
  text-decoration: none;
}

@media (min-width: 640px) {
  .btn-responsive {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    min-height: 48px;
  }
}

@media (min-width: 1024px) {
  .btn-responsive {
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    min-height: 52px;
  }
}

/* Enhanced Section Spacing */
.section-responsive {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-responsive {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 768px) {
  .section-responsive {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-responsive {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1280px) {
  .section-responsive {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* Glass Morphism Effects */
.glass-morphism {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: rgba(18, 20, 24, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* Color Utilities */
.bg-rich-black {
  background-color: var(--color-rich-black);
}

.bg-slate-glass {
  background-color: var(--color-slate-glass);
}

.bg-royal-blue {
  background-color: var(--color-royal-blue);
}

.bg-teal-neon {
  background-color: var(--color-teal-neon);
}

.text-royal-blue {
  color: var(--color-royal-blue);
}

.text-teal-neon {
  color: var(--color-teal-neon);
}

.text-soft-white {
  color: var(--color-soft-white);
}

/* Gradient Utilities */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.bg-gradient-hero {
  background: var(--gradient-hero);
}

/* Button Styles */
.btn-primary {
  @apply px-8 py-4 rounded-2xl text-white font-semibold transition-all duration-300;
  background: var(--gradient-primary);
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 115, 232, 0.6);
}

.btn-secondary {
  @apply px-6 py-3 rounded-xl border-2 border-royal-blue text-royal-blue font-medium transition-all duration-300;
  background: transparent;
}

.btn-secondary:hover {
  @apply bg-royal-blue text-white;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* Card Styles */
.card-hover {
  @apply transition-all duration-300;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Typography Responsive Classes */
.text-responsive-xs {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

.text-responsive-sm {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.text-responsive-base {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.text-responsive-lg {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
}

.text-responsive-xl {
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
}

.text-responsive-2xl {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.text-responsive-3xl {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
}

.text-responsive-4xl {
  font-size: clamp(2.25rem, 6vw, 3rem);
}

.text-responsive-5xl {
  font-size: clamp(3rem, 7vw, 4rem);
}

.text-responsive-6xl {
  font-size: clamp(3.75rem, 8vw, 5rem);
}

/* Mobile-First Container */
.container-mobile {
  @apply px-4 mx-auto;
  max-width: 100%;
}

@media (min-width: 640px) {
  .container-mobile {
    @apply px-6;
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container-mobile {
    @apply px-8;
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container-mobile {
    @apply px-10;
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container-mobile {
    @apply px-12;
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container-mobile {
    max-width: 1440px;
  }
}

/* Responsive Grid System */
.responsive-grid {
  @apply grid gap-4;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .responsive-grid {
    grid-template-columns: repeat(2, 1fr);
    @apply gap-6;
  }
}

@media (min-width: 1024px) {
  .responsive-grid {
    grid-template-columns: repeat(3, 1fr);
    @apply gap-8;
  }
}

/* Neural Network Animation - Enhanced with Larger Tech Text */
.neural-network-bg {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  animation: neural-pulse 6s ease-in-out infinite;
}

/* Enhanced Neural Network Animation */
.neural-network-animation {
  background: linear-gradient(135deg, #1a1f2e 0%, #232938 50%, #1a1f2e 100%);
  position: relative;
  overflow: hidden;
}

.neural-network-animation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

/* 3D Spider Web Canvas */
.spider-web-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Animated Tech Text Container */
.animated-tech-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Enhanced Tech Text with Smooth Sequential Animation */
.tech-text-item {
  position: absolute;
  color: rgba(6, 182, 212, 0.9);
  font-family: 'Courier New', monospace;
  font-size: 14px;
  /* Starting size */
  font-weight: 700;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
  white-space: nowrap;
  user-select: none;
  transform-origin: center;
  animation: smoothAppear 6s ease-in-out forwards;
}

.tech-text-item:nth-child(2n) {
  color: rgba(139, 92, 246, 0.9);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  animation-duration: 6.5s;
}

.tech-text-item:nth-child(3n) {
  color: rgba(168, 85, 247, 0.9);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  animation-duration: 5.5s;
}

.tech-text-item:nth-child(4n) {
  animation-duration: 7s;
  font-weight: 800;
}

.tech-text-item:nth-child(5n) {
  animation-duration: 5s;
  font-weight: 800;
  text-shadow: 0 0 15px currentColor;
}

/* Smooth Sequential Animation: Small → Medium → Small → Hide */
@keyframes smoothAppear {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  25% {
    transform: scale(0.8);
    opacity: 0.7;
    font-size: 16px;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
    font-size: 20px;
  }

  75% {
    transform: scale(0.9);
    opacity: 0.8;
    font-size: 16px;
  }

  100% {
    transform: scale(0.2);
    opacity: 0;
    font-size: 10px;
  }
}

/* Mobile responsive animation */
@media (max-width: 768px) {
  .tech-text-item {
    animation: smoothAppearMobile 5s ease-in-out forwards;
    font-size: 12px;
  }

  @keyframes smoothAppearMobile {
    0% {
      transform: scale(0.4);
      opacity: 0;
    }

    30% {
      transform: scale(0.9);
      opacity: 0.8;
      font-size: 14px;
    }

    60% {
      transform: scale(1.1);
      opacity: 1;
      font-size: 16px;
    }

    85% {
      transform: scale(0.8);
      opacity: 0.6;
      font-size: 12px;
    }

    100% {
      transform: scale(0.3);
      opacity: 0;
      font-size: 8px;
    }
  }
}

/* Neural Node Animation */
.neural-node {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(6, 182, 212, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  animation: nodeGlow 3s ease-in-out infinite alternate;
}

.neural-node:nth-child(2n) {
  background: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  animation-duration: 4s;
}

.neural-node:nth-child(3n) {
  background: rgba(168, 85, 247, 0.8);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  animation-duration: 2.5s;
}

@keyframes nodeGlow {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.5);
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* AI Glow Effects */
.ai-glow {
  position: relative;
}

.ai-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-glow:hover::before {
  opacity: 0.3;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.skeleton {
  background: linear-gradient(90deg,
      rgba(18, 20, 24, 0.4) 25%,
      rgba(26, 115, 232, 0.1) 50%,
      rgba(18, 20, 24, 0.4) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
  .touch-target {
    min-height: 44px;
    min-width: 44px;
  }

  .btn-primary,
  .btn-secondary {
    @apply px-6 py-4;
    min-height: 48px;
  }
}

/* Focus States for Accessibility */
.focus-ring:focus {
  @apply outline-none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.5);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-slate-glass);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-royal-blue);
}

/* Mobile Navigation Enhancements */
@media (max-width: 1023px) {
  #mobile-menu {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .mobile-menu-item {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
  }
}

/* Enhanced Touch Interactions */
@media (hover: none) and (pointer: coarse) {
  .touch-optimize {
    min-height: 48px;
    min-width: 48px;
  }

  /* Enhanced glass morphism for mobile */
  .glass-morphism {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* Better active states for touch */
  .card-hover:active {
    transform: scale(0.98);
  }
}

/* Mobile Content Optimization */
@media (max-width: 767px) {
  body {
    font-size: 16px;
    /* Prevent zoom on iOS */
  }

  .hero-mobile {
    padding: 2rem 1rem;
    text-align: center;
  }

  .content-mobile {
    padding: 1rem;
    line-height: 1.6;
  }

  .content-mobile h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .content-mobile h2 {
    margin-bottom: 0.875rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .content-mobile p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 3vw, 1.125rem);
  }

  /* Enhanced Tech Text Mobile Styles - Center Outward */
  .tech-text-item {
    font-size: 10px !important;
    /* Starting smaller for center-outward effect */
  }

  .tech-text-item:nth-child(2n) {
    animation-duration: 10s !important;
  }

  .tech-text-item:nth-child(3n) {
    animation-duration: 8s !important;
  }

  .tech-text-item:nth-child(4n) {
    animation-duration: 12s !important;
  }

  .tech-text-item:nth-child(5n) {
    animation-duration: 9s !important;
  }

  .neural-node {
    width: 3px;
    height: 3px;
  }

  .animated-tech-text {
    opacity: 0.7;
    /* Reduced for mobile readability */
  }

  /* Override desktop animations for mobile */
  .tech-text-item.direction-0 {
    animation: flowRadialMobile0 10s ease-out infinite !important;
  }

  .tech-text-item.direction-1 {
    animation: flowRadialMobile1 10s ease-out infinite !important;
  }

  .tech-text-item.direction-2 {
    animation: flowRadialMobile2 10s ease-out infinite !important;
  }

  .tech-text-item.direction-3 {
    animation: flowRadialMobile3 10s ease-out infinite !important;
  }

  .tech-text-item.direction-4 {
    animation: flowRadialMobile4 10s ease-out infinite !important;
  }

  .tech-text-item.direction-5 {
    animation: flowRadialMobile5 10s ease-out infinite !important;
  }

  .tech-text-item.direction-6 {
    animation: flowRadialMobile6 10s ease-out infinite !important;
  }

  .tech-text-item.direction-7 {
    animation: flowRadialMobile7 10s ease-out infinite !important;
  }
}

/* Simplified Mobile Radial Animations */
@keyframes flowRadialMobile0 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-50%, -100%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(-50%, -180%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(-50%, -250%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile1 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(0%, -80%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(80%, -140%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(150%, -200%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile2 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(0%, 0%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(80%, 80%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(150%, 150%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile3 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-50%, 0%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(-50%, 80%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(-50%, 150%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile4 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-100%, 0%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(-180%, 80%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(-250%, 150%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile5 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-100%, -80%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(-180%, -140%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(-250%, -200%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile6 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-20%, -100%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(20%, -180%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(80%, -250%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

@keyframes flowRadialMobile7 {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }

  30% {
    transform: translate(-80%, -20%) scale(1.2);
    opacity: 1;
    font-size: 16px;
  }

  70% {
    transform: translate(-140%, 20%) scale(0.8);
    opacity: 1;
    font-size: 12px;
  }

  100% {
    transform: translate(-200%, 80%) scale(0.3);
    opacity: 0;
    font-size: 8px;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 926px) and (orientation: landscape) {
  .hero-mobile {
    padding: 1rem;
  }

  .hero-mobile h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .section-responsive {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

/* Enhanced Focus States for Accessibility */
.focus-visible:focus-visible {
  outline: 2px solid var(--color-teal-neon);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Performance Optimizations for Mobile */
@media (max-width: 768px) {

  /* Reduce animations on mobile for better performance */
  .neural-network-animation {
    animation-duration: 8s;
  }

  /* Optimize transforms for mobile */
  .card-hover:hover {
    transform: translateY(-2px) scale(1.01);
  }

  /* Better spacing for mobile forms */
  .form-mobile {
    padding: 1rem;
  }

  .form-mobile input,
  .form-mobile textarea {
    min-height: 48px;
    padding: 0.875rem;
    font-size: 16px;
    /* Prevent zoom on iOS */
  }
}

/* Technology Icons Enhancement */
.icon-enhanced {
  filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.4));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.9;
}

.icon-enhanced:hover {
  filter: drop-shadow(0 0 16px rgba(0, 245, 160, 0.6));
  transform: scale(1.1);
  opacity: 1;
}

/* Technology Cards Animation */
.card-responsive {
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  background: rgba(18, 20, 24, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card-responsive:hover {
  background: rgba(18, 20, 24, 0.8);
  border-color: rgba(0, 245, 160, 0.3);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 245, 160, 0.15);
}

.card-responsive:hover .icon-enhanced {
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.4));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(0, 245, 160, 0.7));
    transform: scale(1.05);
  }
}

/* Mobile optimizations for technology icons */
@media (max-width: 768px) {
  .card-responsive {
    padding: 1rem 0.75rem;
  }

  .card-responsive:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .icon-enhanced {
    filter: drop-shadow(0 0 6px rgba(0, 245, 160, 0.3));
  }

  .icon-enhanced:hover {
    filter: drop-shadow(0 0 12px rgba(0, 245, 160, 0.5));
  }
}

/* ========================================= */
/* PREMIUM AI DIGITAL MARKETING ANIMATIONS */
/* ========================================= */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Premium Glow Effects */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(26, 115, 232, 0.5), 0 0 40px rgba(0, 245, 160, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(26, 115, 232, 0.8), 0 0 80px rgba(0, 245, 160, 0.5);
  }
}

.glow-pulse:hover {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Float Animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Scale Bounce Animation */
@keyframes scaleBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.animate-scale-bounce {
  animation: scaleBounce 2s ease-in-out infinite;
}

/* Gradient Shift Animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-gradient-shift {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  animation: shimmer 2s infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-size: 1000px 100%;
}

/* Rolling Animation */
@keyframes rolling {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

.animate-rolling {
  animation: rolling 10s linear infinite;
}

/* Premium Card Hover Effects */
.card-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.card-premium:hover::before {
  left: 100%;
}

/* Neon Border Glow */
.neon-border {
  border: 2px solid #00F5A0;
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.5), inset 0 0 10px rgba(0, 245, 160, 0.2);
  transition: all 0.3s ease;
}

.neon-border:hover {
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.8), inset 0 0 20px rgba(0, 245, 160, 0.3);
}

/* Neural Network Animation */
@keyframes neuralPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.neural-node {
  animation: neuralPulse 2s ease-in-out infinite;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Responsive Typography Scaling */
@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Enhanced Loading Animation */
@keyframes spinGradient {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spin-gradient {
  animation: spinGradient 3s linear infinite;
}