:root {
  --font1: "Playfair Display", serif;
  --font2: "Montserrat", sans-serif;
  --color1: hsl(28, 100%, 65%);
  --color2: hsl(28, 100%, 70%);
  --color3: hsl(28, 100%, 75%);
  --color4: hsl(28, 100%, 80%);
  --color5: hsl(28, 100%, 85%);
  --color6: hsl(28, 100%, 92%);
  --color7: hsl(28, 100%, 97%);
  --accent-color1: hsl(180, 100%, 25%);
  --accent-color2: hsl(180, 100%, 30%);
  --accent-color3: hsla(180, 100%, 35%, 0.537);
  --accent-color4: hsl(180, 100%, 40%);
  --font-color1: hsl(346, 100%, 12%);
  --font-color2: hsl(13, 100%, 19%);
  --font-size1: clamp(1rem, 2vw + 0.3rem, 2rem);
  --font-size2: clamp(1rem, 1.2vw + 0.5rem, 1.2rem);
  --font-size3: clamp(1.5rem, 2.5vw + 0.75rem, 3.5rem);
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
}

/* ::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: var(--color6);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color1);
  border-radius: 6px;
  border: 2px solid var(--color6);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--font-color2);
} */

nav {
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: white;
}

#SurbhiSurendra {
  color: var(--font-color1);
  font-family: var(--font1);
  margin-left: 2vw;
  font-size: var(--font-size1);
  white-space: nowrap;
}

.nav_links {
  display: flex;
  height: 80%;
  margin-right: 2vw;
}

.nav_links a {
  display: flex;
  align-items: center;
  flex: 1 0 max-content;
  color: var(--font-color2);
  font-family: var(--font2);
  font-size: var(--font-size2);
  padding: 0 1.5vw;
  border-radius: 50vh;
  transition: background-color 0.5s ease;
}

.nav_links a:hover {
  background-color: var(--color4);
}

.hamburger,
#overlay {
  display: none;
}

.header {
  width: 100%;
  height: 40vh;
  background-color: var(--color6);
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  top: 10vh;
  font-family: var(--font1);
  font-size: var(--font-size1);
  color: var(--font-color1);
  text-align: center;
}

/* .courses {
  width: 100%;
  min-height: 90vh;
  height: max-content;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 2rem 5vw;
  top: 10vh;
  background-color: var(--color6);
} */

.card {
  width: 100%;
  height: 100%;
  background-color: var(--color3);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.5s ease;
  position: relative;
  z-index: 1;
}

.card:hover {
  box-shadow: 0 0 4px 5px var(--color3);
  z-index: 2;
}

.card_img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background-color: var(--color5);
  background-size: cover;
  background-position: center;
}

.card_content {
  width: 90%;
  height: auto;
  flex-grow: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1rem 0;
}

.card_content h2 {
  color: var(--font-color1);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.card_content h4 {
  font-family: var(--font2);
  color: var(--font-color2);
  font-size: 1rem;
}

.wrapper {
  width: 100%;
  max-width: 2400px;
  padding: 2rem 5vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1rem;
  align-items: stretch;
  position: relative;
  top: 10vh;
  background-color: var(--color7);
}

.quote_mark {
  font-family: var(--font2);
  color: var(--font-color2);
  font-size: clamp(4rem, 6vw, 6rem);
  line-height: 0.75;
  margin: 0;
  text-align: center;
  background-color: var(--color5);
}

.quote_text {
  background-color: var(--color5);
  width: 100%;
  padding: 0 1.5rem 2rem 1.5rem;
  font-family: var(--font2);
  color: var(--font-color1);
  text-align: center;
  font-size: clamp(1rem, 1.5vw + 0.2rem, 1.6rem);
  line-height: 1.3;
}

.reviewer {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer {
  width: 100%;
  min-height: auto;
  background-color: var(--color6);
  display: flex;
  flex-direction: column;
  position: relative;
  top: 10vh;
  padding: 6vh 6vw 3vh;
  gap: 2.5rem;
  box-sizing: border-box;
}

.footer_inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer_brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer_logo {
  font-family: var(--font1);
  font-size: 1.6rem;
  color: var(--font-color1);
  letter-spacing: 0.02em;
}

.footer_logo em {
  font-style: italic;
  color: var(--color1);
}

.footer_brand p {
  font-family: var(--font2);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--font-color2);
  max-width: 32ch;
}

.footer_col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer_col h4 {
  font-family: var(--font2);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--font-color1);
  margin-bottom: 0.3rem;
  text-transform: none;
}

.footer_col a {
  font-family: var(--font2);
  font-size: 0.95rem;
  color: var(--font-color2);
  width: max-content;
  position: relative;
  transition: color 0.3s ease;
}

.footer_col a:hover {
  color: var(--font-color1);
}

.footer_col a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--font-color1);
  transition: width 0.3s ease;
}

.footer_col a:hover::after {
  width: 100%;
}

.footer_bottom {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid hsla(28, 40%, 40%, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font2);
  font-size: 0.85rem;
  color: var(--font-color2);
}

@media (max-width: 768px) {
  .footer_inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer_bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .header_quote {
    display: none;
  }

  nav {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: block;
    position: relative;
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin-right: 5vw;
  }

  .hamburger .bar {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--font-color2);
    border-radius: 3px;
    transition: all 0.4s ease-in-out;
  }

  .hamburger .bar:nth-child(1) {
    top: 0;
  }
  .hamburger .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger .bar:nth-child(3) {
    bottom: 0;
  }

  #navdrop:checked ~ .hamburger .bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  #navdrop:checked ~ .hamburger .bar:nth-child(2) {
    opacity: 0;
  }

  #navdrop:checked ~ .hamburger .bar:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  .nav_links {
    position: absolute;
    top: 10vh;
    left: 0;
    width: 100vw;
    flex-direction: column;
    height: auto;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 100;
  }

  .nav_links a {
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.192);
    width: 100%;
    text-align: center;
    border-radius: 0; /* Remove border radius for mobile view */
  }

  #navdrop:checked ~ .nav_links {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  #navdrop:checked ~ #overlay {
    display: block;
    position: fixed;
    top: 10vh; /* Starts right below your navbar */
    left: 0;
    width: 100vw;
    height: 90vh; /* Covers the rest of the screen */
    z-index: 90; /* Keeps it under the dropdown menu but above the page content */
    cursor: pointer;
  }
}
