﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #221f20;
}

html, body {
    height: 100%;
    font-family: 'Poppins', 'Montserrat', 'Nunito Sans', Arial, sans-serif;
    color: #603813;
    background-color: #e4cba2;
    background: url('/upload/bg1.jpg') top left;
    background-color: #e4cba2; /*url('/upload/right.png') center / cover no-repeat;*/
    background-size: 100% auto;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    overflow-y: auto;
}


.page-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #e4cba2;
    background: url('/upload/bg1.jpg') top left;
    background-color: #e4cba2; /*url('/upload/right.png') center / cover no-repeat;*/
    background-size: 100% auto;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

/* HERO */
/*.hero {
    flex: 1;*/ /* automatically fill remaining width */
    /*min-height: 100vh;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    margin-right: -100px;
    position: relative;
    z-index: 0;
}

.leftpanel {
    width: 95%;
    position: relative;
    background: #e4cba2;
    padding: 10px;
}*/

.hero {
    flex: 1; /* automatically fill remaining width */
    min-height: 100vh;
    background: url('/upload/bg1.jpg') top left;
    background-color: #e4cba2; /*url('/upload/right.png') center / cover no-repeat;*/
    background-size: 100% auto;
    background-size: cover;
    background-position: center;
    background-repeat:repeat;
    margin-right: -100px;
    position: relative;
    z-index: 0;
}

/* RIGHT PANEL */
.right-panel {
    width: 420px;
    min-height: 100vh; /* 👈 important */
    background: url('/upload/right.png') repeat-y top left;
    background-size: 420px auto;
    padding: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.rightLayout {
    flex: 1;
    flex-direction: column;
    width: 100%;
    /*min-height: 90vh;*/
    height: auto;
    align-items: flex-start;
    text-align: right;
}
    /* LOGO */
    .logo {
        margin-top: 20px;
        margin-bottom: 20px;
    }

        .logo img {
            max-width: 200px;
        }
    /* MENU */
    .menu {
        list-style: none;
        text-align: right;
        margin-top: 50px;
        margin-bottom: 100px;
    }

        .menu li {
            margin: 18px 0;
        }

            .menu li a {
                text-decoration: none;
                color: #221f20;
                font-size: 1.25rem;
                font-weight: 700;
                opacity: 0.7;
            }

                .menu li a:hover {
                    opacity: 1;
                }

                .menu li a.active {
                    opacity: 1 !important;
                }
    /* BOTTOM TEXT */
    .caption {
        position: absolute;
        left: 40px;
        bottom: 30px;
        color: #fff;
        font-size: 14px;
        letter-spacing: 1px;
        max-width: 600px;
        text-align: justify;
    }

    #PageTitle {
        font-size: 1.6rem;
        font-weight: 600;
        text-align: left;
        background: #785d48;
        color: #fff;
        padding: 10px;
        text-transform: uppercase;
    }

    #PageSubTitle {
        font-size: 1.6rem;
        font-weight: 600;
        text-align: left;
        color: #603813;
        padding: 5px 10px;
        text-align: center;
    }

    #PageData {
        position: relative;
        width: 100%;        
    }

.PageData {
    position: relative;
    width: 100%;
    padding-right: 20px;
}

    hr {
        border: none;
        border-top: 2px solid #fff;
        margin: 16px 0;
    }

    .btn-help-us {
        background-color: #9c6c52;
        border-color: #9c6c52;
        border-radius: 10px;
        font-weight: 500;
        color: #fff;
    }

        .btn-help-us:hover {
            background-color: #785d48;
            border-color: #785d48;
            font-weight: 500;
            color: #fff;
        }

/*#socialLinks {
    position:fixed;
    margin-top: auto;*/ /* pushes it to bottom */
    /*align-self: flex-end;*/ /* pushes it to right */
    /*margin-right: 20px;
    margin-bottom: 50px;
    z-index:99999;
}*/

    .social-icons a {
        display: inline-block;
        width: 42px;
        height: 42px;
        line-height: 42px;
        text-align: center;
        margin-right: 8px;
        color: #fff;
        border-radius: 50%;
        font-size: 18px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

        .social-icons a:hover {
            transform: scale(1.1);
            opacity: 0.85;
        }
    /* HAMBURGER */
.hamburger {
    display: none;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 999;
    color: #fff;
}
    /* ===== RESPONSIVE ===== */

    @media (max-width: 1024px) {
        .hero {
            width: calc(100%-360px);
        }

        .leftpanel {
            width: calc(100%-360px);
        }

        #PageData {
            position: relative;
            width: calc(100% - 360px);
        }

        .right-panel {
            width: 360px;
        }

        #PageTitle {
            padding-left: 10px;
            padding-top: 5px;
            padding-bottom: 15px;
            max-width: 50%;
        }
    }

    @media (max-width: 768px) {
        .page-wrapper {
            flex: none;
            width: 100%;
            display: block;
        }

        #PageData {
            position: relative;
            width: 100%;            
        }
        .PageData {
            position: relative;
            width: 100%;
            padding-right: 0px;
        }

        #HeroBg {
            width: 100% !important;
            max-height: 100vh !important;
        }

        .hero {
            margin-left: 0;
            width: 100%;
            max-width: 100%;
            min-height: 100vh;
            margin-right: 0px;
        }

        .leftpanel {
            width: 100%;
        }

        .hamburger {
            display: block;
            top: 10px;
            font-size: 36px;
            font-weight: 700;
            z-index: 99;
        }

        .right-panel {
            position: absolute;
            top: 0;
            padding: 35px 10px;
            background: url('/upload/bg1.jpg') repeat-y top left;
            background-color: #e4cba2; /*url('/upload/right.png') center / cover no-repeat;*/
            background-size: 420px auto;
            transform: translateX(100%);
            width: 100%;
            align-items: center;
            text-align: center;
            z-index: 10;
        }

            .right-panel.active {
                transform: translateX(0);
            }

        .menu {
            text-align: center;
        }

            .menu a {
                text-decoration: none;
                color: #000;
                font-size: 22px;
                font-weight: 600;
                opacity: 0.6;
            }

                .menu a:hover {
                    opacity: 1;
                }

                .menu a.active {
                    opacity: 1;
                }

        .caption {
            font-size: 12px;
            left: 20px;
            right: 20px;
        }

        #PageTitle {
            position: relative;
            margin: 0px;
            padding-left: 10px;
            padding-top: 15px;
            padding-right: 25px;
            padding-bottom: 15px;
            max-width: 100%;
        }

       /* #socialLinks {
            margin-top: 100px;
        }*/
    }
    /* Brand colors */
    .facebook {
        background: #785d48;
    }

    a.facebook i {
        color: #fff;
    }

    .instagram {
        background: #785d48;
    }

    a.instagram i {
        color: #fff;
    }

    .twitter {
        background: #785d48;
    }

    a.twitter i {
        color: #fff;
    }

.whatsapp {
    background: #785d48;
}

a.whatsapp i {
    color: #fff;
}

    .youtube {
        background: #785d48;
    }

    a.youtube i {
        color: #fff;
    }

    .about-container {
        position: relative;
        width: 80%;
        background: #e4cba2;
        border-radius: 8px;
        padding: 20px;
    }

    .page-container {
        position: relative;
        width: 100%;
        /*background: #e4cba2;*/
        border-radius: 8px;
        padding: 20px;
    }
    /* Tabs */
    .tabs {
        display: flex;
        border-bottom: 0px solid #eee;
        margin-bottom: 0px;
        box-shadow: inset 0 -2px 0 #e4cba2;
        background-color: #785d48;
    }

    .tab {
        flex: 1;
        padding: 12px;
        text-align: center;
        cursor: pointer;
        font-weight: 600;
        border: none;
        background: none;
        color: #e4cba2;
        font-size: 16px;
        transition: 0.3s;
    }

        .tab.active {
            color: #fff; /* Your red theme */
            border-bottom: 3px solid #fff;
        }
    /* Tab Content */
    .tab-content {
        display: none;
        min-height: 100vh;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

        .tab-content.active {
            display: block;
            opacity: 1;
        }
    /* =========================
   📱 MOBILE RESPONSIVE
   ========================= */
    @media (max-width: 768px) {

        .about-container {
            position: relative;
            margin-top: 60px;
            width: 100%;
            padding: 15px;
        }

        .page-container {
            position: relative;
            width: 100%;
            padding: 20px;
        }

        #pageBody
        {
            padding: 15px;
        }

        .tabs {
            flex-direction: column;
            border-bottom: none;
        }

        .tab {
            text-align: left;
            padding: 14px 12px;
            border-bottom: 1px solid #eee;
            font-size: 15px;
        }

            .tab.active {
                border-bottom: 1px solid #785d48;
                background: #e4cba2;
                color: #785d48;
            }
    }
    /* =========================
   📱 SMALL MOBILE
   ========================= */
    @media (max-width: 480px) {

        .tab {
            font-size: 14px;
            padding: 12px 10px;
        }

        .page-container {
            position: relative;
            width: 100%;
            padding: 20px;
        }
    }

    .donate-now {
        display: inline-block;
        background-color: #785d48;
        color: #ffffff;
        text-decoration: none;
        padding: 12px 50px;
        border-radius: 8px;
        border: 1px solid #fff;
        font-size: 22px;
        font-weight: bold;
        box-shadow: 0 4px 6px rgba(255,255,255,0.8);
    }

        .donate-now:hover {
            background-color: #9c6c52;
        }

    .cookie-consent {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.85);
        color: #fff;
        padding: 15px;
        display: none;
        z-index: 9999;
    }

    .cookie-box {
        max-width: 900px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .btn-accept {
        background: #e4cba2;
        color: #2b2b2b;
        border: none;
        padding: 10px 18px;
        cursor: pointer;
        border-radius: 6px;
        font-weight: 600;
    }

.table > :not(caption) > * > * {
    background-color: rgb(220,218,207, 0.2);
}

.table > tbody > tr.odd > td {
    background-color: rgb(220,218,207, 0.2);
    box-shadow: none;
}

.tbody, td, tfoot, th, thead, tr {
    background-color: rgb(220,218,207, 0.2);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(220,218,207, 0.2);
}

tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style solod;
    border-block-color: rgb(220,218,207, 0.8);
}
    /** Language dropdown**/
    .language-dropdown {
        position: absolute;
        display: inline-block;
        top: 5px;
        right: 35px;
        color: #fff;
    }

    .lang-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 3px 20px;
        border: 1px solid #b27350;
        border-radius: 2px;
        cursor: pointer;
        color: #fff;
        font-weight: 600;
        background: #9c6c52;
    }

        .lang-btn span {
            color: #fff;
        }

    .lang-menu {
        display: none;
        position: absolute;
        top: 0px;
        right: 0;
        background: #9c6c52;
        border: 1px solid #ddd;
        border-radius: 6px;
        width: 160px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        color: #fff;
    }

        .lang-menu div {
            padding: 5px 10px;
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            background: #9c6c52;
            border: 1px solid #b27350;
            color: #fff;
        }

            .lang-menu div:hover {
                background-color: #785d48;
            }

    .flag {
        width: 30px;
        height: 15px;
        object-fit: cover;
    }

    @media (max-width: 768px) {
        .language-dropdown {
            right: 60px;
        }

        /*#socialLinks {
            margin-top: 100px;
            text-align: center;
        }*/
    }

.auth-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap; /* responsive */
}

        .auth-buttons .btn {
            padding: 5px 15px;
            font-size: 16px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }
    /* Sign In */
    .btn-signin {
        background: #785d48;
        border: 2px solid #785d48;
        color: #fff;
    }

        .btn-signin:hover {
            background: #9c6c52;
            border: 2px solid #9c6c52;
            color: #fff;
        }
    /* Sign Up */
    .btn-signup {
        background: #785d48;
        color: #fff;
        border: 2px solid #785d48;
    }

        .btn-signup:hover {
            background: #9c6c52;
            border-color: #9c6c52;
            color: #fff;
        }

    .custom-submit {
        background: #785d48;
        color: #fff;
        border: 2px solid #785d48;
    }

        .custom-submit:hover {
            background: #9c6c52;
            border-color: #9c6c52;
            color: #fff;
        }

    .btn-progress-view {
        background: #9c6c52;
        color: #fff;
    }

        .btn-progress-view:hover {
            background: #785d48;
            color: #fff;
        }

    span.text-danger > span {
        color: #f00;
    }

    .page-btn {
        background-color: #9c6c52 !important;
        color: #fff !important;
    }

        .page-btn:hover {
            background-color: #785d48 !important;
            color: #fff !important;
        }

    .pagination .active {
        background: #785d48 !important;
        color: #fff !important;
    }

    @media (max-width: 768px) {
        .auth-buttons {
            display: flex;
            justify-content: center;
        }

        #donateBtn {
            text-align: center;
        }

        .logo {
            text-align: center;
        }

        .custom-submit{
            width:100%;
        }
    }

#DonateNowButton {
    position:absolute;
    top:5px;
    right:120px;
    /*position: fixed;
    top: 5px;
    left: calc(100% - 600px);*/
    z-index: 999;
}

.btn-donatenow {
    display: inline-block;
    background-color: #9c6c52;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 30px;
    border-radius: 8px;
    border: 1px solid #fff;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 6px 8px rgba(212, 175, 55, 0.8);
}

    .btn-donatenow:hover {
        display: inline-block;
        background-color: #9c6c52;
        border: 2px solid #fff;
        color: #ffffff;
        font-weight: 600;
        box-shadow: 5px 8px 12px rgba(212, 175, 55, 1.0);
    }

#footer > div {
    max-width: 100%;
    width: 100%;
}

.footer-social {
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
    justify-content: flex-end;
}

.footer-info {
    width: 100%;
    padding: 20px 5px 5px 5px;
    text-align: right;
    font-size: 0.8rem;
}

.copywrite {
    width: 100%;
    padding: 10px 5px;
    text-align: right;
    font-size: 0.8rem;
    margin-bottom: -20px;
}

@media (max-width: 768px) {
    #DonateNowButton {
        top: 60px;
        right:10px;
        z-index:10;
    }

    .btn-donatenow {
        font-size: 1.1rem;
    }

    .footer-social {
        text-align: center;
        justify-content: center;
    }

    .footer-info {
        text-align: center;
    }

    .copywrite {
        text-align: center;
    }
}

/*** Testimonials ***/

.testimonial-section {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-user {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.swiper-slide {
    background-color: #e7dac2;
}

.swiper-pagination-bullet-active {
    background: #603813!important;
}

/ /*****New Image Gallery*/
.image-gallery {
    display: inline-grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.image-gallery a {
    display: inline-block; /* instead of block */
    overflow: hidden;
    border-radius: 8px;
    vertical-align: top; /* keep them aligned */
}

.image-gallery img {
    width: 100%; /* fits container */
    height: auto;
    max-height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery a:hover img {
    transform: scale(1.1);
}