

:root {
    --primary-teal: #00bcd4;
    --primary-hover: #00acc1;
    --logo-pink: #e91e63;
    --dark-navy: #1b2641;
    --footer-bg: #0d1b2a;
    --border-color: #e9ecef;
}

/* === BASE MOBILE-FIRST STYLES === */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* NAVBAR-----*/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-teal);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 600;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* --- Hero Banner --- */
.hero-banner {
    width: 100%;
    background: linear-gradient(115deg, #e91e63 15%, #00bcd4 15.1%, #00bcd4 85%, #e91e63 85.1%);
    padding: 60px 15px;
    text-align: center;
    color: white;
}
.hero-banner h2 { font-size: 1rem; font-weight: 400; letter-spacing: 2px; margin-bottom: 5px; }
.hero-banner h1 { font-size: 2rem; font-weight: 800; margin: 0; letter-spacing: 1px; }

/* --- Section Headers --- */
.section-header {
    color: var(--dark-navy);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

/* --- Portal Columns --- */
.portal-column {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.portal-header {
    background-color: var(--primary-teal);
    color: white;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
.portal-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 0.85rem;
    transition: 0.2s;
}
.portal-item:hover { background-color: #f0fbfc; color: var(--primary-teal); }
.portal-item i { width: 25px; font-size: 1rem; color: #333; }
.new-badge { color: #f1c40f; font-size: 0.7rem; font-weight: 800; display: block; margin-bottom: -4px; }
.ent-badge {
    background-color: #007bff !important;
    font-size: 0.75rem;
    padding: 4px 10px;
    margin-left: 10px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.main-logo {
    /* Adjust height to your preference; 50px-60px is standard for navbars */
    height: 55px; 
    width: auto;
    object-fit: contain;
    
    /* Enhances sharpness on high-res screens */
    image-rendering: -webkit-optimize-contrast; 
    
    /* Subtle polish */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05); /* Slight "pop" effect */
    filter: brightness(1.1);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .main-logo {
        height: 45px; /* Slightly smaller on mobile to save space */
    }
}


/* --- Footer --- */

/* FOOTER */
.footer{
background:#0a2540; /* Dark Blue */
color:#ffffff; /* White text */
padding:30px 15px;
font-family:'Poppins',sans-serif;
text-align:center;
margin-top:10px;
}

.footer-title{
color:#06bbcc; /* Light Blue titles */
font-weight:700;
font-size:18px;
margin-bottom:5px;
}

.footer-text{
font-size:13px;
line-height:1.5;
margin-bottom:3px;
color:#ffffff;
}

.footer-links{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
margin-bottom:5px;
}

.footer-links a{
color:#06bbcc; /* Light blue links */
text-decoration:none;
font-size:14px;
transition:0.3s;
}

.footer-links a:hover{
/* color:#1971c2;  */
color:#06bbcc; 
/* Darker blue hover */
text-decoration:underline;
}

.footer-social{
display:flex;
justify-content:center;
gap:8px;
margin-bottom:5px;
}

.footer-social .social-icon{
display:inline-block;
width:32px;
height:32px;
line-height:32px;
border-radius:50%;
background:linear-gradient(135deg,#06bbcc,#1971c2); /* gradient blue */
color:#ffffff; /* white icons */
font-size:16px;
transition:all 0.3s;
}

.footer-social .social-icon:hover{
transform:scale(1.2);
box-shadow:0 4px 12px rgba(0,0,0,0.3);
}

.footer-divider{
border-color:#1e3a5f; /* slightly lighter than background */
margin:15px 0 10px;
}

.footer-copy{
text-align:center;
font-size:12px;
color:#cfd8e3; /* light gray for subtle contrast */
}

/* MOBILE */
@media(max-width:576px){
     .navbar-brand img { width: 200px; height:auto }
.footer{
padding:25px 10px;
}

.footer-title{
font-size:16px;
}

.footer-text{
font-size:12px;
}

.footer-links a{
font-size:13px;
}

.footer-social .social-icon{
width:28px;
height:28px;
line-height:28px;
font-size:14px;
}
}

/* --- Scroll Top --- */
.scroll-top {
    position: fixed; bottom: 15px; right: 15px; background: #06bbcc;
    color: white; width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* === DESKTOP STYLES (≥769px) === */
@media (min-width: 769px) {

    /* Hero banner */
    .hero-banner { padding: 100px 0; }
    .hero-banner h1 { font-size: 3.8rem; }
    .hero-banner h2 { font-size: 1.4rem; }

    /* Navbar */
    .navbar-brand img { height: 50px; }
    .nav-link { padding: 25px 18px !important; font-size: 0.85rem; }
    .join-btn { padding: 25px 35px !important; }

    /* Portal columns layout */
    .portal-column { margin-bottom: 0; }
    .portal-header { font-size: 0.95rem; padding: 12px 20px; }
    .portal-item { font-size: 0.95rem; padding: 12px 20px; }

    /* Section headers */
    .section-header { font-size: 1.6rem; gap: 15px; margin: 40px 0 20px; }

    /* Footer */
    .footer-nav { flex-direction: row; gap: 15px; }
    .social-icons { gap: 15px; }
}
