/* ========================================
   Shariah Compliant Policy Section
   ======================================== */
.shariah-section {
    padding: 100px 0;
    background-color: #050505;
}

.shariah-card {
    border: 1px solid #D7B440;
    border-radius: 20px;
    padding: 60px 80px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.shariah-card h2 {
    font-family: "Marcellus", serif;
    font-size: 32px;
    color: #D7B440;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: uppercase;
}

.shariah-intro {
    color: #E5E5E5;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.shariah-subtitle {
    font-family: "Marcellus", serif;
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 30px;
    font-weight: 400;
}

.shariah-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.shariah-list {
    list-style: none;
    padding: 0;
}

.shariah-list li {
    color: #D7B440;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
}

.shariah-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D7B440;
    font-weight: 700;
}

.shariah-footer {
    color: #E5E5E5;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 30px;
    font-style: italic;
}

/* ========================================
   Detailed Payment Plans Section
   ======================================== */
.detailed-payment-section {
    padding: 100px 0;
    background-color: #000000;
}

.payment-plan-detail {
    margin-bottom: 80px;
}

.payment-plan-detail h2 {
    font-family: "Marcellus", serif;
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
}

.payment-rate {
    color: #D7B440;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.payment-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #0F0F0F;
    border: 1px solid #D7B440;
    border-radius: 8px;
    overflow: hidden;
}

.payment-table thead {
    background-color: #D7B440;
}

.payment-table th {
    color: #000000;
    font-weight: 700;
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

.payment-table td {
    color: #E5E5E5;
    padding: 15px 10px;
    text-align: center;
    border-top: 1px solid rgba(215, 180, 64, 0.3);
    font-size: 14px;
}

.payment-table tbody tr:hover {
    background-color: rgba(215, 180, 64, 0.1);
}

.rate-small {
    display: block;
    font-size: 12px;
    color: #D7B440;
    font-weight: 600;
    margin-top: 5px;
}

.commercial-plans {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.commercial-plan-item h3 {
    font-family: "Marcellus", serif;
    font-size: 24px;
    color: #D7B440;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: center;
}

.payment-notes {
    background-color: #0F0F0F;
    border: 1px solid rgba(215, 180, 64, 0.5);
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.payment-notes p {
    color: #D7B440;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.payment-notes ul {
    list-style: none;
    padding: 0;
}

.payment-notes ul li {
    color: #E5E5E5;
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.payment-notes ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #D7B440;
}

/* ========================================
   Lifestyle Amenities Section - Improved
   ======================================== */
.amenities-section {
    padding: 100px 0;
    background-color: #050505;
}

.amenities-header {
    text-align: center;
    margin-bottom: 60px;
}

.amenities-header h2 {
    font-family: "Marcellus", serif;
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-weight: 400;
    text-transform: uppercase;
}

.amenities-intro {
    color: #D7B440;
    font-size: 18px;
    line-height: 1.6;
}

.amenities-grid-improved {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.amenity-item {
    background-color: rgba(215, 180, 64, 0.05);
    border: 1px solid rgba(215, 180, 64, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    border-color: #D7B440;
    box-shadow: 0 8px 25px rgba(215, 180, 64, 0.2);
}

.amenity-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.amenity-item h3 {
    font-family: "Marcellus", serif;
    font-size: 18px;
    color: #D7B440;
    margin-bottom: 10px;
    font-weight: 400;
}

.amenity-item p {
    color: #E5E5E5;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.developer-info-improved {
    background-color: rgba(215, 180, 64, 0.08);
    border: 1px solid rgba(215, 180, 64, 0.3);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.developer-info-improved h3 {
    font-family: "Marcellus", serif;
    font-size: 28px;
    color: #D7B440;
    margin-bottom: 20px;
    font-weight: 400;
    text-transform: uppercase;
}

.developer-info-improved p {
    color: #E5E5E5;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   Footer Social Media
   ======================================== */
.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D7B440;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
}

.footer-tagline {
    color: #D7B440;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 2px;
}

.download-forms {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   Submit EOI Section Improvements
   ======================================== */
.submit-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.submit-highlight-box {
    background-color: rgba(215, 180, 64, 0.05);
    border: 1px solid rgba(215, 180, 64, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.submit-highlight-box .submit-gold {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.submit-highlight-box .submit-desc {
    font-size: 17px;
    margin-bottom: 15px;
    color: #E5E5E5;
}

.submit-features {
    color: #E5E5E5;
    font-size: 16px;
    margin-top: 15px;
    line-height: 1.8;
    font-weight: 500;
}

.cta-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-grid .cta-button-pill {
    background-color: #D7B440;
    color: #000000;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button-pill:hover {
    background-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(215, 180, 64, 0.4);
}

/* ========================================
   Additional Responsive Updates
   ======================================== */
@media (max-width: 900px) {
    .shariah-card,
    .amenities-card {
        padding: 40px 20px;
    }

    .shariah-grid {
        grid-template-columns: 1fr;
    }

    .amenities-list {
        grid-template-columns: 1fr;
    }

    .amenities-grid-improved {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .invest-grid-improved {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment-table {
        font-size: 12px;
    }

    .payment-table th,
    .payment-table td {
        padding: 10px 5px;
    }

    .commercial-plans {
        grid-template-columns: 1fr;
    }

    .download-forms {
        flex-direction: column;
    }

    .download-forms .cta-button-pill {
        width: 100%;
    }

    .cta-buttons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-button-pill {
        white-space: normal;
        padding: 16px 25px;
        font-size: 15px;
    }

    .submit-highlight-box {
        padding: 30px 20px;
    }

    .amenity-item {
        padding: 25px 15px;
    }

    .amenity-icon {
        font-size: 40px;
    }

    .invest-item {
        padding: 25px 20px;
    }

    .invest-number {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .amenities-grid-improved {
        grid-template-columns: 1fr;
    }

    .amenity-item {
        padding: 20px 15px;
    }

    .amenity-icon {
        font-size: 36px;
    }

    .invest-item {
        padding: 20px 15px;
    }

    .invest-number {
        font-size: 32px;
        top: 15px;
        right: 15px;
    }

    .amenities-header h2,
    .invest-header h2 {
        font-size: 28px;
    }
}

