@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans_18pt-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans_18pt-Medium.ttf);
    font-weight: 500;
}

@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans_18pt-SemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans_18pt-Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: DMSans;
    src: url(../fonts/DMSans_18pt-ExtraBold.ttf);
    font-weight: 900;
}

@font-face {
    font-family: DMSerif;
    src: url(../fonts/DMSerifText-Regular.ttf);
    font-weight: 400;
}

@font-face {
    font-family: DMSerif;
    src: url(../fonts/DMSerifText-Italic.ttf);
    font-weight: 700;
}
@font-face {
    font-family: Knockout;
    src: url(../fonts/Knockout\ HTF48-Featherweight\ Regular.otf);
}

html,body {
  scroll-behavior: auto !important;
  overscroll-behavior: none;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
}
label.error{
    color: red;
}
* {
    font-family: DMSans;
}

.dm-serif {
    font-family: DMSerif;
}
.knockout-font{
    font-family: Knockout;
    font-weight: 400;
    letter-spacing: 0.4px;
}
.text-child {
    font-size: 18px;
    line-height: 28px;
    color: #707070;
    font-weight: 400;
    font-family: DMSans;
}
h2{
    color: #f45929;
}
.hero-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #fff;
    color: black;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
}

/* hide default swiper arrows */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}
.myHeroSwiper {
  height: fit-content;
  min-height: fit-content;
}

.myHeroSwiper .swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* Optional: black background behind image */
}

.myHeroSwiper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Image fully visible, auto resize */
}

/* Header ============ */
/* Toggle Animation */
header {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    z-index: 5555 !important;
}

header.hide {
    transform: translateY(-100%);
}

/* header.show {
    transform: translateY(0);
} */

.hamburger-line {
    transition: all 0.3s ease;
    background-color: #000;
    width: 40px;
    height: 2px;
    border-radius: 2px;
    display: block;
}

/* Cross Animation */
.toggle-active .line1 {
    transform: rotate(45deg) translate(0px, 7px);
}

.toggle-active .line2 {
    transform: rotate(-45deg) translate(0px, -7px);
}

/* Disable background scroll */
body.menu-open {
    overflow: hidden;
}

/* Menu Item Animation */
.menu-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.menu-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* Make toggle visible over everything */
#menu-toggle {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 100;
}

/* video slider ============ */
.video-section {
    position: relative;
    overflow: hidden;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-stack {
    position: absolute;
    top: 20px !important;
    bottom: 20px !important;
    left: 50% !important;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: translateX(-50%) !important;
}

.image-stack img {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.image-stack img.active {
    opacity: 1;
}

/* about us section founder logo ================= */
.img-hover{
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    opacity: 0;
    flex: none;
    position: absolute;
    inset: 0;
    overflow: visible;
    transition: all 0.4s ease-in-out;
}
.img-hover:hover{
    opacity: 1;
}
.img-hover h3{
    font-family: Knockout;
    font-size: 76px;
    line-height: 90px;
    text-transform: uppercase;
    font-weight: 400;
    max-width: 400px !important;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
    opacity: 0.6;
    transform: translate(-50%, -50%);
}
.img-hover:hover .img-hover h3{
    width: 199px;
    height: 199px;
    top: calc(49.9002% - 99.5px);
    left: calc(50% - 99.5px);
}

/* animation =========== */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4))
    }
}

.slider-1 {
    height: auto;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
    border-top: 1px solid var(--white);
}

.slide-track {
    animation: scroll 30s linear infinite;
    display: flex;
    width: calc(300px * 14);
}

.slide-founder {
    height: auto;
    width: 300px;
}


/* About Us – Mrucha Foundation Slider ===========*/
.slider-container {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}

/* Each slide sits on top of each other */
.slide {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-top: 2.5rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 700ms cubic-bezier(.22, .98, .35, 1), transform 700ms cubic-bezier(.22, .98, .35, 1);
    pointer-events: none;
}

/* active slide visible on top */
.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

/* ensure images & content don't cause layout shift */
.slide-image {
    width: 100%;
    max-width: 50%;
    height: 100%;
    max-height: 580px;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 700ms cubic-bezier(.22, .98, .35, 1) 80ms, transform 700ms cubic-bezier(.22, .98, .35, 1) 80ms;
    opacity: 0;
    transform: translateY(8px);
}

/* when slide active, image and content visible smoothly */
.slide.active .slide-image {
    opacity: 1;
    transform: translateY(0);
}

/* Slide text content */
.slide-content {
    max-width: 48%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 700ms cubic-bezier(.22, .98, .35, 1) 120ms, transform 700ms cubic-bezier(.22, .98, .35, 1) 120ms;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* arrow button small style */
.arrow-btn {
    background: #bababa;
    padding: 0.5rem;
    border-radius: 9999px;
}

.arrow-btn:hover {
    background: #000;
    color: #fff;
}

/* Image animation */
.slide-image {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.2s ease-in-out;
}

.slide.active .slide-image {
    opacity: 1;
    transform: scale(1);
}

/* Text animation */
.slide-content {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s ease-in-out;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateX(0);
}

/* Button hover smooth */
button {
    transition: all 0.3s ease;
}

/* accordion ============== */
.accordion-header::after {
    content: '+';
    @apply ml-2 text-lg font-bold;
}

.accordion-item.open .accordion-header::after {
    content: '-';
}

.accordion .accordion-item:hover {
    background-color: #000;
    transition: all 0.4s ease-in-out;
}

.accordion .accordion-item:hover .accordion-header {
    color: #fff;
}

.accordion .accordion-item:hover .accordion-body {
    color: #adadad;
}


@media (max-width:1024px) {
    .slide-founder img {
        width: 160px;
        height: auto;
    }

    .slide-image {
        height: 320px !important;
    }

    .slider-container {
        min-height: 440px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width:767px) {
    .text-child {
        font-size: 16px;
    }

    #menu-toggle {
        right: 32px;
    }

    .slide {
        display: block;
    }

    .slide-image {
        max-width: 100%;
        height: auto;
    }

    .slide-content {
        max-width: 100%;
    }

    .slider-container {
        min-height: 640px;
    }

    .arrows-position-left {
        left: 50%;
        transform: translateX(-65%);
        z-index: 555;
    }

    .arrows-position-right {
        left: 50%;
        transform: translateX(-35%);
        z-index: 555;
    }

}

@media (max-width:640px) {
    #menu-toggle {
        right: 20px;
    }

    #bgVideo {
        height: 420px !important;
    }

    .image-stack img {
        max-width: 420px !important;
    }

    .arrows-position-left {
        transform: translateX(-90%);
    }

    .arrows-position-right {
        transform: translateX(-10%);
    }

    .slider-container {
        min-height: 690px;
    }

    .slide {
        flex-direction: column;
        align-items: center;
        padding-top: 2.5rem;
    }

    .slide-image,
    .slide-content {
        max-width: 100%;
    }
    #menu-toggle{
        top: 32px;
    }
}

@media (max-width:575px) {
    .image-stack {
        width: 70%;
    }

    .image-stack img {
        max-width: 100% !important;
    }
    .myHeroSwiper { 
        min-height: 580px;
    }
    .myHeroSwiper .swiper-slide {
        min-height: 580px;
    }
    .swiper-button-next, .swiper-button-prev {
        width: 30px !important;
        height: 30px !important;
    }
    .swiper-button-next{
        margin-right: -16px;
    }
    .swiper-button-prev{
        margin-left: -16px;
    }
}

@media (max-width:440px) {
    #bgVideo {
        height: 340px !important;
    }

    .slider-container {
        min-height: 720px;
    }
    .myHeroSwiper { 
        min-height: 480px;
    }
    .myHeroSwiper .swiper-slide {
        min-height: 480px;
    }
}