/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Header */
header {
  background-color: #004080;
  color: white;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  text-align: center;
}

header .logo img {
  width: 80px;
  height: auto;
}

header h1 {
  margin: 10px 0 5px;
  font-size: 28px;
}

header .motto {
  font-size: 14px;
  font-style: italic;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: #0066cc;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 5px;
}

/* Hero Section */
.hero {
  background: url('images/backphoto.jpg') no-repeat center center/cover;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn {
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #0066cc;
}

/* About Section */
.about {
  padding: 60px 20px;
  text-align: center;
  background-color: #e6f0ff;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

/* Highlights Section */
.highlights {
  padding: 60px 20px;
  text-align: center;
}

.highlights h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.highlight-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.highlight-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-card h3 {
  margin-bottom: 15px;
  color: #004080;
}

/* Call To Action Section */
.cta {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Footer */
footer {
  background-color: #00264d;
  color: white;
  text-align: center;
  padding: 25px 20px;
}

footer a {
  color: #66b3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #004080;
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .highlight-container {
    flex-direction: column;
    align-items: center;
  }
}


/* Gallery */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.gallery-container img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form button {
  width: 150px;
  padding: 10px;
  border: none;
  border-radius: 6px;
  background-color: #004080;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #0066cc;
}


/* About Page Background & Content */
.about {
  background: url('images/about.jpg') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
}

.about-overlay {
  background: rgba(0, 64, 128, 0.7);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: #ffdd66;
}

.about-content h3 {
  margin-top: 30px;
  color: #ffd700;
  font-size: 24px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.values-list {
  list-style: none;
  margin-top: 15px;
  padding-left: 0;
}

.values-list li {
  text-align: left;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 6px;
}

.values-list strong {
  color: #ffdd66;
}

/* Admissions Page Background & Styling */
.admissions {
  background: url('images/admin.jpg') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
}

.admissions-overlay {
  background: rgba(0, 64, 128, 0.75);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.admissions-content h2 {
  font-size: 36px;
  margin-bottom: 25px;
  color: #ffdd66;
  text-align: center;
}

.admissions-content h3 {
  margin-top: 30px;
  color: #ffd700;
  font-size: 24px;
}

.admissions-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
  text-align: justify;
}

.requirements-list,
.application-steps {
  margin: 15px 0 20px 30px;
  text-align: left;
  line-height: 1.8;
}

.requirements-list li,
.application-steps li {
  margin-bottom: 8px;
}

.requirements-list li::marker {
  color: #ffdd66;
}

.application-steps li::marker {
  color: #ffd700;
}


/* Departments Page Background & Layout */
.departments {
  background: url('images/department.jpg') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
}

.departments-overlay {
  background: rgba(0, 64, 128, 0.75);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.departments-content h2 {
  font-size: 36px;
  color: #ffdd66;
  text-align: center;
  margin-bottom: 25px;
}

.departments-content p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 40px;
}

/* Department Cards Grid */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.department-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s;
}

.department-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.department-card h3 {
  color: #ffd700;
  margin-bottom: 10px;
  font-size: 22px;
}

.department-card p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.department-card ul {
  margin-left: 20px;
  list-style: disc;
}

.department-card li {
  margin-bottom: 6px;
}

.department-card li::marker {
  color: #ffdd66;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .departments-content h2 {
    font-size: 28px;
  }

  .department-card {
    text-align: left;
  }
}

/* Gallery Page Background & Styling */
.gallery {
  background: url('images/department.jpg') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
}

.gallery-overlay {
  background: rgba(0, 64, 128, 0.7);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-content h2 {
  font-size: 36px;
  color: #ffdd66;
  text-align: center;
  margin-bottom: 20px;
}

.gallery-content p {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
}

/* Gallery Images Grid */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .gallery-content h2 {
    font-size: 28px;
  }
  
  .gallery-container img {
    height: 180px;
  }
}

/* Contact Page Background & Styling */
.contact {
  background: url('images/gallery\ 1.jpg') no-repeat center center/cover;
  position: relative;
  padding: 80px 20px;
  color: #fff;
}

.contact-overlay {
  background: rgba(0, 64, 128, 0.75);
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-content h2 {
  font-size: 36px;
  color: #ffdd66;
  text-align: center;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
}

/* Contact Details */
.contact-details {
  text-align: center;
  margin-bottom: 40px;
}

.contact-details p {
  font-size: 18px;
  margin: 8px 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form button {
  width: 200px;
  align-self: center;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #004080;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #0066cc;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content h2 {
    font-size: 28px;
  }

  .contact-form button {
    width: 100%;
  }
}
