/* Hero-About Section */
.hero-about-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-attachment: fixed; /* Ensures the background is fixed */
    background-position: center top; /* Move the image slightly down */
    background-size: cover;
}

/* Darker overlay */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darken with semi-transparent black */
    z-index: 0; /* Ensures the overlay is behind the content */
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 25%; /* Keep content position as before */
    left: 20%;
    width: 80%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    z-index: 1; /* Ensures the content is on top of the dark overlay */
}

/* Hero Text Box */
.hero-text-box {
    background: rgba(131, 126, 126, 0.281); /* Transparent box */
    color: white;
    padding: 50px 60px;
    border-radius: 5px;
    width: 750px; /* Narrower */
    height: 250px; /* Taller */
    display: flex;
    flex-direction: column;
}

#highlight {
    position: relative;
    display: inline-block;
    color: white; /* Ensuring text color is white */
}

#highlight::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust as needed to position the line */
    left: 0;
    width: 100%;
    height: 2px; /* Line thickness */
    background-color: rgb(165, 165, 0); /* Yellow underline */
}

.hero-text-box h1 {
    font-size: 1.6rem;
    font-weight: bold; /* Bold text */
    margin-bottom: 30px;
}

.hero-text-box p {
    font-size: 1rem;
    line-height: 1.6; 
}

/* Softer Curved Dividers */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.custom-shape-divider-bottom svg {
    width: 100%;
    height: auto;
}

/* Additional Curved Divider */
.custom-shape-divider-second {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.custom-shape-divider-second svg {
    width: 100%;
    height: auto;
}

/* About Section Positioned in Curved Area */
.about-section {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 50px 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Align about-title to right */
.about-title {
    text-align: right;
}

.about-title h2 {
    font-size: 2rem;
    font-weight: bold;
}

.highlight {
    color: #D84315;
}

/* Smaller about-text */
.about-text {
    padding-top: 25px;
    font-size: 0.9rem;
    color: #333;
}








/* Work Card Styles */
.work-card {
    width: 100%;
    height: 300px; /* Increased height */
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 75, 110, 0.5); /* Dark overlay */
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.work-overlay:hover {
    background: none;
    transition: opacity 0.5s ease-in-out;
}

.work-title {
    font-size: 1.5rem;
    color: white;
    text-align: center;
    margin-bottom: 10px;
    z-index: 2;
}

.work-button {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.work-card:hover .work-button {
    opacity: 1;
}

/* Center Bottom Section */
.row.align-items-center {
    display: flex;
    justify-content: center;
    text-align: left;
}

/* Counter Styling */
.count {
    font-size: 2.5rem;
    color: #0d47a1;
}

/* Adjust layout */
.col-md-5 {
    max-width: 45%;
}

.pe-md-5 {
    padding-right: 3rem !important;
}




/* Full-width Call to Action Section Styling */
.call-to-action-section {
    background-color: #f5f5f5; /* Cream color background */
    padding: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Make the image larger and adjust spacing */
.donation-image {
    width: 100%; /* Make the image 120% of the parent container */
    height: auto; /* Adjust height to maintain aspect ratio */
}

/* Adjust the row to remove excess space */
.call-to-action-section .row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0; /* Reduce bottom margin */
}

/* Text styling */
.call-to-action-section h2 {
    font-size: 2.5rem; /* Increase font size for better visual hierarchy */
    font-weight: bold;
}

.call-to-action-section p {
    font-size: 1.2rem; /* Slightly increase font size for better readability */
    color: #333;
}

.call-to-action-section .btn {
    margin-top: 15px;
    background-color: #0d47a1;
    color: white;
    border-radius: 0%;
}

/* Reduce padding between columns */
.call-to-action-section .col-md-6 {
    padding: 15px 0; /* Reduced padding */
}

/* Align the text from the right */
.call-to-action-section .col-md-6.text-center {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align the content from the right */
}




