/* ============================================================
   GENETIC COUNSELING SERVICES BANNER
   ============================================================ */

.edugenome-section {
    position: relative;
    height: 750px;                      /* FIXED height — won't change on inspect/resize */
    background-image: url('../images/genetic_bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 100px 0 20px;
    overflow: hidden;
}

/* Dark overlay so left-side text is readable on any image */
.edugenome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 20, 40, 0.85) 0%,
        rgba(10, 20, 40, 0.55) 40%,
        rgba(10, 20, 40, 0.15) 70%,
        rgba(10, 20, 40, 0.05) 100%
    );
    z-index: 1;
}

.edugenome-container {
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Force the row to fill the full section height */
.edugenome-container > .row {
    height: 100%;
}

/* ============================================================
   LEFT side: 3 stacked text elements (anchored to TOP)
   ============================================================ */
.edu-left {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;          /* stick to TOP */
    padding-top: 20px;
}

.edu-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: #ffffff;
    margin: 0 0 18px;
}

.edu-subheading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 26px;
}

.edu-pill {
    display: inline-block;
    background: #00918A;
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    padding: 14px 10px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(99, 187, 70, 0.35);
    max-width: fit-content;
}

/* ============================================================
   RIGHT side: paragraph card + button (anchored to BOTTOM)
   ============================================================ */
.edu-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;            /* stick to BOTTOM */
    padding-bottom: 20px;
}

.edu-paragraph-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.edu-buttons-wrapper {
    display: flex;
    justify-content: flex-start;
}

/* Best Services — transparent outlined pill */
.edu-action-btn {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size:12px;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
}

.edu-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    /* transform: translateY(-2px); */
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
    .edugenome-section {
        height: auto;                     /* drop fixed height on tablet/mobile */
        min-height: auto;
        padding: 130px 0 50px;
        background-image:
            linear-gradient(rgba(10, 20, 40, 0.75), rgba(10, 20, 40, 0.65)),
            url('../images/edugenome_bg.png');
        background-position: center;
    }

    .edugenome-section::before {
        display: none;
    }

    .edugenome-container,
    .edugenome-container > .row {
        height: auto;
    }

    .edu-left {
        padding-top: 0;
        margin-bottom: 30px;
    }

    .edu-right {
        justify-content: flex-start;      /* on mobile, stack naturally */
        padding-bottom: 0;
    }

    .edu-paragraph-card {
        background: rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 576px) {
    .edu-eyebrow {
        font-size: 1.3rem;
    }
    .edu-subheading {
        font-size: 1.05rem;
    }
    .edu-pill {
        font-size: 14px;
        padding: 12px 20px;
    }
    .edu-paragraph-card {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    .edu-action-btn {
        font-size: 0.88rem;
        padding: 8px 22px;
    }
}
/* Active state — when button represents the current page */
.edu-action-btn.is-active {
    background: #ffffff;
    color: #1A4D88;
    border-color: #ffffff;
    font-weight: 600;
}

.edu-action-btn.is-active:hover {
    background: #f0f4ff;
    color: #1A4D88;
}
/* ============================================================
   Inline back chevron next to eyebrow heading
   ============================================================ */
.edu-eyebrow-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    vertical-align: middle;
    transition: background 0.25s ease, transform 0.15s ease;
}

.edu-eyebrow-back:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    /* transform: translateX(-3px); */
}

/* Mobile */
@media (max-width: 991px) {
    .edu-eyebrow-back {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}
/* ============================================================
   WHAT IS GENETIC COUNSELING — intro section (CENTERED)
   ============================================================ */
.gc-intro-section {
    background: #ffffff;
    padding: 50px 0;
    text-align: center;
}

/* Eyebrow row: green dash + navy heading — centered */
.gc-intro-eyebrow {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 18px;
    margin-bottom: 16px;
}

.gc-intro-dash {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: #e63946;
    border-radius: 2px;
    flex-shrink: 0;
}

.gc-intro-eyebrow-text {
    color: #00918A;
    font-weight: 700;
    font-size: 1.1rem;
    /* letter-spacing: 1.5px; */
    text-transform: uppercase;
    margin: 0;
}

/* Main heading */
.gc-intro-heading {
    color: #1f1f1f;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 22px;
    text-align: center;
}

/* Body paragraph — centered with max-width */
.gc-intro-text {
    color: #777777;
    font-size: 15px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .gc-intro-section { padding: 60px 0; }
    .gc-intro-eyebrow-text { font-size: 0.95rem; letter-spacing: 1px; }
    .gc-intro-heading { font-size: 1.5rem; }
    .gc-intro-text { font-size: 0.95rem; line-height: 1.7; }
}

@media (max-width: 480px) {
    .gc-intro-eyebrow { gap: 12px; }
    .gc-intro-dash { width: 35px; }
    .gc-intro-heading { font-size: 1.3rem; }
}