/* ========================================
   FlowSolu - Global Styles
   ======================================== */

/* Ensure body has proper padding to account for fixed header */
body {
  padding-top: 80px; /* Mobile height */
}

@media (min-width: 1024px) {
  body {
    padding-top: 96px; /* Desktop height */
  }
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}

/* ========================================
   Header Styles
   ======================================== */

/* Initial header styles - solid dark background with light text */
#mainHeader {
  background-color: #181818;
}

#logoText,
.nav-link,
.mobile-nav-link {
  color: #ffffff;
}

#menuIcon {
  color: #2663d9;
}

#closeIcon {
  color: rgba(38, 99, 216, 1);
}

#mobileMenuBtn {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(38, 99, 216, 1);
}

/* Header transitions are handled via JavaScript */

/* ========================================
   Hero Section Styles
   ======================================== */

/* Hero section with dark gradient background and overlay */
#hero-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  position: relative;
}

/* Ensure hero content stays above overlays */
#hero-section > .container {
  position: relative;
  z-index: 10;
}

/* Floating Cards Animation */
.floating-card {
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Progress Bar Animation - Removed (no longer used) */

/* Stats Section Styles */
.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.1);
}

/* ========================================
   Service Cards Styles
   ======================================== */

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .blob {
    width: 250px !important;
    height: 250px !important;
  }
}

/* ========================================
   Projects Gallery Styles
   ======================================== */

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
}

/* Fade-in animation */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation for project cards */
.project-card:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.project-card:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.project-card:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.project-card:nth-child(4) {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.project-card:nth-child(5) {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.project-card:nth-child(6) {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   About Section Styles
   ======================================== */

#about img {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

#about img:hover {
  transform: scale(1.05);
  opacity: 1 !important;
}

/* About cards hover effect */
#about .p-8 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .p-8:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom scrollbar for better UX (optional) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #2663d9;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e4fb8;
}
