/* ============================================================
   INTERNSYNC WEB LANDING PAGE
   Adapted from the supplied mobile landing responsive + branding CSS.
   Scope: body#landingScreen only. No authentication/API changes.
============================================================ */

#landingScreen,
#landingScreen *,
#landingScreen *::before,
#landingScreen *::after {
    box-sizing: border-box;
}

#landingScreen {
    --landing-content-width: 1440px;
    --landing-gutter: clamp(14px, 3.5vw, 56px);
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    overflow-x: clip;
    font-family: "Segoe UI", Arial, sans-serif;
}

#landingScreen img {
    display: block;
    max-width: 100%;
}

#landingScreen section[id] {
    scroll-margin-top: 20px;
}

/* ----------------------------- NAVIGATION ----------------------------- */

#landingScreen .navbar {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    width: 100%;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    z-index: 1000;
}

#landingScreen .nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.8vw, 24px) !important;
    width: min(calc(100% - (2 * var(--landing-gutter))), var(--landing-content-width)) !important;
    max-width: var(--landing-content-width) !important;
    min-width: 0;
    min-height: clamp(62px, 6vw, 82px) !important;
    height: auto !important;
    padding: 8px 0 !important;
    margin-inline: auto !important;
}

#landingScreen .brand {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: min(58%, 680px) !important;
    gap: clamp(8px, 1vw, 13px) !important;
    color: #182436;
    text-decoration: none;
}

#landingScreen .brand-logo {
    flex: 0 0 clamp(36px, 4vw, 54px) !important;
    width: clamp(36px, 4vw, 54px) !important;
    height: clamp(36px, 4vw, 54px) !important;
    margin: 0 !important;
    object-fit: contain;
}

#landingScreen .brand-text {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

#landingScreen .brand-text h2 {
    margin: 0 !important;
    color: #182436 !important;
    font-size: clamp(10px, 1vw, 15px) !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    letter-spacing: clamp(0px, .04vw, .35px) !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

#landingScreen .brand-text span {
    display: none !important;
}

#landingScreen .mobile-menu-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 11px;
    background: #f5f5f6;
    color: #970d20;
    font-size: 19px;
    cursor: pointer;
}

#landingScreen .nav-links {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: clamp(10px, 1.5vw, 24px) !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

#landingScreen .nav-links a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    height: auto !important;
    padding: 8px 2px;
    color: #263241;
    font-size: clamp(12px, .95vw, 15px) !important;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

#landingScreen .nav-links a.active::after {
    bottom: 0;
}

/* ----------------------------- HERO ----------------------------- */

#landingScreen .hero {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto !important;
    min-height: clamp(440px, 48vw, 620px) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-image: url("../images/school-building.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

#landingScreen .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(72, 0, 0, .94) 0%,
        rgba(105, 0, 8, .84) 36%,
        rgba(80, 0, 0, .38) 72%,
        rgba(0, 0, 0, .10) 100%
    );
}

#landingScreen .hero-container {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(22px, 4vw, 60px) !important;
    width: 100% !important;
    max-width: var(--landing-content-width) !important;
    min-width: 0;
    min-height: clamp(440px, 48vw, 620px) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: clamp(36px, 5vw, 72px) var(--landing-gutter) !important;
}

#landingScreen .hero-content {
    flex: 1 1 680px;
    width: 100%;
    max-width: 760px !important;
    min-width: 0;
    color: #fff;
}

#landingScreen .hero-heading.internsync-hero-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100%;
    min-width: 0;
    margin: 0 0 clamp(16px, 2vw, 23px) !important;
    padding: 0 !important;
}

#landingScreen .internsync-hero-brand {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(10px, 1.5vw, 18px) !important;
    width: 100%;
    max-width: 760px;
    min-width: 0;
    text-align: left;
}

#landingScreen .internsync-hero-logo {
    display: block !important;
    flex: 0 0 clamp(60px, 7vw, 100px) !important;
    width: clamp(60px, 7vw, 100px) !important;
    min-width: clamp(60px, 7vw, 100px) !important;
    max-width: clamp(60px, 7vw, 100px) !important;
    height: clamp(60px, 7vw, 100px) !important;
    margin: 0 !important;
    padding: 3px;
    object-fit: contain;
    border: 1.5px solid rgba(255,255,255,.75);
    border-radius: clamp(14px, 1.6vw, 22px);
    background: rgba(255,255,255,.12);
    box-shadow: 0 7px 20px rgba(0,0,0,.16);
}

#landingScreen .internsync-hero-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: clamp(3px, .6vw, 7px) !important;
    width: auto;
    min-width: 0;
    text-align: left;
}

#landingScreen .internsync-hero-content .internsync-hero-name {
    display: block !important;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(27px, 4vw, 52px) !important;
    font-weight: 800;
    line-height: 1.12 !important;
    letter-spacing: clamp(-1px, -.08vw, -.3px) !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

#landingScreen .internsync-hero-name .internsync-intern,
#landingScreen .internsync-hero-name .internsync-sync {
    display: inline !important;
    white-space: nowrap !important;
}

#landingScreen .internsync-hero-name .internsync-intern {
    color: #fff;
}

#landingScreen .internsync-hero-name .internsync-sync {
    color: #ff9ba8;
}

#landingScreen .internsync-hero-content .internsync-hero-subtitle {
    display: block;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff0f0;
    font-size: clamp(8px, .85vw, 11px) !important;
    font-weight: 700;
    letter-spacing: clamp(.2px, .12vw, 1px) !important;
    line-height: 1.45;
    text-align: left;
}

#landingScreen .hero-tagline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px !important;
    color: #fff;
    font-size: clamp(15px, 1.5vw, 19px) !important;
    line-height: 1.5;
}

#landingScreen .hero-tagline span {
    margin: 0 4px;
}

#landingScreen .hero-description {
    width: 100%;
    max-width: 610px !important;
    margin: 0 !important;
    color: #fff;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.7 !important;
}

#landingScreen .hero-buttons {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 12px !important;
    width: 100%;
    margin: clamp(18px, 2vw, 26px) 0 0 !important;
}

#landingScreen .hero-buttons a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    width: auto;
    min-width: min(155px, 100%);
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 22px;
    border-radius: 26px;
    font-size: clamp(13px, .95vw, 15px) !important;
    line-height: 1.3;
    text-align: center;
}

/* -------------------------- CONTENT SECTIONS -------------------------- */

#landingScreen .why-section,
#landingScreen .how-section,
#landingScreen .about-section,
#landingScreen .contact-section {
    width: 100%;
    min-width: 0;
    padding-inline: var(--landing-gutter) !important;
}

#landingScreen .why-section {
    padding-top: clamp(38px, 4.5vw, 62px) !important;
    padding-bottom: clamp(38px, 4.5vw, 62px) !important;
}

#landingScreen .section-heading {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

#landingScreen .section-label {
    font-size: clamp(10px, .9vw, 13px) !important;
    line-height: 1.45;
    letter-spacing: clamp(1px, .18vw, 2.5px);
}

#landingScreen .section-heading h2,
#landingScreen .how-heading h2,
#landingScreen .about-container h2,
#landingScreen .contact-container h2 {
    font-size: clamp(21px, 2.2vw, 30px) !important;
    line-height: 1.25 !important;
    overflow-wrap: normal;
    word-break: normal;
}

#landingScreen .section-heading p,
#landingScreen .about-container p,
#landingScreen .contact-container p {
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.65 !important;
}

#landingScreen .features-container {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0;
    width: 100%;
    max-width: 1320px;
    min-width: 0;
    margin: clamp(25px, 3vw, 38px) auto 0 !important;
}

#landingScreen .feature-card {
    min-width: 0;
    min-height: 160px;
    padding: 8px clamp(10px, 1.5vw, 22px) 12px !important;
    border-right: 1px solid #e2e2e2;
    border-bottom: 0;
    text-align: center;
}

#landingScreen .feature-card:last-child {
    border-right: 0;
}

#landingScreen .feature-icon {
    display: grid;
    place-items: center;
    width: clamp(48px, 4.5vw, 62px);
    height: clamp(48px, 4.5vw, 62px);
    margin: 0 auto;
    font-size: clamp(19px, 1.7vw, 24px);
}

#landingScreen .feature-card h3 {
    margin-top: 12px !important;
    font-size: clamp(14px, 1.15vw, 17px) !important;
    line-height: 1.3;
}

#landingScreen .feature-card p {
    max-width: 240px;
    margin: 7px auto 0 !important;
    font-size: clamp(12px, .9vw, 14px) !important;
    line-height: 1.55 !important;
}

#landingScreen .how-section {
    padding-top: clamp(34px, 3.5vw, 48px) !important;
    padding-bottom: clamp(38px, 4vw, 54px) !important;
}

#landingScreen .how-container {
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    margin-inline: auto;
}

#landingScreen .steps-container {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.4vw, 20px) !important;
    width: 100%;
    min-width: 0;
    margin: clamp(24px, 3vw, 34px) auto 0 !important;
}

#landingScreen .step-card {
    display: block;
    flex: 1 1 0;
    width: auto;
    max-width: 250px;
    min-width: 0;
    color: #fff;
    text-align: left;
}

#landingScreen .step-top {
    display: flex;
    align-items: center;
    gap: 9px;
}

#landingScreen .step-number,
#landingScreen .step-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    font-size: 15px;
}

#landingScreen .step-card h3 {
    margin: 10px 0 5px !important;
    color: #fff;
    font-size: clamp(13px, 1vw, 15px) !important;
    line-height: 1.35;
}

#landingScreen .step-card p {
    max-width: 220px;
    margin: 0 !important;
    color: #f2f2f2;
    font-size: clamp(11px, .85vw, 13px) !important;
    line-height: 1.55 !important;
}

#landingScreen .step-arrow {
    flex: 0 0 auto;
    margin-top: 11px;
    font-size: 17px;
}

#landingScreen .about-section,
#landingScreen .contact-section {
    padding-top: clamp(44px, 5vw, 70px) !important;
    padding-bottom: clamp(44px, 5vw, 70px) !important;
    text-align: center;
}

#landingScreen .about-container,
#landingScreen .contact-container {
    width: 100%;
    max-width: 850px;
    min-width: 0;
    margin-inline: auto;
}

#landingScreen .about-container p,
#landingScreen .contact-container p {
    margin-top: 13px !important;
}

#landingScreen footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 24px);
    width: 100%;
    min-width: 0;
    padding: 16px var(--landing-gutter) !important;
}

#landingScreen footer p {
    max-width: 100%;
    font-size: clamp(10px, .85vw, 12px) !important;
    line-height: 1.55;
    text-align: center;
}

#landingScreen .footer-line {
    flex: 0 1 100px;
    max-width: 100px;
}

/* ------------------------------ TABLETS ------------------------------ */

@media (max-width: 1100px) {
    #landingScreen .nav-container {
        width: calc(100% - (2 * clamp(12px, 2.5vw, 26px))) !important;
    }

    #landingScreen .brand {
        max-width: calc(100% - 54px) !important;
    }

    #landingScreen .mobile-menu-toggle {
        display: inline-flex !important;
    }

    #landingScreen #mainNavigation {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 2px !important;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 8px 14px 13px !important;
        border: 1px solid #eceef2;
        border-radius: 0 0 13px 13px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-7px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
        z-index: 1002;
    }

    #landingScreen #mainNavigation.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    #landingScreen #mainNavigation a {
        display: flex !important;
        align-items: center;
        width: 100%;
        min-height: 44px;
        height: auto !important;
        padding: 10px 12px !important;
        border-radius: 8px;
        white-space: normal;
        font-size: 14px !important;
    }

    #landingScreen #mainNavigation a.active::after {
        display: none;
    }

    #landingScreen #mainNavigation a.active {
        background: #fff3f4;
    }

    #landingScreen .hero-container {
        justify-content: flex-start !important;
        min-height: 480px !important;
    }

    #landingScreen .hero-content {
        max-width: 780px !important;
    }

    #landingScreen .features-container {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        row-gap: 22px;
    }

    #landingScreen .feature-card {
        min-height: 150px;
        border-right: 0;
    }

    #landingScreen .feature-card:nth-child(-n+3) {
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 20px !important;
    }

    #landingScreen .steps-container {
        flex-wrap: wrap !important;
    }

    #landingScreen .step-card {
        flex-basis: calc(50% - 18px);
    }
}

/* ------------------------------ PHONES ------------------------------ */

@media (max-width: 767px) {
    #landingScreen .nav-container {
        min-height: 62px !important;
        padding-block: 7px !important;
    }

    #landingScreen .brand-logo {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;
    }

    #landingScreen .brand-text h2 {
        font-size: clamp(9px, 2.5vw, 12px) !important;
        line-height: 1.25 !important;
    }

    #landingScreen .hero {
        min-height: 0 !important;
        background-position: 58% center;
    }

    #landingScreen .hero-overlay {
        background: linear-gradient(100deg, rgba(62,0,0,.94), rgba(72,0,0,.78));
    }

    #landingScreen .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 18px !important;
        min-height: 0 !important;
        padding: clamp(32px, 7vw, 48px) clamp(16px, 5vw, 28px) clamp(36px, 8vw, 54px) !important;
    }

    #landingScreen .hero-content {
        flex: none !important;
        width: 100%;
        max-width: 100% !important;
    }

    #landingScreen .hero-heading.internsync-hero-heading {
        align-items: center !important;
        margin-bottom: 17px !important;
    }

    #landingScreen .internsync-hero-brand {
        gap: clamp(8px, 2.5vw, 13px) !important;
    }

    #landingScreen .internsync-hero-logo {
        flex-basis: clamp(54px, 17vw, 72px) !important;
        width: clamp(54px, 17vw, 72px) !important;
        min-width: clamp(54px, 17vw, 72px) !important;
        max-width: clamp(54px, 17vw, 72px) !important;
        height: clamp(54px, 17vw, 72px) !important;
        border-radius: 15px;
    }

    #landingScreen .internsync-hero-content .internsync-hero-name {
        font-size: clamp(23px, 7.1vw, 36px) !important;
        letter-spacing: -.7px !important;
    }

    #landingScreen .internsync-hero-content .internsync-hero-subtitle {
        font-size: clamp(7px, 2.05vw, 9px) !important;
        letter-spacing: clamp(0px, .12vw, .5px) !important;
    }

    #landingScreen .hero-tagline {
        gap: 2px;
        margin-bottom: 9px !important;
        font-size: clamp(14px, 4vw, 17px) !important;
    }

    #landingScreen .hero-tagline span {
        margin-inline: 3px;
    }

    #landingScreen .hero-description {
        max-width: 100% !important;
        font-size: clamp(13px, 3.6vw, 15px) !important;
        line-height: 1.65 !important;
    }

    #landingScreen .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    #landingScreen .hero-buttons a {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px;
        flex: none !important;
    }

    #landingScreen .why-section,
    #landingScreen .how-section,
    #landingScreen .about-section,
    #landingScreen .contact-section {
        padding-inline: clamp(14px, 4vw, 22px) !important;
    }

    #landingScreen .features-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0;
    }

    #landingScreen .feature-card,
    #landingScreen .feature-card:nth-child(-n+3) {
        min-height: 150px;
        padding: 18px 10px 20px !important;
        border-right: 0;
        border-bottom: 1px solid #e2e2e2;
    }

    #landingScreen .feature-card:nth-child(odd) {
        border-right: 1px solid #e2e2e2;
    }

    #landingScreen .feature-card:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    #landingScreen .feature-card h3 {
        font-size: 14px !important;
    }

    #landingScreen .feature-card p {
        font-size: 12px !important;
    }

    #landingScreen .steps-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100%;
        max-width: 620px;
        margin-inline: auto;
    }

    #landingScreen .step-arrow {
        display: none !important;
    }

    #landingScreen .step-card {
        display: grid !important;
        grid-template-columns: 68px minmax(0, 1fr);
        grid-template-rows: auto auto;
        grid-template-areas: "marker heading" "marker description";
        align-items: center;
        column-gap: 12px;
        row-gap: 4px;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 9px 4px;
        text-align: left !important;
    }

    #landingScreen .step-top {
        grid-area: marker;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        width: 100%;
    }

    #landingScreen .step-number,
    #landingScreen .step-icon {
        flex: 0 0 30px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    #landingScreen .step-card h3 {
        grid-area: heading;
        margin: 0 !important;
        font-size: clamp(14px, 3.8vw, 16px) !important;
        text-align: left !important;
    }

    #landingScreen .step-card p {
        grid-area: description;
        max-width: none;
        margin: 0 !important;
        font-size: clamp(12px, 3.2vw, 13px) !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    #landingScreen footer {
        flex-direction: column;
        gap: 9px;
        padding-block: 17px !important;
    }

    #landingScreen .footer-line {
        flex-basis: 60px;
    }
}

@media (max-width: 520px) {
    #landingScreen .features-container {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #landingScreen .feature-card,
    #landingScreen .feature-card:nth-child(-n+3),
    #landingScreen .feature-card:nth-child(odd),
    #landingScreen .feature-card:nth-last-child(-n+2) {
        min-height: 0;
        padding: 20px 12px 22px !important;
        border-right: 0;
        border-bottom: 1px solid #e2e2e2;
    }

    #landingScreen .feature-card:last-child {
        border-bottom: 0;
    }

    #landingScreen .feature-card p {
        max-width: 310px;
    }

    #landingScreen .section-heading h2,
    #landingScreen .how-heading h2,
    #landingScreen .about-container h2,
    #landingScreen .contact-container h2 {
        font-size: clamp(20px, 5.5vw, 25px) !important;
    }
}

@media (max-width: 359px) {
    #landingScreen .nav-container {
        width: calc(100% - 18px) !important;
        gap: 7px !important;
    }

    #landingScreen .brand {
        max-width: calc(100% - 48px) !important;
        gap: 6px !important;
    }

    #landingScreen .brand-logo {
        flex-basis: 34px !important;
        width: 34px !important;
        height: 34px !important;
    }

    #landingScreen .brand-text h2 {
        font-size: 9px !important;
    }

    #landingScreen .mobile-menu-toggle {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
    }

    #landingScreen .hero-container {
        padding-inline: 13px !important;
    }

    #landingScreen .internsync-hero-brand {
        gap: 8px !important;
    }

    #landingScreen .internsync-hero-logo {
        flex-basis: 50px !important;
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
    }

    #landingScreen .internsync-hero-content .internsync-hero-name {
        font-size: 22px !important;
    }

    #landingScreen .internsync-hero-content .internsync-hero-subtitle {
        font-size: 7px !important;
    }

    #landingScreen .step-card {
        grid-template-columns: 60px minmax(0, 1fr);
        column-gap: 8px;
    }

    #landingScreen .step-number,
    #landingScreen .step-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 12px;
    }
}

@media (min-width: 1440px) {
    #landingScreen .hero-container {
        padding-inline: 72px !important;
    }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 1100px) {
    #landingScreen .hero-container {
        padding-block: 24px !important;
    }

    #landingScreen .hero {
        min-height: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #landingScreen *,
    #landingScreen *::before,
    #landingScreen *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   INTERNSYNC WEB LANDING — LARGER WEB TYPOGRAPHY + HERO POSITION
   Added after the responsive rules so these values take priority.
============================================================ */

#landingScreen {
    font-size: 16px;
}

/* Navigation and university brand */
#landingScreen .brand-text h2 {
    font-size: clamp(13px, 1.05vw, 16px) !important;
    line-height: 1.35 !important;
}

#landingScreen .nav-links a {
    font-size: clamp(14px, 1vw, 17px) !important;
    font-weight: 600;
}

/* Lift the complete InternSync hero content, not the background or navbar. */
#landingScreen .hero-content {
    transform: translateY(-28px);
}

#landingScreen .internsync-hero-content .internsync-hero-name {
    font-size: clamp(34px, 3.7vw, 58px) !important;
    line-height: 1.1 !important;
}

#landingScreen .internsync-hero-content .internsync-hero-subtitle {
    font-size: clamp(10px, .85vw, 12px) !important;
    letter-spacing: clamp(.4px, .12vw, 1.2px) !important;
}

#landingScreen .hero-tagline {
    font-size: clamp(18px, 1.35vw, 22px) !important;
    line-height: 1.5 !important;
}

#landingScreen .hero-description {
    max-width: 690px !important;
    font-size: clamp(15px, 1.05vw, 17px) !important;
    line-height: 1.75 !important;
}

#landingScreen .hero-buttons a {
    min-height: 50px;
    padding: 13px 26px;
    font-size: clamp(15px, .95vw, 16px) !important;
}

/* Main section headings and supporting copy */
#landingScreen .section-label {
    font-size: clamp(12px, .9vw, 14px) !important;
}

#landingScreen .section-heading h2,
#landingScreen .how-heading h2,
#landingScreen .about-container h2,
#landingScreen .contact-container h2 {
    font-size: clamp(27px, 2.25vw, 36px) !important;
    line-height: 1.25 !important;
}

#landingScreen .section-heading p,
#landingScreen .about-container p,
#landingScreen .contact-container p {
    font-size: clamp(15px, 1.05vw, 17px) !important;
    line-height: 1.75 !important;
}

/* Feature cards */
#landingScreen .feature-card h3 {
    font-size: clamp(16px, 1.15vw, 19px) !important;
    line-height: 1.35 !important;
}

#landingScreen .feature-card p {
    font-size: clamp(14px, .95vw, 16px) !important;
    line-height: 1.65 !important;
}

#landingScreen .feature-icon {
    font-size: clamp(21px, 1.7vw, 26px);
}

/* How-it-works steps */
#landingScreen .step-card h3 {
    font-size: clamp(15px, 1.05vw, 18px) !important;
    line-height: 1.4 !important;
}

#landingScreen .step-card p {
    font-size: clamp(13px, .9vw, 15px) !important;
    line-height: 1.65 !important;
}

#landingScreen .step-number,
#landingScreen .step-icon {
    font-size: 16px;
}

/* Footer */
#landingScreen footer p {
    font-size: clamp(12px, .9vw, 14px) !important;
}

/* Tablet: keep the hero text comfortably sized and lift it slightly. */
@media (max-width: 1100px) {
    #landingScreen .hero-content {
        transform: translateY(-18px);
    }

    #landingScreen .hero-description {
        font-size: clamp(15px, 1.6vw, 17px) !important;
    }

    #landingScreen .section-heading h2,
    #landingScreen .how-heading h2,
    #landingScreen .about-container h2,
    #landingScreen .contact-container h2 {
        font-size: clamp(25px, 3vw, 33px) !important;
    }
}

/* Phones: maintain readable larger text without overflowing narrow screens. */
@media (max-width: 767px) {
    #landingScreen .brand-text h2 {
        font-size: clamp(10px, 2.7vw, 13px) !important;
    }

    #landingScreen .hero-content {
        transform: translateY(-8px);
    }

    #landingScreen .internsync-hero-content .internsync-hero-name {
        font-size: clamp(25px, 7.4vw, 39px) !important;
    }

    #landingScreen .internsync-hero-content .internsync-hero-subtitle {
        font-size: clamp(8px, 2.2vw, 10px) !important;
    }

    #landingScreen .hero-tagline {
        font-size: clamp(16px, 4.3vw, 18px) !important;
    }

    #landingScreen .hero-description {
        font-size: clamp(14px, 3.8vw, 16px) !important;
        line-height: 1.7 !important;
    }

    #landingScreen .hero-buttons a {
        min-height: 48px;
        font-size: 15px !important;
    }

    #landingScreen .section-label {
        font-size: 12px !important;
    }

    #landingScreen .section-heading p,
    #landingScreen .about-container p,
    #landingScreen .contact-container p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    #landingScreen .feature-card h3 {
        font-size: 16px !important;
    }

    #landingScreen .feature-card p {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    #landingScreen .step-card h3 {
        font-size: 15px !important;
    }

    #landingScreen .step-card p {
        font-size: 13px !important;
    }

    #landingScreen footer p {
        font-size: 12px !important;
    }
}

@media (max-width: 520px) {
    #landingScreen .section-heading h2,
    #landingScreen .how-heading h2,
    #landingScreen .about-container h2,
    #landingScreen .contact-container h2 {
        font-size: clamp(22px, 6vw, 28px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #landingScreen .hero-content {
        transform: none;
    }
}
