/* =====================================================
   🌈 WebMorf Main Stylesheet
   Organized for clarity and easy maintenance
   ===================================================== */

/* -----------------------------------------------------
   GLOBAL STYLES
   ----------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Lato', sans-serif;
  color: #333;
}

/* Section headings */
h3 {
  font-size: 1.8rem !important;
  line-height: 1.3;
}

/* Service cards */
.service-card {
  border-radius: 1rem;
  background: #f9fafb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

/* -----------------------------------------------------
   HEADER / HERO
   ----------------------------------------------------- */

/* Morphing header gradient background */
.gradient-bg {
  background: linear-gradient(-45deg, #00AEEF, #7928CA, #FF0080);
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero heading mobile spacing */
@media (max-width: 768px) {
  header h2 {
    line-height: 1.5;
  }
}

/* Animated “M” logo gradient */
.m-animate {
  background: linear-gradient(270deg, #00AEEF, #7928CA, #FF0080);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: morphingGradient 6s ease infinite;
  display: inline-block;
}

@keyframes morphingGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -----------------------------------------------------
   NAVIGATION
   ----------------------------------------------------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  z-index: 50;
  overflow: hidden;
}

/* Ensure nav content sits above gradient effects */
nav > * {
  position: relative;
  z-index: 1;
}

/* Nav link base style */
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

/* Hover underline with gradient animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c6ff, #ff007f, #ffcc00);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Optional hover text color */
.nav-link:hover {
  color: #0077ff;
}

/* -----------------------------------------------------
   POPUPS / MODALS
   ----------------------------------------------------- */

/* Fade-in popup animation */
.popup-fade {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); opacity: 1; }
}

/* -----------------------------------------------------
   ANIMATIONS
   ----------------------------------------------------- */

/* Animated gradient movement (header + M) */
@keyframes navGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.cookie-link {
  color: rgb(242 244 114);
}
.cookie-link:hover {
  color: lightblue;
}

.send-btn {
  background-color: rgb(24, 141, 190);
  color: white;
  transition: background-color 0.3s ease;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.send-btn:hover {
  background-color: rgb(18, 115, 156);
}

.accept-btn {
  background-color: rgb(24, 141, 190);
  color: white;
  border-radius: 0.5rem;
  padding: 0.25rem 1.25rem;
  transition: background-color 0.3s ease;
}
.accept-btn:hover {
  background-color: rgb(18, 115, 156);
}