/* HERO */
.about-hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
        url("../image/bg_img.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    /* prevent overflow */
}

.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* when visible */
.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT */
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.5;


    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #c6a75e;

    width: 0;
    animation:
        typing 4s steps(45) forwards,
        blink 0.7s 4;
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 20px;

        white-space: normal;
        /* 🔥 allow wrapping */
        width: 100%;
        /* fix overflow */
        border-right: none;
        /* remove cursor */
        animation: none;
        /* disable typing on mobile */
    }
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 22px;

        white-space: normal;
        /* 🔥 allow wrapping */
        width: 100%;
        /* fix overflow */
        border-right: none;
        /* remove cursor */
        animation: none;
        /* disable typing on mobile */
    }
}

/* typing effect */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 45ch;
        /* number of characters */
    }
}

/* blinking cursor */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.hero-content h1 {
    border-right: 3px solid #c6a75e;
}

.hero-content h1.done {
    border-right: none;
    /* REMOVE CURSOR */
}

.hero-content p {
    font-size: 14px;
    margin-bottom: 35px;
}

.hero-btn {
    background: #c6a75e;
    padding: 14px 40px;
    border-radius: 40px;
    color: black;
    text-decoration: none;
}

/* WHO WE ARE */
.who-we-are {
    background: #f3efe7;
    padding: 40px 20px 80px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    color: #a67c2d;
    font-size: 32px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;

    @media (max-width: 600px) {
        grid-template-columns: 1fr;

    }
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* slight premium shadow */
}

/* VIDEO */
.about-image video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* HOVER EFFECT */
.about-image:hover video {
    transform: scale(1.05);
}

/* PREMIUM OVERLAY */
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1),
            rgba(0,
                0, 0, 0.3)); */
    border-radius: 20px;
}

@media (max-width: 600px) {
    .about-image {
        height: 220px;
    }

    /* rogue mobile navbar top code purged */
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Navbar layout code purged to let global style.css govern */

/* ============================= */
/* PROBLEM & SOLUTION SECTION   */
/* ============================= */

.problem-solution {
    background: #f4f1ea;
    padding: 40px 20px 80px;
}

.problem-solution .container {
    max-width: 1150px;
    margin: auto;
}

/* Section Heading */
.problem-solution .section-heading {
    text-align: center;
    margin-bottom: 4 0px;
}

.problem-solution .section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #a67c2d;
    margin-bottom: 15px;
}

.problem-solution .section-heading p {
    color: #b89447;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.section-heading p {
    color: #b89447;
    margin-top: 10px;
}

/* Card Wrapper */
.ps-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-content: center;
}

/* Cards */
.ps-card {
    flex: 1;
    background: #ffffff;
    border-radius: 22px;
    padding: 60px 45px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(198, 167, 94, 0.2);
    transition: all 0.35s ease;
}

.ps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* Card Heading */
.ps-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #a67c2d;
    margin-bottom: 35px;
    text-align: center;
}

/* List */
.ps-list {
    list-style: none;
    padding: 0;
}

.ps-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    margin-bottom: 22px;
    color: #555;
}

/* Icon Base */
.ps-list .icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Red Problem Icon */
.ps-list .red {
    background: #f05454;
    color: white;
}

/* Green Solution Icon */
.ps-list .green {
    background: #4CAF50;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .ps-wrapper {
        grid-template-columns: 1fr;
    }

    .ps-card {
        padding: 45px 30px;
    }
}

/* FOUNDER */
.founder-quote {
    background: #f4f1ea;
    padding: 40px 20px 80px;
    /*  */
}

.quote-container {
    max-width: 900px;
    background: #f8f5ee;
    margin: auto;
    border: 1.5px solid #d4b26a;
    border-radius: 25px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
}

.quote {
    font-size: 70px;
    position: absolute;
    color: #c6a75e;
}

.quote.left {
    left: 25px;
    top: 36px;
}

.quote.right {
    right: 18px;
    bottom: 185px;
}

.founder-info img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #d4b26a;
    margin-top: 30px;
}

.social-icons i {
    color: white;
    font-size: 16px;
}

.social-icons a:hover {
    background: #c6a75e;
    transform: translateY(-4px);
}

.social-icons a:hover img {
    filter: brightness(1);
    /* makes icon black on gold */
}

@media (max-width: 450px) {
    /* rogue mobile logo code purged */

    .hero-content h1 {
        opacity: 0.6;
        animation: fadeIn 2s ease forwards;
    }

    .hero-content p {
        opacity: 0.6;
        animation: fadeIn 2s ease forwards;
    }

    .hero-btn {
        opacity: 0.6;
        animation: fadeIn 2s ease forwards;
    }

    .about-image {
        height: 180px;
    }

    .quote-container {
        padding: 50px 30px;
    }

    .quote {
        font-size: 50px;
    }

}