﻿/*#region Banner Gallery (brought from client.css) */
/* controls */
.ms-controls {
    display: none;
}


.ms-skin-default .ms-nav-next,
.ms-skin-default .ms-nav-prev {
    /*width: 30px;*/
    width: 52px;
    background: url(/Images/banner-prev.png) center center !important;
    height: 60px;
    cursor: pointer;
    top: 50%;
    /*left: 30px;*/
    left: -23px;
    margin-top: -30px;
    position: absolute;
    z-index: 10;
    /*display: none;*/
}

    .ms-skin-default .ms-nav-next:hover,
    .ms-skin-default .ms-nav-prev:hover {
        opacity: 0.8
    }

.ms-skin-default .ms-nav-next {
    right: -23px;
    left: auto;
    background: url(/Images/banner-next.png) center center !important;
}

.ms-skin-default .ms-nav-next,
.ms-skin-default .ms-nav-prev {
    /* display: block;*/
    width: 52px !important;
    height: 60px !important;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .ms-slide .ms-slide-layers .ms-layer.ms-caption {
        top: 0; 
        left: 0 !important; /* Keep it aligned to the left */
        padding: 0 !important; /* Reduce padding */
        font-size: 24px !important; /* Smaller font */
        max-width: 100% !important; /* Allow it to shrink */
    }

        .ms-slide .ms-slide-layers .ms-layer.ms-caption .btn-donate-light {
            display: inline-block !important;
            width: 100% !important; /* Button fits within screen */
            text-align: center !important;
            font-size: 18px !important; /* Adjust button size */
            margin-top: 10px !important; /* Some space above button */
        }

    .ms-layer.ms-caption {
        display: none;
    }
}

.ms-slide .ms-slide-layers .ms-layer.ms-caption h1,
.ms-slide .ms-slide-layers .ms-layer.ms-caption title,
.ms-slide .ms-slide-layers .ms-layer.ms-caption p {
    font-family: "Roboto Flex", sans-serif !important;
}

.btn-outline-banner {
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: 50px;
    padding: 7px 30px;
    text-decoration: none;
    font-size: 20px;
}

    .btn-outline-banner:hover {
        background-color: #4B1D5C;
        color: #fff;
    }
/* Make slider taller on small screens */
@media (max-width: 767.98px) {
    .ms-view {
        height: 600px !important; /* adjust as needed */
    }

    .ms-slide {
        height: 600px !important;
    }

        .ms-slide img {
            height: 100% !important;
            object-fit: cover; /* ensures image fills area */
        }
}

.ms-slide img {
    width: 100% !important
}

/* kill unexpected fades on captions/layers */
/*.ms-layer, .ms-caption, .ms-layer * {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}*/
/*#endregion */




/* Hero Section Styles */
.ms-slide-layers {
    left: 0 !important;
    position: relative; /* Add this */
}

    /* Circular shadow effect - vignette from left side */
    .ms-slide-layers::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /*background: radial-gradient( circle at 0% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 25%, rgba(0, 0, 0, 0.3) 40%, transparent 32% );*/
        background: radial-gradient( circle at 0% 50%, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 40%, transparent 32% );
        z-index: 1;
        pointer-events: none;
    }

.ms-layer.ms-caption {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 47%;
    padding: 20px 20px !important;
    z-index: 2; /* Add this to ensure content is above the overlay */
}


/* Content container */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 40px;
    color: white;
}

/* Main heading */
.hero-heading {
    font-family: "Roboto Flex", sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 33px;
}

/* Description text */
.hero-description {
    font-family: "Roboto Flex", sans-serif !important;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Button container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Base button styles */
.btn-hero {
    padding: 12px 32px;
    font-family: "Roboto Flex", sans-serif !important;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Know More button */
.btn-know-more {
    background-color: #e8e1ca;
    color: #000;
    border: 2px solid white;
}

    .btn-know-more:hover {
        background-color: white;
        color: #333;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }

/* Donate button - yellow/gold */
.btn-donate {
    background-color: #F5C842;
    color: #000;
    border: 2px solid #F5C842;
    margin-left: 10px;
}

    .btn-donate:hover {
        background-color: #E6B830;
        border-color: #E6B830;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    }

.ms-bullets.ms-dir-h{
    bottom:100px!important;
}
/* Responsive styles */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
       /* width: 100%;*/
        text-align: center;
    }

    .ms-slide-layers::after{
        background:none;
    }

    
}

@media (max-width: 1200px) {
    .ms-layer.ms-caption{
        min-height:unset;
    }

}