@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body {
  padding-top: 120px;
  /* Adjust if your header is taller/shorter */
}

/* Floating Scroll-To-Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 34px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0aaff 70%, #88c0d0 100%);
  box-shadow: 0 8px 32px #23294644, 0 1px 0 #0001;
  color: #769cab;
  font-size: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, box-shadow 0.18s, transform 0.15s;
  z-index: 2000;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.05);
}

.scroll-to-top-btn:hover {
  box-shadow: 0 12px 40px #e0aaff77, 0 2px 8px #88c0d055;
  background: linear-gradient(135deg, #88c0d0 0%, #e0aaff 100%);
  color: #eaeaea;
}

@media (max-width: 600px) {
  .top-bg>header {
    border-radius: 0 0 18px 18px;
  }

  .scroll-to-top-btn {
    bottom: 18px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.4em;
  }

  body {
    padding-top: 90px;
  }
}

.scroll-to-top-btn i {
  font-size: 1.3em;
  margin-top: 2px;
  transition: transform 0.18s;
}

.scroll-to-top-btn:hover i {
  transform: translateY(-4px) scale(1.15);
  color: #f9d923;
}


/* --- Top Background Section (Pro Style) --- */
.top-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #232946 60%, #e0aaff 100%);
  min-height: 420px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 8px 40px 0 rgba(24, 31, 50, 0.18), 0 1.5px 8px 0 rgba(224, 170, 255, 0.09);
  z-index: 1;
}

.top-bg::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 30% 30%, #e0aaff44 0%, transparent 80%);
  filter: blur(36px);
  z-index: 0;
}

.top-bg::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 70% 70%, #23294644 0%, transparent 80%);
  filter: blur(36px);
  z-index: 0;
}


/* --- About Section Modern Background --- */
.about-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #232946 70%, #88c0d0 100%);
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.18), 0 1.5px 8px 0 rgba(139, 180, 219, 0.11);
  margin-bottom: 48px;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, #8fbcbb55 0%, transparent 80%);
  filter: blur(32px);
  z-index: 0;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 70% 70%, #88c0d055 0%, transparent 80%);
  filter: blur(32px);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
  padding: 40px 32px;
}

.about-container img {
  height: 535px !important;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    padding: 32px 12px;
    gap: 24px;
  }
}

.about-cta-button {
  display: inline-block;
  padding: 18px 48px;
  font-size: 1.25em;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(100deg, #cc8c93 0%, #8fbcbb 60%, #88c0d0 100%);
  border: none;
  border-radius: 36px;
  box-shadow: 0 8px 36px 0 #cc8c9340, 0 2px 8px 0 #88c0d055;
  cursor: pointer;
  transition: background 0.32s, transform 0.18s, box-shadow 0.18s, letter-spacing 0.18s;
  letter-spacing: 1px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  outline: none;
  text-shadow: 0 2px 10px #0002;
}

.about-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, #fff8 0%, #fff0 80%);
  opacity: 0.16;
  z-index: 2;
  border-radius: 36px;
  pointer-events: none;
  transition: opacity 0.28s;
}

.about-cta-button:hover,
.about-cta-button:focus {
  background: linear-gradient(100deg, #88c0d0 0%, #cc8c93 60%, #8fbcbb 100%);
  color: #fff;
  transform: scale(1.07) translateY(-3px);
  box-shadow: 0 16px 48px #88c0d099, 0 2px 8px #cc8c9355;
  letter-spacing: 2px;
  text-decoration: none;
}

.about-cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px #cc8c9355;
}

@media (max-width: 700px) {
  .about-cta-button {
    padding: 13px 22px;
    font-size: 1.05em;
    border-radius: 24px;
    margin-top: 14px;
  }
}

.about-slider-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  margin-top: 6px;
}

.about-slider-tab {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color 0.18s;
  opacity: 0.82;
  position: relative;
  min-width: 64px;
}

.about-slider-tab.active,
.about-slider-tab:focus {
  opacity: 1;
  color: var(--accent-color);
}

.tab-label {
  font-size: 1.06em;
  font-weight: 700;
  color: #e5e9f0;
  margin-bottom: 4px;
  transition: color 0.18s, font-weight 0.18s;
}

.about-slider-tab.active .tab-label {
  color: var(--accent-color);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.tab-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, #8fbcbb 0%, #cc8c93 100%);
  opacity: 0.45;
  margin: 0 auto;
  box-shadow: 0 2px 8px #8fbcbb22;
  transition: background 0.22s, opacity 0.22s, box-shadow 0.22s;
}

.tab-dot.active {
  background: linear-gradient(120deg, #cc8c93 0%, #8fbcbb 100%);
  opacity: 1;
  box-shadow: 0 4px 18px #cc8c9355, 0 1px 0 #0001;
}

@media (max-width: 700px) {
  .about-slider-tab {
    min-width: 44px;
    padding: 0 6px;
  }

  .tab-label {
    font-size: 0.98em;
  }

  .tab-dot,
  .tab-dot.active {
    width: 9px;
    height: 9px;
  }
}


:root {
  --primary-color: #3b4252;
  --secondary-color: #8fbcbb;
  --accent-color: #88c0d0;
  --danger-color: #cc8c93;
  --text-color: #eceff4;
  --light-bg: #232946;
  --card-bg: #181f32;
  --card-glass: rgba(24, 31, 50, 0.85);
  --shadow-heavy: 0 8px 40px 0 rgba(0, 0, 0, 0.45), 0 1.5px 8px 0 rgba(139, 180, 219, 0.12);
}

body {
  font-family: 'Tajawal', sans-serif;
  background: linear-gradient(135deg, #181f32 0%, #232946 100%);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 16px;
}

.about-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-img {
  max-width: 220px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 4px 24px var(--accent-color);
  background: #232946;
}

.about-story {
  background: var(--card-glass);
  border: 1.5px solid var(--accent-color);
  border-radius: 22px;
  padding: 28px 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 16px 0 var(--secondary-color);
  color: var(--text-color);
  font-size: 1.09em;
  line-height: 2.1;
  text-align: right;
  transition: box-shadow 0.2s;
}

.about-story:hover {
  box-shadow: 0 8px 32px var(--danger-color), 0 1px 0 #000;
}

@media (max-width: 900px) {
  .about-story {
    padding: 18px 8px;
    font-size: 1em;
  }
}

.values-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.value-card {
  background: linear-gradient(135deg, rgba(136, 192, 208, 0.20) 0%, rgba(24, 31, 50, 0.92) 100%);
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 rgba(136, 192, 208, 0.18), 0 1px 0 #000;
  padding: 38px 26px 28px 26px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 220px;
  text-align: center;
  border: 2.5px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.22s, border-color 0.22s;
  backdrop-filter: blur(7px);
}

.value-card:nth-child(1) {
  border-color: #8fbcbb;
}

.value-card:nth-child(2) {
  border-color: #cc8c93;
}

.value-card:nth-child(3) {
  border-color: #88c0d0;
}

.value-card:nth-child(4) {
  border-color: #e0aaff;
}

.value-card:nth-child(5) {
  border-color: #f9d923;
}

.value-card:hover {
  transform: translateY(-14px) scale(1.055);
  box-shadow: 0 16px 56px 0 rgba(136, 192, 208, 0.32), 0 1px 0 #000;
  border-color: var(--danger-color);
  z-index: 2;
}

.value-icon {
  font-size: 3.2em;
  display: block;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px #88c0d0cc;
  filter: drop-shadow(0 0 8px #8fbcbb88);
}

.value-card h3 {
  font-size: 1.35em;
  margin: 0 0 12px 0;
  color: var(--accent-color);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.value-card p {
  font-size: 1.09em;
  color: var(--text-color);
  margin: 0;
  line-height: 2.1;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 900px) {
  .values-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .value-card {
    max-width: 98vw;
    min-width: unset;
    padding: 30px 12px 18px 12px;
  }

  .value-icon {
    font-size: 2.2em;
    margin-bottom: 10px;
  }
}


.impact-stats {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--card-glass);
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 var(--secondary-color);
  padding: 28px 18px;
  min-width: 110px;
  text-align: center;
}

.stat-number {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
}

.stat-label {
  font-size: 1.1em;
  color: #d8dee9;
}

.main-message {
  font-size: 1.5em;
  color: var(--danger-color);
  background: var(--card-glass);
  border-radius: 18px;
  padding: 32px;
  margin: 0 auto;
  box-shadow: 0 2px 16px var(--accent-color);
  text-align: center;
  font-style: italic;
  max-width: 700px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 1.1em;
  background: #232946;
  color: var(--text-color);
  box-shadow: 0 2px 12px var(--accent-color) inset;
  resize: none;
}

.contact-form button {
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 18px var(--danger-color), 0 1px 0 #000;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, var(--accent-color) 40%, var(--danger-color) 100%);
  box-shadow: 0 8px 32px var(--accent-color), 0 1px 0 #000;
  transform: scale(1.05) translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {

  .about-content,
  .values-grid,
  .impact-stats {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .container {
    padding: 0 8px;
  }
}

.grain-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.13;
  background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  mix-blend-mode: overlay;
}

.top-bg {
  position: relative;
  background: linear-gradient(120deg, #232946cc 60%, #181f32cc 100%), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  background-blend-mode: darken, normal;
  width: 100%;
  overflow: hidden;
}

.top-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(136, 192, 208, 0.18) 0%, rgba(36, 41, 70, 0.7) 85%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.top-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(5px) brightness(1.1) saturate(1.1);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
  animation: light-move 9s ease-in-out infinite alternate;
}

@keyframes light-move {
  0% {
    filter: blur(6px) brightness(1.08) saturate(1.08);
  }

  100% {
    filter: blur(8px) brightness(1.18) saturate(1.16);
  }
}

.hero .decorative-svg {
  position: absolute;
  top: -38px;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
}

.hero {
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

header {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100vw;
  z-index: 2000;
  min-height: 92px;
  backdrop-filter: blur(10px) saturate(1.2);
  background: rgba(36, 41, 70, 0.22);
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.17), 0 1.5px 8px 0 #88c0d0;
  transition: background 0.22s, box-shadow 0.22s;
}

.top-bg {
  padding-top: 92px;
}

@media (max-width: 700px) {
  header {
    min-height: 60px;
    padding: 0;
  }

  .top-bg {
    padding-top: 60px;
  }
}

@media (max-width: 700px) {
  header {
    min-height: 90px;
  }
}

.hero {
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.header-inner {
  display: flex;
  flex-direction: row-reverse;
  /* RTL: logo à droite, menu à gauche */
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px 0px 40px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.logo-box img {
  height: 60px;
  margin-bottom: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.logo-box h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0 16px;
  font-size: 2.4em;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent-color);
  text-shadow: 0 2px 18px var(--secondary-color), 0 1px 0 #000;
  display: inline-block;
}

.logo-bg {
  position: absolute;
  right: 0;
  top: 0;
  filter: blur(18px);
  z-index: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #88c0d0 0%, transparent 80%);
  pointer-events: none;
}

header h1 {
  margin: 0 0 0 16px;
  font-size: 2.4em;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent-color);
  text-shadow: 0 2px 18px var(--secondary-color), 0 1px 0 #000;
  display: inline-block;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  font-size: 1.2em;
}

nav ul li a {
  text-decoration: none;
  color: #e0aaff;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 18px 8px 18px;
  border-radius: 10px;
  background: rgba(224, 170, 255, 0.08);
  transition: color 0.22s, background 0.22s, box-shadow 0.22s, border-bottom 0.22s;
  text-shadow: 0 0 8px #e0aaff55, 0 0 2px #fff2;
  box-shadow: 0 0 0 transparent;
  border-bottom: 2.5px solid transparent;
  position: relative;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #232946;
  background: linear-gradient(90deg, #f9d923 40%, #e0aaff 100%);
  box-shadow: 0 2px 18px #f9d92333, 0 1px 0 #e0aaff;
  text-shadow: 0 0 10px #fffbe9, 0 0 8px #f9d923;
  border-bottom: 2.5px solid #f9d923;
  filter: brightness(1.11);
}

nav ul li a.active,
nav ul li a[aria-current="page"] {
  color: #f9d923;
  background: linear-gradient(90deg, #e0aaff 40%, #f9d923 100%);
  box-shadow: 0 4px 24px #e0aaff44, 0 1px 0 #f9d923;
  border-bottom: 2.5px solid #e0aaff;
}

.account-item {
  position: relative;
  user-select: none;
}

.account-item>a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-weight: 700;
  background: none;
}

.account-arrow {
  font-size: 0.92em;
  transition: transform 0.18s;
  margin-right: 3px;
  margin-left: 3px;
}

.account-item:hover .account-arrow,
.account-item:focus-within .account-arrow {
  transform: rotate(180deg);
}

.account-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 158px;
  background: rgba(35, 41, 70, 0.98);
  border-radius: 18px;
  box-shadow: 0 6px 32px #8fbcbb55, 0 2px 8px #0002;
  padding: 10px 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  transform: translateY(10px) scale(0.98);
}

.account-item:hover .account-menu,
.account-item:focus-within .account-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.account-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-menu a {
  display: block;
  padding: 11px 26px;
  color: #e0aaff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
  font-size: 1.06em;
}

.account-menu a:hover,
.account-menu a:focus {
  background: linear-gradient(90deg, #8fbcbb 20%, #e0aaff 100%);
  color: #232946;
}

html[dir="rtl"] .account-menu {
  right: auto;
  left: 0;
}

@media (max-width: 900px) {
  .account-menu {
    min-width: 120px;
    right: 0;
    left: auto;
    font-size: 0.99em;
  }
}

@media (max-width: 700px) {
  .account-menu {
    position: static;
    box-shadow: none;
    background: rgba(35, 41, 70, 0.98);
    border-radius: 14px;
    padding: 6px 0;
    min-width: unset;
    width: 100%;
    margin-top: 2px;
  }

  .account-menu a {
    padding: 10px 14px;
    font-size: 1em;
  }
}

/* --- Coming Soon Popup --- */
#coming-soon-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

#coming-soon-popup .popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 41, 70, 0.65);
  backdrop-filter: blur(2.5px);
  z-index: 0;
}

#coming-soon-popup .popup-content {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  box-shadow: 0 8px 40px #8fbcbb66, 0 1.5px 8px #e0aaff33;
  padding: 38px 36px 28px 36px;
  text-align: center;
  min-width: 260px;
  max-width: 92vw;
  animation: popup-fadein 0.4s cubic-bezier(.77, -0.01, .27, 1.01);
}

#coming-soon-popup .popup-emoji {
  font-size: 2.5em;
  display: block;
  margin-bottom: 12px;
}

#coming-soon-popup .popup-message {
  font-size: 1.23em;
  color: #e0aaff;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#coming-soon-popup .popup-close {
  background: linear-gradient(90deg, #8fbcbb 0%, #e0aaff 100%);
  color: #232946;
  border: none;
  border-radius: 16px;
  font-size: 1.08em;
  font-weight: bold;
  padding: 9px 32px;
  box-shadow: 0 2px 12px #e0aaff44;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
}

#coming-soon-popup .popup-close:hover,
#coming-soon-popup .popup-close:focus {
  background: linear-gradient(90deg, #e0aaff 0%, #8fbcbb 100%);
  color: #232946;
  transform: scale(1.06);
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 500px) {
  #coming-soon-popup .popup-content {
    padding: 22px 8vw 18px 8vw;
    min-width: unset;
  }

  #coming-soon-popup .popup-message {
    font-size: 1em;
  }

  #coming-soon-popup .popup-close {
    font-size: 1em;
    padding: 9px 18px;
  }
}

@keyframes popup-fadein {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.signup-btn {
  display: inline-block;
  padding: 10px 32px;
  background: linear-gradient(90deg, var(--accent-color) 50%, var(--danger-color) 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 1.07em;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 4px 18px var(--danger-color), 0 1px 0 #0002;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s, opacity 0.28s;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  top: 0;
  z-index: 2;
}

.floating-signup {
  position: fixed;
  bottom: 32px;
  right: 32px;
  left: auto;
  z-index: 1200;
  box-shadow: 0 8px 32px var(--danger-color), 0 2px 8px #23294699;
  opacity: 0.96;
  animation: fadein-signup 0.7s cubic-bezier(.77, -0.01, .27, 1.01);
  font-size: 1.13em;
  padding: 14px 38px;
  border-radius: 32px;
}

html[dir="rtl"] .floating-signup {
  right: auto;
  left: 32px;
}

@media (max-width: 700px) {
  .floating-signup {
    bottom: 18px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 11px 18px;
    font-size: 1em;
    border-radius: 22px;
    min-width: 120px;
  }
}

@keyframes fadein-signup {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  to {
    opacity: 0.96;
    transform: none;
  }
}

.signup-btn:hover,
.signup-btn:focus {
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  color: #fff;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 36px var(--accent-color), 0 1px 0 #0002;
}

@media (max-width: 900px) {
  .signup-btn {
    display: block;
    margin: 14px auto 0 auto;
    padding: 11px 18px;
    font-size: 1em;
    width: 90%;
    text-align: center;
    border-radius: 20px;
  }
}

@media (max-width: 700px) {
  nav ul li a {
    padding: 10px 8px;
    font-size: 1.04em;
  }

  .signup-btn {
    margin: 12px auto 0 auto;
    width: 100%;
    padding: 10px 8px;
    font-size: 1em;
  }
}

nav ul li a:hover,
nav ul li a:focus {
  background: rgba(136, 192, 208, 0.15);
  color: #fff;
  box-shadow: 0 2px 18px #88c0d0, 0 1px 0 #000, 0 0 16px #bf616a;
  text-shadow: 0 0 16px #fff, 0 0 8px #bf616a;
  filter: brightness(1.15);
}

.hero {
  background: linear-gradient(120deg, #232946bb 70%, #181f32bb 100%), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  background-blend-mode: darken, normal;
  text-align: center;
  padding: 110px 20px 80px 20px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 700px) {
  .hero {
    padding: 60px 8px 40px 8px;
    background-position: center 35%;
    border-radius: 0 0 24px 24px;
  }
}

.hero h2 {
  color: var(--secondary-color);
  font-size: 3em;
  font-weight: 900;
  margin-bottom: 24px;
  text-shadow: 0 2px 18px var(--accent-color), 0 1px 0 #000;
}

.hero p {
  font-size: 1.2em;
  margin: 0 auto 30px;
  color: #d8dee9;
}

.cta-button {
  background: linear-gradient(90deg, var(--accent-color) 60%, var(--danger-color) 100%);
  color: #fff;
  padding: 18px 48px;
  border: none;
  border-radius: 32px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 24px var(--danger-color), 0 1px 0 #000;
  letter-spacing: 2px;
  margin-top: 24px;
  transition: transform 0.18s, background 0.3s, box-shadow 0.3s;
  outline: none;
}

.cta-button:hover,
.cta-button:focus {
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-color), 0 1px 0 #000;
}

.section {
  padding: 64px 12px 48px 12px;
  text-align: center;
  background: none;
  margin-bottom: 32px;
  border-radius: 32px;
  box-shadow: var(--shadow-heavy);
  position: relative;
  z-index: 0;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(139, 180, 219, 0.07) 0%, rgba(36, 41, 70, 0.92) 100%);
  z-index: -1;
}

.section h2 {
  font-size: 2.4em;
  margin-bottom: 28px;
  font-weight: 900;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-shadow: 0 2px 18px var(--danger-color), 0 1px 0 #000;
}

/* --- Artistic Courses Section --- */
.courses-section {
  background: linear-gradient(120deg, #e0aaff22 0%, #8fbcbb11 100%);
  box-shadow: 0 8px 40px 0 #e0aaff33;
  border: 2px solid #e0aaff55;
}

.courses-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.course-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, #e0aaff33 100%);
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 #e0aaff55, 0 1px 0 #0002;
  padding: 32px 18px 22px 18px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 220px;
  text-align: center;
  border: 2.5px solid #e0aaff;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  backdrop-filter: blur(7px);
}

.course-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 16px 56px 0 #e0aaff99, 0 1px 0 #0002;
  border-color: #bf616a;
  z-index: 2;
}

.course-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 14px #e0aaff66;
}

.course-card h3 {
  font-size: 1.22em;
  color: #a78bfa;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 1.07em;
  color: var(--text-color);
  margin-bottom: 18px;
  line-height: 2;
}

.course-cta {
  background: linear-gradient(90deg, #e0aaff 60%, #8fbcbb 100%);
  color: #232946;
  padding: 10px 28px;
  border: none;
  border-radius: 18px;
  font-size: 1.08em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 18px #e0aaff66, 0 1px 0 #0001;
  letter-spacing: 1px;
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
}

.course-cta:hover {
  background: linear-gradient(90deg, #8fbcbb 60%, #e0aaff 100%);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px #a78bfa99, 0 1px 0 #0001;
}

@media (max-width: 900px) {
  .courses-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .course-card {
    max-width: 98vw;
    min-width: unset;
    padding: 24px 8px 14px 8px;
  }
}

/* --- Artistic Tips Section --- */

.contact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #232946 70%, #e0aaff 100%);
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(24, 31, 50, 0.26), 0 1.5px 8px 0 rgba(224, 170, 255, 0.2);
  border: 2.5px solid #e0aaffcc;
  margin: 60px auto 0 auto;
  max-width: 650px;
  padding: 0;
  backdrop-filter: blur(18px) saturate(1.13);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, #e0aaff55 0%, transparent 80%);
  filter: blur(32px);
  z-index: 0;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 70% 70%, #23294655 0%, transparent 80%);
  filter: blur(32px);
  z-index: 0;
}

.contact-section .contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: linear-gradient(90deg, #e0aaff 0%, #232946 100%);
  opacity: 0.10;
  z-index: 0;
}

.contact-section .contact-content {
  position: relative;
  z-index: 2;
  padding: 38px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contact-info {
  text-align: center;
  margin-bottom: 0;
}

.contact-info h2 {
  font-size: 2.1em;
  font-weight: 900;
  color: #f3f3f3;
  margin-bottom: 14px;
  letter-spacing: 1.3px;
  text-shadow: 0 2px 12px #23294699;
}

.contact-info p,
.contact-info a {
  font-size: 1.13em;
  color: #c5c8d7;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.18s;
  direction: rtl;
}

.contact-info a:hover {
  color: #f9d923;
}

.contact-form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  box-shadow: 0 4px 24px #23294644;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  border: 1.5px solid #e0aaff77;
}

.contact-form h3 {
  font-size: 1.18em;
  font-weight: 800;
  color: #f9d923;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0px;
  border-radius: 10px;
  border: 2px solid #e0aaff44;
  font-size: 1em;
  margin-bottom: 8px;
  background: #23294611;
  color: #e0aaff;
  box-shadow: 0 1.5px 8px #23294622;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  direction: rtl;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e0aaff;
  box-shadow: 0 0 0 3px #e0aaff33;
  background: #23294622;
  color: #6d651b;
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 220px;
}

.contact-form button {
  background: linear-gradient(90deg, #232946 0%, #e0aaff 100%);
  color: #f9d923;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 1.13em;
  box-shadow: 0 2px 12px #e0aaff33;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #f9d923 0%, #232946 100%);
  color: #181f32;
  box-shadow: 0 4px 18px #f9d92344;
}

@media (max-width: 700px) {
  .contact-section {
    max-width: 98vw;
    border-radius: 14px;
    margin: 30px auto 0 auto;
  }

  .contact-section .contact-content {
    padding: 18px 2vw 10px 2vw;
    gap: 18px;
  }

  .contact-info h2 {
    font-size: 1.3em;
  }

  .contact-form {
    max-width: 99vw;
    padding: 14px 4vw 10px 4vw;
    border-radius: 12px;
  }
}

.tips-section {
  background: linear-gradient(110deg, #f9d92322 0%, #cc8c9311 100%);
  box-shadow: 0 8px 40px 0 #f9d92333;
  border: 2px solid #f9d92344;
}

.tips-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 14px auto;
  max-width: 100vw;
  overflow: visible;
  gap: 0;
}

.tips-slider {
  display: flex;
  gap: 0px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 0 18px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 92vw;
}

.tips-slider::-webkit-scrollbar {
  display: none;
}

.tip-card {
  min-width: 240px;
  max-width: 320px;
  flex: 0 0 260px;
  scroll-snap-align: center;
  margin: 0 4px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.tips-slider-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  margin-bottom: 0;
}

.tips-slider-tab {
  background: #494948;
  border: 2px solid #f9d923;
  outline: none;
  cursor: pointer;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  position: relative;
  opacity: 1;
  border-radius: 18px;
  box-shadow: 0 2px 12px #f9d92333, 0 1.5px 8px #e0aaff11;
  margin: 0 2px;
  transition: box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

.tips-slider-tab:focus {
  outline: 2px solid #e0aaff;
}

.tab-label {
  font-size: 1.07em;
  font-weight: 800;
  color: #c5c8d7;
  margin-bottom: 3px;
  letter-spacing: 0.3px;
  transition: none;
}

.tips-slider-tab .tab-dot {
  display: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(120deg, #f9d923 0%, #e0aaff 100%);
  opacity: 0.45;
  margin: 0 auto;
  box-shadow: 0 2px 8px #f9d92322;
  transition: background 0.22s, opacity 0.22s, box-shadow 0.22s;
}

.tips-slider-tab .tab-dot.active {
  background: linear-gradient(120deg, #e0aaff 0%, #f9d923 100%);
  opacity: 1;
  box-shadow: 0 4px 18px #f9d92355, 0 1px 0 #0001;
  display: none;
}

@media (max-width: 700px) {
  .tips-slider-tab {
    min-width: 44px;
    padding: 0 6px;
  }

  .tips-slider-tab .tab-label {
    font-size: 0.98em;
  }

  .tips-slider-tab .tab-dot,
  .tips-slider-tab .tab-dot.active {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 700px) {
  .tips-slider-wrapper {
    gap: 0;
  }

  .tips-slider {
    gap: 9px;
    max-width: 99vw;
    padding: 7px 0 7px 0;
  }

  .tip-card {
    min-width: 82vw;
    max-width: 95vw;
    flex: 0 0 88vw;
    margin: 0 2px;
  }

  .tips-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.2em;
    margin: 0 3px;
  }
}

.tips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 28px;
}

.tip-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fffbe933 0%, #f9d92322 100%);
  border-radius: 22px;
  box-shadow: 0 2px 14px #f9d92344;
  padding: 18px 28px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 250px;
  transition: transform 0.16s, box-shadow 0.16s;
  border: 2px solid #f9d923;
  margin-bottom: 10px;
  gap: 18px;
}

.tip-card:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 8px 24px #f9d92399;
}

.tip-icon {
  font-size: 2.7em;
  margin-left: 10px;
  margin-right: 0;
  filter: drop-shadow(0 0 8px #f9d92399);
  text-shadow: 0 2px 8px #fffbe9;
}

.tip-card h3 {
  color: #cc8c93;
  margin: 0 0 6px 0;
  font-size: 1.08em;
  font-weight: 700;
}

.tip-card p {
  color: #232946;
  margin: 0;
  font-size: 1.02em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .tips-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .tip-card {
    max-width: 98vw;
    min-width: unset;
    padding: 14px 6px;
  }
}

/* --- Artistic Voyage Section --- */
.voyage-section {
  background: linear-gradient(120deg, #8fbcbb22 0%, #a3cef133 100%);
  box-shadow: 0 8px 40px 0 #8fbcbb33;
  border: 2px solid #8fbcbb44;
}

.voyage-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.voyage-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, #8fbcbb33 100%);
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 #8fbcbb55, 0 1px 0 #0002;
  padding: 32px 18px 22px 18px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 220px;
  text-align: center;
  border: 2.5px solid #8fbcbb;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  backdrop-filter: blur(7px);
}

.voyage-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 16px 56px 0 #8fbcbb99, 0 1px 0 #0002;
  border-color: #e0aaff;
  z-index: 2;
}

.voyage-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 14px #8fbcbb66;
}

.voyage-card h3 {
  font-size: 1.22em;
  color: #8fbcbb;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.voyage-card p {
  font-size: 1.07em;
  color: var(--text-color);
  margin-bottom: 18px;
  line-height: 2;
}

.voyage-cta {
  background: linear-gradient(90deg, #8fbcbb 60%, #a3cef1 100%);
  color: #232946;
  padding: 10px 28px;
  border: none;
  border-radius: 18px;
  font-size: 1.08em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 18px #8fbcbb66, 0 1px 0 #0001;
  letter-spacing: 1px;
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
}

.voyage-cta:hover {
  background: linear-gradient(90deg, #a3cef1 60%, #8fbcbb 100%);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px #a3cef199, 0 1px 0 #0001;
}

@media (max-width: 900px) {
  .voyage-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .voyage-card {
    max-width: 98vw;
    min-width: unset;
    padding: 24px 8px 14px 8px;
  }
}

/* --- Artistic Elixir Section --- */
.elixir-section {
  background: linear-gradient(120deg, #cc8c9322 0%, #f9d92311 100%);
  box-shadow: 0 8px 40px 0 #cc8c9333;
  border: 2px solid #cc8c9344;
}

.elixir-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.elixir-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, #cc8c9333 100%);
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 #cc8c9355, 0 1px 0 #0002;
  padding: 32px 18px 22px 18px;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 220px;
  text-align: center;
  border: 2.5px solid #cc8c93;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  backdrop-filter: blur(7px);
}

.elixir-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 16px 56px 0 #cc8c9399, 0 1px 0 #0002;
  border-color: #f9d923;
  z-index: 2;
}

.elixir-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: 0 2px 14px #cc8c9366;
}

.elixir-card h3 {
  font-size: 1.22em;
  color: #cc8c93;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.elixir-card p {
  font-size: 1.07em;
  color: var(--text-color);
  margin-bottom: 18px;
  line-height: 2;
}

.elixir-cta {
  background: linear-gradient(90deg, #cc8c93 60%, #f9d923 100%);
  color: #232946;
  padding: 10px 28px;
  border: none;
  border-radius: 18px;
  font-size: 1.08em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 18px #cc8c9366, 0 1px 0 #0001;
  letter-spacing: 1px;
  transition: background 0.22s, box-shadow 0.22s, transform 0.16s;
}

.elixir-cta:hover {
  background: linear-gradient(90deg, #f9d923 60%, #cc8c93 100%);
  color: #fff;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px #f9d92399, 0 1px 0 #0001;
}

@media (max-width: 900px) {
  .elixir-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .elixir-card {
    max-width: 98vw;
    min-width: unset;
    padding: 24px 8px 14px 8px;
  }
}

.section p {
  max-width: 800px;
  margin: 0 auto 16px;
  font-size: 1.18em;
  color: #d8dee9;
  line-height: 2.1;
  font-weight: 500;
  text-shadow: 0 1px 0 #000;
}

.image-box {
  width: 100%;
  max-width: 580px;
  height: 300px;
  background: rgba(36, 41, 70, 0.6);
  margin: 32px auto 24px auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.35);
  border: 2px solid var(--accent-color);
  object-fit: cover;
  transition: transform 0.22s, box-shadow 0.22s;
}

.image-box:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 64px 0 var(--danger-color), 0 1px 0 #000;
  border-color: var(--danger-color);
}

.newsletter-box {
  background: linear-gradient(120deg, rgba(139, 180, 219, 0.20) 0%, rgba(36, 41, 70, 0.92) 100%);
  padding: 40px 30px;
  border-radius: 32px;
  max-width: 500px;
  margin: 40px auto 0;
  box-shadow: 0 8px 54px 0 #232946, 0 1.5px 8px 0 #88c0d0;
  border: 2px solid var(--accent-color);
  backdrop-filter: blur(12px) saturate(1.3);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, #bf616a44 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.newsletter-box * {
  position: relative;
  z-index: 1;
}

.newsletter-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  width: 100%;
}

/* --- HEADER RESPONSIVE --- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px 0px 40px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.header-inner nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.header-inner nav ul li {
  position: relative;
}

.header-inner nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.97em;
  padding: 5px 13px;
  border-radius: 13px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.account-item>a .account-arrow {
  font-size: 0.93em;
  margin-right: 2px;
}

.account-menu {
  min-width: 110px;
}

.account-menu a {
  font-size: 0.96em;
  padding: 7px 14px;
  border-radius: 10px;
}

.account-menu a:hover,
.account-menu a:focus {
  background: linear-gradient(90deg, #8fbcbb 20%, #e0aaff 100%);
  color: #232946;
}

html[dir="rtl"] .account-menu {
  right: auto;
  left: 0;
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 0 0;
  }

  .logo-box {
    justify-content: center;
    margin-bottom: 6px;
  }

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: rgba(35, 41, 70, 0.99);
    border-radius: 18px;
    box-shadow: 0 6px 24px #8fbcbb22;
    padding: 6px 0 4px 0;
    margin-bottom: 6px;
  }

  nav ul li a {
    padding: 11px 0;
    font-size: 1.06em;
    border-radius: 11px;
    justify-content: flex-start;
    width: 100%;
    text-align: right;
  }

  .account-menu {
    position: static;
    box-shadow: none;
    background: rgba(35, 41, 70, 0.98);
    border-radius: 12px;
    padding: 4px 0;
    min-width: unset;
    width: 100%;
    margin-top: 2px;
  }

  .account-menu a {
    padding: 8px 14px;
    font-size: 0.99em;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 6px;
  margin-left: 4px;
  font-size: 0.98em;
  user-select: none;
  background: rgba(224, 170, 255, 0.03);
  border-radius: 18px;
  padding: 2px 4px;
  box-shadow: 0 1.5px 8px #e0aaff18;
}

.lang-btn {
  padding: 3.5px 12px 3.5px 12px;
  border-radius: 16px;
  background: rgba(224, 170, 255, 0.13);
  color: #e0aaff;
  text-decoration: none;
  font-weight: 700;
  border: none;
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
  box-shadow: 0 1px 4px #e0aaff18;
  cursor: pointer;
  letter-spacing: 0.2px;
  font-size: 1em;
  margin: 0 1.5px;
  position: relative;
  z-index: 1;
}

.lang-btn.active,
.lang-btn:hover,
.lang-btn:focus {
  background: linear-gradient(90deg, #e0aaff 0%, #8fbcbb 100%);
  color: #232946;
  box-shadow: 0 2px 10px #8fbcbb33;
  transform: scale(1.08);
}

.lang-divider {
  color: #e0aaff;
  opacity: 0.48;
  font-size: 1.18em;
  padding: 0 1.5px;
  user-select: none;
}

@media (max-width: 700px) {
  .lang-switch {
    margin: 9px auto 0 auto;
    justify-content: center;
    gap: 2px;
    font-size: 0.97em;
    padding: 2px 2px;
  }

  .lang-btn {
    padding: 4px 10px;
    font-size: 0.98em;
    border-radius: 12px;
    margin: 0 1px;
  }
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2.2em;
  color: #e0aaff;
  cursor: pointer;
  margin-right: 8px;
  margin-left: 8px;
  z-index: 1202;
  transition: color 0.2s;
}

.burger-btn:focus {
  outline: 2px solid #e0aaff;
}

@media (max-width: 700px) {
  .burger-btn {
    display: block;
    position: absolute;
    top: 8px;
    left: 16px;
    right: auto;
  }

  nav {
    width: 100%;
    position: relative;
  }

  nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: rgba(24, 31, 50, 0.98);
    border-radius: 18px;
    box-shadow: 0 4px 24px #23294699;
    padding: 18px 0 10px 0;
    margin: 0;
    position: absolute;
    top: 44px;
    right: 0;
    left: 0;
    z-index: 1201;
    transition: opacity 0.18s, transform 0.18s;
    opacity: 0;
    pointer-events: none;
  }

  header.nav-open nav ul {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  nav ul li {
    margin: 0 0 7px 0;
    text-align: center;
  }

  nav ul li:last-child {
    margin-bottom: 0;
  }

  nav ul li a,
  .signup-btn {
    width: 90%;
    margin: 0 auto 6px auto;
    padding: 13px 0;
    font-size: 1.10em;
    border-radius: 16px;
    text-align: center;
    display: block;
  }

  .account-item {
    width: 100%;
  }

  .account-menu {
    position: static;
    box-shadow: none;
    background: rgba(35, 41, 70, 0.98);
    border-radius: 14px;
    padding: 6px 0;
    min-width: unset;
    width: 100%;
    margin-top: 2px;
    opacity: 1 !important;
    display: block !important;
    pointer-events: auto;
    transform: none;
  }

  .account-menu a {
    padding: 10px 14px;
    font-size: 1em;
  }
}

.newsletter-box input[type="email"] {
  padding: 8px 14px;
  border-radius: 22px 0 0 22px;
  border: none;
  width: 60%;
  font-size: 1.05em;
  background: #232946;
  color: var(--text-color);
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 2px 12px var(--accent-color) inset;
  border-right: none;
}

.newsletter-btn {
  padding: 8px 18px;
  border-radius: 0 22px 22px 0;
  border: none;
  background: linear-gradient(90deg, var(--accent-color) 60%, var(--danger-color) 100%);
  color: #fff;
  font-size: 0.98em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--danger-color), 0 1px 0 #000;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  margin-right: 0;
  margin-left: 0;
  min-width: 78px;
}

.newsletter-btn:hover,
.newsletter-btn:focus {
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 700px) {
  .newsletter-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .newsletter-box input[type="email"] {
    border-radius: 18px 18px 0 0;
    width: 100%;
    margin-bottom: 0;
  }

  .newsletter-btn {
    border-radius: 0 0 18px 18px;
    width: 100%;
    min-width: unset;
  }
}

.newsletter-box button {
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 18px var(--danger-color), 0 1px 0 #000;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.newsletter-box button:hover {
  background: linear-gradient(90deg, var(--accent-color) 40%, var(--danger-color) 100%);
  box-shadow: 0 8px 32px var(--accent-color), 0 1px 0 #000;
  transform: scale(1.05) translateY(-2px);
}

footer {
  background: linear-gradient(90deg, #232946 60%, #181f32 100%);
  padding: 32px 20px 16px 20px;
  text-align: center;
  color: var(--secondary-color);
  border-top: 2px solid var(--accent-color);
  font-size: 1.1em;
  letter-spacing: 1px;
  font-weight: bold;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.22);
}

.contact-button {
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: linear-gradient(90deg, var(--danger-color) 40%, var(--accent-color) 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 32px;
  font-weight: bold;
  box-shadow: 0 8px 32px var(--danger-color), 0 1px 0 #000;
  text-decoration: none;
  font-size: 1.1em;
  letter-spacing: 1px;
  z-index: 999;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.contact-button:hover {
  background: linear-gradient(90deg, var(--accent-color) 40%, var(--danger-color) 100%);
  box-shadow: 0 12px 36px var(--accent-color), 0 1px 0 #000;
  transform: scale(1.07) translateY(-2px);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  filter: blur(3px);
  transition: all 0.8s cubic-bezier(.39, .575, .565, 1.000);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@media (max-width: 800px) {

  .section,
  .newsletter-box {
    border-radius: 16px;
  }

  .hero {
    border-radius: 0 0 16px 16px;
    padding: 64px 6px 44px 6px;
  }

  .image-box {
    height: 160px;
  }

  nav ul {
    gap: 10px;
    font-size: 1em;
  }

  .contact-button {
    padding: 12px 18px;
    font-size: 0.95em;
  }
}

.course-card {
  cursor: pointer;
}