*{
    margin: 0;
    padding: 0;
    border: 0px solid gray;
}

:root {
    --blue: #0074c7;
}

/* 1. Define the animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* fade animation */
body {
  animation-name: fadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

/* Define the animation */
@keyframes slideInLogo {
    0% { transform: translateX(-100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Apply the animation to the logo element */
.headerboxholder img {
    animation-name: slideInLogo;
    animation-duration: 3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
}

/* Row */
.row {
    display: flex;
    width: 100%;
}

/* Columns */
.col {
    padding: 20px;
    flex: 1;
    text-align: center;
}

/* Full width row */
.full img {
   width:70%;
}

/* FIXED HEADER */
.header-row {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Trebuchet MS';
    padding-top: .5%;

    background: transparent;
  transition: background-color 0.3s ease, border-bottom 0.3s ease;
}
.header-row.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px);
 
}
.header-bg {
  
    width: 90%;
    display: flex;  
    align-items: center;
    margin: 0 5%;
}

/* Left box */
.headerboxholder {
    display: flex;
    align-items: center;
    margin-left:20%;
}

.headerboxholder img { width:33px; }

.headerboxholder p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--blue);
    margin: 0;
}

.left { padding: 0%; }

/* Container flex */

.right {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 5%;

}

/* Flex container */
.nav.right {
    display: flex;

    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
     align-items: center;
}

/* All links */
.nav.right li a {
    text-decoration: none;
    color: var(--blue);
    font-weight: bold;
    padding: 8px 12px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav.right li a:hover {
    border-bottom: 2px solid var(--blue);
}

/* Dropdown parent */
.nav.right li.dropdown {
 
    color: white;
    
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
   
    background: #fcfdff;
    min-width: 100px;
    border: 1px solid var(--blue);
    padding: 1%;
    margin-top: 0.4%;
    list-style: none;
    z-index: 9999;
    text-align: left;
    color: white;
    border-radius: 0% 0% 7% 7%;
 
}
/* Dropdown menu links */
.dropdown-menu li a {
    display: block;       /* full width clickable */
    padding: 12px 15px;   /* spacing */
    text-decoration: none; 
    color: white;         /* always visible */
    white-space: nowrap;  /* prevent text wrapping */
    transition: 0.3s;
}

/* Hover background only */
.dropdown-menu li a:hover {
   
    color: var(--blue);          /* text remains visible */
    border-bottom: 2px solid var(--blue);
}


/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
    
    
}



/* Big logo */


.blogo  {
     height: 97vh;
 background:
  linear-gradient(135deg,
    #eaf3f8 0%,
    #c9dceb 35%,
    #9fc0da 60%
  ),
  linear-gradient(160deg,
    #739fbe 65%,
    #739fbe 100%
  );

}




.blogo .logob {
    width: 130px;
    margin-top: 7%;
}

.blogo p {
    color: var(--blue);
    font-size: 2rem;
    font-family: 'Times New Roman';
    letter-spacing: 1px;
    line-height: 33px;
    margin:0%;
}

.blogo p span {
    font-size: 1.7rem;
    font-weight: lighter;
}

.btn-holder{ padding-top: 3%; }

.enroll-btn{
    padding: 1%;
    text-decoration: none;
    font-family: system-ui;
    font-weight: bold;
    border-radius: 5px;
    letter-spacing: 3px;
    font-size: 1rem;
    transition: 0.7s;
    background: linear-gradient(315deg, #F9E731, #CFDDC4);
}

.enroll-btn:hover{
    background: linear-gradient(315deg, #a9e0e7, #f3e768);
}

/* President */
.pres{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    gap: 25px;
}

.pres img { width: 350px; }



.full {
 height: 100px;
}






/* Footer */
.footer {
 background-color: #114580;
 padding: 5% 5% 0% 5%;
 color: rgb(170, 170, 170);
 font-family: system-ui;
}

.f-header { color: yellow; font-weight: bold; }
.fbox2 { text-align: left; border-right: 0.5px solid rgb(66, 105, 163); }
.fbox3 { text-align: left; }
.f-logo { width: 400px; }

.copyright{
 margin-top: 2%;
 text-align: center;
 padding: 1% 0;
 opacity: 0.8;
 border-top: 0.8px solid rgb(33, 77, 160);
}
/* RESPONSIVE FIX — HEADER CENTERED */
@media (max-width: 900px) {
    .header-row {
        background-color:white;
  
    }

    .header-bg {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .headerboxholder {
        margin-left: 0;
        justify-content: center;
    }

    .righth {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }

    .nav.right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .headerboxholder p { display: none; }

    .headerboxholder img {
        width: 50px;
        margin-top: 10%;
    }

    .blogo img { display: none; }
    .blogo p { font-size: 1.5rem; margin-top: 7%; }

    .pres img { width: 200px; }

    .footer { font-size: 6px; }
    .fbox2 { display: none; }
    .f-logo { width: 100px; }
}

/* Extra small screens */
@media (max-width: 600px) {
    .nav.right li a {
        font-size: 0.7rem;
        padding: 4px 6px;
    }
}
