/* ============================
   HERO SECTION — DESKTOP BASE
   ============================ */

#banner.major {

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
        height: auto !important;
        min-height: auto !important;
    }

#banner.major .inner {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-right {
    flex: 1;
    color: #ffffff;
    text-align: left;
}

.hero-logo {
    max-width: 320px;
    height: auto;
}

.hero-tagline {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    opacity: 0.85;
    color: rgba(255,255,255,1);
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.35rem 0.6rem;
    position: relative;
    z-index: 5;
    }

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 0;
}

.hero-call {
    font-size: 1.35rem !important;
}

.hero-call strong {
    font-size: 1.2rem;
    color: #FF6A00;
}

.hero-instructor {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.hero-right .hero-cta {
    margin-top: 1.5rem;
    display: inline-block;
}

/* ============================
   VIDEO BACKGROUND
   ============================ */

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1 !important;
    opacity: 0.55;
}

/* ============================
   CONTACT SECTION
   ============================ */

.contact-block {
    text-align: left;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.contact-details li {
    margin-bottom: 1.4rem;
}

.contact-details .label {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.contact-details a {
    font-size: 1.15rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 2px;
}

.contact-details a:hover {
    border-bottom-color: #ffffff;
}

/* ============================
   FOOTER SECTION
   ============================ */

#footer .icons .icon:before {
    font-size: 1.6em !important;
}

#footer .copyright li,
#footer .copyright li a {
    color: rgba(255,255,255,0.65) !important;
    text-shadow: 0 0 4px rgba(255,255,255,0.25);
}

.mobile-social-bar {
    display: none;
}

/* ============================
   TILES SECTION
   ============================ */

.tiles article:nth-child(6n - 5):before { background: rgba(0,114,206,0.55) !important; }
.tiles article:nth-child(6n - 4):before { background: rgba(255,106,0,0.55) !important; }
.tiles article:nth-child(6n - 3):before { background: rgba(122,201,67,0.55) !important; }
.tiles article:nth-child(6n - 2):before { background: rgba(0,160,255,0.55) !important; }
.tiles article:nth-child(6n - 1):before { background: rgba(220,80,0,0.55) !important; }
.tiles article:nth-child(6n):before     { background: rgba(60,140,40,0.55) !important; }

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

@media screen and (orientation: portrait) and (max-width: 900px) {

    #header.alt .logo strong,
    #header.alt .logo span {
        display: none !important;
    }

    #banner.major {
        height: auto !important;
        min-height: auto !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
        position: relative;
    }

    #banner.major .inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 0.6rem !important;        /* base padding */
        padding-top: 0.2rem !important;    /* tighter top */
        padding-bottom: 0.4rem !important; /* tighter bottom */
    }

    .hero-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem !important;
        padding: 0 !important;
    }

    .hero-left,
    .hero-right {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .hero-logo {
        max-width: 240px !important;
        height: auto !important;
        margin: 0.4rem 0 !important;
    }

    .hero-tagline {
        margin: 0.4rem 0 !important;
        font-size: 1rem;
        padding: 0.35rem 0.6rem;
        border-radius: 6px;
        display: inline-block;
    }

    .hero-title {
        display: none !important;
    }

    .hero-intro {
        font-size: 1.15rem;
        margin: 0.3rem auto !important;
        max-width: 90%;
    }

    .hero-call {
        margin-top: 0.5rem !important;
        margin-bottom: 0.6rem !important;
        font-size: 1.35rem !important;
    }

    .hero-call strong a {
        font-size: 1.45rem !important;
        text-shadow: 0 0 6px rgba(255,255,255,0.25);
    }    

    .hero-cta {
        margin-top: 1.2rem !important;
    }

    .mobile-social-bar {
        position: fixed;
        bottom: -100px;
        left: 0;
        width: 100%;
        font-size: 1.6rem;
background: rgba(46,49,65,0.45);
backdrop-filter: blur(12px) saturate(180%);
border-top: 1px solid rgba(255,255,255,0.15);
        padding: 1rem 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 99999;
        transition: bottom 0.4s ease;
    }

    .mobile-social-bar.show {
        bottom: 0;
    }

    .mobile-social-bar.hide {
        bottom: -100px; /* slide off screen */
    }   

    #footer {
        padding-bottom: 4rem;
        text-align: center;
    }

    #footer .icons .icon:before {
        font-size: 1.1em !important;
    }

}


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

@media screen and (orientation: landscape) and (max-width: 900px) {

    #banner.major {
        height: auto !important;
        min-height: auto !important;
        padding: 1.5rem 0 !important;
        position: relative !important;
        z-index: 0 !important;
    }

    #hero-video {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        z-index: -1 !important;
    }

    .hero-flex {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem !important;
        padding: 0 !important;
    }

    .hero-left,
    .hero-right {
        padding: 0.5rem !important;
        text-align: center;
    }

    .hero-logo {
        max-width: 230px !important;
    }

    .hero-tagline {
        font-size: 0.90rem;
        margin-top: 0.2rem !important;
        margin-bottom: 0.2rem !important;
    }

    .hero-cta {
        margin-top: 1.2rem !important;
    }

    .mobile-social-bar {
        display: none !important;
    }
}

