@font-face {
    font-family: 'Sacred Bridge';
    src: url('../assets/font/sacred_bridge/Sacred Bridge Demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Sacred Bridge', serif;

    --primary-color: #1b1b1b;
    --white-color: #ffffff;
    --bg-color: #FBF1E7;
    --red-color: #a92620;
    --yellow-color: #fec538;

    --bg-main: #fff7f0;
    --purple-main: #c03a2b;
    --text-dark: #1a1a1a;
    --yellow-main: #fbc531;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--bg-color) !important;
    font-family: var(--font-primary);
}

/* NAVBAR */
.bataka-navbar {
    position: fixed;
    margin-top: 53px;
    margin-left: 13%;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;
}

.bataka-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white-color);
    border-radius: 50px;
    padding: 20px 130px;
    width: fit-content;
    font-size: 16px;
    flex-wrap: nowrap;
    gap: 100px;
}

.bataka-navbar a {
    text-decoration: none;
    font-size: 20px;
    color: var(--red-color);
    margin: 0 15px;
    font-weight: 500;
}

/* HAMBURGER */
.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease-in-out;
    display: none;
}

.hamburger div {
    width: 30px;
    height: 4px;
    background-color: var(--red-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar2 {
    opacity: 0;
}

.hamburger.active .bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* SIDEBAR MENU */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: fit-content;
    background-color: var(--bg-color);
    z-index: 1000;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    left: 0;
    width: 100%;
    border-radius: 0 0 50px 50px;
}

.sidebar a {
    color: var(--red-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

/* HERO SECTION */
.hero {
    position: relative;
    overflow: hidden;
    height: 128vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: var(--bg-secondary);
}

.daun {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.2s linear;
}

.burung {
    position: absolute;
    top: 10rem;
    left: 100px;
    z-index: 1;
}

.rumah-kiri,
.rumah-kanan {
    position: absolute;
    z-index: 2;
}

.rumah-kiri {
    left: 0;
    bottom: 7rem;
}

.rumah-kanan {
    right: 0;
    bottom: 3rem;
}

.title {
    z-index: 1;
    margin-top: 14rem;
    transition: transform 0.2s ease-out;
}

.btn-hero {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 16px;
    background-color: #C03D2D;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease-out;
    z-index: 1;
}

.bawah-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 3;
}

/* ABOUT SECTION */
.about {
    background-color: var(--white-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 80px;
    gap: 40px;
    position: relative;
}

.about-images {
    width: 60%;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    min-height: 500px;
    margin-left: -8%;
}

.about-images img {
    padding: 8px;
    border-radius: 12px;

}

.img2 {
    width: 276px;
    height: 326px;
}

.img3 {
    width: 301px;
    height: 289px;
}

.img1 {
    width: 440px;
    height: 490px;
}

.about-text {
    width: 45%;
    min-width: 300px;
    font-family: var(--font-secondary)
}

.about-text h2 {
    color: var(--red-color);
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    font-family: var(--font-primary);
}


/* QUIZ SECTION */
.quiz {
    padding: 60px 8%;
    background: var(--bg-main);
}

.quiz-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--red-color);
    border-radius: 30px;
    padding: 40px 60px;
    gap: 40px;
}

/* KIRI */
.left-quiz h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 400;
    color: #f1f1f1;
    margin-bottom: 10px;
}

.left-quiz h1 {
    font-size: 90px;
    font-family: var(--font-primary);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 30px;
}

.btn-quiz {
    background-color: var(--white-color);
    color: var(--red-color);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-quiz:hover {
    background-color: #f3f3f3;
}

/* KANAN */
.right-quiz img {
    width: 260px;
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

/* BLOG SECTION */
.blog-section {
    padding: 80px 8%;
    background-color: var(--white-color)
}

.blog-header {
    text-align: left;
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 38px;
    font-weight: 600;
    color: var(--primary-color);
}

.blog-header span {
    color: var(--red-color);
}

.blog-header p {
    font-size: 18px;
    color: var(--primary-color);
}

.blog-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-card {
    background-color: var(--white-color);
    box-shadow: #000;
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-img {
    height: 180px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.blog-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.blog-btn {
    background-color: var(--yellow-main);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    align-self: flex-start;
}

.blog-btn:hover {
    background-color: #f1b90d;
}

/* Animasi Floating */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* REQUEST STORY SECTION */
.request {
    background-color: var(--white-color);
    padding: 40px 8%;
}
.req-story-section {
    background-color: var(--red-color);
    margin: 55px 60px;
    padding: 70px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.request-story {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.request-story h2 {
    font-size: 50px;
    margin-bottom: 61px;
    color: var(--white-color);
}

.text-input {
    display: flex;
    justify-content: space-between;
    border-radius: 24px;
    width: 65vw;
    padding: 13px 16px;
    font-size: 20px;
    background-color: var(--white-color);
}

.send {
    border: none;
    border-radius: 24px;
    font-size: 25px;
    background-color: var(--yellow-color);

    padding: 20px 50px;
}

.request-story input[type="text"] {
    padding: 13px;
    font-size: 25px;
    border: none;
    border-radius: 6px;
    width: 100%;
    outline: none;
}

.req-story-section img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}


/* QUIZ SECTION */
.quiz {
    padding: 60px 8%;
    background: var(--bg-color);
}

.quiz-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--red-color);
    border-radius: 30px;
    padding: 8px 80px;
    gap: 40px;
}

.left-quiz h3 {
    font-size: 22px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.left-quiz h1 {
    font-size: 90px;
    font-weight: 500;
    font-family: var(--font-secondary);
    color: var(--white-color);
    line-height: 1.2;
    margin-bottom: 30px;
}

.btn-quiz {
    background-color: var(--white-color);
    color: var(--red-color);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-quiz:hover {
    background-color: #f3f3f3;
}

.right-quiz img {
    width: 300px;
    max-width: 100%;
}

/* Responsiveness */
@media (max-width: 768px) {
  .swiper-wrapper {
    padding: 0 20px;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none; 
  }
}


/* FOOTER SECTION */
.footer {
    padding: 7rem 9% 2rem;
    min-height: fit-content;
    text-align: center;
    background: var(--white-color);
    color: var(--primary-color);
}

.footer a img {
    width: 8vw;
}

.footer p {
    padding: 2rem 25%;
    font-size: 1.2rem;
    font-weight: 300;
}

.nav-footer {
    display: inline-flex;
    justify-content: center;
}


.nav-footer a {
    padding: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 3rem;
    transition: .5s ease;
    text-decoration: none;
}

.nav-footer a:hover {
    opacity: 50%;
}

.sosmed-footer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: transparent;
    border: 1px solid var(--red-color);
    border-radius: 50%;
    padding: 1rem;
    margin: 1rem;
    color: var(--red-color);
    transition: .5s ease;
    text-decoration: none;
}


.sosmed-footer a:hover {
    color: var(--white-color);
    background: var(--red-color);
}

/* RESPONSIVE MODE */
@media (max-width: 1200px) {
    .bataka-navbar {
        margin-left: 10%;
    }

    .bataka-nav {
        padding: 20px 80px;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .bataka-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .daun {
        display: none;
    }

    .title {
        height: 25vh;
        margin-top: 15rem;

    }

    .rumah-kanan {
        height: 80vh;
        bottom: -7rem;
    }

    .rumah-kiri {
        height: 70vh;
        bottom: -4rem;
    }

    .burung {
        margin-left: -5rem;
        margin-top: -5rem;
    }

    .hero {
        height: 130vh;
    }
}

@media (max-width: 450px) {

    .title {
        height: 20vh;
    }

    .rumah-kanan {
        height: 95vh;
    }

    .rumah-kiri {
        height: 80vh;
    }
}

@media (max-width: 992px) {
    .about {
        flex-direction: column;
        padding: 40px 20px;
    }

    .about-images {
        display: none;
    }

    .about-text {
        width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .about-text h2 {
        font-size: 36px;
    }

    .about-text p {
        font-size: 18px;
        text-align: justify;
    }

    .img1,
    .img2,
    .img3 {
        width: 90%;
        height: auto;
    }

    .quiz-banner {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
    }

    .left-quiz h1 {
        font-size: 40px;
    }

    .left-quiz h3 {
        font-size: 18px;
    }

    .btn-quiz {
        padding: 12px 24px;
        font-size: 16px;
    }

    .right-quiz img {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .request-story h2 {
        font-size: 40px;
    }

    .req-story-section {
        flex-direction: column;
        text-align: center;
    }

    .req-story-section img {
        display: none;
    }

    .text-input {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .send {
        width: 100%;
    }
}

/* Responsive Quiz */
@media (max-width: 992px) {
    .quiz-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .left-quiz h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .blog-cards {
        flex-direction: column;
    }

    .blog-card {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .quiz {
        padding: 40px 5%;
    }

    .quiz-banner {
        padding: 20px;
    }

    .left-quiz h1 {
        font-size: 28px;
    }

    .btn-quiz {
        font-size: 16px;
        padding: 12px 28px;
    }
}

@media (max-width: 800px) {
    .footer {
        padding: 4rem 5% 1.5rem;
        text-align: center;
    }

    .footer a img {
        width: 100px;
    }

    .footer p {
        padding: 1rem 10%;
        font-size: 1rem;
        line-height: 1.5;
    }

    .nav-footer {
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 1rem;
    }

    .nav-footer a {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }

    .sosmed-footer {
        margin-top: 1.5rem;
    }

    .sosmed-footer a {
        font-size: 1.2rem;
        padding: 0.7rem;
        margin: 0.5rem;
    }

    .footer hr {
        margin: 1.5rem 0;
    }
}