.main-section-org .help-desk{
    background-color: #DBEFEA;
    border-radius: 7px;
}

.main-section-org .covid--section{
    background-color: #F9DEDE;
    border-radius: 7px;
}

.main-section-org .amazon-block {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-section-org .amazon-block a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.main-section-org .amazon-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}
.main-section-org .donation--section{
    background-color:#294c64;
    border-radius: 7px;
}
.main-section-org .donation--section a p, .donation--section a small{
    color: white;
}

.main-section-org .donation--section:hover a p, .donation--section:hover a small{
    color: black;
}
.main-section-org .img-fluid--donation{
    max-width: 24%;
    height: auto;
}
.owl-nav-custom {
    text-align: center;
    margin-top: 30px;
    position: relative;
}

.owl-prev-custom, .owl-next-custom {
    background: linear-gradient(135deg, #0085df 0%, #0066b3 100%);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 20px;
    cursor: pointer;
    margin: 0 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 133, 223, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.owl-prev-custom::before, .owl-next-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.owl-prev-custom:hover, .owl-next-custom:hover {
    background: linear-gradient(135deg, #0066b3 0%, #004d99 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 133, 223, 0.4);
}

.owl-prev-custom:hover::before, .owl-next-custom:hover::before {
    left: 100%;
}

.owl-prev-custom:active, .owl-next-custom:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 133, 223, 0.3);
}

/* Ensure Owl Carousel items are visible */
.owl-carousel .owl-item {
    opacity: 1 !important;
    visibility: visible !important;
}

.owl-carousel .owl-stage {
    opacity: 1 !important;
    visibility: visible !important;
}

.owl-carousel .owl-stage-outer {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Enhanced carousel animations */
.owl-carousel .owl-item {
    transition: all 0.3s ease;
}

.owl-carousel .owl-item.active {
    transform: scale(1.02);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .custom-block-wrap {
        max-width: 100%;
        margin: 0 10px;
        min-height: 280px; /* Reduced for mobile */
    }
    
    .project-slider-section h2 {
        font-size: 2rem;
    }
    
    .custom-block-body h6 {
        font-size: 16px;
        max-height: 3.6em;
    }
    
    .custom-btn {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    .custom-block {
        min-height: 240px; /* Reduced for mobile */
    }
    
    .custom-block-body {
        margin: 12px 0 6px 0; /* Even more compact on mobile */
        min-height: 45px;
    }
}

/* Loading animation for carousel */
.project-slider.loading {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.project-slider.loaded {
    opacity: 1;
}

/* Enhanced card content spacing */
.custom-block {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    min-height: 140px; /* Reduced height for more compact look */
}

/* Image container enhancement */
.custom-block-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Add subtle overlay on hover */
.custom-block-wrap:hover .custom-block-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 133, 223, 0.1), rgba(69, 173, 214, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.custom-block-wrap:hover .custom-block-image-container::after {
    opacity: 1;
}

/* Enhanced typography */
.project-slider-section {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    padding: 60px 0;
    position: relative;
}

.project-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 133, 223, 0.3), transparent);
}

 .project-slider .item {
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 10px;
}

.project-slider {
    margin: 0 -10px;
}

/* Section title enhancement */
.project-slider-section h2 {
    font-size: 2.5rem;
    /* font-weight: 700;
    color: #2c3e50; */
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.project-slider-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0085df 0%, #45ADD6 100%);
    border-radius: 2px;
}

 .custom-block-wrap {
    width: 100%;
    max-width: 350px;
    height: 100%;
    min-height: 300px; /* Reduced height for more compact look */
    padding: 18px; /* Slightly reduced padding */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: column;
    border: 1px solid rgba(0, 133, 223, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.custom-block-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0085df 0%, #45ADD6 100%);
}

.custom-block-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 133, 223, 0.2);
    border-color: rgba(0, 133, 223, 0.3);
}

 .custom-block-image {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 12px;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-block-wrap:hover .custom-block-image {
    transform: scale(1.05);
}

.news-image--custom{
    width: 100%;
    height: 500px;
}

/* Hero Section - Full Width with Perfect 16:9 Aspect Ratio */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* Full viewport width */
    height: 56.25vw; /* 16:9 aspect ratio (9/16 = 0.5625) */
    max-height: 100vh; /* Don't exceed viewport height */
    min-height: 400px; /* Minimum height for smaller screens */
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%); /* Center full-width container */
    margin-right: calc(-50vw + 50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    object-position: center; /* Centers the image */
}

/* Hero section wrapper */
.main-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Ensure all child elements are contained */
    contain: layout style paint;
}

/* Override any container constraints for full-width hero */
.top-wrap.main-hero {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.top-wrap.main-hero .container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.top-wrap.main-hero .row {
    margin: 0 !important;
}

.top-wrap.main-hero .col-lg-12 {
    padding: 0 !important;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 1200px) {
    .hero-container {
        height: 50vw; /* Slightly taller on medium screens */
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        height: 60vw; /* Taller on mobile for better mobile experience */
        min-height: 300px;
    }
    
    /* Mobile carousel controls adjustments */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    margin: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
}

.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-hero .carousel-control-prev-icon::before,
.main-hero .carousel-control-next-icon::before {
    font-size: 28px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure proper positioning on mobile */
.main-hero .carousel-control-prev {
    left: 15px !important;
}

.main-hero .carousel-control-next {
    right: 15px !important;
}
}

@media (max-width: 480px) {
    .hero-container {
        height: 70vw; /* Even taller on small mobile */
        min-height: 250px;
    }
    
    /* Small mobile carousel controls adjustments */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    width: 45px !important;
    height: 45px !important;
    margin: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
}

.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-hero .carousel-control-prev-icon::before,
.main-hero .carousel-control-next-icon::before {
    font-size: 24px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure proper positioning on small mobile */
.main-hero .carousel-control-prev {
    left: 10px !important;
}

.main-hero .carousel-control-next {
    right: 10px !important;
}
}

/* Ensure the carousel takes full width */
.main-hero .carousel {
    width: 100%;
    height: 100%;
    position: relative !important; /* Required for absolute positioning of controls */
    overflow: hidden; /* Prevent controls from appearing outside */
}

.main-hero .carousel-inner {
    width: 100%;
    height: 100%;
}

.main-hero .carousel-item {
    width: 100%;
    height: 100%;
}

.main-hero .carousel-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Enhanced carousel controls for better UX */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 20px;
    transition: all 0.3s ease;
    position: absolute !important;
    top: 50% !important; /* Center vertically */
    transform: translateY(-50%) !important; /* Perfect vertical centering */
    z-index: 10; /* Ensure buttons are above images */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* Ensure controls are only visible within hero section */
    pointer-events: auto !important;
}

.main-hero .carousel-control-prev:hover,
.main-hero .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.1) translateY(-50%) !important; /* Maintain vertical centering while scaling */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    width: 100% !important;
    height: 100% !important;
    filter: none !important; /* Remove any filters */
    background-image: none !important; /* Remove Bootstrap background images */
    background: none !important; /* Remove any backgrounds */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Custom arrow icons - Force display with !important */
.main-hero .carousel-control-prev-icon::before {
    content: '' !important; /* Left arrow */
    font-size: 40px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: block !important;
}

.main-hero .carousel-control-next-icon::before {
    content: '›' !important; /* Right arrow */
    font-size: 40px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: block !important;
}

/* Alternative: Use CSS triangles for arrows */
.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    position: relative;
}

.main-hero .carousel-control-prev-icon::after {
    /* content: ''; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

/* .main-hero .carousel-control-prev-icon::after {
    border-width: 8px 12px 8px 0;
    border-color: transparent #ffffff transparent transparent;
} */

.main-hero .carousel-control-next-icon::after {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #ffffff;
}

/* Force hide Bootstrap's default carousel icons */
.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    background-image: none !important;
    background: none !important;
}

/* Use better arrow symbols */
.main-hero .carousel-control-prev-icon::before {
    content: '<' !important; /* Better left arrow */
    font-size: 32px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: block !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
}

.main-hero .carousel-control-next-icon::before {
    content: '>' !important; /* Better right arrow */
    font-size: 32px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    display: block !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5 !important;
}

/* Enhanced arrow visibility */
.main-hero .carousel-control-prev-icon,
.main-hero .carousel-control-next-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure arrows are visible on all backgrounds */
.main-hero .carousel-control-prev-icon::before,
.main-hero .carousel-control-next-icon::before {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
}

.main-hero .carousel-control-prev-icon::after,
.main-hero .carousel-control-next-icon::after {
    z-index: 1;
}

/* Ensure proper positioning for left and right controls */
.main-hero .carousel-control-prev {
    left: 20px !important; /* Position from left edge */
}

.main-hero .carousel-control-next {
    right: 20px !important; /* Position from right edge */
}

/* Force visibility of carousel controls */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    /* Ensure no gaps between icon and background */
    overflow: hidden !important;
    box-sizing: border-box !important;
    /* Ensure controls are only visible within hero section */
    position: absolute !important;
    z-index: 10 !important;
}

/* Ensure carousel inner has proper positioning context */
.main-hero .carousel-inner {
    position: relative !important;
    overflow: hidden; /* Prevent any overflow */
}

/* Ensure controls are ONLY visible within the hero section */
.main-hero .carousel .carousel-control-prev,
.main-hero .carousel .carousel-control-next {
    display: flex !important;
}

/* Hide carousel controls outside of hero section */
.carousel-control-prev:not(.main-hero .carousel-control-prev),
.carousel-control-next:not(.main-hero .carousel-control-next) {
    display: none !important;
}

/* Enhanced visibility for controls */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    backdrop-filter: blur(5px); /* Subtle blur effect for better visibility */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    /* Debug: Ensure controls are visible */
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    /* Ensure controls are scoped to hero section only */
    position: absolute !important;
    z-index: 10 !important;
}

/* Mobile-specific icon alignment fixes */
@media (max-width: 768px) {
    .main-hero .carousel-control-prev-icon::before,
    .main-hero .carousel-control-next-icon::before {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }
}

@media (max-width: 480px) {
    .main-hero .carousel-control-prev-icon::before,
    .main-hero .carousel-control-next-icon::before {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        vertical-align: middle !important;
    }
}

/* Ensure controls are visible on light images */
.main-hero .carousel-control-prev,
.main-hero .carousel-control-next {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for better contrast */
}

/* Smooth transitions for carousel items */
.main-hero .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

/* Loading state for better perceived performance */
.main-hero .carousel.loading {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.main-hero .carousel.loaded {
    opacity: 1;
}

.stat- h6{
padding-left: 22px;
padding-top:5px;
}
.customp p{
    color: white;
}

.custom-objective {
    display: inline-block;
    overflow: hidden;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  }
  
.custom-objective:hover {
transform: scale(1.01);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.events--img{
    width: 100%;
    height: 257px;
    border-radius: 12px;
}
.text-blue{
    color: #0085df;
}

.custom-block-body {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    margin: 15px 0 8px 0; /* Reduced spacing */
    text-align: center;
    flex-grow: 1; /* Allow this section to grow and push button to bottom */
    min-height: 50px; /* Reduced minimum height */
}

.custom-block-body h6 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    color: #0085df;
    text-shadow: 0 1px 2px rgba(0, 133, 223, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-height: 3.9em; /* Limit to 3 lines */
    overflow: hidden;
}

.custom-btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100%;
    background: linear-gradient(135deg, #0085df 0%, #0066b3 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 133, 223, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: auto !important; /* Push button to bottom */
    align-self: flex-end !important; /* Ensure button stays at bottom */
}

.custom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.custom-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 133, 223, 0.4) !important;
    background: linear-gradient(135deg, #0066b3 0%, #004d99 100%) !important;
    color: white !important;
    text-decoration: none !important;
}

.custom-btn:hover::before {
    left: 100%;
}

.custom-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(0, 133, 223, 0.3) !important;
}
.text-link-color{
    color: #45ADD6;
}

.primary--heading{
    color: var(--secondary-color);
    padding-bottom: 4px;
    font-weight: 600;

}

.secondary--heading{
    color: #0085df;
    font-weight: 500;
}

.custom--table--header{
    background-color: #0085df !important;
}