/* Optimized Modern CSS - Performance Enhanced */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --dark-bg: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-dark: #2d3748;
  --shadow-light: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.15);
  --border-radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Modern Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  height: 70px;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo a {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Navigation Styles */
nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
  background: var(--primary-color);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
  background: var(--primary-color);
}

/* Container adjustment for fixed header */
.container {
  margin-top: 80px;
}

/* Modern Footer Styles */
footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

footer::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 1000 1000"><circle fill="rgba(255,255,255,0.02)" cx="100" cy="100" r="80"/><circle fill="rgba(255,255,255,0.01)" cx="900" cy="200" r="120"/><circle fill="rgba(255,255,255,0.015)" cx="200" cy="800" r="100"/></svg>');
  opacity: 0.3;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section {
  position: relative;
}

.footer-section h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  transition: transform 0.2s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

.footer-section ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: var(--primary-color);
  width: 16px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  /* Header Mobile */
  header {
    padding: 1rem;
    height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    transition: right 0.3s ease;
    z-index: 999;
    gap: 0;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    font-size: 1.2rem;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .container {
    margin-top: 70px;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1rem 2rem;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  header {
    padding: 0.8rem;
  }

  .logo-img {
    height: 40px;
  }

  .footer-content {
    padding: 2rem 1rem 1.5rem;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Optimized Hero Section */
.slide#home {
  background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 50%, #2d2d2d 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(118, 75, 162, 0.2) 0%,
      transparent 50%
    );
  opacity: 0.8;
}

/* Simplified particles for better performance */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.4;
  animation: simpleFloat 20s linear infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 3px;
  height: 3px;
  top: 80%;
  left: 80%;
  animation-delay: 5s;
}

.particle:nth-child(3) {
  width: 5px;
  height: 5px;
  top: 40%;
  left: 70%;
  animation-delay: 10s;
}

@keyframes simpleFloat {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-50px);
    opacity: 0;
  }
}

#fronText {
  position: relative;
  z-index: 3;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 60px 40px;
  max-width: 800px;
  backdrop-filter: blur(10px);
}

#fronText p {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
}

#fronText span {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 400;
  opacity: 0.9;
}

/* Optimized Modern Section Styling */
.main-section {
  padding: 80px 0;
  background: #f8fafc;
}

.section-container {
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.our-products h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.our-services h2 {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.our-services p {
  font-size: 1.2rem;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
}

.our-products p {
  font-size: 1.2rem;
  color: #000000;
  max-width: 600px;
  margin: 0 auto;
}

/* Optimized Card Grid */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin-bottom: 40px;
  margin: auto;
}

.modern-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-top: 3px solid var(--primary-color);
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon i {
  font-size: 1.8rem;
  color: white;
}

.modern-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.modern-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modern-btn {
  background: var(--primary-gradient);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.modern-btn:hover {
  transform: translateY(-2px);
}

/* Service Grid Design */
#custCat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  margin: 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(102, 126, 234, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 450px;
}

.service-item::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: left 0.6s ease;
}

.service-item:hover::before {
  left: 100%;
}

.service-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  transition: all 0.4s ease;
}

.service-icon i {
  font-size: 2.2rem;
  color: white;
  transition: all 0.3s ease;
}

.service-item:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.service-item:hover .service-icon i {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-item:hover .service-title {
  color: #667eea;
  transform: translateY(-3px);
}

.service-description {
  font-size: 1rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: auto;
  transition: all 0.3s ease;
  flex-grow: 1;
}

.service-item:hover .service-description {
  color: #4a5568;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 25px;
}

.feature-tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-item:hover .feature-tag {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.service-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  margin-top: 25px;
  align-self: center;
}

.service-item:hover .service-button {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Individual Service Colors */
.service-item:nth-child(1) .service-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-item:nth-child(2) .service-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-item:nth-child(3) .service-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-item:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.service-item:nth-child(5) .service-icon {
  background: linear-gradient(135deg, #ff9a8b 0%, #a8caba 100%);
}

.service-item:nth-child(6) .service-icon {
  background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.service-item:nth-child(7) .service-icon {
  background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.service-item:nth-child(8) .service-icon {
  background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}

.service-item:nth-child(9) .service-icon {
  background: linear-gradient(135deg, #ee9ca7 0%, #ffdde1 100%);
}

.service-item:nth-child(10) .service-icon {
  background: linear-gradient(135deg, #667db6 0%, #0082c8 100%);
}

.service-item:nth-child(11) .service-icon {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.service-item:nth-child(12) .service-icon {
  background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
}

.service-item:nth-child(13) .service-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-item:nth-child(14) .service-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-item:nth-child(1):hover {
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(2):hover {
  box-shadow: 0 25px 50px rgba(240, 147, 251, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(3):hover {
  box-shadow: 0 25px 50px rgba(79, 172, 254, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(4):hover {
  box-shadow: 0 25px 50px rgba(168, 237, 234, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(5):hover {
  box-shadow: 0 25px 50px rgba(255, 154, 139, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(6):hover {
  box-shadow: 0 25px 50px rgba(210, 153, 194, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(7):hover {
  box-shadow: 0 25px 50px rgba(137, 247, 254, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(8):hover {
  box-shadow: 0 25px 50px rgba(253, 187, 45, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(9):hover {
  box-shadow: 0 25px 50px rgba(238, 156, 167, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(10):hover {
  box-shadow: 0 25px 50px rgba(102, 125, 182, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(11):hover {
  box-shadow: 0 25px 50px rgba(255, 236, 210, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(12):hover {
  box-shadow: 0 25px 50px rgba(168, 230, 207, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(13):hover {
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(14):hover {
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item:nth-child(2):hover .service-title {
  color: #f5576c;
}

.service-item:nth-child(3):hover .service-title {
  color: #4facfe;
}

.service-item:nth-child(4):hover .service-title {
  color: #a8edea;
}

.service-item:nth-child(5):hover .service-title {
  color: #ff9a8b;
}

.service-item:nth-child(6):hover .service-title {
  color: #d299c2;
}

.service-item:nth-child(7):hover .service-title {
  color: #89f7fe;
}

.service-item:nth-child(8):hover .service-title {
  color: #fdbb2d;
}

.service-item:nth-child(9):hover .service-title {
  color: #ee9ca7;
}

.service-item:nth-child(10):hover .service-title {
  color: #667db6;
}

.service-item:nth-child(11):hover .service-title {
  color: #fcb69f;
}

.service-item:nth-child(12):hover .service-title {
  color: #88d8a3;
}

.service-item:nth-child(13):hover .service-title {
  color: #667eea;
}

.service-item:nth-child(14):hover .service-title {
  color: #10b981;
}

.service-item:nth-child(2) .service-button {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-item:nth-child(3) .service-button {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-item:nth-child(4) .service-button {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.service-item:nth-child(5) .service-button {
  background: linear-gradient(135deg, #ff9a8b 0%, #a8caba 100%);
}

.service-item:nth-child(6) .service-button {
  background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.service-item:nth-child(7) .service-button {
  background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.service-item:nth-child(8) .service-button {
  background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
}

.service-item:nth-child(9) .service-button {
  background: linear-gradient(135deg, #ee9ca7 0%, #ffdde1 100%);
}

.service-item:nth-child(10) .service-button {
  background: linear-gradient(135deg, #667db6 0%, #0082c8 100%);
}

.service-item:nth-child(11) .service-button {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.service-item:nth-child(12) .service-button {
  background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 100%);
}

.service-item:nth-child(13) .service-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-item:nth-child(14) .service-button {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-item:nth-child(2) .feature-tag {
  background: rgba(240, 147, 251, 0.1);
  color: #f5576c;
}

.service-item:nth-child(3) .feature-tag {
  background: rgba(79, 172, 254, 0.1);
  color: #4facfe;
}

.service-item:nth-child(2):hover .feature-tag {
  background: rgba(240, 147, 251, 0.2);
}

.service-item:nth-child(3):hover .feature-tag {
  background: rgba(79, 172, 254, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #custCat {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 15px;
  }

  .service-item {
    padding: 30px 25px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 1.8rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  #custCat {
    padding: 20px 10px;
  }

  .service-item {
    padding: 25px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .service-title {
    font-size: 1.2rem;
  }
}

/* Performance optimizations */
.modern-card,
.service-card {
  will-change: transform;
}

/* Minimal additional styles for performance */
.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 1000;
  border: none;
}

.floating-cta:hover {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  #fronText {
    padding: 40px 20px;
    margin: 0 20px;
  }

  .main-section {
    padding: 60px 0;
  }

  .particle:nth-child(n + 3) {
    display: none;
  }

  /* Reduce animations on mobile for better performance */
  .modern-card,
  .service-card {
    transition: none;
  }

  .modern-card:hover,
  .service-card:hover {
    transform: none;
  }
}
