
/* ==========================================
   MI HUBBUL QUR'AN
   HERO - MODERN ISLAMIC PREMIUM
========================================== */

/* HERO SECTION */

.hero-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 650px;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F8FBF9 55%,
        #EDF6F2 100%
    );
}

/* MAIN CONTAINER */

.hero-container {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 1250px;
    min-height: 650px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 45px;

    padding: 65px 0 80px;
}

/* ==========================================
   LEFT CONTENT
========================================== */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border: 1px solid #DCEBE4;
    border-radius: 50px;

    background: #EFF7F2;
    color: #009FAE;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.hero-badge-symbol {
    color: #D4AF37;
    font-size: 18px;
}

/* HEADLINE */

.hero-title {
    margin: 25px 0 22px;

    color: #009FAE;
    font-size: clamp(38px, 4.1vw, 59px);
    font-weight: 800;
    line-height: 1.19;
    letter-spacing: -1.8px;
}

.hero-title span {
    color: #F5AD24;
}

/* DESCRIPTION */

.hero-description {
    max-width: 525px;
    margin: 0;

    color: #607477;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

/* BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 51px;
    padding: 13px 23px;
    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-btn-primary {
    background: #009FAE;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(7, 87, 91, 0.15);
}

.hero-btn-primary:hover {
    background: #043F43;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(7, 87, 91, 0.22);
}

.hero-btn-secondary {
    background: #FFFFFF;
    color: #009FAE;
    border: 1px solid #D6E5DF;
}

.hero-btn-secondary:hover {
    background: #EFF7F2;
    transform: translateY(-3px);
}

/* BOTTOM INFORMATION */

.hero-bottom-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 45px;
}

.hero-info-line {
    width: 35px;
    height: 3px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #D4AF37;
}

.hero-bottom-info p {
    margin: 0;
    color: #718584;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 500;
}

/* ==========================================
   RIGHT VISUAL
========================================== */

.hero-visual {
    position: relative;
    width: 100%;
    min-height: 510px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* CIRCLE BACKGROUND */


.hero-visual-circle {
    position: absolute;
    z-index: 0;
    bottom: 12px;
    left: 50%;

    width: min(440px, 94%);
    height: 440px;

    transform: translateX(-50%);

    border-radius: 48% 52% 18% 18% /
                   38% 42% 12% 12%;

    background: linear-gradient(
        145deg,
        #E3F1EA 0%,
        #B4D9CC 100%
    );
}


/* DECORATIVE RING */


.hero-visual-ring {
    position: absolute;
    z-index: 0;
    bottom: -3px;
    left: 50%;

    width: min(465px, 100%);
    height: 460px;

    transform: translateX(-50%);

    border-radius: 48% 52% 18% 18% /
                   38% 42% 12% 12%;

    border: 1.5px solid rgba(7, 87, 91, 0.16);
}



/* ==========================================
   HERO IMAGE - ARCH FRAME
========================================== */

.hero-image-frame {
    position: absolute;
    z-index: 2;

    left: 50%;
    bottom: 12px;

    width: min(440px, 94%);
    height: 440px;

    transform: translateX(-50%);

    border-radius:
        48% 52% 18% 18% /
        38% 42% 12% 12%;

    overflow: hidden;

    background: #B4D9CC;
}

.hero-image {
    display: block;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    object-fit: cover;
    object-position: center 40%;

    filter: none;
}


/* DECORATIVE STARS */

.hero-pattern {
    position: absolute;
    z-index: 1;
    color: #D4AF37;
    pointer-events: none;
}

.hero-pattern-top {
    top: 40px;
    right: 15px;
    font-size: 42px;
}

.hero-pattern-bottom {
    bottom: 130px;
    left: 0;
    font-size: 36px;
}

/* FLOATING INFORMATION CARD */

.hero-floating-card {
    position: absolute;
    z-index: 4;
    left: 0;
    bottom: 65px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;
    border: 1px solid #E5EFEB;
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.hero-floating-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #E8F3EF;
    color: #009FAE;
    font-size: 24px;
}

.hero-floating-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.hero-floating-text strong {
    color: #009FAE;
    font-size: 13px;
    font-weight: 700;
}

.hero-floating-text span {
    color: #6B8281;
    font-size: 10px;
}

/* SMALL FLOATING BADGE */

.hero-floating-badge {
    position: absolute;
    z-index: 4;
    top: 95px;
    right: -10px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 16px;
    border-radius: 30px;

    background: #FFFFFF;
    color: #009FAE;
    font-size: 11px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hero-floating-badge span {
    color: #D4AF37;
}

/* BOTTOM DECORATION */

.hero-bottom-decoration {
    position: absolute;
    z-index: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7px;

    background: linear-gradient(
        90deg,
        #009FAE 0%,
        #D4AF37 50%,
        #009FAE 100%
    );
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 992px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 65px 0 60px;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bottom-info {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        min-height: 460px;
        margin: 0 auto;
    }

    .hero-image {
        max-height: 470px;
    }

    .hero-floating-card {
        left: 20px;
    }

    .hero-floating-badge {
        right: 10px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .hero-container {
        width: 92%;
        padding: 48px 0 55px;
        gap: 20px;
    }

    .hero-badge {
        padding: 9px 13px;
        font-size: 10px;
    }

    .hero-title {
        margin: 20px 0 18px;
        font-size: clamp(32px, 8vw, 40px);
        letter-spacing: -0.8px;
        line-height: 1.22;
    }

    .hero-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 25px;
    }

    .hero-btn {
        min-height: 45px;
        padding: 12px 16px;
        font-size: 11px;
    }

    .hero-bottom-info {
        margin-top: 28px;
    }

    .hero-bottom-info p {
        font-size: 10px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-visual-circle {
        width: min(310px, 88%);
    }

    .hero-visual-ring {
        width: min(335px, 94%);
    }

    .hero-image {
        max-height: 340px;
    }

    .hero-pattern-top {
        top: 25px;
        right: 5px;
        font-size: 28px;
    }

    .hero-pattern-bottom {
        bottom: 100px;
        font-size: 25px;
    }

    .hero-floating-card {
        left: 0;
        bottom: 20px;
        padding: 9px 11px;
        gap: 8px;
    }

    .hero-floating-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .hero-floating-text strong {
        font-size: 10px;
    }

    .hero-floating-text span {
        font-size: 8px;
    }

    .hero-floating-badge {
        top: 25px;
        right: 0;
        padding: 8px 10px;
        font-size: 9px;
    }
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.hero-btn:focus-visible {
    outline: 3px solid #D4AF37;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-btn {
        transition: none;
    }
}
