@import url('https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css');

body {
    padding-top: 56px;
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.navbar-custom {
    background-color: #004080;
    padding: 1rem;
}

.navbar-custom .navbar-brand, .navbar-custom .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-custom .nav-link:hover {
    color: #d4d4d4;
}

.dropdown-item:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.jumbotron {
    background-image: url('images/background-image.jpg');
    background-size:auto;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    padding: 4rem 2rem;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #343a40;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.news-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f1f3f5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

a{
    text-decoration: none;
    color:inherit;
}

a:hover, a:focus, a:active{
    text-decoration: none;
    color:inherit;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background-color: #f1f3f5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transform: translateY(100%);
}

.card-buttons {
    display: flex;
    gap: 16px;
}

.news-card:hover .card-hover-content {
    transform: translateY(0);
    opacity: 1;
}

.news-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 16px;
    text-align: center;
    background: linear-gradient(135deg, #ccf2f2 0%, #78adae 100%);
    color: white; 
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-weight: bold;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 1px;
}

.card-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card,
.event-card,
.announcement-card {
    margin-bottom: 2rem;
}

.card-clicker {
    cursor: pointer;
}

.card-text {
    overflow: auto;
}

.event-date {
    font-weight: bold;
    color: #007bff;
}

#push {
    height: 4vh;
}

.project-section {
    margin-bottom: 4rem;
}

.project-img {
    width: 25em;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.member-photo {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.sponsor-about {
    width: auto;
    max-height: 5em;
    margin: 1rem;
}

.sponsor-logo {
    max-width: 5.5em;
    height: auto;
    margin: 1rem;
}

.sponsor-logo-intro {
    max-width: 3em;
    height: auto;
    margin:  0.5em;
    float:right;
}

.project-logo {
    max-width: 12em;
    height: auto;
    float:right;
    margin: 1rem;
}

footer {
    background-color: #343a40;
    color: white;
    padding: 1rem 0;
    text-align: center;
} 

.intervention-programs{
    background-color: #fce4d3;
}

.policy-brief{
    background-color: #ccf2f2;
}

.separator {
    border: none;
    height: 2px;
    background-color: #6f4002;
    margin: 15px 0;
}

.list-group-item {
    background-color: #f8f9fa;
}

.list-group-item:hover {
    background-color: #e2e6ea;
}
