
 html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* SPLIT */
.split-wrapper {
    display: flex;
    height: 100vh;
}

.panel {
    width: 50%;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* NAVBARS */
.nav-medical {
    background: #4b1fd6;
}
.nav-dental {
    background: #006d77;
}

.custom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    white-space: nowrap; /* 🔥 FORCE ONE LINE */
}

.custom-nav .nav-links {
    display: flex;
    gap: 25px;
}

.custom-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.custom-nav a:hover {
    color: #ffd166;
}

/* HERO BACKGROUNDS */
.medical {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.dental {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* HERO */

.hero {
    height: calc(100% - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.hero-box {
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(20px);
    padding: 55px;
    border-radius: 24px;
    max-width: 520px;
    animation: fadeUp 1s ease;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
}

.hero p {
    margin: 20px 0 30px;
    font-size: 1.05rem;
    opacity: 0.95;
}

/* BUTTON */
.btn-glow {
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    background: #fff;
    color: #000;
    transition: 0.3s;
}

.btn-glow:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HERO ENHANCEMENT */
.hero {
    position: relative;
}

/* Floating glow shapes */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(255,255,255,0.15);
    filter: blur(90px);
    border-radius: 50%;
    animation: float 8s infinite alternate;
}

.medical .hero::before {
    top: 10%;
    left: 15%;
}

.dental .hero::before {
    bottom: 15%;
    right: 20%;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-40px); }
}

/* HERO BOX UPGRADE */
.hero-box {
    position: relative;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(22px);
    border-radius: 28px;
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

/* BADGE */
.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

/* TITLE */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* BUTTON ICON ANIMATION */
.btn-glow i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-glow:hover i {
    transform: translateX(6px);
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .split-wrapper {
        flex-direction: column;
    }
    .panel {
        width: 100%;
        height: 100vh;
    }
}



/* LOGO STYLING */
.logo img {
    height: 42px;          /* perfect navbar height */
    width: auto;
    object-fit: contain;
}

/* Keep logo + nav perfectly aligned */
.custom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ===============================
   MOBILE VIEW (375px & below)
================================ */
@media (max-width: 576px) {

    /* STACK PANELS */
    .split-wrapper {
        flex-direction: column;
        height: auto;
    }

    .panel {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    /* NAVBAR MOBILE */
    .custom-nav {
        padding: 14px 16px;
    }

    .logo img {
        height: 36px;
        width: 90px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    /* HERO */
    .hero {
        padding: 20px;
        height: auto;
    }

    .hero-box {
        padding: 28px;
        border-radius: 20px;
        max-width: 100%;
    }

    .hero-title,
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    /* BADGE */
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    /* BUTTON */
    .btn-glow {
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
    }

    /* GLOW SHAPES SMALLER */
    .hero::before,
    .hero::after {
        width: 160px;
        height: 160px;
        filter: blur(70px);
    }
}


/* HAMBURGER ICON */
.menu-toggle{
    display:none;
    font-size:24px;
    color:#fff;
    cursor:pointer;
    z-index:9999;
}

/* MOBILE VIEW */
@media (max-width:576px){

    /* show hamburger */
    .menu-toggle{
        display:block;
    }

    /* navbar */
    .custom-nav{
        position:relative;
        z-index:9999;
    }

    /* 🔥 FORCE HIDE MENU FIRST */
    .custom-nav .nav-links{
        display:none !important;
        position:absolute;
        top:65px;
        left:0;
        width:100%;
        background:#111;
        flex-direction:column;
        text-align:center;
        padding:20px 0;
        z-index:9999;
    }

    /* show when clicked */
    .custom-nav .nav-links.show{
        display:flex !important;
        animation:slideDown .4s ease;
    }

    .nav-links a{
        display:block;
        padding:14px 0;
        font-size:16px;
        border-bottom:1px solid rgba(255,255,255,0.1);
    }
}

/* animation */
@keyframes slideDown{
    from{opacity:0; transform:translateY(-20px);}
    to{opacity:1; transform:translateY(0);}
}



/* ================= PREMIUM SERVICES ================= */
.services-section{
    padding:110px 20px;
    background:linear-gradient(135deg,#f8fbff,#eef5ff);
    position:relative;
    overflow:hidden;
}

/* floating gradient bg */
.services-section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:linear-gradient(135deg,#16c172,#0072ff);
    filter:blur(160px);
    opacity:.12;
    top:-120px;
    left:-120px;
}

/* TITLE */
.services-title{
    text-align:center;
    font-size:2.8rem;
    font-weight:800;
    color:#0b2545;
    margin-bottom:70px;
    letter-spacing:.5px;
    position:relative;
}

.services-title span{
    background:linear-gradient(135deg,#16c172,#0072ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* underline */
.services-title::after{
    content:"";
    width:90px;
    height:4px;
    background:linear-gradient(135deg,#16c172,#0072ff);
    display:block;
    margin:15px auto 0;
    border-radius:20px;
}

/* GRID */
.services-grid{
    max-width:1000px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
}

/* CARD */
.service-card{
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(25px);
    border-radius:26px;
    padding:35px 30px;
    position:relative;
    box-shadow:0 40px 90px rgba(0,0,0,0.08);
    transition:.5s;
    overflow:hidden;
    
}

/* glowing border */
.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:26px;
    padding:1px;
    background:linear-gradient(135deg,#16c172,#0072ff);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:.4;
}

/* hover effect */
.service-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 60px 120px rgba(0,0,0,0.18);
}

/* HEADER */
.service-card-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:25px;
}

/* ICON */
.service-icon{
    width:65px;
    height:65px;
    border-radius:18px;
    background:linear-gradient(135deg,#16c172,#0072ff);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:26px;
    box-shadow:0 18px 40px rgba(0,114,255,0.35);
}

.service-name{
    font-size:1.5rem;
    font-weight:900;
    color:#0b2545;
    margin:0;
    font-family: 'Times New Roman', Times, serif;
}

/* LIST */
.service-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:15px;
}

/* ITEM */
.service-item{
    text-decoration:none;
    color:#163a5f;
    font-size:0.96rem;
    padding:11px 14px;
    border-radius:12px;
    font-weight:900;
    display:flex;
    align-items:center;
    transition:.35s;
    position:relative;
}

/* arrow */
.service-item::before{
    content:"\f105";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    margin-right:10px;
    color:#16c172;
}

/* hover */
.service-item:hover{
    background:linear-gradient(135deg,#16c172,#0072ff);
    color:black;
    padding-left:18px;
    transform:translateX(6px);
    box-shadow:0 15px 30px rgba(0,114,255,.25);
}

.service-item:hover::before{
    color:#fff;
}

/* RESPONSIVE */
@media(max-width:900px){
    .services-grid{
        grid-template-columns:1fr;
    }

    .services-title{
        font-size:2.1rem;
    }
}
