@import url('https://fonts.cdnfonts.com/css/hubot-sans');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
  --gold: #d4af37;
  --gold-2: #f1d67a;
  --gold-ink: #f7e7b1;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

html::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  margin: 0;
  font-family: 'Hubot-Sans', sans-serif, 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans, Helvetica Neue, sans-serif;
  background: #05060f linear-gradient(0deg, rgba(216, 236, 248, .06), rgba(152, 192, 239, .06));
  font-size: max(calc(var(--_size) * 0.03), 10px);
  --_factor: min(600px, 80vh);
  --_size: min(var(--_factor), 80vw);
  color: #bad6f7;
  transition: background-color 0.5s ease;
}

body.light-mode {
  background: #f0f4f7 linear-gradient(0deg, rgba(152, 192, 239, .06), rgba(216, 236, 248, .06));
  color: #05060f;
}

body.light-mode .header,
body.light-mode .heroT h2,
body.light-mode .heroP p,
body.light-mode .heroSubP p {
  color: #05060f;
  background: none;
  -webkit-text-fill-color: initial;
  text-shadow: none;
}

body.light-mode .heroT h2:nth-child(2) {
  background: none;
  -webkit-text-fill-color: initial;
}

body.light-mode .accent-lines {
  --accent-lines-clr: rgba(5, 6, 15, .18);
}

body.light-mode .grid-background::before,
body.light-mode .grid-background::after {
  filter: invert(1) brightness(0.5);
}

body.light-mode .login-card-container {
  filter: invert(1);
}

body.light-mode .memories-section {
  filter: invert(1);
}

body.light-mode .light-dark-toggle i {
  color: #05060f;
}

body.light-mode footer {
  background-color: #f0f4f7;
  color: #05060f;
}

body.gold .header h2,
body.gold p,
body.gold > * > * :not(.contact-btn),
body.gold .heroP,
body.gold .heroSubP,
body.gold .content-section,
body.gold .content-section ::before,
body.gold .content-section ::after,
body.gold .cta,
body.gold .card__bullets,
body.gold .card__subheading,
body.gold .card__price,
body.gold .card__heading,
body.gold .flow .main__heading {
  filter: invert(1) brightness(4.7);
  color: #d8a910;
}

body.gold .header h2 a {
  filter: hue-rotate(0deg);
}

body.gold canvas {
  filter: drop-shadow(2em 4em 0px #d8bd10) drop-shadow(-8em -14em 0px #d8bd10);
}

body.gold .header .spotlight {
  filter: invert(1) brightness(4.7) opacity(0.5);
}

body.gold .mountains > div {
  box-shadow: -1em -0.2em 0.4em -1.1em #c2ccff,
    inset 0em 0em 0em 2px #d8a910,
    inset 0.2em 0.3em 0.2em -0.2em #c2ccff,
    inset 10.2em 10.3em 2em -10em #d4e6ff2f;
}

body.gold .contact-btn-content {
  background: none;
  -webkit-text-fill-color: inherit;
}

body.gold .login-section {
  filter: invert(1);
}

body.gold .login-card {
  --bg-color: #d8a910 !important;
  --hover-bg: #e0b62c !important;
}

body.gold .memories-section {
  filter: invert(1) hue-rotate(250deg) brightness(2.5);
}

h2 {
  font-family: 'Hubot-Sans', sans-serif;
}

h2,
p {
  margin: 0;
  padding: 0;
}

h2 a {
  text-decoration: none;
  color: unset;
}

.header {
  display: flex;
  width: 100%;
  justify-content: center;
  color: #bad6f7;
  padding: 2em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  opacity: 0;
  translate: 0 -1em;
  animation: load 2s ease-in 2s forwards, up 1.4s ease-out 2s forwards;
  z-index: 100;
}

.header > :nth-child(1) {
  font-size: 1em;
  position: absolute;
  left: 0;
  right: 29em;
  margin: 0.2em auto;
  width: fit-content;
}

.header > :nth-child(2) {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
}

.header > h2 {
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.04s ease-in-out;
}

.header > h2:hover {
  opacity: 1;
  text-shadow: 0 2px 16px rgba(174, 207, 242, 0.6);
  width: fit-content;
}

.header > div.mid-spot {
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  background: black;
  box-shadow: 0 0 1em 0 #98c0ef;
  cursor: pointer;
  transition: box-shadow 1s ease-in-out;
}

.header > div.mid-spot:hover {
  box-shadow: -0.3em 0.1em 0.2em 0 #d8bd10;
}

body.gold .header > div.mid-spot:hover {
  box-shadow: -0.3em 0.1em 0.2em 0 #98c0ef;
}

body.gold .header > div.mid-spot {
  box-shadow: 0 0 1em 0 #d8bd10;
}

.header > :nth-child(2):hover ~ .spotlight {
  animation: colorize 10s linear infinite;
}

@keyframes colorize {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(-380deg);
  }
}

button.contact-btn {
  position: absolute;
  left: min(46em, 60vw);
  right: 0;
  margin: 0 auto;
  width: 8em;
  height: 2.4em;
  cursor: pointer;
  border-radius: 20em;
  border: none;
  transition: background 0.5s, transform 0.5s;
  border: 1px solid #c2ccff33;
  opacity: 1;
  padding-top: 0.3em;
  background: #121521;
  color: #9dc3f7;
  white-space: nowrap;
}

button.contact-btn::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 20em;
  width: 100%;
  height: 100%;
  background: #c2ccff91 radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
  opacity: 0.1;
  transition: all 0.4s ease-in-out;
}

button.contact-btn:hover::before {
  background: #c2ccff1e radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
  opacity: 0.3;
}

.contact-btn .glow {
  --border-width: 1px;
  --loop-cycle: 24s;
  position: absolute;
  inset: calc(var(--border-width)* -1);
  border-radius: 50px;
  border: var(--border-width) solid transparent;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  mask: linear-gradient(transparent, transparent), linear-gradient(white, white);
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in, xor;
  mask-composite: intersect;
  pointer-events: none;
}

button.contact-btn:hover .glow {
  --loop-cycle: 2s;
}

.contact-btn .glow::after,
.contact-btn .glow::before {
  content: "";
  height: 100%;
  offset-anchor: 100% 50%;
  background: radial-gradient(circle, hsla(0, 0%, 100%, 0.75), transparent 50%), radial-gradient(circle, #c2ccff 50%, transparent);
  opacity: 0.4;
  offset-path: rect(0 100% 100% 0 round 33px);
  position: absolute;
  display: inline-block;
  -webkit-animation: loop 4s linear infinite;
  animation: loop var(--loop-cycle) linear infinite;
  aspect-ratio: 1 / 1;
  transition: opacity 1s ease-in-out;
}

.contact-btn .glow::before {
  animation-delay: calc(var(--loop-cycle) / -2);
}

@keyframes loop {
  100% {
    offset-distance: 100%;
  }
}

.contact-btn-content {
  background: linear-gradient(0deg, #d8ecf8, #98c0ef);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2em;
  line-height: 142%;
}

button.contact-btn:hover .glow::after,
button.contact-btn:hover .glow::before {
  opacity: 0.6;
}

@keyframes btn-rot {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

.header .spotlight {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  transition: filter 1s ease-in-out;
  height: 42em;
  width: 100%;
  overflow: hidden;
}

.header .spotlight > div {
  border-radius: 0 0 50% 50%;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 3em;
  width: 30em;
  height: max(42em, 86vh);
  background-image: conic-gradient(from 0deg at 50% -5%, transparent 45%, rgba(124, 145, 182, .3) 49%, rgba(124, 145, 182, .5) 50%, rgba(124, 145, 182, .3) 51%, transparent 55%);
  transform-origin: 50% 0;
  filter: blur(15px) opacity(0.5);
  z-index: -1;
  animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 21s ease-in-out infinite reverse;
}

.header .spotlight > div:nth-child(1) {
  rotate: 20deg;
  animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 17s ease-in-out infinite;
}

.header .spotlight > div:nth-child(2) {
  rotate: -20deg;
  animation: load 2s ease-in-out forwards, loadrot 2s ease-in-out forwards, spotlight 14s ease-in-out infinite;
}

@keyframes loadrot {
  0% {
    rotate: 0deg;
    scale: 0;
  }

  100% {
    scale: 1;
  }
}

@keyframes spotlight {
  0% {
    transform: rotateZ(0deg) scale(1);
    filter: blur(15px) opacity(0.5);
  }

  20% {
    transform: rotateZ(-1deg) scale(1.2);
    filter: blur(16px) opacity(0.6);
  }

  40% {
    transform: rotateZ(2deg) scale(1.3);
    filter: blur(14px) opacity(0.4);
  }

  60% {
    transform: rotateZ(-2deg) scale(1.2);
    filter: blur(15px) opacity(0.6);
  }

  80% {
    transform: rotateZ(1deg) scale(1.1);
    filter: blur(13px) opacity(0.4);
  }

  100% {
    transform: rotateZ(0deg) scale(1);
    filter: blur(15px) opacity(0.5);
  }
}

canvas#particleCanvas {
  position: absolute;
  pointer-events: none;
  animation: load 0.4s ease-in-out forwards;
  z-index: 1;
  width: 100%;
}

p {
  font-size: 1.5em;
}

.hero {
  position: relative !important;
  min-height: 68vh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 6rem 1rem 2rem;
  top: unset !important;
}

.heroT {
  position: relative !important;
  height: auto !important;
  translate: none !important;
  opacity: 1 !important;
  animation: none !important;
  text-align: center;
}
.main-title {
position: absolute; top: 3cm;
}

@keyframes load {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.heroT > h2 {
  position: relative !important;
  left: unset !important;
  right: unset !important;
  margin: auto !important;
  width: fit-content;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #9dc3f7;
  background: radial-gradient(2em 2em at 50% 50%,
    transparent calc(var(--p) - 2em),
    #fff calc(var(--p) - 1em),
    #fff calc(var(--p) - 0.4em),
    transparent var(--p)
  ),
  linear-gradient(0deg, #bad1f1 30%, #9dc3f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 16px rgba(174, 207, 242, .24);
  --p: 0%;
  transition: --p 3s linear;
  animation: pulse 10s linear 1.2s infinite, title-reveal 1.1s cubic-bezier(.2,.65,.2,1) 0.4s forwards, title-zoom 1s ease-out 0.4s forwards;
  clip-path: circle(0% at 50% 50%);
  transform: scale(0.86);
  opacity: 0;
}

.heroT h2:nth-child(2) {
  background: radial-gradient(2em 2em at 50% 50%,
    transparent calc(var(--p) - 2em),
    transparent calc(var(--p) - 1em),
    #fff calc(var(--p) - 1em),
    #fff calc(var(--p) - 0.4em),
    transparent calc(var(--p) - 0.4em),
    transparent var(--p)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(16px) opacity(0.4);
}

@keyframes pulse {
  0% {
    --p: 0%;
  }

  50% {
    --p: 300%;
  }

  100% {
    --p: 300%;
  }
}

@property --p {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.heroP,
.heroSubP {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  margin: 0 auto !important;
  translate: none !important;
  opacity: 1 !important;
  animation: none !important;
  text-align: center;
}

.heroP {
  font-size: 1.2em;
  margin-top: .6rem !important;
  height: fit-content;
  width: fit-content;
  color: #d8ecf8;
  text-shadow: 0 2px 16px rgba(174, 207, 242, .24);
  background: linear-gradient(0deg, #d8ecf8 0, #98c0ef 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes up {
  100% {
    translate: 0;
  }
}

.heroSubP {
  margin-top: .25rem !important;
  height: fit-content;
}

.heroSubP p {
  font-size: 1em;
  position: static !important;
  width: fit-content;
  margin: auto;
  color: #d8ecf8;
  text-shadow: 0 2px 16px rgba(174, 207, 242, .24);
  background: linear-gradient(0deg, #d8ecf8 0, #98c0ef 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.heroSubP p::before,
.heroSubP p::after {
  display: none !important;
}

.accent-lines {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 42em;
  z-index: -2;
  --accent-lines-clr: rgba(186, 215, 247, .18);
}

.accent-lines > div {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  height: 100%;
  width: 100%;
}

.accent-lines > div:nth-child(1) > div {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lines-clr), transparent);
  opacity: 0;
  scale: 0;
  animation: accentload 2s ease-out 2.4s forwards;
}

.accent-lines > div:nth-child(1) > div:nth-child(1) {
  top: 6em;
}

.accent-lines > div:nth-child(1) > div:nth-child(2) {
  top: 11em;
}

.accent-lines > div:nth-child(1) > div:nth-child(3) {
  top: 16em;
}

.accent-lines > div:nth-child(1) > div:nth-child(4) {
  top: 24em;
}

.accent-lines > div:nth-child(1) > div:nth-child(5) {
  top: 29em;
}

.accent-lines > div:nth-child(2) > div {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 1px;
  height: 100%;
  background: var(--accent-lines-clr);
  opacity: 0;
  scale: 0;
  animation: accentload 2s ease-out 2s forwards;
}

.accent-lines > div:nth-child(2) > div:nth-child(1) {
  left: 24em;
}

.accent-lines > div:nth-child(2) > div:nth-child(2) {
  left: 34em;
}

.accent-lines > div:nth-child(2) > div:nth-child(3) {
  right: 24em;
}

.accent-lines > div:nth-child(2) > div:nth-child(4) {
  right: 34em;
}

@keyframes accentload {
  0% {
    opacity: 0;
    scale: 0;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

.accent-lines > div:nth-child(1) > div::before,
.accent-lines > div:nth-child(1) > div::after {
  content: '';
  display: none;
  position: absolute;
  width: 0.2em;
  height: 0.2em;
  border-radius: 1em;
  background: #9dc3f7;
  left: 0;
  right: 0;
  margin: auto;
  translate: 0 -1px;
  opacity: 0;
  scale: 0;
  animation: accentload 2s ease-out 4.4s forwards;
}

.accent-lines > div:nth-child(1) > div:nth-child(3)::before,
.accent-lines > div:nth-child(1) > div:nth-child(3)::after,
.accent-lines > div:nth-child(1) > div:nth-child(4)::before,
.accent-lines > div:nth-child(1) > div:nth-child(4)::after,
.accent-lines > div:nth-child(1) > div:nth-child(5)::before,
.accent-lines > div:nth-child(1) > div:nth-child(5)::after {
  display: block;
}

.accent-lines > div:nth-child(1) > div:nth-child(3)::before { left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(3)::after { right: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(4)::before { left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(4)::after { right: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(5)::before { left: 24em; }
.accent-lines > div:nth-child(1) > div:nth-child(5)::after { right: 24em; }

.accent-lines > div:nth-child(1) > div:nth-child(2)::before,
.accent-lines > div:nth-child(1) > div:nth-child(2)::after,
.accent-lines > div:nth-child(1) > div:nth-child(1)::before,
.accent-lines > div:nth-child(1) > div:nth-child(1)::after {
  display: block;
  width: 5em;
  height: 1px;
  border-radius: 0;
  opacity: 0.12;
}

.accent-lines > div:nth-child(1) > div:nth-child(2)::before { right: 24em; rotate: 45deg; translate: -2.5em 2.5em; }
.accent-lines > div:nth-child(1) > div:nth-child(2)::after { right: 24em; rotate: -45deg; translate: -2.5em 2.5em; }
.accent-lines > div:nth-child(1) > div:nth-child(1)::before { left: 24em; rotate: 45deg; translate: 2.5em 7.5em; }
.accent-lines > div:nth-child(1) > div:nth-child(1)::after { left: 24em; rotate: -45deg; translate: 2.5em 7.5em; }

.grid-background {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: 10em 10em;
  background-image: radial-gradient(circle, #c2ccff 1px, transparent 1px);
  background-position: center center;
  opacity: 0.05;
  animation: load 2s ease-in 2.4s forwards;
  z-index: -3;
}

.hero-spacer {
  height: 40vh;
}

.content-section {
  padding: 6em 1em 1em;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6em;
}

.content-section > h3 {
  font-size: 2.8em;
  font-weight: 500;
}

.content-section .subt {
  font-size: 1.2em;
  text-shadow: 0 0 1em #c2ccff38;
}

.content-section .subp {
  font-size: 1.2em;
  opacity: 0.5;
}

.content-acc {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
}

.content-acc > div {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, #9dc3f7, transparent 60%);
  animation: acc-pulse 10s ease-in-out infinite;
  opacity: 0.2;
}

.content-acc > div:nth-child(1) {
  width: 40em;
}

.content-acc > div:nth-child(2) {
  width: 32em;
  animation-delay: -5s;
}

@keyframes acc-pulse {
  0% {
    scale: 1;
    opacity: 0.2;
  }

  50% {
    scale: 1.3;
    opacity: 0.4;
  }

  100% {
    scale: 1;
    opacity: 0.2;
  }
}

.flow {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2em;
}

.flow .main {
  max-width: 900px;
}

.flow .main__heading {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 2em;
}

.cards {
  position: relative;
}

.cards__inner {
  display: flex;
  gap: 1em;
}

.cards .card {
  background-color: #121521;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2em;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease-in-out;
  background: transparent;
  border: 1px solid #c2ccff33;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #bad6f7;
  position: relative;
  z-index: 10;
}

.cards .card::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  background: #c2ccff91 radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.cards .card:hover::before {
  background: var(--card-hover-bg) radial-gradient(farthest-side at 50% 100%, #c2ccff, transparent);
  opacity: 0.3;
}

.cards .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.081) 5%,
    rgba(255, 255, 255, 0) 5%,
    transparent 50%,
    rgba(255, 255, 255, 0.081) 5%,
    rgba(255, 255, 255, 0) 5%,
    transparent 100%
  );
  animation: shine 4s linear infinite 4s;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.cards .card__heading {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.cards .card__price {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.cards .card__subheading {
  opacity: 0.8;
  margin-bottom: 1.5em;
}

.cards .card__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.cards .card__bullets li {
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.cards .card__bullets li::before {
  content: '✓';
  color: #4a90e2;
}

.cards .cta {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.cards .card {
  padding-bottom: 1.2rem !important;
}

.cards .card::before {
  opacity: 0.12;
}

.cards .card:hover::before {
  opacity: 0.22;
}

.login-section {
  padding: 3rem 1rem 0rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2em;
}

.login-card-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.4rem !important;
  width: min(1100px, 92vw);
}

.login-card {
  height: 190px !important;
  transform-origin: center;
  width: 100%;
  border-radius: 15px;
  background: var(--bg-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hover-bg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.login-card:hover::before {
  opacity: 1;
}

.login-card:hover {
  transform: translateY(-8px) scale(1.035) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.login-card .card-content {
  position: relative;
  z-index: 2;
  padding: 2em;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.login-card:hover .card-content {
  opacity: 0.8;
}

.login-card h3 {
  font-size: 1.8em;
  margin: 0 0 0.5em;
  font-family: 'Cairo', system-ui, sans-serif;
}

.login-card p {
  font-size: 1em;
  opacity: 0.8;
}

.light-dark-toggle {
  position: absolute;
  right: 2em;
  top: 2em;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 101;
  color: #f0f4f7;
  transition: color 0.5s ease;
}

.memories-section {
  padding: 4rem 1em 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2em;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.memories-header {
  margin-bottom: 2em;
}

.memories-header h3 {
  font-size: 2.8em;
  font-weight: 500;
  margin-bottom: 0.5em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

.memories-header p {
  font-size: 1.2em;
  opacity: 0.8;
}

.carousel-container {
  width: 100%;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
  padding: 2em 0;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.memory-card {
  min-width: calc(100% / 3 - 2em);
  margin: 0 1em;
  perspective: 1000px;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 350px;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.6s cubic-bezier(.2, .65, .2, 1) !important;
  transform-style: preserve-3d;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flip-card:hover {
  transform: translateY(-2px);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 2em;
  background: #121521;
  color: #bad6f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.flip-card-front {
  background: #121521;
  position: relative;
}

.flip-card-front i {
  font-size: 4em;
  margin-bottom: 0.5em;
  color: var(--gold) !important;
  transition: transform 0.3s ease;
}

.memory-card:hover .flip-card-front i {
  transform: scale(1.1);
}

.memory-preview {
  font-size: 1em;
  opacity: 0.8;
  text-align: center;
  margin-top: 1em;
}

.flip-card-back {
  background: radial-gradient(100% 120% at 50% 0%, rgba(212, 175, 55, 0.12), rgba(18, 21, 33, 0.9)) !important;
  color: var(--gold-ink) !important;
  padding: 1.2rem 1.4rem !important;
  border-left: 2px solid rgba(212, 175, 55, 0.35);
  transform: rotateY(180deg);
  display: grid !important;
  place-items: center;
}

.flip-card-back p {
  font-size: 1em;
  opacity: 0.95 !important;
  line-height: 1.6;
  max-width: 50ch;
  color: var(--gold-ink) !important;
}

.glitch-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(#noiseFilter)"/></svg>');
  background-size: 100px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.memory-title {
  margin-top: 1em;
  font-size: 1.2em;
  font-weight: 500;
  color: var(--gold-2);
}

.carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1em;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-button {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1em;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border-color: rgba(212, 175, 55, 0.35) !important;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  background-color: rgba(212, 175, 55, 0.18) !important;
}

.nav-button i {
  font-size: 1.5em;
}

footer {
  background-color: #0d0e1b;
  color: #bad6f7;
  padding: 4em 2em 2em;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2em;
  margin-bottom: 2em;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  text-align: left;
}

.footer-column h3 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

.footer-column p {
  font-size: 0.9em;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5em;
  font-size: 0.9em;
  opacity: 0.8;
}

.social-icons a {
  color: #bad6f7;
  font-size: 1.5em;
  margin-right: 1em;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #4a90e2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2em;
  margin-top: 2em;
}

.footer-bottom p {
  font-size: 0.8em;
  opacity: 0.6;
}

.intro-text {
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: #ccc;
  margin-bottom: 0.6rem;
  opacity: 0;
  transform: translateY(-15px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

.main-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: gold;
  position: relative;
  left: 12cm;
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  animation: slowZoomIn 2.2s ease-out forwards 1.2s;
  overflow: hidden;
}

.main-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.61) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shimmer 3s infinite 3.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  60% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 120%;
  }

  100% {
    left: -100%;
  }
}

.services-section {
  padding: 4rem 2rem;
  background: #0d0d0d;
  color: var(--gold);
  text-align: center;
}

.services-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.services-header p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

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

.service-card {
  background: linear-gradient(135deg, #111, #1c1c1c);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.4s, box-shadow 0.4s;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.services-3d {
  padding: 4rem 2rem;
  background: #0d0d0d;
  color: gold;
  text-align: center;
}

.services-3d .services-header h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.circle-section {
  padding: 3rem 0 4rem;
}

.circle-stage {
  position: relative;
  width: min(1200px, 96vw);
  height: 520px;
  margin: 0 auto;
  perspective: 1100px;
}

.circle-carousel {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 900ms cubic-bezier(.2, .65, .2, 1);
}

.circle-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 360px;
  margin: -180px -140px;
  border-radius: 60px;
  border: 2px solid var(--border);
  box-shadow: 0 10px 40px -12px var(--shadow);
  overflow: hidden;
  color: var(--gold-2);
  background: radial-gradient(120% 120% at 50% 0%, rgba(212, 175, 55, .10), rgba(12, 15, 20, .92));
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 600ms cubic-bezier(.2, .65, .2, 1);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  padding: 1.1rem 1.2rem;
  display: grid;
  place-content: center;
  text-align: center;
  backface-visibility: hidden;
}

.card-front h4 {
  margin: 0 0 .4rem;
  color: var(--gold);
}

.card-front p {
  margin: 0;
  color: var(--text);
  opacity: .9;
}

.card-back {
  transform: rotateY(180deg);
  background: radial-gradient(120% 140% at 50% 0%, rgba(212, 175, 55, .18), rgba(0, 0, 0, .85));
  color: #f7e7b1;
}

.circle-card.is-front {
  outline: 2px solid rgba(212, 175, 55, .45);
}

.circle-card.is-front .card-front h4 {
  color: var(--gold-2);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .18);
  border: 1px solid var(--border);
  color: var(--gold-2);
  font-size: 1.4rem;
  cursor: pointer;
  transition: .25s;
  display: grid;
  place-items: center;
  user-select: none;
}

.nav-btn:hover {
  background: rgba(212, 175, 55, .28);
}

.prev {
  right: auto;
  left: 1rem;
}

.next {
  left: auto;
  right: 1rem;
}

.card-inner.is-flipped {
  transform: rotateY(180deg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@keyframes title-reveal {
  0% {
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
  }

  60% {
    clip-path: circle(85% at 50% 50%);
    opacity: 1;
  }

  100% {
    clip-path: circle(150% at 50% 50%);
    opacity: 1;
  }
}

@keyframes title-zoom {
  0% {
    transform: scale(0.86);
  }

  70% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroT > h2 {
    animation: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
}

.login-section[dir="rtl"] {
  direction: rtl;
}

/* Responsiveness */
@media (max-width: 1100px){
  .circle-stage{ height:480px; }
  .circle-card{ height:320px; margin:-160px calc(-.5 * min(280px, 82vw)); }
}
@media (max-width: 900px){
  .login-card-container{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .circle-stage{ height:440px; }
}
@media (max-width: 700px){
    .main__heading{
       max-width: 500px; 
       display: flex; justify-content: center; align-items: center;
         margin: 0 130px 0 0;
        

    }
    .cards__inner{
       display:flex;
       justify-content: center;
         align-items: center;
         max-width: 80%;
            margin: 0;

    }
  .login-card-container{ grid-template-columns: 1fr; }
  .header{ grid-template-columns: 1fr auto; }
  .mid-spot{ display:none; }
  .circle-stage{ height:380px; }
}
@media (max-width: 480px){
  .circle-stage{ height:340px; }
  .nav-btn{ width:38px; height:38px; }
}