* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7faf8;
    color: #17251e;
}

.guide-page {
    width: 100%;
    overflow: hidden;
}

/* HERO SECTION WITH CURVED BOTTOM */
.guide-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 95, 70, 0.9), rgba(49, 160, 116, 0.85)), url("../images/mashad1.png");
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 30%;
    border-bottom-right-radius: 30%;
    overflow: hidden;
}

.guide-hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(20, 20, 20, 0.07), transparent 35%);
}

.guide-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 60px 25px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    background: #065f46;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.guide-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -1.5px;
}

.guide-hero h1 span {
    color: #b7e4c7;
}

.arabic-text {
    color: #b7e4c7;
    font-size: 25px;
    margin: 12px 0 18px;
    font-family: 'Amiri', serif;
}

.guide-hero p {
    max-width: 700px;
    margin: auto;
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    line-height: 1.8;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 13px 25px;
    background: #ffffff;
    color: #065f46;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #e2e8f0;
    color: #065f46;
    transform: translateY(-3px);
}

.hero-decoration {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.hero-decoration-one {
    width: 350px;
    height: 350px;
    left: -170px;
    bottom: -170px;
}

.hero-decoration-two {
    width: 280px;
    height: 280px;
    right: -130px;
    top: -130px;
}

/* SECTIONS BASE STYLES */
.guide-intro {
    max-width: 1100px;
    margin: 70px auto 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 45px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(6, 95, 70, 0.1);
    border: 1px solid #e2e8f0;
}

.intro-icon {
    min-width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: linear-gradient(135deg, #31a074, #edf8f0);
    color: #0f5132;
    font-size: 42px;
}

.intro-content {
    flex: 1;
}

.section-label {
    display: block;
    color: #31a074;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.intro-content h2,
.section-heading h2,
.guide-cta h2 {
    color: #065f46;
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.intro-content h2 span,
.section-heading h2 span,
.guide-cta h2 span {
    color: #25855a;
}

.intro-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.journey-section {
    width: 100%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 25px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-heading p {
    color: #31a074;
    font-size: 15px;
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.guide-card {
    position: relative;
    min-width: 0;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eee8;
    box-shadow: 0 8px 25px rgba(6, 95, 70, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(6, 95, 70, 0.25);
}

.card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.guide-card:hover .card-image img {
    transform: scale(1.07);
}

.image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.2) 35%,
        rgba(5,18,12,0.92) 80%
    );
}

.card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 22px 20px;
    color: #ffffff;
}

.card-label {
    display: block;
    color: #9ee2b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
    margin-bottom: 6px;
}

.card-content h3 {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.25;
    margin: 0 0 9px;
    font-weight: 600;
}

.card-content p {
    color: rgba(255,255,255,0.88);
    font-size: 12.5px;
    line-height: 1.65;
    margin: 0;
}

.read-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 11px 15px;
    background: #065f46;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.read-btn:hover {
    background: #31a074;
    color: #ffffff;
    transform: translateY(-2px);
}

.help-grid {
    max-width: 1050px;
    margin: 45px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.help-card {
    position: relative;
    background: #ffffff;
    padding: 35px 28px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s ease;
}

.help-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(6, 95, 70, 0.12);
}

.help-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #d8e9dd;
    font-size: 30px;
    font-weight: 700;
}

.help-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e6f4ea;
    color: #0f5132;
    font-size: 24px;
}

.help-card h3 {
    color: #173c2b;
    font-size: 18px;
    margin-bottom: 10px;
}

.help-card p {
    color: #31a074;
    font-size: 13px;
    line-height: 1.7;
}

.guide-cta {
    max-width: 1100px;
    margin: 80px auto;
    padding: 65px 30px;
    text-align: center;
    border-radius: 28px;
    background: linear-gradient(135deg, #065f46, #31a074);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.guide-cta .section-label {
    color: #b7e4c7;
}

.guide-cta h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .guide-hero {
        border-bottom-left-radius: 15%;
        border-bottom-right-radius: 15%;
    }

    .guide-intro {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .intro-icon {
        min-width: 85px;
        width: 85px;
        height: 85px;
        font-size: 30px;
    }

    .card-grid, .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guide-hero h1 {
        font-size: 36px;
    }

    .arabic-text {
        font-size: 20px;
    }

    .guide-hero p {
        font-size: 14px;
    }

    .guide-intro, .guide-cta {
        margin-left: 15px;
        margin-right: 15px;
    }
}