* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    color: #333;
}

a {
    text-decoration: none;
    color: #016202;
}

a:hover {
    color: #c59621;
}

.nav-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.nav-header {
    padding: 5px 0px;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    text-align: center;
}

.nav-menu {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.nav-item {
    display: block;
    padding: 10px 25px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    background-image: linear-gradient(to right, #016202 80%, #bcd5bd 90%, #016202 98%, #f2e079 99%, #ca9d2b 98%) !important;
    /*background-image: linear-gradient(to right, #c59621 80%, #c5962170 90%, #c59621 98%, #f2e079 99%, #ca9d2b 98%) !important;*/
    border-style: none none solid none;
    border-width: 1px;
    border-color: #ca9d2b;
}

.nav-item:hover {
    color: #ca9d2b;
    background: #f9fafb;
}

.nav-item.active {
    color: #ffffff;
    background-image: linear-gradient(to right, #c59621 80%, #c5962170 90%, #c59621 98%, #f2e079 99%, #ca9d2b 98%) !important;
    /*background-image: linear-gradient(to right, #016202 80%, #bcd5bd 90%, #016202 98%, #f2e079 99%, #ca9d2b 98% ) !important*/
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-image: linear-gradient(to right, #f2e079 98%, #ca9d2b 99%) !important
        /*background: #3b82f6;*/
}

.nav-footer {
    padding: 10px 60px;
    border-top: 1px solid #e5e7eb;
}

.nav-footer-item {
    display: block;
    padding: 0;
    color: #9ca3af;
    text-decoration: none;
    justify-content: center;
    font-size: 13px;
    transition: color 0.2s ease;
}

.nav-footer-item:hover {
    color: #6b7280;
}

.mobile-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1001;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px;
    z-index: 998;
    align-items: center;
    justify-content: center;
}

.mobile-logo {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.5px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-toggle.active .hamburger {
    background: transparent;
}

.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.icon-image {
    display: inline-block;
    height: 1em;
}

.services {
    padding-bottom: 3px;
    display: flex;
    justify-content: flex-start;
}

.services .serviceImage {
    display: inline-block;
    height: 3em;
}



.services .servicecontent {
    padding: 0;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.3;
}

.main-content {
    margin-left: 280px;
    padding: 0px;
    transition: margin-left 0.3s ease;
}

.hero-section {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 30px 0;*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    /*color: #c59621;*/
}

h1 {
    font-size: 48px;
    font-weight: 700;
    color: #191166;
    margin-bottom: 5px;
    line-height: 1.2;
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.3)) drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.2));
}

.subtitle {
    font-size: 20px;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.6;
}

.hero-section .content {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.hero-section .content .content-item {
    /*padding:20px;	*/
    text-align: justify;
}

.hero-section .content .content-lesspad {
    padding: 10px;
    text-align: justify;
}

.imam-row-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 5px;
}

.imam-row-container .content-lesspad {
    max-width: 400px;
    text-align: left;
}

.img-imam img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    /* Optional: very slight rounding for a modern feel, or 0 for sharp square */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .imam-row-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .imam-row-container .content-lesspad {
        text-align: center;
    }
}

.donation-section .content {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.donation-section .content .content-item {
    /*padding:20px;	*/
    text-align: justify;
}

.donation-section .content .content-lesspad {
    padding: 10px;
    text-align: justify;
}

.donation-box {
    border: solid;
    border-radius: 20px;
    border-color: #c59621;
    height: 400px;
    width: 250px;
    margin: 10px 10px;
}

.donation-title {
    margin: -10px;
    height: 60px;
    background-color: #016202;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.donation-image {
    margin: 5px;
    text-align: center;
    height: 80%;
    width: 50%;
    margin-left: 60px;
}

.donation-p {
    display: block;
    padding-top: 100px;
}

.u-svg-content {
    color: #c59621;
}

.non-profit-info {
    font-size: 12px;
}

.appeal-area {
    text-align: center;
    color: #c59621;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-image: linear-gradient(to right, #ca9d2b 2%, #f2e079 1%, #cc0000 2%, #cc000070 10%, #cc0000 80%, #cc000070 90%, #cc0000 98%, #f2e079 99%, #ca9d2b 98%) !important;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border-style: solid;
    border-width: 2px;
    border-color: #ca9d2b;
    box-shadow:
        0 8px 16px rgba(204, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background-image: linear-gradient(to right, #ca9d2b 2%, #f2e079 1%, #dd0000 2%, #dd000070 10%, #dd0000 80%, #dd000070 90%, #dd0000 98%, #f2e079 99%, #ca9d2b 98%) !important;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow:
        0 12px 24px rgba(204, 0, 0, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 8px rgba(204, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 -2px 4px rgba(255, 255, 255, 0.2);
}

.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 40px 80px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#contact.content-section {
    padding-bottom: 0;
}

.content-section h2,
.donation-section h2 {
    padding: 0;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #191166;

    /* 3D Drop Shadow */
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.3)) drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.2));
}

.donation-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 40px 80px 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}



.underline {
    padding-top: 10px;
    /*background-image: url('./images/underline.png');*/
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 20vw auto;
    display: flex;
}

.content-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 16px;
}

.donation-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
    margin-bottom: 16px;
}

.top-image {
    padding: 0px;
}

.top-image:hover {
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1002;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-popup.active {
    display: flex;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.popup-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.popup-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1003;
}

.popup-close:hover {
    background: #f3f4f6;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-container {
        transform: translateX(-100%);
    }

    .nav-container.active {
        transform: translateX(0);
    }

    .nav-header {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    .overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 0;
        padding-top: 64px;
    }

    .hero-section {
        padding: 60px 20px 40px;
        min-height: calc(100vh - 64px);
    }

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .content-section {
        padding: 80px 20px 40px;
        border-radius: 0;
        min-height: calc(100vh - 64px);
    }
}


@media (max-width: 575px) {
    .u-section-1 .u-sheet-1 {
        min-height: 925px;
        min-width: 460px;
    }
}

@media (max-width: 767px) {
    .u-section-1 .u-sheet-1 {
        min-height: 399px;
        min-width: 700px;
    }
}

@media (max-width: 991px) {
    .u-section-1 .u-sheet-1 {
        min-height: 532px;
        min-width: 800px;
    }
}

@media (max-width: 1199px) {
    .u-section-1 .u-sheet-1 {
        min-height: 694px;
        min-width: 1000px;
    }
}

.u-section-1 .u-sheet-1 {
    min-height: 842px;
    min-width: 1000px;
}

@media only screen and (max-width: 600px) {
    .content-section {
        max-width: 600;
        margin: 0 auto;
        padding: 40px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .underline {
        padding-top: 10px;
        /*background-image: url('./images/underline.png');*/
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: 70vw auto;
        display: flex;
    }

    .hero-section .content {
        display: block;
        justify-content: center;
    }

    .hero-section .content .content-item {
        padding: 0;
    }

    .donation-section .content {
        display: block;
        justify-content: center;
    }

    .donation-section .content .content-item {
        padding: 0;
    }

    .donation-box {
        width: 90%;
        max-width: 300px;
        margin: 20px auto;
        height: auto;
        min-height: 400px;
    }

    .donation-image {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .main-content .top-image {
        padding-top: 135px;
    }
}

.sticky-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 15px 30px;
    background-image: linear-gradient(to right, #ca9d2b 2%, #f2e079 1%, #cc0000 2%, #cc000070 10%, #cc0000 80%, #cc000070 90%, #cc0000 98%, #f2e079 99%, #ca9d2b 98%) !important;
    color: #ffffff;
    border-style: solid;
    border-width: 2px;
    border-color: #ca9d2b;
    border-radius: 10px;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: bold;
    box-shadow:
        0 8px 16px rgba(204, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.sticky-btn:hover {
    background-image: linear-gradient(to right, #ca9d2b 2%, #f2e079 1%, #dd0000 2%, #dd000070 10%, #dd0000 80%, #dd000070 90%, #dd0000 98%, #f2e079 99%, #ca9d2b 98%) !important;
    color: #ffffff;
    transform: translateX(-50%) translateY(-4px);
    box-shadow:
        0 12px 24px rgba(204, 0, 0, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.img-imam {
    height: min-content;
}

.sticky-btn.hide {
    display: none;
}

/* Center Donate Button in PayPal Box */
.donation-section .donation-box .content-item {
    text-align: center;
}

/* Google Map Container */
.map-container {
    margin-top: 20px;
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    display: flex;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    flex-grow: 1;
}

/* Contact Page Layout */
.contact-main-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.contact-info-column {
    flex: 1;
}

.contact-button-column {
    flex: 0 0 auto;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .contact-main-wrapper {
        flex-direction: column;
    }

    .contact-button-column {
        width: 100%;
        text-align: center;
        order: 2;
        /* Button appears after info */
        margin-top: 20px;
    }

    .contact-info-column {
        order: 1;
        width: 100%;
    }
}

/* Projects Section Styles */
.projects-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-box {
    height: auto;
    width: 300px;
}

.project-text {
    padding-top: 20px;
}

.project-image {
    width: 100%;
    display: block;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
}