/*
    File: guardian.css
    Description: Stylesheet for the Guardian Mobile App page.
*/

/* --- Hero Section --- */


.hero {
    background-image: url(../img/complete-01.jpg);
    background-repeat: no-repeat;
    background-position-x: center;
    /* background-image: url(../img/personal-banner.jpg);
    background-size: cover;    
    background-position-x: right; */
}

.hero.container {
    background-color: #f8f9fa;
    width: 100%;
    max-width: initial;
    position: relative;
    padding: 0;
}

.hero h1 {
    font-family: "myriad-pro", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: none;
    /* color: #2d2313; */
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    z-index: 5;
    position: relative;
}
.hero h2 {
    z-index: 5;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
}

/* --- Store Badges --- */
.store-buttons {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 5;
    position: relative
}

.store-badge {
    height: 50px;
    width: auto;
    margin: 0 auto;
    cursor: pointer;
}

/* --- Product Content Section --- */
.product-content {
    padding: 6rem 2rem;
    background-color: #fff;
}

.product-content .row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.product-content .column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-content .column img {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 100%;
}

.product-content .column h3 {
    font-family: "myriad-pro", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-content .column p {
    font-size: 1rem;
}

.container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .product-content .row {
        grid-template-columns: 1fr;
    }
}

/* --- Quote Section --- */
.quote {
    background: #382217;
    /* padding: 5rem 2rem; */
    padding: 5rem 0;
    text-align: center;
    width: 100%;
    max-width: initial;
}

.quote p {
    font-size: 1.3rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    color: #fba017;
    /* color: #343a40; */
}

/* --- About Section --- */
.about {
    padding: 5rem 2rem;
    text-align: center;    
    /* background: #382217;
    color: #fba017; */
    background-color: #f8f9fa;
}

.about .flex.column {
    max-width: 800px;
    margin: 0 auto;
    gap: 1.5rem;
    font-size: 1.1rem;
}

/* --- For Parents Section --- */
.for-parents {
    /* padding: 6rem 2rem; */
    padding: 6rem 0;
    background-color: #fff;
}

.for-parents {
    width: 100%;
    max-width: initial;
}

.for-parents .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 4rem;    
}

/* .grid-2-1 {
    grid-template-columns: 2fr 1fr!important;
}

.grid-1-2 {
    grid-template-columns: 1fr 2fr!important;
} */

.for-parents .row:last-child {
    margin-bottom: 0;
}

.for-parents .row:nth-child(even) {
    direction: rtl;
}

.for-parents .row > div {
    direction: ltr;
}

.for-parents h2 {
    font-family: "myriad-pro", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.for-parents p {
    font-size: 1rem;
}

.for-parents img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* --- Features Section --- */
.features {
    /* padding: 6rem 2rem; */
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-family: "myriad-pro", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.flex.row:has(.feature-card) {
    margin-bottom: 2.5rem;
}

.features .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    /* margin-bottom: 2.5rem; */
    /* align-items: stretch; */
}

.features .row:last-child {
    margin-bottom: 0;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card img {
    flex-shrink: 0;
}

.feature-card:has(img) {
    display: flex!important;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    font-family: "myriad-pro", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Take Control Section --- */
.take-control {
    /* padding: 6rem 2rem; */
    padding: 6rem 0;
    text-align: center;
    background-color: #111;
    color: #fff;
}

.take-control h2 {
    font-family: "myriad-pro", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.take-control p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

  .hero h1 {
        line-height: 1.2em;
        font-weight: 700;
        padding-bottom: 1.5rem;
    }

/* --- Responsive --- */
/* --- Responsive --- */
@media (max-width: 769px) {
    /* .container {
        padding: 0 1rem;
    } */

    .hero {
        /* padding: 6rem 1rem; */
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .store-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .store-badge {
        height: 45px;
    }

    .product-content {
        padding: 4rem 1rem;
    }

    .product-content .row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quote {
        /* padding: 4rem 1rem; */
        padding: 4rem 0;
    }

    .quote p {
        font-size: 1.1rem;
    }

    .about {
        padding: 4rem 1rem;
    }

    .about .flex.column {
        font-size: 1rem;
    }

    .for-parents {
        /* padding: 4rem 1rem; */
        padding: 4rem 0;
    }

    .for-parents .row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        direction: ltr !important; /* Ensure consistent direction on mobile */
    }

    .for-parents h2 {
        font-size: 1.8rem;
    }

    .features {
        padding: 4rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features .row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-card img {
        margin-bottom: 1rem;
    }

    .take-control {
        /* padding: 4rem 1rem; */
        padding: 4rem 0;
    }

    .take-control h2 {
        font-size: 2rem;
    }

    .take-control p {
        font-size: 1rem;
    }
}

/* --- Tape Banner --- */
.tape-banner p {
    font-size: 20px;
    color: #7f675b;
}

.faq {
    background-color: #fff;
    width: 100%;
    max-width: initial;
}

.faq .container {
    background-color: #fff;
    padding: 6rem 4rem;
    max-width: 1280px;
}

.faq h2 {
    text-align: center;
    font-family: "myriad-pro", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 4rem;
}

.faq h3 {
    font-size: 1.75rem;
    display: block;
    font-weight: 400;
    margin: .5em 0;
}

.faq h3:hover {
    cursor: pointer;
}

.faq p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    color: #444444;
}

/* --- FAQ Accordion --- */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.faq-item h3 {
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    display: none;
    /* padding-top: 10px; */
    padding: 1rem;
}

.image-wrapper {
    /* text-align: center; */
    text-align: right;
}

.image-wrapper.left {
    /* text-align: center; */
    text-align: left;
}

.image-wrapper img {
    /* max-width: 350px; */
    max-width: 300px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    /* opacity: 0.9; */
    opacity: 1;
    text-shadow: none;
    /* color: #444444; */
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 2px 2px #000;
    margin-bottom: 2rem;
}

.hero h3 {
    font-size: 1.35rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: none;
    color: #444444;
    margin-top: 3rem;
}

.hero .store-buttons {
    margin-top: 1rem;
}

.take-control {
    width: 100%;
    max-width: initial;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 0;
}

.light-gray-bg {
    background-color: #f8f9fa;
}

main {
    max-width: none;
}

@media screen and (max-width:769px) {
    .faq-item h3 {
        font-size: 1.5rem;
    }
    .faq-item p {
        font-size: 1rem;
    }
}

@media screen and (max-width:600px) {
    .for-parents .row {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .image-wrapper img {
        max-width: 250px;
    }
    .image-wrapper {
        text-align: center;
    }

    .image-wrapper.left {
        text-align: center;
    }
    .faq .container {
        padding: 3rem 1rem 5rem;
    }
    .faq h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .hero-text {
        padding: 3rem 2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h2 {
        font-size: 1.25rem;
    }
    .hero h3 {
        font-size: 1.15rem;
    }
}

