/* ===== GLOBAL RESET & BASE ===== */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--black-color);
    width: 100%;
    max-width: 100vw;
}

body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #f1f1f1; }
body::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }

h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: var(--black-color);
}

p { font-weight: 400; }
button { font-family: 'Montserrat', sans-serif; font-weight: 700; }

a { text-decoration: none; transition: all 0.3s ease; }

/* ===== TOP HEADER BAR ===== */
.top-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
}
.top-header a { color: #fff; text-decoration: none; margin-left: 10px; }
.top-header a:hover { text-decoration: underline; opacity: 0.9; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease-in-out;
    background-color: white;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.05);
    padding: 5px 0;
}
.navbar.shadow { box-shadow: 0px 4px 15px rgba(0,0,0,0.12); }

.navbar-brand img { transition: all 0.3s ease; }

.navbar-nav .nav-item { margin: 0 3px; }
.navbar-nav .nav-link {
    text-align: center;
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: var(--black-color);
    transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
    border-radius: 4px;
    padding: 8px 12px !important;
}
.navbar-nav .nav-link:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Dropdown */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .4s;
        opacity: 0;
    }
}
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .4s;
    opacity: 1;
}
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
}
.dropdown-item {
    font-size: 14px;
    padding: 8px 16px;
    transition: text-indent 0.3s ease-in-out, color 0.3s ease-in-out, background 0.3s ease-in-out;
}
.dropdown-item:hover {
    background-color: var(--secondary-color);
    color: #fff !important;
    text-indent: 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232,93,38,0.3);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ===== TEXT HELPERS ===== */
.primary-highlight-text { color: var(--primary-color); }
.secondary-highlight-text { color: var(--secondary-color); }
.text-desgin {
    font-size: 14.5px;
    font-weight: 400;
    color: #555;
    text-align: justify;
    line-height: 26px;
}

/* ===== CAROUSEL ===== */
.carousel { position: relative; width: 100%; max-height: 600px; overflow: hidden; }
.carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 600px;
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(45%);
}
.carousel-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(123,24,84,0.4), rgba(232,93,38,0.2));
    z-index: 1;
    pointer-events: none;
}
.carousel-caption {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 800px;
}
.carousel-caption h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.carousel-caption p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
}
.carousel-content-btn1 {
    color: #fff;
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.carousel-content-btn1:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

@media (min-width: 768px) {
    .carousel-caption {
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 80%;
    }
}
@media (max-width: 576px) {
    .carousel-caption h2 { font-size: 1.5rem; line-height: 1.3; }
    .carousel-caption p { font-size: 0.85rem; }
    .carousel-content-btn1 { padding: 8px 16px; font-size: 12px; }
}

.carousel-control-prev, .carousel-control-next {
    width: 55px; height: 55px;
    background-color: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    opacity: 1;
    z-index: 3;
    transition: all 0.4s ease;
}
.carousel-control-prev { left: 2%; }
.carousel-control-next { right: 2%; }
.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.carousel-indicators [data-bs-target] {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: none;
    opacity: 0.5;
    transition: all 0.4s ease;
}
.carousel-indicators .active {
    background: var(--secondary-color) !important;
    opacity: 1;
    transform: scale(1.2);
}

/* ===== ABOUT SECTION ===== */
.about-section img { border-radius: 12px; }

/* ===== MILESTONES / COUNTERS ===== */
.counter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 6px 16px rgba(123,24,84,0.3);
    margin: 0 auto 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.counter-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(123,24,84,0.4);
}
.counter-icon img { max-width: 55%; max-height: 55%; filter: brightness(0) invert(1); }

/* ===== SERVICES ===== */
.how-it-works {
    padding: 50px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}
.step-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease-in-out;
    border: 1px solid #eee;
    text-align: left;
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--secondary-color);
}
.step-card img {
    width: 60px; height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}
.step-card h5 { font-size: 16px; font-weight: 700; }
.step-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { padding: 60px 40px; }
@media (max-width: 768px) { .testimonial-section { padding: 30px 15px; } }

.testimonial-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px 25px;
    border-radius: 14px;
    min-height: 260px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(123,24,84,0.15);
}
.testimonial-text {
    font-size: 13.5px;
    color: #555;
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.7;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.user-name { margin: 0; font-size: 14px; font-weight: 700; }
.user-role { color: #6c757d; font-size: 12px; }
.stars { color: #ffb400; font-size: 14px; }

.owl-nav { display: none; }

/* ===== SIP CALCULATOR ===== */
.calculator-section {
    position: relative;
    padding: 70px 0;
}
.results-card {
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}
.stat-card {
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}
.stat-title { font-size: 0.8rem; opacity: 0.8; margin-bottom: 4px; color: rgba(255,255,255,0.85); }
.stat-value { font-size: 1rem; font-weight: 700; color: #fff; }

/* ===== BLOG CARDS ===== */
.blog-card-custom {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(123,24,84,0.15);
    transition: all 0.3s ease;
}
.blog-card-custom:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.blog-category {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}
.blog-title {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0 12px;
}
.blog-img { width: 100%; margin-top: auto; }
.blog-img img { width: 100%; height: auto; border-radius: 8px; }

/* ===== NEWS CARDS ===== */
.news-card {
    border-radius: 14px;
    border: 1px solid rgba(123,24,84,0.12);
    transition: all 0.3s ease;
}
.news-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(123,24,84,0.1);
}
.custom-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    width: 32px; height: 32px;
    transition: all 0.3s ease;
}
.custom-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===== FOOTER ===== */
footer { background-color: #0d1b2a !important; }

.footer .widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color) !important;
    position: relative;
    padding-bottom: 10px;
}
.footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.footer ul { list-style: none; padding: 0; font-size: 14px; }
.footer ul li { margin-top: 14px; }
.footer a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--secondary-color); }

.list-border li {
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    padding-bottom: 10px;
}

.footer-bottom {
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
.whatsapp-float i { font-size: 30px; color: #fff; }

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    width: 100%; height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-in-out;
}
.loader { display: flex; align-items: center; justify-content: center; gap: 6px; }
.loader span {
    width: 12px; height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loader span:nth-child(1) { animation-delay: -0.40s; }
.loader span:nth-child(2) { animation-delay: -0.30s; }
.loader span:nth-child(3) { animation-delay: -0.20s; }
.loader span:nth-child(4) { animation-delay: -0.10s; }
.loader span:nth-child(5) { animation-delay: 0; }

@keyframes bounce {
    0%,80%,100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* ===== SIDE LINKS (Desktop) ===== */
.side-links {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.side-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 48px;
    white-space: nowrap;
    border-radius: 8px 0 0 8px;
}
.side-link:hover {
    width: 190px;
    background: var(--secondary-color);
    color: #fff;
}
.side-link i { font-size: 18px; min-width: 20px; text-align: center; }
.side-link span {
    margin-right: 10px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.side-link:hover span { opacity: 1; }
.side-link:first-child { border-radius: 8px 0 0 0; }
.side-link:last-child { border-radius: 0 0 0 8px; }

@media (max-width: 768px) { .side-links { display: none; } }

/* ===== DOWNLOAD APP ===== */
.app-img { 
    transition: transform 0.3s ease;
    max-width: 50px;
}
.app-img:hover { transform: scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translate3d(0, -30px, 0); }
    100% { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translate3d(0, 30px, 0); }
    100% { opacity: 1; transform: none; }
}
.animated { animation-duration: 1.5s; animation-fill-mode: both; }
.fadeInDown { animation-name: fadeInDown; }

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) and (max-width: 1024px) {
    .navbar-brand img { width: 200px !important; }
    .navbar-nav .nav-link { font-size: 12px !important; padding: 6px 8px !important; }
    .navbar .btn { font-size: 11px !important; padding: 0.3rem 0.5rem !important; }
}

/* ===== SOCIAL ICONS IN FOOTER ===== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    margin: 0 5px;
}
.social-icon:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ===== FORM CONTROLS ===== */
.form-control, .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123,24,84,0.1);
}
