/* --- Desktop Nav --- */
.main-header {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(to right, #0d47a1, #1976d2, #42a5f5);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #1976d2;
  cursor: pointer;
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem; /* keeps it compact */
  }

  /* Logo centered */
  .logo {
    margin-bottom: 5px;
  }

  /* Keep nav small & below logo */
  .main-nav {
    display: none;
    flex-direction: column;
    width: 90%;             /* not full width */
    max-width: 350px;       /* keeps it small */
    margin-top: 8px;
    text-align: center;
    border-radius: 8px;
    padding: 0.5rem;
    background: #1976d2;
  }

  .main-nav.active {
    display: flex;
    animation: slideDown 0.4s ease forwards;
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #fff;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
    margin-right: 10px;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}




/* --- Layout --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #FFD700; /* Gold text */
  font-family: 'Verdana', sans-serif;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 139, 0.6); /* Dark Blue overlay */
  z-index: 1;
}

.hero-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
}

/* --- Slider --- */
.hero-slider {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  width: calc(100% * 4); /* 3 images + duplicate */
  height: 100%;
  animation: slideLoop 30s linear infinite; /* slow continuous scroll */
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Text Content --- */
.hero-content {
  flex: 1;
  padding: 40px;
  text-align: left;
  animation: fadeSlide 2s ease forwards;
}

.hero-content h2 {
  font-family: 'Georgia', serif;
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
  color: #FFD700;
}

.hero-content p {
  font-size: 1.6em;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  color: #fffacd; /* Light gold accent */
}

/* --- Animations --- */
@keyframes slideLoop {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-300%); } /* move through all slides smoothly */
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}



/* --- About Section --- */
  /* Basic Reset/Common Styles (if not already present) */
  .section-padding {
    padding: 80px 0;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  .btn-primary {
    background-color: #00008B; /* Dark Blue */
    color: #FFD700; /* Gold */
    border: 2px solid #00008B;
  }
  .btn-primary:hover {
    background-color: #FFD700;
    color: #00008B;
    border: 2px solid #00008B;
  }

  /* About Section Specific Styles */
  .about-section {
    background-color: #f8f8f8; /* Light gray background */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMwMDAwODkiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDM0djEySDI0VjM0aDEyem0wLTEyVjEwSDI0djEyaDEyek00MiA4VjBoLTEyVjhIMzJ2MmgyVjhoOHptLTE2IDBWMEgwdjhoMTZ6bS02IDI2VjI0SDh2MTJoMTV6bTggMTBWNDJWMzJoMTJWNDRoLTJ6bTAgNlY0Mmgydi02aDJoLTJ2LTJoLTJ2NmgyeiIvPjwvZz48L2c+PC9zdmc+'); /* Subtle pattern */
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Image on left, content on right */
    gap: 60px; /* Space between columns */
    align-items: center;
  }

  .about-image-wrapper {
    position: relative;
    padding: 15px; /* Creates a border effect */
    background-color: #00008B; /* Dark blue border */
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }

  .about-content-wrapper {
    text-align: left;
  }

  .section-title {
    font-family: 'Playfair Display', serif; /* A more elegant serif font */
    font-size: 3em;
    color: #00008B; /* Dark Blue */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
  }

  .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent line */
    border-radius: 2px;
  }

  .about-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 35px;
  }

  .about-btn {
    margin-top: 20px;
  }

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .about-grid {
      grid-template-columns: 1fr; /* Stack columns on smaller screens */
      gap: 40px;
      text-align: center;
    }
    .about-image-wrapper {
      max-width: 500px; /* Constrain image width on small screens */
      margin: 0 auto;
    }
    .section-title::after {
      left: 50%;
      transform: translateX(-50%);
    }
  }

  @media (max-width: 768px) {
    .section-padding {
      padding: 60px 0;
    }
    .section-title {
      font-size: 2.5em;
    }
    .about-description {
      font-size: 1em;
    }
  }
    @media (max-width: 480px) {
        .section-padding {
        padding: 40px 0;
        }
        .section-title {
        font-size: 2em;
        }
        .about-description {
        font-size: 0.95em;
        }
        .about-image-wrapper {
        padding: 10px; /* Reduce padding on very small screens */
        }
    }

    
  /* General / Common Styles (if not already defined in your global CSS) */
  .section-padding {
    padding: 80px 0;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Vision & Mission Section Styles */
  .vision-mission-section {
    background-color: #f0f4f8; /* A very light blue/gray to contrast */
    text-align: center;
  }

  .vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for Vision and Mission */
    gap: 40px; /* Space between the cards */
    align-items: start; /* Align cards to the top if content height differs */
  }

  .vm-card {
    background-color: #ffffff; /* White background for cards */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #00008B; /* Dark Blue top border for distinction */
    height: 100%; /* Ensure cards are same height if possible */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .vm-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
  }

  .vision-card {
    border-color: #00008B; /* Dark Blue for Vision */
  }

  .mission-card {
    border-color: #FFD700; /* Gold for Mission */
  }

  .vm-icon {
    color: #FFD700; /* Gold for icons */
    font-size: 48px; /* Size of the SVG icons */
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background-color: #00008B; /* Dark Blue background for icons */
    border-radius: 50%; /* Circular background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .mission-card .vm-icon {
    color: #00008B; /* Dark Blue icon in Mission card */
    background-color: #FFD700; /* Gold background for Mission icon */
  }

  .vm-icon svg {
    stroke: currentColor; /* Use currentColor for SVG stroke */
    width: 48px;
    height: 48px;
  }

  .vm-title {
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-size: 2.5em;
    color: #00008B; /* Dark Blue */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .vm-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #FFD700; /* Gold accent line */
    border-radius: 2px;
  }

  .mission-card .vm-title::after {
    background-color: #00008B; /* Dark Blue accent line for Mission */
  }

  .vm-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
  }

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .vm-grid {
      grid-template-columns: 1fr; /* Stack columns on smaller screens */
      gap: 30px;
    }
    .vm-card {
      padding: 30px;
    }
    .vm-title {
      font-size: 2em;
    }
  }

  @media (max-width: 768px) {
    .section-padding {
      padding: 60px 0;
    }
    .vm-title {
      font-size: 1.8em;
    }
    .vm-description {
      font-size: 1em;
    }
    .vm-icon {
      width: 70px;
      height: 70px;
    }
    .vm-icon svg {
      width: 40px;
      height: 40px;
    }
  }


