:root {
  --background: #D4D7EB;
  --sections-bg: #EBEFFA;
  --pink-bg: #B290A8;
  --pink-text: #B290A8;
  --main-text: #000;
  --overlay-text: #000;
  --grey: #7D7C7C;
  --white-text: #fff;
  --shadow: 0 10px 20px rgba(0,0,0,0.25);
  --black-text: black;
}

body.mode {
  --background: #212124;
  --sections-bg: #000;
  --main-text: #fff;
  --overlay-text: #fff;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/sf-pro-display/SFPRODISPLAYREGULAR.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/sf-pro-display/SFPRODISPLAYMEDIUM.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("./assets/sf-pro-display/SFPRODISPLAYBOLD.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acorn";
  src: url("./assets/acorn/Acorn-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acorn";
  src: url("./assets/acorn/Acorn-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Acorn";
  src: url("./assets/acorn/Acorn-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


* {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

html[lang="ar"] :is(h1, h2, h3, h4, p, a, button, label, input, textarea, li, span) {
  font-family: "Noto Sans Arabic", sans-serif !important;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] header nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .logo {
  padding-right: 0;
  padding-left: 50px;
}

html[dir="rtl"] .lang button:first-child {
  border-right: none;
  border-left: 1px solid var(--grey);
}

html[dir="rtl"] .hero,
html[dir="rtl"] .cards_header,
html[dir="rtl"] .science_header,
html[dir="rtl"] .contact_header,
html[dir="rtl"] .stats_header,
html[dir="rtl"] footer,
html[dir="rtl"] .gallery_wrap .content,
html[dir="rtl"] .form_group {
  text-align: right;
}

html[dir="rtl"] .scroll_up_btn {
  left: auto;
  right: 5%;
  transform: translateX(50%);
}

html[dir="rtl"] .story_scroller {
  direction: ltr;
}

html[dir="rtl"] .skip_btn {
  left: auto;
  right: 40px;
  flex-direction: row-reverse;
}

html[dir="rtl"] .story_text,
html[dir="rtl"] .story_text2,
html[dir="rtl"] #skip_text {
  direction: rtl;
}

html[dir="rtl"] .gallery_wrap .item {
  left: auto;
}

html[dir="rtl"] .gallery_wrap .item:nth-child(1),
html[dir="rtl"] .gallery_wrap .item:nth-child(2) {
  left: auto;
  right: 0;
}

html[dir="rtl"] .gallery_wrap .item:nth-child(3) { right: 50%; }
html[dir="rtl"] .gallery_wrap .item:nth-child(4) { right: calc(50% + 220px); }
html[dir="rtl"] .gallery_wrap .item:nth-child(5) { right: calc(50% + 440px); }
html[dir="rtl"] .gallery_wrap .item:nth-child(6) { right: calc(50% + 660px); opacity: 0; }

html[dir="rtl"] .gallery_wrap .content {
  left: auto;
  right: 3rem;
}

html[dir="rtl"] .gallery_wrap .content .title {
  text-transform: none;
}

html[dir="rtl"] .form_group input,
html[dir="rtl"] .form_group textarea {
  text-align: right;
}

.scroll_up_btn {
  position: sticky;
  top: calc(100vh - 120px); 
  left: 95%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  border: none;
  text-decoration: none;
}

.scroll_up_btn img {
  width: 30px;
  height: 30px;
  filter: brightness(0%);
}

body {
  width: 100vw;
  background-color: var(--background);
}

header nav {
  width: 1300px;
  justify-content: space-between;
  display: flex;
  padding: 15px 0;
  margin: 0 auto;
}

header nav ul {
  list-style-type: none;
  gap: 50px;
  display: flex;
  align-items: center;
}

.logo {
  padding-right: 50px;
  width: 93px;
  height: auto;
}

ul li a {
  color: var(--grey);
  font-family: "SF Pro Display", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 139.583%; /* 33.5px */
  text-decoration: none;
}

.active {
  color: var(--main-text);
}

.header_btns {
  display: flex;
  align-items: center;
  gap: 30px;
}

.lang {
  display: flex;
  align-items: center;
}

.lang button {
  display: flex;
  padding: 0 14px;
  align-items: center;
  box-sizing: border-box;
  color: var(--grey);
  font-family: "SF Pro Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 139.583%; /* 33.5px */
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, font-weight 0.2s ease, opacity 0.2s ease;
}

.lang button:first-child {
  border-right: 1px solid var(--grey);
}

.lang button.is-active {
  color: var(--main-text);
  font-weight: 700;
  opacity: 1;
}

.lang button:not(.is-active) {
  opacity: 0.75;
}

#mode_button {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 40px;
  background: var(--pink-bg);
  border: none;
  cursor: pointer;
}

#login {
  border-radius: 30px;
  background: var(--pink-bg);
  border: none;
  cursor: pointer;
  display: flex;
  padding: 7px 30px;
  box-sizing: border-box;
}

#login a {
  color: var(--white-text);
  text-align: center;
  font-family: "SF Pro Display";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 139.583%; /* 33.672px */
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero {
  width: 1300px;
  height: 800px;
  background: var(--sections-bg);
  border-radius: 40px;
  background-image: url(assets/heroframe.png);
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 50px;
  box-sizing: border-box;
  margin: 0 auto;
}

.hero h1 {
  color: var(--main-text);
  font-family: "SF Pro Display";
  font-size: 85.026px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%; /* 118.682px */
  text-transform: uppercase;
}

.hero h3 {
  color: var(--main-text);
  text-align: right;
  font-family: 'SF Pro Display';
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%; /* 33.5px */
  text-transform: uppercase;
}

.story_section {
  width: 1300px;
  height: 760px;
  background-color: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.story_scroller {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 130%;
}

.story_scroller::-webkit-scrollbar {
  height: 12px;
}

.story_scroller::-webkit-scrollbar-track {
  background: rgba(178, 144, 168, 0.1);
  border-radius: 10px;
}

.story_scroller::-webkit-scrollbar-thumb {
  background: var(--pink-bg);
  border-radius: 10px;
}

.story_scroller::-webkit-scrollbar-thumb:hover {
  background: #9a7a8f;
}

.story_frame {
  width: 1300px;
  height: 760px;
  position: relative;
  flex-shrink: 0;
  display: flex;
}


.skip_btn {
  position: absolute;
  top: 24px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--pink-bg);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 10;
  font-family: "SF Pro Display", sans-serif;
  color: var(--white-text);
  font-size: 16px;
  transition: all 0.3s ease;
}

.skip_btn:hover {
  background: #9a7a8f;
}

.skip_btn span {
  color: var(--white-text);
}

.skip_arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white-text);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-bg);
  font-size: 14px;
  font-weight: bold;
}

.story_content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.story_content2 {
  width: 100%;
  height: 80%;
  display: flex;
  gap: 30px;
  align-self: flex-end;
}

.story_girl {
  z-index: 2;
  position: relative;
  width: 700px;  
  height: auto;
  object-fit: contain;
}

.story_girl2 {
  z-index: 2;
  position: relative;
  width: 450px;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
}

.story_neuron {
  opacity: 0.9;
  z-index: 2;
}

.story_neuron_1 {
  width: 260px;
  height: auto;
  align-self: flex-start;
}

.story_neuron_2 {
  width: 260px;
  height: auto;
  align-self: flex-start;
}

.story_text {
  color: var(--main-text);
  text-align: center;
  font-family: 'Acorn';
  font-size: 64px;
  font-weight: 500;
  z-index: 3;
}

.story_text2 {
  position: absolute;
  top: 80px;
  left: 70%;
  transform: translateX(-50%);
  color: var(--main-text);
  text-align: center;
  font-family: 'Acorn';
  font-size: 64px;
  font-weight: 500;
  z-index: 3;
}

.progress_bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  overflow: hidden;
  z-index: 1000;
}

.progress_fill {
  width: 15%;
  height: 100%;
  background: var(--pink-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.cards_section {
  width: 1300px;
  min-height: 740px;
  height: auto;
  background-color: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  padding: 70px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 45px;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cards_header h2, .science_header h2  {
  font-family: "SF Pro Display";
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--main-text);
}

.cards_header p, .science_header p {
  color:var(--pink-text);
  font-family: 'Acorn';
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%; /* 33.5px */
  color: var(--pink-text);
}

.cards_grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 55px;
  align-self: center;
}

.myth_card {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  width: 290px;
  height: 450px;
  perspective: 1000px;
  transition: all 0.3s ease;
}

.myth_card:hover:not(.flipped) {
  transform: translateY(-8px);
}

.card_image,
.card_back {
  width: 290px;
  height: 450px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ease;
}

.card_image {
  background-image: url("assets/card.png"); 
  background-size: cover;
  background-position: center;
  transform: rotateY(0deg);
}

.myth_card:hover:not(.flipped) .card_image {
  box-shadow: var(--shadow);
}

.card_back {
  background: var(--pink-bg);
  color: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotateY(180deg);
}

.myth_card.flipped .card_image {
  transform: rotateY(180deg);
}

.myth_card.flipped .card_back {
  transform: rotateY(0deg);
}

.card_image p {
  color: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  width: 200px;
  line-height: 1.45;
  text-shadow: var(--shadow);
}

.cards_hint {
  font-size: 14px;
  text-align: center;
  color:var(--main-text);
  font-family: 'Acorn';
  font-style: normal;
  font-weight: 500;
}

html[lang="ar"] .card_image p {
  width: 220px;
  line-height: 1.6;
}

html[lang="ar"] .card_back {
  font-family: "Noto Sans Arabic", sans-serif;
  text-transform: none;
}

.science_section {
  width: 1300px;
  height: 980px;
  background: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  padding: 70px 60px;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.science_header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  position: relative;
}

.science_stage {
  position: relative;
  width: 100%;
  height: 720px;
  display: grid;
  place-items: center;
  overflow: visible;
}

model-viewer.science_viewer {
  width: 620px;
  height: 620px;
  background: transparent;
  overflow: visible;
}

.science_rings {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science_rings::before, .science_rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;

  background: linear-gradient(
    90deg,
    rgba(178, 144, 168, 1) 0%,
    rgba(178, 144, 168, 0.2) 100%
  );

  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
}

.science_rings::before {
  width: 700px;
  height: 700px;
  animation: spin 10s linear infinite;
}

.science_rings::after {
  width: 600px;
  height: 600px;
  animation: spin 30s linear infinite reverse;
}

@keyframes spin {
  from { 
    transform: rotate(0deg); 
  }
  to { 
    transform: rotate(360deg);
  }
}

model-viewer.science_viewer {
  width: 900px;
  height: 700px;
  background: transparent;
  overflow: visible;
}

.glass_hotspot {
  border: none;
  background: transparent;
  position: absolute;
  z-index: 999;
}

.hotspot_card {
  width: 240px;
  border-radius: 18px;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  z-index: 999;
}

.hotspot_card h4 {
  font-family: 'Acorn';
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-text);
  margin-bottom: 8px;
}

.hotspot_card p {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 139.583%; /* 27.917px */
  color: var(--main-text);
}

.science_viewer::part(default-progress-bar) {
  display: none;
}

.gallery_section {
  width: 1300px;
  height: 760px;            
  background: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  padding: 60px;          
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.gallery_wrap{
  width: 100%;
  height: 100%;
  position: relative;         
  overflow: hidden;
  border-radius: 30px;
}


.gallery_wrap > ul.slider{
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.gallery_wrap .item{
  width: 200px;
  height: 300px;
  list-style-type: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.gallery_wrap .item:nth-child(1), .gallery_wrap .item:nth-child(2){
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.gallery_wrap .item:nth-child(3){ left: 50%; }
.gallery_wrap .item:nth-child(4){ left: calc(50% + 220px); }
.gallery_wrap .item:nth-child(5){ left: calc(50% + 440px); }
.gallery_wrap .item:nth-child(6){ left: calc(50% + 660px); opacity: 0; }

.gallery_wrap .content {
  width: min(30vw, 400px);
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  opacity: 0;
  display: none;
}

.gallery_wrap .content .title {
  font-family: "SF Pro Display";
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%; /* 83.75px */
  text-transform: uppercase;
  color: var(--overlay-text);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.gallery_wrap .content .description {
  color: var(--overlay-text);
  font-family: 'Acorn';
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%; /* 33.5px */
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  font-size: 0.8rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.gallery_wrap .content button,
.gallery_wrap .content .read_more_btn {
  width: fit-content;
  background-color: rgba(0,0,0,0.1);
  color: var(--white-text);
  border: 2px solid var(--white-text);
  border-radius: 30px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-family: "SF Pro Display";
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gallery_wrap .content button:hover,
.gallery_wrap .content .read_more_btn:hover {
  background-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.gallery_wrap .item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0%{
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100%{
    opacity: 1;
    filter: blur(0);
  }
}

.gallery_wrap .nav{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  user-select: none;
}

.gallery_wrap .nav .btn{
  background-color: rgba(255,255,255,0.5);
  color: rgba(0,0,0,0.7);
  border: 2px solid rgba(0,0,0,0.6);
  margin: 0 0.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
}

.gallery_wrap .nav .btn:hover{
  background-color: rgba(255,255,255,0.3);
}

.gallery_wrap ion-icon.btn{
  font-size: 22px;
}

.gallery_wrap .item {
  cursor: pointer;
}

.read_more_btn {
  margin-top: 10px;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox_image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

#lightbox_image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox_close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white-text);
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.lightbox_close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader_rings {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader_rings::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  background: linear-gradient(
    90deg,
    rgba(178, 144, 168, 1) 0%,
    rgba(178, 144, 168, 0.2) 100%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 2px),
    #000 calc(100% - 2px)
  );
  animation: spin 3s linear infinite;
}

.preloader_logo {
  position: relative;
  z-index: 1;
  width: 120px;
  height: auto;
}

#random_fact_card {
  position: absolute;
  top: 100px;
  right: 40%;
  width: 280px;
  min-height: 120px;
  padding: 20px;
  background-image: url(assets/story.png);
  background-color: var(--sections-bg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: var(--shadow);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "SF Pro Display";
  font-size: 16px;
  font-weight: 500;
  color: var(--main-text);
  text-align: center;
  line-height: 1.5;
  box-sizing: border-box;
}

#random_fact_card button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: var(--main-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#random_fact_card button:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

#random_fact_card p {
  margin: 0;
  padding-top: 10px;
}


.login_page {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.login_page_wrap {
  width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.login_page_brain {
  width: 80px;
  height: auto;
}

.login_page_card {
  width: 100%;
  background: var(--sections-bg);
  border-radius: 30px;
  padding: 46px 52px;
  box-sizing: border-box;
  box-shadow: var(--shadow);
}

.login_page_title {
  font-family: "SF Pro Display";
  font-size: 54px;
  font-weight: 700;
  color: var(--main-text);
  text-align: center;
  line-height: 1.1;
}

.login_page_subtitle {
  margin-top: 10px;
  font-family: "Acorn";
  font-size: 18px;
  font-weight: 500;
  color: var(--grey);
  text-align: center;
}

.login_page_form { 
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login_page_field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login_page_label {
  font-family: "SF Pro Display";
  font-size: 16px;
  font-weight: 600;
  color: var(--main-text);
}

.login_page_input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--grey);
  background: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 16px;
  color: var(--main-text);
  outline: none;
}

.login_page_input::placeholder {
  color:var(--grey);
}

.login_page_input:focus{
  border-color:var(--pink-bg);
  box-shadow: var(--shadow);
}

.login_page_password_wrap {
  position: relative;
}

.login_page_input_password {
  padding-right: 54px;
}

.login_page_eye_btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.75);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.login_page_eye_icon {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.login_page_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.login_page_check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.login_page_checkbox {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  accent-color: var(--pink-bg);
}

.login_page_check_text {
  font-family: "SF Pro Display";
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
}

.login_page_link {
  font-family: "SF Pro Display";
  font-size: 14px;
  font-weight: 500;
  color: var(--pink-bg);
  text-decoration: none;
}

.login_page_link:hover {
  text-decoration: underline;
}

.login_page_primary_btn {
  margin-top: 8px;
  width: 100%;
  height: 58px;
  border-radius: 999px;
  border: none;
  background: var(--pink-bg);
  color: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.login_page_error {
  display: none;
  margin-top: 14px;
  text-align: center;
  font-family: "SF Pro Display";
  font-size: 14px;
  font-weight: 500;
  color: var(--pink-text);
}


.contact_section {
  width: 1300px;
  background-color: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  padding: 70px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 45px;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.contact_header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact_header h2 {
  font-family: "SF Pro Display";
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--main-text);
}

.contact_header p {
  color: var(--pink-text);
  font-family: 'Acorn';
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 139.583%;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form_group label {
  font-family: "SF Pro Display";
  font-size: 16px;
  font-weight: 600;
  color: var(--main-text);
}

.form_group input, .form_group textarea {
  width: 100%;
  padding: 16px 18px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid var(--grey);
  background: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 16px;
  color: var(--main-text);
  outline: none;
  transition: all 0.3s ease;
}

.form_group textarea {
  resize: vertical;
  min-height: 120px;
}

.form_group input::placeholder,
.form_group textarea::placeholder {
  color: var(--grey);
}

.form_group input:focus,
.form_group textarea:focus {
  border-color: var(--pink-bg);
  box-shadow: var(--shadow);
}

.submit_btn {
  width: 100%;
  height: 58px;
  border-radius: 30px;
  border: none;
  background: var(--pink-bg);
  color: var(--white-text);
  font-family: "SF Pro Display";
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit_btn:hover {
  background: var(--pink-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.success_message {
  max-width: 600px;
  margin: 20px auto 0;
  padding: 24px;
  background: var(--sections-bg);
  border-radius: 16px;
  border: 2px solid var(--pink-bg);
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success_content {
  text-align: center;
}

.success_content h3 {
  font-family: "SF Pro Display";
  font-size: 24px;
  font-weight: 600;
  color: var(--pink-bg);
  margin-bottom: 8px;
}

.success_content p {
  font-family: "SF Pro Display";
  font-size: 16px;
  color: var(--main-text);
  line-height: 1.5;
}

/* =========================
   STATS SECTION
========================= */
.stats_section{
  width: 1300px;
  background: var(--sections-bg);
  border-radius: 40px;
  margin: 0 auto;
  padding: 70px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 45px;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.stats_header{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stats_header h2{
  font-family: "SF Pro Display";
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--main-text);
}

.stats_header p{
  font-family: "Acorn";
  font-size: 24px;
  font-weight: 500;
  color: var(--pink-text);
  line-height: 139.583%;
}

.stats_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat_card{
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 26px;
  padding: 26px 22px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat_card h3{
  font-family: "SF Pro Display";
  font-size: 54px;
  font-weight: 700;
  color: var(--main-text);
  line-height: 1;
  margin-bottom: 12px;
}

.stat_card p{
  font-family: "Acorn";
  font-size: 18px;
  font-weight: 500;
  color: var(--main-text);
  line-height: 1.5;
  opacity: 0.85;
}

footer {
  width: 100%;
  background: var(--sections-bg);
  border-radius: 40px;
  padding: 40px 60px;
  box-sizing: border-box;
  background-image: url(assets/story.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 60px;
}

#footer_brand {
  font-family: "SF Pro Display";
  font-size: 28px;
  font-weight: 700;
  color: var(--main-text);
  text-transform: uppercase;
}

#footer_text {
  font-family: "Acorn";
  font-size: 18px;
  font-weight: 500;
  color: var(--main-text);
  opacity: 0.85;
}

#footer_copy {
  font-family: "SF Pro Display";
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  margin-top: 10px;
}


#footer_nav {
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 20px 0 0 0;
  list-style: none;
  flex-wrap: wrap;
}

#footer_nav a {
  font-family: "Acorn";
  font-size: 14px;
  font-weight: 500;
  color: var(--main-text);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

#footer_nav a:hover {
  opacity: 1;
}

