
        :root{
            --primary:#24A8E0;
            --dark:#3f3f46;
            --light:#f5f7fa;
            --white:#ffffff;
        }

        *{
            margin:0;
            padding:0;
            box-sizing:border-box;
            font-family:'Poppins', sans-serif;
        }

        body{
            background:var(--light);
            overflow-x:hidden;
        }

        .mega-text li {
  padding: 6px 0;
  font-size: 14px;
}

.mega-text i {
  color: #0d6efd; /* or your theme color */
}

        /* NAVBAR */

        .navbar{
            background:rgba(255,255,255,0.95);
            backdrop-filter:blur(10px);
            padding:15px 0;
            box-shadow:0 2px 10px rgba(0,0,0,0.05);
        }

        .navbar-brand{
            font-size:1.8rem;
            font-weight:700;
            color:var(--dark) !important;
        }

        .navbar-brand span{
            color:var(--primary);
        }

        .nav-link{
            color:var(--dark) !important;
            font-weight:500;
            margin-left:10px;
            transition:0.3s;
        }

        .nav-link:hover{
            color:var(--primary) !important;
        }

  .wa-widget{
    position:fixed;
    bottom:25px;
    right:25px;
    z-index:9999;
    font-family:'Poppins', sans-serif;
}

/* ================= MEGA MENU ================= */
.mega-menu{
    width:850px;
    max-width:95vw;

    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%);

    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(15px);

    border:none;
    border-radius:18px;
    box-shadow:0 25px 60px rgba(0,0,0,0.15);

    padding:25px;
    margin-top:12px;

    z-index:1000;

    /* FIX: smoother visibility control */
    opacity:0;
    visibility:hidden;
    transform:translateX(-50%) translateY(15px);
    transition:0.25s ease;
}

/* SHOW STATE (Bootstrap uses .show) */
.dropdown-menu.show{
    opacity:1;
    visibility:visible;
    transform:translateX(-50%) translateY(0);
}

/* animation keyframe not needed anymore (prevents flicker) */


/* ================= MOBILE FIX ================= */
@media (max-width: 768px){

    .mega-menu{
        position:static !important;
        transform:none !important;

        width:100%;
        max-width:100%;

        margin-top:10px;
        border-radius:12px;

        box-shadow:none;

        opacity:1 !important;
        visibility:visible !important;

        transition:none;
    }

    .mega-menu .row{
        flex-direction:column;
    }

    .mega-menu .col-md-4{
        width:100%;
        margin-bottom:15px;
    }
}
/* floating button */
.wa-toggle{
    width:60px;
    height:60px;
    border-radius:50%;
    border:none;
    background:#25D366;
    color:white;
    font-size:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

.wa-toggle:hover{
    transform:scale(1.1);
}

/* popup box */
.wa-box{
    width:280px;
    background:white;
    border-radius:15px;
    box-shadow:0 20px 50px rgba(0,0,0,0.2);
    position:absolute;
    bottom:75px;
    right:0;
    overflow:hidden;
    transform:scale(0);
    transform-origin:bottom right;
    transition:0.3s ease;
}

/* show state */
.wa-widget.active .wa-box{
    transform:scale(1);
}

/* header */
.wa-header{
    background: #1493ca;
    color:white;
    padding:15px;
}

.wa-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
}

.wa-header small{
    opacity:0.9;
}

/* body */
.wa-body{
    padding:15px;
    font-size:0.9rem;
    color:#333;
}

/* footer */
.wa-footer a{
    display:block;
    text-align:center;
    background: #1493ca;
    color:white;
    padding:12px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.wa-footer a:hover{
    background:#1ebe5d;
} 


.nav-item.dropdown.position-static{
    position:relative !important;
}

.mega-title{
    font-weight:700;
    color:var(--primary);
    margin-bottom:10px;
}

.mega-text{
    font-size:0.9rem;
    color:#555;
}

.mega-link{
    display:inline-block;
    margin-top:10px;
    padding:8px 14px;
    background:var(--primary);
    color:white;
    border-radius:8px;
    text-decoration:none;
    font-weight:500;
}

.mega-link:hover{
    background:#1493ca;
}

/* make dropdown full width alignment */
.navbar .dropdown-menu{
    top:100%;
}
        .btn-apply{
            background:var(--primary);
            color:white;
            padding:12px 25px;
            border-radius:10px;
            text-decoration:none;
            font-weight:600;
            transition:0.3s;
        }

        .btn-apply:hover{
            background:#1493ca;
            color:white;
        }

        /* HERO SLIDER */

      

.carousel-item{
    height:100vh;
    min-height:700px;
    position:relative;
}

.carousel-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.carousel-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.carousel-caption{
    position:absolute;
    top:50%;
    left:10%;
    transform:translateY(-50%);
    text-align:left;
    z-index:2;
    max-width:700px;
}

.carousel-caption h1{
    font-size:4rem;
    font-weight:700;
    margin-bottom:20px;
    color:white;
}

.carousel-caption p{
    font-size:1.2rem;
    color:#f1f5f9;
    margin-bottom:30px;
}

.hero-logo{
    width:130px;
    background:white;
    padding:10px;
    border-radius:15px;
}

.carousel-indicators button{
    width:12px !important;
    height:12px !important;
    border-radius:50%;
}

@media(max-width:768px){

    .carousel-caption{
        left:5%;
        right:5%;
    }

    .carousel-caption h1{
        font-size:2.5rem;
    }

    .carousel-caption p{
        font-size:1rem;
    }

    .hero-logo{
        width:90px;
    }
}

        /* SECTION */

        section{
            padding:90px 0;
        }

        .section-title{
            text-align:center;
            margin-bottom:60px;
        }

        .section-title h2{
            font-size:2.5rem;
            font-weight:700;
            color:var(--dark);
        }

        .section-title p{
            color:#666;
        }

        /* FEATURES */

        .feature-box{
            background:white;
            border-radius:20px;
            padding:40px 30px;
            text-align:center;
            transition:0.3s;
            height:100%;
            box-shadow:0 10px 30px rgba(0,0,0,0.05);
        }

        .feature-box:hover{
            transform:translateY(-10px);
        }

        .feature-box i{
            font-size:3rem;
            color:var(--primary);
            margin-bottom:20px;
        }

        /* CALCULATOR */

        .calculator{
            background:white;
            border-radius:25px;
            padding:50px;
            box-shadow:0 10px 40px rgba(0,0,0,0.08);
        }

        .form-control{
            height:55px;
            border-radius:12px;
            border:1px solid #ddd;
        }

        .result-box{
            background:var(--primary);
            color:white;
            padding:30px;
            border-radius:20px;
            margin-top:30px;
        }

        .result-box h3{
            font-weight:700;
        }
.btn-primary-custom{
    background:var(--primary);
    color:white;
    padding:12px 25px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
    display:inline-block;
    transition:0.3s;
    border:none;
}

.btn-primary-custom:hover{
    background:#1493ca;
    color:white;
}

.btn-outline-custom{
    border:2px solid white;
    color:white;
    padding:12px 25px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
    display:inline-block;
    margin-left:10px;
    transition:0.3s;
}

.btn-outline-custom:hover{
    background:white;
    color:var(--dark);
}
        /* LOANS */

        .loan-card{
            background:white;
            padding:40px;
            border-radius:20px;
            transition:0.3s;
            height:100%;
            box-shadow:0 10px 25px rgba(0,0,0,0.05);
        }

        .loan-card:hover{
            transform:translateY(-10px);
        }

        .loan-card h3{
            font-weight:700;
            color:var(--dark);
        }

        .loan-amount{
            color:var(--primary);
            font-size:2rem;
            font-weight:700;
            margin:20px 0;
        }

        /* CTA */

        .cta{
            background:linear-gradient(135deg, var(--primary), #1493ca);
            color:white;
            text-align:center;
            border-radius:30px;
            padding:70px;
        }

        .cta h2{
            font-size:3rem;
            font-weight:700;
        }

.lux-footer{
    background:linear-gradient(135deg, #0b1220, #0f172a);
    color:#e5e7eb;
    padding:90px 0 25px;
    position:relative;
    overflow:hidden;
}

/* soft glow background */
.lux-footer::before{
    content:"";
    position:absolute;
    top:-120px;
    right:-120px;
    width:350px;
    height:350px;
    background:radial-gradient(circle, rgba(36,168,224,0.18), transparent 70%);
    filter:blur(50px);
}

/* grid spacing feel */
.footer-grid{
    margin-bottom:40px;
}

/* glass card */
.footer-card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    padding:25px;
    backdrop-filter:blur(12px);
    transition:0.3s ease;
}

.footer-card:hover{
    transform:translateY(-5px);
    border-color:rgba(36,168,224,0.3);
}

/* logo */
.logo-text{
    font-size:1.6rem;
    font-weight:800;
    margin-bottom:12px;
}

.logo-text span{
    color:var(--primary);
}

/* text */
.footer-card p{
    color:#cbd5e1;
    font-size:0.95rem;
    line-height:1.6;
}

/* headings */
.footer-card h5{
    font-weight:700;
    margin-bottom:15px;
    color:white;
}

/* links */
.footer-card a{
    display:block;
    color:#94a3b8;
    text-decoration:none;
    margin-bottom:10px;
    transition:0.3s;
    font-size:0.95rem;
}

.footer-card a i{
    margin-right:8px;
    color:var(--primary);
}

.footer-card a:hover{
    color:white;
    transform:translateX(5px);
}

/* social icons */
.socials{
    margin-top:15px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
}
.socials a{
    display:inline-flex;
    width:40px;
    height:40px;
    border-radius:50%;
    align-items:center;
    justify-content:center;
    margin-right:8px;
    background:rgba(255,255,255,0.05);
    color:white;
    transition:0.3s;
}

.socials a:hover{
    background:var(--primary);
    transform:translateY(-4px);
    box-shadow:0 10px 20px rgba(36,168,224,0.3);
}

/* bottom */
.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
    text-align:center;
    padding-top:20px;
    color:#94a3b8;
    font-size:0.9rem;
}

/* optional: improve spacing responsiveness */
@media(max-width:768px){
    footer{
        text-align:center;
    }

    footer a{
        justify-content:center;
    }
}
        @media(max-width:768px){

            .carousel-caption{
                bottom:15%;
            }

            .carousel-caption h1{
                font-size:2.5rem;
            }

            .carousel-caption p{
                font-size:1rem;
            }

            .calculator{
                padding:30px;
            }

            .cta{
                padding:40px 20px;
            }

            .cta h2{
                font-size:2rem;
            }
        }

        .nav-link.active{
    color: var(--primary) !important;
    font-weight: 700;
    position: relative;
}

.nav-link.active::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 10px;
}

/* optional smoother feel */
.nav-link{
    position: relative;
    transition: 0.3s;
}
