/* Custom styles */
body {
    font-family: Arial, sans-serif;
    background-color: #F2F2F2;
    color: #333;
    margin: 0;
    padding: 0;
}

header h1 {
    margin-bottom: 0;
}

.header-custom {
    padding: 10px;
    margin: 0px 50px 75px 50px;
}

.header-nobottom {
    padding: 10px;
    margin: 0px 50px 0px 50px;
}

/* Header section donate button */
.donate-button-section {
    text-align: right;
    padding: 10px 20px 0 0;
    position: relative;
    z-index: 2;
    margin-bottom: 5px; /* Adjust margin to overlap navbar slightly */
}

.btn-donate {
    background-color: #D92525;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: -5px; /* Position the button 5px above the navbar */
}

.btn-donate:hover {
    background-color: #D92525;
    color: #fff;
}

.navbar-custom {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #044040 !important;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    margin: 40px 0;
    display: flex;
    flex-direction: row; /* Default row direction for desktop */
}

.hero-image {
    width: 60%;
    height: 100%;
    background-image: url('../images/backgrounds/heroImage.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-text-section {
    /* width: 40%; */
    background-color: rgb(255, 255, 255);
    color: black;
    text-align: left;
    z-index: 2;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
    padding: 20px;
    position: absolute; /* Default absolute positioning */
    top: 50%;
    left: calc(60% - 130px);
    transform: translateY(-50%);
}

@media (max-width: 765px) {
    .hero-section {
        flex-direction: column; /* Stack the elements vertically */
        height: auto; /* Adjust height for stacked layout */
    }

    .hero-image {
        width: 100%; /* Full width for mobile */
        height: 50vh; /* Adjust height for mobile */
        position: relative; /* Reset position */
    }

    .hero-text-section {
        width: 100%; /* Full width for mobile */
        height: auto; /* Adjust height for mobile */
        position: relative; /* Reset position */
        top: 0; /* Reset positioning */
        left: 0; /* Reset positioning */
        transform: none; /* Reset transform */
    }

    .about-section-row {
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: stretch;
    }

    .about-section-row .col-md-4 {
        width: 100%; /* Make each item full-width */
    }
}

/*
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    margin: 40px 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-image: url('../images/backgrounds/heroImage.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add drop shadow 
}

.hero-text-section {
    position: absolute;
    top: 50%;
    left: calc(60% - 180px);
    width: 50%;
    transform: translateY(-50%);
    background-color: rgb(255, 255, 255);
    color: black;
    text-align: left;
    z-index: 2;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4); /* Add drop shadow 
}
*/
.hero-text {
    padding: 20px;
}

.hero-text-section .bottom-bar {
    background-color: #FFB30D;
    height: 5px;
    width: 100%;
}

.overlay-text {
    /* these two are needed - the align self makes the column not stretch the whole height of the image column and the translate moves the column over the image */
    align-self: flex-start;
    transform: translateX(-20%);
  
    /* the following are for example only */
    background-color: #ffffff;
    padding:20px;
  }

/* About Section */
.about-section h3 {
    margin-bottom: 20px;
    background-color: #FFB30D;
    border-radius: 3px;
    padding-left: 3px;
}

.about-section p {
    margin-bottom: 20px;
}

.about-section-row {
    min-height: 500px; /* Match the min height of the parallax section */
    display: flex;
    flex-direction: row;
    /*gap: 20px; Adds spacing between columns */
}

.about-tagline {
    background-color: #044040;
    color: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.col-dark {
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.col-dark h3{
    color: #fff;
    
}

.col-light {
    background: rgba(51, 50, 50, 0.6); /* Adjust opacity as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.col-light h3{
    color: #fff;
}

.btn-about-dark {
    background-color: #044040;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 60%;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: -5px; /* Position the button 5px above the navbar */
    z-index: 3;
}

.btn-about-light {
    background-color: #44803F;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 60%;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: -5px; /* Position the button 5px above the navbar */
    z-index: 3;
}

/* History */
.history-hero-image {
    background: url('../images/backgrounds/background2.jpg') no-repeat center center/cover;
    height: 60vh;
}

.parallax {
    background: url('../images/backgrounds/odugroup.jpg') no-repeat center center/cover;
    height: 50vh;
    background-attachment: fixed;
}

blockquote {
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    border-left: 5px solid #ccc;
}

.content {
    padding: 20px;
}

/* Projects */
.header {
    text-align: center;
    margin-bottom: 30px;
}
.welcome-text {
    text-align: center;
    margin-bottom: 50px;
}

.carousel-inner {
    margin-bottom: 10px;
}
     
.carousel-item {
    padding: 5px 50px 5px;
    width: 100%;
    height: 400px;
}
    
.carousel-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
   
.carousel-item .overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 40%;
    height: 80%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
    
.carousel-item .overlay h3 {
    margin-bottom: 10px;
    color: #fff;
}
.carousel-item .overlay p {
    flex: 1;
}
.carousel-item .overlay .btn {
    align-self: flex-end;
}

.btn-projects {
    background-color: #FFB30D;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: -5px; /* Position the button 5px above the navbar */
}

/* Projects Medical Outreach*/
.images-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.images-wrapper img {
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Projects CCC */
.ccc-header {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}
.ccc-text {
    text-align:left;
    margin-bottom: 20px;
}
.image-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.image-row img {
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.small-image {
    max-width: 35%;
    margin-right: -20px;
    z-index: 2;
}
.large-image {
    max-width: 50%;
    margin-left: -20px;
}
.divider {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    margin: 20px 0;
}
.additional-text {
    text-align: center;
    margin-bottom: 20px;
}


/* Donate Section */
.donate-section p {
    font-size: 1.2rem;
}

.donate-image {
    width: 65%;
    border-radius: 50%;
    border: 2px solid #c1bfbf;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.home-donate-text {
    border-radius: 10px;
    border: 2px solid #c1bfbf;
    background-color: #FFB30D;
    padding: 15px;
    outline: #c1bfbf;
}

.home-page-crest {
    flex-direction: column;
}

.message-section {
    padding: 50px 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.message-section-header {
    border-radius: 5px;
    background-color: #FFB30D;
    text-transform: uppercase;
    outline: #c1bfbf;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.message-section-text {
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.5);
}

.message-section-image {
    width: 85%;
    border-radius: 50%;
    border: 2px solid #c1bfbf;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: -25px;
}

.message-section p {
    font-size: 1.2rem;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Parallax effect on the main page */
.parallax-section {
    background-image: url('../images/backgrounds/about-section.jpg');
    min-height: 500px; /* Adjust height as needed */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.parallax-section::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.1); Adjust opacity as needed */
    z-index: 1;
}

.text-white {
    color: #ffffff;
}

/* Gallery - Fancybox */
.fancybox-caption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

.gallery h3 {
    text-align: center;
    margin-bottom: 20px;
}

.gallery img {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 100%;
}

.text-center {
    text-align: center;
}

.img-fluid {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    transition: transform 0.2s;
}

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

h1, h3 {
    color: #343a40;
}

/* Donate Page */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

.btn-block {
    width: 100%;
    margin-bottom: 10px;
}

.form-content {
    margin-top: 10px;
}

.donation-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
}

.overlay {
    background-color: rgba(255, 179, 13, 0.3);
    z-index: 1;
}

.btn-donate-light {
    background-color: #44803F;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    top: -5px; /* Position the button 5px above the navbar */
    z-index: 3;
}

.donation-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donation-form {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donation-message {
    flex: 1;
    padding: 20px;
    margin-left: 20px;
}

.form-header {
    background-color: #FFB30D;
    padding: 10px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

/* Board Members */
.board-members-container {
    padding: 20px;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
    color: #44803F;
}

.team {
    padding: 20px;
}

.team-member {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.team-member img {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    border: 5px solid #FFB30D;
    box-shadow: 25pt 25pt 0 0 #44803F;
}

.media-body {
    margin-left: 20px;
    text-align: left;
}

.media-heading {
    color: #44803F;
}

.media-body strong {
    font-style: italic;
}

.media-body hr {
    border-top: 1px solid #44803F;
    width: 50%;
}

/* Footer */
.footer {
    background-color: black;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;
    border-top: 1px solid #FFB30D;
}

.footer .btn-pill {
    border-radius: 50px;
}

.footer .btn-icon {
    margin: 0 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background-color: #007bff; /* Optional: set a background color */
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-pill {
    display: block;
    width: 100%;
}

.footer .divider {
    border-top: 1px solid white;
    margin-bottom: 15px;
}

.footer h5.underline {
    text-decoration: underline;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    list-style: none;
    margin: 5px 0;
}

.footer ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer ul li a:hover {
    text-decoration: underline;
}

.copyright {
    margin: 10px 0;
}

