/* ==============================================================
   Suryansh Digital Pvt. Ltd. - Custom Stylesheet
   Color Palette: Deep Corporate Navy, Slate Blue, Warm Amber Gold
   ============================================================== */

:root {
    --sd-navy-dark: #001659;
    --sd-navy: #002b80;
    --sd-blue: #0b5ed7;
    --sd-amber: #f59e0b;
    --sd-amber-dark: #d97706;
    --sd-gold: #ffb703;
    --sd-bg-light: #f8fafc;
    --sd-card-border: #e2e8f0;
    --sd-text-dark: #1e293b;
    --sd-text-muted: #64748b;
}

/* Brand Logo Styling */
.sd-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.sd-brand-logo-img {
    height: 52px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 22, 89, 0.12);
    background: #ffffff;
    padding: 2px;
}
.sd-brand-text {
    display: flex;
    flex-direction: column;
}
.sd-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--sd-navy-dark);
    letter-spacing: -0.5px;
    margin: 0;
}
.sd-brand-title span {
    color: var(--sd-amber-dark);
}
.sd-brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Compact Partner Login Button */
.sd-nav-partner-btn {
    background: linear-gradient(135deg, #001659 0%, #002b80 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 3px 10px rgba(0, 22, 89, 0.15);
    display: inline-flex;
    align-items: center;
    transition: all 0.25s ease;
    cursor: pointer;
}
.sd-nav-partner-btn:hover,
.sd-nav-partner-btn:focus {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border-color: #f59e0b;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}
.sd-nav-partner-btn::after {
    margin-left: 8px;
}

/* Topbar & Services Marquee enhancements */
.sd-topbar {
    background: linear-gradient(90deg, #001242 0%, #001e6c 50%, #001242 100%);
    color: #cbd5e1;
    font-size: 0.84rem;
    border-bottom: 2px solid var(--sd-amber);
    position: relative;
    z-index: 1020;
}
.sd-topbar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sd-topbar a:hover {
    color: var(--sd-amber);
}
.sd-marquee-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #001659 !important;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
}
.sd-marquee-badge i {
    animation: sdPulse 1.8s infinite;
}
@keyframes sdPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.sd-marquee-wrapper {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
}
.sd-marquee-track {
    overflow: hidden;
    width: 100%;
}
.sd-marquee-inner {
    display: flex;
    width: max-content;
    animation: sdMarqueeScroll 38s linear infinite;
}
.sd-marquee-inner:hover {
    animation-play-state: paused;
}
.sd-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1.5rem;
    padding-right: 1.5rem;
}
@keyframes sdMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.sd-marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.sd-marquee-link:hover {
    color: #ffb703 !important;
}
.sd-marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.sd-marquee-tag.tag-loan {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}
.sd-marquee-tag.tag-cibil {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.sd-marquee-tag.tag-recovery {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
}
.sd-marquee-tag.tag-bank {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}
.sd-marquee-tag.tag-compliance {
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.3);
}
.sd-marquee-desc {
    color: #94a3b8;
    font-weight: 500;
}
.sd-marquee-link:hover .sd-marquee-desc {
    color: #f8fafc;
}
.sd-marquee-dot {
    color: #f59e0b;
    font-size: 0.75rem;
    opacity: 0.6;
    user-select: none;
}

/* Social Media Buttons */
.sd-topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.sd-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sd-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}
.sd-social-btn.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 3px 10px rgba(24, 119, 242, 0.5);
}
.sd-social-btn.tw:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 3px 10px rgba(29, 161, 242, 0.5);
}
.sd-social-btn.li:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 3px 10px rgba(0, 119, 181, 0.5);
}
.sd-social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 3px 10px rgba(220, 39, 67, 0.5);
}
.sd-social-btn.wa:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.5);
}

.sd-portal-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff !important;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.sd-portal-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.6);
    color: #ffffff !important;
}

/* Service Badges & Cards */
.sd-service-card {
    background: #ffffff;
    border: 1px solid var(--sd-card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sd-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(0, 22, 89, 0.15);
    border-color: #cbd5e1;
}
.sd-service-card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    position: relative;
}
.sd-badge-pill {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 22, 89, 0.9);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border-left: 3px solid var(--sd-amber);
}
.sd-service-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sd-service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sd-navy-dark);
    margin-bottom: 12px;
}
.sd-feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.sd-feature-list li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.sd-feature-list li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Bank Partners Grid & Same Size Logo Standardization */
.sd-bank-strip {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 36px 0;
}
.sd-bank-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    height: 72px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 22, 89, 0.04);
    transition: all 0.25s ease;
}
.sd-bank-pill:hover {
    border-color: var(--sd-amber);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.2);
    transform: translateY(-2px);
}
.sd-bank-logo {
    height: 38px;
    max-height: 38px;
    width: 140px;
    max-width: 140px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Floating Actions */
.sd-floating-wrap {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.sd-btn-float-wa {
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sd-btn-float-wa:hover {
    transform: scale(1.1);
    color: #ffffff;
}
.sd-float-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 6px;
    border: 2px solid #ffffff;
}
.sd-btn-float-call {
    width: 58px;
    height: 58px;
    background: var(--sd-navy-dark);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(0, 22, 89, 0.4);
    text-decoration: none;
    transition: transform 0.3s;
}
.sd-btn-float-call:hover {
    transform: scale(1.1);
    color: #ffffff;
    background: var(--sd-navy);
}

/* EMI Calculator Widget */
.sd-calc-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 22, 89, 0.08);
    padding: 30px;
}
.sd-calc-slider-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sd-navy-dark);
}
.sd-calc-result-box {
    background: linear-gradient(135deg, var(--sd-navy-dark) 0%, #002b80 100%);
    border-radius: 14px;
    color: #ffffff;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.sd-emi-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sd-amber);
    margin: 10px 0;
}

/* CIBIL Meter Card */
.sd-cibil-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.sd-meter-gauge {
    display: flex;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0;
}
.sd-meter-poor { background: #ef4444; width: 25%; }
.sd-meter-avg { background: #f59e0b; width: 25%; }
.sd-meter-good { background: #3b82f6; width: 25%; }
.sd-meter-exc { background: #10b981; width: 25%; }

/* Lead Form Card */
.sd-lead-card {
    background: #ffffff;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 22, 89, 0.08);
    padding: 32px;
}

/* Notice / Legal Banner */
.sd-compliance-bar {
    background: #f1f5f9;
    border-left: 4px solid var(--sd-navy-dark);
    padding: 12px 18px;
    font-size: 0.85rem;
    color: #475569;
    border-radius: 4px;
}

/* ==============================================================
   Executive Professional Corporate Footer
   ============================================================== */
.footer {
    background: linear-gradient(180deg, #020c29 0%, #001242 100%) !important;
    border-top: 3px solid var(--sd-amber);
    position: relative;
}
.footer .footer-item p {
    line-height: 1.6 !important;
}
.footer .footer-item ul li a {
    line-height: 1.6;
    display: inline-flex;
    align-items: center;
    color: #94a3b8 !important;
    transition: all 0.25s ease;
    font-size: 0.88rem;
    text-decoration: none;
}
.footer .footer-item ul li a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    letter-spacing: normal !important;
}
.footer .footer-item ul li a.text-warning {
    color: var(--sd-amber) !important;
}
.footer .footer-item ul li a.text-warning:hover {
    color: #fde047 !important;
}
.footer .hover-white {
    transition: color 0.2s ease;
}
.footer .hover-white:hover {
    color: #ffffff !important;
}

/* ==============================================================
   Hero Carousel Chevron Arrows & Mobile Full-Length Responsiveness
   ============================================================== */
.sd-hero-slide {
    min-height: 580px;
    max-height: 680px;
    background: #001659;
    position: relative;
}
.sd-hero-img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    min-height: 580px;
    opacity: 0.38;
}
.sd-hero-caption {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 2.5rem;
    z-index: 2;
}

/* Prominent < and > Navigation Arrows */
.sd-carousel-arrow {
    width: 65px;
    opacity: 0.95 !important;
    z-index: 10;
    background: transparent !important;
    border: none !important;
    transition: all 0.3s ease;
}
.sd-arrow-circle {
    width: 48px;
    height: 48px;
    background: rgba(0, 22, 89, 0.85);
    border: 2px solid var(--sd-amber);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
}
.sd-carousel-arrow:hover .sd-arrow-circle {
    background: var(--sd-amber);
    color: var(--sd-navy-dark);
    border-color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
}
.carousel-control-prev.sd-carousel-arrow {
    left: 12px;
}
.carousel-control-next.sd-carousel-arrow {
    right: 12px;
}

/* ==============================================================
   Phone-Friendly Mobile Responsiveness (< 768px)
   ============================================================== */
@media (max-width: 767.98px) {
    /* Full Length Slider for Smartphones */
    .sd-hero-slide {
        min-height: 520px !important;
        max-height: none !important;
        height: auto !important;
    }
    .sd-hero-img {
        min-height: 520px !important;
        height: 100% !important;
        opacity: 0.32 !important;
    }
    .sd-hero-caption {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    .sd-hero-title {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
        line-height: 1.22 !important;
        margin-bottom: 0.65rem !important;
    }
    .sd-hero-desc {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        margin-bottom: 1.2rem !important;
    }
    .sd-hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.6rem !important;
    }
    .sd-hero-btns .btn {
        width: 100% !important;
        padding: 0.75rem 1.25rem !important;
        font-size: 0.88rem !important;
        text-align: center;
        justify-content: center;
    }
    /* Compact, Touch-Friendly Arrows on Mobile */
    .sd-carousel-arrow {
        width: 44px !important;
    }
    .sd-arrow-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
        background: rgba(0, 22, 89, 0.9) !important;
    }
    .carousel-control-prev.sd-carousel-arrow {
        left: 4px !important;
    }
    .carousel-control-next.sd-carousel-arrow {
        right: 4px !important;
    }

    /* Mobile Brand & Header Adaptations */
    .sd-brand-logo-img {
        height: 38px !important;
    }
    .sd-brand-title {
        font-size: 1.1rem !important;
    }
    .sd-brand-tagline {
        font-size: 0.62rem !important;
    }
    .sd-nav-partner-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
        width: 100% !important;
        justify-content: center !important;
    }

    /* Touch Friendly Layout & Cards */
    .sd-lead-card, .sd-calc-box, .sd-cibil-card {
        padding: 20px 16px !important;
    }
    .display-4, .display-5 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
    }
    .display-6 {
        font-size: 1.4rem !important;
    }
}


