/**
* Enhanced CSS for Arsha Template
* Modern design improvements and animations
*/

/*--------------------------------------------------------------
# Enhanced Hero Section
--------------------------------------------------------------*/
.hero {
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 300;
}

.hero-buttons {
  margin-bottom: 2rem;
}

.btn-watch-video {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-watch-video:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-watch-video i {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Hero statistics */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Hero image wrapper and shapes */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.shape-3 {
  width: 40px;
  height: 40px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Enhanced responsive hero */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-get-started, .btn-watch-video {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 100%;
    max-width: 200px;
  }
}

/*--------------------------------------------------------------
# Enhanced Global Styles
--------------------------------------------------------------*/
:root {
  /* Premium Color Palette */
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #06b6d4;
  --accent-secondary: #0891b2;
  --accent-tertiary: #0e7490;
  
  /* Modern Gradients */
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
  --accent-gradient-hover: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #06b6d4 100%);
  --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --card-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  
  /* Accent Colors */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #3b82f6;
  
  /* Neutral Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  
  /* Shadows & Effects */
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
  --glow-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*--------------------------------------------------------------
# Enhanced Header & Navigation
--------------------------------------------------------------*/
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.header .logo .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header .logo .company-name {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Removed ::before pseudo-element for clean design */

/* Removed ::after pseudo-element for clean design */

















/* Simple hover effect - you can modify this */
.header .logo .company-name:hover {
  color: #fbbf24;
}

/* Removed hover::before effect */

/* Removed hover::after effect */

/* Simple focus for accessibility */
.header .logo .company-name:focus {
  outline: none;
}

/* All animations removed - you can add your own custom animations here */





.header .logo .company-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  letter-spacing: 0.5px;
}

/* Adjust main content to prevent navbar overlap */
.main {
  padding-top: 80px; /* Adjust based on navbar height */
  margin-top: 0; /* Remove default margin */
}

/* Ensure all sections have proper spacing */
.section {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Additional spacing for first section */
.main > .section:first-child {
  padding-top: 40px;
}

/* Adjust hero section padding */
.hero {
  padding-top: 140px !important; /* Increased top padding to account for fixed navbar */
  padding-bottom: 80px;
}

/* Responsive adjustments for navbar title */
@media (max-width: 1200px) {
  .header .logo .company-name {
    font-size: 1.5rem;
    max-width: 250px;
  }
  
  .header .logo .company-subtitle {
    font-size: 0.75rem;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  .header .logo .company-name {
    font-size: 1.3rem;
    max-width: 200px;
  }
  
  .header .logo .company-subtitle {
    font-size: 0.7rem;
    max-width: 200px;
  }
  
  .main {
    padding-top: 70px;
  }
  
  .hero {
    padding-top: 120px !important;
  }
}

@media (max-width: 480px) {
  .header .logo .company-name {
    font-size: 1.1rem;
    max-width: 180px;
  }
  
  .header .logo .company-subtitle {
    font-size: 0.65rem;
    max-width: 180px;
  }
  
  .main {
    padding-top: 65px;
  }
  
  .hero {
    padding-top: 110px !important;
  }
}

/* Enhanced buttons */
.btn-get-started, .btn-getstarted, .cta-btn, .buy-btn {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  transition: var(--transition);
  box-shadow: var(--glow-shadow);
  position: relative;
  overflow: hidden;
}

.btn-get-started:hover, .btn-getstarted:hover, .cta-btn:hover, .buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
  color: #ffffff;
}

/* Enhanced cards */
.service-item, .team-member, .pricing-item, .portfolio-item, .steps-item, .testimonial-item, .post-item {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.service-item:hover, .team-member:hover, .pricing-item:hover, .portfolio-item:hover, .steps-item:hover, .testimonial-item:hover, .post-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}

/* Enhanced service features */
.service-features {
  margin-top: 1rem;
}

.service-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
  transition: var(--transition);
}

.service-features .feature-item:hover {
  color: #4f46e5;
  transform: translateX(5px);
}

.service-features .feature-item i {
  color: #4f46e5;
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* Enhanced section titles */
.section-title h2 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* Enhanced scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: 10px;
  box-shadow: var(--glow-shadow);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient-hover);
}

/* Enhanced loading animations */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(79, 70, 229, 0.1);
  border-top: 4px solid #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-text {
  color: #4f46e5;
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced form styles */
.form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  outline: none;
}

/* Enhanced portfolio filtering */
.portfolio-filters li {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 25px;
  padding: 10px 24px;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-filters li:hover, .portfolio-filters .filter-active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Enhanced counter animations */
.counter {
  font-size: 3rem;
  font-weight: 700;
  color: #4f46e5;
  text-align: center;
  margin: 1rem 0;
}

/* Enhanced FAQ */
.faq-item {
  background: #ffffff;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: var(--card-shadow-hover);
}

.faq-item.faq-active {
  border-left: 4px solid #4f46e5;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(79, 70, 229, 0.02) 100%);
}

/* Enhanced scroll top button */
.scroll-top {
  background: var(--accent-gradient);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* Ensure proper z-index layering */
.header {
  z-index: 9999;
}

.navmenu {
  z-index: 9998;
}

.dropdown ul {
  z-index: 9997;
}

/* Enhanced mobile navigation */
@media (max-width: 1199px) {
  .header .logo h1.sitename {
    font-size: 1.2rem;
    max-width: 220px;
  }
  
  .navmenu ul {
    margin-top: 60px; /* Adjust for mobile nav positioning */
  }
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

/* Enhanced preloader */
#preloader {
  background: var(--accent-gradient);
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader::after {
  content: '';
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/*--------------------------------------------------------------
# Enhanced Footer - Small & Fixed
--------------------------------------------------------------*/
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  padding: 15px 0;
  z-index: 9990;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.15);
}

.footer .copyright {
  margin: 0;
  padding: 0;
}

.footer .copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.footer .copyright .sitename {
  color: #ffffff;
  font-weight: 600;
}

.footer .credits {
  margin-top: 5px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer .credits a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .credits a:hover {
  color: #ffffff;
}

/* Adjust main content to prevent footer overlap */
.main {
  padding-bottom: 80px; /* Account for fixed footer height */
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 12px 0;
  }
  
  .footer .copyright p {
    font-size: 0.8rem;
  }
  
  .footer .credits {
    font-size: 0.75rem;
  }
  
  .main {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 10px 0;
  }
  
  .footer .copyright p {
    font-size: 0.75rem;
  }
  
  .main {
    padding-bottom: 60px;
  }
}

/*--------------------------------------------------------------
# Premium Enhancements - Advanced Visual Effects
--------------------------------------------------------------*/

/* Floating particles background */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.2) 100%);
  border-radius: 50%;
  animation: particleFloat 20s infinite linear;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  top: 60%;
  right: 15%;
  animation-delay: 5s;
  animation-duration: 30s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  bottom: 30%;
  left: 20%;
  animation-delay: 10s;
  animation-duration: 20s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 40%;
  right: 25%;
  animation-delay: 15s;
  animation-duration: 35s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  bottom: 50%;
  left: 60%;
  animation-delay: 20s;
  animation-duration: 28s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced glass morphism cards with neon borders */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-shadow);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  z-index: -1;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #06b6d4, #0891b2, #0e7490, #10b981, #3b82f6);
  border-radius: 22px;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.glass-card:hover::after {
  opacity: 0.3;
  animation: neonGlow 2s ease-in-out infinite;
}

@keyframes neonGlow {
  0%, 100% {
    filter: brightness(1) hue-rotate(0deg);
  }
  50% {
    filter: brightness(1.2) hue-rotate(180deg);
  }
}

/* Advanced button with liquid effect */
.btn-liquid {
  position: relative;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--glow-shadow);
}

.btn-liquid::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-liquid:hover::before {
  left: 100%;
}

.btn-liquid:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Magnetic hover effect for cards */
.magnetic-card {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.magnetic-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Enhanced section dividers */
.section-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
  clip-path: polygon(0 70%, 100% 100%, 100% 100%, 0 100%);
  opacity: 0.7;
}

/* Advanced loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeletonLoading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Enhanced text reveal animation */
.text-reveal {
  position: relative;
  overflow: hidden;
}

.text-reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateX(-100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-reveal.revealed::before {
  transform: translateX(0);
}

/* Advanced hover effects for service items */
.service-item {
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item .icon {
  position: relative;
  z-index: 2;
}

.service-item .icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.service-item:hover .icon::after {
  width: 80px;
  height: 80px;
}

/* Enhanced scroll indicators */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10000;
}

.scroll-progress {
  height: 100%;
  background: var(--accent-gradient);
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: var(--glow-shadow);
}

/* Advanced form enhancements */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #333;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #666;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  color: #667eea;
  background: #fff;
  padding: 0 5px;
}

/* Enhanced image hover effects */
.image-hover {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.image-hover img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-hover:hover img {
  transform: scale(1.1) rotate(2deg);
}

.image-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-hover:hover::after {
  opacity: 1;
}

/* Advanced navigation enhancements */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* Enhanced mobile menu */
.mobile-nav-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Advanced responsive grid */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }
}

/* Enhanced accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glass-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
  }
  
  .btn-liquid {
    border: 2px solid #000;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --card-background: #2d2d2d;
  }
  
  .glass-card {
    background: rgba(45, 45, 45, 0.8);
    color: #ffffff;
  }
  
  .form-control {
    background: rgba(45, 45, 45, 0.8);
    color: #ffffff;
  }
}

/*--------------------------------------------------------------
# Additional Cool Color Effects
--------------------------------------------------------------*/

/* Enhanced glass morphism with cool colors */
.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--card-shadow-hover), var(--glow-shadow);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Cool gradient text effects */
.cool-text {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 25%, #0e7490 50%, #10b981 75%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: coolGradient 3s ease-in-out infinite;
}

@keyframes coolGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Enhanced service icons with cool colors */
.service-item .icon {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.service-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5));
}

/* Cool section backgrounds */
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.02) 0%, rgba(8, 145, 178, 0.02) 100%);
  z-index: -1;
}

/* Enhanced navigation with cool effects */
.navmenu ul li a {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navmenu ul li a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.navmenu ul li a:hover::before,
.navmenu ul li a.active::before {
  width: 100%;
}

.navmenu ul li a:hover {
  color: #06b6d4;
  transform: translateY(-2px);
}

/* Cool button hover effects */
.btn-get-started:hover, .btn-getstarted:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow), 0 15px 35px rgba(6, 182, 212, 0.3);
  background: var(--accent-gradient-hover);
}

/* Enhanced cards with cool borders */
.glass-card {
  position: relative;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.05) 100%);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

/* Cool form enhancements */
.form-control:focus {
  border-color: #06b6d4;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1), var(--glow-shadow);
}

/* Enhanced mobile navigation */
.mobile-nav-toggle span {
  background: #06b6d4;
  box-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
}

/* Cool footer enhancements */
.footer .copyright .sitename {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Enhanced particles with cool effects */
.particle:nth-child(1) {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4) 0%, rgba(8, 145, 178, 0.3) 100%);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.particle:nth-child(2) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4) 0%, rgba(5, 150, 105, 0.3) 100%);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.particle:nth-child(3) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(37, 99, 235, 0.3) 100%);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.particle:nth-child(4) {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.3) 100%);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.particle:nth-child(5) {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(220, 38, 38, 0.3) 100%);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Cool section title enhancements */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Enhanced service features with cool colors */
.service-features .feature-item i {
  color: #06b6d4;
  margin-right: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.service-features .feature-item:hover i {
  color: #0891b2;
  transform: scale(1.2);
}

/* Cool loading animations */
.spinner-ring {
  border-top-color: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.spinner-text {
  color: #06b6d4;
  font-weight: 600;
}

/* Enhanced portfolio filters */
.portfolio-filters li:hover, .portfolio-filters .filter-active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: #06b6d4;
  transform: translateY(-2px);
  box-shadow: var(--glow-shadow);
}

/* Cool FAQ enhancements */
.faq-item.faq-active {
  border-left: 4px solid #06b6d4;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(8, 145, 178, 0.02) 100%);
}

/* Enhanced scroll top button */
.scroll-top {
  background: var(--accent-gradient);
  box-shadow: var(--glow-shadow);
}

.scroll-top:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--glow-shadow), 0 8px 25px rgba(6, 182, 212, 0.4);
}

/* Cool preloader */
#preloader {
  background: var(--accent-gradient);
}

#preloader::after {
  border-top-color: #ffffff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

/*--------------------------------------------------------------
# Cool Animation Keyframes
--------------------------------------------------------------*/

@keyframes rainbowFlow {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg) brightness(1.2) saturate(1.5);
  }
  25% {
    background-position: 100% 50%;
    filter: hue-rotate(90deg) brightness(1.4) saturate(1.8);
  }
  50% {
    background-position: 100% 100%;
    filter: hue-rotate(180deg) brightness(1.6) saturate(2.0);
  }
  75% {
    background-position: 0% 100%;
    filter: hue-rotate(270deg) brightness(1.4) saturate(1.8);
  }
  100% {
    background-position: 0% 50%;
    filter: hue-rotate(360deg) brightness(1.2) saturate(1.5);
  }
}

@keyframes neonPulse {
  0%, 100% {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px currentColor;
    transform: scale(1);
  }
  50% {
    text-shadow: 
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 30px currentColor,
      0 0 40px currentColor;
    transform: scale(1.05);
  }
}

@keyframes floating3D {
  0%, 100% {
    transform: translateZ(0px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: translateZ(10px) rotateX(2deg) rotateY(1deg);
  }
  50% {
    transform: translateZ(20px) rotateX(4deg) rotateY(2deg);
  }
  75% {
    transform: translateZ(10px) rotateX(2deg) rotateY(1deg);
  }
}

@keyframes hoverExplosion {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1) contrast(1) saturate(1);
  }
  25% {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.5) contrast(1.4) saturate(1.6);
  }
  50% {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(2.0) contrast(2.0) saturate(2.0);
  }
  75% {
    transform: scale(1.12) rotate(3deg);
    filter: brightness(1.8) contrast(1.8) saturate(1.8);
  }
  100% {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(2.0) contrast(2.0) saturate(2.0);
  }
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    opacity: 0.3;
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.8), 0 0 60px rgba(255, 140, 0, 0.6);
    opacity: 0.7;
  }
}

@keyframes innerGlow {
  0%, 100% {
    box-shadow: inset 0 0 20px rgba(255, 20, 147, 0.3);
    opacity: 0.2;
  }
  50% {
    box-shadow: inset 0 0 40px rgba(255, 20, 147, 0.6), inset 0 0 60px rgba(238, 130, 238, 0.4);
    opacity: 0.5;
  }
}

@keyframes glassPulseHover {
  0% {
    opacity: 0.3;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15) rotate(3deg);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.15) rotate(3deg);
  }
}

@keyframes glassFloatHover {
  0% {
    opacity: 0.2;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1) rotate(-2deg);
  }
  100% {
    opacity: 0.4;
    transform: scale(1.1) rotate(-2deg);
  }
}

@keyframes clickExplosion {
  0% {
    transform: scale(1.15) rotate(5deg);
  }
  25% {
    transform: scale(0.8) rotate(-2deg);
  }
  50% {
    transform: scale(0.9) rotate(1deg);
  }
  100% {
    transform: scale(0.9) rotate(0deg);
  }
}

@keyframes holographicFocus {
  0% {
    box-shadow: 
      0 0 0 0px rgba(255, 0, 128, 0.8),
      0 0 0px rgba(64, 224, 208, 0.6),
      0 0 0px rgba(238, 130, 238, 0.4),
      0 0 0px rgba(255, 20, 147, 0.2);
  }
  100% {
    box-shadow: 
      0 0 0 3px rgba(255, 0, 128, 0.8),
      0 0 20px rgba(64, 224, 208, 0.6),
      0 0 40px rgba(238, 130, 238, 0.4),
      0 0 60px rgba(255, 20, 147, 0.2);
  }
}

@keyframes particleExplosion {
  0% {
    transform: scale(0) translateX(0) translateY(0);
    opacity: 1;
  }
  50% {
    transform: scale(1) translateX(var(--x, 0)) translateY(var(--y, 0));
    opacity: 0.8;
  }
  100% {
    transform: scale(0) translateX(calc(var(--x, 0) * 2)) translateY(calc(var(--y, 0) * 2));
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .header .logo .company-name {
    font-size: 1.6rem;
    max-width: 200px;
  }
  
  .header .logo .company-name::before {
    font-size: 1rem;
    top: -20px;
  }
  
  .header .logo .company-name::after {
    font-size: 0.7rem;
    top: -12px;
    right: -15px;
  }
}

@media (max-width: 480px) {
  .header .logo .company-name {
    font-size: 1.4rem;
    max-width: 180px;
  }
  
  .header .logo .company-name::before {
    font-size: 0.9rem;
    top: -18px;
  }
  
  .header .logo .company-name::after {
    font-size: 0.6rem;
    top: -10px;
    right: -12px;
  }
}

/*--------------------------------------------------------------
# Mobile Readability Fixes - About & Services
--------------------------------------------------------------*/
/* Ensure strong contrast and crisp text on small devices */
.about p,
.about li,
.services .service-item p {
  color: #0f172a;
  opacity: 1;
  text-shadow: none;
  -webkit-text-stroke: 0;
  text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
  .about p,
  .about li,
  .services .service-item p {
    color: #0f172a !important;
    font-size: 15.5px;
    line-height: 1.7;
    letter-spacing: 0.1px;
  }
}

/* Extend same readability fixes to Contact & Work Process */
.contact .info-item p,
.contact .info-item span,
.contact .php-email-form p,
.work-process .steps-content p,
.work-process .steps-features .feature-item span {
  color: #0f172a;
  opacity: 1;
  text-shadow: none;
  -webkit-text-stroke: 0;
  text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
  .contact .info-item p,
  .contact .info-item span,
  .contact .php-email-form p,
  .work-process .steps-content p,
  .work-process .steps-features .feature-item span {
    color: #0f172a !important;
    font-size: 15.5px;
    line-height: 1.7;
    letter-spacing: 0.1px;
  }
}
