
* {
    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;
}
.guide-hero {
    position: relative;
    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #065f46,
             #31a074
        ),
        url("../images/miqat.jpg");

    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;

    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(255,255,255,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: rgba(255,255,255,0.08);

    color: #d8f3dc;

    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: #31a074;
}

.arabic-text {
    color:  #31a074;

    font-size: 25px;

    margin: 12px 0 18px;

    font-family: 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: #d8f3dc;
    color: #31a074; 

    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;
}
.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(15,81,50,0.07);

    border: 1px solid #e5eee8;
}

.intro-icon {
    min-width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #d8f3dc,
            #edf8f0
        );

    color: #0f5132;

    font-size: 42px;
}

.intro-content {
    flex: 1;
}

.section-label {
    display: block;

    color: #25855a;

    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: #31a074;
}

.intro-content p {
    color: #64748b;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 10px;
}

.journey-section {
    max-width: 1200px;

    margin: 80px auto;

    padding: 0 25px;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 45px;
}

.section-heading h2 {
    margin-bottom: 12px;
}

.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: 28px;
}

.guide-card {
    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #e5eee8;

    box-shadow:
        0 8px 25px rgba(15,81,50,0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    min-width: 0;
}

.guide-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 45px rgba(15,81,50,0.12);
}

.card-image {
    height: 220px;

    position: relative;

    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.guide-card:hover .card-image img {
    transform: scale(1.07);
}

.image-gradient {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(0,0,0,0.45)
        );
}

.step-number {
    position: absolute;

    top: 15px;
    left: 15px;

    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.95);

    color:  #065f46;

    border-radius: 50%;

    font-size: 12px;

    font-weight: 700;

    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-content {
    padding: 25px;
}

.card-label {
    color:  #31a074;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.card-content h3 {
    color:  #065f46;

    font-size: 22px;

    margin: 6px 0 10px;
}

.card-content p {
    color:  #065f46;

    font-size: 13.5px;

    line-height: 1.7;

    min-height: 68px;
}
.card-buttons {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.card-buttons a {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 12px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.read-btn {
    background: #065f46;

    color: #ffffff;
}

.read-btn:hover {
    background:#31a074;
}

.listen-btn {
    background: #e7f5eb;

    color: #0f5132;

    border: 1px solid #cde8d5;
}

.listen-btn:hover {
    background: #d8f3dc;

    transform: translateY(-2px);
}

.guide-help {
    background: #f0f7f2;

    padding: 80px 25px;
}

.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 #e1eee5;

    transition: 0.3s ease;
}

.help-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(15,81,50,0.08);
}

.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: #31a074;

    font-size: 18px;

    margin-bottom: 10px;
}

.help-card p {
    color:  #065f46;
    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;
}

.guide-cta::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);

    left: -150px;
    top: -150px;
}

.guide-cta::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.08);

    right: -120px;
    bottom: -120px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.guide-cta .section-label {
    color:  #31a074;
}

.guide-cta h2 {
    color: #ffffff;

    margin-bottom: 15px;
}

.guide-cta h2 span {
    color:  #31a074;
}
.guide-cta p {
    max-width: 650px;

    margin: auto;

    color: rgba(255,255,255,0.8);

    font-size: 14px;

    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    margin-top: 25px;

    padding: 12px 24px;

    background: #ffffff;

    color: #065f46;

    border-radius: 50px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #d8f3dc;

    transform: translateY(-3px);
}

.footer-wrapper {
    position: relative;

    background:  #065f46;;

    color: white;

    margin-top: 100px;
}

.footer-top-curve {
    position: absolute;

    top: -90px;

    left: 0;

    width: 100%;

    height: 100px;

    overflow: hidden;
}

.footer-top-curve svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    max-width: 1200px;

    margin: auto;

    padding: 60px 25px 25px;
}

.footer-columns {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 50px;
}

.footer-columns h3 {
    color: #ffffff;

    font-size: 18px;

    margin-bottom: 15px;
}

.footer-columns p {
    color: #b8cec0;

    font-size: 13px;

    line-height: 1.8;

    max-width: 400px;
}

.footer-columns ul {
    list-style: none;
}

.footer-columns li {
    margin-bottom: 9px;
}

.footer-columns a {
    color: #b8cec0;

    text-decoration: none;

    font-size: 13px;

    transition: 0.2s ease;
}

.footer-columns a:hover {
    color: #ffffff;

    padding-left: 4px;
}

.footer-social {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin: 40px 0 25px;
}

.footer-social a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    text-decoration: none;

    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #25855a;

    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.1);

    text-align: center;
}

.footer-bottom p {
    color: #9fb8a9;

    font-size: 12px;
}

@media (max-width: 1000px) {

    .card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .guide-intro {
        margin-left: 25px;
        margin-right: 25px;
    }

    .guide-cta {
        margin-left: 25px;
        margin-right: 25px;
    }

}


@media (max-width: 750px) {

    .guide-hero {
        min-height: 500px;
    }

    .guide-hero h1 {
        font-size: 42px;
    }

    .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 {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 30px;
    }

    .footer-columns p {
        margin: auto;
    }

}


@media (max-width: 480px) {

    .guide-hero {
        min-height: 480px;
    }

    .guide-hero-content {
        padding: 40px 18px;
    }

    .guide-hero h1 {
        font-size: 36px;
    }

    .arabic-text {
        font-size: 21px;
    }

    .guide-hero p {
        font-size: 14px;
    }

    .journey-section {
        padding: 0 15px;
    }

    .intro-content h2,
    .section-heading h2,
    .guide-cta h2 {
        font-size: 28px;
    }

    .card-image {
        height: 210px;
    }

    .guide-cta {
        margin-left: 15px;
        margin-right: 15px;

        padding: 50px 20px;
    }

}