.fade { transition: opacity .6s ease-in-out; }
.glass { backdrop-filter: blur(10px); }
.gradient-border { 
  background: linear-gradient(white, white) padding-box, 
              linear-gradient(135deg, #1f3f7a, #12a4b5) border-box; 
  border: 2px solid transparent; 
}
.floating-animation {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from { box-shadow: 0 0 20px rgba(31, 63, 122, 0.3); }
  to { box-shadow: 0 0 30px rgba(18, 164, 181, 0.5); }
}
.font-heading {
  font-family: 'Montserrat', sans-serif;
}
.font-body {
  font-family: 'Open Sans', sans-serif;
}
.btn-corporate {
  background: linear-gradient(135deg, #1f3f7a 0%, #12a4b5 100%);
  transition: all 0.3s ease;
}
.btn-corporate:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(18, 164, 181, 0.3);
}
.card-corporate {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}
.card-corporate:hover {
  border-left-color: #12a4b5;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.testimonial-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f3f7a 0%, #12a4b5 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 768px) {
  .back-to-top {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
  }
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, #1f3f7a 0%, #12a4b5 100%);
  width: 60px;
  margin: 0 auto 30px;
}
.hero-overlay {
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(31, 63, 122, 0.75) 100%);
}

.mega {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.group:hover .mega,
.mega:hover {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0);
}
/* sol kolon ince kaydırma */
.thin-scroll::-webkit-scrollbar { width: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background:#e2e8f0; border-radius: 8px; }

/* Category switching styles */
.category-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.category-content.active {
  display: block;
  opacity: 1;
}
.category-item.active {
  background: linear-gradient(135deg, #1f3f7a 0%, #12a4b5 100%) !important;
  color: white !important;
}
.category-item.active i {
  color: white !important;
}

/* Mobile responsive improvements */
@media (max-width: 1023px) {
  .mega {
    display: none !important;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
  }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .product-card {
    margin-bottom: 1rem;
  }

  .text-xl { font-size: 1.125rem; }
  .text-2xl { font-size: 1.5rem; }
  .text-3xl { font-size: 1.875rem; }
  .text-4xl { font-size: 2rem; }
  .text-5xl { font-size: 2.25rem; }
  .text-6xl { font-size: 2.5rem; }
  
  .px-8 { padding-left: 1rem; padding-right: 1rem; }
  .py-12 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-16 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
  
  .mb-16 { margin-bottom: 3rem; }
  .mb-20 { margin-bottom: 3rem; }
  .mb-24 { margin-bottom: 4rem; }
  
  .rounded-2xl { border-radius: 1rem; }
  .rounded-3xl { border-radius: 1.5rem; }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .px-4 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .py-8 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  
  .text-lg { font-size: 1rem; }
  .text-xl { font-size: 1.125rem; }
  .text-2xl { font-size: 1.25rem; }
  .text-3xl { font-size: 1.5rem; }
  .text-4xl { font-size: 1.75rem; }
  .text-5xl { font-size: 2rem; }
  
  .gap-3 { gap: 0.5rem; }
  .gap-4 { gap: 0.75rem; }
  .gap-6 { gap: 1rem; }
  .gap-8 { gap: 1.25rem; }
}

/* Touch device improvements */
  
  .text-6xl {
    font-size: 3rem;
  }

  .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
/* Mobile responsive improvements */
@media (max-width: 1023px) {
  .mega {
    display: none !important;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 30;
  }
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .product-card, .card-corporate {
    margin-bottom: 1rem;
  }
  
  .text-xl { font-size: 1.125rem; }
  .text-2xl { font-size: 1.5rem; }
  .text-3xl { font-size: 1.875rem; }
  .text-4xl { font-size: 2rem; }
  .text-5xl { font-size: 2.25rem; }
  .text-6xl { font-size: 2.5rem; }
  
  .px-8 { padding-left: 1rem; padding-right: 1rem; }
  .py-12 { padding-top: 2rem; padding-bottom: 2rem; }
  .py-16 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
  
  .mb-16 { margin-bottom: 3rem; }
  .mb-20 { margin-bottom: 3rem; }
  .mb-24 { margin-bottom: 4rem; }
  
  .rounded-2xl { border-radius: 1rem; }
  .rounded-3xl { border-radius: 1.5rem; }
  
  .max-w-7xl { max-width: 100%; }
  .max-w-6xl { max-width: 100%; }
  .max-w-5xl { max-width: 100%; }
  .max-w-4xl { max-width: 100%; padding: 0 1rem; }
  .max-w-2xl { max-width: 100%; padding: 0 0.5rem; }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .px-4 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .py-8 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  
  .text-base { font-size: 0.9rem; }
  .text-lg { font-size: 1rem; }
  .text-xl { font-size: 1.125rem; }
  .text-2xl { font-size: 1.25rem; }
  .text-3xl { font-size: 1.5rem; }
  .text-4xl { font-size: 1.75rem; }
  .text-5xl { font-size: 2rem; }
  
  .gap-3 { gap: 0.5rem; }
  .gap-4 { gap: 0.75rem; }
  .gap-6 { gap: 1rem; }
  .gap-8 { gap: 1.25rem; }
  .gap-12 { gap: 1.5rem; }
  
  .grid-cols-2 { grid-template-columns: 1fr; }
  .grid-cols-3 { grid-template-columns: 1fr; }
  .grid-cols-4 { grid-template-columns: 1fr; }
  
  table { font-size: 0.875rem; }
  th, td { padding: 0.5rem !important; }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .hover\:scale-105:hover {
    transform: none;
  }
  
  .hover\:-translate-y-1:hover {
    transform: none;
  }
  
  .card-corporate:hover {
    transform: translateY(0);
  }
}
