* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f7f9fc;
  color: #333;
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  display: none;
  font-size: 22px;
  background-color: #0044cc;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
}

#scrollTopBtn:hover {
  background-color: #0033aa;
}

/* body::-webkit-scrollbar {
  display: none;
} */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-left {
  display: flex;
  text-align: center;
}

.nav-icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border-radius: 6px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  text-align: center;
}

.nav-links a {
  text-decoration: none;
  width: fit-content;
  color: #333;
  transition: 0.3s;
}


.nav-links a:hover {
  color: #0044cc;
}

.search-box {
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #eaf3ff;
  animation: fadeIn 1.2s ease-in;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-buttons .btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

/* Primary Button */
.btn.primary {
  background-color: #0044cc;
  color: white;
}

.btn.primary a {
  text-decoration: none;
}

.btn.primary:hover {
  background-color: #002e99;
}

/* Secondary Button */
.btn.secondary {
  background-color: transparent;
  border: 2px solid #0044cc;
  color: #0044cc;
}

.btn.secondary a {
  text-decoration: none;
}

.btn.secondary:hover {
  background-color: #0044cc;
  color: #ffffff;
}

.direct-links {
  display: flex;
}

.features {
  text-align: center;
  width: 500px;
  margin: 20px auto;
  animation: fadeIn 0.5s ease-in;
  /* gap: 1.5rem; */
}

.card {
  background: #fff;
  margin: 10px auto;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
  text-align: left;
}

.card:hover {
  transform: scale(1.05);
  background: #f0f8ff;
}

.card a {
  text-decoration: none;
  color: black;
}

.why-use {
  padding: 2rem;
  text-align: center;
}

.why-use ul {
  list-style: none;
  padding-top: 1rem;
}

.why-use li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.resources {
  padding: 2rem;
  background: #eef5ff;
  text-align: center;
}

.resource-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.resource-box {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.resource-box:hover {
  transform: translateY(-5px);
  background-color: #dceeff;
}

/* ------------FOOTER-------------  */

footer {
  font-family: 'Poppins', sans-serif;
}

.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo .animated-logo {
  font-size: 2.5em;
  font-weight: bold;
  background: linear-gradient(to right, #ffffff, #999999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  0% {
    background-position: -500px;
  }

  100% {
    background-position: 500px;
  }
}

.footer-logo p {
  margin: 10px 0;
}

.social-icons a {
  color: #ffffff;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00ffcc;
}

.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-links div {
  min-width: 150px;
}

.footer-links h4 {
  margin-bottom: 10px;
  color: #cccccc;
  font-size: 1.2em;
}

.footer-links a {
  display: block;
  color: #ffffff;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ffcc;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }



  .footer-logo {
    flex: 1 1 100px;
  }

  .footer-links {
    margin-top: 0;
    /* remove any top margin */
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }

  .footer-links div {
    min-width: auto;
  }

  .footer-logo .animated-logo {
    font-size: 2em;
  }

  .social-icons a {
    margin: 0 10px;
  }
}


/*----------------------- FOOTER END ---------------- */

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- MEDIA QUERIES FOR RESPONSIVENESS ---------- */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  position: relative;
  /* Ensures it sits above nav */
  z-index: 110;
  line-height: 1;
}



/* Hides nav-links by default on small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }



  /* This class is added/removed by JavaScript on click */
  .nav-links.active {
    /* display: flex; */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    /* background-color: rgba(255, 255, 255, 0.3); */
    background-color: rgba(0, 102, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 1.2rem;
    cursor: pointer;
    right: 1.5rem;
    z-index: 110;
  }

  .navbar {
    flex-wrap: wrap;
    flex-direction: row;

  }

  .nav-links {

    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
  }

  .nav-links {

    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .search-box {
    width: 100%;
    margin-top: 10px;
  }
}

/* Small devices (phones, 480px and down) */
@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0.3rem 0;
  }

  .features {
    width: 95%;
  }

  .card {
    padding: 0.8rem;
  }

  .why-use {
    padding: 1rem;
  }

  .resources {
    padding: 1rem;
  }

  .resource-box {
    min-width: 90%;
  }

  .footer {
    padding: 1rem;
    font-size: 0.8rem;
  }
}


#container-f495eac7699c1bdfe9efd1a042be541b {
  max-height: 120px;
  overflow: hidden;
}

.tool-section {
  padding: 40px 20px;
  background: #f0f4ff;
  display: flex;
  justify-content: center;
}

.tool-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 100%;
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card a {
  text-decoration: underline;
  color:#0044cc;
}

.tool-card:hover {
  transform: perspective(1000px) rotateX(0deg);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
}

.tool-card h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.tool-card p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #666;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 60%;
  /* Adjust based on aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}