@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: 415px;
}

main {
  padding-top: 15%;
}

/* 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: #007df9;
}

.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);
}

.icon:hover {
  fill: #d60029;
}

h1.home-title {
  font-family: 'VisbyHeavy';
  text-align: center;
  color: #333;
  font-size: clamp(2rem, 6vw, 4.5em);
  margin-top: 2%;
  padding-left:1em;
  padding-right:1em;
}

.logo-intro {
  width: 100%;
  /* Full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  /* Optional: background color */
}

.logo-intro video {
  max-width: 100%;
  height: auto;
  display: inline;
}
/* Home Landing img */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh; /* or desired height */
  overflow: hidden;
}

.background-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Main big heading */
.main-heading {
  position: absolute;
  top: 5%;
  left: 80%;
  transform: translateX(-50%);
  color: white;
  font-size: clamp(4rem, 6vw, 8rem);
  font-weight: 800;
  text-align: left;
  z-index: 5;
  margin: 0;
  padding: 0 1rem;
  max-width: 90%;
    text-shadow: 0 0 20px rgba(0,0,0,0.1);
  font-family:'VisbyExtrabold', sans-serif;
}
.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white; /* Text color */
  text-align: center;
  padding: 1rem;
}

.logo-animation {
  width: 50%;
  filter: brightness(0) invert(1); /* Makes the Lottie appear white */
  align-self: self-start;
}

.overlay-text h1 {
  font-size: clamp(2em, 2.5vw,2.4em);
  margin-top: 1rem;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.overlay-text p {
  font-size: clamp(1em, 1.4vw,2.2em);
  opacity: 0.9;
  color: #ffffff;
   text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
   margin-bottom:10%;
  
}
.color-name{
  color: #1b1b1b;
}
/* Home Landing img end*/
.bio-container {
   width:100%;
  margin-top: 8%;
  display: flex;
  align-items: center; /* changed from flex-start to center */
  gap: 2rem;
  background-color: #d60029;
}

.bio-img {
  flex: 0 0 30%;
}

.bio-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: control text sizing and wrapping */
.bio-text {
  flex: 1; /* let it take remaining space */
  font-size: clamp(0.6rem, 2vw, 1.5rem);
  color: #ffffff;
  line-height: 2;
}

.features-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  gap: 2rem;
  padding: 5% 5%;
  max-width: 90%;
  margin: 0 auto;
}

.features-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.icon {
  width: 10vw;
  height: 10vh;
  flex-shrink: 0;
}

.text h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 3.2vw, 3rem);
  font-family: 'VisbyMedium', sans-serif;
}

.text p {
  margin: 0;
  font-size: clamp(0.7rem, 2vw, 2rem);
  color: #444;
  line-height: 1.5;
}

.features-right {
  display: flex;
  justify-content: center;
   width: 90%;
  margin: 0 auto;
  aspect-ratio: 1 / 1; /* For square shape like your 800x800 */
  position: relative;
}

.feature-gif,
.feature-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90vh;

  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.5s ease-in-out;
}

a {
  text-decoration: underline;
  color: #000;
}
.explore{
  background-color:#7474ff;
  color: #ffffff;
  width:10vw;
  height:5vh;
  font-family:'VisbyMedium', sans-serif ;
  border: none;
  border-radius: 0.3em;
  font-size: clamp(1.5em, 1.8vw,2em);
  transition: transform 0.3s ease;
position: relative;
}
.explore-btn{
align-items: center;
width: 100%;
align-items: center;
justify-content: center;
margin-left:44.5%;
margin-top: 5%;
position: relative;
}

.explore:hover{
  background-color: #007efc;
  transform: scale(1.08);
}
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}
/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Section styling for .stats */
.stats {
  width: 100%;

  position: relative; /* CRUCIAL: For absolute positioning of images */
    margin: 0 auto; /* Center the section */
    aspect-ratio: 16 / 9; 
    margin-bottom: -10%;
    padding-bottom: -10%;
    margin-top: -10%;
}

.stats img {
width:100%;
    margin: 0;
    padding: 0;
}

.counter-gif,
.counter-static {
  transition: opacity 0.5s ease-in-out;
  /* CRUCIAL: Position absolute for layering */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Fill the .stats container */
  object-fit: contain; /* Ensure image fits within bounds */
  display: block; /* Important for JS to control opacity/display */
  margin: 0 auto; /* No need for margin if absolute */
}


/* Section styling */
.help-section {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top:0;
}

.help-section h2 {
  font-size: clamp(0.9rem, 4.2vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.help-section h2 span {
  font-family: 'Geraldica', cursive;
  font-weight: 400;
  font-style: italic;
  color:#007efc;
}

/* Card container */
.cards {
  display: flex;
  flex-wrap: nowrap;             /* all cards in one row */
  justify-content: space-between;
  gap: 2rem;                      /* spacing between cards */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}



/* Individual card */
.card {
  flex: 0 0 calc((100% - 6rem) / 4); /* ensures 4 cards fit evenly with 3 gaps of 2rem */
  padding: 2rem 2rem 1.5rem;
  background: white;
  border: 0.2em solid #111;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}


.card:hover {
  transform: translateY(-5px);
}

.card img {
  height: 70px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: clamp(0.6rem, 1.8vw, 1.5rem);
  margin: 1rem 0 0.5rem;
}

.card hr {
  width: 40%;
  border: none;
  height: 3px;
  background-color: #333;
  margin: 0 auto 1rem;
}

.card p {
  font-size:clamp(0.4rem, 1vw, 1rem);
  color: #333;
  margin-bottom: 1.5rem;
}
.cards a{
  text-align: center;
  align-self: center;
  align-items: center;
}
/* Button */
.btn {
display: inline-block;
  background: #8d8bff;
  color: white;
  padding: clamp(0.4rem, 1vw, 0.6rem) clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.6rem, 1vw, 1rem);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.btn:hover {
  background: #5c59f7;
}


/* Projects Gif Button with Link */
.gif-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  /* adjust as needed */
  flex-wrap: wrap;
  /* makes them stack on small screens */
  
}


/* Make the link look like a button */
.gif-btn {
  background-color: #007df9;
  border: 2px;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  /* vertical centering */
  gap: 10px;
  /* space between text and image */
  color: #fff;
  font-family: 'VisbySemibold', sans-serif;
  font-size: clamp(0.7rem, 1vw, 1.5rem);
  text-decoration: none;
  transition: transform 0.2s ease;
  user-select: none;
}

.gif-btn img {
  width:2.5em;
  height:2.5em;
  transition: transform 0.2s ease;
}

/* Scale whole button on hover */
.gif-btn:hover {
  transform: scale(1.1);
  background-color: #d60029;
  color: #fff;
}

.gif-btn-wrapper a {
  text-decoration: none;
}
.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: 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) {
    .features-wrapper {
    display: flex;               /* change from grid to flex */
    flex-direction: column;     /* stack vertically */
    align-items: center;
    gap: 0.1rem;
  }

  .features-left,
  .features-right {
    width: 100%;
  }

  .features-right {
    margin-top: 5%;
    padding-top: 0;
    order: 2;
    margin-bottom:25%;
    z-index:0;
  }

  .features-left {
    order: 1;
  }

  .feature-gif,
  .feature-static {
    width: 100%;
    max-height: 600px;
  }
 .icon {
    width: 15vw;       /* Adjust to look balanced on smaller screens */
    height: auto;      /* Let it scale naturally */
    max-height: 60px;  /* Prevent it from being too tall */
    align-self: flex-start; /* Prevent extra vertical centering */
  }

  .feature-item {
    align-items: flex-start;
  }

  .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;
  }

  h1.home-title {
    font-size: 3.5rem;
  }

  .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%;
  }

  h1.home-title {
    font-size: 2.8rem;
  }
}

/* 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;
  }
}

/* Mobile responsive stack */

@media (max-width: 900px) {
   
    .social-icons a.insta dotlottie-player {
    width: 68% !important;
  }

  .social-icons a.mailing dotlottie-player {
    width: 15% !important;
  }
  .cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    flex: 1 1 40%;       /* each card takes up about 45% width */
    max-width: 40%;
  padding: 0.6rem 0.6rem 1rem;
  align-items: center;
  }
.card img {
  margin-bottom: 0.1rem;
  padding: 0%;
  height:clamp(3em, 5vw, 5em);
}
}


@media (min-width: 900px) {
  h1.home-title {
    font-size: 3.8em !important;
  }
}

@media (max-width: 991px) {
  .nav-links li a {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    font-size: 2.5rem;
  }

  .nav-logo img {
    width: 95%;
  }
}

@media(max-width: 1200px){

}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  h1.home-title {
    font-size: 4.5em !important;
  }


  /* Hidden by default */
  .nav-toggle {
    display: none;
  }

  .hero {
    font-size: 3rem;
  }
}

@media (max-width: 599px) {
  h1.home-title {
    font-size:clamp(1rem,6vw,1.8rem) !important;
  }
}
@media (max-width: 769px) {
  .main-heading {
   left: 50%;
  text-align: center;
  }
.stats{
  margin-top:5%;
}
.logo-animation {
  width: 90%;
 
}
  .social-icons a.insta dotlottie-player {
    width: 92% !important;
  }

  .social-icons a.mailing dotlottie-player {
    width: 20% !important;
  }
}
