:root {
    --hp-bg: #F6F3EC;
    --hp-ink: #0F2536;
    --hp-ink-soft: rgba(15, 37, 54, .62);
    --hp-blue: #2883C4;
    --hp-blue-deep: #123A56;
    --hp-line: rgba(18, 58, 86, .16);
    --hp-white: #FFFFFF;
    --hp-gold: #c9a84c;
}

.hero-pro {
    position: relative;
    background: var(--hp-bg);
    overflow: hidden;
    /* padding: 80px 0 80px; */
    font-family: 'Inter', sans-serif;
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
}

.hero-pro * {
    box-sizing: border-box;
}

.hero-pro__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-pro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 80vh;
}

/* ---- content ---- */
.hero-pro__content {
    padding: 20px 0;
}

.hero-pro__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    opacity: 0;
    animation: hpFadeUp .8s ease .1s forwards;
}

.hero-pro__eyebrow-logo {
    height: 26px;
    width: auto;
}

.hero-pro__eyebrow span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hp-blue);
}

.hero-pro__title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 54px;
    line-height: 1.12;
    color: var(--hp-ink);
    margin: 0 0 20px;
    max-width: 620px;
    opacity: 0;
    animation: hpFadeUp .9s ease .22s forwards;
}

.hero-pro__title span {
    color: var(--hp-blue);
    position: relative;
    white-space: nowrap;
}

.hero-pro__text {
    font-size: 17px;
    line-height: 1.85;
    color: var(--hp-ink-soft);
    max-width: 480px;
    margin: 0 0 38px;
    opacity: 0;
    animation: hpFadeUp .9s ease .34s forwards;
}

.hero-pro__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 46px;
    opacity: 0;
    animation: hpFadeUp .9s ease .46s forwards;
}

.hero-pro__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .2px;
    transition: transform .35s cubic-bezier(.25, .46, .45, .94), box-shadow .35s ease, background .35s ease;
}

.hero-pro__btn--primary {
    background: var(--hp-gold);
    color: #fff;
    border: 2px solid;
    box-shadow: 0 12px 28px rgba(248, 224, 7, 0.3);
}

.hero-pro__btn--primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(40, 131, 196, .4);
    background: #2f92d8;
}

.hero-pro__btn--secondary {
    background: transparent;
    color: var(--hp-ink);
    border: 2px solid var(--hp-line);
}

.hero-pro__btn--secondary:hover {
    transform: translateY(-5px);
    border-color: var(--hp-blue);
    color: var(--hp-blue);
    box-shadow: 0 12px 28px rgba(15, 37, 54, .12);
}

.hero-pro__stats {
    display: flex;
    gap: 44px;
    padding-top: 32px;
    border-top: 1px solid var(--hp-line);
    opacity: 0;
    animation: hpFadeUp .9s ease .58s forwards;
}

.hero-pro__stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--hp-ink);
    line-height: 1.15;
}

.hero-pro__stat span {
    font-size: 12.5px;
    color: var(--hp-ink-soft);
}

@keyframes hpFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   VISUAL - FULL HEIGHT IMAGE (NO RING)
============================================================ */
.hero-pro__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

/* ----- Mandala (subtle background) ----- */
.hero-pro__mandala {
    position: absolute;
    width: 100%;
    max-width: 700px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: hpSpin 140s linear infinite;
    opacity: 0.3;
}

.hero-pro__mandala .ring {
    fill: none;
    stroke: var(--hp-blue-deep);
    opacity: .08;
}

.hero-pro__mandala .ring--outer {
    stroke-dasharray: 2 10;
    stroke-width: 2.5;
}

.hero-pro__mandala .ring--inner {
    stroke-dasharray: 1 7;
    stroke-width: 1.8;
}

.hero-pro__mandala .ray {
    stroke: var(--hp-blue-deep);
    opacity: .06;
    stroke-width: 1.8;
}

@keyframes hpSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ----- FULL HEIGHT IMAGE - NO RING ----- */
.hero-pro__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    height: 70vh;
    max-height: 700px;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(18, 58, 86, .25);
    opacity: 0;
    animation: hpFadeIn 1.1s ease .3s forwards;
    transition: all 0.5s ease;
}

.hero-pro__photo:hover {
    transform: scale(1.01);
    box-shadow: 0 40px 100px rgba(18, 58, 86, .30);
}

.hero-pro__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 1.2s ease;
    animation: hpKenBurns 10s ease-in-out infinite alternate;
}

@keyframes hpKenBurns {
    from {
        transform: scale(1) translate(0, 0);
    }
    to {
        transform: scale(1.08) translate(-8px, -6px);
    }
}

@keyframes hpFadeIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== FLOATING ICON BADGES ===== */
.hero-pro__badge {
    position: absolute;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--hp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-blue);
    font-size: 19px;
    box-shadow: 0 14px 30px rgba(18, 58, 86, .14);
    animation: hpBob 4.5s ease-in-out infinite;
}

.hero-pro__badge--book {
    top: 14%;
    left: 41%;
    animation-delay: 0s;
}

.hero-pro__badge--kaaba {
    top: 9%;
    right: 6%;
    animation-delay: 1s;
}

.hero-pro__badge--mosque {
    bottom: 8%;
    left: 3%;
    animation-delay: 2s;
}

/* ============================================================
   ✈️ AIRPLANE
============================================================ */
.hero-pro__airplane {
    position: absolute;
    z-index: 5;
    width: 160px;
    height: 160px;
    top: 5%;
    left: -200px;
    animation: hpFlyHorizontal 10s ease-in-out infinite;
    filter: drop-shadow(0 15px 40px rgba(40, 131, 196, 0.3));
    pointer-events: none;
}

.hero-pro__airplane img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;

}

@keyframes hpFlyHorizontal {
    0% {
        transform: translateX(0) translateY(0) rotate(-2deg);
        opacity: 0.7;
    }
    10% {
        transform: translateX(80px) translateY(-15px) rotate(-3deg);
        opacity: 1;
    }
    25% {
        transform: translateX(250px) translateY(5px) rotate(1deg);
        opacity: 1;
    }
    40% {
        transform: translateX(450px) translateY(-10px) rotate(-1deg);
        opacity: 1;
    }
    55% {
        transform: translateX(650px) translateY(8px) rotate(2deg);
        opacity: 1;
    }
    70% {
        transform: translateX(850px) translateY(-5px) rotate(-1deg);
        opacity: 1;
    }
    85% {
        transform: translateX(1050px) translateY(12px) rotate(1deg);
        opacity: 1;
    }
    100% {
        transform: translateX(1300px) translateY(0) rotate(-2deg);
        opacity: 0.5;
    }
}

/* ===== BADGE BOBBING ===== */
@keyframes hpBob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(4deg);
    }
}

/* vertical pagination */
.hero-pro__pagination {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 4;
}

.hero-pro__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--hp-ink-soft);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all .3s ease;
}

.hero-pro__dot.is-active {
    width: 12px;
    height: 12px;
    background: var(--hp-blue);
    border-color: var(--hp-blue);
}

.hero-pro__pagination-num {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.hero-pro__pagination-num i {
    width: 20px;
    height: 1px;
    background: var(--hp-ink-soft);
    display: block;
}

.hero-pro__pagination-num b {
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-ink);
}

/* scroll cue */
.hero-pro__scroll {
    position: absolute;
    right: 44px;
    bottom: 40px;
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--hp-blue);
    color: var(--hp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    animation: hpBounce 2.4s ease-in-out infinite;
    transition: background .3s ease, color .3s ease;
}

.hero-pro__scroll:hover {
    background: var(--hp-blue);
    color: #fff;
}

@keyframes hpBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:1199px) {
    .hero-pro__pagination,
    .hero-pro__scroll {
        right: 20px;
    }

    .hero-pro__photo {
        height: 60vh;
        max-height: 550px;
        min-height: 350px;
    }

    .hero-pro__airplane {
        width: 120px;
        height: 120px;
        top: 3%;
    }

    .hero-pro__title {
        font-size: 44px;
    }
}

@media (max-width:991px) {
    .hero-pro {
        padding: 60px 0 60px;
        min-height: auto;
    }

    .hero-pro__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        min-height: auto;
    }

    .hero-pro__eyebrow,
    .hero-pro__buttons {
        justify-content: center;
    }

    .hero-pro__text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-pro__stats {
        justify-content: center;
    }

    .hero-pro__title {
        font-size: 38px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-pro__visual {
        min-height: 350px;
    }

    .hero-pro__photo {
        height: 50vh;
        max-height: 450px;
        min-height: 280px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-pro__pagination {
        display: none;
    }

    .hero-pro__badge--book {
        left: 8%;
    }

    .hero-pro__airplane {
        width: 90px;
        height: 90px;
        top: 4%;
        animation-duration: 8s;
    }

    .hero-pro__badge {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    @keyframes hpFlyHorizontal {
        0% {
            transform: translateX(0) translateY(0) rotate(-2deg);
            opacity: 0.7;
        }
        10% {
            transform: translateX(60px) translateY(-10px) rotate(-3deg);
            opacity: 1;
        }
        30% {
            transform: translateX(180px) translateY(5px) rotate(1deg);
            opacity: 1;
        }
        50% {
            transform: translateX(320px) translateY(-8px) rotate(-1deg);
            opacity: 1;
        }
        70% {
            transform: translateX(460px) translateY(6px) rotate(2deg);
            opacity: 1;
        }
        90% {
            transform: translateX(580px) translateY(-4px) rotate(-1deg);
            opacity: 1;
        }
        100% {
            transform: translateX(700px) translateY(0) rotate(-2deg);
            opacity: 0.5;
        }
    }
}

@media (max-width:575px) {
    .hero-pro__title {
        font-size: 30px;
    }

    .hero-pro__text {
        font-size: 15px;
    }

    .hero-pro__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-pro__btn {
        justify-content: center;
    }

    .hero-pro__stats {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-pro__stat strong {
        font-size: 22px;
    }

    .hero-pro__visual {
        min-height: 250px;
    }

    .hero-pro__photo {
        height: 40vh;
        max-height: 320px;
        min-height: 200px;
        border-radius: 14px;
    }

    .hero-pro__scroll {
        display: none;
    }

    .hero-pro__airplane {
        width: 65px;
        height: 65px;
        top: 2%;
        animation-duration: 6s;
    }

    .hero-pro__badge {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    @keyframes hpFlyHorizontal {
        0% {
            transform: translateX(0) translateY(0) rotate(-2deg);
            opacity: 0.7;
        }
        15% {
            transform: translateX(50px) translateY(-8px) rotate(-3deg);
            opacity: 1;
        }
        35% {
            transform: translateX(130px) translateY(4px) rotate(1deg);
            opacity: 1;
        }
        55% {
            transform: translateX(220px) translateY(-6px) rotate(-1deg);
            opacity: 1;
        }
        75% {
            transform: translateX(310px) translateY(5px) rotate(2deg);
            opacity: 1;
        }
        95% {
            transform: translateX(390px) translateY(-3px) rotate(-1deg);
            opacity: 1;
        }
        100% {
            transform: translateX(450px) translateY(0) rotate(-2deg);
            opacity: 0.5;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-pro * {
        animation: none !important;
        transition: none !important;
    }
}
.abaseen-groups-section {
    max-width: 1280px;
    width: 100%;
    background: white;
    border-radius: 2.5rem;
    padding: 2.5rem 2rem 3rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
}

.abaseen-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0b2b3c;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2.5rem;
    position: relative;
}
.abaseen-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    margin: 0.6rem auto 0;
    border-radius: 4px;
}

/* ——— FLEXBOX CARD CONTAINER ——— */
.groups-flex {
    display: flex;
    flex-wrap: wrap;           /* allows wrapping on smaller screens */
    justify-content: center;   /* center items in the row */
    gap: 2rem 1.5rem;
    margin-top: 0.5rem;
}

/* each card – flex item */
.group-card {
    flex: 0 1 200px;          /* base width 200px, can grow slightly */
    min-width: 160px;
    max-width: 240px;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
}
.group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px -12px rgba(0, 0, 0, 0.2);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef2f6;
}
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.group-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

.card-content {
    padding: 1.25rem 0.75rem 1.5rem;
    text-align: center;
}
.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
    margin: 0 0 0.2rem 0;
}
.card-content h3 i {
    margin-right: 6px;
    color: #e67e22;
    font-size: 1rem;
}

.group-card .card-content .tag {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7c8b9a;
    background: #f1f5f9;
    padding: 0.2rem 1rem;
    border-radius: 40px;
}

/* decorative dots (static) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 2.8rem;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d9e6;
    transition: background 0.2s;
    cursor: default;
}
.slider-dots .dot.active {
    background: #e67e22;
    width: 28px;
    border-radius: 20px;
}

/* responsive: stack / wrap nicely */
@media (max-width: 700px) {
    .abaseen-groups-section {
        padding: 1.5rem 1rem 2rem;
    }
    .abaseen-title {
        font-size: 1.8rem;
    }
    .group-card {
        flex: 0 1 170px;
        min-width: 140px;
    }
    .card-content h3 {
        font-size: 1rem;
    }
}
@media (max-width: 450px) {
    .groups-flex {
        gap: 1rem;
    }
    .group-card {
        flex: 0 1 150px;
        min-width: 130px;
    }
}

/* hide slider elements – they are not used */
.groups-slider-container,
.slider-btn,
.btn-prev,
.btn-next,
.groups-track {
    display: none !important;
}

.service-area-modern {
    padding: 60px 20px;
    background: #f8faff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.container-modern {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- header ---- */
.services-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    gap: 20px 30px;
}

.header-left .sub-title-modern {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0e74bde3;
    background: rgba(14, 116, 189, 0.10);
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 10px;
}

.header-left .sec-title-modern {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b1e33;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0e74bde3;
    color: #fff;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 8px 20px -8px rgba(14, 116, 189, 0.35);
    border: none;
    cursor: pointer;
}
.btn-modern:hover {
    background: #0a5f9e;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(14, 116, 189, 0.5);
}
.btn-modern svg {
    transition: transform 0.2s;
}
.btn-modern:hover svg {
    transform: translateX(4px);
}

/* ---- grid ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- card ---- */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(14, 116, 189, 0.06);
    transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s ease, border-color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
    animation-delay: var(--delay, 0.1s);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px -16px rgba(14, 116, 189, 0.18);
    border-color: rgba(14, 116, 189, 0.15);
}

/* icon */
.card-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 116, 189, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s, transform 0.3s;
}
.service-card:hover .card-icon {
    background: rgba(14, 116, 189, 0.12);
    transform: scale(1.04);
}
.card-icon svg {
    stroke: #0e74bde3;
    transition: stroke 0.3s;
}

/* number */
.card-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: #b4c8e0;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    transition: color 0.3s;
}
.service-card:hover .card-number {
    color: #0e74bde3;
}

/* title */
.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b1e33;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.card-title a:hover {
    color: #0e74bde3;
}

/* text */
.card-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a5b6e;
    margin: 0 0 18px 0;
    flex: 1;
}

/* link */
.card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0e74bde3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s, color 0.2s;
    margin-top: auto;
}
.card-link:hover {
    gap: 12px;
    color: #0a5f9e;
}

/* ---- animation keyframes ---- */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- responsive ---- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .header-left .sec-title-modern {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .service-area-modern {
        padding: 40px 16px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .services-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }
    .header-left .sec-title-modern {
        font-size: 1.6rem;
    }
    .btn-modern {
        justify-content: center;
        width: 100%;
    }
    .service-card {
        padding: 26px 20px 22px;
    }
}

@media (max-width: 400px) {
    .service-card .card-title {
        font-size: 1.05rem;
    }
    .service-card .card-text {
        font-size: 0.85rem;
    }
}