/* ========== RAMAH SECTION ========== */

.ramah-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7f3 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Section Header */
.ramah-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
}

.ramah-section .section-title {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
}

.ramah-section .title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d9d5f, #1f6d3f);
    margin: 0 auto;
    border-radius: 2px;
}

/* Hero Section */
.ramah-hero {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}


/* Desktop Image */
.ramah-desktop-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;

}

.desktop-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desktop-image:hover {
    transform: translateY(-5px);
}

/* Hero Description */
.ramah-hero-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;


}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
    line-height: 1.4;
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: #0e0e0e;
    margin: 0;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
    text-align: justify;
}



/* Features Section */
.ramah-features {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 2px solid #e0e0e0;
}

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

.features-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden; 
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(45, 157, 95, 0.15);

}

.feature-image {
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.4s ease; 
}



.feature-image:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(45, 157, 95, 0.15);

}


.feature-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
}

/* Features Description */
.features-description {
    text-align: center;
    margin-bottom: 50px;
}

.features-description .description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0 auto;
    max-width: 800px;
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
}

/* CTA Button */
.ramah-cta {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.cta-button {
    display: inline-block;
    padding: 16px 50px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(26, 26, 26, 0.3);
    font-family: 'Lyon Arabic', 'Cairo', sans-serif;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.4);
    background: #2d2d2d;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 992px) {
    .ramah-section {
        padding: 60px 0;
    }

    .ramah-section .section-title {
        font-size: 36px;
    }

    .ramah-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .desktop-image {
        max-width: 400px;
    }

    .hero-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .feature-card {
        padding: 25px;
    }

  
}

/* Small Tablet */
@media (max-width: 768px) {
    .ramah-section {
        padding: 50px 0;
    }

    .ramah-section .section-title {
        font-size: 32px;
    }

    .ramah-hero {
        gap: 30px;
        margin-bottom: 60px;
    }

    .ramah-desktop-image {
        order: 2;
    }

    .ramah-hero-description {
        order: 1;
    }

    .desktop-image {
        max-width: 100%;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.7;
    }

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

    .feature-card {
        padding: 20px;
    }


    .features-title {
        font-size: 32px;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .ramah-section {
        padding: 40px 0;
    }

    .ramah-section .section-title {
        font-size: 28px;
    }

    .ramah-section .title-line {
        width: 60px;
    }

    .ramah-hero {
        gap: 25px;
        margin-bottom: 50px;
    }

    .ramah-desktop-image {
        order: 2;
    }

    .ramah-hero-description {
        order: 1;
    }

    .desktop-image {
        max-width: 100%;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-text {
        font-size: 14px;
        line-height: 1.6;
        text-align: right;
    }

    .ramah-features {
        margin-top: 60px;
        padding-top: 50px;
    }

    .features-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 20px;
    }



    .features-description {
        margin-bottom: 30px;
    }

    .features-description .description-text {
        font-size: 13px;
    }

    .cta-button {
        padding: 12px 35px;
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .ramah-section {
        padding: 30px 0;
    }

    .ramah-section .section-title {
        font-size: 26px;
    }

    .desktop-image {
        max-width: 90%;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-text {
        font-size: 13px;
    }

    .features-grid {
        gap: 15px;
    }



    .feature-name {
        font-size: 16px;
    }

    .cta-button {
        padding: 11px 30px;
        font-size: 13px;
    }
}

/* ========== ANIMATIONS ========== */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
