/* ================= GLOBAL ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #222;
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}

h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
}


/* ================= NAVIGATION ================= */
header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin-left: 30px;
    padding: 20px;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: left;
    gap: 60px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.menu a:hover {
    opacity: 0.6;
}

.menu .active {
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    list-style: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: #fff;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-content li {
    padding: 10px 20px;
}

.dropdown-content li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}


/* ================= HOME HERO ================= */
.home-hero {
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 80px 40px;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}

/* Square video container */
.hero-video-wrap {
    flex-shrink: 0;
    width: min(42vw, 480px);
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

.hero-video-square {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text side */
.hero-text {
    flex: 1;
    min-width: 0;
    max-width: 520px;
}

.home-hero-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 700;
    margin-bottom: 20px;
}

.home-hero-heading {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #111;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.home-hero-sub {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 40px;
    text-align: justify;
}

.home-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background: #b8b8b8;
    color: #111;
}

.btn-secondary {
    background: transparent;
    color: #111;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid #ddd;
    transition: border-color 0.3s ease;
}

.btn-secondary:hover {
    border-color: #111;
}


/* Remove gap between hero and values */
#values {
    padding-top: 30px;
}
/* ================= TOOLS STRIP ================= */
.tools-strip {
    padding: 80px 20px;
    background: #fff;
}

.tools-strip-inner {
    max-width: 1200px;
    margin: auto;
}

.tools-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 700;
    margin-bottom: 28px;
}


.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 16px;
    border: 1.5px solid #e8e8e8;
    overflow: hidden;
    background: #fafafa;
    padding: 36px 28px 32px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    border-color: #111;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
}

/* Animated fill on hover */
.tool-card-bg {
    position: absolute;
    inset: 0;
    background: #111;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Per-card hover background colors */
.tool-card--irb    .tool-card-bg { background: #ff3131; }
.tool-card--anchor .tool-card-bg { background: #ffbd59; }
.tool-card--pulse  .tool-card-bg { background: #48e080; }

/* Per-card hover border colors */
.tool-card--irb:hover    { border-color: #ff3131; }
.tool-card--anchor:hover { border-color: #ffbd59; }
.tool-card--pulse:hover  { border-color: #48e080; }

/* Anchor & Pulse use dark text/icons on their light hover backgrounds */
.tool-card--anchor:hover .tool-card-text strong,
.tool-card--pulse:hover  .tool-card-text strong { color: #111; }

.tool-card--anchor:hover .tool-card-text span,
.tool-card--pulse:hover  .tool-card-text span   { color: rgba(0,0,0,0.55); }

.tool-card--anchor:hover .tool-card-icon,
.tool-card--pulse:hover  .tool-card-icon        { filter: none; }

.tool-card--anchor:hover .tool-card-arrow,
.tool-card--pulse:hover  .tool-card-arrow       { border-color: #111; background: #111; }

.tool-card--anchor:hover .tool-card-arrow i,
.tool-card--pulse:hover  .tool-card-arrow i     { color: #fff; }

.tool-card--anchor:hover .tool-card-number,
.tool-card--pulse:hover  .tool-card-number      { color: rgba(0,0,0,0.07); }

.tool-card:hover .tool-card-bg {
    transform: translateY(0);
}

.tool-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-card-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.tool-card:hover .tool-card-icon {
    filter: brightness(0) invert(1);
}

.tool-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-card-text strong {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.4px;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-card-text strong {
    color: #fff;
}

.tool-card-text span {
    font-size: 13.5px;
    color: #777;
    line-height: 1.55;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-card-text span {
    color: rgba(255,255,255,0.6);
}

/* Arrow circle */
.tool-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.tool-card-arrow i {
    font-size: 13px;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tool-card:hover .tool-card-arrow {
    border-color: #ffffff;
    background: #ffffff;
}

.tool-card:hover .tool-card-arrow i {
    color: #111;
    transform: translateX(2px);
}

/* Ghost number in corner */
.tool-card-number {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
    line-height: 1;
    z-index: 1;
    letter-spacing: -2px;
    transition: color 0.3s ease;
    pointer-events: none;
}

.tool-card:hover .tool-card-number {
    color: rgba(255,255,255,0.06);
}

/* Mobile */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .home-hero-sub {
    text-align: center;
}
}


/* ================= FEATURED VERSE ================= */
.featured-verse {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.verse-container {
    max-width: 800px;
    margin: auto;
}

.verse-text {
    font-size: 26px;
    font-style: italic;
    line-height: 1.6;
    color: #333;
    margin-bottom: 16px;
    font-weight: 400;
}

.verse-reference {
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
}

/* ================= STORY + FOUNDERS ================= */
.story-founders {
    background: #111;
}

/* ---- Story row ---- */
.sf-story {
    padding: 90px 40px 80px;
    border-bottom: none;
}

.sf-story-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;

}

.sf-story-label-block {
    padding-top: 4px;
}

.story-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

.story-heading {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
}



.story-body {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.story-body:last-child {
    margin-bottom: 0;
}

/* ---- Divider ---- */
.sf-divider {
    padding: 0 40px;
}

.sf-divider-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sf-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255,189,89,0.3);
}

.sf-divider-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Founders strip ---- */
.sf-founders {
    padding: 60px 40px 90px;
}

.sf-founders-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;

    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Founder card — horizontal: photo left, text right */
.founder-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    border-color: rgba(255,189,89,0.25);
}

.founder-card > img {
    width: 130px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Glass panel — right side */
.founder-glass {
    flex: 1;
    padding: 24px 24px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255,255,255,0.08);
}

.founder-glass h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.founder-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cred-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.85;
}

.cred-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cred-school {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.2;
}

.cred-degree {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    line-height: 1.3;
}

.cred-degree em {
    color: rgba(255,189,89,0.6);
    font-style: italic;
}

/* Kept for any legacy references */
.founders-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
    .sf-story-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sf-founders-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .founder-card > img {
        width: 110px;
    }
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
    .sf-story {
        padding: 60px 24px 50px;
    }

    .sf-divider {
        padding: 0 24px;
    }

    .sf-founders {
        padding: 40px 24px 70px;
    }

    .story-body {
        font-size: 14px;
        text-align: left;
    }

    .founder-card {
        flex-direction: column;
    }

    .founder-card > img {
            max-width: 480px;
    width: 100%;
        height: 200px;
        object-position: top center;
    }

    .founder-glass {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.08);
        padding: 20px;
    }
}

/* ================= VALUES ================= */
#values {
    max-width: 1200px;
    margin: auto;
    padding: 100px 20px;
}

#values h2 {
    margin-bottom: 60px;
}

.values {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    overflow: hidden;
}

.value-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
    cursor: default;
    background: #fafafa;
    transition: background 0.3s ease;
    min-height: 180px;
    text-align: center;
}

.value-row:last-child {
    border-bottom: none;
}

/* Animated background fill */
.value-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #111;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.value-row:hover::before {
    transform: translateX(0);
}

/* Hide number */
.value-num {
    display: none;
}

/* Left wrapper no longer needed structurally but kept for HTML compat */
.value-row-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-row .value-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease, transform 0.4s ease;
    flex-shrink: 0;
}

.value-row:hover .value-icon {
    background: #ffffff;
    transform: scale(0.85);
}

.value-row .value-icon i {
    font-size: 36px;
    color: #111;
    transition: color 0.4s ease;
}

.value-row-main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.value-row-main h4 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 0;
    transition: color 0.4s ease;
}

.value-row:hover .value-row-main h4 {
    color: #fff;
}

.value-verse {
    font-size: 14px;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.45s ease 0.1s, opacity 0.4s ease 0.1s, margin-top 0.4s ease 0.1s;
}

.value-row:hover .value-verse {
    max-height: 500px;
    opacity: 1;
    margin-top: 14px;
}

/* Vertical line between sections for desktop */
.value-row-line {
    display: none;
}

@media (min-width: 769px) {
    .values {
        flex-direction: row;
    }

    .value-row {
        flex: 1;
        border-bottom: none;
        border-right: 1px solid #e8e8e8;
        padding: 80px 32px;
    }

    .value-row:last-child {
        border-right: none;
        border-left: none;
    }

    .value-row:nth-child(2) {
        border-left: 1px solid #e8e8e8;
        border-right: 1px solid #e8e8e8;
    }
}

@media (max-width: 768px) {
    #values {
        padding: 70px 20px;
    }

    .value-row {
        padding: 50px 24px;
    }

    .value-row:hover .value-verse {
        max-height: 500px;
    }
}


/* ================= CTA ================= */
.cta-section {
    padding: 100px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.cta-inner {
    max-width: 580px;
    margin: auto;
    text-align: center;
}

.cta-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffbd59;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-heading {
    font-size: 34px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 36px;
}

.cta-form {
    display: flex;
    border: 1.5px solid #111;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.cta-form input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 15px;
    color: #111;
    background: #fff;
    font-family: inherit;
}

.cta-form input[type="email"]::placeholder {
    color: #bbb;
}

.cta-form button {
    border: none;
    background: #111;
    color: #fff;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.cta-form button:hover {
    background: #ffbd59;
    color: #111;
}

.cta-note {
    font-size: 12px;
    color: #bbb;
}


/* ================= FOOTER ================= */
footer {
    background: #474747;
    padding: 60px 20px;
    color: rgba(255,255,255,0.9);
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    padding-right: 35px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 14px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.social-icons a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .home-hero {
        min-height: 100svh;
        padding: 60px 24px;
    }

    .home-hero-inner {
        flex-direction: column;
        gap: 36px;
        align-items: center;
        text-align: center;
    }

    .hero-video-wrap {
        width: min(80vw, 320px);
    }

    .hero-text {
        max-width: 100%;
    }

    .home-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .menu {
        gap: 24px;
    }

    .founders {
        gap: 40px;
    }

    .founder-card {
        width: 260px;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form input[type="email"] {
        border-bottom: 1.5px solid #111;
    }

    .cta-form button {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
    }
}


/* ================= SECTION DIVIDERS ================= */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 40px;
    position: relative;
    height: 60px;
    background: #fff;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #4d4d4d);
}

.divider-line:last-child {
    background: linear-gradient(to left, transparent, #464646);
}

.divider-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #535353;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulseDown 2s ease-in-out infinite;
}

.divider-arrow i {
    font-size: 11px;
    color: #3d3d3d;
}

@keyframes pulseDown {
    0%, 100% { transform: translateY(0);   opacity: 1; }
    50%       { transform: translateY(4px); opacity: 0.5; }
}

/* Match divider bg to surrounding sections */
.section-divider.dark {
    background: #111;
}

.section-divider.dark .divider-line {
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1));
}

.section-divider.dark .divider-line:last-child {
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.1));
}

.section-divider.dark .divider-arrow {
    border-color: rgba(255,255,255,0.12);
}

.section-divider.dark .divider-arrow i {
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
    .section-divider {
        padding: 0 24px;
        height: 50px;
    }
}

/* ================= SECTION HEADINGS ================= */
.section-heading {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 56px;
}

.section-heading h2 {
    text-align: left;
    margin-bottom: 0;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #111;
    white-space: nowrap;
}

.section-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #bbb;
    font-weight: 600;
    white-space: nowrap;
}

.section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e8e8;
    display: block;
    min-width: 40px;
}

@media (max-width: 600px) {
    .section-heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        margin-bottom: 40px;
    }

    .section-eyebrow {
        order: -1;
    }

    .section-heading h2 {
        font-size: 38px;
        letter-spacing: -1.5px;
        white-space: normal;
        text-align: center;
    }

    .section-heading::after {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        margin-left: 0;
        padding: 22px 5px;
        font-size: 14px;
    }

    .menu {
        gap: 24px;          /* tighter gap on phones */
        justify-content: center;
    }

    /* Hide dropdown text labels if still too cramped */
    .dropdown-content {
        left: 50%;
        transform: translateX(-50%);  /* centre dropdown under trigger */
    }
}

/* ── Church Logo Carousel ── */
.church-logos-section {
  background: #ffffff;
  padding: 70px 40px;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.church-logos-header {
  text-align: center;
  margin-bottom: 40px;
}
.church-logos-header .section-eyebrow {
  color: #48e080;
}
.church-logos-header h2 {
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 800;
  color: #111111;
  margin-top: 8px;
  letter-spacing: -0.5px;
}
.logo-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.logo-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 16px 22px;
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.logo-item:hover {
  background: rgba(72,224,128,0.08);
  border-color: rgba(72,224,128,0.35);
}
.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.logo-item:hover img { opacity: 1; }

.chruch-logo-small-text{
    font-size: 1.5rem;
    font-weight: 600;
    color: #272727;
}

  @media (max-width: 600px) {
    .chruch-logo-small-text {
      font-size: 1.0rem; /* smaller on phones */
    }
  }