.qibla-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 60px;
    background: url("/assets/images/star.png") center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(3, 7, 30, 0.22), rgba(3, 7, 30, 1));
}

.qibla-hero .container {
    position: relative;
    z-index: 1;
}

.hero-logo i {
    font-size: 40px;
    color: #ffd86b;
}

.hero-text {
    max-width: 650px;
    margin: 10px auto 0;
    font-size: 17px;
    opacity: 0.85;
}

.hero-compass {
    position: relative;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 30px;
    padding: 25px;
}

.compass-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#compass {
    width: 270px;
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, #ffffff, #ececec);
    border: 10px solid #198754;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.35);
}

.dial {
    position: absolute;
    inset: 0;
    transition: transform 0.15s linear;
}

.degree {
    position: absolute;
    font-weight: 700;
    font-size: 22px;
}

.degree-n {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #dc3545;
}

.degree-s {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.degree-e {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.degree-w {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.kaabah {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    z-index: 10;
}

.arrow {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 65px;
    color: #198754;
    z-index: 20;
}

.center {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 6px solid #198754;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
}

.compass-status {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    text-align: center;
    min-height: 45px;
}

#btnLocation {
    background-color: #198754;
    height: 58px;
    font-weight: 600;
    border-radius: 16px;
    box-shadow: none;
    border: none;
    transition: none;
}

#btnLocation:hover,
#btnLocation:focus,
#btnLocation:active {
    box-shadow: none;
    transform: translate(0px, 1px);
}

.info-section {
    padding: 80px 0;
    background: #f5f7fb;
}

.info-card {
    background: #fff;
    border-radius: 28px;
    padding: 35px;
    text-align: center;
    height: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card i {
    font-size: 42px;
    color: #198754;
}

.info-card h6 {
    margin-top: 20px;
    color: #6c757d;
    font-weight: 600;
}

.info-card h3 {
    margin-top: 10px;
    font-size: 32px;
    font-weight: 700;
}

.info-card p {
    margin-top: 10px;
    word-break: break-word;
}

.btn-help{
    position:absolute;
    top:18px;
    right:18px;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.15);
    color:#ffd86b;

    font-size:20px;
    cursor:pointer;

    transition:.25s;
    z-index:20;
}

.btn-help:hover{
    background:rgba(255,255,255,.25);
    color:#fff;
    transform:scale(1.08);
}

.btn-help:focus,
.btn-help:active{
    outline:none;
    box-shadow:none;
}

/* TABLET */

@media (max-width: 992px) {
    .qibla-hero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 90px;
    }

    #compass {
        width: 280px;
    }

    .hero-compass {
        padding: 30px;
    }
}

/* MOBILE */

@media (max-width: 576px) {
    .qibla-hero {
        padding-top: 110px;
        padding-bottom: 80px;
    }

    .hero-logo i {
        font-size: 38px;
    }

    .hero-text {
        font-size: 15px;
    }

    #compass {
        width: 250px;
        border-width: 8px;
    }

    .arrow {
        font-size: 65px;
    }

    .kaabah {
        font-size: 36px;
    }

    .hero-compass {
        padding: 22px;
        border-radius: 24px;
    }

    #btnLocation {
        width: 100%;
    }

    .info-section {
        padding: 60px 0;
    }

    .info-card {
        padding: 25px;
    }
}