/* =========================================================
   BCS STUDENT PORTAL
   FULL RESPONSIVE STYLESHEET
========================================================= */


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

:root {

    --bg: #000E2B;
    --bg-2: #01153E;

    --card: #0B1C49;
    --card-2: #12285F;

    --gold: #E8CD02;
    --gold-soft: #F5DF02;

    --text: #F5F7FF;
    --muted: #B7C1E0;

    --border: rgba(232, 205, 2, 0.16);

    --shadow:
        0 18px 50px rgba(0, 0, 0, 0.28);

    --container: 1400px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    background:
        linear-gradient(
            135deg,
            var(--bg),
            var(--bg-2)
        );

    color: var(--text);

    font-family: 'Montserrat', sans-serif;
}

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

a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(0, 14, 43, 0.97);

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

    backdrop-filter: blur(12px);

    z-index: 1000;
}


/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    flex-shrink: 0;
}

.logo img {

    width: 48px;
    height: 48px;

    object-fit: contain;

    border-radius: 8px;
}

.logo h2 {

    font-family: 'Cinzel', serif;

    color: var(--gold);

    font-size: 20px;

    letter-spacing: 3px;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

#main-nav ul {

    display: flex;

    align-items: center;

    gap: 35px;

    list-style: none;
}

#main-nav a {

    display: block;

    color: var(--text);

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

#main-nav a:hover,
#main-nav a.active {

    color: var(--gold);
}


/* =========================================================
   HAMBURGER
========================================================= */

.nav-toggle {

    display: none;

    width: 44px;
    height: 44px;

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

    border-radius: 10px;

    background:
        rgba(11, 28, 73, 0.9);

    cursor: pointer;

    align-items: center;
    justify-content: center;

    position: relative;

    z-index: 1100;

    flex-shrink: 0;
}


/* Hamburger middle line */

.hamburger {

    width: 23px;
    height: 2px;

    background: var(--gold);

    display: block;

    position: relative;

    transition:
        background 0.3s ease;
}


/* Top + bottom */

.hamburger::before,
.hamburger::after {

    content: "";

    position: absolute;

    left: 0;

    width: 23px;
    height: 2px;

    background: var(--gold);

    transition:
        transform 0.3s ease,
        top 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}


/* =========================================================
   HAMBURGER → X
========================================================= */

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


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

.portal-hero {

    position: relative;

    min-height: 100vh;

    padding-top: 75px;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 80% 50%,
            rgba(232, 205, 2, 0.10),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            var(--bg),
            var(--bg-2)
        );
}

.portal-hero::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: 20%;

    background:
        radial-gradient(
            circle,
            rgba(232, 205, 2, 0.12),
            transparent 70%
        );

    filter: blur(50px);

    pointer-events: none;
}

.portal-hero-wrapper {

    min-height:
        calc(100vh - 75px);

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    gap: 70px;

    align-items: center;

    position: relative;

    z-index: 2;
}


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

.portal-hero-left {

    padding: 50px 0;
}

.hero-tag {

    display: inline-block;

    padding: 10px 22px;

    border-radius: 50px;

    border:
        1px solid rgba(
            232,
            205,
            2,
            0.35
        );

    color: var(--gold);

    background:
        rgba(232, 205, 2, 0.08);

    font-size: 11px;

    letter-spacing: 3px;

    margin-bottom: 25px;
}

.portal-hero h1 {

    font-family: 'Cinzel', serif;

    font-size: clamp(50px, 5vw, 78px);

    line-height: 1.08;

    color: white;
}

.portal-hero h1 span {

    display: block;

    color: var(--gold);

    margin-top: 5px;
}


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

.hero-description {

    max-width: 650px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.8;
}


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

.hero-benefits {

    margin-top: 35px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.hero-benefit {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border:
        1px solid rgba(
            232,
            205,
            2,
            0.10
        );

    border-radius: 16px;

    background:
        rgba(11, 28, 73, 0.45);

    transition: 0.3s ease;
}

.hero-benefit:hover {

    transform: translateY(-4px);

    border-color: var(--gold);
}

.benefit-icon {

    width: 45px;
    height: 45px;

    min-width: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--gold)
        );

    color: var(--bg);

    font-size: 17px;
}

.hero-benefit h4 {

    font-size: 14px;

    margin-bottom: 4px;
}

.hero-benefit p {

    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;
}


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

.portal-hero-right {

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 30px 0;
}

.dashboard-frame {

    width: 100%;

    max-width: 650px;

    padding: 10px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(232, 205, 2, 0.5),
            rgba(232, 205, 2, 0.05)
        );

    box-shadow:
        0 25px 80px rgba(
            0,
            0,
            0,
            0.45
        );

    transform: rotate(1deg);

    transition:
        transform 0.4s ease;
}

.dashboard-frame:hover {
    transform: rotate(0deg) translateY(-5px);
}

.dashboard-frame img {

    width: 100%;

    border-radius: 18px;

    object-fit: cover;

    background: var(--card);
}


/* =========================================================
   COMMON SECTION
========================================================= */

.portal-overview,
.portal-features {

    padding: 110px 0;
}

.section-heading {

    text-align: center;

    max-width: 900px;

    margin: 0 auto 70px;
}

.section-tag {

    display: inline-block;

    color: var(--gold);

    font-size: 11px;

    letter-spacing: 3px;

    border:
        1px solid var(--gold);

    padding: 9px 20px;

    border-radius: 30px;

    margin-bottom: 22px;

    background:
        rgba(232, 205, 2, 0.05);
}

.section-heading h2 {

    font-family: 'Cinzel', serif;

    font-size: clamp(
        35px,
        4vw,
        58px
    );

    line-height: 1.15;

    color: white;
}

.section-heading h2 span {

    color: var(--gold);
}

.section-heading p {

    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   PORTAL OVERVIEW
========================================================= */

.portal-overview {

    background:
        radial-gradient(
            circle at center,
            rgba(232, 205, 2, 0.08),
            transparent 45%
        );
}

.portal-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.portal-card {

    padding: 35px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(11, 28, 73, 0.95),
            rgba(18, 40, 95, 0.85)
        );

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

    box-shadow: var(--shadow);

    transition: 0.35s ease;
}

.portal-card:hover {

    transform: translateY(-8px);

    border-color: var(--gold);
}

.portal-card-icon {

    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--gold)
        );

    color: var(--bg);

    font-size: 23px;

    margin-bottom: 22px;
}

.portal-card h3 {

    font-family: 'Cinzel', serif;

    font-size: 24px;

    margin-bottom: 12px;
}

.portal-card p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

.portal-card ul {

    list-style: none;
}

.portal-card li {

    color: var(--text);

    font-size: 13px;

    padding: 8px 0;

    border-bottom:
        1px solid
        rgba(
            232,
            205,
            2,
            0.08
        );
}

.portal-card li:last-child {
    border-bottom: none;
}

.portal-card li::before {

    content: "✓";

    color: var(--gold);

    font-weight: 800;

    margin-right: 10px;
}


/* =========================================================
   FEATURES
========================================================= */

.portal-features {

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(1, 21, 62, 0.45)
        );
}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}

.feature-box {

    position: relative;

    padding: 18px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(11, 28, 73, 0.95),
            rgba(18, 40, 95, 0.85)
        );

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

    box-shadow: var(--shadow);

    overflow: hidden;

    transition: 0.35s ease;
}

.feature-box:hover {

    transform: translateY(-8px);

    border-color: var(--gold);

    box-shadow:
        0 25px 70px
        rgba(
            232,
            205,
            2,
            0.12
        );
}

.feature-number {

    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 3;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        var(--gold);

    color: var(--bg);

    font-size: 12px;

    font-weight: 800;
}

.feature-image {

    width: 100%;

    height: 230px;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 22px;

    background: var(--bg);
}

.feature-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.feature-box:hover
.feature-image img {

    transform: scale(1.05);
}

.feature-box h3 {

    font-family: 'Cinzel', serif;

    font-size: 21px;

    margin-bottom: 10px;
}

.feature-box p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    padding-bottom: 10px;
}


/* =========================================================
   CTA
========================================================= */

.portal-cta {

    padding: 80px 0 110px;
}

.cta-box {

    position: relative;

    min-height: 360px;

    padding: 60px;

    border-radius: 30px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

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

    box-shadow:
        0 25px 80px
        rgba(
            0,
            0,
            0,
            0.35
        );
}

.cta-image {

    position: absolute;

    inset: 0;

    z-index: 0;
}

.cta-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 14, 43, 0.96),
            rgba(0, 14, 43, 0.82),
            rgba(0, 14, 43, 0.88)
        );
}

.cta-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.7;
}

.cta-content {

    position: relative;

    z-index: 2;

    max-width: 850px;
}

.cta-content h2 {

    font-family: 'Cinzel', serif;

    font-size: clamp(
        34px,
        4vw,
        58px
    );

    line-height: 1.15;

    color: white;
}

.cta-content h2 span {

    display: block;

    color: var(--gold);
}

.cta-content p {

    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;
}

.cta-button {

    position: relative;

    z-index: 2;

    margin-top: 28px;
}


/* =========================================================
   BUTTON
========================================================= */

.gold-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 15px 30px;

    border-radius: 40px;

    background:
        linear-gradient(
            135deg,
            var(--gold-soft),
            var(--gold)
        );

    color: var(--bg);

    text-decoration: none;

    font-weight: 800;

    font-size: 14px;

    box-shadow:
        0 14px 35px
        rgba(
            232,
            205,
            2,
            0.18
        );

    transition: 0.3s ease;
}

.gold-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 18px 45px
        rgba(
            232,
            205,
            2,
            0.3
        );
}


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

@media (max-width: 1100px) {

    .portal-hero-wrapper {

        grid-template-columns: 1fr;

        gap: 20px;

        padding-top: 50px;

        padding-bottom: 70px;

        text-align: center;
    }

    .portal-hero-left {

        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero-description {
        max-width: 700px;
    }

    .hero-benefits {
        width: 100%;
        max-width: 700px;
    }

    .portal-hero-right {
        padding-top: 10px;
    }

    .dashboard-frame {
        max-width: 750px;
    }

    .portal-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


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

@media (max-width: 900px) {

    .navbar {

        height: 70px;

        padding: 0 5%;
    }


    /* SHOW HAMBURGER */

    .nav-toggle {
        display: flex;
    }


    /* MOBILE NAV */

    #main-nav {

        position: fixed;

        top: 70px;
        left: 0;

        width: 100%;

        padding: 0 5% 20px;

        background:
            linear-gradient(
                135deg,
                #000E2B,
                #01153E
            );

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

        box-shadow:
            0 20px 45px
            rgba(
                0,
                0,
                0,
                0.4
            );

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-15px);

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;

        pointer-events: none;
    }


    /* OPEN */

    #main-nav.mobile-open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

        pointer-events: auto;
    }


    #main-nav ul {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        width: 100%;
    }

    #main-nav li {

        width: 100%;

        border-bottom:
            1px solid
            rgba(
                232,
                205,
                2,
                0.08
            );
    }

    #main-nav li:last-child {
        border-bottom: none;
    }

    #main-nav a {

        width: 100%;

        padding: 17px 5px;

        font-size: 14px;
    }

    #main-nav a:hover,
    #main-nav a.active {

        color: var(--gold);

        padding-left: 12px;
    }


    /* HERO */

    .portal-hero {

        padding-top: 70px;
    }

    .portal-hero-wrapper {

        min-height: auto;

        padding-top: 60px;

        padding-bottom: 70px;
    }

    .portal-hero h1 {

        font-size:
            clamp(
                42px,
                8vw,
                62px
            );
    }

    .hero-description {

        font-size: 14px;
    }


    /* SECTIONS */

    .portal-overview,
    .portal-features {

        padding: 85px 0;
    }

    .section-heading {

        margin-bottom: 50px;
    }
}


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

@media (max-width: 600px) {

    .container {
        width: 92%;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {

        height: 68px;

        padding: 0 4%;
    }

    .logo {

        gap: 8px;
    }

    .logo img {

        width: 40px;
        height: 40px;
    }

    .logo h2 {

        font-size: 21px;

        letter-spacing: 2px;
    }

    .nav-toggle {

        width: 42px;
        height: 42px;
    }

    #main-nav {

        top: 68px;

        padding-left: 4%;
        padding-right: 4%;
    }


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

    .portal-hero {

        padding-top: 68px;

        min-height: auto;
    }

    .portal-hero-wrapper {

        padding-top: 45px;

        padding-bottom: 60px;

        gap: 35px;
    }

    .portal-hero-left {

        padding: 10px 0;
    }

    .hero-tag {

        font-size: 8px;

        letter-spacing: 2px;

        padding: 8px 14px;

        margin-bottom: 18px;
    }

    .portal-hero h1 {

        font-size: 38px;

        line-height: 1.16;
    }

    .portal-hero h1 span {

        margin-top: 4px;
    }

    .hero-description {

        margin-top: 18px;

        font-size: 12px;

        line-height: 1.8;
    }


    /* =====================================================
       BENEFITS
    ===================================================== */

    .hero-benefits {

        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 25px;
    }

    .hero-benefit {

        width: 100%;

        padding: 13px;

        text-align: left;
    }

    .benefit-icon {

        width: 42px;
        height: 42px;

        min-width: 42px;

        font-size: 16px;
    }

    .hero-benefit h4 {

        font-size: 13px;
    }

    .hero-benefit p {

        font-size: 10px;
    }


    /* =====================================================
       DASHBOARD IMAGE
    ===================================================== */

    .portal-hero-right {

        width: 100%;

        padding: 0;
    }

    .dashboard-frame {

        width: 100%;

        padding: 6px;

        border-radius: 18px;

        transform: none;
    }

    .dashboard-frame:hover {
        transform: none;
    }

    .dashboard-frame img {

        border-radius: 13px;
    }


    /* =====================================================
       SECTION HEADINGS
    ===================================================== */

    .portal-overview,
    .portal-features {

        padding: 70px 0;
    }

    .section-heading {

        margin-bottom: 42px;
    }

    .section-tag {

        font-size: 8px;

        letter-spacing: 2px;

        padding: 8px 13px;

        margin-bottom: 16px;
    }

    .section-heading h2 {

        font-size: 31px;

        line-height: 1.18;
    }

    .section-heading p {

        font-size: 13px;

        line-height: 1.7;
    }


    /* =====================================================
       OVERVIEW CARDS
    ===================================================== */

    .portal-grid {

        grid-template-columns: 1fr;

        gap: 17px;
    }

    .portal-card {

        padding: 25px 20px;

        border-radius: 19px;
    }

    .portal-card:hover {

        transform:
            translateY(-5px);
    }

    .portal-card-icon {

        width: 52px;
        height: 52px;

        font-size: 20px;

        margin-bottom: 18px;
    }

    .portal-card h3 {

        font-size: 20px;
    }

    .portal-card p {

        font-size: 12px;

        line-height: 1.65;
    }

    .portal-card li {

        font-size: 12px;
    }


    /* =====================================================
       FEATURES
    ===================================================== */

    .features-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }

    .feature-box {

        padding: 13px;

        border-radius: 20px;
    }

    .feature-number {

        top: 20px;
        left: 20px;

        width: 37px;
        height: 37px;

        font-size: 10px;
    }

    .feature-image {

        height: 205px;

        margin-bottom: 17px;

        border-radius: 14px;
    }

    .feature-box h3 {

        font-size: 18px;

        line-height: 1.3;
    }

    .feature-box p {

        font-size: 12px;

        line-height: 1.65;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .portal-cta {

        padding:
            50px 0 75px;
    }

    .cta-box {

        min-height: 420px;

        padding: 35px 20px;

        border-radius: 22px;
    }

    .cta-content h2 {

        font-size: 30px;

        line-height: 1.2;
    }

    .cta-content p {

        font-size: 13px;

        line-height: 1.7;
    }

    .gold-btn {

        width: 100%;

        max-width: 270px;

        padding: 14px 20px;

        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .logo h2 {
        font-size: 19px;
    }

    .portal-hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 11px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .feature-image {
        height: 180px;
    }

    .cta-content h2 {
        font-size: 27px;
    }
}


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

@media
(max-height: 600px)
and (max-width: 900px) {

    .portal-hero-wrapper {

        padding-top: 35px;

        padding-bottom: 45px;
    }

    .portal-hero h1 {

        font-size: 42px;
    }

    .hero-benefits {

        margin-top: 20px;
    }

    .hero-benefit {

        padding: 10px;
    }
}


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

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

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}