html,
body {
    height: 100%;
    font-family: futura-pt, sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* NAV PROPERTIES  */

.navbar,
.btn,
.dropdown-item {
    font-weight: 600;
}

.nav {
    display: inline-flex;
    align-items: center;
}
.social-icons {
    display: inline-flex;
    align-items: center;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.navbar-brand {
    font-weight: 400;
}

/* CARD PROPERTIES */

.card-title {
    font-family: futura-pt, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: calc(0.8rem + 0.8vw);
}

/* BACKGROUND IMAGES */

.bg-hands-symm {
    /* The image used */
    background-image: url("../img/handhold-symm.jpg");

    /* Full height */
    height: auto;

    /* Center and scale the image nicely */
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

.bg-face {
    /* The image used */
    background-image: url("../img/face.png");

    /* Full height */
    height: auto;

    /* Center and scale the image nicely */
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-face-contact {
    /* The image used */
    background-image: url("../img/face.png");

    /* Full height */
    height: auto;

    /* Center and scale the image nicely */
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-widehands {
    /* The image used */
    background-image: url("../img/handwide.png");

    /* Full height */
    height: auto;

    /* Center and scale the image nicely */
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-heartenv {
    /* The image used */
    background-image: url("../img/heart-env.png");

    /* Full height */
    height: auto;

    /* Center and scale the image nicely */
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

address {
    font-weight: 500;
    font-size: calc(1.2rem + 0.2vw);
}

.listed ul {
    font-weight: 600;
    font-size: 1.25rem;
}

.listed li {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.copy-small {
    font-weight: 400;
    font-size: calc(0.5rem + 0.5vw);
}

.xs-title {
    font-weight: 400;
    font-size: calc(0.6rem + 0.9vw);
}

.not-xs-title {
    font-weight: 400;
    font-size: calc(1rem + 0.7vw);
}

.social-icons {
    font-size: 2rem;
    font-weight: 400 !important;
}

.social-icons a {
    color: #fff !important;
    text-decoration: none !important;
}

.social-icons a:hover {
    color: #e0e0e0 !important;
}

.social-icons i {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.press ul {
    font-weight: 400;
    font-size: calc(1.2rem + 0.5vw);
}

.press i {
    font-weight: 600;
    font-size: calc(0.9rem + 0.5vw);
    margin-right: 0.5rem;
}

.press li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.link-whitebg a {
    color: hsl(0, 66%, 62%) !important;
    text-decoration: none !important;
}

.link-whitebg a:hover {
    color: hsl(0, 66%, 80%) !important;
}

.link-whitebg-black a {
    color: hsl(0, 0%, 40%) !important;
    text-decoration: none !important;
}

.link-whitebg-black a:hover {
    color: hsl(0, 0%, 60%) !important;
}

.link-redbg a {
    color: #fff !important;
    text-decoration: none !important;
}

.link-redbg a:hover {
    color: #e0e0e0 !important;
}

.blockquote-footer {
    font-weight: 600;
    font-size: calc(1rem + 0.2vw);
    margin-bottom: 1rem;
    font-style: italic;
}

.stroke-black {
    -webkit-text-stroke: 1px black;
}

.text-red {
    color: #de2a2a;
}

.text-black {
    color: #000;
}

/* New Gradient Animation for Donate Button */
/* Remove the keyframes animation */
/* @keyframes subtle-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} */

.gradient-donate-button {
    /* Remove gradient, animation, shadow, transition */
    /* background: linear-gradient(270deg, #ff85a2, #a77bff, #ff85a2); /* Pink to Purple to Pink */
    /* background-size: 200% 200%; */
    /* animation: subtle-gradient 6s ease infinite; */
    border: none; /* Remove default button border if needed */
    /* color: white !important; /* Ensure text is readable */
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Added subtle text shadow for contrast */
    /* transition: background 0.3s ease, box-shadow 0.2s ease; /* Smooth transition for hover/active */
    /* box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15),
    /* Darker shadow */ /* -5px -5px 10px rgba(255, 92, 92, 0.5); /* Lighter red shadow for bg-red context */
    /* Added neumorphic shadows */

    /* Add new simpler styles */
    background-color: white;
    color: #de2a2a !important; /* Using the existing red color */
}

/* Add heart beat animation */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.heart-beat {
    display: inline-block; /* Needed for transform */
    animation: heartBeat 1s ease-in-out infinite;
}

/* Define explicit hover state */
.gradient-donate-button:hover {
    background-color: white !important; /* Keep background white */
    color: #b02323 !important; /* Slightly darker red text */
    /* Optional: Add a subtle box-shadow if desired */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

/* Remove hover and active states */
/* .gradient-donate-button:hover {
  background: linear-gradient(270deg, #e6738f, #946de5, #e6738f); /* Slightly darker on hover */
/* background-size: 200% 200%; */
/* animation: subtle-gradient 6s ease infinite; /* Keep animation on hover */
/* box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.2),
    /* Darker shadow intensified */ /* -7px -7px 15px rgba(255, 110, 110, 0.6); /* Lighter red shadow intensified */
/* } */

/* .gradient-donate-button:active {
  box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.2),
    /* Darker inner shadow */ /* inset -3px -3px 6px rgba(255, 110, 110, 0.5); /* Lighter inner shadow */
/* background: linear-gradient(
    270deg,
    #cc6680,
    #815ecb,
    #cc6680 */ /* Even darker when active */
/* ); */
/* background-size: 200% 200%; */
/* animation: none; /* Optionally pause animation on active */
/* } */

.bg-red {
    background-color: #de2a2a;
}

#aboutnmt {
    padding-top: 100px;
    margin-top: -100px;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

#services {
    padding-top: 100px;
    margin-top: -100px;
    -webkit-background-clip: content-box;
    background-clip: content-box;
}

/* CAROUSEL */

/* Carousel base class */
.carousel {
    margin-bottom: 2rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 50rem;
    margin: 50%, 50%;
    background-color: #000;
}

.carousel-item > img {
    object-fit: cover;
    object-position: center 20%;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
    width: 100%;
    opacity: 1;
}

/* event page */

.giving-tier li {
    font-size: 1.3rem;
    font-weight: 500;
}

.rest-partners {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

.rest-partners p {
    font-weight: 600;
    padding: 0.5rem 1rem 0 1rem;
}

.rest-partners img {
    width: 200px;
    max-height: 200px;
    padding: 1rem;
}

/* News Feed Styles */
#news {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.news-feed-container {
    margin-top: 2rem;
}

.news-item {
    position: relative;
}

.news-title a {
    color: #212529;
    text-decoration: none;
}

.news-title a:hover {
    color: #dc3545;
}

.news-date {
    font-size: 0.85rem;
}

.news-description {
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.5rem;
}

.news-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsive adjustments for news items */
@media (max-width: 768px) {
    .news-title {
        font-size: 1.1rem;
    }

    .news-thumbnail {
        max-height: 60px;
        width: auto;
    }
}

/* Navbar spacer to prevent content overlap */
.navbar-spacer {
    height: 76px; /* Adjust this value to match your navbar height */
}

/* Donation Form Styles */
#donate {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url("/img/bg-hands.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1; /* Ensure content is above any potential overlaps */
}

#donate .card {
    border-radius: 8px;
    overflow: hidden;
}

.amount-btn {
    transition: all 0.2s ease;
}

.amount-btn.active {
    font-weight: bold;
}

#paymentForm label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

#submitButton {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#submitButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

#successMessage {
    text-align: center;
    padding: 2rem 1rem;
}

/* Responsive adjustments for donation form */
@media (max-width: 768px) {
    .amount-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* Impact Section Styles */
.impact-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.impact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.impact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.impact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.impact-item.active {
    border-left: 4px solid #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.impact-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    min-width: 70px;
    text-align: center;
}

.impact-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.impact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.impact-icon img {
    height: 24px;
    width: auto;
}

.impact-text {
    font-size: 0.95rem;
    color: #495057;
}

/* Responsive adjustments for impact items */
@media (max-width: 768px) {
    .impact-item {
        padding: 0.5rem;
    }

    .impact-amount {
        font-size: 1.25rem;
        min-width: 60px;
    }

    .impact-text {
        font-size: 0.85rem;
    }
}

/* Payment Method Styles */
.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

.payment-method:hover {
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.payment-method.active {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.payment-method-icon {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.payment-method-icon img {
    max-height: 40px;
    max-width: 100%;
}

.payment-method-name {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.payment-method-note {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.25rem;
}

.payment-form-section {
    transition: all 0.3s ease;
}

/* Responsive adjustments for payment methods */
@media (max-width: 768px) {
    .payment-method {
        padding: 0.75rem 0.25rem;
    }

    .payment-method-icon {
        height: 30px;
    }

    .payment-method-name {
        font-size: 0.8rem;
    }

    .payment-method-note {
        font-size: 0.7rem;
    }
}

/* Content Sections Styling */
#content-sections .card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#content-sections .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#content-sections .card-header {
    border-bottom: none;
    padding: 1rem;
}

#content-sections .news-title a {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
}

#content-sections .news-description {
    font-size: 1rem;
    line-height: 1.5;
}

#content-sections .news-thumbnail {
    max-height: 70px;
    object-fit: cover;
}

/* Main content styling */
.main-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.main-content .lead {
    font-size: 1.25rem;
    line-height: 1.6;
}

.what-sets-us-apart h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.what-sets-us-apart li {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Services preview section */
.services-preview h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.services-preview h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.services-preview p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Testimonial styling */
.testimonial-content p {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Founder section styling */
.bg-red p {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Call to action section */
.container-fluid.bg-light .lead {
    font-size: 1.3rem;
    line-height: 1.6;
}

.container-fluid.bg-light .btn {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
}

/* Stats Section Styling */
#hero-section + .container .card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

#hero-section + .container .card-text {
    font-size: 1.2rem;
}

#hero-section + .container .display-1 {
    font-size: 3.5rem;
}

/* Button sizing */
.btn {
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
}

.btn-sm {
    font-size: 0.95rem;
    padding: 0.3rem 1rem;
}

.btn-lg {
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
}

/* Hero section title styling */
#hero-section h1 {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

#hero-section h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 25%;
    right: 25%;
    height: 4px;
    background-color: #de2a2a;
    border-radius: 2px;
}

/* Founder Bio Section */
.full-bio-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.7s ease-out,
        opacity 0.5s ease-out;
    opacity: 0;
}

.full-bio-content.expanded {
    max-height: 1000px; /* Adjust if needed for longer content */
    opacity: 1;
    transition:
        max-height 0.7s ease-in,
        opacity 0.5s ease-in 0.2s; /* Delay opacity for smoother fade-in */
}

.bg-red {
    background-color: #de2a2a;
}

/* Responsive adjustments for Founder Image */
@media (max-width: 991.98px) {
    /* Below lg breakpoint */
    .bg-red .row .col-lg-3 img {
        max-width: 250px; /* Adjust size as needed */
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* Hover effect for Forbes image containers */
#hero-section .image-container,
.col-lg-8 .col-md-5 .image-container {
    /* More specific selector for the second image */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#hero-section .image-container:hover,
.col-lg-8 .col-md-5 .image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); /* Slightly enhanced shadow */
}

/* Lightbox Styling */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Ensure it's above navbar */
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

#lightbox-overlay.visible {
    opacity: 1;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid white;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

#lightbox-close:hover {
    color: #ccc;
}

/* Style subtitle in News Card */
#content-sections .col-lg-4 .card-body h3 {
    font-size: 1.1rem; /* Slightly smaller than default h4 */
    color: #6c757d; /* Bootstrap text-muted color */
    font-style: italic;
    font-weight: 400; /* Normal weight */
    border-bottom: 1px solid #dee2e6; /* Lighter border */
}

/* Prevent hover effect on News Card */
#content-sections .col-lg-4 .card:hover {
    transform: none; /* Reset transform */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Reset to default shadow */
}

/* Make h2 elements bold */
h2 {
    font-weight: bold;
}
