/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
font-family:Arial, Helvetica, sans-serif;
background:#f5f7fb;
}

/* HEADER */
.top-header{
background:#0c3c78;
color:white;
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 20px;
flex-wrap:wrap;
position:sticky;
top:0;
z-index:999;
}
.logo{
display:flex;
align-items:center;
gap:10px;
color:white;
font-weight:bold;
font-size:16px;
}
.logo img{
height:55px;
}
nav{
display:flex;
align-items:center;
}
nav a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:500;
}
nav a:hover{
text-decoration:underline;
}
.menu-toggle{
display:none;
font-size:24px;
cursor:pointer;
color:white;
}
.table-responsive{
width:100%;
overflow-x:auto;
}

@media(max-width:768px){
.table td{
display:block;
width:100%;
}
.table tr{
margin-bottom:15px;
display:block;
border:1px solid #ddd;
padding:10px;
border-radius:8px;
}
}

@media(max-width:600px){
.table thead{
display:none;
}
.table td:before{
content:attr(data-label);
font-weight:bold;
display:block;
}
}
/* HERO */
.hero{
background:#f1f4fa;
padding:60px 20px;
text-align:center;
color:#0c3c78;
}
.hero h1{
font-size:28px;
}

/* SECTION */
.about,
.events{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

/* CARD GRID */
.card-grid{
display:flex;
flex-wrap:wrap;
gap:20px;
}
.card{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
border-radius:8px;
overflow:hidden;
width:31%;
transition:0.3s;
}
.card:hover{
transform:translateY(-4px);
}
.card img{
width:100%;
height:200px;
object-fit:cover;
}

/* BUTTON */
.btn{
background:#0c3c78;
color:white;
padding:8px 18px;
text-decoration:none;
border-radius:5px;
display:inline-block;
}

/* FOOTER */
.footer{
background:#0c3c78;
color:white;
margin-top:40px;
}

.footer-container{
max-width:1200px;
margin:auto;
padding:40px 20px;
display:flex;
flex-wrap:wrap;
gap:30px;
justify-content:space-between;
}

.footer-col{
width:23%;
}

.footer-col h3{
margin-bottom:15px;
font-size:18px;
border-bottom:2px solid rgba(255,255,255,0.2);
padding-bottom:6px;
}

.footer-col p{
font-size:14px;
line-height:1.6;
margin-bottom:10px;
}

.footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:white;
text-decoration:none;
font-size:14px;
transition:0.2s;
}

.footer-col ul li a:hover{
text-decoration:underline;
padding-left:4px;
}

.social a{
display:block;
margin-bottom:6px;
color:white;
text-decoration:none;
}

.footer-bottom{
background:#082a55;
text-align:center;
padding:12px;
font-size:13px;
}

/* MOBILE */
@media(max-width:768px){
.footer-col{
width:100%;
}
.footer-container{
gap:20px;
}
}
/* PAGE BANNER */
.page-banner{
background:#0c3c78;
color:white;
text-align:center;
padding:40px 20px;
}

.page-banner h1{
margin:0;
font-size:28px;
}

.page-banner p{
margin-top:8px;
opacity:0.9;
}

/* AIMYM SECTION */
.aimym-section{
padding:40px 20px;
background:#f5f7fb;
}

.aimym-container{
display:flex;
gap:30px;
}

.aimym-content{
width:70%;
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

.aimym-content h3{
margin-top:0;
color:#0c3c78;
font-size:22px;
}

.aimym-content p{
line-height:1.7;
font-size:15px;
color:#333;
}

.aimym-menu{
width:30%;
}

.aimym-item{
background:white;
padding:15px;
margin-bottom:10px;
cursor:pointer;
border-radius:6px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
transition:0.3s;
}

.aimym-item:hover{
background:#f0f4ff;
}

.aimym-item.active{
background:#0c3c78;
color:white;
}

.aimym-box{
display:none;
}

.aimym-box.active{
display:block;
animation:fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn{
from{
opacity:0;
transform:translateY(10px);
}
to{
opacity:1;
transform:translateY(0);
}
}
.banner-aimym{
background:url('../assets/aimym-banner.jpg') no-repeat center;
background-size:cover;
height:260px;
}
/* DIRECTORY */
.directory-card{
background:white;
padding:18px;
border-radius:10px;
box-shadow:0 2px 10px rgba(0,0,0,0.08);
transition:0.3s;
}

.directory-card:hover{
transform:translateY(-4px);
box-shadow:0 6px 16px rgba(0,0,0,0.12);
}

.dir-header{
display:flex;
gap:15px;
align-items:center;
border-bottom:1px solid #eee;
padding-bottom:12px;
margin-bottom:12px;
}

/* LOGO */
.dir-logo{
width:60px;
height:60px;
object-fit:contain;
border:1px solid #eee;
border-radius:8px;
background:white;
padding:5px;
}

/* INITIAL LOGO */
.logo-placeholder{
width:60px;
height:60px;
background:#0c3c78;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:18px;
border-radius:8px;
}

/* TITLE */
.dir-header h3{
margin:0;
font-size:16px;
color:#0c3c78;
}

.tagline{
font-size:12px;
color:#777;
margin-top:3px;
}

/* BODY */
.dir-body p{
margin:4px 0;
font-size:14px;
color:#333;
}

/* MOBILE */
@media(max-width:768px){
.dir-header{
align-items:flex-start;
}

.dir-logo,
.logo-placeholder{
width:50px;
height:50px;
font-size:16px;
}
}

/* ADMIN */
.admin-wrapper{
max-width:1200px;
margin:auto;
padding:30px;
}
.dashboard-cards{
display:flex;
flex-wrap:wrap;
gap:20px;
}
.dash-card{
background:white;
padding:25px;
width:23%;
border-radius:8px;
box-shadow:0 2px 10px rgba(0,0,0,0.1);
}

/* MOBILE */
@media(max-width:768px){
.menu-toggle{display:block;}
nav{
display:none;
flex-direction:column;
width:100%;
background:#0c3c78;
}
nav.active{display:flex;}
.card{width:100%;}
.footer-col{width:100%;}
.aimym-container{flex-direction:column;}
.aimym-content,
.aimym-menu{width:100%;}
.dash-card{width:100%;}
}