    /* =========================
    GLOBAL STYLES
    ========================= */

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Arial, sans-serif;
    }

    body {
        background-color: #f4f6fb;
    }

    .footer-copyright {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 0;
        padding: 24px clamp(20px, 5vw, 96px);
        color: #a9a9a9;
        background: #202020;
        font-size: 16px;
        line-height: 1.5;
    }

    .footer-copyright p {
        margin: 0;
    }

    .footer-copyright .developer-credit {
        margin: 0;
        text-align: right;
    }

    /* =========================
    NAVBAR
    ========================= */

    .navbar {
        background: #ffffff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 20px 60px;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Portal name and logo */

    .nav-container .logo {
        display: flex;
        align-items: center;
        gap: 12px;

        font-size: 24px;
        font-weight: 700;
        color: #111827;
        text-decoration: none;

        min-width: 0;
    }

    /* Enlarged visually without changing navbar layout */

    .nav-container .portal-logo {
        display: block;
        width: 48px;
        height: 48px;
        object-fit: contain;
        flex-shrink: 0;

        transform: scale(1.35);
        transform-origin: center;
    }

    /* Navigation links */

    .nav-links {
        display: flex;
        gap: 45px;
        list-style: none;
    }

    .nav-links a {
        color: #4b5563;
        font-size: 17px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #111827;
    }


    /* =========================
    COLLEGES SECTION
    ========================= */

    .colleges {
        min-height: calc(100vh - 72px);
        padding: 40px 20px;

        background:
            linear-gradient(rgba(20, 60, 55, 0.65),
                rgba(20, 60, 55, 0.65)),
            url("../../../image/ipil.png") center / cover no-repeat fixed;
    }


    /* =========================
    CARDS CONTAINER
    ========================= */

    .cards-container {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
        gap: 25px;

        max-width: 1500px;
        margin: 0 auto;
    }


    /* =========================
    CARD LINKS
    ========================= */

    .card-link {
        display: block;
        height: 100%;

        color: inherit;
        text-decoration: none !important;
    }

    .card-link:link,
    .card-link:visited,
    .card-link:hover,
    .card-link:active,
    .card-link:focus {
        color: inherit;
        text-decoration: none !important;
    }


    /* =========================
    COLLEGE CARDS
    ========================= */

    .card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        height: 100%;
        min-height: 350px;
        padding: 35px 25px;

        background: rgba(255, 255, 255, 0.90);
        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 15px;

        text-align: center;

        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);

        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
    }

    /* Card hover effect */

    .card-link:hover .card {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }


    /* =========================
    COLLEGE LOGOS
    ========================= */

    .card-logo {
        width: 150px;
        height: 150px;
        object-fit: contain;
        margin-bottom: 25px;

        /* Helps blend white logo backgrounds into the card */
        mix-blend-mode: multiply;
    }


    /* =========================
    COLLEGE NAMES
    ========================= */

    .card h2 {
        margin: 0;

        color: #163b6d;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.35;

        text-decoration: none !important;

        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    }

    .card-link h2,
    .card-link:hover h2,
    .card-link:visited h2,
    .card-link:active h2 {
        text-decoration: none !important;
    }



    /* =========================
    SMALL DESKTOP
    ========================= */

    @media (max-width: 1200px) {
        .cards-container {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }


    /* =========================
    TABLET
    ========================= */

    @media (max-width: 900px) {
        .nav-container {
            padding: 20px 30px;
        }

        .cards-container {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .card h2 {
            font-size: 20px;
        }

        .nav-links {
            gap: 24px;
        }
    }


    /* =========================
    MOBILE
    ========================= */

    @media (max-width: 600px) {
        .nav-container {
            padding: 18px 20px;
            flex-wrap: wrap;
            gap: 12px;
        }

        .nav-container .logo {
            gap: 8px;
            font-size: 16px;
        }

        .nav-container .portal-logo {
            width: 36px;
            height: 36px;
            transform: scale(1.2);
        }

        .nav-links {
            width: 100%;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 8px 14px;
        }

        .nav-links a {
            font-size: 14px;
        }

        .cards-container {
            grid-template-columns: minmax(0, 1fr);
        }

        .card {
            min-height: 330px;
            padding: 28px 20px;
        }

        .card-logo {
            width: clamp(100px, 34vw, 150px);
            height: auto;
            aspect-ratio: 1;
        }

        .card h2 {
            overflow-wrap: anywhere;
        }

        .colleges {
            background-attachment: scroll;
        }
    }


    /* =========================
    VERY SMALL MOBILE
    ========================= */

    @media (max-width: 360px) {

        .nav-container,
        .colleges {
            padding-right: 16px;
            padding-left: 16px;
        }

        .nav-container .logo {
            font-size: 14px;
        }

        .nav-container .portal-logo {
            width: 32px;
            height: 32px;
            transform: scale(1.15);
        }
    }