html,
body {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

video {
    max-width: 100%;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
}



@media (max-width: 767px) {
    .timeline-item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }
}

.navbar.is-sticky {
    background-color: rgba(255, 255, 255, 0.4) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
}

/* Progress bar wrapper */
.navbar.is-sticky .navbar-progress {
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Actual progress bar */
.navbar.is-sticky .progress-bar {
    height: 100%;
    background-color: #182f57;
    transition: width 0s ease-in-out;
}

.navbar .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar.is-sticky {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar .nav-link:hover{
    color: #219EBC !important;
}

.nav-link.active {
  color: #1A2C4A !important;
  font-weight:500;
}

.nav-link.active:hover {
  color: #1A2C4A;
  font-weight:500;
}

.wave {
  position: absolute;
  bottom: -40px;
  width: 100%;
}

@media (min-width: 1024px) {
  .wave {
    bottom: -90px;
  }
}

@media (min-width: 1280px) {
  .wave {
    bottom: -140px;
  }
}

@media (min-width: 992px) {
    .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

.modal-flyer {
    display: none;
    position: fixed;
    z-index: 30;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Custom styles */
.title h1 {
    position: relative;
    padding-bottom: 10px;
}

.title h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #f68e38;
}

.institution {
    transition: all 0.3s ease;
}

.institution:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.institution-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.institution:hover .institution-tooltip {
    opacity: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e3a8a;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #277ca1;
    transform: translateY(-3px);
}

.jumbo-btn {
    background-color: #f68e38 !important;
    color: #1c1a1a !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.jumbo-btn:hover {
    background-color: #f68e38 !important;
    transform: scale(1.05) !important;
}