body {
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url(wBg23-2.jpg);
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
}

html {
  scroll-behavior: smooth;
}

/* Prevent sections from hiding behind the sticky header */
#home {
  scroll-margin-top: 110px;
  /* same as your header height */
}

#showcase {
  scroll-margin-top: 70px;
  /* same as your header height */
  color: #ffff;
}

#packages {
  scroll-margin-top: 70px;
  /* same as your header height */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  width: 200px;
  /* make it longer */
  height: auto;
  /* keep aspect ratio */
  object-fit: contain;
}

header .logo div {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#home {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-left: 60px;
  /* Shift home section slightly right */
}

.circle-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.circle-logos {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-logos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Logo */
header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 1.5rem;
  color: #222;
}

.circle-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ===== NAVBAR ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
header .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #222;
}

/* Nav List */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
}

/* Nav Links */
nav a {
  position: relative;
  display: inline-block;
  /* makes underline only under text */
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  padding: 6px 0;
  transition: color 0.3s ease;
  border: none;
  background: transparent;
  /* prevents block highlight */
}

/* Underline animation */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #333;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Remove focus highlight */
nav a:focus {
  outline: none;
  box-shadow: none;
}

#home .text {
  max-width: 700px;
  color: #ffffff;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 15px #99ccff);
}

.text p {
  font-size: 20px;
}

#home h2 {
  margin-top: 0;
  font-size: 2rem;
}

h3 {
  text-align: left;
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: #ffff;
}

p {
  text-align: left;
  color: #ffff;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* space between cards */
  justify-content: center;
}

.grid.thumbnails .card {
  flex: 1 1 calc(33.333% - 20px);
  /* 3 per row */
  max-width: 300px;
  /* keeps them from stretching too big */
  box-sizing: border-box;
}

.logos {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.thumbnails {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card:hover {
  transform: translateY(-5px);
}

.buy-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background: #555;
}

.card {
  --white: hsl(0, 0%, 100%);
  --black: hsl(240, 15%, 9%);
  --paragraph: hsl(0, 0%, 83%);
  --line: hsl(240, 9%, 17%);
  --primary: hsl(191, 92%, 58%);

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  padding: 1rem;
  width: 15rem;
  background-color: hsla(240, 15%, 9%, 1);
  background-image: radial-gradient(
      at 88% 40%,
      hsla(240, 15%, 9%, 1) 0,
      transparent 85%
    ),
    radial-gradient(at 49% 30%, hsla(240, 15%, 9%, 1) 0, transparent 85%),
    radial-gradient(at 14% 26%, hsla(240, 15%, 9%, 1) 0, transparent 85%),
    radial-gradient(at 0% 64%, rgb(38, 188, 247) 0, transparent 85%),
    radial-gradient(at 41% 94%, rgb(173, 239, 255) 0, transparent 85%),
    radial-gradient(at 100% 99%, rgb(36, 156, 255) 0, transparent 85%);

  border-radius: 1rem;
  box-shadow: 0 -16px 24px 0 rgba(255, 255, 255, 0.25) inset;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

.card__list_item {
  color: #12a50b;
}

.card .card_title__container .card_title {
  font-size: 1.3rem;
  color: var(--white);
}

.card .card_title__container .card_paragraph {
  margin-top: 0.25rem;
  width: 75%;
  font-size: 1rem;
  color: var(--paragraph);
}

.card .line {
  width: 100%;
  height: 0.1rem;
  background-color: var(--line);

  border: none;
}

.card .card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card .card__list .card__list_item {
  display: flex;
  align-items: left;
  position: relative;
  right: 20px;
  gap: 0.5rem;
}

.card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1rem;
  height: 1rem;
  background-color: var(--primary);

  border-radius: 50%;
}

.card .card__list .card__list_item .check .check_svg {
  width: 0.75rem;
  height: 0.75rem;

  fill: var(--black);
}

.card .card__list .card__list_item .list_text {
  font-size: 0.75rem;
  color: var(--white);
}

.card .button {
  cursor: pointer;

  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(
    0deg,
    rgb(58, 151, 238) 0%,
    rgb(107, 165, 240) 100%
  );

  font-size: 0.75rem;
  color: var(--white);

  border: 0;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 25px -4px var(--white);
}

.button a {
  text-decoration: none;
  color: #ffffff;
}

.pack-container {
  position: relative;
  display: flex;
  max-width: 350px;
  flex-direction: column;
  border-radius: 12px;
  background-color: #212121;
  border: 1px solid #fff;
  padding: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.header {
  position: relative;
  margin: 0;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 0;
  border-bottom: 1px solid #fff;
  background: transparent;
  padding-bottom: 1rem;
  text-align: center;
}

.title {
  display: block;
  font-family: sans-serif;
  font-size: 0.75rem;
  line-height: 0.6rem;
  text-transform: uppercase;
  color: #fff;
}

/* From Uiverse.io by ahmed150up */
.cardsocial {
  display: flex;
  height: 60px;
  width: 270px;
}

.cardsocial i {
  font-size: 28px;
  color: white;
  transition: transform 0.25s;
}

.cardsocial .cardsocial-link1,
.cardsocial .cardsocial-link2,
.cardsocial .cardsocial-link3,
.cardsocial .cardsocial-link4 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  color: whitesmoke;
  text-decoration: none;
  transition: 0.25s;
  border-radius: 50px;
}

/* hover effects */
.cardsocial .cardsocial-link1:hover {
  background: linear-gradient(
    45deg,
    #3378f0 0%,
    #3c64e6 25%,
    #2788dc 50%,
    #2359cc 75%,
    #1854bc 100%
  );
  animation: bounce_613 0.4s linear;
}

.cardsocial .cardsocial-link2:hover {
  background-color: #00ccff;
  animation: bounce_613 0.4s linear;
}

.cardsocial .cardsocial-link3:hover {
  background-color: #5865f2;
  animation: bounce_613 0.4s linear;
}

.cardsocial .cardsocial-link4:hover {
  background-color: #12a50b;
  animation: bounce_613 0.4s linear;
}

@keyframes bounce_613 {
  40% {
    transform: scale(1.4);
  }

  60% {
    transform: scale(0.8);
  }

  80% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Showcase Section */

/* Grid layout */
.grid.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Individual logo cards */
.grid.logos div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid.logos div:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Logo images */
.grid.logos img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* Section styling */
#showcases {
  text-align: center;
  padding: 60px 20px;
}

#showcase h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

#showcase p {
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Thumbnails grid */
.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Each thumbnail card */
.thumbnail {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Thumbnail images */
.thumbnail img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: 6px;
}

#showcase p {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: block;
}

/* ---------------------------- */
/*  RESPONSIVE ADJUSTMENTS      */
/* ---------------------------- */

@media (min-width: 1024px) {
  .icons {
    left: 10px;
    /* move more to the left */
  }
}

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
  #home {
    flex-direction: column;
    margin-left: 0;
    text-align: center;
    gap: 20px;
  }

  #home .text {
    max-width: 100%;
    padding: 0 20px;
  }

  header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  .grid.logos,
  .grid.thumbnails {
    grid-template-columns: 1fr;
    /* stack vertically */
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  .pack-container {
    max-width: 100%;
  }

  .cardreviews {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    margin: 20px auto !important;
    /* center horizontally */
    width: 90% !important;
    max-width: 320px !important;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  header .logo {
    font-size: 1.2rem;
  }

  .circle-logo {
    width: 90px;
    height: 90px;
  }

  .card {
    padding: 0.8rem;
  }

  .card .card_title__container .card_title {
    font-size: 1.1rem;
  }
}
