/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
  background:#f5f7fb;
}

/* ================= TOP BAR ================= */
:root{
  --topbar-height: 40px;
}

  .top-bar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--topbar-height);
  z-index: 1001;

  background: #f4c400;
}

.top-bar-container{
  max-width: 1200px;
  margin: auto;
  padding: 8px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-left, .top-right{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar span{
  display: flex;
  align-items: center;
  gap: 6px;
}
@media(max-width:768px){
  .top-bar-container{
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .top-left, .top-right{
    justify-content: center;
  }
}

/* ================= HEADER ================= */
#header{
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 60px;
  z-index: 1000;

  background: rgba(11,29,58,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);

  transition: all 0.3s ease;
}

/* SCROLL EFFECT */
#header.scrolled{
  padding:10px 60px;
  background:rgba(11,29,58,0.9);
}

/* LEFT SIDE */
.nav-left{
  display:flex;
  align-items:center;
  gap:12px;
}

/* LOGO */
.logo{
  height:60px;
  width:60px;
  border-radius:50%;
  object-fit:contain;
  background:#fff;
  padding:6px;
  border:2px solid #f4c430;
  box-shadow:0 6px 18px rgba(0,0,0,0.25);
  transition:0.3s;
}

.logo:hover{
  transform:scale(1.08);
  box-shadow:0 10px 25px rgba(244,196,48,0.4);
}

/* BRAND */
.brand{
  color:#fff;
  font-weight:700;
  font-size:18px;
}

.brand::after{
  content:"Institute";
  display:block;
  font-size:10px;
  letter-spacing:2px;
  color:#f4c430;
  text-transform:uppercase;
}

/* NAV */
#nav a{
  position:relative;
  color:#fff;
  margin:0 15px;
  text-decoration:none;
  font-weight:500;
}

/* UNDERLINE */
#nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-5px;
  width:0;
  height:2px;
  background:#f4c430;
  transition:0.3s;
}

#nav a:hover::after{
  width:100%;
}

/* BUTTON */
.btn-primary{
  background:linear-gradient(135deg,#ff4c1e,#ff7a3d);
  color:#fff;
  padding:10px 20px;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(255,76,30,0.4);
}

/* MOBILE */
.menu-toggle{
  display:none;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

@media(max-width:768px){
  #nav{
    position:absolute;
    top:70px;
    right:0;
    background:#0b1d3a;
    flex-direction:column;
    display:none;
    width:200px;
  }

  #nav a{
    display:block;
    padding:15px;
  }

  .menu-toggle{
    display:block;
  }
}

/* BODY OFFSET */
body{
  padding-top: calc(var(--topbar-height) + 80px);
}

/* ================= FOOTER ================= */

.footer{
  background:#0b1d3a;
  color:#fff;
  padding:60px 80px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
}

.footer-col h3{
  margin-bottom:15px;
  font-size:18px;
  color:#f4c430;
}

.footer-col p{
  font-size:14px;
  line-height:1.6;
  color:#ccc;
}

.footer-col ul{
  list-style:none;
  padding:0;
}

.footer-col ul li{
  margin-bottom:10px;
  font-size:14px;
  color:#ccc;
  transition:0.3s;
}

.footer-col ul li:hover{
  color:#fff;
}

.footer iframe{
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.bottom-bar{
  background:#09152b;
  text-align:center;
  padding:15px;
  color:#aaa;
  font-size:13px;
}

.brand-credit{
  color:#f4c430;
  font-weight:600;
}

@media(max-width:768px){
  .footer{
    padding:40px 20px;
    text-align:center;
  }
}
/* ================= Dropdown list ================= */
/* DROPDOWN WRAPPER */
.dropdown{
  position: relative;
  display: inline-block;
}

/* MAIN LINK */
.dropdown > a{
  cursor: pointer;
}

/* DROPDOWN MENU */
.dropdown-menu{
  position: absolute;
  top: 120%;
  left: 0;

  background: #fff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* MENU LINKS */
.dropdown-menu a{
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

/* HOVER EFFECT */
.dropdown-menu a:hover{
  background: #f5f7fb;
  color: #ff4c1e;
}

/* SHOW DROPDOWN */
.dropdown:hover .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a{
  color:#000 !important;
}

/* keep hover clean */
.dropdown-menu a:hover{
  color: #ff4c1e; /* optional highlight */
}
@media(max-width:768px){
  .dropdown-menu{
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
  }

  .dropdown-menu.show{
    display: block;
  }
}