/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f4f6f9;
  color: #333;
}

a {
  text-decoration: none;
  color: #003366;
  transition: color 0.3s ease;
}

a:hover {
  color: #0055aa;
}

/* Header */
header {
  background: #003366;
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  justify-content: center;
}

.navbar li a {
  color: white;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.navbar li a:hover {
  background-color: #0055aa;
}

/* Hero Section */
.hero-slider {
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  animation: fadeIn 2s ease-in-out;
}

/* Animation */
@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* Main Content */
main {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1rem;
  border-left: 5px solid #003366;
  padding-left: 0.75rem;
}

section p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Messages Section */
.messages {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.message-card {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: white;
  padding: 1.5rem;
  border-left: 5px solid #0055aa;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.message-card:hover {
  transform: scale(1.01);
}

.profile-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #003366;
}

/* Section Divider */
.section-divider {
  margin: 3rem auto;
  border: none;
  height: 2px;
  width: 60%;
  background: linear-gradient(to right, transparent, #ccc, transparent);
}

/* Programs */
.programs ul {
  list-style: square inside;
  padding-left: 1rem;
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.programs li {
  margin-bottom: 1rem;
  font-weight: 500;
  color: #003366;
}

/* Links Section */
.links a {
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .message-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .slider img {
    height: 250px;
  }

  .navbar {
    flex-direction: column;
  }
}
