
.image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  
  .image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .camera-icon {
    width: 16px;
    height: 16px;
    background: url('camera-icon.svg') no-repeat center center;
    background-size: contain;
    display: inline-block;
  }

  .photo-indicator {
    font-size: 0.9rem;
    color: #888;
    margin-top: 4px;
    font-style: italic;
  }
  .badge {
    background: #007BFF;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    
  }
    

body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding: 0;
  }
  
  #facilities {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  #facilities h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 600;
    color: #222;
  }
  
  .facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  
  .facility-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .facility-card:hover,
  .facility-card:focus {
    outline: none;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
  
  .facility-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
  }
  
  .facility-card h3 {
    font-size: 1.25rem;
    margin: 15px;
    color: #333;
  }
  
  .facility-card p {
    flex-grow: 1;
    margin: 0 15px 20px 15px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: -20;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
    
  }
  
  .modal.show {
    display: flex;
  }
  
  .modal-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  }
  
  .close,
  .prev,
  .next {
    position: absolute;
    color: white;
    font-size: 3.5rem;
    padding: 0px 15px;
    background: rgba(1, 51, 253, 0.5);
    border: none;
    cursor: pointer;
    user-select: none;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1100;

  }
  
  .close:hover,
  .prev:hover,
  .next:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .close {
    top: 20px;
    right: 30px;
  }
  
  .prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
 
  }
  
  .next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
   
  }
  
  @media (max-width: 768px) {
    .facility-card img {
      height: 140px;
    }
    .modal-content {
      max-height: 60vh;
    }
    .modal-content img {
      max-height: 60vh;
    }
    .close,
    .prev,
    .next {
      font-size: 2rem;
      padding: 8px 12px;
    }
  }
  
/*******************/

* {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fafafa;
    color: #333;
  }

  header {
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: white;
    padding: 3em 2em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeInDown 1s ease-out;
  }

  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav {
    background-color: #fff;
    padding: 1em;
    display: flex;
    justify-content: center;
    gap: 2em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    position: relative;
  }

  nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #d21212;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
  }

  nav a:hover::after {
    width: 100%;
  }

  main {
    padding: 2em;
    max-width: 900px;
    margin: auto;
  }

  h2 {
    color: #2a5298;
    border-left: 5px solid #2a5298;
    padding-left: 0.5em;
    margin-top: 2em;
    animation: fadeInUp 1s ease;
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  footer {
    background-color: #2a5298;
    color: white;
    padding: 1.5em;
    text-align: center;
    margin-top: 3em;
  }

  .responsive {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
    transition: transform 0.3s ease;
  }

  .responsive:hover {
    transform: scale(1.03);
  }

  .about-section, .map-section {
    background-color: #fff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 2em;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
  }

  .about-section.visible, .map-section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .image-slideshow {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin-bottom: 1em;
  }

  .image-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .image-slideshow img.active {
    opacity: 1;
  }

  .slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: -5 1em;
  }

  .prev-btn, .next-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.75em 1em;
    font-size: 1.5em;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    
  }

  .prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
  }

  .map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 1em;
  }

  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  @media (max-width: 600px) {
    .image-slideshow {
      height: 250px;
    }

    nav {
      flex-wrap: wrap;
      gap: 1em;
    }
  }