
:root {
    --primary: #002654;
    --primary-light: rgba(0, 38, 84, 0.1);
    --secondary: #d5e4ee;
    --dark: #212529;
    --light: #f8f9fa;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

.bluement-main .container-fluid{    
    background-color: var(--primary);
    background-repeat: no-repeat;
    background-image: url("../images/PARTNER.jpg");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: top;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    min-height: 30vh;     
}
.bluement-main .container-fluid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 40, 41, 0.3); /* Dark overlay for better text readability */
    z-index: 1;
}

.ratio-video {
    width: 100%;
    border-radius: 16px 16px 16px 16px; /* Rounded top corners only */
    border: none;
    margin: 0; /* Remove margin from video container */
    box-shadow: none;
}
/* Ensure iframe takes full width of its container */
.ratio.ratio-16x9 {
    margin: 0;
    border-radius: 16px 16px 16px 16px;
    overflow: hidden;
}
/* Add more space between cards on mobile */
@media (max-width: 768px) {
    .col-md-6 {
        margin-bottom: 2rem;
    }
    .col-md-6 .card {
        margin: 0 0 2rem;
    }
}
.blue-head-main h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #211C84;
}
.blue-head-text{
    padding: 1.5rem;
}


/* ROLE OF YOUTH IN DEVELOPING AFRICA'S BLUE ECONOMY */
.blue-background {
    background-image: url("../images/y2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blue-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(10px) brightness(0.8);
    z-index: -2;
    margin: -20px; /* To compensate for blur edges */
}

.blue-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 40, 41, 0.8); /* Semi-transparent overlay */
    z-index: -1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.blue-background{
    padding: 10px 50px 10px 50px;
}
@media (max-width: 768px) {
    .blue-background{
        padding: 10px 20px 10px 20px;
    }
}
.blue-background-h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 768px) {
    .blue-background-h1{
        font-size: 2.2rem;
        padding-bottom: 1rem;
    }
}
.blue-background-h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background-color: #fff;
    color: #373A40;
    padding: 1rem;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 1.5rem;
}
.blue-background-paragraph{
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    text-justify: inter-word;
    text-align: justify;
}
.blue-background-paragraph:nth-child(2){
    margin-bottom: 1rem;
}

/* ABOUT THE PROGRAMME */
.about-p-main{
    background-color: #fff;
    padding: 50px 30px 20px 30px;
}
.about-p-h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #373A40;
    margin-bottom: 1rem;
}
.about-p-paragraph{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #373A40;
    margin-bottom: 1rem;
}
.about-p-list{
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #373A40;
    margin-bottom: 1rem;
}


/* ABOUT MENTORSHIP PROGRAMME */
.about-ment-main .container {
    padding: 50px 30px 20px 30px;
}
.about-ment-main .col-lg-3 {
    padding: 1rem;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.about-ment-main .col-lg-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-ment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.about-ment-img img:hover {
    transform: scale(1.02);
}




