/* ==========================
   GLOBAL
========================== */

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

html{
    font-size:100%;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
}

header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1e2640;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}


.container{

    max-width:75rem;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:1.3rem 1.5rem;

    min-height : 90px;
}

.logo{

    color:white;

    font-size:2rem;

    font-weight:bold;
}

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

nav>ul{

    display:flex;

    align-items:center;

    list-style:none;

    gap:2rem;
}

nav>ul>li{

    position:relative;
}

nav a{

    color:#dc9750;

    text-decoration:none;

    font-size:1rem;

    transition:.3s;
}

nav a:hover{

    color:#38bdf8;
}

/* ==========================
   DROPDOWN
========================== */

.nav-item{

    display:flex;

    align-items:center;

    gap:.3rem;
}

.dropdown-toggle{

    display:none;
}

.dropdown{

    position:absolute;

    top:120%;

    left:0;

    display:flex;

    flex-direction:column;

    width:17rem;

    list-style:none;

    background:white;

    border-radius:.5rem;

    box-shadow:0 .5rem 1.5rem rgba(0,0,0,.15);

    overflow:hidden;

    opacity:0;

    visibility:hidden;

    transform:translateY(.8rem);

    transition:
    opacity .3s,
    transform .3s,
    visibility .3s;

    z-index:999;
}

.dropdown li{

    width:100%;
}

.dropdown li a{

    display:block;

    color:#222;

    padding:.9rem 1.2rem;

    font-size:.96rem;

    white-space:normal;

    line-height:1.4;

    transition:.3s;
}

.dropdown li a:hover{

    background:#f3f4f6;

    color:#2563eb;

    padding-left:1.6rem;
}

.has-dropdown:hover>.dropdown{

    opacity:1;

    visibility:visible;

    transform:translateY(0);
}

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

.menu-btn{

    display:none;

    color:#E91568;

    font-size:2rem;

    cursor:pointer;
}

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

@media(max-width:62em){

.menu-btn{

    display:block;
}

nav{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#1e2640;

    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;

    z-index:999;
}

nav.active{

    max-height:100vh;
}

nav>ul{

    flex-direction:column;

    align-items:stretch;

    gap:0;

    padding:1rem 0;
}

nav>ul>li>a{

    display:block;

    padding:1rem 1.3rem;
}

.nav-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 1.3rem;
}

.nav-item a{

    padding:1rem 0;
}

.dropdown-toggle{

    display:block;

    color:white;

    cursor:pointer;

    transition:.3s;
}

.dropdown{

    position:static;

    width:100%;

    background:#1e293b;

    border-radius:0;

    box-shadow:none;

    opacity:1;

    visibility:visible;

    transform:none;

    max-height:0;

    overflow:hidden;

    transition:max-height .35s ease;
}

.dropdown li a{

    color:white;

    padding:.9rem 2.5rem;

    white-space:normal;
}

.dropdown li a:hover{

    background:#334155;

    color:white;

    padding-left:3rem;
}

.has-dropdown.open>.dropdown{

    max-height:40rem;
}

.has-dropdown.open>.nav-item>.dropdown-toggle{

    transform:rotate(180deg);
}

}












/* FOOTER */


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

footer{

    background:#ffffff;

    color:#E91568;

    margin-top:5rem;
}

.footer-container{

    max-width:75rem;

    margin:auto;

    display:grid;

    grid-template-columns:
    2fr
    1fr
    1fr
    1fr;

    gap:3rem;

    padding:4rem 1.5rem;
}

/* Logo */

.footer-logo{

    font-size:2rem;

    margin-bottom:1rem;
}

.footer-logo i{

    color:#3b82f6;
}

/* Description */

.footer-column p{

    color:#4B5563;

    line-height:1.8;

    text-align:justify;
}

/* Headings */

.footer-column h3{

    margin-bottom:1rem;

    font-size:1.4rem;

    position:relative;
}

.footer-column h3::after{

    content:"";

    width:4rem;

    height:3px;

    background:#E91568;

    position:absolute;

    left:0;

    bottom:-8px;
}

/* Links */

.footer-column ul{

    list-style:none;

    margin-top:1.5rem;
}

.footer-column li{

    margin-bottom:.9rem;
}

.footer-column a{

    color:#000000;

    text-decoration:none;

    transition:.3s;
}

.footer-column a:hover{

    color:#3b82f6;

    padding-left:.4rem;
}

/* Social */

.social-icons{

    margin-top:1.5rem;

    display:flex;

    gap:.8rem;

    flex-wrap:wrap;
}

.social-icons a{

    width:2.8rem;

    height:2.8rem;

    border:2px solid white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#F5BE24;

    transition:.3s;
}

.social-icons a:hover{

    background:#3b82f6;

    border-color:#3b82f6;

    transform:translateY(-4px);
}

/* Bottom */

.footer-bottom{

    background:#1e2640;

    padding:1rem 1.5rem;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:1rem;

    color:white;
}

/* ==========================
      RESPONSIVE
========================== */

@media(max-width:75em){

.footer-container{

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

}

@media(max-width:48em){

.footer-container{

    grid-template-columns:1fr;

    text-align:center;
}

.footer-column h3::after{

    left:50%;

    transform:translateX(-50%);
}

.footer-column p{

    text-align:center;
}

.social-icons{

    justify-content:center;
}

.footer-bottom{

    flex-direction:column;

    text-align:center;
}

}





/* LOGO */

.logo img{
    height:105px;
    width:auto;
    display:block;
}

@media (max-width:768px){

    .logo img{
        height:80px;
    }

}






/* MARQUEE */

.marquee {
    width: 100%;
    overflow: hidden;
    background: #F5BE24;
    padding: 12px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 18s linear infinite;
}

.marquee-track span {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    padding-right: 60px;
}

.marquee-track a{
    color:#000;
    text-decoration:none;
    font-weight:600;
}

.marquee-track a:hover{
    color:#E91568; /* SSICS pink */
}

.marquee:hover .marquee-track{
    animation-play-state: paused;
}

@keyframes scroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

@media (max-width:768px){

    .marquee{
        padding:10px 0;
    }

    .marquee-track span{
        font-size:14px;
    }

}


/* FOR THE ACADEMICS BUTTON TO WORK AS A WHOLE BUTTON */




.nav-title{
    color:#dc9750;
    font-size:1rem;
    transition:.3s;
    user-select:none;
}

.nav-item:hover .nav-title{
    color:#38bdf8;
}

.dropdown-toggle{
    color:#dc9750;
    transition:.3s;
}

@media(max-width:62em){

    .nav-item{
        padding:1rem 1.3rem;
    }

    .dropdown-toggle{
        display:block;
    }

    .has-dropdown.open > .dropdown{
        max-height:40rem;
    }

    .has-dropdown.open > .nav-item > .dropdown-toggle{
        transform:rotate(180deg);
    }

}


/* Hide arrow by default (Desktop) */
.dropdown-toggle{
    display:none;
    color:#E91568;
    font-size:.9rem;
    transition:transform .3s ease;
}


@media (max-width:62em){

    .dropdown-toggle{
        display:block;
        cursor:pointer;
    }

    .has-dropdown.open > .nav-item > .dropdown-toggle{
        transform:rotate(180deg);
    }

}



