* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background-color: #0d0a1f; /* dark base color */
  background-image: linear-gradient(
    135deg,
    #1c163a 0%,
    #0d0a1f 50%,
    #2b1f4d 100%
  );
  font-size: 62.5%;
  scroll-behavior: smooth;
  /* position: relative; important for body::before */
  min-height: 100%;
}
@font-face {
  font-family: "Poppins";
  src: url("Poppins-Regular.woff2") format("woff2"),
    url("Poppins-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Bold.woff2") format("woff2"),
    url("/fonts/Poppins-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
body {
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  margin: 0;
  min-height: 100vh;
  color: #ffffff;
  background: inherit; /* use the html background */
  position: relative; /* ensure pseudo-element works */
  overflow-x: hidden;
}
body::before {
  content: "";
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.04),
      transparent 50%
    );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}
html,
body {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
h1 {
  text-align: center;
  margin-bottom: 30px;
}
h3 {
  margin: 6px;
}

/* NAVIGATION  */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* smoother ease-out */
}
.navbar-brand svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* smooth transform + color */
} /* Hover effect */
.navbar-brand:hover {
  color: #813ffb;
  transform: scale(1.07); /* slightly larger pop */
}
.navbar-brand:hover svg {
  transform: scale(1.25) rotate(-5deg); /* more playful but smooth */
  fill: #813ffb;
} /* Responsive tweaks */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1rem;
  }
  .navbar-brand svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}
.navbar-nav .nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  margin-right: 0.3rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover svg {
  transform: scale(1.2);
  fill: #813ffb;
}
.navbar-nav .nav-link {
  color: #fff;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #813ffb;
}
.glassy-navbar {
  background: rgba(12, 10, 25, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 0.6rem 0;
}
.glassy-navbar.scrolled {
  background: rgba(12, 10, 25, 0.92);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}
.glassy-navbar .navbar-brand {
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
}
.glassy-navbar .navbar-brand:hover {
  color: #d7d3ff;
}
.glassy-navbar .nav-link {
  position: relative;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s ease;
}
.glassy-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, #fc466b, #3f5efb);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.glassy-navbar .nav-link:hover::after,
.glassy-navbar .nav-link.active::after {
  transform: scaleX(1);
}
.glassy-navbar .nav-link:hover {
  color: #e4e4ff;
  transform: translateY(-2px);
}
/* Burger Icon  */
.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
} /* HEADER */
header {
  font-size: 2rem;
  margin-top: 30px;
} /* CAROUSEL */
.text-carousel {
  position: relative;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.carousel-item {
  position: relative;
  overflow: hidden;
  height: 60vh; /* Adjust this height as needed */
  min-height: 300px;
}
.carousel-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* scale and crop correctly */
  z-index: 0;
}
.carousel-caption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

@media (max-width: 834px) {
  .carousel-item {
    height: 10vh;
    min-height: 300px;
  }
  .carousel-video-bg {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .carousel-caption {
    padding: 1rem;
  }
}

.desktop-video {
  display: block;
}
.mobile-video {
  display: none;
}

@media (max-width: 834px) {
  .desktop-video {
    display: none;
  }
  .mobile-video {
    display: block;
  }
}

.hero-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(109, 80, 110, 0.2);  */
  z-index: 1;
}

/* MAIN */
.home-card {
  position: relative;
  border-radius: 20px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: white;
    animation: pulse-border-light 10s infinite ease-in-out;
}
.home-card .card-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s ease, opacity 0.5s ease;
} /* Only the hovered card expands */
.home-card:hover .card-text {
  max-height: 500px; /* ensure this is enough for the largest card */
  opacity: 1;
  margin-top: 1rem;
}
.home-card:hover {
  box-shadow: 8px 8px 8px 3px #433b7228;
}

/* Subtle pulsing border glow using line colors */
@keyframes pulse-border {
  0% {
    box-shadow: 0 0 8px rgba(252, 70, 107, 0.2), 0 0 8px rgba(63, 94, 251, 0.2);
  }
  50% {
    box-shadow: 0 0 14px rgba(252, 70, 107, 0.35),
      0 0 14px rgba(63, 94, 251, 0.35);
  }
  80% {
    box-shadow: 0 0 8px rgba(252, 70, 107, 0.2), 0 0 8px rgba(63, 94, 251, 0.2);
  }
}

/* Card titles */
.home-card .card-title {
  font-family: "Poppins", sans-serif; /* clean, modern */
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1.4;
  color: #fff; /* soft white */
  margin-bottom: 1rem;
  text-align: center; /* center aligns title nicely */
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Card text */
/* Card titles */
.home-card .card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500; /* lighter than before */
  font-size: 1.6rem;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 0.8rem;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Optional: subtle scale-up on hover */
.home-card:hover .card-title {
  transform: scale(1.02);
}

/* Card text */
.home-card .card-text {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem; /* bigger for readability */
  line-height: 1.8; /* more spacing between lines */
  color: #e5e5e5;
  text-align: center;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease, opacity 0.5s ease;
  padding: 0 1rem;
}

/* Reveal text on hover */
.home-card:hover .card-text {
  max-height: 600px;
  opacity: 1;
  margin-top: 1rem;
}

/* Optional: staggered fade-in for paragraphs */
.home-card .card-text p {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-card:hover .card-text p:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.home-card:hover .card-text p:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.home-card:hover .card-text p:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .home-card .card-title {
    font-size: 1.5rem;
  }
  .home-card .card-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .home-card .card-title {
    font-size: 1.3rem;
  }
  .home-card .card-text {
    font-size: 1.1rem;
  }
}

/* LINE */
.line {
  height: 4px;
  background: linear-gradient(90deg, #fc466b 0%, #3f5efb 100%);
  box-shadow: 0 0 12px rgba(252, 70, 107, 0.6), 0 0 12px rgba(63, 94, 251, 0.6);
  margin: 2rem 0;
  border-radius: 2px;
}
.section-line {
  position: absolute;
  left: 0;
  width: 100vw;
  height: 4px;
  background: linear-gradient(90deg, #fc466b 0%, #3f5efb 100%);
  box-shadow: 0 0 12px rgba(252, 70, 107, 0.6), 0 0 12px rgba(63, 94, 251, 0.6);
  border-radius: 2px;
  margin-top: 3rem; /* adjust vertical spacing */
  z-index: 1;
}

/* ABOUT ME */
.about-me .card-body {
  background: rgba(0, 0, 0, 0.45); /* slightly darker */
  backdrop-filter: blur(18px);
  padding: 3rem 2rem;
  border-radius: 20px;
  line-height: 1.9;
  font-size: 1.8rem;
  color: #f8f8f8; /* bright but soft white */
  text-align: center; /* Left-align text for readability */
  max-width: 700px; /* Prevent lines from stretching too far */
  margin: 0 auto 1.5rem; /* Center the block with spacing below */
  line-height: 1.8; /* Slightly more spacing between lines */
  font-size: 1.8rem; /* Maintain your current font size */
  word-break: break-word;
}

.about-me.card-body p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.about-me-box {
  position: relative;
  padding: 8px;
  color: white;
  padding-bottom: 6rem;
  overflow: visible;
  z-index: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.about-me.card {
  position: relative;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: #f1f1f1;
  transition: all 0.4s ease;
  padding-top: 6rem;
  overflow: visible;
  z-index: 1;
  margin-bottom: 5rem;
  margin-top: 10rem; /* pushes the whole section down */
}
@media (max-width: 800px) {
  .about-me.card {
    margin-top: 6rem;
  }
}

.about-me.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
}
.about-me {
  display: flex;
  border: none;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 2px;
  border-radius: 20px;
  padding: 20px 15px;
  transition: all 0.3s ease-in-out;
  box-shadow: 8px 8px 8px 8px #433b7228;
  font-size: 1.8rem;
  line-height: 1.7;
}
.about-me img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 4px solid rgba(170, 130, 175, 0.3);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: block;
  margin: -140px auto 30px auto;
}

@media (max-width: 800px) {
  .about-me img {
    margin: 0 auto 15px auto; /* remove negative top margin */
    width: 200px;
    height: 200px;
  }
}

.about-float {
  animation: floatY 4s ease infinite;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  /* Always visible About Me card on mobile */
  .about-me.card {
    opacity: 1; /* fully visible */
    transform: translateY(0); /* no offset */
    transition: none; /* remove fade-in effect */
  }

  /* Image size and float effect */
  .about-me img.about-float {
    width: 250px;
    height: 250px;
    margin: -125px auto 20px auto;
    transition: transform 2s ease-in-out;
    animation: floatY 4s ease-in-out infinite; /* always floating */
  }

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

/* REEL */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 5rem;
}

@media (max-width: 800px) {
  .video-wrapper {
    margin-top: 2rem;
  }
}

.video-wrapper video {
  width: 100%;
  height: auto; /* scale proportionally */
  object-fit: contain; /* prevent cropping */
  border-radius: inherit; /* inherit from wrapper */
}

.reel-section {
  position: relative;
  padding: 8rem;
  background: radial-gradient(
    circle at top,
    rgba(17, 9, 22, 0.7),
    rgba(15, 20, 40, 0.95)
  );
  color: white;
  backdrop-filter: blur(10px);
} /* ===== Video Styling ===== */
.reel-section video {
  width: 100%;
  border-radius: 20px;
  filter: blur(12px) brightness(0.9);
  transition: filter 0.5s ease;
  cursor: pointer;
  display: block;
  object-fit: cover;
}
.reel-section.video-active {
  background: rgba(15, 20, 40, 0.85); /* slightly darker overlay */
  transition: background 0.5s ease;
} /* ===== Overlay for play button ===== */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; /* center SVG */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3); /* optional overlay */
  border-radius: inherit;
}
.video-overlay svg {
  width: 4rem;
  height: 4rem;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}
.video-overlay:hover {
  background: rgba(0, 0, 0, 0.45);
} /* ===== Play Icon ===== */

/* ===== Loading Spinner ===== */
.loading-spinner {
  position: absolute;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

/* ILLUSTRATION */

.illustration-cta {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

/* Wrapper: perfect circle */
.illustration-thumb-wrapper {
  width: 20vw; /* relative to viewport width */
  height: 20vw; /* keeps it square */
  max-width: 300px; /* desktop max size */
  max-height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(170, 130, 175, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration-thumb {
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

.illustration-thumb-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Row of thumbnails */
.illustration-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10rem;
  margin-bottom: 5rem;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 800px) {
  .illustration-thumb-wrapper {
    width: 30vw; /* slightly larger relative to screen */
    height: 30vw;
    max-width: 150px; /* keep original max */
    max-height: 150px;
    margin: 0 10px 20px;
  }

  .illustration-row {
    gap: 15px;
  }
}

.illustration-full-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  flex-direction: column;
  transition: opacity 0.3s;
}

.illustration-full-overlay.d-none {
  display: none;
}

.full-image {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-overlay {
  color: white;
  font-size: 3rem;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 40px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: color 0.3s ease;
  z-index: 1065;
}

.arrow:hover {
  color: #813ffb;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.illustration-thumb-wrapper {
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 0 rgba(170, 130, 175, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(170, 130, 175, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(170, 130, 175, 0.3);
  }
}

/* CONTACT */
.contact-section {
  position: relative;
  background: linear-gradient(90deg, #fc466b 0%, #3f5efb 100%);
  box-shadow: 0 0 5px rgba(252, 70, 107, 0.6), 0 0 12px rgba(63, 94, 251, 0.6);
  margin: 2rem 0;
  border-radius: 2px;
  overflow: hidden;
  color: #0e1018;
  border-radius: 20px;
}
.gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}
.glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.contact-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 1rem auto 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, #fc466b, #3f5efb);
}
.send-email-btn {
  background: radial-gradient(circle, #4c3ffb 0%, #3f5efb 100%);
  color: white;
  border-radius: 36px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.send-email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(90deg, #3f5efb 0%, #bc4d99 100%);
  color: white;
}
.send-email-btn svg {
  width: 1.5rem; /* size of the icon */
  height: 1.5rem;
  margin-right: 0.5rem; /* space between icon and text */
  vertical-align: middle; /* aligns icon with text */
  fill: white; /* change the icon color */
  transition: transform 0.3s ease, fill 0.3s ease;
} /* Hover effect */
.send-email-btn:hover svg {
  transform: rotate(-10deg) scale(1.1);
  fill: #eab4ff; /* optional hover color */
}

/* BUTTONS */
.unmute-btn {
  padding: 10px 0;
  margin-left: 10px;
  margin-top: 10px;
  width: 150px;
  font-size: 18px;
  background-color: #a969c9;
  color: white;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.mute-btn {
  padding: 10px 0;
  margin-left: 10px;
  margin-top: 10px;
  width: 150px;
  font-size: 18px;
  background: radial-gradient(
    circle,
    #4c3ffb 0%,
    #3f5efb
  ); /* background: radial-gradient(circle, rgb(129, 63, 251), #6a38c5 100%); */
  color: white;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  transition: background 0.8s ease, transform 0.3s ease;
  box-shadow: 5px 5px 5px 3px #00000028;
}
.mute-btn:hover {
  /* background: linear-gradient(90deg, #3f5efb 0%, #fc466b 100%); */ /* background: linear-gradient(90deg, #3f5efb 0%, rgb(129, 63, 251)); */
  background: linear-gradient(90deg, #3f5efb 0%, #bc4d99 100%)
  transform: translateY(
    -3px
  ); /* box-shadow: 0 0 15px rgba(255, 120, 244, 0.596), 0 0 20px #6639afa9,0 0 30px #452b8b9d; */
  box-shadow: 0 0 10px rgba(186, 116, 243, 0.527);
}

.learn-more-btn {
  padding: 10px 0;
  margin-left: 10px;
  margin-top: 10px;
  width: 150px;
  font-size: 18px;
  background: radial-gradient(circle, #4c3ffb 0%, #3f5efb);
  color: white;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  transition: background 0.8s ease, transform 0.3s ease;
  box-shadow: 5px 5px 5px 3px #433b7228;
}
.learn-more-btn:hover {
  background: linear-gradient(90deg, #3f5efb 0%, #813ffb);
  background: linear-gradient(90deg, #3f5efb 0%, #bc4d99 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* box-shadow: 0 0 10px rgb(186, 116, 243); */
  color: white;
} /* Modern animated spinner for video thumbnail */
#videoLoader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(#bc4d99 0deg, #3f5efb 180deg, #bc4d99 360deg);
  animation: spin 1s linear infinite;
  z-index: 20;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: none;
}

@keyframes pulse-border-learn-more {
  0% {
    box-shadow: 0 0 8px rgba(252, 70, 107, 0.2), 0 0 8px rgba(63, 94, 251, 0.2);
  }
  50% {
    box-shadow: 0 0 14px rgba(252, 70, 107, 0.35),
      0 0 14px rgba(63, 94, 251, 0.35);
  }
  100% {
    box-shadow: 0 0 8px rgba(252, 70, 107, 0.2), 0 0 8px rgba(63, 94, 251, 0.2);
  }
}

.learn-more-btn,
.send-email-btn {
  animation: pulse-border-learn-more 6s infinite ease-in-out;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
#remoteVideo {
  filter: blur(12px);
  transition: filter 0.5s ease;
} /* FOOTER */
footer {
  font-size: 1.6rem;
}
.darkblue-background {
  /* background: radial-gradient( circle at top, rgba(17, 9, 22, 0.7), rgba(15, 20, 40, 0.95) ); backdrop-filter: blur(10px); */
  background: none;
}
.icon {
  display: inline-block;
  width: 1.6em;
  height: 1.6em;
  fill: currentColor;
  vertical-align: middle;
  margin-right: 0.5em;
  transition: transform 0.3s ease, color 0.3s ease;
  animation: gradientShift 3s linear infinite, float 3s ease-in-out infinite;
}
/* Hover "pop" effect */
.home-card:hover .icon {
  animation: gradientShift 3s linear infinite, pop 0.5s ease forwards;
  color: #813ffb;
} /* Pop keyframes */
@keyframes pop {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.3) rotate(-5deg);
  }
  100% {
    transform: translateY(0) scale(1.2) rotate(0deg);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
} /* --- Modern Navbar --- */
.modern-navbar {
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 22, 0.75);
  color: #fff;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.navbar-logo {
  /* font-family: "Poppins", sans-serif; */
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #fff;
}
.nav-links li {
  list-style: none;
  margin-left: 2rem;
}
.nav-links a {
  color: #fff;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fc466b, #3f5efb);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 50%;
} /* --- Mobile menu --- */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}
.mobile-menu {
  display: none;
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(10px);
  padding-bottom: 1rem;
  transition: max-height 0.4s ease;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  color: #fff;
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.mobile-menu a:hover {
  color: #fc466b;
} /* --- Scroll effect --- */
.scrolled {
  background: rgba(18, 18, 22, 0.95);
  padding: 0.6rem 0;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.scroll-animate.scrolled-into-view {
  opacity: 1;
  transform: translateY(0);
}

/* About Me (cards) */
.about-me.card.scroll-animate {
  transform: translateY(25px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.about-me.card.scroll-animate.scrolled-into-view {
  transform: translateY(0);
  opacity: 1;
}

/* Home Section */
#home.scroll-animate {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
#home.scroll-animate.scrolled-into-view {
  transform: translateY(0);
  opacity: 1;
}

/* Contact Section */
.contact-section.scroll-animate {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.9s ease, opacity 0.6s ease;
}
.contact-section.scroll-animate.scrolled-into-view {
  transform: translateY(0);
  opacity: 1;
}

/* Reel Section scroll animation */
.scroll-inner.scroll-animate {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.9s ease, opacity 0.6s ease;
}

.scroll-inner.scroll-animate.scrolled-into-view {
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 834px) {
  .carousel-caption .text-carousel {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
}

/* ===========================
   XL 1200px+
=========================== */
@media (min-width: 1200px) {
  .col-md-4.home-box {
    flex: 1 1 30%;
  }
}

/* ===========================
   1300px+
=========================== */
@media (min-width: 800px) {
  .carousel-item {
    height: 400px;
  }
}

/* ===========================
   Hide basket text on phones
=========================== */
@media (max-width: 700px) {
  .basket-text {
    display: none;
  }
}

/* ===========================
   Medium Screens (Bootstrap md-lg)
=========================== */
@media (max-width: 991px) {
  .navbar-collapse .nav-item .nav-link {
    justify-content: center !important;
    text-align: center;
    display: flex;
    align-items: center;
  }

  .navbar-collapse .nav-item .nav-link i {
    margin-right: 0.4rem;
  }
}

/* ===========================
   Small screens ~800px
=========================== */
@media (max-width: 800px) {
  .about-me img {
    width: 250px;
    height: 250px;
    margin: -125px auto 20px auto; /* reduce negative margin for mobile */
  }

  .about-me.card.scroll-animate {
    opacity: 1 !important; /* make sure it’s visible */
    transform: translateY(0) !important;
  }
}

/* ===========================
   Home boxes layout
=========================== */

/* force row alignment on large screens */
.home-boxes .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2rem;
}

.home-boxes .col-lg-5 {
  flex: 1 1 30%;
  max-width: 33%;
}

/* stack them when screen < 1100px */
@media (max-width: 1100px) {
  .home-boxes .row {
    flex-wrap: wrap;
  }

  .home-boxes .col-lg-5 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Phones (xs & small screens) */
@media (max-width: 575.98px) {
  .reel-section {
    padding: 3rem 1rem;
  }

  /* make the video visibly taller */
  .ratio-16x9 {
    min-height: 260px;
  }

  .reel-section video {
    filter: blur(8px) brightness(0.95);
    border-radius: 14px;
  }

  .video-overlay svg {
    width: 3rem;
    height: 3rem;
  }
}

@media (hover: none) {
  .about-me.card {
    transform: translateY(25px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
  }

  .about-me.card.scrolled-into-view {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (hover: hover) {
  /* About Me Card */
  .about-me.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .about-me.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5);
  }

  /* Contact Card (glass part only) */
  .contact-section .glass-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .contact-section .glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  }
}

/* HOVER ON MOBILE */

@media (max-width: 800px) {
  /* ----- About Me Card ----- */
  .about-me.card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.08);
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    transition: none !important;
  }

  /* ----- About Me Image ----- */
  .about-me img.about-float {
    animation: none !important;
    width: 200px;
    height: 200px;
    margin: -100px auto 15px auto;
    border-radius: 50%;
    display: block;
    transition: none;
  }

  /* ----- Disable Scroll Animations ----- */
  .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* ----- Disable Hover Effects ----- */
  .about-me.card:hover,
  .contact-section .glass-card:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  }

  /* ----- Disable Infinite Animations ----- */
  .learn-more-btn,
  .send-email-btn,
  .icon {
    animation: none !important;
  }

  /* ----- Reel Video Adjustments ----- */
  .reel-section video {
    filter: none !important;
    border-radius: 20px; /* consistent rounding on mobile */
  }

  .video-wrapper {
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .video-overlay {
    border-radius: 20px !important;
  }

  /* ----- Shadows ----- */
  .about-me .card-body,
  /* .home-card, */
  .glass-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  }

  /* ----- Font Sizes ----- */
  .home-card .card-title,
  .home-card .card-text {
    font-size: 1.6rem !important;
  }

  .carousel-caption .text-carousel {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  /* ----- Contact Card ----- */
  .contact-section .glass-card {
    background: #ffffff !important;
    color: #0e1018 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }
}

@media (max-width: 800px) {
  .about-me-box .section-title {
    margin-bottom: 2rem !important;
  }
}

.modal-backdrop {
  z-index: 1055; /* default */
}

.modal {
  z-index: 1060; /* above navbar and overlays */
}
