header {
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 3.5rem 0.4rem 1.5rem;
}

.logo img {
  width: auto;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* Nav links with left-to-right underline hover effect */
.nav-links a {
  position: relative;
  font-weight: 500;
  font-family: "Roboto Slab", serif;
  font-size: 21px;
  font-family: 'Lora', serif;
  color: #000000;
  text-decoration: none;
  transition: color 0.5s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  height: 3px;
  background: linear-gradient(90deg, #D157CE, #944BCF, #2E36CF, #02BEF2);
  transition: width 0.5s ease;
}

.nav-links a:hover {
  color: #0F2BC9;
}

.nav-links a:hover::after {
  width: 100%;
}


/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h1 {
  color: #0F2BC9;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto Slab", serif;
  gap: 0.5rem;
}

.hero p {
  color: #444444;
  max-width: 800px;
}

.hero input {
  width: 100%;
  max-width: 900px;
  height: 65px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  border: none;
  font-size: 1rem;
  outline: none;
}

.hero input:focus {
  border-color: #0c229d;
}

.hero button {
  margin-top: 1.5rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  font-family: "Roboto Slab", serif;
  font-weight: 500;
  width: fit-content;
  align-self: center;
}



/* Thumbnail Boxes */
.thumbnails {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.thumbnail-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Full HD Box - bigger */
.thumbnail-box-full {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  width: 800px;
  text-align: center;
  background-color: #f9f9f9;
}

.thumbnail-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  width: 450px;
  text-align: center;
  background-color: #f9f9f9;
}

.thumbnail-box img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.thumbnail-box-full img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.thumbnail-box p,
.thumbnail-box-full p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-family: "Roboto Slab", serif;
}

.download-btn {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
  color: #ffffff;
  font-family: "Roboto Slab", serif;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  transform: translateY(1px);
}


/* Tools Section */
.tools {
  margin: 4rem auto;
  text-align: center;
}

.tools h2 {
  margin-bottom: 2rem;
  color: #0F2BC9;
  font-weight: 600;
  font-family: "Roboto Slab", serif;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.5s ease;
  min-height: 270px;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(90deg, #D157CE, #944BCF, #2E36CF, #02BEF2);
}

.card .icon {
  width: 55px;
  height: 55px;
  background: #0F2BC9;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 1rem auto;
  color: #fff;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #0F2BC9;
  font-weight: 500;
  font-size: 1.6rem;
  font-family: "Roboto Slab", serif;
}

.card p {
  margin-bottom: 1.5rem;
  font-family: "Roboto Slab", serif;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  flex-grow: 1;
}

.card .btn {
  display: inline-block;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #0F2BC9 0%, #667eea 100%);
  color: #fff;
  font-weight: 500;
  font-family: "Roboto Slab", serif;
  text-decoration: none;
  transition: background 0.5s ease;
  align-self: center;
}

.card .btn:hover {
  transform: translateY(1px);
}

/****** Thumbnail Info Section *****/
.thumbnail-info {
  margin: 4rem auto;
  max-width: 1000px;
  line-height: 1.7;
  color: #333;
}

.thumbnail-info h2 {
  color: #0F2BC9;
  margin-bottom: 1.5rem;
  text-align: center;
}

.thumbnail-info h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #000000;
}

.thumbnail-info p {
  margin-bottom: 1rem;
}

.thumbnail-info ul,
.thumbnail-info ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.thumbnail-info li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}


/***** Footer Section *******/
.site-footer {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 1rem 5rem 1rem 5rem;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 500;
  font-family: "Roboto Slab", serif;
  transition: color 0.5s ease;
}


.footer-links a:hover {
  color: #6774e7;
}

/* Footer Social Icons with gradient hover */
.footer-social ul {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-social li {
  position: relative;
}

.footer-social li::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #fff;
  background: var(--bg, #070707);
  border-radius: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-social li:hover::after {
  opacity: 1;
  visibility: visible;
}

.footer-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 2px solid #fff;
  transition: color 0.5s ease-in-out;
}

.footer-social a i {
  position: relative;
  z-index: 1;
}

.footer-social a::after {
  content: '';
  position: absolute;
  inset: 100% 0 0;
  background: var(--bg, #070707);
  transition: inset 0.5s ease-in-out;
  z-index: 0;
}

.footer-social a:hover::after,
.footer-social a:focus-visible::after {
  inset-block-start: 0;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
}


/* Copyright & Developer */
.site-footer .developer {
  text-align: center;
  font-size: 1rem;
  margin: 0.3rem 0;
  color: #ffffff;
  font-weight: 500;
  font-family: "Roboto Slab", serif;
}

.site-footer .developer .heart {
  color: #ff0000;
  margin: 0 0.2rem;
}

.site-footer .developer .coffee {
  color: #ffffff;
  margin-left: 0.2rem;
}

/* Horizontal line above copyright */
.footer-separator {
  border: none;
  height: 1px;
  background: #ffffffaf;
  margin: 1rem auto;
  width: 35%;
}

.burger {
  display: none;
}

/***** Media Query *****/
/***** Large tablets and small desktops (≤1200px) ******/
@media (max-width: 1200px) {
  .hero p {
    max-width: 900px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    gap: 3rem;
  }

  .header-container {
    padding: 0.4rem 3rem 0.1rem 1rem;
  }

  .site-footer {
    padding: 1rem 2rem 1rem 2rem;
  }
}

/***** Tablets in portrait & smaller laptops (≤991px) ******/
@media (max-width: 991px) {
  .logo img {
    height: 40px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    gap: 3rem;
  }

  .thumbnail-info {
    margin: 4rem auto;
    padding: 30px;
  }

  .site-footer {
    padding: 1rem 2rem 1rem 2rem;
  }

  .footer-links a {
    margin-right: 1.2rem;
  }
}

/***** Standard tablets & landscape phones (≤768px) ******/
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
    text-align: center;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
    margin-right: -20px;
  }

  .burger i {
    color: #0F2BC9;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .burger.active i {
    transform: rotate(90deg);
  }

  .nav-links li {
    margin: 0.2rem 0;
  }

  .logo img {
    height: 38px;
  }

  .hero input {
    width: 100%;
    max-width: 650px;
    height: 55px;
    padding: 0.75rem 1rem;
  }

  .thumbnail-box-full {
    padding: 1rem;
    width: 650px;
  }

  .thumbnail-info {
    margin: 3rem auto;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    gap: 1.5rem;
  }

  .site-footer {
    padding: 1rem;
  }

  .footer-links a {
    margin-right: 1rem;
  }

  .site-footer .developer {
    font-size: 0.8rem;
  }
}


/***** Large smartphones & phablets (≤617px) ******/
@media (max-width: 617px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
    text-align: center;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
  }

  .burger i {
    color: #0F2BC9;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .burger.active i {
    transform: rotate(90deg);
  }

  .nav-links li {
    margin: 0.2rem 0;
  }

  .logo img {
    height: 38px;
  }

  .hero input {
    width: 100%;
    max-width: 550px;
    height: 55px;
    padding: 0.75rem 1rem;
  }

  .hero button {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 1rem 2rem;
  }

  .thumbnail-box-full {
    padding: 1rem;
    width: 530px;
  }

  .thumbnail-info {
    margin: 3rem auto;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 450px;
    margin: 0 auto;
  }

  .site-footer {
    padding: 1rem;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-links a {
    margin-right: 1rem;
  }

  .footer-social ul {
    padding-top: 15px;
  }

  .site-footer .developer {
    font-size: 0.95rem;
  }
}

/***** Small smartphones (≤450px) ******/
@media (max-width: 450px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
    text-align: center;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .burger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
  }

  .burger i {
    color: #0F2BC9;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .burger.active i {
    transform: rotate(90deg);
  }

  .nav-links li {
    margin: 0.2rem 0;
  }

  .logo img {
    height: 35px;
  }

  .hero input {
    width: 100%;
    max-width: 480px;
    height: 45px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  .hero button {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    padding: 0.8rem 2rem;
  }

  .thumbnail-box-full {
    padding: 1rem;
    width: 380px;
  }

  .thumbnail-box {
    padding: 1rem;
    width: 380px;
  }

  .thumbnail-info {
    margin: 3rem auto;
  }

  .thumbnail-box p,
  .thumbnail-box-full p {
    font-size: 0.8rem;
  }

  .download-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 350px;
    margin: 0 auto;
  }

  .card .icon {
    font-size: 1.5rem;
  }

  .thumbnail-info li {
    font-size: 0.8rem;
  }

  .card .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .site-footer {
    padding: 1rem;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-links a {
    margin-right: 1rem;
    font-size: 0.9rem;
  }

  .footer-social ul {
    padding-top: 15px;
  }

  .footer-social a {
    width: 37px;
    height: 37px;
    font-size: 0.8rem;
  }

  .site-footer .developer {
    font-size: 0.80rem;
  }
}

/***** Extra small phones & older devices (≤365px) ******/
@media (max-width: 365px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
    text-align: center;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .burger {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: #000;
  }

  .burger i {
    color: #0F2BC9;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .burger.active i {
    transform: rotate(90deg);
  }

  .nav-links li {
    margin: 0.2rem 0;
  }


  .hero .fa-cloud-arrow-down,
  .hero .fa-youtube,
  .hero .fa-qrcode,
  .hero .fa-image {
    display: none;
  }


  .logo img {
    height: 30px;
  }

  .hero input {
    width: 100%;
    max-width: 480px;
    height: 45px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  .hero button {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    padding: 0.8rem 2rem;
  }

  .thumbnail-box-full {
    padding: 1rem;
    width: 320px;
  }

  .thumbnail-box {
    padding: 1rem;
    width: 320px;
  }

  .thumbnail-info {
    margin: 3rem auto;
  }

  .thumbnail-box-full p {
    font-size: 0.6rem;
  }

  .download-btn {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    max-width: 300px;
    margin: 0 auto;
  }

  .card {
    padding: 1rem 1.5rem;
  }

  .card .icon {
    font-size: 1.2rem;
  }

  .thumbnail-info li {
    font-size: 0.78rem;
  }

  .card .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.7rem;
  }

  .site-footer {
    padding: 1rem;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-links a {
    margin-right: 1rem;
    font-size: 0.7rem;
  }

  .footer-social ul {
    padding-top: 15px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .site-footer .developer {
    font-size: 0.7rem;
  }
}