/* =========================================================
   SAT / GRE HUB
   /sat-gre-math-tutoring-online/sat-gre-hub.css
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --sg-navy: #0f172a;
    --sg-navy-soft: #1e293b;

    --sg-slate: #475569;
    --sg-muted: #64748b;

    --sg-border: #d7e2ec;

    --sg-white: #ffffff;
    --sg-surface: #f8fafc;

    --sg-teal: #0f766e;
    --sg-teal-bright: #159e9c;
    --sg-teal-soft: #ecfdf5;

    --sg-blue-soft: #eff6ff;

    --sg-shadow:
        0 12px 28px rgba(15, 23, 42, 0.08);

    --sg-shadow-hover:
        0 18px 38px rgba(15, 23, 42, 0.12);

    --sg-radius: 1rem;
}


/* =========================================================
   GLOBAL HUB TYPOGRAPHY
   ========================================================= */

.sg-hero,
.sg-section {
    font-family: "Inter", sans-serif;
}

.sg-section {
    padding: 6rem 0;
}

.sg-section h2 {
    color: var(--sg-navy);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.sg-section h3,
.sg-section h4 {
    color: var(--sg-navy);
}

.sg-section p {
    color: var(--sg-slate);
    line-height: 1.75;
}

.sg-lead {
    font-size: 1.12rem;
    line-height: 1.8;
}


/* =========================================================
   SHARED EYEBROWS
   ========================================================= */

.sg-eyebrow,
.sg-section-eyebrow,
.sg-card-label {
    margin: 0 0 0.75rem;
    color: var(--sg-teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sg-section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.sg-section-heading > p:last-child {
    margin-bottom: 0;
    font-size: 1.05rem;
}


/* =========================================================
   HERO
   ========================================================= */

.sg-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 7rem;

    background-image:
        linear-gradient(
            rgba(15, 23, 42, 0.68),
            rgba(15, 23, 42, 0.68)
        ),
        url("/assets/banner_5.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.sg-hero .container {
    position: relative;
    z-index: 2;
}

.sg-hero .sg-eyebrow {
    color: #7dd3c7;
}

.sg-hero h1 {
    max-width: 850px;
    margin-bottom: 1.4rem;

    color: var(--sg-white);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.sg-hero-lead {
    max-width: 760px;

    color: #dbe5ee;
    font-size: 1.18rem;
    line-height: 1.8;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.sg-hero-actions,
.sg-pathway-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 3rem;
    padding: 0.8rem 1.35rem;

    border: 2px solid transparent;
    border-radius: 0.7rem;

    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.sg-btn-primary {
    background: var(--sg-teal-bright);
    border-color: var(--sg-teal-bright);
    color: var(--sg-white);
}

.sg-btn-primary:hover,
.sg-btn-primary:focus {
    background: var(--sg-teal);
    border-color: var(--sg-teal);
    color: var(--sg-white);

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(15, 118, 110, 0.24);
}

.sg-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.34);
    color: var(--sg-white);
}

.sg-btn-secondary:hover,
.sg-btn-secondary:focus {
    background: var(--sg-white);
    border-color: var(--sg-white);
    color: var(--sg-navy);

    transform: translateY(-2px);
}

.sg-btn-outline {
    background: var(--sg-white);
    border-color: var(--sg-border);
    color: var(--sg-navy);
}

.sg-btn-outline:hover,
.sg-btn-outline:focus {
    background: var(--sg-teal-soft);
    border-color: var(--sg-teal-bright);
    color: var(--sg-teal);

    transform: translateY(-2px);
}


/* =========================================================
   INTRO
   ========================================================= */

.sg-intro-section {
    background: var(--sg-white);
}

.sg-intro-section h2 {
    margin-bottom: 1.4rem;
}

.sg-summary-card {
    padding: 2rem;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5fbfb 100%
        );

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow: var(--sg-shadow);
}

.sg-summary-label {
    margin-bottom: 1.25rem !important;

    color: var(--sg-teal) !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sg-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;

    padding: 1rem 0;

    border-bottom: 1px solid var(--sg-border);
}

.sg-summary-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sg-summary-item span {
    color: var(--sg-muted);
    font-size: 0.93rem;
}

.sg-summary-item strong {
    color: var(--sg-navy);
    font-size: 0.93rem;
    text-align: right;
}


/* =========================================================
   SAT / GRE PATHWAYS
   ========================================================= */

.sg-pathways-section {
    background: var(--sg-surface);
    border-top: 1px solid var(--sg-border);
    border-bottom: 1px solid var(--sg-border);
}

.sg-pathways-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.sg-pathway-card {
    display: flex;
    flex-direction: column;

    padding: 2rem;

    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow: var(--sg-shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.sg-pathway-card:hover {
    transform: translateY(-4px);

    border-color: rgba(21, 158, 156, 0.5);

    box-shadow: var(--sg-shadow-hover);
}

.sg-pathway-card-featured {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            var(--sg-teal-soft) 100%
        );

    border-color: #b9ddd9;
}

.sg-pathway-top {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.25rem;
}

.sg-pathway-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 3.4rem;
    height: 3.4rem;

    background: var(--sg-teal-soft);
    border-radius: 0.9rem;

    color: var(--sg-teal);
}

.sg-pathway-icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.sg-pathway-card h3 {
    margin: 0;

    font-size: 1.6rem;
    font-weight: 800;
}

.sg-pathway-card > p {
    margin-bottom: 1.25rem;
}

.sg-check-list {
    display: grid;
    gap: 0.7rem;

    margin: 0 0 1.8rem;
    padding: 0;

    list-style: none;
}

.sg-check-list li {
    position: relative;

    padding-left: 1.65rem;

    color: var(--sg-slate);
    line-height: 1.6;
}

.sg-check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    color: var(--sg-teal-bright);
    font-weight: 800;
}

.sg-pathway-actions {
    margin-top: auto;
}


/* =========================================================
   RESOURCES
   ========================================================= */

.sg-resources-section {
    background: var(--sg-white);
}

.sg-resource-group {
    padding-top: 0.5rem;
}

.sg-resource-group-spaced {
    margin-top: 5rem;
}

.sg-resource-group-heading {
    max-width: 720px;
    margin-bottom: 2rem;
}

.sg-resource-group-heading h3 {
    margin-bottom: 0.8rem;

    font-size: 1.8rem;
    font-weight: 800;
}

.sg-resource-group-heading > p:last-child {
    margin-bottom: 0;
}

.sg-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.sg-resource-card {
    display: flex;
    flex-direction: column;

    min-height: 100%;
    padding: 1.55rem;

    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: 0.9rem;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.055);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.sg-resource-card:hover {
    transform: translateY(-4px);

    border-color: rgba(21, 158, 156, 0.5);

    box-shadow: var(--sg-shadow);
}

.sg-resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;
    margin-bottom: 1.1rem;

    background: var(--sg-teal-soft);
    border-radius: 0.8rem;

    color: var(--sg-teal);
}

.sg-resource-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.sg-resource-card h4 {
    margin-bottom: 0.65rem;

    font-size: 1.1rem;
    font-weight: 800;
}

.sg-resource-card p {
    margin-bottom: 1.2rem;

    font-size: 0.94rem;
}

.sg-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    margin-top: auto;

    color: var(--sg-teal);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.sg-resource-link svg {
    width: 1rem;
    height: 1rem;

    transition: transform 0.2s ease;
}

.sg-resource-link:hover {
    color: var(--sg-teal-bright);
}

.sg-resource-link:hover svg {
    transform: translateX(3px);
}


/* =========================================================
   TUTORING FOCUS
   ========================================================= */

.sg-focus-section {
    background: var(--sg-surface);

    border-top: 1px solid var(--sg-border);
    border-bottom: 1px solid var(--sg-border);
}

.sg-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.sg-focus-card {
    padding: 1.7rem;

    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: 0.9rem;

    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.05);
}

.sg-focus-number {
    margin-bottom: 1rem;

    color: var(--sg-teal-bright);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.sg-focus-card h3 {
    margin-bottom: 0.65rem;

    font-size: 1.16rem;
    font-weight: 800;
}

.sg-focus-card p {
    margin-bottom: 0;

    font-size: 0.94rem;
}


/* =========================================================
   PROCESS
   ========================================================= */

.sg-process-section {
    background: var(--sg-white);
}

.sg-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.sg-process-card {
    position: relative;

    padding: 1.7rem;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfefe 100%
        );

    border: 1px solid var(--sg-border);
    border-radius: 0.9rem;
}

.sg-process-step {
    display: inline-block;

    margin-bottom: 1rem;

    color: var(--sg-teal);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sg-process-card h3 {
    margin-bottom: 0.75rem;

    font-size: 1.14rem;
    font-weight: 800;
    line-height: 1.35;
}

.sg-process-card p {
    margin-bottom: 0;

    font-size: 0.94rem;
}


/* =========================================================
   WHO THIS IS FOR
   ========================================================= */

.sg-students-section {
    background:
        linear-gradient(
            135deg,
            var(--sg-teal-soft) 0%,
            var(--sg-blue-soft) 100%
        );

    border-top: 1px solid var(--sg-border);
    border-bottom: 1px solid var(--sg-border);
}

.sg-student-list {
    display: grid;
    gap: 0.9rem;
}

.sg-student-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;

    padding: 1rem 1.1rem;

    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(215, 226, 236, 0.95);
    border-radius: 0.8rem;

    color: var(--sg-navy);
    font-weight: 600;

    box-shadow:
        0 5px 16px rgba(15, 23, 42, 0.04);
}

.sg-student-item svg {
    flex: 0 0 auto;

    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;

    color: var(--sg-teal-bright);
}


/* =========================================================
   FAQ
   ========================================================= */

.sg-faq-section {
    background: var(--sg-white);
}

.sg-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.sg-faq-card {
    padding: 1.6rem;

    background: var(--sg-surface);
    border: 1px solid var(--sg-border);
    border-radius: 0.9rem;
}

.sg-faq-card h3 {
    margin-bottom: 0.7rem;

    font-size: 1.07rem;
    font-weight: 800;
    line-height: 1.4;
}

.sg-faq-card p {
    margin-bottom: 0;

    font-size: 0.94rem;
}


/* =========================================================
   RELATED RESOURCES
   ========================================================= */

.sg-related-section {
    background: var(--sg-surface);

    border-top: 1px solid var(--sg-border);
}

.sg-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.sg-related-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    padding: 1.4rem;

    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: 0.9rem;

    color: inherit;
    text-decoration: none;

    box-shadow:
        0 5px 16px rgba(15, 23, 42, 0.045);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sg-related-card:hover {
    transform: translateY(-4px);

    border-color: rgba(21, 158, 156, 0.55);

    box-shadow: var(--sg-shadow);
}

.sg-related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 2.8rem;
    height: 2.8rem;

    background: var(--sg-teal-soft);
    border-radius: 0.75rem;

    color: var(--sg-teal);
}

.sg-related-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.sg-related-card h3 {
    margin-bottom: 0.4rem;

    font-size: 1.05rem;
    font-weight: 800;
}

.sg-related-card p {
    margin-bottom: 0;

    font-size: 0.9rem;
    line-height: 1.55;
}


/* =========================================================
   CONTACT INCLUDE WRAPPER
   ========================================================= */

.sg-contact-wrapper {
    padding: 5rem 0;

    background: var(--sg-white);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .sg-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 991.98px) {

    .sg-section {
        padding: 5rem 0;
    }

    .sg-hero {
        padding: 7rem 0 6rem;
    }

    .sg-pathways-grid {
        grid-template-columns: 1fr;
    }

    .sg-focus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .sg-section {
        padding: 4rem 0;
    }

    .sg-hero {
        padding: 5.5rem 0 5rem;
    }

    .sg-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
    }

    .sg-hero-lead {
        font-size: 1.04rem;
    }

    .sg-hero-actions,
    .sg-pathway-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sg-btn {
        width: 100%;
    }

    .sg-summary-card {
        padding: 1.5rem;
    }

    .sg-summary-item {
        flex-direction: column;
        gap: 0.35rem;
    }

    .sg-summary-item strong {
        text-align: left;
    }

    .sg-resource-grid,
    .sg-focus-grid,
    .sg-process-grid,
    .sg-faq-grid,
    .sg-related-grid {
        grid-template-columns: 1fr;
    }

    .sg-resource-group-spaced {
        margin-top: 4rem;
    }

    .sg-pathway-card {
        padding: 1.6rem;
    }

    .sg-related-card {
        padding: 1.2rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 479.98px) {

    .sg-hero {
        padding-top: 4.5rem;
        padding-bottom: 4.25rem;
    }

    .sg-section h2 {
        font-size: 1.9rem;
    }

    .sg-pathway-top {
        align-items: flex-start;
    }

    .sg-pathway-icon {
        width: 3rem;
        height: 3rem;
    }

    .sg-resource-card,
    .sg-focus-card,
    .sg-process-card,
    .sg-faq-card {
        padding: 1.35rem;
    }

    .sg-student-item {
        padding: 0.9rem;
    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .sg-btn,
    .sg-pathway-card,
    .sg-resource-card,
    .sg-resource-link svg,
    .sg-related-card {
        transition: none;
    }

    .sg-btn:hover,
    .sg-pathway-card:hover,
    .sg-resource-card:hover,
    .sg-related-card:hover {
        transform: none;
    }

}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    .sg-hero {
        background: none;
        padding: 2rem 0;
    }

    .sg-hero h1,
    .sg-hero-lead,
    .sg-hero .sg-eyebrow {
        color: #000;
    }

    .sg-hero-actions,
    .sg-pathway-actions {
        display: none;
    }

    .sg-section {
        padding: 2rem 0;
    }

    .sg-pathway-card,
    .sg-resource-card,
    .sg-focus-card,
    .sg-process-card,
    .sg-faq-card,
    .sg-related-card,
    .sg-summary-card,
    .sg-student-item {
        box-shadow: none;
        break-inside: avoid;
    }

}

.sg-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 7rem;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.50),
            rgba(0, 0, 0, 0.50)
        ),
        url("/assets/banner_5.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}