/* ================= Base ================= */
:root{
  --bg:#000;
  --cream:#FFFFE3;
  --text:#ffffff;
  --muted:#dfdfdf;
  --overlay: rgba(0,0,0,.78);
  --radius: 14px;

  /* Figma desktop canvas baseline (used to compute absolute offsets) */
  --canvas-w: 1920;
}

/* Page */
*{box-sizing:border-box}
html, body {
  height: auto;          /* allow body to grow with content */
  margin: 0;
  padding: 0;
}

body{
  margin:0;
  color:var(--text);
  font-family:"GeneralSans-Regular";
    background-image: linear-gradient(
    180deg,
    rgba(0,0,0,0.30) 50%,
    rgba(138,56,245,0.20) 100%
  );
  background-color: black;
  background-repeat: no-repeat;
  background-attachment: scroll;   /* <-- important: allow it to move with page scroll */
  background-position: top center;
  /* ensure the gradient stretches to the body's full height */
  background-size: 100% 100%;
}
main {
  flex: 1; /* ensures main content fills height */
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #000; /* or your theme color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn, .btn-large, .btn-small {
    text-decoration: none;
    color: #fff;
    background-color: transparent !important;
    text-align: center;
    height: unset;
        line-height: 22px;
        text-transform: none;
    letter-spacing: .5px;
    -webkit-transition: background-color .2s 
ease-out;
    transition: background-color .2s 
ease-out;
    cursor: pointer;
}

/* Utility to convert figma px → vw that scales with screen width */
@media (min-width:1200px){
  .vw { /* not used directly; calculation happens in rules below */ }
}

/* =============== NAV (matches tiny top-bar in figma) =============== */
.nav-wrap{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #000;
  padding-block: 10px;
}
.nav-inner{
  width: min(1200px, 92%);
  margin-inline:auto;
  display:flex; align-items:center; justify-content:space-between;
}
.navbar-expand-lg .navbar-nav {
      flex-direction: row;
      align-items: center;
  }
.brand{
  font-weight:700;
  letter-spacing:.2px;
  font-size: 14px;
  opacity:.92;
}
.logo{
    position: absolute;
    top: 3%;
    left: 3%;
    color: white;
    z-index: 99999999;
    font-size: 44px;
  font-family: var(--font-mono);
  }
  .logo-img{
      height: 50px;
      /* filter: invert(100); */
  }
  .navbar{
    width: 100% !important;
    top: 4%;
    z-index: 999999;
    padding: 0% 2%;
    box-shadow: none;
    text-shadow: none;
  }
  .navbar-expand-lg .navbar-nav .nav-link{
    font-size: 24px;
    font-family: 'DM Sans';
    font-weight: 400;
    padding: 10px 15px;
    color: white;
    word-wrap: break-word;
  }

  .navbar-nav .nav-link:hover{
    text-decoration: none;
    color: #fb2525;
  }
 .navbar-nav .nav-item .active{
    text-decoration: none;
    color: #fb2525;
  }
.contactus_btn{
  border: 1px solid #ffffff;
  border-radius: 20px;
  font-size: 22px !important;
}
.contactus_btn:hover{
  border: 1px solid #fb2525;
}

.navbar-toggler-icon{
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url('assets/menu.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media(max-width: 767px){
  .navbar {
        width: 96% !important;
        top: 1%;
        padding: 0% 4%;
        z-index: 999999;
        box-shadow: none;
        text-shadow: none;
}
.navbar-toggler{
    right: 0%;
    position: absolute;
    top: 10%;
    padding: 1%;
    background: none !important;
}
.navbar-expand-lg .navbar-nav{
    flex-direction: column !important;
}
.navbar-collapse{
  margin-top: 1%;
  background: black;
  padding: 5%;
  height: 65vh;
}
.nav-item{
  margin: 5% 5%;
}
  .logo{
    font-size: 30px;
  }
  .logo-img{
    height: 30px;
  }
}
.menu-btn{
  background:none; border:none; color:#fff; font-size:14px; cursor:pointer;
  opacity:.9;
}
.menu-btn:hover{ opacity:1 }

.menu-btn{
  position: absolute;
  top: 3% !important;
  right: 2.2% !important;
  z-index: 99999999;
  background: none;
  border: none;
}
.menu-btn span{
  font-size: 32px;
    font-family: var(--font-mono);
  color: white;
}
/* ============================ HERO ============================ */
.hero{
  position: relative;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  filter: brightness(.7) contrast(1);
  z-index:-2;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.82) 100%);
  z-index:0;
}

/* Frame that holds hero texts; absolute to match figma placement on desktop */
.hero-frame{
  position: absolute;
  justify-self: anchor-center;
  top: 30%;
}
.eyebrow{
  color: #FFFFE3;
  font-size: 44px;
  font-weight: 600;
  margin: 0 0 .4rem 0;
  text-align: center;
  line-height: 44px;
  word-break: break-all;
}
.hero-title{
  color: #FFFFE3;
  font-weight: 600;
  line-height: 200px;
  font-size: 200px;
  margin: 0 0 .35rem 0;
  word-break: break-all;
}
.hero-sub{
  color: #FFFFE3;
  font-family:"Instrument Serif", serif;
  max-width: 100%;
  font-size: 34px;
  margin: 0;
  text-align: center;
}

@media (min-width: 1350px){
.eyebrow{
  color: #FFFFE3;
  font-size: 44px;
  font-weight: 600;
  margin: 0 0 .4rem 0;
  text-align: center;
  line-height: 44px;
  word-break: break-all;
}
.hero-title{
  color: #FFFFE3;
  font-weight: 600;
  line-height: 155px;
  font-size: 155px;
  margin: 0 0 .35rem 0;
  word-break: break-all;
}
.hero-sub{
  color: #FFFFE3;
  font-family:"Instrument Serif", serif;
  max-width: 100%;
  font-size: 24px;
  margin: 0;
  text-align: center;
}
.languages-items {
    margin-top: 3.5%;
    width: 93% !important;
    max-width: 93% !important;
}
}

@media (min-width: 1400px){
.eyebrow{
  color: #FFFFE3;
  font-size: 54px;
  font-weight: 600;
  margin: 0 0 .4rem 0;
  text-align: center;
  line-height: 54px;
  word-break: break-all;
}
.hero-title{
  color: #FFFFE3;
  font-weight: 600;
  line-height: 220px;
  font-size: 220px;
  margin: 0 0 .35rem 0;
  word-break: break-all;
}
.hero-sub{
  color: #FFFFE3;
  font-family:"Instrument Serif", serif;
  max-width: 100%;
  font-size: 34px;
  margin: 0;
  text-align: center;
}
}
@media (min-width: 1700px){
.eyebrow{
  color: #FFFFE3;
  font-size: 64px;
  font-weight: 600;
  margin: 0 0 .4rem 0;
  text-align: center;
  line-height: 64px;
  word-break: break-all;
}
.hero-title{
  color: #FFFFE3;
  font-weight: 600;
  line-height: 260px;
  font-size: 260px;
  margin: 0 0 .35rem 0;
  word-break: break-all;
}
.hero-sub{
  color: #FFFFE3;
  font-family:"Instrument Serif", serif;
  max-width: 100%;
  font-size: 44px;
  margin: 0;
  text-align: center;
}

}
/* =================== STORIES SECTION =================== */
.stories{
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
}
.stories-frame{
  /* Centered block constrained like figma */
  width: 90%;
  margin-inline: auto;
  text-align: center;
}
.stories-title{
  color: var(--cream);
  font-weight: 600;
  font-size: 48px;
  word-break: break-all;
  max-width: 25ch;
  margin: 0 auto 20px;
}
.stories-sub{
  font-family:"Instrument Serif", serif;
  color: var(--cream);
  opacity:.9;
  font-size: 32px;
  max-width: 50ch;
  margin: 0 auto 20px;
}
.btn-ghost{
  display:inline-block;
  color:#fff;
  border:1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  padding: 1rem 1.2rem;
  text-decoration:none;
  font-size: 20px;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.btn-ghost:hover{
  background: rgba(255,255,255,.08);
  border-color:#fff;
  transform: translateY(-1px);
}
.languages-items{
  margin-top: 3.5%;width: 85%; max-width: 85%;
  justify-content: center; align-items: flex-start; gap: 64px; display: inline-flex; flex-wrap: wrap; align-content: flex-start"
}
.language-card{
  padding-left: 48px; padding-right: 48px; padding-top: 24px; padding-bottom: 24px; border-radius: 32px; outline: 1px #FFFFE3 solid; outline-offset: -1px; flex-direction: column; justify-content: center; align-items: center; gap: 10px; display: inline-flex;
  /* background: rgba(255, 255, 255, 0.05); */
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.language-card:hover{
transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(138, 56, 245, 0.35);
  outline: 1px solid #8a38f5;
}
.lang-card-text{
  text-align: center; color: #FFFFE3; font-size: 32px;  font-weight: 400; word-wrap: break-word"
}
/* === Rail exact layout (desktop absolute), fluid on small screens === */
.rail-wrap{
  position: relative;
  width: 100%;
  height: 320px; /* base canvas for posters */
  margin-top: clamp(24px, 4vw, 40px);
}

/* Set poster cards; sizes based on your screenshot */
.poster{
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
}
.poster img{ display:block; width:100%; height:100%; object-fit:cover }

/* Figma-like fixed placement (desktop) */
.p1{ left: 0px;    top: 110px; width: 140px; height: 190px; }
.p2{ left: 160px;  top: 80px;  width: 160px; height: 210px; }
.p3{ left: 340px;  top: 48px;  width: 220px; height: 260px; } /* center big */
.p4{ left: 580px;  top: 80px;  width: 160px; height: 210px; }
.p5{ left: 760px;  top: 110px; width: 140px; height: 190px; }

/* Center white card overlapping posters */
.featured-card{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  width: 160px; height: 210px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

/* ======================== ABOUT ======================== */
.about{
  padding-top: 6%;
}
.about-frame{
  /* width: min(1200px, 92%); */
  margin-inline:auto;
  padding: 10px 55px;
}
.about-title{
  color:#FFFFE3;
  font-weight:600;
  font-size: 72px;
  line-height: 72px;
}
.series-title{
 color:#fff;
  font-weight:500;
  text-align: left;
  font-size: 80px;
  margin-top: 4%;
  font-family:"GeneralSans-Regular";
}
.about-content{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items:center;
}
.about-text{
  color:#FFFFE3;
  font-size: 44px;
  font-weight: 400;
  line-height: 44px;
  gap: 80px;
  display: grid;
}

.about-image{
  justify-items: center;
  border-bottom: 1px solid #545454;
}
.about-image img{ display:block; width:80%; height:auto }

.footer{
    padding-top: 5% !important;
    padding-bottom: 0%;
    background: #0F0F0F;
}
.footer h5{
    font-weight: 600;
    color: #FFFFE3;
}
.footer ul li{
  margin: 10px 0px;
  color: #FFFFE3;
  font-size: 22px;
  line-height: 24px;
}
.footer-logo{
  font-size: 60px;
}
.footer-logo-img{
      height: 40px;
      filter: invert(100);
}
.footer-text{
  color: #FFFFE3;     
  font-size: 220px;
  font-weight: 700; 
  margin-top: 5%;
  line-height: 190px; 
  word-wrap: break-word; text-align: center;
  overflow: hidden;
   -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* .footer-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;  
  color: #FFFFE3;
  filter: blur(8px);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
} */

.footer-text2{
  color: #FFFFE3; font-size: 65px; font-weight: 600; line-height: 75px; word-wrap: break-word; text-align: left;
}
.footer .contactus_btn{
  border: 1px solid #ffffff;
    border-radius: 28px;
  font-size: 22px !important;
  width: fit-content;
  padding: 10px 30px;
  margin-top: 4%;
  margin-bottom: 1%;
  text-decoration: none;
  background: transparent;
}
.footer .contactus_btn:hover{
  border: 1px solid #fb2525;
}
.footer .connect{
  color: #FFFFE3; font-size: 44px; font-family: 'Instrument Serif'; font-weight: 400; word-wrap: break-word;
}
/* ================== RESPONSIVE RULES ================== */
/* Tablet: loosen spacings, keep proportions */
@media (max-width: 1199px){
  .hero-frame{
    left: 6vw;
    top: 18vh;
    width: 88%;
  }

  .eyebrow{
  color: #FFFFE3;
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 .4rem 0;
  text-align: center;
  line-height: 64px;
  word-break: break-all;
}
.hero-title{
  color: #FFFFE3;
  font-weight: 600;
  line-height: 160px;
  font-size: 260px;
  margin: 0 0 .35rem 0;
  word-break: break-all;
}
.hero-sub{
  color: #FFFFE3;
  font-family:"Instrument Serif", serif;
  max-width: 100%;
  font-size: 30px;
  margin: 0;
  text-align: center;
}

  .rail-wrap{
    height: 280px;
  }
  .p1{ left: 0;    top: 110px; width: 120px; height: 170px; }
  .p2{ left: 135px; top: 80px;  width: 140px; height: 190px; }
  .p3{ left: 295px; top: 48px;  width: 200px; height: 240px; }
  .p4{ left: 510px; top: 80px;  width: 140px; height: 190px; }
  .p5{ left: 660px; top: 110px; width: 120px; height: 170px; }
  .featured-card{ width: 140px; height: 190px; }
}

.mobile-break {
  display: none;
}

/* Overlay base */
#center-control {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 1;
    pointer-events: auto; /* clickable by default */
    transition: opacity 0.25s ease;
}

/* When hidden → DO NOT BLOCK VIDEO */
#center-control.hidden {
    opacity: 0;
    pointer-events: none; /* 🔥 THIS FIXES CONTROLS */
}
.play-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-play::before {
    content: "▶";
    color: #fff;
    font-size: 36px;
    margin-left: 4px;
}

.icon-pause::before {
    content: "❚❚";
    color: #fff;
    font-size: 32px;
}
/* Show pause icon ONLY on hover */
.video-wrapper:hover #center-control.show-on-hover {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
  .lang-card-text{
    font-size: 22px;
  }
  .language-card {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 20px;
    outline: 1px #FFFFE3 solid;
    outline-offset: -1px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    display: flex;
    flex-direction: row;
  }
  .languages-items {
    margin-top: 3.5%;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  .language-card svg{
    height: 45px;
    width: 45px;
  }
 
}
/* Mobile: rail becomes horizontal scroll; white card hidden (optional) */
@media (max-width: 768px){
  .footer-logo{
  font-size: 40px;
}
.footer-logo-img{
      height: 25px;
      filter: invert(100);
}
.footer {
    padding-top: 10% !important;
    padding-bottom: 5%;
    background: #0F0F0F;
}
   .about-frame {
    margin-inline: auto;
    padding: 0px 20px;
}
  .hero{
    height: 100vh;
  }
  .hero-frame{
    position: absolute;
    left: 20px; 
    right: 20px;
    top: 25vh;
  }
.hero-video{
  width: -webkit-fill-available; 
  height: 100vh;
  object-fit: cover;
}
  .rail-wrap{
    height: auto;
    margin-top: 20px;
    display: grid;
  }
  .rail-wrap::after{ content:""; } /* to keep grid flow clean */

  .poster,
  .p1,.p2,.p3,.p4,.p5{
    position: relative;
    left: auto; top: auto;
    width: 48vw; height: 68vw;
    min-width: 180px; min-height: 240px;
    margin-right: 12px;
  }
  .rail-wrap{
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .poster{ scroll-snap-align: start; }
  .featured-card{ display:none; } /* optional on small screens */

  .about-content{
    grid-template-columns: 1fr;
  }
  .hero-title{
    line-height: 1;
    letter-spacing: .2px;
    font-size: 95px;
    text-align: center;
}
.about-text{
      font-size: 18px;
      line-height: 22px;
      gap: 0px;
    }
.about-title{
    font-size: 30px;
    margin-bottom: 10px;
    text-align: center;
}
#creativity-text{
  text-align: center;
}
.about-image{
  border-bottom: none;
}
.hero-sub{
  font-size: 26px;
  margin-top: 20px;
  line-height: 30px;
}
.stories-title{
  font-size: 30px;
  width: 65%;
}
.stories-title2{
  font-size: 30px;
  width: 75%;
}
.series-title{
    font-size: 30px;
    width: 65%;
}
.stories-sub{
  font-size: 18px;
}
.btn-ghost{
    padding: 1rem 1.2rem;
    text-decoration: none;
    font-size: 18px;
}
.slide-track img{
  height: 275px !important;
}
.slide-track{
  padding-top: 30px;
}
.slider{
   height: 330px !important;
  margin-top: 2% !important;
}
.about{
  padding-top: 40px;
}
}

.gallery {
  position: absolute;
  width: 70%;
  height: 50vh;
  overscroll-behavior: contain; /* stop scroll bubbling to page */
  overflow-y: auto;
  margin-top: 5%;
}
.cards-wrap{
  position: relative;
  height: 100%;
  /* Optional: soft fade on the far left/right edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12vw, #000 calc(100% - 12vw), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12vw, #000 calc(100% - 12vw), transparent 100%);
}
.gallery::-webkit-scrollbar { display: none; }

/* optional: avoid iOS bounce chain */
@supports (-webkit-touch-callout: none) {
  .gallery { overscroll-behavior: none; }
}
/* expand the stage wider than the viewport and center it, so neighbors are visible */
.slider {
  overflow: hidden;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  margin-top: 5%;
}

.slide-track {
  display: flex;
  animation: scroll 120s linear infinite;
}

/* rank-based scaling (0 = center/active) */
.slide-track img[data-rank="0"]{ transform: scale(1); z-index: 5; opacity: 1;   filter: saturate(1); }
.slide-track img[data-rank="1"]{ transform: scale(0.95); z-index: 4; opacity: .9;}
.slide-track img[data-rank="2"]{ transform: scale(0.85); z-index: 3; opacity: .9; }
.slide-track img[data-rank="3"]{ transform: scale(0.75); z-index: 2; opacity: .85; }
.slide-track img[data-rank="4"]{ transform: scale(0.65); z-index: 1; opacity: .8; }

/* optional: cap min size for very far items */
/* .slide-track img:not([data-rank]){ transform: scale(0.60); opacity: .8; } */

.slide-track img {
  height: 400px;
  margin: 0 10px;
  border-radius: 10px;
  object-fit: cover;
  transition:transform .25s ease, opacity .25s ease;
  transform-origin: center;
}

.slide-track img.active {
  transform: scale(1.1);
  z-index: 2;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.actions {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

button {
  display:inline-block;
  outline: none;
  border: none;
  padding: 8px 14px;
  background: #414141;
  background-image: -webkit-linear-gradient(top, #575757, #414141);
  background-image: -moz-linear-gradient(top, #575757, #414141);
  background-image: -ms-linear-gradient(top, #575757, #414141);
  background-image: -o-linear-gradient(top, #575757, #414141);
  background-image: linear-gradient(to bottom, #575757, #414141);
  text-shadow: 0px 1px 0px #414141;
  -webkit-box-shadow: 0px 1px 0px 414141;
  -moz-box-shadow: 0px 1px 0px 414141;
  box-shadow: 0px 1px 0px 414141;
  color: #ffffff;
  text-decoration: none;
  margin: 0 auto 10px;
  -webkit-border-radius: 4;
  -moz-border-radius: 4;
  border-radius: 4px;
  padding: 12px 25px;
  font-family: "Signika Negative", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  line-height: 18px;
}
/* 
button:hover {
  background: #57a818;
  background-image: -webkit-linear-gradient(top, #57a818, #4d9916);
  background-image: -moz-linear-gradient(top, #57a818, #4d9916);
  background-image: -ms-linear-gradient(top, #57a818, #4d9916);
  background-image: -o-linear-gradient(top, #57a818, #4d9916);
  background-image: linear-gradient(to bottom, #57a818, #4d9916);
  text-shadow: 0px 1px 0px #32610e;
  -webkit-box-shadow: 0px 1px 0px fefefe;
  -moz-box-shadow: 0px 1px 0px fefefe;
  box-shadow: 0px 1px 0px fefefe;
  color: #ffffff;
  text-decoration: none;
} */

button {
  font-size: 20px;
  font-weight: 400;
}

a {
  color: #88ce02;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* .canvas-container {
  grid-column: 7 / span 6;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  align-self: flex-end;
  padding-bottom: 2rem;
  opacity: 0; 
  transition: opacity 0.8s ease-in-out; 
}

.canvas-container.visible {
  opacity: 1; 
} */

/* canvas {
  width: 100%;
  height: 85%;
  background: black;
  touch-action: none;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
} */

/* custom accordion using <button> + content to control animations and accessibility */
.wrap{
    max-width:var(--container-w);
    margin:0 auto;
    text-align:center;
    padding:7% 5% 7% 5%;
  }
  .wrap h1{
    font-weight: 600;
  }
  .faq{
    width:100%;
    max-width: 850px;
    border-radius: 28px;
    border: 1px solid #FFFFE3;
    /* outline-offset: -1px; */
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); */
    overflow: hidden;
  }

  .faq-list{
    justify-items: center;
    margin-top: 4%;
    display: grid;
    gap: 30px;
  }
  .faq-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 26px;
    cursor:pointer;
  }

  .faq-button{
    all:unset; /* reset button look */
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    gap:16px;
  }

  .faq-title{
    text-align:left;
    font-size:30px;
    font-weight:500;
    color:var(--text);
    line-height:1.1;
  }

  .faq-summary{
    color:var(--muted);
    font-size:18px;
    margin-top:6px;
    display:block;
    font-weight:400;
  }

  /* plus/minus icon */
  .faq-icon{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:10px;
    display:inline-grid;
    place-items:center;
    color:#FFFFE3;
    scale: 1.5;
    font-weight:700;
    transition:transform .28s ease, box-shadow .3s ease, background .25s ease;
  }

  .faq[aria-expanded="true"] .faq-icon{
    transform: rotate(180deg);
    scale: 1.2;
    box-shadow: 0 0px 10px rgba(138,56,245,0.22);
    background: linear-gradient(180deg, rgb(4 4 4), rgb(10 10 10))
  }

  /* content area with height animation */
  .faq-panel{
    padding:0 26px;
    /* start collapsed */
    height:0;
    overflow:hidden;
    transition: height 320ms cubic-bezier(.2,.9,.2,1);
  }

  .faq-panel-inner{
    padding:0px 0 22px;
    color:var(--muted);
    text-align:left;
    font-size:18px;
    line-height:1.4;
  }

  /* small shadow/hover effect for header */
  .faq:hover{
    transform:translateY(-4px);
    transition:transform .25s ease;
  }
  /* mobile layout */
  @media (max-width: 640px){
    /* :root{ --container-w: 100%; } */
    /* body{ padding:28px 14px; } */
    h1.section-title{ font-size:30px; margin-bottom:30px; }
    .faq{ border-radius:18px; }
    .faq-header{ padding:10px 16px; }
    .faq-title{ font-size:15px; }
    .faq-icon{ width:34px;height:34px;border-radius:9px; }
    .faq-panel-inner{ padding-bottom:18px; font-size:14px; }
    .faq-panel{
      padding: 0 18px!important;
    }
    .faq-list {
      justify-items: center;
      margin-top: 4%;
      display: grid;
      gap: 20px;
  }
  .faq[aria-expanded="true"] .faq-icon {
        transform: rotate(180deg);
        scale: 1;
    }
    .footer-text2 {
    color: #FFFFE3;
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
  }
  .list-unstyled {
    padding-left: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    text-align: center;
    justify-content: center;
  }
  .footer-nav{
    margin: 0%;
    justify-items: center;
    text-align: center;
  }
  .footer .connect {
    color: #FFFFE3;
    font-size: 24px;
  }
  .footer .contactus_btn {
    border: 1px solid #ffffff;
        border-radius: 28px;
        font-size: 20px !important;
        width: fit-content;
        padding: 15px 25px;
        margin-top: 10%;
        margin-bottom: 8%;
  }
.footer ul li {
    margin: 10px 0px;
    color: #FFFFE3;
    font-size: 16px;
    line-height: 18px;
}
.footer-text {
      color: #FFFFE3;
      font-size: 96px;
      font-weight: 700;
      line-height: 100px;
      word-wrap: break-word;
      text-align: center;
      width: 80%;
      margin-left: 10%;
}
}
  /* optional: focus styles for accessibility */
  .faq-button:focus .faq{
    outline: 2px solid rgba(138,56,245,0.22);
    outline-offset: 2px;
  }

.carousel {
  height: 500px !important;
  margin-top: 2%;
   transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  perspective: 450px;
}
.carousel-item {
  display: flex;
  align-items: start;
  justify-content: center;
  margin-right: 0%;
  width: 330px !important;
  height: 400px !important;
}

.carousel-item img {
  width: 330px !important;
  height: 400px !important;
}

/* hint what will change on child items */
.carousel .carousel-item {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 480ms cubic-bezier(.2,.9,.2,1), opacity 360ms ease; /* fallback smoothness */
}

/* ensure images don't cause relayout during animation */
.carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 400px;           
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}

/* Override Materialize .container */
.container {
  max-width: 80% !important;
  width: 80% !important;
} 

@media only screen and (min-width: 1200px) {
    .container {
        width: 90% !important;
        min-width: 90% !important;
    }
}
  @media (max-width: 640px){
  .library-container
  {
    width: 100% !important;
    min-width: 100% !important;
    padding: 0% !important;
  }
  .carousel {
    height: 400px !important;
    margin-top: 3%;
    perspective: 400px;
  }
.carousel-item {
    align-items: start;
    justify-content: center;
    margin-right: 0%;
    width: 275px !important;
    height: 360px !important;
}
.carousel-item img {
    width: 275px !important;
    height: 360px !important;
}
.footer-left-div{
  text-align: center !important;
  justify-items: center !important;
}
.container {
    max-width: 95% !important;
    width: 95% !important;
}

  }