﻿.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  padding-left: 5%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent scrollbars due to absolute video */
}

/* Background video style */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .hero-box {
    position: relative;
    z-index: 2;
    max-width: 600px;
  }

  .hero-content h1 {
    background-color: #1a7292;
    border-radius: 10px 10px 0 0; /* Rounded top corners only */
    padding: 30px;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0; /* Remove bottom margin */
    max-width: 300px;
  }
  
  .hero-content span {
    background-color: #0f445795;    
    border-radius: 0 0 10px 10px; /* Rounded bottom corners only */
    padding: 30px;
    box-sizing: border-box;
    display: block;
    font-size: 1.1rem;
    color: #aad4b6;
    margin: 0; /* Remove top margin */
    max-width: 500px;
  }

  .hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
  }
  
  .gold-button {
    background-color: #a48d4d;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .gold-button:hover {
    background-color: #5a482b; /* slightly darker */
    color: white;
  }
  
  .plain-button {
    background-color: transparent;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .plain-button:hover {
    background-color: rgba(255, 255, 255, 0.1); /* subtle dark effect */
    color: white;
  }

  .hero-section2 {
    background-color: #1a7292; /* Dark green background */
    color: #fff;
  }
  
  .banner3 {
    overflow: hidden;
  }
  
  .angled-image {
    clip-path: polygon(100% 1%, 100% 100%, 37% 100%, 0% 3%);
    width: 50%;
    height: auto;
  }
  
  .learn-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .learn-more span {
    margin-left: 5px;
    color: #f9c74f; /* Gold arrow color */
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .learn-more:hover {
    color: #f9c74f;
  }
  
  .learn-more:hover span {
    transform: translateX(5px);
  }

  .hero-section4 {
    height: 50vh;
    display: flex;
    overflow: hidden;
  }

  .hero-img {
    flex: 1;
    background-image: url('../images/Wilson_Homepage.jpg'); /* Replace with your default image */
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease-in-out;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .option {
    background-color: #f8f9fa;
    color: #1a7292;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1.25rem;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }

  .option:hover {
    background-color: #1a7292;
    color: white;
  }

  .option:hover .arrow {
    color: white;
  }

  .arrow {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
  }

  .stats-section {
    background: url('../images/Wilson_Homepage.jpg') center center / cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
    transition: all 0.4s ease-in-out;
  }

  .stats-overlay {
    background-color: #1a7292;
    opacity: 0.8;
    padding: 200px 20px;
    transition: background-color 0.4s ease;
  }

  .stat-item {
    transition: all 0.4s ease;
  }

  .stat-number {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    transition: color 0.4s ease;
  }

  .stat-label {
    margin-top: 10px;
    font-size: 1.25rem;
  }

  .stat-source {
    font-size: 0.9rem;
    font-style: italic;
  }

  .stat-link {
    display: block;
    margin-top: 15px;
    color: white;
    font-weight: bold;
    text-decoration: none;
  }
  .stat-item:hover {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
  }

  .stat-item:hover .stat-number {
    color: #6f5b37;
  }

  .stat-item:hover .stat-link {
    margin-bottom: 50px;
  }

  .stat-link {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
  }

  .stat-link:hover {
    text-decoration: underline;
  }

  .program-section {
    background-color: #f8f5ef;
  }

  .gold-buttonv2 {
    background-color: #6f5b37;
    color: white;
    padding: 20px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    display: inline-block;
    min-width: 230px;
  }

  .gold-buttonv2:hover {
    background-color: #5a482b;
    color: white;
  }

  .program-card {
    background-color: #1a7292;
    color: white;
    padding: 20px;
    border-radius: 5px;
    align-items: stretch;
    min-height: 122px;
    gap: 0;
    text-align: left;
    transition: all 0.15s ease-in-out;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
  }

  .program-card:hover {
    background: #0f4457;
    color: white;
    text-decoration: none;
    transition: all 150ms ease-out;
    }

  .program-card a {
    color: white;
    text-decoration: none;
  }

  .program-card a:hover {
    text-decoration: underline;
  }

  .news-section {
    background-color: #1a7292;
  }

.news-section .row > [class*="col-"] {
  display: flex;
}

.news-section .card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-list {
  flex: 1;
  max-height: 360px;
  min-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
  align-content: start;
}

.news-list::-webkit-scrollbar {
  width: 8px;
}

.news-list::-webkit-scrollbar-thumb {
  background: #b4b4b4;
  border-radius: 8px;
}

  .news-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.3s ease;
    position: relative;
  }
  .news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .news-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
  }
  .news-item span {
    flex-grow: 1;
    font-weight: 500;
  }
  .news-item small {
    white-space: nowrap;
  }

  .news-badge {
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-left: 8px;
    padding: 4px 7px;
    text-transform: uppercase;
  }

  .image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.image-wrapper img {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.image-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.image-wrapper .overlay i {
  font-size: 2rem;
  color: white;
}

.custom-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Background overlay */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  padding: 20px;
  background-color: transparent;
  border: none;
}

.custom-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}
  

.course-offered .table-container {
      background-color: #ffffff;
      border-radius: 15px;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
.course-offered .table {
      background-color: #ffffff;
      border-radius: 10px;
      overflow: hidden;
    }
.course-offered .table thead {
      background-color: #003087;
      color: #ffffff;
    }
.course-offered .table-striped tbody tr:nth-of-type(odd) {
      background-color: #e6f0fa;
    }
.course-offered .table-hover tbody tr:hover {
      background-color: #cce0ff;
      transition: background-color 0.3s;
    }
.course-offered .table th, .table td {
      vertical-align: middle;
      text-align: center;
    }

   .quote-container {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            padding: 30px;
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .quote-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, #3498db, #e74c3c);
        }
        blockquote {
            font-size: 1.5rem;
            font-style: italic;
            color: #2c3e50;
            margin-bottom: 20px;
            border-left: 5px solid #3498db;
            padding-left: 15px;
        }
        blockquote footer {
            font-size: 1rem;
            color: #7f8c8d;
            margin-top: 10px;
        }
        .quote-text {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #34495e;
            margin-bottom: 30px;
        }
        .main-page-link {
            display: inline-block;
            padding: 12px 24px;
            background-color: #3498db;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }
        .main-page-link:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        @media (max-width: 600px) {
            .quote-container {
                padding: 20px;
            }
            blockquote {
                font-size: 1.2rem;
            }
            .quote-text {
                font-size: 1rem;
            }
            .main-page-link {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }
