/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    margin: 0;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
li {
    margin: 0; /* Increased margin for more space between items */
    padding: 8px 0;
}

a {
    text-decoration: none;
    color: blue;
}

a:hover {
    text-decoration: none; /* Ensures no underline on hover */
    color: rgba(157, 0, 255, 0.5); /* Keep the hover color change */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 1000;
}

.navbar {
    position: relative;
}

.navbar-toggler {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1100;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
}

.navbar-toggler-icon {
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    display: block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    background-color: #2a9ae5;
    width: 30px;
    height: 2px;
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-collapse {
    display: none;
    position: absolute;
    top: 10px;
    left: 0;
    width: 140px;
    padding: 10px;
    border-radius: 5px;
}

.navbar-toggler:hover + .navbar-collapse,
.navbar-toggler:focus + .navbar-collapse,
.navbar-collapse:hover {
    display: block;
}

.navbar .navbar-nav {
    flex-direction: column;
}

.navbar .navbar-nav .nav-item {
    margin: 0px 0;
    color: #2a9ae5;
}

.navbar-dark .navbar-nav .nav-link {
    color: #2a9ae5;
}

.nav-link:hover {
    color: rgba(157, 0, 255, 0.5);
}


.roles {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
}

.roles a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.roles span {
    color: #6c757d;
}

.roles a:hover {
    color: #003366;
    font-weight: bold;
}

.hero {
    width: 100%;
    height: 640px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 640px;
    display: block;

}

.content {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.content-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.content-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s;
}

.content-nav a.highlighted {
    color: #6E1F61;
    border-bottom: 2px solid #6E1F61;
}

.content-description h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.content-description p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
}

.media-highlights {
    padding: 20px 0;
    background-color: rgb(233, 230, 230);
    text-align: center;
    margin-left: 10px;
}

.media-highlights .section-header h2 {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-left: 40px;
}

.highlight-img {
    width: 70%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.highlight-img:hover {
    transform: scale(1.05);
}

.videos {
    padding: 20px 0;
    background-color: rgb(233, 230, 230);
    text-align: center;
    margin-top: 20px;
}

.videos .section-header h2 {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.5rem;
    color: #2c3e50;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.video-thumbnail {
    width: 100%;
    border-radius: 5px;
    transition: transform 0.3s;
}

.video-thumbnail:hover {
    transform: scale(1.05);
}

.final-content {
    background-color: #fefaf5;
    padding: 50px 0;
    text-align: center;
    height: 600px;
}

.final-content-cards {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding-bottom: 40px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    height: 500px;
    text-align: left;
    margin-bottom: 20px;
    margin-right: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: 75%;
    display: block;
    transition: transform 0.3s ease;
   
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-text {
    padding: 15px;
    color: #333;
    font-size: 1rem;
    text-align: center;
}

.card-date {
    padding: 0 15px 15px;
    color: #6E1F61;
    font-size: 0.875rem;
    display: block;
    text-align: center;
}

/* Footer Section */
.final-content-footer {
    background-color: #d4c9c9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 0px;
    text-align: center;
}

.final-content-footer h2 {
    margin: 0;
    font-size: 2.5rem;
    color: darkblue;
    margin-bottom: 5px;
    font-weight: bold;
}



.social-icons {
    margin-bottom: 10px;
}

.footer-link {
    font-size: 2rem;
    margin: 0 5px;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer-link:hover {
    transform: scale(1.1);
}

/* Specific colors for each icon */
.footer-link i.fa-facebook-f {
    color: #3b5998;
}

.footer-link i.fa-twitter {
    color: #00acee;
}

.footer-link i.fa-instagram {
    color: #C13584;
}

.footer-link i.fa-youtube {
    color: #FF0000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .media-highlights{
        margin-left: 10px;
        background-color: rgb(233, 230, 230);
    }
    .final-content{
        margin-left: 60px;
        background-color: rgb(233, 230, 230);
        height: auto;
        margin-left: 29px;
    }
    
    section.media-highlights{
        background-color: rgb(233, 230, 230);
    }
    .navbar {
        flex-direction: column;
    }
    li {
        margin: 0; /* Increased margin for more space between items */
        padding: 0px 0;
    }

    .navbar li {
        margin: 5px 0;
        
    }

    .content-nav {
        flex-direction: column;
    }

    .content-nav a {
        margin: 5px 0;
    }

    .hero{
        height: 300px;
    }

    .hero-img {
        margin-left: 0;
        width: 100%;
        height: 300px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        margin-left: 80px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .final-content-cards {
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
    }

    .card {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    
    .navbar-toggler {
        left: 5px;
        top: 5px;
    }

    .hero-img {
        width: 100%;
    }

    .final-content {
        padding: 30px 0;
    }

    .final-content-footer {
        padding: 20px;
    }

    .content-description h2 {
        font-size: 1.2rem;
    }

    .content-description p {
        font-size: 0.875rem;
    }

    .media-highlights .section-header h2,
    .videos .section-header h2,
    .final-content-footer h2 {
        font-size: 1.2rem;
    }

    .footer-link {
        font-size: 1rem;
    }
    .navbar .navbar-nav .nav-item{
        font-size: 15px;
        padding:5px 0px;
    } 
}
