#close-ad-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background-color: #ff0000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

#close-ad-btn:hover {
    background-color: #d40000;
}

#bootcamp-ad {
    background: linear-gradient(135deg, #171718, #717171);
    padding: 15px;
    text-align: center;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
    max-height: 500px;
}

#sticky-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hover effect for the advertisement div */
#bootcamp-ad:hover {
    background: linear-gradient(135deg, #111112, #616161);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

#bootcamp-ad h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

#bootcamp-ad p {
    font-size: 1.5em;
    margin: 10px 0 0;
    font-weight: 400;
    animation: fadeInUp 1s ease;
}


#bootcamp-ad.closed {
    max-height: 0;
    padding: 0;
    opacity: 0;
}

a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.4s;
}
