/* ========================================
   MOBILE-FIRST CSS - Zoe Ministry
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #85b8ff;
    --primary-dark: #1e68d0;
    --text-dark: #000;
    --text-light: #fff;
    --bg-light: #fff;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --header-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: 0.3s ease;
    --container-padding: 24px;
    --container-padding1: 56px;
    --container-padding2: 100px;
    --header-padding: 7px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Schibsted Grotesk", sans-serif;
    overflow-x: hidden;
    position: relative;
}

.relative {
    position: relative;
}

    .relative img {
        position: absolute;
        bottom: 0;
        right: 0;
    }

.container1 {
    max-width: 1560px;
    padding-inline: var(--container-padding);
    margin: 0 auto;
}

.container2 {
    max-width: 1560px;
    padding-inline: var(--container-padding);
    margin: 0 auto;
}

a {
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ===== Header Styles ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(10px);
    padding-block: var(--header-padding);
    box-shadow: var(--shadow);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

    header.scrolled {
        background: var(--bg-light);
        backdrop-filter: none;
    }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        width: 35px;
        height: 35px;
    }

/* Desktop Navigation - Hidden on mobile */
.nav-links {
    display: none;
}

/* Hamburger Menu - Visible on mobile */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
}

    .hamburger span {
        width: 30px;
        height: 3px;
        background: white;
        transition: all var(--transition);
    }

        .hamburger span:nth-child(1) {
            width: 20px;
        }

        .hamburger span:nth-child(3) {
            width: 20px;
            margin-left: auto;
        }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--text-light);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--text-light);
    }

header.scrolled .hamburger span {
    background: var(--text-dark);
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--text-dark);
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 120px 20px 70px;
    overflow-y: auto;
}

    .mobile-menu.active {
        right: 0;
    }

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    transition: transform var(--transition);
}

    .mobile-menu-close:hover {
        transform: rotate(90deg);
    }

.mobile-nav {
    list-style: none;
    text-align: center;
}

    .mobile-nav li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(50px);
        animation: slideIn 0.5s forwards;
    }

.mobile-menu.active .mobile-nav li {
    animation: slideIn 0.5s forwards;
}

.mobile-nav li:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-nav li:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-nav li:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-nav li:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-nav li:nth-child(5) {
    animation-delay: 0.5s;
}

.mobile-nav li:nth-child(6) {
    animation-delay: 0.6s;
}

.mobile-nav li:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -4%;
    transition: color var(--transition);
}

    .mobile-nav a:hover {
        color: var(--primary-color);
    }

.wrapper-top-padding {
    padding-top: 100px;
}

/* ===== Hero Section ===== */
.hero-wrapper {
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url("../assets/images//home-hero-bg.jpg") center/cover no-repeat;
}

.hero {
    display: flex;
    padding: 70px 16px;
    position: relative;
    min-height: 500px;
}

.about-wrapper {
    background: url("../assets/images//sermon-hero.jpg") center/cover no-repeat;
}

.hero.about-hero {
    background: none;
    align-items: flex-end;
}

.event-wrapper {
    background: url("../assets/images//event-hero.jpg") center/cover no-repeat;
}

.hero.event-hero {
    background: none;
    align-items: flex-end;
}

.sermon-wrapper {
    background: url("../assets/images//sermon-hero2.jpg") center/cover no-repeat;
}

.courses-wrapper {
    background: url("../assets/images//courses-hero.jpg") center/cover no-repeat;
}

.hero.sermon-hero {
    background: none;
    align-items: flex-end;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: var(--text-light);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -6.4%;
}

    .hero h1 .highlight {
        color: var(--primary-color);
    }

.hero p {
    font-size: clamp(14px, 2vw, 16px);
    font-family: "Newsreader", sans-serif;
}

/* ===== Buttons ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border: 1px solid var(--text-light);
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-block;
    text-align: center;
    min-width: 200px;
    width: max-content;
    font-family: "Geist Mono", monospace, sans-serif;
}

    .btn:hover {
        background: transparent;
        color: var(--text-light);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.btn-primary {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-primary2 {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: color;
    border-color: white;
}

.btn-primary2:hover {
    background: black;
    border-color: white;
    border-color: black;
}

/* ===== Marquee ===== */
.achievment-marquee {
    overflow: hidden;
    user-select: none;
    --gap: 24px;
    display: flex;
    gap: var(--gap);
    background-color: #fff;
}

    .achievment-marquee ul {
        list-style: none;
        flex-shrink: 0;
        min-width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
        animation: scroll 40s linear infinite;
        padding-block: 20px;
    }

        .achievment-marquee ul li {
            display: flex;
            align-items: center;
            gap: 12px;
        }

            .achievment-marquee ul li p {
                font-size: clamp(12px, 4vw, 20px);
                color: rgba(20, 24, 31, 0.8);
            }

            .achievment-marquee ul li .blue-dot {
                width: 8px;
                height: 8px;
                background-color: var(--primary-dark);
                border-radius: 50%;
            }

    .achievment-marquee:hover ul {
        animation-play-state: paused;
    }

@keyframes scroll {
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

/* ===== About Pastor Section - Mobile First ===== */
.about-pastor {
    background: #f7f5ed;
    padding-block: 32px;
}

.about-pastor-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.section-label {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    font-family: "Geist Mono", monospace;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.pastor-text h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 32px;
    color: #282828;
    letter-spacing: -2%;
}

.pastor-text p {
    font-size: clamp(14px, 4vw, 18px);
    color: #676f7e;
    margin-bottom: 20px;
    font-family: "Newsreader", sans-serif;
    line-height: 180%;
    font-weight: 500;
}

.btn-outline {
    display: block;
    padding: 14px 32px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: -4%;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: "Geist Mono", monospace, sans-serif;
    width: max-content;
}

    .btn-outline:hover {
        background: #000;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.pastor-images {
    /* max-height: 430px; */
    margin: 0 auto;
    max-width: 500px;
}

.pastor-image {
    transition: transform 0.3s ease;
}

    .pastor-image:hover {
        transform: scale(1.02);
        z-index: 10;
    }

    .pastor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .pastor-image .pastor-big {
        display: none;
    }

/* ===== Service Times Section - Mobile First ===== */
.service-times {
    background: #f1f6fd;
    padding-block: 80px 32px;
    padding-inline: 20px;
}

.service-times-container {
    max-width: 100%;
    margin: 0 auto;
}

.service-times .section-label {
    text-align: center;
}

.service-times h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: normal;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out;
    color: #282828;
    letter-spacing: -2%;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-times h2 .highlight {
    color: #676f7e;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #9e9fa2;
    border-radius: 12px;
    padding: 35px 32px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out backwards;
}

    .service-card:nth-child(1) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.6s;
    }

    .service-card:hover {
        border-color: #4a90e2;
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
    }

    .service-card .day {
        display: flex;
        align-items: center;
        gap: 4px;
        text-transform: uppercase;
        font-size: 12px;
        color: var(--primary-color);
    }

    .service-card h3 {
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 800;
        color: #282828;
    }

    .service-card .time {
        font-size: clamp(20px, 2vw, 30px);
        color: #282828;
    }

    .service-card .theme {
        font-size: 12px;
        color: #666;
    }

/* ===== Intersection Observer Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== Featured Events Section - Mobile First ===== */
.featured-event-wrapper {
    display: flex;
    flex-direction: column;
    padding-block: 32px;
    gap: 32px;
}

.featured-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

    .featured-header .section-label {
        color: #282828;
        margin-bottom: 16px;
    }

.featured-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: #282828;
    letter-spacing: -2%;
}

    .featured-title .highlight {
        color: #676f7e;
    }

.featured-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .featured-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .featured-card:hover img {
        transform: scale(1.05);
    }

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.next-up {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 500;
    font-family: "Geist Mono", monospace;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.featured-event-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

/* Events List Section - Mobile First */

.event-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-end;
    transition: all 0.3s ease;
}

    .event-item:last-child {
        border-bottom: none;
    }

    .event-item:hover {
        background: #fafafa;
        padding-left: 8px;
        margin-left: 8px;
        padding-right: 8px;
        margin-right: 8px;
    }

.event-date {
    text-align: center;
}

.event-month {
    font-size: clamp(14px, 4vw, 20px);
    font-family: "Geist Mono", monospace, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #282828;
}

.event-day {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 600;
    color: #282828;
    line-height: 46px;
}

.event-details h3 {
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 700;
    margin-bottom: 8px;
    color: #282828;
}

.event-time {
    font-size: clamp(12px, 2vw, 14px);
    color: #282828;
    margin-bottom: 8px;
}

.event-location {
    font-size: clamp(12px, 2vw, 14px);
    color: #282828;
    font-family: "Newsreader", sans-serif;
}

.event-link {
    text-decoration: underline;
    color: #282828;
    font-weight: 500;
    font-size: clamp(10px, 4vw, 14px);
    font-family: "Geist Mono", monospace, sans-serif;
    grid-column: 1 / -1;
    text-align: right;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.event-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .event-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .event-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .event-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .event-item:nth-child(4) {
        animation-delay: 0.4s;
    }

.mission {
    background-color: #f7f5ed; /* light beige */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.mission-container {
    max-width: 639px;
    text-align: center;
}

.mission-text {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 180%;
    font-weight: 700;
    color: #282828;
    letter-spacing: -4%;
}

    .mission-text .highlight {
        display: inline-block;
        background-color: #1e68d0;
        color: #fff;
        padding: 4px 6px;
        transform: rotate(3.99deg);
        line-height: 100%;
    }

        .mission-text .highlight span {
            display: inline-block;
            transform: rotate(-3.99deg);
        }

/* LEFT SIDE */

.grow-text {
    max-width: 480px;
}

    .grow-text p.texts {
        font-size: clamp(14px, 4vw, 18px);
        color: #676f7e;
        margin-block: 12px;
        font-family: "Newsreader", sans-serif;
        line-height: 180%;
    }

/* RIGHT SIDE */
.grow-cards {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* CARD (matches screenshot) */
.grow-card {
    background: #f8f6f2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    transition: 0.3s ease;
}

    .grow-card:hover {
        transform: translateY(-4px);
    }

    /* IMAGE TOP */
    .grow-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

/* TEXT BELOW */
.card-body {
    padding: 16px 20px;
}

    .card-body span {
        font-size: clamp(12px, 4vw, 14px);
        color: rgba(0, 0, 0, 0.64);
        font-weight: 500;
        font-family: "Geist Mono", monospace, sans-serif;
    }

    .card-body h3 {
        font-size: clamp(18px, 4vw, 24px);
        font-weight: 700;
        margin-block: 6px;
        color: #282828;
    }

    .card-body p {
        font-size: clamp(12px, 4vw, 14px);
        color: rgba(0, 0, 0, 0.64);
        font-weight: 500;
        font-family: "Newsreader", sans-serif;
    }

.missed-section {
    background: #252424;
    color: #fff;
    padding-block: 60px;
}

.missed-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

    .missed-content span {
        color: white;
        margin-bottom: 12px;
    }

    .missed-content h2 {
        font-size: clamp(1.75rem, 4vw, 3rem);
        font-weight: 700;
        margin-bottom: 32px;
    }

    .missed-content p {
        font-size: clamp(14px, 4vw, 20px);
        font-weight: 500;
        font-family: "Newsreader", sans-serif;
        color: #bbb;
    }

/* VIDEO */
.video-wrapper {
    position: relative;
    margin-block: 24px;
}

    .video-wrapper img {
        width: 100%;
        min-height: 500px;
        max-height: 800px;
        object-fit: cover;
    }

/* PLAY BUTTON (center overlay) */
.play-button {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6);
}

    .play-button span {
        width: 60px;
        height: 60px;
        background: white;
        color: #282828;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 20px;
        cursor: pointer;
    }

/* CAPTION */
.video-caption {
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 400;
    font-family: "Newsreader", sans-serif;
    color: #aaa;
}

.grow-section {
    padding-block: 60px;
}

.grow-grid {
    display: grid;
    gap: 40px;
}

/* Sermon List Section - Mobile First */
.sermon-list-section {
    padding: 60px 20px;
    background: #fff;
}

.sermon-container {
    max-width: 800px;
    margin: 0 auto;
}

.sermon-header {
    text-align: center;
    margin-bottom: 40px;
}

    .sermon-header .subtitle {
        font-size: 1.5rem;
        font-weight: 300;
        color: #666;
        font-style: italic;
    }

/* Sermon Cards */
.sermon-card {
    background: #f4f7fa;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e3e5e8;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .sermon-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

.play-icon {
    width: 48px;
    height: 48px;
    background: rgba(48, 125, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .play-icon svg {
        color: #307de8;
    }

    .play-icon:hover {
        background: var(--primary-color);
    }

        .play-icon:hover svg {
            color: #fff;
        }

.sermon-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.sermon-title {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    color: #282828;
    margin-bottom: 4px;
}

.sermon-artist {
    font-size: clamp(12px, 2vw, 14px);
    font-family: "Newsreader", sans-serif;
    color: #676f7e;
}

.sermon-date {
    font-size: clamp(12px, 2vw, 14px);
    font-family: "Geist Mono", monospace, sans-serif;
    color: #676f7e;
}

.sermon-actions {
    display: flex;
    align-items: center;
}

.more-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .more-btn:hover {
        background: #f0f0f0;
    }

    .more-btn::before {
        content: "⋮";
        font-size: 24px;
        color: #000;
        font-weight: 800;
    }

.view-all {
    text-align: center;
    margin-top: 30px;
}

    .view-all a {
        display: inline-block;
        font-size: 12px;
        font-family: "Geist Mono", monospace, sans-serif;
        color: #676f7e;
        width: max-content;
        letter-spacing: 1.2px;
        text-transform: uppercase;
    }

        .view-all a:hover {
            text-decoration: underline;
            /* text-decoration-color: var(--primary-color); */
        }

/* Countdown Section - Mobile First */
.countdown-section {
    position: relative;
    padding: 80px 20px;
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                        url('/assets/images/countdown-poster.jpg') center/cover; */
    color: #fff;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.countdown-poster {
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.countdown-poster-overlay {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
}

.countdown-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.countdown-container {
    max-width: 900px;
    margin: 0 auto;
    /* z-index: 2; */
    inset: 0;
}

.countdown-section h2 {
    color: white;
}

.countdown-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    font-family: "Geist Mono", monospace, sans-serif;
    color: white;
    margin-bottom: 32px;
}

.countdown-timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.countdown-item {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .countdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        min-width: 70px;
        padding: 20px 15px;
    }

.countdown-number {
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 60px;
}

.countdown-label {
    font-size: clamp(12px, 2vw, 16px);
    text-transform: capitalize;
    font-family: "Geist Mono", monospace, sans-serif;
    font-weight: 500;
}

.countdown-separator {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 1);
}

.countdown-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-watch-live {
    border-color: white;
    color: white;
    text-transform: capitalize;
}

    .btn-watch-live:hover {
        background: #fff;
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        color: black;
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.sermon-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .sermon-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .sermon-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .sermon-card:nth-child(3) {
        animation-delay: 0.3s;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.countdown-number {
    animation: pulse 2s ease-in-out infinite;
}

/* Donation CTA Section - Mobile First */
.donation-section {
    background: #f5f5f5;
    padding: 0;
}

.donation-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
}

.donation-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

    .donation-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.donation-content {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f1f6fd;
}

    .donation-content .content-wrapper-container {
        background: white;
        padding: 48px 24px;
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }

    .donation-content .content-wrapper {
        max-width: 520px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .donation-content p {
        font-size: clamp(14px, 2rem, 16px);
        margin-block: 16px;
        font-family: "Newsreader", sans-serif;
        color: #282828;
        line-height: 180%;
        font-weight: 500;
        text-wrap: balance;
    }

.donation-container .cta-buttons {
    justify-content: center;
}

.plan-visit-content {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../assets/images//countdown-poster.jpg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    margin-inline: 0;
    min-height: 500px;
}

    .plan-visit-content h2 {
        color: white;
        margin-bottom: 4px;
    }

    .plan-visit-content p {
        color: white;
        max-width: 670px;
        margin-bottom: 24px;
        font-size: clamp(14px, 2vw, 16px);
        font-weight: 500;
        font-family: "Geist Mono", monospace, sans-serif;
    }

/* Footer Section - Mobile First */
.footer {
    background: #f4f7fa;
    padding-block: 60px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px 80px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -8%;
    margin-bottom: 15px;
    color: #282828;
    max-width: 557px;
}

.footer-brand p {
    font-size: clamp(12px, 2vw, 16px);
    font-family: "Newsreader", sans-serif;
    line-height: 24px;
    color: #666;
    margin-bottom: 25px;
    max-width: 470px;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

    .social-link:hover {
        background: #000;
        color: #fff;
        transform: translateY(-3px);
    }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 120px;
}

.footer-column h4 {
    font-size: clamp(12px, 2vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 13px;
    color: #121212;
    font-family: "Geist Mono", monospace, sans-serif;
}

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 13px;
    }

        .footer-column ul li a {
            font-size: clamp(14px, 2vw, 16px);
            color: #121212;
            text-decoration: none;
            transition: color 0.3s ease;
            font-family: "Newsreader", sans-serif;
            font-weight: 500;
        }

            .footer-column ul li a:hover {
                color: var(--primary-color);
            }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(18, 18, 18, 0.46);
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* text-align: center; */
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    font-size: 12px;
    flex-wrap: wrap;
}

    .footer-bottom-links a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: #000;
        }

.copyright {
    font-size: clamp(14px, 2vw, 16px);
    font-family: "Geist Mono", monospace, serif;
    color: rgba(18, 18, 18, 0.56);
    font-weight: 500;
}

.i-am-still-becoming {
    font-size: clamp(14px, 2vw, 16px);
    font-family: "Newsreader", monospace, serif;
    color: rgba(18, 18, 18, 0.56);
    font-style: italic;
    margin-left: auto;
    font-weight: 500;
}

.sermon-search-container {
    background-color: #f4f7fa;
    padding: 16px;
    border-radius: 12px;
}

    .sermon-search-container input {
        width: 100%;
        padding: 16px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-family: public sans, sans-serif;
    }

        .sermon-search-container input:focus {
            outline: none;
            box-shadow: 0 0 0 1.5px var(--primary-color);
        }

.events-wrapper {
    display: flex;
    flex-direction: column;
    padding-block: 24px;
    gap: 16px;
}

/* ========================================
   TABLET STYLES (min-width: 640px)
   ======================================== */
@media (min-width: 480px) {
    .countdown-timer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-bottom: 32px;
    }

    .countdown-item {
        min-width: 70px;
    }
}

@media (min-width: 640px) {
    .about-pastor {
        padding-block: 50px;
    }

    .pastor-image .pastor-small {
        display: none;
    }

    .pastor-image .pastor-big {
        display: inline-block;
    }

    .service-times {
        padding-block: 100px 32px;
    }

    .service-times-container {
        max-width: 600px;
    }

    .featured-event-wrapper {
        padding-block: 50px;
        gap: 32px;
    }

    .featured-card {
        height: 400px;
    }

    .featured-overlay {
        padding: 30px;
    }

    .featured-event-name {
        font-size: clamp(20px, 4vw, 32px);
    }

    .event-item {
        grid-template-columns: 100px 1fr auto;
        gap: 20px;
    }

    .event-link {
        grid-column: auto;
        text-align: left;
    }

    .sermon-card {
        padding: 24px;
    }

    .countdown-item {
        min-width: 90px;
    }

        .countdown-item:hover {
            min-width: 90px;
            padding: 25px 20px;
        }

    .donation-image {
        height: 400px;
    }

    .donation-content {
        padding: 80px 40px;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .events-wrapper {
        display: flex;
        flex-direction: column;
        padding-block: 52px;
        gap: 24px;
    }

    .belong-section {
        padding-block: 56px;
    }
}

/* Tablet */
@media (min-width: 768px) {
    .mission {
        padding: 80px 40px;
    }
}

/* ========================================
   DESKTOP STYLES (min-width: 968px)
   ======================================== */
@media (min-width: 968px) {
    .about-pastor {
        padding-block: 70px;
    }

    .about-pastor-container {
        grid-template-columns: 478px 1fr;
        gap: 60px;
    }

    .pastor-images {
        margin: 0 auto;
        max-width: unset;
    }

    .service-times {
        padding-block: 120px 32px;
    }

    .service-times-container {
        max-width: 908px;
    }

    .hero-content {
        gap: 64px;
    }

    .logo img {
        width: 45px;
        height: 45px;
    }

    .achievment-marquee {
        --gap: 48px;
    }

    .featured-event-wrapper {
        padding-block: 80px;
        gap: 60px;
    }

    .featured-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .featured-card {
        height: 500px;
    }

    .featured-overlay {
        padding: 40px;
    }

    .grow-grid {
        grid-template-columns: 1fr 420px;
        align-items: start;
    }

    .missed-section {
        padding-block: 120px;
    }
}

/* ========================================
   LARGE DESKTOP STYLES (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    :root {
        --header-padding: 16px;
    }

    /* Show desktop nav, hide hamburger */
    .nav-links {
        display: flex;
        gap: 64px;
    }

        .nav-links a {
            text-decoration: none;
            color: white;
            font-weight: 600;
            font-size: 16px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            transition: color var(--transition);
        }

    header.scrolled .nav-links a {
        color: var(--text-dark);
    }

    .nav-links a:hover {
        color: var(--primary-color);
    }

    .hero {
        padding: 70px 48px;
    }

    .sermon-list-section {
        padding: 100px 40px;
    }

    .mission-container {
        max-width: 700px;
    }

    .countdown-section {
        padding: 120px 40px;
        min-height: 700px;
    }

    .countdown-item {
        min-width: 110px;
    }

        .countdown-item:hover {
            min-width: 110px;
            padding: 30px 25px;
        }

    .donation-container {
        grid-template-columns: 1fr 1fr;
    }

    .donation-image {
        height: 100%;
        min-height: 500px;
    }

    .donation-content {
        padding: 100px 60px;
    }

        .donation-content .content-wrapper {
            max-width: none;
        }

    .belong-section {
        padding-block: 56px;
    }

    .footer {
        padding-block: 100px;
    }

    .events-wrapper {
        display: flex;
        flex-direction: column;
        padding-block: 100px;
        gap: 32px;
    }
}

/* ========================================
   EXTRA LARGE DESKTOP (min-width: 1240px)
   ======================================== */
@media (min-width: 1240px) {
    .container1 {
        padding-inline: var(--container-padding1);
    }

    .container2 {
        padding-inline: var(--container-padding2);
    }

    .about-pastor-container {
        gap: 80px;
    }
}

/* ===== Large Desktop Styles (min-width: 1440px) ===== */
@media (min-width: 1440px) {
    .hero {
        min-height: 650px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.1s;
}

.fade-in-delay-2 {
    animation-delay: 0.2s;
}

.fade-in-delay-3 {
    animation-delay: 0.3s;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}
