/* Services Section Styles */
.services-section {
    background: #1e1e1e;  /* Dark background */
    padding: 60px 0;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff; /* White text for the title */
    text-transform: uppercase;
}

.service-card {
    background: #2b2b2b; /* Darker card background */
    border: none;
    padding: 30px;
    transition: transform 0.3s ease;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    border-radius: 10px;
}

.service-card:hover {
    transform: translateY(-10px); /* Hover effect */
}

.service-icon {
    font-size: 50px;
    color: #f7c32e; /* Gold color for icons */
}

.service-card h5 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 20px;
}

.service-card p {
    color: #b0b0b0; /* Lighter text for descriptions */
    font-size: 1rem;
}

.text-white {
	color: #fff;
}

/* Get Involved Section Styles */
.involved-section {
    background-color: #2d2b2b; /* Dark background */
    padding: 50px 0;
    border-radius: 8px;
}

.involved-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.get-involved-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.involved-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0; /* Light gray text */
}

.involved-card {
    background-color: #1f1f1f; /* Card background */
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
}

.involved-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.involved-icon {
    color: #e4663e; /* Orange Icon */
}

.involved-card h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 10px;
}

.involved-card p {
    color: #b0b0b0; /* Light gray text for description */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .involved-card {
        margin-bottom: 20px;
    }
    .involved-icon {
        font-size: 2.5rem;
    }
}

/* Badge Styles */
.badge-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10; /* Ensure the badge appears above other elements */
}

.badge-event {
    background-color: #28a745; /* Default green for volunteer */
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Different Event Types */
.badge-event.volunteer {
    background-color: #28a745; /* Green for Volunteer */
}

.badge-event.meeting {
    background-color: #ff8c00; /* Orange for Meeting */
}

.badge-event.fundraiser {
    background-color: #007bff; /* Blue for Fundraiser */
}

/* Event Card Styles */
.event-card {
    position: relative; /* Ensure the badge stays inside the card */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-details {
    background-color: white;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.event-info, .event-description {
    font-size: 0.9rem;
    color: #555;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
}


/* Contact Section */
.contact-section {
    background-color: #1e1e1e;
    padding: 60px 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.contact-section p {
    color: #112544;
    font-size: 1.1rem;
}

/* Modern Input Fields */
.modern-input {
    background-color: #fff;
    border: 1px solid #fff; 
    color: #fff;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.3s;
}

.modern-input:focus {
    border-color: #f7c32e;
    outline: none;
}

button.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 20px;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 8px;
    transition: background-color 0.3s;
}

button.btn-primary:hover {
    background-color: #0056b3;
}

/* Map Styling */
#map {
    border: 1px solid #444;
    border-radius: 8px;
}

/* Hero Section Styles */
#hero-carousel {
    position: relative;
    height: 100vh;
    /*max-height: 700px;*/
}

#hero-carousel .carousel-item {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
}

#hero-carousel .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text visibility */
    z-index: 1;
}

#hero-carousel img {
    object-fit: cover;
    height: 100vh;
    opacity: 0.8; /* Slight transparency for the images */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
    border-radius: 10px;
}
.carousel-caption {
    bottom: 9.25rem !important;
}
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.carousel-caption .btn {
    font-size: 1.2rem;
    padding: 10px 30px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #f7c32e; /* Add color to the control icons */
    border-radius: 50%;
    padding: 10px;
}

img.img-fluid {
    border-radius: 124px 10px;
}
/* Highlight Text */
.highlight-text {
    color: #00aaff; /* Blue color for highlight */
    font-weight: bold;
}
.donation-text {
	color: #112544;
}
/* Button Styles */
.btn-donate {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border: 2px solid #112544;
    font-size: 1rem;
    font-weight: bold;
    background-color: transparent;
    color: #112544;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-donate:hover {
    background-color: #e4663e;
    color: white;
}
section#donationSection {
    background: #ededed;
	padding-top: 4%;
}
section.donation-section.py-5 {
    border-bottom: 16px solid #e4663e;
    border-right: 10px solid #e4663e;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .donation-text {
        font-size: 1.25rem; /* Adjust text size for mobile */
        text-align: center; /* Center text for smaller screens */
    	padding: 3%;
    }
	.carousel-caption {
	    bottom: 22.25rem !important;
	}
    .donation-buttons{
		padding: 3%;
    }
	section#donationSection {
	    padding-top: 16%;
	}
    .col-md-6 {
        flex: 100%;
        max-width: 100%; /* Make the text and buttons stack on top of each other */
    }

    .btn-donate {
        margin-bottom: 10px; /* Add space between buttons on mobile */
    }
}

@media (max-width: 576px) {
    .col-4 {
        max-width: 100%; /* Ensure buttons take full width on smaller screens */
    }
}

/* Get Involved Section */
.get-involved-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

/* Get Involved Section */
.get-involved-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

/* Event Card Styling */
.event-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* Enables flexbox */
    justify-content: space-between; /* Ensures content stays spaced */
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
}

/* Event Image */
.event-img {
    background-size: cover;
    background-position: center;
    height: 180px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Event Details */
.event-details {
    padding: 20px;
    flex-grow: 1; /* Makes the event details take the available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Event Title */
.event-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Event Info and Description */
.event-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.event-description {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Button Styling */
.btn-primary {
    background-color: #00b4ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: auto; /* Pushes the button to the bottom */
    display: block;
    width: 40%; /* Full width */
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Volunteer Badge */
.volunteer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Register to Vote Section */
.register-vote-section {
    background-color: #112544;
    padding: 20px 0;
    border-top: 8px solid #e4663e; /* Optional blue bar at the top */
}

.register-vote-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e4663e;
}

.btn-register {
    border: 2px solid #00b4ff;
    padding: 10px 20px;
    color: #00b4ff;
    font-weight: bold;
    background-color: transparent;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-register:hover {
    background-color: #00b4ff;
    color: #fff;
}

.voter-hotline {
    font-size: 1.2rem;
    font-weight: normal;
    color: #959595;
}

.hotline-link {
    color: #e4663e;
    text-decoration: none;
}

.hotline-link:hover {
    text-decoration: underline;
}

/* Fixed Button Bar */
.fixed-button-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.btn-fixed {
    width: 100%;  /* Full width within its column */
    padding: 15px 0;  /* Adjust padding */
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button Styles */
.btn-volunteer {
    background-color: #00b4ff !important; /* Blue Volunteer Button */
}

.btn-vote {
    background-color: #888888 !important; /* Gray Vote Button */
}

.btn-donate-footer {
    background-color: #f76c51 !important; /* Orange Donate Button */
} 

.btn-fixed:hover {
    opacity: 0.9;
	color: #112544 !important;
}

/* Media Queries */
@media (max-width: 768px) {
    .btn-fixed {
        font-size: 1rem;  /* Smaller font size on mobile */
        padding: 10px 0;  /* Adjust padding for smaller screens */
    }
}

/* Ensures all buttons are on the same row and responsive */
.row {
    display: flex;
    justify-content: space-between;
}

/**/
.container.text-center.multi-buttons {
    display: flex;
    justify-content: center;
}
.w-60 {
	width: 60% !important;
}

.footer {
	background-color: #112544;
    padding-bottom: 7em !important;
}

/* Member Section Styles */
.member-section {
    background-color: #2d2b2b; /* Dark background */
    padding: 50px 0;
    border-radius: 8px;
}

.member-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.member-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #b0b0b0; /* Light gray text */
}

.member-card {
    background-color: #1f1f1f; /* Card background */
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.member-icon {
    color: #e4663e; /* Gold Icon */
}

.member-card h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 10px;
}

.member-card p {
    color: #b0b0b0; /* Light gray text for description */
}

/* Action Section Styles */
.action-section {
    background-color: #f5f5f5; /* Light background for contrast */
    padding: 40px 0;
}

.action-card {
    height: 300px;
    position: relative;
    background-size: cover;
    background-position: center;
    border: none;
    color: white;
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
    border-radius: 8px; /* Adds rounded corners */
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-5px); /* Subtle hover effect */
}

.badge-action {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e4663e; /* Orange color */
    color: white;
    padding: 10px 20px;
    font-size: 1rem; /* Slightly larger font */
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
}

.card-title {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for better text contrast */
    padding: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
}

.action-card:hover .card-body {
    background-color: rgba(0, 0, 0, 0.4); /* Darken the background on hover */
}

.card-body {
    width: 100%;
    padding-top: 50% !important;
    transition: background-color 0.3s ease;
    padding: 15px;
    background-color: transparent;
}

/* dual border style */
.dual-border {
    display: flex;
    width: 100%;   /* Full width */
    height: 20px;  /* Height of the border */
}

.dual-border::before {
    content: '';
    flex: 1;
    background-color: #e4663e; /* Orange color */
}

.dual-border::after { 
    content: '';
    flex: 1;
    background-color: #00aaff; /* Blue color */
}


/* Button Grid Layout */
.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two buttons per row */
    gap: 10px;
}

/* Button Styling */
.button-grid button {
    background-color: #00aaff;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
}

.button-grid button:hover {
    background-color: #0077cc; /* Darker blue on hover */
}

/* Close Button */
.close {
    position: absolute;
    top: 35px;
    right: 20px;
    font-size: 2rem;
    color: #e4663e;
    cursor: pointer;
}
.text-navy{
	color: #112544;
}
.donation-section {
    position: relative; /* Make sure the close button stays in place */
}

@media (max-width: 768px) {
	.container.d-flex.justify-content-between.align-items-center {
	    display: unset !important;
	}
	.close {
	    top: 20px;
	}
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
	.service-card {
        margin-bottom: 30px;
    }
    .carousel-caption {
	    position: absolute;
        top: 30%;
        left: 34%;
        right: 0%;
        transform: translate(-25%, 15%);
	}
	body > div.main > section.about-section.py-5 > div > div > div.col-md-6.d-flex.align-items-center.pl-3 > div > h2 {
	    padding-top: 2em;
	}
	
	/* Extra Styling for Small Devices */
	.action-card {
        height: 250px; /* Adjust height on smaller screens */
    }
    
    .badge-action {
        font-size: 0.8rem; /* Smaller badge on mobile */
        padding: 8px 15px;
    }

    .card-title {
        font-size: 1.2rem; /* Adjust text size for small screens */
    }
	.row.w-60 {
	    width: unset !important;
	}
	
}


