body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.background-theme-1 {
    background-image: url(../imagesv1/bg-image.png);
    background-repeat: no-repeat;
    background-size: 100% 310px;
    background-position: top center;
    padding-top: 77px;
    padding-bottom: 20px;
    background-color: #f4f4f4;
    box-shadow:
        -15px 0 15px -15px rgba(0, 0, 0, 0.2), /* Left shadow */
        15px 0 15px -15px rgba(0, 0, 0, 0.2);  /* Right shadow */
    position: relative; /* Needed for proper shadow rendering */
    z-index: 1; /* Ensures shadow appears above other elements */
}

.background-theme-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 77px;
    background-image: url("../imagesv1/bg-image.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    z-index: -1;
}

.top-menu-bar {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.donation-icons {
    display: flex;
    text-align: center;
    padding: 0.5rem 0;
    background-image: url("../imagesv1/banner-image.png");
    background-size: cover;
    flex-wrap: wrap;
    justify-content: space-around;
}

.donation-now-header{
    display: flex;
    text-align: center;
    padding: 0.5rem 0;
    background-size: cover;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
}

.donation-icon {
    flex: 1;
    min-width: 100px;
    padding: 0.5rem 0;
    position: relative;
    cursor: pointer;
}

.donation-icon:nth-child(2) .icon-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.donation-icon:first-child .icon-image,
.donation-icon:last-child .icon-image {
    width: 80px;
    height: 80px;
    margin: 10px auto;
}

.icon-image2 {
    background-color: #120e42;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.25);
}

.icon-image img {
    width: 100%;
    height: 178px;
}
.icon-image2 img {
    width: 60%;
    height: auto;
}
.icon-image2 {
    width: 180px;
    height: 180px;
    margin: 0 auto; /* center horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}
.subheading {
    background-color: #120e42;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    padding: 8px 0;
}

.banner .subheading {
    padding: 8px 0;
}

.donation-image-list .subheading {
    padding: 8px 0;
}

.image-container {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equal-height-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.donation-icon:nth-child(2) .icon-image img {
    width: 70%;
    height: auto;
}

.donation-container {
    background-image: url("../imagesv1/banner-image.png");
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 150px);
    gap: 30px;
    justify-items: center;
    justify-content: center;
}

.donation-amount {
    width: 100px;
    height: 100px;
    border: 2px solid;
    border-radius: 50%;
    background-color: #120e42;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.donation-amount:hover {
    transform: scale(1.1);
}

.screen-title {
    font-size: 28px;
    color: #120e42;
}

.donation-icon .icon-image {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.donation-icon .icon-image:hover {
    transform: scale(1.05);
}

.subheading span {
    transition: all 0.2s ease;
}

.subheading span:hover {
    text-decoration: underline;
}

.image-container,
.donation-image-list .subheading span {
    cursor: pointer;
    transition: all 0.2s ease;

}
.donation-image-list{
    margin-right: 0px;
    margin-left: -11px;
}
.image-container:hover {
    opacity: 0.9;
}

.donation-image-list .subheading span:hover {
    text-decoration: underline;
}

.donation-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 22px;
}

.purple-btn {
    background-color: #120e42;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.purple-btn:hover {
    transform: scale(1.05);
}

.donation-toggle {
    display: inline-flex;
    background-color: #ddd;
    border-radius: 30px;
    padding: 10px;
}

.toggle-btn {
    background-color: transparent;
    color: #111144;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: #0d0d4d;
    color: white;
    box-shadow: 0 0 0 3px #4da3ff;
}

.donation-frequency-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 25px;
}

.donation-container .selected {
    transform: scale(1.2);
    background-color: #89ABF6;
}

.custom-donation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px;
    background-color: #120e42;
    color: white;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.currency-symbol {
    font-size: 2rem;
    font-weight: bold;
    color: #120e42;
    margin-right: 10px;
}

.amount-input {
    font-size: 2rem;
    font-weight: bold;
    color: #120e42;
    width: 150px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.amount-input:focus {
    outline: none;
    border-color: #120e42;
}

.modal-footer {
    display: flex;
    border-top: 1px solid #eee;
}

.modal-footer button {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.cancel-btn {
    background-color: #f5f5f5;
    color: #333;
}

.confirm-btn {
    background-color: #120e42;
    color: white;
}


.currency-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    padding-top: 15px;
}

.currency-selection label {
    margin-right: 10px;
    font-weight: bold;
    color: #555;
}

.currency-options {
    display: flex;
    gap: 10px;
}

.currency-option {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    cursor: pointer;
    color: #333;
}

.currency-option.selected-currency {
    background-color: #372476; /* Or a color that matches your theme */
    color: white;
    border-color: #372476;
}

.currency-symbol-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #372476;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.khums-donation-container {
    background-image: url(../imagesv1/banner-image.png);
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    /*border-radius: 12px;*/
}

.khums-header {
    text-align: center;
    margin-bottom: 30px;
}

.khums-title {
    color: #120e42;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.khums-split {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.split-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.split-label {
    font-weight: bold;
    color: #120e42;
    font-size: 22px;
    margin-bottom: 10px;
}

.split-input {
    display: flex;
    align-items: center;
}

.currency-symbol {
    font-weight: bold;
    color: #120e42;
    margin-right: 5px;
    font-size: 16px;
}

.amount-input {
    width: 140px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #120e42;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}


.khums-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    width: 100%;
}

.total-label {
    font-weight: bold;
    color: #120e42;
    font-size: 22px;
    margin-bottom: 10px;
}

.total-amount {
    display: flex;
    align-items: center;
    justify-content: center;

}

#totalAmount {
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: center;
    width: 140px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #120e42;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    /*background-color: #f0f0f0;*/
    cursor: not-allowed;
}

.declaration-donation-container {
    background-image: url(../imagesv1/banner-image.png);
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 20px auto;
}

.declaration-heading {
    display: block;
    text-align: center;
    color: #120e42;
    font-size: 22px;
    font-weight: 600;
}

.declaration-title {
    display: block;
    text-align: center;
    color: #120e42;
    font-size: 12px;
}
.gift-aid-form  {
    width: 100%;
    padding: 20px;
}

.gift-aid-form form {
    display: flex;
    flex-direction: column;
}

.gift-aid-form input[type="text"] {
    padding: 5px 4px;
    margin: 4px 0px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 10px;
}

.gift-aid-form input[type="text"]:focus {
    border-color: #6a1b9a;
    outline: none;
}

.gift-aid-form label {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.background-theme-2 {
    height: 100vh;
    background-image: url(../imagesv1/thank-you-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow:
        -15px 0 15px -15px rgba(0, 0, 0, 0.2), /* Left shadow */
        15px 0 15px -15px rgba(0, 0, 0, 0.2);  /* Right shadow */
    position: relative; /* Needed for proper shadow rendering */
    z-index: 1; /* Ensures shadow appears above other elements */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thank-you-splash{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding-top: 65px;
}

.img-container{
    height: auto;
    width: 250px;
}

.thank-you-txt span {
    display: block;
    text-align: center;
    color: #120e42;
    font-size: 22px;
    font-weight: 600;
}

.thank-you-msg {
    text-align: center;
    padding: 20px; /* optional for spacing */
}
.khums-screen , .gift-aid-screen,.donate-now-screen {
    /*margin-top: 60px;*/
    /*padding-top: 66px;*/
}


.first-screen{
    margin-top: 0px;
}

.participant-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.participant-title {
    font-weight: bold;
    color: #120e42;
    font-size: 16px;
}

.participant-total {
    font-weight: bold;
    color: #120e42;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.participant-name {
    width: 140px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px !important;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #120e42;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.sidebar-container {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 100;
    pointer-events: none;
}

.sidebar {
    position: absolute;
    top: 0;
    left: -60px; /* Start hidden */
    min-width: 60%;
    height: 100%;
    background-color: #D9D9D9;
    transition: transform 0.3s ease;
    pointer-events: auto;
    z-index: 101;
    transform: translateX(-100%);
}

.sidebar.sidebar-open {
    transform: translateX(60px);
}

.sidebar-logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 80px;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 20px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #0F0E41;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar-item svg {
    margin: 0 18px;
}

.sidebar-text {
    font-size: 20px;
    font-weight: 500;
}

.sidebar a {
    text-decoration: none;
    color: inherit;
    display: flex; /* Ensures the whole row is clickable */
    align-items: center;
    padding: 10px 10px;
    border-radius: 4px; /* Optional: smooth corners */
    transition: background-color 0.2s ease;
}

.sidebar a:hover,
.sidebar a:focus {
    background-color: #e0e0e0; /* Light gray background */
    color: #000; /* Optional: darker text color on hover */
}


.sidebar-footer a {
    display: inline-block;
    margin: 0 8px;
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: #ccc; /* Lighter color on hover */
}

.submenu-sidebar {
    position: absolute;
    top: 330px;
    left: 100%;
    min-width: 190px;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    display: none;
    z-index: 102;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.submenu-sidebar a {
    display: block;
    color: #0F0E41;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
}

.submenu-sidebar a:hover {
    background-color: #e0e0e0;
}


/* Make container position relative */
.background-theme-1 {
    position: relative;
}

/* Update burger menu button */
.burger-menu-btn {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.burger-menu-btn.menu-open {
    /*transform: translateX(60px);*/
}

.carousel-container {
    position: relative;
    /* overflow: hidden; */
}

.carousel-dots-container {
    text-align: center;
    padding-top: 60px; /* Carousel se thoda faasla */
    position: absolute; /* container ke andar position set karein */
    /*top: 25px;*/
    bottom: -25px; /* Bottom se 0px faasla */
    left: 50%; /* Center mein lane ke liye */
    transform: translateX(-50%); /* Bilkul center mein adjust karne ke liye */
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}
.scrollable-div {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollable-div::-webkit-scrollbar {
    display: none;
}
.horizontal-grid-container {
    display: grid;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-grid-container::-webkit-scrollbar {
    display: none;
}

.donation-item {
    width: 225px;
    margin-right: 9px;
    margin-left: 12px;
    margin-top: 10px;
}
.carousel-container {
    position: relative;
    width: 100%;
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

#left-arrow {
    left: 10px;
}

#right-arrow {
    right: 10px;
}
.donation-container {
    position: relative;
}

.top-right-btn {
    position: absolute;
    top: 89px;
    right: 23px;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.top-right-btn:hover {
    background-color: #120E42;
    color: #fafafa;
}
@media (max-width: 369px) {
    .donation-icon:first-child .icon-image,
    .donation-icon:last-child .icon-image {
        width: 60px !important;
        height: 60px !important;
    }

}
@media (min-width: 360px) and (max-width: 576px) {
    .participant-info {
        margin-bottom: 20px;
    }
    .screen-title {
        font-size: 30px;
    }
    span.declaration-heading{
        margin-top: 60px !important;
    }

    div#donationForText {
        margin-top: 50px !important;
    }

    .first-screen{
        margin-top: 1px;
    }
    .donate-now-screen, .gift-aid-screen, .khums-screen{
        margin-top: 0px;
    }

    .khums-split{
        gap: 16px;
    }

    .khums-total{
        padding-top: 0px;
    }

    .donation-icon {
        flex: 1 1 20%;
        padding-top: 0px;
    }

    .donation-icon:nth-child(2) .icon-image {
        width: 90px;
        height: 90px;
    }

    .donation-icon:first-child .icon-image,
    .donation-icon:last-child .icon-image {
        /*width: 100px !important;*/
        /*height: 100px !important;*/
    }
    .icon-image2 img {
        width: 78% !important;
        height: auto;
    }
    .icon-image2{
        width: 160px;
        height: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .image-container {
        height: 120px;
    }
    .donation-item{
        width: 164px;
        margin-right: 9px;
        margin-left: 12px;
        margin-top: 10px;
    }
}

