:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --accent-color: #4cc9f0;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
  }
  
  .dark-mode {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #7209b7;
    --accent-color: #4cc9f0;
    --text-color: #e0e0e0;
    --text-light: #b0b0b0;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.3);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
  }
  
  /* Sections */
  .section {
    padding: var(--section-padding);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  .underline {
    height: 4px;
    width: 70px;
    background: var(--accent-color);
    margin: 0 auto;
  }
  
  /* Cards */
  .card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
    transition: var(--transition);
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
  }
  
  .card-content {
    padding: 2rem;
  }
  
  .card-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  /* Facilities */
  .facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .facility-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
  }
  
  .facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
  }
  
  .facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
  }
  
  .facility-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
  }
  
  .facility-card p {
    color: var(--text-light);
  }
  
  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
  }


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
  }
  
  .gallery-item img:hover {
    transform: scale(1.05);
  }
  .gallery-item:hover .span_lab {
    opacity: 1;
    animation: fadeIn 0.5s forwards;
  }
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  .gallery-item:hover .span_lab {
    opacity: 1;
    animation: fadeIn 0.5s forwards;
  }
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  .gallery-item:hover .span_lab {
    opacity: 1;
    animation: fadeIn 0.5s forwards;
  }
  .span_lab{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 2rem;
    text-transform: capitalize;
    opacity: 0;
    transition: var(--transition);
  }
  
  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
   
  
    .section-header h2 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 576px) {
  
    .section {
      padding: 3rem 0;
    }
  
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
   
  }