/* Reset and layout basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
 

  body {
    font-family: Arial, sans-serif;
    background: linear-gradient(120deg, #e0f7fa, #57ebff);
    min-height: 100vh;
    animation: backgroundFade 8s ease-in-out infinite alternate;
  }
  
  @keyframes backgroundFade {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }
  
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0288d1;
    padding: 15px 30px;
    color: white;
  }
  
  nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li {
    position: relative;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #03a9f4;
    display: none;
    flex-direction: column;
    min-width: 120px;
  }
  
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  
  .dropdown-menu a {
    padding: 10px;
    text-decoration: none;
    color: white;
  }
  
  .section-heading {
    
    font-size: 2rem;
    margin: 40px 0 10px;
    color: #01579b;
  }
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
  }
  
  .card {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.03);
  }
  
  .image-box {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .image-box img,
  .image-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .overlay-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
  }
  

  .card .logo {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    object-fit: contain;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
  }
  
  .card h2 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: #333;
  }
  
  .card p {
    font-size: 0.95rem;
    color: #666;
    padding: 0 10px 15px;
  }
  


  .footer {
    background: #01579b;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 50px;
    font-size: 0.95rem;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #b2ebf2;
  }
  
  .footer-info {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 20px;
  }
  
  .footer-info a {
    color: #b2ebf2;
    text-decoration: underline;
  }
  

  .social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
  }
  
  .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
  }
  
  .icon:hover {
    transform: scale(1.1);
  }
  
  /* Brand Colors and Icons */
  .facebook {
    background-color: #edeff1;
    background-image: url('facebook_icon.jpg'); /* Replace with your actual file paths */
  }
  
  .linkedin {
    background-color: #0e2c4b;
    background-image: url('linkedin.png');
  }
  
  .twitter {
    background-color: #ffffff; /* X (formerly Twitter) */
    background-image: url('X_logo.jpg');
  }
  
  .youtube {
    background-color: #ffffff;
    background-image: url('youtube_logo.jpg');
  }
  

  .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
}

.play-button::before {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
  display: inline-block;
  margin-left: 5px;
}

.image-box:hover .play-button {
  background: rgba(0, 0, 0, 0.8);
}
