* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: white;
}
.bg{
    background-color: white;
}

.promo-section {
    background: url('../Assests/business-school-bg.png') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding-left: 50px;
    width: 100%;
}

.promo-section-tech {
    background: url('../Assests/techchool-bg.png') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding-left: 50px;
    width: 100%;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 50px;
}

.promo-content {
    color: #fff;
    text-align: left;
    padding: 20px;
    max-width: 600px;
    opacity: 0; /* Initially hidden for animation */
    animation: slideIn 1s forwards; /* Animation for sliding in */
}

.promo-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Text shadow for emphasis */
}
.promo-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    font-weight: 100; /* Thinnest possible font weight */
    color: rgb(255, 255, 255); /* Slightly transparent white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle text shadow */
}

.apply-btn {
    display: inline-block;
    background-color: none;
    color: white;
    padding: 15px 30px;
    font-size: 1.1em;
    border: 2px solid white;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.apply-btn:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight hover background */
    color: #fff;
    border-color: #fff;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.8), 0px 0px 30px rgba(255, 255, 255, 0.5); /* Glow effect */
}

/* Animation Keyframes */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/*-----------------------------------------------------*/

.section-heading {
    padding: 10px 20px;
    margin-top: 2vw;
    font-size: 2.4rem;
    color: #000038;
    text-align: center;
    position: relative;
    margin-bottom: 2vw;
    animation: fadeIn 1s ease-out;
  }

  .section-heading::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #f4b400;
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  @media (max-width: 480px) {
    .section-heading {
        margin-top: 6vw;
        font-size: 1.7rem;
        margin-bottom: 8vw;
    }
  }

  @media (max-width: 344px) {
    .section-heading {
      font-size: 1.4rem;
      padding: 0 10px;
    }

    .grid {
      grid-template-columns: 1fr;
    }
  }       
/*----------------------------------*/
  .program-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.232);
    transition: transform 0.3s ease;
  }
  
  .program-card::before {
    content: "";
    display: block;
    height: 6px;
    background: #000038; /* Walsh deep blue */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.382);
  }

  .program-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .program-card-content {
    padding: 20px;
    text-align: center;
  }

  .program-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #000038;
  }

  .program-card p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 20px;
  }

  .details-btn {
    display: inline-block;
    background-color: #000038;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
  }

  .details-btn:hover {
    background-color: #d29d00;
  }

/* ========== Media Queries ========== */

/* Tablets and small desktops */
@media (max-width: 991px) {
    .program-card-content {
      padding: 16px;
    }
  
    .program-card h3 {
      font-size: 1.1rem;
    }
  
    .program-card p {
      font-size: 0.9rem;
    }
  
    .details-btn {
      padding: 8px 16px;
      font-size: 0.95rem;
    }
  }
  
  /* Mobile phones */
  @media (max-width: 767px) {
    .program-card img {
      height: 160px;
    }
  
    .program-card h3 {
      font-size: 1rem;
    }
  
    .program-card p {
      font-size: 0.88rem;
    }
  
    .details-btn {
      font-size: 0.9rem;
    }
  }
  
  /* Small devices like iPhone SE or Galaxy Fold */
  @media (max-width: 400px) {
    .program-card img {
      height: 140px;
    }
  
    .program-card-content {
      padding: 14px;
    }
  
    .program-card h3 {
      font-size: 0.95rem;
    }
  
    .program-card p {
      font-size: 0.85rem;
    }
  
    .details-btn {
      font-size: 0.85rem;
      padding: 8px 14px;
    }
  }
  
  /* Ultra small screens (down to ~344px) */
  @media (max-width: 344px) {
    .program-card-content {
      padding: 12px;
    }
  
    .program-card h3 {
      font-size: 0.9rem;
    }
  
    .program-card p {
      font-size: 0.82rem;
    }
  
    .details-btn {
      font-size: 0.8rem;
      padding: 6px 12px;
    }
  }
                                                                    