:root {
    --font: 'Poppins', sans-serif;
    --orange: #E38933;
    --dark: #2B1316;
    --bg: #FFF9F0;
    --text: #111;
    --muted: #555;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    margin: 0;
    padding: 0;
    background: var(--bg);
    overflow-x: hidden;
}

/* =====================
   NAVBAR
===================== */
.navbar {
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3% 0 3%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #ddd;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-left: 5%;
}

.logo img {
    width: 120px;
    height: 78px;
    border-radius: 7px;
    object-fit: contain;
    filter: brightness(2);
    padding-top: 3px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    color: #000;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.15s;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-links .active {
    color: #000;
    position: relative;
}

.nav-links .active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    min-width: 210px;
    list-style: none;
    z-index: 999;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-radius: 8px;
}

.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.chevron {
    font-size: 13px;
    opacity: 0.6;
    transition: 0.2s;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--orange);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    height: 38px;
    text-decoration: none;
    transition: 0.2s;
}

.nav-btn:hover {
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: var(--dark);
    border-radius: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(5, 15, 40, 0.97);
    backdrop-filter: blur(12px);
    z-index: 999;
    padding: 12px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 13px 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.15s;
}

.mobile-menu ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.mob-section-title {
    padding: 14px 24px 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mob-btn {
    margin: 16px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    padding: 13px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* =====================
   HERO SECTION
===================== */
.hero-section {
    min-height: 100vh;
    padding: 100px 6% 60px;
    display: flex;
    align-items: center;
    background: #E38933;
    justify-content: space-between;
    gap: 48px;
    background: var(--bg);
    background-image: radial-gradient(ellipse at 80% 50%, rgba(227, 137, 51, 0.08) 0%, transparent 60%);
}

/* Desktop: left=content, right=image */
.hero-left {
    flex: 1;
    max-width: 600px;
    order: 1;
}

.hero-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--orange);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 28px;
}

.hero-tag-icon {
    color: var(--orange);
    font-size: 14px;
}

.hero-heading {
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin: 0 0 16px;
}

.hero-highlight {
    color: var(--orange);
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-divider::before,
.hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--orange);
    max-width: 120px;
}

.hero-diamond {
    color: var(--orange);
    font-size: 12px;
}

.hero-desc {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.8;
    margin: 0 0 28px;
}

.hero-features {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 28px;
}

.hero-feat-card {
    /* border: 1px solid #ddd; */
    border-radius: 14px;
    padding: 14px 18px;
    text-align: center;
    font-size: 12px;
    color: #000;
    min-width: 110px;
    /* background: #fff; */
    transition: 0.2s;
}

.hero-feat-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
}

.feat-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #2B1316;
    color: #fff;
    padding: 16px 22px;
    border-radius: 16px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: 0.2s;
}

.hero-cta:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.hero-cta-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.hero-cta-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hero-cta-text strong {
    font-size: 14px;
}

.hero-cta-text span {
    font-size: 12px;
    color: var(--orange);
}

.hero-cta-arrow {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-quote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 16px 20px;
    background: #fff;
}

.quote-mark {
    font-size: 2rem;
    color: var(--orange);
    line-height: 1;
    font-family: Georgia, serif;
}

.hero-quote p {
    margin: 0 0 4px;
    font-size: 14px;
    color: #000;
}

.hero-quote cite {
    font-size: 12px;
    color: var(--orange);
    font-style: normal;
    font-weight: bold;
}

/* Hero right image */
.hero-img-wrap {
    position: relative;
    width: 420px;
    height: 420px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100%;
    z-index: 1;
}

.hero-img-wrap img {
    position: relative;
    z-index: 1;
    width: 136%;
    height: 184%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    transform: translate(10%);
    /* background-color: var(--orange); */
    margin-top: -23%;
    margin-left: -27%;
}

/* =====================
   FIND PEACE SECTION
===================== */
.third-page {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    padding-bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
    overflow: hidden;
}

.phone-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.phone-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 5%;
    transform: translateY(-85px);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.content h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text);
}

.content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
    margin: 0 0 25px;
    padding: 0;
}

.peace-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text);
}

.peace-title i {
    color: var(--orange);
    font-size: 2rem;
}

.peace-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.peace-features span {
    background: #fff;
    border: 1px solid #E38933;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: #333;
}

/* =====================
   RECITATION SECTION
===================== */
.third-page1 {
    background: var(--bg);
    display: flex;
    align-items: center;
    gap: 40px;
    padding-bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
    overflow: hidden;
}

.recitation-content {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recitation-tag {
    display: inline-block;
    color: #000;
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.recitation-tag i {
    color: var(--orange);
    font-size: 2.5rem;
}

.recitation-content h1 {
    font-size: 1.5rem;
    color: var(--text);
    line-height: 1.2;
    margin: 0 0 14px;
}

.recitation-content h1 i {
    color: var(--orange);
    font-size: 1.8rem;
}

.recitation-content p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 10px;
    max-width: 650px;
}

.recitation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.feature-box {
    border: 1px solid var(--orange);
    padding: 16px 22px;
    border-radius: 14px;
    color: #000;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-4px);
}

.recitation-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    min-width: 180px;
}

.recitation-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 10%;
    transform: translateY(-90px);
}

/* =====================
   LIBRARY SECTION
===================== */
.third-page2 {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 60px 5%;
    overflow: hidden;
}

.library-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    min-width: 180px;
}

.library-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 10%;
        transform: translate(10px, -60px);
}

.library-content {
    flex: 1;
}

.library-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #000;
    font-size: 2.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.library-tag i {
    color: var(--orange);
    font-size: 2.3rem;
}

.library-content h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 16px;
}

.library-content p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 16px;
    max-width: 600px;
    line-height: 1.8;
}

.library-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.library-box {
    background: #fff;
    border: 1px solid var(--orange);
    padding: 16px 22px;
    border-radius: 14px;
    font-size: 14px;
    color: #222;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.library-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* =====================
   DOWNLOAD APP SECTION
===================== */
.fourth-page {
    background: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 6%;
    gap: 48px;
}

.app-content {
    flex: 1;
    max-width: 520px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f4f1eb;
    border-radius: 50px;
    padding: 10px 18px;
    margin-bottom: 24px;
}

.badge-text {
    font-size: 13px;
    font-weight: 500;
    color: #1b4332;
}

.app-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 16px;
}

.app-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 32px;
}

.stats {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat img {
    width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.1);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.stat-lbl {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.divider {
    width: 1px;
    background: #e5e5e5;
    align-self: stretch;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1b4332;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.store-buttons {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 420px;
}

.store-card {
    border-radius: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
}

.store-card img {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.store-card:hover {
    transform: translateY(-4px);
}

/* =====================
   FOOTER
===================== */
.footer {
    background: #2B1316;
    padding: 70px 3% 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 16px;
}

.footer-logo img {
    
    width: 140px;
    height: 140px;
    border-radius: 14px;
    filter: brightness(1.5);
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #fff;
}

.footer-brand p {
    line-height: 1.9;
    color: #fff;
    max-width: 400px;
    font-size: 14px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}

.footer-column {
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #fff;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.3s;
    line-height: 1.6;
}

.footer-column a:hover {
    color: #4ade80;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

/* =====================
   SCROLL REVEAL
===================== */
.third-page,
.third-page1,
.third-page2,
.fourth-page {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    will-change: opacity, transform;
}

.third-page.show,
.third-page1.show,
.third-page2.show,
.fourth-page.show {
    opacity: 1;
    transform: translateY(-63px);
}

.phone-image,
.library-image,
.store-buttons {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.recitation-image {
    transform: translate(-90px);
}

.content,
.recitation-content,
.library-content,
.app-content {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.third-page.show .phone-image,
.third-page1.show .recitation-image,
.third-page2.show .library-image,
.fourth-page.show .store-buttons,
.third-page.show .content,
.third-page1.show .recitation-content,
.third-page2.show .library-content,
.fourth-page.show .app-content {
    opacity: 1;
    transform: translateX(0);
}

.third-page.show .cta,
.third-page1.show .feature-box,
.third-page2.show .library-box,
.fourth-page.show .stats {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================
   RESPONSIVE — TABLET (992px)
===================== */
@media (max-width: 992px) {

    .third-page,
    .third-page1,
    .third-page2 {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 5%;
    }

    .fourth-page {
        flex-direction: column;
        padding: 48px 5%;
    }

    .content {
        align-items: center;
        text-align: center;
    }

    .recitation-tag,
    .library-tag {
        margin-left: 0;
    }

    .recitation-features,
    .library-features,
    .stats {
        justify-content: center;
    }

    .store-buttons {
        max-width: 100%;
        width: 100%;
    }

    .phone-image img {
        max-width: 280px;
        transform: none;
    }

    .recitation-image img {
        max-width: 280px;
        transform: none;
    }

    .library-image img {
        max-width: 280px;
    }

    /* Recitation image above content on tablet */
    .third-page1 {
        flex-direction: column;
    }

    .recitation-image {
        order: -1;
        transform: none;
    }
}

/* =====================
   RESPONSIVE — MOBILE (768px)
===================== */
@media (max-width: 768px) {

    /* Navbar */
    .nav-links,
    .nav-right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        height: 60px;
        padding: 0 15px;
    }

    .logo {
        margin-left: 0;
    }

    .logo img {
        width: 65px;
        height: 55px;
    }

    .logo-text {
        font-size: 16px;
    }

    /* ── HERO: image FIRST, content SECOND on mobile ── */
    .hero-section {
        flex-direction: column;
        min-height: 100vh;
        padding: 80px 20px 48px;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .hero-right {
        order: 1;
        /* image on top */
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .hero-left {
        order: 2;
        /* content below */
        max-width: 100%;
    }

    /* Hero image on mobile */
    .hero-img-wrap {
        width: 230px;
        height: 230px;
    }

    .hero-img-wrap::before {
        inset: 0;
        border-radius: 22px;
    }

    .hero-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: none;
        margin: 0;
    }

    /* Hero text adjustments */
    .hero-tag {
        font-size: 11px;
        padding: 6px 12px;
        justify-content: center;
    }

    .hero-heading {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-divider {
        justify-content: center;
    }

    .hero-divider::before,
    .hero-divider::after {
        max-width: 60px;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    /* Feature cards: 2×2 grid on mobile */
    .hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        justify-items: center;
    }

    .hero-feat-card {
        width: 100%;
        min-width: unset;
        padding: 12px 10px;
        font-size: 11px;
    }

    .hero-cta {
        text-align: left;
    }

    .hero-quote {
        text-align: left;
    }

    /* Other sections */
    .third-page,
    .third-page1,
    .third-page2 {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
        gap: 28px;
    }

    /* Override translateY on mobile — no negative shift */
    .third-page.show,
    .third-page1.show,
    .third-page2.show,
    .fourth-page.show {
        transform: translateY(1);
        margin-top: 2%;
    }

    .fourth-page {
        flex-direction: column;
        padding: 50px 20px;
    }

    .content {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .app-content,
    .recitation-content,
    .library-content {
        width: 100%;
        text-align: center;
    }

    .content h1,
    .recitation-content h1,
    .library-content h1,
    .app-content h1 {
        font-size: 1.4rem;
    }

    .recitation-features,
    .library-features,
    .stats {
        justify-content: center;
    }

    /* Recitation image above content on mobile */
    .third-page1 {
        flex-direction: column;
    }

    .recitation-image {
        order: -1;
        transform: none;
    }

    .recitation-image img {
        transform: none;
        max-width: 220px;
    }

    .phone-image img {
        transform: none;
        max-width: 220px;
    }

    .store-buttons {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .store-card {
        justify-content: center;
    }

    /* Fix scroll reveal on mobile — use translateY instead of translateX */
    .phone-image,
    .recitation-image,
    .library-image,
    .store-buttons,
    .content,
    .recitation-content,
    .library-content,
    .app-content {
        transform: translateY(20px);
        opacity: 0;
    }

    .third-page.show .phone-image,
    .third-page1.show .recitation-image,
    .third-page2.show .library-image,
    .fourth-page.show .store-buttons,
    .third-page.show .content,
    .third-page1.show .recitation-content,
    .third-page2.show .library-content,
    .fourth-page.show .app-content {
        opacity: 1;
        transform: translateY(0);
    }

    /* Footer */
    .footer {
        padding: 20px 5% 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        font-size: large;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
        max-width: 100%;
    }
}