@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
:root {
  --header-height: 3.5rem;
  --body-font: "Montserrat", sans-serif;
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 24%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);
  --normal-font-size: 0.938rem;
  --font-regular: 400;
  --font-semi-bold: 600;
  --z-tooltop: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}
.header {
  position: fixed;
  background: transparent;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--black-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, 0.3);
  z-index: var(--z-fixed);
}
.nav {
  height: var(--header-height);
}
.nav__logo,
.nav__burger,
.nav__close {
  color: var(--white-color);
}
.nav__logo img {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  width: 120px;
  height: 50px;
}
.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}
.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}
.nav__close {
  opacity: 0;
}
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    background-color: gray;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
}
.nav__link {
  color: var(--white-color);
  background-color: var(--black-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--black-color-light);
}
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}
.dropdown_item {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__link {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color 0.3s;
}

.dropdown__link i {
  font-size: 1.25rem;
  font-weight: initial;
}
.dropdown__link:hover {
  background-color: var(--black-color);
}

.dropdown__menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.dropdown__item:hover .dropdown__menu {
  max-height: 1000px;
  transition: max-height 0.4s ease-in;
}

.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}
/* küçük ekran */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }
  .nav__link {
    padding-inline: 1rem;
  }
}
/* büyük ekran */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }

  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: 0.25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }
  .dropdown__item {
    position: relative;
  }
  .dropdown__menu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
  }
  .dropdown__link {
    white-space: nowrap;
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__item:hover .dropdown__menu {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    transition: top 0.3s;
  }
}
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;

  background: linear-gradient(120deg, #5f2eea, #4c1c80, #9f8cff, #610474);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero__container {
  max-width: 900px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: black;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #ffcc00;
  color: #000;
}

.btn-primary:hover {
  background-color: #ffd633;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }

  .hero__buttons {
    justify-content: center;
  }
}
.section {
  padding: 5rem 0;
}

.section__title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature__card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.feature__card:hover {
  transform: translateY(-8px);
}

.feature__card i {
  font-size: 2rem;
  color: #5f2eea;
  margin-bottom: 1rem;
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.program__card {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid #ffff;
  transition: transform 0.3s;
}
.program__card:hover {
  transform: translateY(-8px);
}

.footer {
  background: #0f0b2b;
  color: #dcd9ff;
  padding-top: 4rem;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.footer__logo {
  width: 140px;
  margin-bottom: 15px;
}

.footer__brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer h4 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.footer__links ul,
.footer__contact ul {
  list-style: none;
  padding: 0;
}

.footer__links li,
.footer__contact li {
  margin-bottom: 0.7rem;
}

.footer__links a {
  color: #dcd9ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #ffcc00;
}

.footer__contact i {
  margin-right: 0.5rem;
  color: #ffcc00;
}

.footer__social {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  font-size: 1.4rem;
  color: #dcd9ff;
  transition: transform 0.3s, color 0.3s;
}

.footer__social a:hover {
  color: #ffcc00;
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}
@media screen and (max-width: 1117px) {
  .dropdown__menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
 
  }

  .dropdown__item.is-open .dropdown__menu {
    max-height: 1000px; 
    opacity: 1;
    pointer-events: auto; 
  }


  .dropdown__item.is-open .dropdown__arrow {
    transform: rotate(180deg);
  
}}