/* Enhanced typography and consistent styling for About page */
.enhanced-section {
    padding: 5rem 0;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-heading h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
    border-radius: 2px;
}

.section-heading p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.benefit-card p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Vision & Mission Section */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.vm-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vm-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.vm-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.vm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
    border-radius: 50%;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
}

/* Call to Action Section */
.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #6c757d;
    line-height: 1.7;
}

.contact-info {
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
    display: inline-block;
    padding: 2.5rem 3rem;
    border-radius: 16px;
    color: white;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.25);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 1.5rem 0;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
}

.contact-info p {
    margin-bottom: 0;
    opacity: 0.9;
}

/* Why Choose Us List */
.reasons-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.reasons-list li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #ad694e;
    transition: all 0.3s ease;
}

.reasons-list li:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reasons-list strong {
    color: #2c3e50;
    font-size: 1.1rem;
}

/* RTL support */
.rtl-direction {
    direction: rtl;
}

.rtl-icon {
    margin-right: 0;
    margin-left: 1rem;
}

.rtl-list {
    border-left: none;
    border-right: 4px solid #ad694e;
}

.rtl-list:hover {
    transform: translateX(-5px);
}

/* Islamic Pattern Background */
.islamic-pattern-bg {
    background-color: #f8f9fa;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 2rem;
    }

    .benefits-container,
    .vision-mission-container {
        grid-template-columns: 1fr;
    }

    .contact-number {
        font-size: 1.5rem;
    }

    .vm-card {
        padding: 2rem 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }
}

.cta-section {
    background: #fff;
    text-align: center;
    border-top: 1px solid #f1f3f5;
    border-bottom: 1px solid #f1f3f5;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-wrapper {
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ad694e 0%, #ad6948 100%);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.25);
}

.contact-info {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #2c3e50;
    font-family: monospace;
}

.contact-info p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .contact-number {
        font-size: 1.3rem;
    }
}
@media (max-width: 479px) {
    .section-heading h2 {
        font-size: 1.8rem;
    }

    .vm-card h3 {
        font-size: 1.5rem;
    }

    .vm-card p, .benefit-card p {
        font-size: 1rem;
    }

    .contact-number {
        font-size: 1.2rem;
        padding: 0.4rem 1rem;
    }
}
