/* ========== Global resets & typography ========== */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  color: #1a1a1a;
}

/* ========== Navbar ========== */
.navbar {
  background: linear-gradient(to right, #ffefef, #ffffff);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
/* Base nav-link styling */
.nav-link {
  color: #1a1a1a !important;
  font-weight: 400;
  font-size: clamp(0.7rem, 1vw + 0.2rem, 1.1rem);
  transition: 
    color 0.3s ease, 
    border-color 0.3s ease, 
    font-size 0.3s ease, 
    text-shadow 0.3s ease;
  position: relative;
  padding: 0.10rem 0;
}

/* Hover state */
.nav-link:hover {
  color: #e91e63 !important;
  text-decoration: none;
}

/* Active link styling */
.nav-link.active,
.nav-link:active {
  color: #e91e63 !important;
  font-weight: 700;
  font-size: clamp(0.8rem, 1vw + 0.3rem, 1.3rem); /* slightly larger for active */
  border-bottom: 2px solid #e91e63;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
  height: clamp(55px, 5vw, 70px);
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); /* subtle shadow */
}

/* Optional: Hover effect */
.navbar-brand img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(233, 30, 99, 0.5)); /* pink glow */
  cursor: pointer;
}



/* ========== Hero & Animated Images ========== */
.hero img,
.animated-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.hero img:hover,
.animated-img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* ========== Buttons ========== */
.btn-primary {
  background-color: #e91e63;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #d81b60;
}

/* ========== Sections ========== */
section {
  padding: 60px 0;
}

/* ========== Footer ========== */
footer {
  background: linear-gradient(to right, #ffffff, #ffefef);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}


footer img {
  height: 60px;
  margin-bottom: 15px;
}

footer p {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  color: #555;
  font-size: 0.95rem;
}

/* ========== Loader ========== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 90vh;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ========== Main Content Animation ========== */
.main-content {
  opacity: 0;
}

body.loaded .main-content {
  opacity: 1;
}

/* ========== SVG Worm Animation ========== */
.ip__track {
  stroke: hsl(223, 90%, 90%);
}

.ip__worm1,
.ip__worm2 {
  animation: worm1 2s linear infinite;
}

.ip__worm2 {
  animation-name: worm2;
}

@keyframes worm1 {
  from {
    stroke-dashoffset: 0;
  }
  50% {
    animation-timing-function: steps(1);
    stroke-dashoffset: -358;
  }
  50.01% {
    animation-timing-function: linear;
    stroke-dashoffset: 358;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes worm2 {
  from {
    stroke-dashoffset: 358;
  }
  50% {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -358;
  }
}

/* ========== Responsive tweaks ========== */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 40px;
  }
}
