/*===== LAYOUT =====*/
.bd-grid {
  max-width: 1024px;
  display: grid;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

/*===== NAVBAR GLASSY EFFECT =====*/
.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  color: #22223b;
  box-shadow: 0 1px 8px rgba(34, 34, 59, 0.07);
  border-bottom: 1px solid rgba(34, 34, 59, 0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

.l-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(34, 34, 59, 0.13);
  border-bottom: 1.5px solid rgba(34, 34, 59, 0.13);
}

.nav__logo,
.nav__link {
  color: #22223b !important;
}

.nav__link.active-link {
  color: var(--first-color) !important;
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-semi);
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--second-color);
    transition: 0.5s;
  }
}

.nav__item {
  margin-bottom: var(--mb-4);
}

.nav__link {
  position: relative;
  color: #e9a9ea;
}

.nav__link:hover {
  position: relative;
}

.nav__link:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

.nav__logo {
  color: var(--second-color);
}

.nav__toggle {
  color: var(--second-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/*Active menu*/
.active-link::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.18rem;
  left: 0;
  top: 2rem;
  background-color: var(--first-color);
}

/*=== Show menu ===*/
.show {
  right: 0;
}

/*===== FOOTER =====*/
.footer {
  background: var(--second-color);
  color: #e9a9ea;
  text-align: center;
  font-weight: var(--font-semi);
  padding: 2.5rem 0 1.5rem 0;
  border-top: 2px solid #e0e7ff;
  position: relative;
  margin-top: 3rem;
}

.footer__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.footer__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.footer__tagline {
  font-size: 1.08rem;
  color: #bfc7e6;
  margin-bottom: 0.1rem;
  font-weight: 400;
}

.footer__contact {
  margin-bottom: 0.2rem;
}

.footer__email {
  color: #a3bffa;
  font-size: 1.01rem;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer__email:hover,
.footer__email:focus {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  gap: 1.2rem;
  margin: 1.1rem 0 0.7rem 0;
  justify-content: center;
}

.footer__icon {
  font-size: 2.1rem;
  color: #e9a9ea;
  background: #23234a;
  border-radius: 50%;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 34, 59, 0.10);
}

.footer__icon:hover,
.footer__icon:focus {
  background: var(--first-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 34, 59, 0.18);
}

.footer__top {
  margin: 1.2rem 0 0.7rem 0;
  background: #fff;
  color: var(--first-color);
  border: none;
  border-radius: 50%;
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 12px rgba(34, 34, 59, 0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}

.footer__top:hover,
.footer__top:focus {
  background: var(--first-color);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 34, 59, 0.18);
}

.footer__copy {
  font-size: 1rem;
  color: #bfc7e6;
  margin-top: 0.5rem;
}

/*===== SECTION DIVIDERS =====*/
.section-divider {
  width: 100%;
  height: 60px;
  display: block;
  margin: 0;
  position: relative;
  z-index: 2;
}

.wave1,
.wave2,
.wave3 {
  transition: transform 2s cubic-bezier(.77, 0, .18, 1);
}

.section-divider svg:hover .wave1 {
  transform: translateY(-4px) scaleX(1.02);
}

.section-divider svg:hover .wave2 {
  transform: translateY(-8px) scaleX(1.04);
}

.section-divider svg:hover .wave3 {
  transform: translateY(-12px) scaleX(1.06);
}
