/* Reset and base styles with modern improvements */
:root {
  --primary-color: #002b5c;
  --secondary-color: #005a9c;
  --accent-color: #003f73;
  --light-color: #f5f9ff;
  --text-color: #333;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header and Navigation - Modernized */
header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  max-width: 100px;
  height: auto;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

header h1 {
  font-size: 2em;
  font-weight: 700;
  margin-left: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar - Enhanced */
nav {
  background-color: var(--secondary-color);
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

nav li {
  margin: 0;
  position: relative;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 1rem 1.5rem;
  display: block;
  transition: var(--transition);
  font-weight: 500;
  letter-spacing: 0.5px;
}

nav a:hover {
  background-color: var(--accent-color);
}

nav a.active {
  background-color: var(--accent-color);
  font-weight: 600;
}

nav li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
  transform: translateX(-50%);
}

nav li:hover::after {
  width: 70%;
}

/* Hero Section with Slideshow - Enhanced */
.hero {
  position: relative;
  height: 85vh;
  max-height: 800px;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.mySlides {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8);
}

.slide-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  right: 10%;
  color: var(--white);
  background-color: rgba(0, 45, 92, 0.85);
  padding: 2rem;
  max-width: 600px;
  border-radius: 8px;
  backdrop-filter: blur(2px);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease forwards 0.5s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-text h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slide-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.slide-dots {
  text-align: center;
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: var(--white);
  transform: scale(1.2);
}

/* Fade animation - Smoother */
.fade {
  animation: fade 1.5s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* Main Content Sections - Modernized */
section {
  padding: 4rem 2rem;
}

.preview, .form-section, .gallery, .news {
  max-width: 1200px;
  margin: 0 auto;
}

.preview {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 3rem;
}

/* Buttons - Enhanced */
.btn {
  background-color: var(--white);
  color: var(--secondary-color);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 1.5rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover {
  background-color: #e6e6e6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn:hover::after {
  transform: translateX(0);
}

.preview .btn {
  background-color: var(--secondary-color);
  color: var(--white);
}

.preview .btn:hover {
  background-color: var(--accent-color);
}

/* Headings - More polished */
h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  color: var(--secondary-color);
}

/* Footer - Modernized */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

footer p {
  max-width: 1200px;
  margin: 0 auto;
}

/* Scroll-to-top Button - Enhanced */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 1.2rem;
  border: none;
  outline: none;
  background-color: var(--secondary-color);
  color: var(--white);
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

#backToTopBtn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  opacity: 1;
}

/* Responsive Design - Improved */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  nav a {
    padding: 1rem;
    text-align: center;
  }
  
  .hero {
    height: 70vh;
  }
  
  .slide-text {
    left: 5%;
    right: 5%;
    padding: 1.5rem;
    bottom: 15%;
  }
  
  .slide-text h2 {
    font-size: 1.8rem;
  }
  
  .slide-text p {
    font-size: 1rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .preview {
    padding: 2rem 1.5rem;
  }
}

/* Additional Modern Touches */
::selection {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}



/* Body */
body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}


/* Container */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Feedback Section */
.feedback-section h2 {
  color: #004080;
  margin-bottom: 0.5rem;
}

.intro-text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: #666;
}

.feedback-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.feedback-form button {
  margin-top: 1.5rem;
  background-color: #004080;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.feedback-form button:hover {
  background-color: #0066cc;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #004080;
  color: white;
  margin-top: 3rem;
}

/* =============================
   Global Styles & Resets
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}




/* =============================
   Contact Preview Section
============================= */
.preview {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.preview h2 {
  color: #004080;
  margin-bottom: 20px;
}

.preview h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #004080;
}

.preview p {
  margin-bottom: 15px;
}

/* =============================
   Embedded Map
============================= */
.preview iframe {
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* =============================
   Contact Form Section
============================= */
.form-section {
  max-width: 1000px;
  margin: 40px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-section h3 {
  color: #004080;
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}

form button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #003366;
}

/* =============================
   Footer Section
============================= */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}

/* =============================
   News Section Styles
============================= */
.news {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.news h2 {
  text-align: center;
  color: #004080;
  margin-bottom: 30px;
}

.news-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-item {
  border-left: 5px solid #004080;
  padding: 20px;
  background-color: #f1f5fb;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-item h3 {
  margin-bottom: 10px;
  color: #003366;
  font-size: 1.2rem;
}

.news-item p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  background-color: #004080;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.download-link:hover {
  background-color: #003366;
}

/* GALLERY SECTION */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Filter Button Styles */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  background: #f5f5f5;
  margin: 20px 0;
}

.filter-buttons button {
  padding: 10px 20px;
  border: none;
  background: #0056b3;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-buttons button:hover {
  background: #003d82;
}

.filter-buttons button.active {
  background: #002244;
  transform: scale(1.05);
}

/* Animation for filtering */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-item {
  animation: fadeIn 0.5s ease forwards;
}



/* Reset and 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: #f9f9f9;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}







/* Hero Text */
.hero-text {
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
  background: #6a8aac;
}

/* Section Containers */
.about-container {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

section {
  margin-bottom: 50px;
}

/* Mission and Vision */
.mission-section,
.vision-section {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


.vision-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.mission-image img{
  max-width: 20000px;
  border-radius: 10px;
  width: 100%;
}

.vision-image img {
  max-width: 20000px;
  border-radius: 10px;
  width: 100%;
}



.vision-text p {
  margin: 20px 0;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1e5b9e;
  color: white;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #0a3d62;
}

/* Stats */
.stats-container {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
}

.stat-number {
  font-size: 2rem;
  color: #0a3d62;
}

.stat-label {
  font-size: 0.9rem;
}

/* Values Section */
.values-section {
  text-align: center;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 30px;
}

.value-card {
  background-color: #ffffff;
  width: 180px;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.value-card i {
  font-size: 1.8rem;
  color: #1e5b9e;
  margin-bottom: 10px;
}

/* Leadership */
.staff-section {
  text-align: center;
}

.staff-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.staff-card {
  background-color: #ffffff;
  width: 220px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.staff-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.staff-bio {
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Testimonials */
.testimonial-section {
  background-color: #eef3f8;
  padding: 40px 20px;
  text-align: center;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.testimonial {
  max-width: 300px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.author {
  margin-top: 10px;
  font-weight: bold;
  font-style: normal;
}

/* Footer */
footer {
  background-color: #0a3d62;
  color: white;
  padding-top: 30px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 50px;
}

.footer-section {
  width: 250px;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 10px;
}

.footer-section p,
.footer-section li {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: white;
}

.social-icons a {
  margin-right: 10px;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffc107;
}

.footer-bottom {
  text-align: center;
  background-color: #062e4d;
  padding: 15px 0;
  font-size: 0.9rem;
}
