/* Project: Royal Hearing Aids - Premium Design
   Theme: Medical Luxury (Purple & Slate)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #5a00ff;
    --primary-dark: #4400cc;
    --accent: #ffd700;
    --dark: #0f172a;
    --slate: #1e293b;
    --gray: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow-premium: 0 20px 40px rgba(0,0,0,0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    background: var(--white);
    color: var(--slate);
    line-height: 1.6;
}

/* --- NAVIGATION BAR --- */
.header_section {
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
}

    .header_section.scrolled {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: 12px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

.navbar-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.brand-text {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -1px;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 20px !important;
    position: relative;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--white) !important;
        opacity: 1;
    }

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        box-shadow: 0 0 8px var(--primary);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 25px;
    }

.btn-premium-wa {
    background: #25D366;
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: 0.3s;
    border: none;
    font-size: 14px;
}

    .btn-premium-wa:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
        background: #20ba5a;
    }

/* --- HERO SECTION --- */
.hero_premium {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('/Jw/hearingBan.jpeg') no-repeat center center / cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero_content {
    position: relative;
    z-index: 5;
    color: var(--white);
    max-width: 800px;
}

.badge-premium {
    background: rgba(90, 0, 255, 0.15);
    border: 1px solid var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
}

.hero_content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 25px 0;
    line-height: 1;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero_content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.btn-main-luxury {
    background: var(--primary);
    color: var(--white) !important;
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(90, 0, 255, 0.3);
}

    .btn-main-luxury:hover {
        background: var(--primary-dark);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(90, 0, 255, 0.5);
    }

/* --- SERVICES & CARDS --- */
.services_grid {
    padding: 120px 0;
    background: var(--light-bg);
}

.section_header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 50px;
}

.test_card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
}

    .test_card:hover {
        transform: translateY(-15px);
        box-shadow: 0 40px 70px rgba(0,0,0,0.06);
        border-color: var(--primary);
    }

.card_icon {
    width: 80px;
    height: 80px;
    background: rgba(90, 0, 255, 0.05);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    transition: 0.3s;
}

.test_card:hover .card_icon {
    background: var(--primary);
    color: var(--white);
}

.test_card h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.card-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
    margin-top: 15px;
}

/* --- ABOUT SECTION --- */
.about_luxury {
    padding: 120px 0;
}

.img-main {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.exp-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 35px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(90, 0, 255, 0.3);
}

    .exp-box h3 {
        font-size: 2.5rem;
        font-weight: 800;
        margin: 0;
    }

    .exp-box p {
        font-size: 14px;
        margin: 0;
        font-weight: 600;
        opacity: 0.9;
    }

/* --- BLOG CARDS --- */
.blog_luxury {
    padding-bottom: 120px;
    background: var(--light-bg);
}

.blog_luxury_card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    height: 100%;
    transition: 0.3s;
}

    .blog_luxury_card:hover {
        transform: translateY(-10px);
    }

.blog_img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog_info {
    padding: 30px;
}

    .blog_info h5 {
        font-weight: 700;
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .blog_info a {
        color: var(--primary);
        font-weight: 700;
        text-decoration: none;
        font-size: 14px;
    }

/* --- FOOTER --- */
.footer_section {
    background: var(--dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

    .footer-links a:hover {
        color: var(--white);
        padding-left: 8px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .hero_content h1 {
        font-size: 3rem;
    }

    .navbar-collapse {
        background: var(--dark);
        margin-top: 20px;
        padding: 20px;
        border-radius: 15px;
    }
}
/* Mobile Toggler Custom Styling */
