/* Full width on desktop, responsive & fluid everywhere */
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}


/* =========================================================
   CRESCENT RELIEF – FIXED NAVBAR (BOOTSTRAP 5)
   ========================================================= */
.cr-navbar {
    background-color: #6C1319 !important;
    color: #ffffff !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}


/* Increase logo size */
.navbar-brand img {
    height: 100px !important;   /* adjust size */
    width: auto !important;
    object-fit: contain;
    background: transparent !important; /* remove white background */
}


/* Desktop: Make navbar fixed */
@media (min-width: 992px) {
    .cr-navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0;
    }
}

/* Prevent content from sliding under fixed navbar */
body {
    padding-top: 50px !important; /* adjust if navbar height changes */
    font-size: 18px;   /* default is usually 14–16px */
    line-height: 1.6;  /* optional: improves readability */
}

/* ---------------------------------------------------------
   NAVIGATION LINKS
   --------------------------------------------------------- */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffffd4 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: 0.25s;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   DROPDOWN MENU
   --------------------------------------------------------- */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.dropdown-item:hover {
    background-color: #6C1319 !important;
    color: #fff !important;
}

/* ---------------------------------------------------------
   LEGACY DONATE BUTTON STYLE (KEEPING)
   --------------------------------------------------------- */
.btn-donate {
    background-color: transparent;
    color: firebrick !important;
    font-size: 1.30rem !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.0rem !important;
    text-align: center !important;
    border: 1px solid #6C1319 !important;
    border-radius: 8px !important;   /* ← Rounded corners added */
    transition: all 0.3s ease !important;
}

.btn-donate:hover {
    background-color: #6C1319;
    color: #fff !important;
    text-decoration: none !important;
}

/* ---------------------------------------------------------
   MOBILE DONATE BUTTON GROUPS
   --------------------------------------------------------- */
.mobile-donation-buttons {
    display: none;
}


/* ---------------------------------------------------------
   Make all service items equal height & flexible
   --------------------------------------------------------- */
.service-item{
    margin-bottom: 15px !important;
}

.service-donate{
    margin-bottom: 45px !important;
}

.service-text{
    margin-top: 20px !important;
}


.causes-text{
    padding-top: 10px !important;
    padding-bottom: 25px !important;
}

/*.service-fixed {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    height: 300px;   /* adjust as needed */
/*    padding-bottom: 5px;*/
/*}*/

/* Let the text area expand */
/*.service-fixed .service-text {*/
/*    flex-grow: 0;*/
/*}*/

/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */
.img-4x3 {
    width: 100%;              /* Always fill container width */
    aspect-ratio: 4 / 3;      /* Always 4:3 */
    object-fit: cover;        /* Crop edges but look perfect */
    border-radius: 8px;
}


.cause-img-box {
    width: auto;     /* FIXED WIDTH */
    height: auto;    /* FIXED HEIGHT (4:3 ratio) */
    overflow: hidden; 
}

.cause-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Ensures perfect cropping */
}


/* ---------------------------------------------------------
    Make all donation cards consistent
   --------------------------------------------------------- */
.donation-card {
    /*max-width: 450px;*/
    width: 100%;
}

.donation-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Consistent spacing */
.donation-col {
    margin-bottom: 2rem;
}



/* ---------------------------------------------------------
   CAROUSEL + VIDEO STYLES (UNCHANGED)
   --------------------------------------------------------- */
.carousel-group-title {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 20px;
    color: FireBrick;
    text-transform: uppercase;
}

.carousel-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.video-thumbnail {
    width: 100%;
    max-width: 480px;
    height: auto;
    cursor: pointer;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover {
    opacity: 0.8;
}

.video-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start; /* or center */
}


/* ---------------------------------------------------------
   MOBILE RULES
   --------------------------------------------------------- */
@media (max-width: 768px) {
    .body {
        padding-top: 80px !important; 
    }    

    .carousel-btns {
        flex-direction: column;
        align-items: center;
    }

    .donation-buttons {
        align-items: stretch;
    }

    .btn-donate {
        width: 100%;
    }

    /* Hide desktop donate buttons on mobile */
    .donation-buttons {
        display: none !important;
    }

    /* Show mobile version */
    .mobile-donation-buttons {
        display: flex !important;
    }
}


#addressResults {
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    margin-top: 5px;
    padding: 0;
}

.address-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
}

.address-item:last-child {
    border-bottom: none;
}

.address-item:hover {
    background: #f5f7ff;
}


.whatsapp-title-link {
    color: #25D366;
    font-size: 2.5rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.whatsapp-title-link:hover {
    transform: scale(1.15);
    opacity: 0.85;
}




/*---------modal----------------*/
.modal-dialog{
    margin-top:70px;    
}



.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 3000;
    padding: 14px 0;
    font-size: 0.95rem;
}

