/* Match Typography Across Pages */
.about-section p,
.about-section li,
.about-section h2,
.about-section h3 {
    font-family: inherit;
    color: #2a2a2a;
}

/* ABOUT PAGE WRAPPER */
.about-section {
    max-width: 100%;
    margin: 20px auto;
    padding: 0 40px;
}

/* INTRO PARAGRAPH */
.about-section p {
    font-size: 20px;
    line-height: 1.75;
    color: #2a2a2a;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* MAIN TITLE */
.about-section h2 {
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #2c3e50;
}

/* TWO-COLUMN LAYOUT */
.about-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.about-col {
    flex: 1;
    max-width: 400px;
    text-align: left;
}

/* SECTION HEADERS */
/* SECTION HEADERS (IMPROVED) */
.about-col h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2d3d;
    margin-top: 35px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e6ed;
    /* subtle divider */
    letter-spacing: 0.3px;
}


/* CLEAN LIST */
.about-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-links li {
    font-size: 19px;
    margin: 6px 0;
    color: #2b2b2b;
    font-weight: 500;
}

/* LINKS */
.about-links a {
    color: #0073e6;
    font-weight: 600;
    text-decoration: none;
}

.about-links a:hover {
    text-decoration: underline;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE STACK */
@media (max-width: 700px) {
    .about-col h3 {
        text-align: center;
        border-bottom: none;
        margin-top: 25px;
    }

    .about-columns {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .about-col {
        width: 100%;
        max-width: 350px;
        text-align: center;
    }
}

/* ============================
   INSTRUCTORS SECTION
   ============================ */
.instructors-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    text-align: center;
}

.instructors-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* GRID */
.instructor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 980px;
    margin: 0 auto;
}

/* TILE */
.instructor-tile {
    width: 210px;
    height: 210px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e6e9ef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 18px 15px;
    box-sizing: border-box;
    transition: 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORCE UNSELECTABLE (FIX) */
.instructor-tile,
.instructor-tile * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Accent bar */
.instructor-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: linear-gradient(90deg, #ff0000, #cc0000);
}

/* Hover */
.instructor-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* PHOTO */
.instructor-photo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    margin-top: 18px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* NAME */
.instructor-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 4px;
}

/* ROLE */
.instructor-role {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* Hover animation */
.team-email-trigger {
    transition: 0.2s ease;
}

.team-email-trigger:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}