/* =====================================
   DBSolutions.az - Harmonized CSS File
   ===================================== */

/* CSS Variables for consistent theming */
:root {
  /* Primary Colors - Based on Hero Gradient */
  --primary-color: #667eea;
  --primary-dark: #5a67d8;
  --primary-light: #7c8df0;
  --secondary-color: #764ba2;
  --secondary-light: #8b5fbf;
  
  /* Complementary Colors */
  --accent-color: #00d4ff;
  --accent-dark: #00b8e6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  
  /* Neutral Colors */
  --light-color: #f8fafc;
  --lighter-color: #ffffff;
  --dark-color: #1e293b;
  --darker-color: #0f172a;
  --text-primary: #334155;
  --text-secondary: #64748b;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  
  /* Footer Specific Colors */
  --dark-bg: #1e293b;
  --darker-bg: #0f172a;
  --border-color: #334155;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Shadows */
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  
  /* Gradients - Consistent with Hero */
  --gradient-primary: linear-gradient(135deg, #667eea, #764ba2);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #667eea 100%);
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  
  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================
   BASE STYLES
   ===================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
  background-color: var(--lighter-color);
}

/* =====================================
   HEADER STYLES
   ===================================== */

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  padding: 0.8rem 0;
  transition: var(--transition-base);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: var(--shadow-medium);
  padding: 0.5rem 0;
  border-bottom-color: rgba(102, 126, 234, 0.15);
}

.header .container {
  max-width: 1600px;
}

/* Logo Styles */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition-base);
  position: relative;
}

.logo:hover {
  transform: scale(1.02);
}

.sitename {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sitename + span {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-left: 2px;
}

/* Navigation Styles */
.navmenu {
  position: relative;
}

.navmenu ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navmenu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 1000;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.navmenu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: var(--transition-base);
}

.navmenu a:hover::before {
  left: 100%;
}

.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
  transform: translateX(-50%);
  border-radius: 1px;
}

.navmenu a:hover::after,
.navmenu a.active::after {
  width: 70%;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--primary-color);
  background-color: rgba(102, 126, 234, 0.05);
}

.highlight-link {
  background: var(--gradient-primary) !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-medium);
}

.highlight-link:hover {
  background: var(--gradient-primary) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.highlight-link::after {
  display: none;
}

/* Social Header */
.social-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icon-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 50%;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  background: rgba(102, 126, 234, 0.1);
}

.social-icon-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-base);
  z-index: -1;
}

.social-icon-header:hover {
  color: white;
  transform: translateY(-2px);
}

.social-icon-header:hover::before {
  left: 0;
}

/* Language Buttons */
.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  transition: var(--transition-base);
  border: 2px solid;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
}

.btn-primary.btn-sm {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: rgb(255, 255, 255);
}

.btn-primary.btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-secondary.btn-sm {
  background: transparent;
  border-color: var(--text-secondary);
  color: var(--text-secondary);
}

.btn-outline-secondary.btn-sm:hover {
  background: var(--text-secondary);
  color: white;
  transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-base);
  background: rgba(102, 126, 234, 0.1);
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  background: rgba(102, 126, 234, 0.15);
  color: var(--primary-color);
}

/* =====================================
   HERO SECTION (Unchanged)
   ===================================== */

.hero {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), 
              radial-gradient(ellipse at 80% 30%, rgba(255, 119, 198, 0.15) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.typed-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  color: white !important;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: rgba(255,255,255,0.95) !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-img {
  bottom: 6rem;
  position: relative;
  z-index: 2;
}

.hero-img img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: var(--transition-base);
}

.hero-img:hover img {
  transform: translateY(-10px) rotate(2deg);
}

.animated {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Statistics Cards */
.hero-stats {
  position: absolute;
  bottom: 6rem;
  left: 60%;
  display: flex;
  gap: 2rem;
  z-index: 3;
  margin-bottom: -5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  color: white;
  min-width: 150px;
  transition: var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Technology Icons */
.tech-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.tech-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tech-icon::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: var(--transition-base);
}

.tech-icon:hover {
  transform: translateY(-5px) rotate(5deg);
  background: rgba(255, 255, 255, 0.2);
}

.tech-icon:hover::before {
  left: 100%;
}

.tech-icons.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: white;
  text-align: center;
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.scroll-indicator span {
  font-size: 0.9rem;
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* =====================================
   BUTTONS
   ===================================== */

.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 1rem 2rem;
  transition: var(--transition-base);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::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: var(--transition-base);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary.btn-solid {
  background: var(--gradient-primary);
  border: 2px solid transparent;
  color: white !important;
}

.btn-primary.btn-solid:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* =====================================
   SECTIONS
   ===================================== */

.section {
  padding: 2rem 0;
}


/* About Section */
.about {
  background: var(--gradient-light);
}

.about .who-we-are {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.about h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.about ul li i {
  color: var(--primary-color);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.about-images img {
  border-radius: 15px;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-base);
}

.about-images img:hover {
  transform: scale(1.02);
}

/* Free Consultation Section */
#free-consultation {
  background: var(--lighter-color);
}

#free-consultation h2 {
  font-family: var(--font-primary);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

#free-consultation .lead {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  background: var(--gradient-light); /* Changed from var(--light-color) */
}

.service-item {
  background: var(--lighter-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid rgba(102, 126, 234, 0.08);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-base);
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-item:hover::before {
  opacity: 0.05;
}

.service-item > * {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.service-item:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-medium);
}

.service-content h3 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-base);
}

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

/* =====================================
   FOOTER STYLES
   ===================================== */

.footer {
  background: var(--gradient-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 2;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.footer-top {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 3;
}

.footer-about {
  position: relative;
}

.footer-about .logo {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about .description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-contact {
  margin-bottom: 2rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.footer-contact .contact-item:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.footer-contact .contact-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.footer-contact .contact-item span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-contact .contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-contact .contact-item a:hover {
  color: var(--primary-color);
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-base);
  position: relative;
  padding-left: 1rem;
}

.footer-links ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-base);
}

.footer-links ul li a:hover {
  color: #fff;
  padding-left: 1.5rem;
}

.footer-links ul li a:hover::before {
  opacity: 1;
  left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.footer-social .social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-base);
  z-index: -1;
}

.footer-social .social-link:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.footer-social .social-link:hover::before {
  left: 0;
}

/* Footer Override Styles for Compatibility */
.footer,
.footer p,
.footer a,
.footer h4,
.footer .footer-contact p,
.footer .footer-links ul li a,
.footer .footer-social a,
.footer .copyright {
  color: #ffffff !important;
}

.footer .footer-links ul li a:hover,
.footer .footer-social a:hover {
  color: var(--primary-color) !important;
}

.copyright .heart {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 50%, 100% {
    transform: scale(1);
  }
  25%, 75% {
    transform: scale(1.1);
  }
}

/* =====================================
   SCROLL TO TOP BUTTON
   ===================================== */

#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1000;
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-medium);
}

#scroll-top:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

#scroll-top.show {
  display: flex;
}

/* =====================================
   RESPONSIVE DESIGN
   ===================================== */

@media (max-width: 1199.98px) {
  .navmenu ul {
    gap: 1.3rem;
  }

  .navmenu a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .sitename {
    font-size: 1.6rem;
  }

  .sitename + span {
    font-size: 1.6rem;
  }
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .social-header {
    order: -1;
    margin-right: 1rem;
  }

  .navmenu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    padding: 1.5rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
  }

  .navmenu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navmenu ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .navmenu a {
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.08);
    text-align: center;
    width: 100%;
  }

  .navmenu a:last-child {
    border-bottom: none;
  }

  body {
    padding-top: 75px;
  }

  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .typed-title {
    font-size: 2.8rem;
  }

  .hero-description {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    justify-content: center;
    margin-top: 3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .header {
    padding: 0.6rem 0;
  }

  .sitename {
    font-size: 1.4rem;
  }

  .sitename + span {
    font-size: 1.4rem;
  }

  .social-header {
    gap: 0.3rem;
  }

  .social-icon-header {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    min-width: 40px;
  }

  body {
    padding-top: 70px;
  }

  .footer-badge {
    display: none;
  }
  
  .footer-top {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-about .logo {
    font-size: 1.5rem;
  }
  
  .footer-social {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero {
    padding: 5rem 0 2rem;
  }

  .typed-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-card {
    min-width: auto;
    padding: 1rem;
  }

  .tech-icons {
    justify-content: center;
    gap: 1rem;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .about h3 {
    font-size: 1.6rem;
  }

  .service-item {
    padding: 2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 15px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }

  .social-header .social-icon-header {
    display: none;
  }

  .social-header .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-width: 35px;
  }

  .typed-title {
    font-size: 1.9rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .about h3 {
    font-size: 1.4rem;
  }

  .service-item {
    padding: 1.5rem;
  }

  #scroll-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* =====================================
   UTILITY CLASSES
   ===================================== */

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-light {
  background-color: var(--light-color) !important;
}

.bg-white {
  background-color: var(--lighter-color) !important;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.text-center {
  text-align: center !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.position-relative {
  position: relative !important;
}

.fixed-top {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =====================================
   CUSTOM SCROLLBAR
   ===================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* =====================================
   PRELOADER
   ===================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--lighter-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader:before {
  content: "";
  position: absolute;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--light-color);
  border-top: 6px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* =====================================
   ACCESSIBILITY
   ===================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #4c51bf;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
  }
}

/* =====================================
   PRINT STYLES
   ===================================== */

@media print {
  .header,
  .footer,
  #scroll-top,
  .hero-stats,
  .scroll-indicator,
  .footer-badge {
    display: none !important;
  }
  
  body {
    padding-top: 0 !important;
    color: #000 !important;
    background: #fff !important;
  }
  
  .hero {
    min-height: auto !important;
    padding: 2rem 0 !important;
    background: #fff !important;
    color: #000 !important;
  }
  
  .section {
    padding: 2rem 0 !important;
  }
}

/* =====================================
   ANIMATED TECH BACKGROUND FOR HERO
   ===================================== */

/* Animated Background Container */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

/* Tech Icons Floating Background */
.hero-tech-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 2rem;
  animation: float-random 15s infinite linear;
  opacity: 0;
}

.floating-icon:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: -2s;
  animation-duration: 12s;
}

.floating-icon:nth-child(2) {
  left: 20%;
  top: 60%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.floating-icon:nth-child(3) {
  left: 70%;
  top: 30%;
  animation-delay: -6s;
  animation-duration: 14s;
}

.floating-icon:nth-child(4) {
  left: 80%;
  top: 70%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.floating-icon:nth-child(5) {
  left: 30%;
  top: 10%;
  animation-delay: -10s;
  animation-duration: 20s;
}

.floating-icon:nth-child(6) {
  left: 60%;
  top: 80%;
  animation-delay: -12s;
  animation-duration: 13s;
}

.floating-icon:nth-child(7) {
  left: 5%;
  top: 50%;
  animation-delay: -14s;
  animation-duration: 17s;
}

.floating-icon:nth-child(8) {
  left: 90%;
  top: 15%;
  animation-delay: -16s;
  animation-duration: 19s;
}

.floating-icon:nth-child(9) {
  left: 40%;
  top: 75%;
  animation-delay: -18s;
  animation-duration: 15s;
}

.floating-icon:nth-child(10) {
  left: 75%;
  top: 45%;
  animation-delay: -20s;
  animation-duration: 11s;
}

.floating-icon:nth-child(11) {
  left: 15%;
  top: 85%;
  animation-delay: -22s;
  animation-duration: 21s;
}

.floating-icon:nth-child(12) {
  left: 85%;
  top: 35%;
  animation-delay: -24s;
  animation-duration: 14s;
}

/* Floating Animation */
@keyframes float-random {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
    font-size: 1.5rem;
  }
  10% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
    font-size: 2.5rem;
    transform: translateY(50vh) translateX(20px) rotate(180deg);
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-20vh) translateX(-20px) rotate(360deg);
    opacity: 0;
    font-size: 1rem;
  }
}

/* Particle System */
.particle-system {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particle-float 10s infinite linear;
}

.particle:nth-child(odd) {
  background: rgba(102, 126, 234, 0.4);
}

.particle:nth-child(1) { left: 10%; animation-delay: -1s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 30%; animation-delay: -3s; animation-duration: 15s; }
.particle:nth-child(4) { left: 40%; animation-delay: -4s; animation-duration: 9s; }
.particle:nth-child(5) { left: 50%; animation-delay: -5s; animation-duration: 11s; }
.particle:nth-child(6) { left: 60%; animation-delay: -6s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: -7s; animation-duration: 10s; }
.particle:nth-child(8) { left: 80%; animation-delay: -8s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; animation-delay: -9s; animation-duration: 16s; }
.particle:nth-child(10) { left: 5%; animation-delay: -10s; animation-duration: 7s; }

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) translateX(100px);
    opacity: 0;
  }
}

/* =====================================
   ADDITIONAL MODERN EFFECTS
   ===================================== */

/* Card Hover Effects */
.card-hover-effect {
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-hover-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
  transition: var(--transition-base);
}

.card-hover-effect:hover::before {
  left: 100%;
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth Entrance Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }


 
        :root {
            --primary-color: #667eea;
            --primary-dark: #5a67d8;
            --primary-light: #7c8df0;
            --secondary-color: #764ba2;
            --accent-color: #00d4ff;
            --text-primary: #334155;
            --text-secondary: #64748b;
            --text-muted: #94a3b8;
            --light-color: #f8fafc;
            --lighter-color: #ffffff;
            --gradient-primary: linear-gradient(135deg, #667eea, #764ba2);
            --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
            --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-primary: 'Poppins', sans-serif;
            --font-secondary: 'Roboto', sans-serif;
        }

        body {
            font-family: var(--font-secondary);
            background: var(--gradient-light);
            padding: 0rem 0;
        }

        .services-section {
            padding: 5rem 0;
            background: var(--gradient-light);
        }

        .section-title {
            text-align: center;
            margin-bottom: 0rem;
        }

        
      
        .section-title h2 {
            font-family: var(--font-primary);
            font-size: 2.8rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
            position: relative;
            font-weight: 700;
        }

        .section-title h2::after {
              background: var(--gradient-primary);
            border-radius: 2px;
        }

        .section-title p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 650px;
            margin: 2rem auto 0;
            line-height: 1.6;
        }

        .services-categories {
            margin-bottom: 3rem;
        }

        .category-title {
            font-family: var(--font-primary);
            font-size: 1.8rem;
            color: var(--primary-color);
            margin-bottom: 2rem;
            text-align: center;
            font-weight: 600;
            position: relative;
        }

        .category-title::before {
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 2px;
            background: var(--primary-color);
            opacity: 0.6;
        }

        .service-card {
            background: var(--lighter-color);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow-light);
            transition: var(--transition-base);
            height: 100%;
            border: 1px solid rgba(102, 126, 234, 0.08);
            position: relative;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0;
            transition: var(--transition-base);
            z-index: 1;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary-color);
        }

        .service-card:hover::before {
            opacity: 0.03;
        }

        .service-card > * {
            position: relative;
            z-index: 2;
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            transition: var(--transition-base);
            box-shadow: var(--shadow-medium);
        }

        .service-card:hover .service-icon {
            transform: scale(1.05) rotate(3deg);
            box-shadow: var(--shadow-lg);
        }

        .service-title {
            font-family: var(--font-primary);
            font-size: 1.25rem;
            color: var(--text-primary);
            margin-bottom: 1rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .service-description {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .service-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition-base);
            font-size: 0.9rem;
        }

        .service-link:hover {
            color: var(--primary-dark);
            transform: translateX(5px);
        }

        .service-link i {
            transition: var(--transition-base);
        }

        .service-link:hover i {
            transform: translateX(3px);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2.2rem;
            }
            
            .category-title {
                font-size: 1.5rem;
            }
            
            .service-card {
                padding: 1.5rem;
                margin-bottom: 1.5rem;
            }
            
            .service-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .services-section {
                padding: 3rem 0;
            }
            
            .section-title h2 {
                font-size: 1.9rem;
            }
            
            .service-card {
                padding: 1.2rem;
            }
        } 

        
.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ən arxada */
    pointer-events: none;
    animation: particle-system-start 0.5s ease-in-out;
}

@keyframes particle-system-start {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.particle {
    position: absolute;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite linear;
    animation-play-state: running;
    animation-fill-mode: both;
    will-change: transform, opacity;
}

/* Hər particle üçün fərqli ölçü və animasiya */
.particle:nth-child(1) { width: 8px; height: 8px; left: 10%; animation-delay: -2s; animation-duration: 15s; }
.particle:nth-child(2) { width: 12px; height: 12px; left: 20%; animation-delay: -4s; animation-duration: 18s; }
.particle:nth-child(3) { width: 6px; height: 6px; left: 30%; animation-delay: -6s; animation-duration: 22s; }
.particle:nth-child(4) { width: 10px; height: 10px; left: 40%; animation-delay: -8s; animation-duration: 16s; }
.particle:nth-child(5) { width: 14px; height: 14px; left: 50%; animation-delay: -10s; animation-duration: 20s; }
.particle:nth-child(6) { width: 8px; height: 8px; left: 60%; animation-delay: -12s; animation-duration: 17s; }
.particle:nth-child(7) { width: 16px; height: 16px; left: 70%; animation-delay: -14s; animation-duration: 25s; }
.particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-delay: -16s; animation-duration: 14s; }
.particle:nth-child(9) { width: 11px; height: 11px; left: 90%; animation-delay: -18s; animation-duration: 19s; }
.particle:nth-child(10) { width: 7px; height: 7px; left: 15%; animation-delay: -20s; animation-duration: 21s; }
.particle:nth-child(11) { width: 13px; height: 13px; left: 25%; animation-delay: -22s; animation-duration: 16s; }
.particle:nth-child(12) { width: 9px; height: 9px; left: 35%; animation-delay: -24s; animation-duration: 23s; }
.particle:nth-child(13) { width: 15px; height: 15px; left: 45%; animation-delay: -26s; animation-duration: 18s; }
.particle:nth-child(14) { width: 6px; height: 6px; left: 55%; animation-delay: -28s; animation-duration: 15s; }
.particle:nth-child(15) { width: 12px; height: 12px; left: 65%; animation-delay: -30s; animation-duration: 24s; }
.particle:nth-child(16) { width: 8px; height: 8px; left: 75%; animation-delay: -32s; animation-duration: 17s; }
.particle:nth-child(17) { width: 10px; height: 10px; left: 85%; animation-delay: -34s; animation-duration: 20s; }
.particle:nth-child(18) { width: 14px; height: 14px; left: 95%; animation-delay: -36s; animation-duration: 22s; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.3;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Rəng variasiyaları */
.particle:nth-child(odd) {
    background: rgba(118, 75, 162, 0.5);
}

.particle:nth-child(3n) {
    background: rgba(0, 212, 255, 0.4);
}

/* Bəzi particle-lara parıltı effekti */
.particle:nth-child(5n) {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    background: rgba(102, 126, 234, 0.8);
}

.particle:nth-child(7n) {
    box-shadow: 0 0 15px rgba(118, 75, 162, 0.3);
    background: rgba(118, 75, 162, 0.7);
}

/* Hero bölməsi */
#hero {
    position: relative;
    overflow: hidden;
}

/* Hero şəklini particle animasiyalarından qoru */
.hero-img img {
    position: relative;
    z-index: 10;
    /* Rotation animasiyasını ləğv et */
    animation: none !important;
    transform: none !important;
        bottom: -5rem;
}

/* Mobil üçün optimallaşdırma */
@media (max-width: 768px) {
    .particle {
        animation-duration: 12s;
    }
    
    .particle:nth-child(even) {
        display: none; /* Performans üçün bəzi particle-ları gizlət */
    }}

        /* CSS Variables */
    :root {
      --primary-color: #667eea;
      --primary-dark: #5a67d8;
      --primary-light: #7c8df0;
      --secondary-color: #764ba2;
      --accent-color: #00d4ff;
      --text-primary: #334155;
      --text-secondary: #64748b;
      --text-muted: #94a3b8;
      --light-color: #f8fafc;
      --lighter-color: #ffffff;
      --gradient-primary: linear-gradient(135deg, #667eea, #764ba2);
      --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
      --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
      --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
      --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --font-primary: 'Poppins', sans-serif;
      --font-secondary: 'Roboto', sans-serif;
    }

    /* Global Styles */
    body {
      font-family: var(--font-secondary);
      background: var(--gradient-light);
    }

    /* Particle System */
    .particle-system {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: -1;
      pointer-events: none;
      animation: particle-system-start 0.5s ease-in-out;
    }

    @keyframes particle-system-start {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }

    .particle {
      position: absolute;
      background: rgba(102, 126, 234, 0.6);
      border-radius: 50%;
      pointer-events: none;
      animation: float 20s infinite linear;
      will-change: transform, opacity;
    }

    /* Particle variations */
    .particle:nth-child(1) { width: 8px; height: 8px; left: 10%; animation-delay: -2s; animation-duration: 15s; }
    .particle:nth-child(2) { width: 12px; height: 12px; left: 20%; animation-delay: -4s; animation-duration: 18s; }
    .particle:nth-child(3) { width: 6px; height: 6px; left: 30%; animation-delay: -6s; animation-duration: 22s; }
    .particle:nth-child(4) { width: 10px; height: 10px; left: 40%; animation-delay: -8s; animation-duration: 16s; }
    .particle:nth-child(5) { width: 14px; height: 14px; left: 50%; animation-delay: -10s; animation-duration: 20s; }
    .particle:nth-child(6) { width: 8px; height: 8px; left: 60%; animation-delay: -12s; animation-duration: 17s; }
    .particle:nth-child(7) { width: 16px; height: 16px; left: 70%; animation-delay: -14s; animation-duration: 25s; }
    .particle:nth-child(8) { width: 5px; height: 5px; left: 80%; animation-delay: -16s; animation-duration: 14s; }
    .particle:nth-child(9) { width: 11px; height: 11px; left: 90%; animation-delay: -18s; animation-duration: 19s; }
    .particle:nth-child(10) { width: 7px; height: 7px; left: 15%; animation-delay: -20s; animation-duration: 21s; }
    .particle:nth-child(11) { width: 13px; height: 13px; left: 25%; animation-delay: -22s; animation-duration: 16s; }
    .particle:nth-child(12) { width: 9px; height: 9px; left: 35%; animation-delay: -24s; animation-duration: 23s; }
    .particle:nth-child(13) { width: 15px; height: 15px; left: 45%; animation-delay: -26s; animation-duration: 18s; }
    .particle:nth-child(14) { width: 6px; height: 6px; left: 55%; animation-delay: -28s; animation-duration: 15s; }
    .particle:nth-child(15) { width: 12px; height: 12px; left: 65%; animation-delay: -30s; animation-duration: 24s; }
    .particle:nth-child(16) { width: 8px; height: 8px; left: 75%; animation-delay: -32s; animation-duration: 17s; }
    .particle:nth-child(17) { width: 10px; height: 10px; left: 85%; animation-delay: -34s; animation-duration: 20s; }
    .particle:nth-child(18) { width: 14px; height: 14px; left: 95%; animation-delay: -36s; animation-duration: 22s; }

    @keyframes float {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      5% { opacity: 0.3; }
      10% { opacity: 1; }
      90% { opacity: 1; }
      95% { opacity: 0.3; }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    .particle:nth-child(odd) { background: rgba(118, 75, 162, 0.5); }
    .particle:nth-child(3n) { background: rgba(0, 212, 255, 0.4); }
    .particle:nth-child(5n) {
      box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
      background: rgba(102, 126, 234, 0.8);
    }
    .particle:nth-child(7n) {
      box-shadow: 0 0 15px rgba(118, 75, 162, 0.3);
      background: rgba(118, 75, 162, 0.7);
    }

    /* Hero Section */
    #hero {
      position: relative;
      overflow: hidden;
    }

    .hero-img img {
      position: relative;
      z-index: 10;
      animation: none !important;
      transform: none !important;
    }

    /* Services Section */
    .services-section {
      padding: 2rem 0;
      background: var(--gradient-light);
    }

    .section-title {
      text-align: center;
      margin-bottom: -4rem;
    }

    .section-title h2 {
      font-family: var(--font-primary);
      font-size: 2.8rem;
      color: var(--text-primary);
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .section-title p {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 650px;
      margin: 0 auto;
      line-height: 1.6;
    }


        .section-titles {
      text-align: center;
      margin-bottom: 2rem;
    }

    .section-titles h2 {
      font-family: var(--font-primary);
      font-size: 2.8rem;
      color: var(--text-primary);
      margin-bottom: -1rem;
      font-weight: 700;
    }

    .section-titles p {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto;
      line-height: 4;
    }

    .category-title {
      font-family: var(--font-primary);
      font-size: 1.8rem;
      color: var(--primary-color);
      margin-bottom: 2rem;
      text-align: center;
      font-weight: 600;
      position: relative;
    }

    .category-title::before {
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 150px;
      height: 2px;
      background: var(--primary-color);
      opacity: 0.6;
    }

    .service-card {
      background: var(--lighter-color);
      border-radius: 20px;
      padding: 2rem;
      box-shadow: var(--shadow-light);
      transition: var(--transition-base);
      height: 100%;
      border: 1px solid rgba(102, 126, 234, 0.08);
      position: relative;
      overflow: hidden;
      margin-bottom: 2rem;
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--gradient-primary);
      opacity: 0;
      transition: var(--transition-base);
      z-index: 1;
    }

    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
      border-color: var(--primary-color);
    }

    .service-card:hover::before {
      opacity: 0.03;
    }

    .service-card > * {
      position: relative;
      z-index: 2;
    }

    .service-icon {
      width: 70px;
      height: 70px;
      background: var(--gradient-primary);
      color: white;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      transition: var(--transition-base);
      box-shadow: var(--shadow-medium);
    }

    .service-card:hover .service-icon {
      transform: scale(1.05) rotate(3deg);
      box-shadow: var(--shadow-lg);
    }

    .service-title {
      font-family: var(--font-primary);
      font-size: 1.25rem;
      color: var(--text-primary);
      margin-bottom: 1rem;
      font-weight: 600;
      line-height: 1.4;
    }

    .service-description {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
    }

    .service-link {
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transition-base);
      font-size: 0.9rem;
    }

    .service-link:hover {
      color: var(--primary-dark);
      transform: translateX(5px);
    }

    .service-link i {
      transition: var(--transition-base);
    }

    .service-link:hover i {
      transform: translateX(3px);
    }

    /* Partners Section */
    .partner-logo {
      width: 100%;
      max-width: 120px;
      height: 80px;
      object-fit: contain;
      margin: 0 auto;
      display: block;
      transition: transform 0.3s ease;
    }

    .partner-logo:hover {
      transform: scale(1.05);
    }

    .partner-log {
      width: 100%;
      object-fit: contain;
      margin: 0 auto;
      display: block;
      transition: transform 0.3s ease;
    }

    .partner-log:hover {
      transform: scale(1.05);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .section-title h2 { font-size: 2.2rem; }
      .category-title { font-size: 1.5rem; }
      .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
      }
      .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
      }
      .particle:nth-child(even) { display: none; }
    }

    @media (max-width: 576px) {
      .services-section { padding: 3rem 0; }
      .section-title h2 { font-size: 1.9rem; }
      .service-card { padding: 1.2rem; margin-bottom: 1.5rem;}
      
    }

    
  #partners {
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    z-index: 1;
  }

  #partners .background-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 3rem;
  }

  #partners .background-logos img {
    max-width: 120px;
    filter: grayscale(100%);
  }

  #partners .section-title {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 2rem;
  }