/**
 * ==============================================================================
 * Anant Finvest - Modern Enhancements & Rich Animations
 * State-of-the-art UI/UX, Glassmorphism, Micro-interactions & Smooth Transitions
 * ==============================================================================
 */

:root {
    --primary-navy: #084565;
    --primary-dark: #042436;
    --primary-light: #0d5c86;
    --accent-cyan: #27c9f1;
    --accent-teal: #00d084;
    --accent-gold: #f59e0b;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 10px 25px -5px rgba(8, 69, 101, 0.08), 0 8px 10px -6px rgba(8, 69, 101, 0.04);
    --card-shadow-hover: 0 20px 35px -5px rgba(8, 69, 101, 0.16), 0 10px 15px -5px rgba(39, 201, 241, 0.12);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================================================================
   1. KEYFRAME ANIMATIONS
   ============================================================================== */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(39, 201, 241, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(39, 201, 241, 0);
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmerGlow {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ==============================================================================
   2. HERO BANNER & BXSLIDER ULTRA-MODERN STYLING
   ============================================================================== */
.banner_area {
    position: relative;
    background: #042436;
    overflow: hidden;
}

.inbanner {
    position: relative;
}

.inbanner .bxslider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.inbanner .bxslider li {
    position: relative;
}

.inbanner .bxslider li img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 6s ease-out;
}

/* Subtle zoom effect on active slide */
.inbanner .bx-viewport {
    border: none !important;
    box-shadow: none !important;
    left: 0 !important;
    background: transparent !important;
}

/* Modern Slider Controls (Prev/Next Buttons) */
.bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(8, 69, 101, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-size: 22px;
    border-radius: 50% !important;
    z-index: 99 !important;
    transition: var(--transition-smooth) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    text-indent: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    cursor: pointer;
}

.bx-wrapper .bx-prev {
    left: 25px !important;
}

.bx-wrapper .bx-next {
    right: 25px !important;
}

.bx-wrapper .bx-controls-direction a:hover {
    background: #27c9f1 !important;
    color: #084565 !important;
    transform: translateY(-50%) scale(1.12) !important;
    border-color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(39, 201, 241, 0.6) !important;
}

/* Modern Slider Pager (Floating Dots) */
.bx-wrapper .bx-pager {
    position: absolute !important;
    bottom: 25px !important;
    width: 100% !important;
    text-align: center !important;
    z-index: 95 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    margin: 0 6px !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border: 2px solid #ffffff !important;
    border-radius: 20px !important;
    transition: var(--transition-smooth) !important;
    text-indent: -9999px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35) !important;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: scale(1.2) !important;
}

.bx-wrapper .bx-pager.bx-default-pager a.active {
    width: 36px !important;
    background: linear-gradient(135deg, #27c9f1, #084565) !important;
    border-color: #27c9f1 !important;
    box-shadow: 0 0 15px rgba(39, 201, 241, 0.8) !important;
}

/* Hero Floating Value Badge */
.hero-floating-badges {
    position: absolute;
    bottom: 55px;
    left: 40px;
    z-index: 80;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-pill-badge {
    background: rgba(4, 36, 54, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(39, 201, 241, 0.4);
    border-radius: 30px;
    padding: 8px 18px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
}

.hero-pill-badge i {
    color: #27c9f1;
    font-size: 14px;
}

.hero-pill-badge:hover {
    background: rgba(8, 69, 101, 0.9);
    border-color: #27c9f1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-floating-badges {
        display: none;
    }
    .bx-wrapper .bx-controls-direction a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .bx-wrapper .bx-prev { left: 10px !important; }
    .bx-wrapper .bx-next { right: 10px !important; }
}

/* ==============================================================================
   3. ANIMATED TRUST & STATS COUNTER STRIP
   ============================================================================== */
.anant-stats-strip {
    background: linear-gradient(135deg, #042436 0%, #084565 50%, #063953 100%);
    position: relative;
    padding: 35px 0;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid #27c9f1;
}

.anant-stats-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(39, 201, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item-box {
    text-align: center;
    padding: 15px 10px;
    position: relative;
    transition: var(--transition-smooth);
}

.stat-item-box:hover {
    transform: translateY(-5px);
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: rgba(39, 201, 241, 0.15);
    border: 1px solid rgba(39, 201, 241, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #27c9f1;
    transition: var(--transition-smooth);
}

.stat-item-box:hover .stat-icon-wrap {
    background: #27c9f1;
    color: #042436;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 20px rgba(39, 201, 241, 0.6);
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    font-family: 'Josefin Sans', sans-serif;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.stat-number span {
    color: #27c9f1;
}

.stat-label {
    font-size: 13px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==============================================================================
   4. INTRO SECTION MODERNIZATION
   ============================================================================== */
.anant-bg {
    background: #ffffff !important;
    padding: 60px 0 40px !important;
    position: relative;
}

.heading-name h1 {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #084565 !important;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.heading-name h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #084565, #27c9f1);
    border-radius: 4px;
}

.heading-name p {
    font-size: 16px !important;
    line-height: 1.85 !important;
    color: #475569 !important;
    max-width: 960px;
    margin: 0 auto 16px !important;
}

/* ==============================================================================
   5. 4 CORE SERVICES CARDS WITH 3D HOVER ELEVATION
   ============================================================================== */
.ind-service-area {
    padding: 50px 0 65px !important;
    background: #f8fafc !important;
}

.ser-head h2 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #084565 !important;
    margin-bottom: 40px !important;
    position: relative;
}

.ser-head h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #27c9f1;
    margin: 12px auto 0;
    border-radius: 2px;
}

.icon-ser-area {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px 22px 25px !important;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    transition: var(--transition-smooth) !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 30px !important;
    height: calc(100% - 30px);
}

.icon-ser-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #084565, #27c9f1);
    opacity: 0;
    transition: var(--transition-smooth);
}

.icon-ser-area:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--card-shadow-hover) !important;
    border-color: rgba(39, 201, 241, 0.4) !important;
}

.icon-ser-area:hover::before {
    opacity: 1;
}

.icon-ser4 {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, rgba(8, 69, 101, 0.08), rgba(39, 201, 241, 0.12)) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(39, 201, 241, 0.25) !important;
    transition: var(--transition-smooth) !important;
}

.icon-ser-area:hover .icon-ser4 {
    background: linear-gradient(135deg, #084565, #27c9f1) !important;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 20px rgba(8, 69, 101, 0.25);
}

.icon-ser4 img {
    max-height: 44px !important;
    transition: var(--transition-smooth);
}

.icon-ser-area:hover .icon-ser4 img {
    filter: brightness(0) invert(1);
}

.ind-ser-text h3 a {
    color: #084565 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.icon-ser-area:hover .ind-ser-text h3 a {
    color: #27c9f1 !important;
}

.ind-ser-text p {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 14px 0 20px !important;
}

.ind-ser-btn a {
    background: linear-gradient(135deg, #084565, #0d5c86) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
    box-shadow: 0 4px 12px rgba(8, 69, 101, 0.2) !important;
}

.ind-ser-btn a:hover {
    background: linear-gradient(135deg, #27c9f1, #084565) !important;
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(39, 201, 241, 0.4) !important;
}

/* ==============================================================================
   6. EASY RESPONSIVE TABS MODERNIZATION (FINANCE INVESTMENT)
   ============================================================================== */
.finance-bg {
    background: #ffffff !important;
    padding: 60px 0 !important;
}

.head-finace h2 {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #084565 !important;
    margin-bottom: 30px !important;
}

.resp-tabs-list li {
    padding: 12px 26px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    margin: 0 5px 12px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #084565 !important;
    transition: var(--transition-smooth) !important;
}

.resp-tabs-list li:hover {
    background: #e2e8f0 !important;
    color: #084565 !important;
}

.resp-tabs-list li.resp-tab-active {
    background: linear-gradient(135deg, #084565, #27c9f1) !important;
    color: #ffffff !important;
    border-color: #084565 !important;
    box-shadow: 0 6px 18px rgba(8, 69, 101, 0.25) !important;
}

.resp-tab-content {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    background: #f8fafc !important;
    box-shadow: var(--card-shadow) !important;
}

.finance-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 14px;
    border: 1px solid #e2e8f0;
    transition: var(--transition-smooth);
    margin-bottom: 20px;
}

.finance-box:hover {
    transform: translateY(-5px);
    border-color: #27c9f1;
    box-shadow: var(--card-shadow-hover);
}

.finance-box h4 {
    color: #084565;
    font-weight: 700;
    font-size: 16px;
    margin: 10px 0 6px;
}

/* ==============================================================================
   7. FEATURED SERVICES (LOWER 4 CARDS)
   ============================================================================== */
.featured-sec {
    padding: 60px 0 70px !important;
    background: #f1f5f9 !important;
}

.featured-box {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--card-shadow) !important;
    border: 1px solid #e2e8f0 !important;
    transition: var(--transition-smooth) !important;
    margin-bottom: 30px !important;
}

.featured-box:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--card-shadow-hover) !important;
    border-color: #27c9f1 !important;
}

.featured-box .feature-img {
    overflow: hidden;
    position: relative;
}

.featured-box .feature-img img {
    transition: transform 0.6s ease;
    width: 100%;
}

.featured-box:hover .feature-img img {
    transform: scale(1.08);
}

.featured-box h3 {
    padding: 18px 20px 8px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #084565 !important;
}

.feature-link ul {
    padding: 0 20px 15px !important;
    list-style: none !important;
}

.feature-link ul li {
    padding: 8px 0 !important;
    border-bottom: 1px dashed #e2e8f0 !important;
    font-size: 14px !important;
    color: #475569 !important;
}

.feature-link ul li a {
    color: #475569 !important;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.feature-link ul li a:hover {
    color: #084565 !important;
    padding-left: 6px;
}

.see-more {
    padding: 12px 20px 20px !important;
}

.see-more a {
    background: linear-gradient(135deg, #084565, #27c9f1) !important;
    color: #ffffff !important;
    border-radius: 25px !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
}

.see-more a:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(39, 201, 241, 0.4) !important;
}

/* ==============================================================================
   8. INTERACTIVE FLOATING ENQUIRY NOW POPUP
   ============================================================================== */
.cc-contactpop {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
}

.cc-contactpop > span {
    background: linear-gradient(135deg, #084565 0%, #27c9f1 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(8, 69, 101, 0.35) !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
    border: 2px solid #ffffff !important;
}

.cc-contactpop > span::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #00e676;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #00e676;
    animation: pulseGlow 2s infinite;
}

.cc-contactpop > span:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 12px 30px rgba(39, 201, 241, 0.5) !important;
}

.cc-contactpop form {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(39, 201, 241, 0.3) !important;
    padding: 24px !important;
    width: 320px !important;
}

.cc-contactpop form input,
.cc-contactpop form select,
.cc-contactpop form textarea {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
    transition: var(--transition-smooth);
}

.cc-contactpop form input:focus,
.cc-contactpop form select:focus,
.cc-contactpop form textarea:focus {
    border-color: #27c9f1 !important;
    box-shadow: 0 0 0 3px rgba(39, 201, 241, 0.2) !important;
    outline: none !important;
}

.cc-contactpop form button[type="submit"] {
    background: linear-gradient(135deg, #084565, #27c9f1) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    padding: 10px 20px !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cc-contactpop form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(39, 201, 241, 0.4);
}

/* ==============================================================================
   9. MODERN BACK TO TOP BUTTON
   ============================================================================== */
.anant-back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 46px;
    height: 46px;
    background: #084565;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(8, 69, 101, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.anant-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.anant-back-to-top:hover {
    background: #27c9f1;
    color: #084565;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(39, 201, 241, 0.6);
}

/* ==============================================================================
   10. NAVBAR HOVER & MODERN POLISH
   ============================================================================== */
#cssmenu > ul > li > a {
    position: relative;
    transition: var(--transition-smooth);
}

#cssmenu > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #27c9f1;
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

#cssmenu > ul > li:hover > a::after,
#cssmenu > ul > li.active > a::after {
    width: 70%;
}
