/* ============================================
   ABOUT US PAGE (TENTANG.HTML) STYLING
   ============================================ */

.about-us {
    background: linear-gradient(180deg, #ffffff 0%, #FAF7F2 30%, #F5E6D3 100%);
    width: 100%;
    min-height: 100vh;
    position: relative;
}


/* Hero Section - Tentang Kami */

.about-us .about-hero {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-us .div {
    padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 3.5vw, 1.75rem) 0 clamp(1.25rem, 3.5vw, 1.75rem);
    max-width: 1440px;
    text-align: center;
    margin: 0 auto;
}

.about-us .div-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-us .text-wrapper-2 {
    font-family: 'Poppins-Bold', Helvetica;
    font-weight: 500;
    color: #6b4423;
    font-size: clamp(32px, 6vw, 60px);
    line-height: 1.2;
    margin: 0;
}

.about-us .from-humble-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.about-us .from-humble {
    font-family: 'Poppins-Regular', Helvetica;
    font-weight: 400;
    color: #8b6f47;
    font-size: clamp(14px, 2.5vw, 18px);
    line-height: 1.6;
    max-width: 800px;
    margin: 0;
}


/* visi misi */

.visimisi {
    background: linear-gradient(180deg, #FCFCFC 0%, #F5E6D3 100%);
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 2rem);
    width: 100%;
}

.section-wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 8vw, 6rem);
}


/* Title */

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 500;
    text-align: center;
    color: #6b4423;
    font-family: 'Poppins-Medium', Helvetica;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
}


/* VISI */

.visi-container,
.misi-container {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    width: 100%;
}

.visi-card {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 4.5rem);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.visi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.visi-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 500;
    color: #8b6f47;
    font-family: 'Poppins-Regular', Helvetica;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}


/* MISI */

.misi-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 1.5rem);
    width: 100%;
    max-width: 1200px;
    padding: 0;
}

@media (min-width: 768px) {
    .misi-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .misi-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.misi-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 1.5rem);
    gap: 1rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.misi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}


/* Number Column */

.misi-number-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.misi-number {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #8b6f47 0%, #6b4423 100%);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.125rem);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(107, 68, 35, 0.2);
}

.misi-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(107, 68, 35, 0.2) 0%, rgba(107, 68, 35, 0.05) 100%);
    border-radius: 2px;
}


/* Text */

.misi-text {
    width: 100%;
    margin-top: 0;
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    font-weight: 400;
    color: #8b6f47;
    font-family: 'Poppins-Regular', Helvetica;
    line-height: 1.7;
    text-align: justify;
}


/* Sejarah Kami Section */

.about-us .container {
    padding: 3rem clamp(1.5rem, 4vw, 2rem);
    max-width: 1440px;
    margin: 0 auto;
    background: #FCFCFC;
}

@media (min-width: 768px) {
    .about-us .container {
        padding: 5rem clamp(2rem, 5vw, 3rem);
    }
}

.about-us .sejarah-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-us .sejarah-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

.about-us .sejarah-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-us .heading {
    width: 100%;
}

.about-us .text-wrapper {
    font-family: 'Poppins-Bold', Helvetica;
    font-weight: 500;
    color: #6b4423;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.2;
    margin: 0;
}

.about-us .paragraph-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-us .paragraph {
    width: 100%;
}

.about-us .our-bakery-was {
    font-family: 'Poppins-Regular', Helvetica;
    font-weight: 400;
    color: #8b6f47;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}


/* Image Section */

.about-us .image-with-fallback-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-us .image-with-fallback {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../assets/asset\_tefa/IMG-20251202-WA0015.jpg');
}

@media (max-width: 767px) {
    .about-us .image-with-fallback {
        height: 250px;
    }
}


/* Visi Misi Section */

.about-us .visi-misi {
    padding: 3rem clamp(1.5rem, 4vw, 2rem);
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-us .visi-misi {
        padding: 5rem clamp(2rem, 5vw, 3rem);
        gap: 4rem;
    }
}

.about-us .visi-misi-2 {
    font-family: 'Poppins-Bold', Helvetica;
    font-weight: 500;
    color: #6b4423;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.2;
    text-align: center;
    margin: 0;
}

.about-us .container-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .about-us .container-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.about-us .card,
.about-us .card-2 {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-us .icon-wrapper-visi,
.about-us .icon-wrapper-misi {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient( 180deg, rgba(245, 230, 211, 1) 0%, rgba(245, 230, 211, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-us .icon-wrapper-visi i,
.about-us .icon-wrapper-misi i {
    font-size: 32px;
    color: #6b4423;
}

.about-us .card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.about-us .text-wrapper-3,
.about-us .text-wrapper-4 {
    font-family: 'Poppins-SemiBold', Helvetica;
    font-weight: 500;
    color: #6b4423;
    font-size: clamp(20px, 3vw, 24px);
    line-height: 1.3;
    margin: 0;
}

.about-us .p {
    font-family: 'Poppins-Regular', Helvetica;
    font-weight: 400;
    color: #8b6f47;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    margin: 0;
}


/* Kenali Kami Section */

.about-us .section {
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2rem);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background: #F5E6D3;
    border-radius: 0;
}

@media (min-width: 768px) {
    .about-us .section {
        padding: clamp(3rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
        gap: 3rem;
    }
}

.about-us .text-wrapper-5 {
    font-family: 'Poppins-Bold', Helvetica;
    font-weight: 500;
    color: #6b4423;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.2;
    text-align: center;
    margin: 0;
}

.about-us .container-3 {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.about-us .we-believe-that {
    font-family: 'Poppins-Regular', Helvetica;
    font-weight: 400;
    color: #8b6f47;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.about-us .text-wrapper-6 {
    font-family: 'Poppins-SemiBold', Helvetica;
    font-weight: 600;
    color: #6b4423;
    font-size: clamp(14px, 2vw, 16px);
    text-align: center;
    margin: 0;
    font-style: normal;
}


/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 12px rgba(107, 68, 35, 0.15), 0 20px 30px rgba(107, 68, 35, 0.2);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}


/* Apply animations to elements */

.about-us .div-wrapper {
    animation: fadeInDown 0.8s ease-out;
}

.about-us .from-humble-wrapper {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-us .sejarah-wrapper {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.about-us .sejarah-content {
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.about-us .image-with-fallback-wrapper {
    animation: slideInRight 0.8s ease-out 0.5s both;
}

.about-us .visi-misi {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.about-us .visi-misi-2 {
    animation: fadeInDown 0.8s ease-out 0.7s both;
}

.about-us .card,
.about-us .card-2 {
    animation: scaleIn 0.6s ease-out both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-us .card {
    animation-delay: 0.8s;
}

.about-us .card-2 {
    animation-delay: 0.95s;
}


/* Hover effect untuk visi & misi cards */

.about-us .card:hover,
.about-us .card-2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(107, 68, 35, 0.2), 0 24px 32px rgba(107, 68, 35, 0.15);
}

.about-us .icon-wrapper-visi:hover,
.about-us .icon-wrapper-misi:hover {
    background: linear-gradient( 135deg, rgba(245, 230, 211, 1) 0%, rgba(232, 212, 184, 1) 100%);
    animation: float 0.6s ease-in-out infinite;
}


/* Quote section animation */

.about-us .section {
    animation: fadeInUp 0.8s ease-out 1.1s both;
}

.about-us .container-3 {
    animation: scaleIn 0.6s ease-out 1.2s both;
}

.about-us .we-believe-that {
    animation: fadeInUp 0.8s ease-out 1.3s both;
}

.about-us .text-wrapper-5 {
    animation: fadeInDown 0.8s ease-out 0.9s both;
}


/* Paragraph 2 animation */

.about-us .paragraph-2 {
    animation: fadeInUp 0.8s ease-out 1.4s both;
}