@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

@font-face {
  font-family: "VisbySemibold";
  /* <-- This is what you should use */
  src: url(../fonts/visby/VisbySemibold.woff2);
}

@font-face {
  font-family: "Visbybold";
  /* <-- This is what you should use */
  src: url(../fonts/visby/Visbybold.woff2);

}

@font-face {
  font-family: "VisbyExtrabold";
  /* <-- This is what you should use */
  src: url(../fonts/visby/VisbyExtrabold.woff2);

}

@font-face {
  font-family: "VisbyMedium";
  /* <-- This is what you should use */
  src: url(../fonts/visby/VisbyMedium.woff2);

}

@font-face {
  font-family: "VisbyRegular";
  /* <-- This is what you should use */
  src: url(../fonts/visby/VisbyRegular.woff2);

}

@font-face {
  font-family: "VisbyHeavy";
  /* <-- This is what you should use */
  src: url(../fonts/visby/VisbyHeavy.woff2);

}

@font-face {
  font-family: "Geraldica";
  /* <-- This is what you should use */
  src: url(../fonts/Geraldica.woff2);

}

@font-face {
  font-family: "Dashing";
  /* <-- This is what you should use */
  src: url(../fonts/Dashing.woff2);

}

@font-face {
  font-family: "ViableLogic";
  /* <-- This is what you should use */
  src: url(../fonts/ViableLogic.woff2);

}

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}
body {
  font-family: 'VisbySemibold';
  background: #f8f8f8;
  min-width: 400px;
}

main {
  padding-top: 15%;

}

.icon:hover {
  fill: #d60029;
}

/* NAVIGATION BAR */
.navbar {
  background-color: rgba(248, 248, 248, 0.65);
  /* semi-transparent */
  backdrop-filter: blur(10px);
  /* apply blur to what's behind */
  -webkit-backdrop-filter: blur(10px);
  /* for Safari support */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* optional: adds subtle shadow */
}

.special-txt {
  font-family: 'Geraldica';
  color: #d60029;
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-top: 0.5%;
}

/* LOGO */
.nav-logo {
  padding-left: 2%;
  gap: 0.5rem;
  /* space between icons */
  cursor: pointer;
}

.nav-logo a {
  display: flex;
  align-items: center;
  height: 2.5em;
  flex-shrink: 0;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.home a {
  transition: transform 0.3s ease, fill 0.3s ease;
}

.nav-logo svg,
.nav-logo img {
  width: auto;
  height: clamp(100%, 4vw, 2.5em);
  transition: transform 0.3s ease, fill 0.3s ease;
}

.nav-logo:hover svg {
  transform: scale(1.05);
  cursor: pointer;
}

.nav-logo:hover svg path {
  fill: #d60029;
  /* hover color:, change as you like */
}

.home:hover svg path {
  fill: #d60029;
  /* hover color:, change as you like */
  transform: scale(1.05);
  cursor: pointer;

}

/* HAMBURGER MENU BUTTON */
.nav-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  /* Default: hidden */
  z-index: 1100;
  /* Makes sure it stays above the menu */
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  grid-column: 2;
  padding-right: 5%;
}

.nav-links li a {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.3s ease;
  font-family: 'VisbyExtrabold';
}

.nav-links li a:hover {
  color: #d60029;
  transform: scale(1.1);
}

.about-title {
  width: 70%;
  margin-left: 15%;
}

h1.about-title {
  font-family: 'VisbyHeavy';
  text-align: center;
  color: #333;
  margin-top: 2%;
}

.lottie-wrapper {
  position: relative;
  width: 20%;
  margin: 2rem auto;
  aspect-ratio: 1 / 1;
  /* keeps it square */
  margin-top: 10%;
}

.lottie-wrapper dotlottie-player {
  width: 100%;
  height: 100%;
  display: block;

}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}


.lottie-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10%;
}

.lottie-caption-top {
  color: black;
  font-size: clamp(1.2rem, 2.5vw, 2.9rem);
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  font-family: 'VisbyExtrabold', sans-serif;
  margin-bottom: 0;
  /* spacing between text and animation */
}

.lottie-wrapper1 {
  width: 20%;
  aspect-ratio: 1 / 1;
  margin-top: -8%;
}

.lottie-wrapper1 lottie-player {
  width: 100%;
  height: 100%;
  display: block;
}

.lottie-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  /* Adjust based on background */
  font-size: clamp(1rem, 2.5vw, 2.5rem);
  /* scales with screen */
  font-weight: 600;
  text-align: center;
  pointer-events: none;
  font-family: 'VisbyExtrabold', sans-serif;
}

.descript-container {
  width: 60%;
  margin-left: 20%;
  margin-bottom: 5%;
}

.about-descript {
  font-family: 'VisbySemibold', sans-serif;
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  line-height: 1.8;
  text-align: justify;
}

.site-footer {
  background-color: #fff;
  padding: 4rem 5%;
  font-family: 'VisbyRegular', sans-serif;
  font-size: 0.95rem;
  color: #111;
  border-top: 1px solid #eee;
  margin-top: 5%;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-left p {
  margin-bottom: 0.5rem;
}

.footer-buttons {
  margin-top: 1rem;
}

.footer-btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1a1a1a;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.footer-btn:hover {
  background-color: #333;
}

.footer-right h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'VisbyBold', sans-serif;
}

.footer-right .highlight {
  color: #7474ff;
  /* Purple-ish highlight */
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  min-width: 180px;
}

.newsletter-form button {
  padding: 0.6rem 1rem;
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background-color: #333;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
  gap: 1rem;
}

.social-icons a img {
  width: 6.5%;
  height: auto;
  margin-right: 1rem;
  border-radius: 10%;
}

.footer-links a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1a1a1a;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s, color 0.2s, transform 0.3s ease;
}

.footer-links a:hover {
  background-color: #d60029;
  color: #fff;
  transform: scale(1.1);
}



/* ============ MEDIA QUERIES ============ */

/* Mobile-first (small screens) */
@media (max-width:630px) {
  h1.about-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 599px) {
  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo img {
    width: 75%;
  }

  .nav-links li a {
    font-size: 0.8rem;
  }

  main {
    padding-top: 17%;
  }

}

@media (max-width: 768px) {
  .nav-links {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 1rem;
    background: #f8f8f8;
    position: absolute;
    top: 60px;
    left: 0;
    /* aligned left */
    width: 200px;
    /* fixed width or adjust as needed */
    padding: 0 1rem;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    grid-column: 1 / span 1;
    /* make sure it only spans first column */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;

  }

  .nav-container {
    grid-template-columns: auto 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.active {
    max-height: 500px;
    /* enough height */
    padding: 1rem;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
  }


  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* MEDIA QURIES */
/* Tablets */
@media (min-width: 600px) {
  .container {
    padding: 2rem;
  }

  .nav-logo img {
    width: 80%;
  }

}

/* Grid utilities */
@media (min-width: 768px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nav-toggle {
    display: block;
    order: 1;
  }

  .nav-logo {
    order: 0;
  }

  .nav-logo img {
    width: 90%;
  }

  .nav-links {
    top: 60px;
    /* make sure this is lower than logo/toggle */
    z-index: 1000;
  }
}

/* Optional safety: explicitly hide above 768px */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}

@media (min-width: 900px) {}

@media (max-width: 991px) {
  .nav-links li a {
    font-size: 1rem;
  }
  .social-icons a.insta dotlottie-player {
    width: 68% !important;
  }

  .social-icons a.mailing dotlottie-player {
    width: 15% !important;
  }
}


@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    font-size: 2.5rem;
  }

  .nav-logo img {
    width: 95%;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  h1.about-title {
    font-size: clamp(1.2rem, 4vw, 4rem) !important;
  }


  /* Hidden by default */
  .nav-toggle {
    display: none;
  }

  .hero {
    font-size: 3rem;
  }
}

@media (max-width: 769px) {
  .social-icons a.insta dotlottie-player {
    width: 92% !important;
  }

  .social-icons a.mailing dotlottie-player {
    width: 20% !important;
  }
}