/* ============================================================================
   RESOURCES PAGE – modern layout (tabs, cards, inline module)
   ============================================================================ */

.resources-wrapper {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 20px 0 40px;
    /* align top spacing with Pricing page (20px top) */
    font-family: 'Inter', sans-serif;
    color: #1a2b49;
}

.resources-header {
    text-align: center;
    margin: 12px 0 16px;
    /* match .pricing-header spacing */
}

.section-divider {
    width: 100%;
    display: block;
    margin: 8px 0 12px;
    /* match Pricing */
}


.resources-logo img {
    max-height: 64px;
    height: auto;
}

.resources-title {
    margin: 0;
    /* match .pricing-title */
    font-weight: 800;
    color: #0056b3;
    letter-spacing: -0.015em;
    line-height: 1.15;
    font-size: clamp(1.15rem, 1.9vw, 1.5rem);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    /* explicit title font to match Pricing */
    font-family: 'Inter', sans-serif;
}



/* Single-headline variant after removing logo/tagline */
.resources-title--single {
    margin: 0 0 8px;
    /* remove extra top margin to mirror Pricing */
    white-space: nowrap;
    /* keep one line on md+ screens */
    overflow-wrap: normal;
    word-break: keep-all;
}

.resources-tagline {
    margin: 4px 0 0;
    color: #55607a;
    font-size: 1.05rem;
}

/* Tabs */
.resources-tabs {
    position: relative;
    display: flex;
    gap: 8px;
    background: #e6f2ff;
    border-radius: 10px;
    padding: 6px;
    width: 100%;
    margin: 18px auto 6px;
    font-family: 'Inter', sans-serif;
    /* NEW: match page font */
}

.resources-tab {
    position: relative;
    z-index: 1;
    flex: 1;
    border: none;
    background: transparent;
    color: #0056b3;
    font-family: 'Inter', sans-serif;
    /* NEW */
    font-weight: 700;
    /* was 600 */
    font-size: clamp(.95rem, 2.4vw, 1.05rem);
    /* NEW: mobile/desktop friendly */
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: color .2s ease;
}


.resources-tab.active {
    color: #fff;
}

.resources-tab:hover:not(.active) {
    color: #003f7f;
}

.resources-tab-indicator {
    position: absolute;
    top: 6px;
    height: calc(100% - 12px);
    left: 6px;
    width: 0;
    background: #0056b3;
    border-radius: 8px;
    transition: left .25s ease, width .25s ease;
    z-index: 0;
}

/* Summaries under the tab row */
.resources-summaries {
    text-align: center;
    min-height: 28px;
    margin-bottom: 10px;
}

.resources-summaries .summary-line {
    margin: 6px 0 0;
    color: #55607a;
    font-size: .98rem;
    display: none;
}

/* Panels */
.resources-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.10);
    padding: 22px;
}

.resources-panel.hidden {
    display: none;
}

.panel-title {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #0056b3;
    font-weight: 700;
}

/* Contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    border: 1px solid #d5e6ff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

.contact-card h3 {
    margin: 0 0 6px;
    color: #1a2b49;
    font-size: 1.1rem;
}

.contact-card p {
    margin: 0 0 10px;
    color: #55607a;
    font-size: .98rem;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    color: #0056b3;
    padding: 8px 12px;
    border: 2px solid #0056b3;
    border-radius: 999px;
    transition: background .25s ease, color .25s ease;
}

.contact-cta:hover {
    background: #0056b3;
    color: #fff;
}

/* Inline contact module (expands below cards) */
.contact-module {
    margin-top: 10px;
    background: linear-gradient(135deg, #e9f2fc, #d4e5f9);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 84, 166, 0.12);
}

.contact-module.hidden {
    display: none;
}

.module-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 0;
}

@media (max-width: 900px) {
    .module-inner {
        grid-template-columns: 1fr;
    }
}

.module-form {
    background: #fff;
    padding: 22px;
}

.module-form h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: #1a2b49;
}

.module-form p {
    margin: 0 0 12px;
    color: #55607a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 10px;
}

.form-row .full {
    grid-column: 1 / -1;
}

.form-field label {
    display: block;
    font-size: .92rem;
    color: #33415c;
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #0056b3;
    background: linear-gradient(145deg, #ffffff 0%, #f3f7ff 100%);
    font-size: .98rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, .12);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.btn-primary {
    border: none;
    background: #0056b3;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, transform .1s ease;
}

.btn-primary:hover {
    background: #003f7f;
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-ghost {
    border: 2px solid #0056b3;
    background: transparent;
    color: #0056b3;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.btn-ghost:hover {
    background: #0056b3;
    color: #fff;
}

.module-aside {
    padding: 22px;
    color: #0f203a;
}

.module-aside h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #0f203a;
}

.module-aside p {
    margin: 0 0 10px;
    color: #223356;
}

.aside-points {
    margin: 0;
    padding-left: 18px;
    color: #1a2b49;
}

.aside-points li {
    margin: 6px 0;
}

/* FAQ */
.faq-list details {
    background: #f7fbff;
    border: 1px solid #d5e6ff;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 10px 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: #1a2b49;
}

.faq-list p {
    margin: 8px 0 0;
    color: #42567a;
    font-size: .98rem;
}

/* Blog placeholder */
.blog-intro {
    margin: 0 0 10px;
    color: #55607a;
}

.blog-placeholder {
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    border: 1px solid #d5e6ff;
    border-radius: 12px;
    padding: 18px;
    color: #42567a;
}

/* ============================================================================
   ABOUT SECTION (mission quote, founder grid, team)
   ============================================================================ */

.about-quote {
    position: relative;
    margin: 8px 0 20px;
    padding: 18px 18px 18px 56px;
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    border: 1px solid #d5e6ff;
    border-radius: 14px;
    color: #223356;
    font-style: italic;
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.08);
}

.about-quote p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
}

.about-quote-mark {
    position: absolute;
    top: -14px;
    left: 14px;
    font-size: 56px;
    line-height: 1;
    color: #0056b3;
    opacity: 0.15;
    font-style: normal;
}

/* NEW: Closing quote mark (bottom-right) */
.about-quote::after {
    content: "”";
    position: absolute;
    right: 14px;
    bottom: -14px;
    /* mirrors the opening mark’s -14 top offset */
    font-size: 56px;
    line-height: 1;
    color: #0056b3;
    opacity: 0.15;
    font-style: normal;
    pointer-events: none;
}


.founder-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 18px;
    align-items: start;
    margin: 6px 0 18px;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .resources-title--single {
        white-space: normal;
        /* allow wrap on small screens */
        text-wrap: balance;
        /* nicer line breaks where supported */
        letter-spacing: -0.01em;
        /* slightly relaxed vs desktop */
        font-size: clamp(1.05rem, 4vw, 1.35rem);
        line-height: 1.2;
    }
}


.founder-photo {
    margin: 0;
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    border: 1px solid #d5e6ff;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.founder-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.founder-photo figcaption {
    margin-top: 8px;
    font-size: .95rem;
    color: #42567a;
}

.founder-story {
    background: #ffffff;
    border: 1px solid #d5e6ff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.06);
}

.founder-heading {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #0056b3;
    font-weight: 700;
}

.founder-story p {
    margin: 8px 0;
    color: #33415c;
    font-size: 1rem;
    line-height: 1.6;
}

.team-section {
    margin-top: 18px;
}

.team-heading {
    margin: 0 0 6px;
    font-size: 1.18rem;
    color: #0056b3;
    font-weight: 700;
}

.team-subtext {
    margin: 0 0 12px;
    color: #55607a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 14px;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    border: 1px solid #d5e6ff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.team-card .team-photo {
    width: 100%;
    height: 164px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 10px;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, .25);
    margin-bottom: 10px;
}

.team-name {
    margin: 0 0 2px;
    font-size: 1.05rem;
    color: #1a2b49;
}

.team-role {
    margin: 0 0 8px;
    color: #42567a;
    font-weight: 600;
}

.team-bio {
    margin: 0;
    color: #55607a;
    font-size: .98rem;
}