/*
 * // File: /public/assets/fhdx/css/home.css
 *
 * Developed by Noor United Est.
 *
 * Copyright (c) Noor United Est.
 */

/* =========================================
   Hero
========================================= */

.fhdx-hero-image-section {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg,#fff,#f8fafc);
}

.fhdx-hero-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 720;
    object-fit: cover;
    object-position: center top;
}

/* =========================================
   Schools
========================================= */

.fhdx-schools-section {
    background: #fff;
}

.fhdx-schools-v3 {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 18px;
}

.fhdx-school-card-v3 {
    min-height: 230px;
    padding: 30px 18px 24px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid #dfe7f2;
    background: linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
    box-shadow: 0 18px 45px rgba(15,23,42,.055);
    transition: .22s;
}

.fhdx-school-card-v3:hover {
    transform: translateY(-8px);
    border-color: rgba(7,93,240,.28);
    box-shadow: 0 26px 70px rgba(7,93,240,.13);
}

.fhdx-pro-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    border: 1px solid rgba(7,93,240,.18);
    background:
        radial-gradient(circle at 35% 25%,rgba(255,255,255,.95),rgba(255,255,255,.55)),
        linear-gradient(135deg,#eaf2ff 0%,#ffffff 100%);
    box-shadow:
        0 16px 35px rgba(7,93,240,.12),
        inset 0 0 0 1px rgba(255,255,255,.8);
}

.fhdx-pro-icon svg,
.fhdx-school-card-v3 svg {
    width: 48px;
    height: 48px;
    color: var(--fhdx-blue);
    stroke-width: 2.35;
    filter: drop-shadow(0 6px 10px rgba(7,93,240,.18));
}

.fhdx-school-card-v3 h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 900;
}

.fhdx-school-card-v3 p {
    max-width: 180px;
    margin: 0 auto;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

/* =========================================
   Steps
========================================= */

.fhdx-steps-section {
    position: relative;
}

.fhdx-steps-v3 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 46px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.fhdx-step-v3 {
    position: relative;
    isolation: isolate;
}

.fhdx-step-v3::before {
    content: "";
    position: absolute;
    top: 45px;
    left: calc(50% + 74px);
    width: 110px;
    border-top: 3px dotted rgba(7,93,240,.45);
    z-index: -1;
}

.fhdx-step-v3:last-child::before {
    display: none;
}

[dir="rtl"] .fhdx-step-v3::before {
    left: auto;
    right: calc(50% + 74px);
}

.fhdx-step-v3 b {
    position: relative;
    z-index: 2;
    display: flex;
    width: 36px;
    height: 36px;
    margin: 0 auto -12px;
    align-items: center;
    justify-content: center;
    background: var(--fhdx-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(7,93,240,.28);
}

.fhdx-step-v3 > div,
.fhdx-step-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dbe7f8;
    background:
        radial-gradient(circle at 35% 25%,rgba(255,255,255,1),rgba(247,250,255,.95)),
        linear-gradient(135deg,#ffffff,#f1f6ff);
    box-shadow:
        0 18px 45px rgba(15,23,42,.07),
        inset 0 0 0 8px rgba(248,251,255,.75);
}

.fhdx-step-v3 svg,
.fhdx-step-icon svg {
    width: 52px;
    height: 52px;
    color: var(--fhdx-blue);
    stroke-width: 2.45;
}

.fhdx-step-v3 h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 900;
    color: #0f172a;
}

.fhdx-step-v3 p {
    max-width: 190px;
    margin: 0 auto;
    color: var(--fhdx-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================
   Pricing
========================================= */

.fhdx-pricing-v3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 42px;
    max-width: 940px;
    margin: 0 auto;
}

.fhdx-plan-v3 {
    position: relative;
    overflow: hidden;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(15,23,42,.04);
}

.fhdx-plan-v3 h3 {
    margin: 0;
    color: var(--fhdx-blue);
    text-align: center;
    font-size: 19px;
    font-weight: 900;
}

.fhdx-plan-v3 small {
    display: block;
    margin: 5px 0 24px;
    text-align: center;
    color: #475569;
}

.fhdx-plan-v3 .price {
    margin-bottom: 18px;
    font-size: 38px;
    font-weight: 900;
}

.fhdx-plan-v3 .price span {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.fhdx-plan-v3 ul {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.fhdx-plan-v3 li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    color: #334155;
}

.fhdx-plan-v3 li svg {
    width: 16px;
    height: 16px;
    color: var(--fhdx-success);
}

.fhdx-plan-v3 p {
    text-align: center;
    color: var(--fhdx-muted);
    font-size: 12px;
}

.fhdx-plan-v3.elite {
    background: linear-gradient(135deg,#050505,#0f172a);
    color: #fff;
    border-color: #111827;
}

.fhdx-plan-v3.elite h3 {
    color: #f8d46a;
}

.fhdx-plan-v3.elite li,
.fhdx-plan-v3.elite small,
.fhdx-plan-v3.elite p {
    color: #fff;
}

.ribbon {
    position: absolute;
    top: 18px;
    right: -7px;
    padding: 5px 18px;
    background: var(--fhdx-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    transform: rotate(45deg);
}

.ribbon.gold {
    background: var(--fhdx-gold);
    color: #111;
}

[dir="rtl"] .ribbon {
    left: -7px;
    right: auto;
    transform: rotate(-45deg);
}

/* =========================================
   Responsive
========================================= */

@media (max-width:1100px){

    .fhdx-schools-v3{
        grid-template-columns:repeat(2,1fr);
    }

    .fhdx-steps-v3{
        grid-template-columns:repeat(2,1fr);
    }

    .fhdx-step-v3::before{
        display:none;
    }
}

@media (max-width:768px){

    .fhdx-hero-image{
        aspect-ratio:auto;
        object-fit:contain;
    }

    .fhdx-schools-v3{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .fhdx-school-card-v3{
        min-height:170px;
        padding:18px 10px;
    }

    .fhdx-pro-icon{
        width:56px;
        height:56px;
        border-radius:16px;
    }

    .fhdx-pro-icon svg,
    .fhdx-school-card-v3 svg{
        width:30px;
        height:30px;
    }

    .fhdx-school-card-v3 h3{
        font-size:15px;
    }

    .fhdx-school-card-v3 p{
        font-size:11.5px;
    }

    .fhdx-steps-v3{
        grid-template-columns:repeat(2,1fr);
        gap:14px;
    }

    .fhdx-step-v3{
        padding:18px 10px;
        border:1px solid #e5e7eb;
        border-radius:18px;
    }

    .fhdx-step-v3 > div{
        width:64px;
        height:64px;
    }

    .fhdx-step-v3 svg{
        width:30px;
        height:30px;
    }

    .fhdx-step-v3 h3{
        font-size:15px;
    }

    .fhdx-step-v3 p{
        font-size:12px;
    }

    .fhdx-pricing-v3{
        grid-template-columns:1fr;
        gap:16px;
    }
}