/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #5bf1c4, #2a5298, #b2c8f7, #f3ea9e, #a7ece9);
    color: #333;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Header */
header {
    background: linear-gradient(to right, #002d62, #00509e);
    color: white;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .logo img {
    height: 90px;
    margin-left: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d4e1f4;
}

/* Notice Board */
.notice-board {
    background: white;
    padding: 30px;
    margin: 20px auto;
    width: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.notice-board .notice-header {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.notice-board h1 {
    color: #002d62;
    margin-top: 20px;
}

/* Event Styles */
.event {
    background: #f4f4f4;
    margin: 20px 0;
    padding: 20px;
    border-left: 5px solid #00509e;
    border-radius: 5px;
    text-align: left;
}

.event h2 {
    color: #00509e;
}

.event p {
    margin: 5px 0;
}

/* Managing Director Message */
.managing-director {
    background: #e3f2fd;
    border-left: 5px solid #002d62;
}

.md-message {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.md-photo {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.md-text {
    flex: 1;
}

/* Managing Director List */
.md-text ul {
    padding-left: 20px;
}

.md-text ul li {
    color: #333;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-vision {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .md-message {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 99%; /* Increased width to make it wider */
        margin: 0 auto; /* Centers the message */
    }

    .md-photo {
        width: 100px;
        height: 100px;
    }
}

/* Footer */
footer {
    background: #002d62;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #cce7ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.sliding-notice {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  background-color: #ff4d4d;
  color: white;
  font-weight: bold;
  padding: 10px 0;
  font-size: 18px;
  position: relative;
}

.sliding-notice span {
  display: inline-block;
  padding-left: 100%;
  animation: slide-text 15s linear infinite;
}

@keyframes slide-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.video-announcement {
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
  font-family: Arial, sans-serif;
  color: #444;
}

.video-announcement p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.video-link {
  display: inline-block;
  background-color: #fc4a4a;
  color: #000;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.video-link:hover {
  background-color: #d40d0d;
}
