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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: white;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

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;
}

/* Header and Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    box-shadow: none;
}

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

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

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

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

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

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

/* Show the menu on hover */
.navbar-toggler:hover + .navbar-collapse,
.navbar-toggler:focus + .navbar-collapse,
.navbar-collapse:hover {
    display: block;
}

.navbar .navbar-nav {
    flex-direction: column;
    margin-top: 10px;
}

.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 Section */
.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 Section */
.hero {
    width: 100%;
    height: 80vh; /* 50% of the viewport height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 100%; /* Fill the entire height of the container */
    object-fit: cover; /* Ensure the image covers the area without distortion */
}

/* Content Section */
.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: 900px;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.section-header .view-all {
    color: #6E1F61;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

.section-header .view-all:hover {
    color: #333;
}

/* Media Highlights Section */
.media-highlights {
    padding: 20px 0;
    background-color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

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

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

/* Videos Section */
.videos {
    padding: 20px 0;
    background-color: white;
}

.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 Section */
.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;
    margin-left: 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;
}

.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;
}
#highlighted {
    color: #6E1F61;
    border-bottom: 2px solid #6E1F61;
}

/* Keyframe Animation */
@keyframes flash {
    0% {
        opacity: 1;
        transform: translateX(-1000px);
    }
    50% {
        opacity: 0.5;
        transform: translateX(1000px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animation to all containers */
.hero, .content, .media-highlights, .videos, .final-content, .final-content-footer {
    animation: flash 1s ease-in-out;
    position: relative;
    z-index: 1;
}

/* Optional: Adjust if specific elements need fixed positioning */
.fixed-position {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .final-content-cards {
        flex-wrap: wrap;
        gap: 40px;
        margin-left: 0;
    }

    .card {
        width: 45%;
        margin-right: 0;
    }

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

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

@media (max-width: 992px) {
    .final-content-cards {
        flex-wrap: wrap;
        gap: 40px;
    }

    .card {
        width: 100%;
        margin-right: 0;
    }

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

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero{
        height: 300px;
        width: 100%;
    }
    .hero-img{
        height: 300px;
    }
  /*  .card-img{
        width: 90%;
    }*/
    .navbar {
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-item{
        padding: 3px;
    }

    .navbar li {
        margin: 5px 0;
    }
    li {
        margin: 0; /* Increased margin for more space between items */
        padding: 0px 0;
    }

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

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

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

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

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

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

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .final-content {
        padding: 20px 0;
        height: auto;
    }

    .final-content-footer {
        padding: 10px !important;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header .view-all {
        margin-top: 10px;
    }

    .card {
        width: 90%;
        margin-left: 25px;
    }

    .content-nav {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .content-nav a {
        margin: 5px 0;
    }
    .final-content-footer h2{
        font-size: 25px;
    }
}
