@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
  --color-primary: #F2A220;
  --color-primary-dark: #d98f1a;
  --color-navy: #102D43;
  --color-navy-light: #163F5E;
  --color-light: #E8E8E8;
  --color-text: #243746;
  --color-white: #FFFFFF;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* Pause marquee on hover */
.marquee-container:hover .animate-marquee {
  animation-play-state: paused;
}

/* Custom Gradients & Backgrounds */
.bg-gradient-navy {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
}

.text-gradient {
  background: linear-gradient(to right, var(--color-primary), #ffb742);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar customization for a premium feel */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-light); 
}
::-webkit-scrollbar-thumb {
  background: var(--color-navy); 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary); 
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(16, 45, 67, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Utility to ensure AOS works well with overflow */
html {
  scroll-behavior: smooth;
}

/* Pulse animation for WhatsApp */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-ring 2s infinite;
}

/* Project Card Image Zoom */
.project-card {
  overflow: hidden;
}
.project-card img {
  transition: transform 0.5s ease;
}
.project-card:hover img {
  transform: scale(1.1);
}
.project-card .overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-card:hover .overlay {
  opacity: 1;
}
