<style>

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

body{
    background:#edf2f7;
    margin: 0;
    padding: 30px;
    font-family: Arial, Helvetica, sans-serif;
     color:#333;
}

/* Header */

header{
    background:#0B3D91;
    color:white;
    padding:20px;
}

header h1{
    text-align:center;
    margin-bottom:15px;
}

nav ul{
    display:flex;
    justify-content:center;
    list-style:none;
    flex-wrap:wrap;
}

nav li{
    position:relative;
}

nav a{
    display:block;
    padding:15px 22px;
    text-decoration:none;
    color:white;
    font-weight:bold;
}

nav li:hover{
    background:#F57C00;
}

nav li ul{
    display:none;
    position:absolute;
    background:#0B3D91;
    min-width:200px;
    z-index:999;
}

nav li:hover ul{
    display:block;
}

nav li ul li{
    width:100%;
}

/* Layout */

.container{
    max-width:1400px;
    margin:25px auto;
    display:grid;
    grid-template-columns:1fr 2fr 1fr;
    gap:10px;
    padding:0 20px;
}

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    margin-bottom:20px;
}

h2{
    margin-bottom:15px;
    color:#0B3D91;
}

/* Login */

input{
    width:100%;
    padding:5px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:5px;
}

button{
    background:#F57C00;
    color:white;
    padding:12px;
    border:none;
    width:100%;
    cursor:pointer;
    border-radius:5px;
    font-size:16px;
}

button:hover{
    background:#d86500;
}

/* Carousel */

.carousel{
    position:relative;
    overflow:hidden;
    border-radius:10px;
}

.carousel img{
    width:100%;
    height:400px;
    object-fit:cover;
    display:none;
}

.carousel img.active{
    display:block;
}

.controls{
    text-align:center;
    margin-top:15px;
}

.controls button{
    width:150px;
    margin:5px;
}

/* Calendar */

table{
    width:100%;
    border-collapse:collapse;
}

th{
    background:#0B3D91;
    color:white;
    padding:10px;
    text-align: left;
    font-weight: bold;
}

td{
    border:1px solid #ccc;
    height:70px;
    text-align:right;
    padding:8px;
    border-top: 1px solid #ddd;
}

tbody tr:hover {
    background: #f7f9fb;
}


.today{
    background:#F57C00;
    color:white;
    font-weight:bold;
}

/* Announcement */

.notice{
    background:#fff4e5;
    border-left:5px solid #F57C00;
    padding:15px;
    margin-top:15px;
}

footer{
    margin-top:30px;
    background:#0B3D91;
    color:white;
    padding:20px;
    text-align:center;
}
/* -----------------------------
   COLLAPSIBLE WIDGET
   ----------------------------- */

.widget {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
}

.widget-header {
    width: 100%;
    border: none;
    padding: 17px 20px;
    background:#0B3D91;
    color: white;
    cursor: pointer;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    font-size: 17px;
    font-weight: bold;
    text-align: left;
}

.widget-header:hover {
    background: #27496d;
    background: #0B3D91;
}

.widget-header .icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.widget-header.active .icon {
    transform: rotate(180deg);
}

/* -----------------------------
   COLLAPSIBLE CONTENT
   ----------------------------- */

.widget-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.widget-content.open {
    max-height: 800px;
}

.table-container {
    overflow-x: auto;
}

@media(max-width:900px){
    
    .container{
	grid-template-columns:1fr;
    }
    
    nav ul{
	flex-direction:column;
    }
    
}

</style>
