body {
    margin: 0;
    font-family: 'Kalpurush', sans-serif;
    background: #f4f8fb;
    color: #333;
}

.header {
    background-color: #005aa7;
    color: white;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: center; /* center the whole row */
    padding: 20px;
    gap: 20px; /* space between logo and title */
}

.logo {
    height: 80px;
    flex-shrink: 0; /* prevent logo shrinking */
}

.site-title {
    text-align: left;
}


.site-title h1 {
    margin: 0;
    font-size: 26px;
}

.site-title p {
    margin: 0;
    font-size: 16px;
}

.navbar {
    background: #003c78;
    
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}

.navbar li {
    margin: 0;
    
}

.navbar a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    background: #007acc;
}

.container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.sidebar {
    width: 100%;
    max-width: 300px;
    padding: 20px;
    background: #e6f0ff;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.sidebar h2 {
    margin-top: 0;
    font-size: 20px;
}

.sidebar ul {
    padding-left: 20px;
}

.sidebar a {
    text-decoration: none;
    color: #003c78;
}

.content {
    flex: 1;
    padding: 20px;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
    margin-left: 20px;
}

.footer {
    text-align: center;
    padding: 15px;
    background: #003c78;
    color: white;
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .content {
        margin-left: 0;
        margin-top: 20px;
    }
}
.notice-bar {
    overflow: hidden;
    white-space: nowrap;
    background-color: #ffe600;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    position: relative;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.school-title {
    text-align: center;
    margin: 20px 0;
}

.school-title h1 {
    font-size: 30px;
    color: #f4f7fa;
    margin-bottom: 5px;
}

.school-title p {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f8fc;
  padding: 20px;
}

/* Main Layout */
.three-column-layout {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Common for all columns */
.column {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
}

/* Left Column */
.services {
  flex: 1;
  min-width: 250px;
}

.services h3 {
  color: #b30000;
  margin-bottom: 15px;
}

.services ul {
  list-style: none;
}

.services li {
  margin-bottom: 10px;
}

.services li a {
  text-decoration: none;
  color: #0066cc;
}

.services li a::before {
  content: "▶";
  margin-right: 8px;
  color: green;
}

/* Center Column */
.notices {
  flex: 2;
  min-width: 400px;
}

.notices h2 {
  font-size: 18px;
  margin-bottom: 15px;
}

.notice-box {
  border: 1px solid #ccc;
}

.notice-header {
  background: #00723f;
  color: #fff;
  padding: 10px;
  font-weight: bold;
}

.notice-list {
  list-style: none;
  padding: 15px;
}

.notice-list li {
  margin-bottom: 10px;
  font-size: 15px;
}

.notice-list a {
  color: #0033cc;
  text-decoration: none;
}

.notice-list span {
  color: #555;
  font-size: 13px;
  margin-left: 10px;
}

/* Right Column */
.profiles {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-card {
  border: 1px solid #0f934f;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.profile-card img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.profile-card p {
  font-size: 14px;
}

.profile-card .title {
  color: #00723f;
  font-weight: bold;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .three-column-layout {
    flex-direction: column;
  }
}
/* Example: Stack columns vertically on small screens */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
    padding: 10px;
  }
  
  .sidebar, .content {
    width: 100%;
  }
  
  nav ul {
    flex-direction: column;
  }
}


/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #005aa7;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: white;
  padding: 10px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #004080;
}

/* Show on hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Show on touch (mobile) */
@media (hover: none) {
  .dropbtn:focus + .dropdown-content,
  .dropbtn:active + .dropdown-content {
    display: block;
  }
}
