/* Nikdha Finance Website - Custom Styles */

/* Custom heading sizes to replace Bootstrap display classes */
h1.fw-bold { font-size: 2.5rem; line-height: 1.2; }
h2.fw-bold { font-size: 2rem; line-height: 1.3; }
h3.fw-bold { font-size: 1.75rem; line-height: 1.3; }

@media (max-width: 768px) {
    h1.fw-bold { font-size: 2rem; }
    h2.fw-bold { font-size: 1.75rem; }
    h3.fw-bold { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    h1.fw-bold { font-size: 1.75rem; }
    h2.fw-bold { font-size: 1.5rem; }
    h3.fw-bold { font-size: 1.25rem; }
}

:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #8b5cf6;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-light: #f8fafc;
    --bg-gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    --bg-gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #8b5cf6 100%);
    --bg-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== NAVIGATION STYLES ===== */

/* Ultra Simple Navigation */
.navbar {
    padding: 15px 0;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand span {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 800;
    margin-left: 0 !important;
}

.navbar-brand .brand-subtitle {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 8px;
    position: relative;
}

/* Alternative brand subtitle styling options */
.navbar-brand .brand-subtitle {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .navbar-brand .brand-subtitle {
        color: #10b981;
        background: none;
    }
}

/* Responsive brand subtitle */
@media (max-width: 768px) {
    .navbar-brand .brand-subtitle {
        font-size: 0.85rem;
        margin-left: 6px;
    }
}

.nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px !important;
    margin: 0 2px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link i {
    font-size: 0.85rem;
    margin-right: 6px;
}

.nav-link:hover {
    color: #1e40af !important;
    background: #f3f4f6;
}

.nav-link.active {
    color: white !important;
    background: #1e40af;
}

.dropdown-menu {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px;
}

.dropdown-item {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item i {
    font-size: 0.8rem;
    margin-right: 6px;
    width: 16px;
}

.dropdown-item:hover {
    background: #1e40af;
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 16px;
}

.btn-sm i {
    font-size: 0.75rem;
    margin-right: 4px;
}

.btn-primary {
    background: #1e40af;
    border: none;
}

.btn-outline-primary {
    border-color: #1e40af;
    color: #1e40af;
}

.btn:hover {
    transform: translateY(-1px);
}

/* ===== COMMON STYLES ===== */

.section-padding {
    padding: 25px 0;
}

.section-title {
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--bg-gradient-primary);
    border-radius: 2px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.btn-primary-custom {
    background: var(--bg-gradient-primary);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    color: white !important;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: var(--bg-gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white !important;
}

.btn-primary-custom:focus,
.btn-primary-custom:active {
    color: white !important;
    background: var(--bg-gradient-secondary);
}

.btn-outline-custom {
    border: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
    background: transparent;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--accent-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.btn-outline-custom:focus,
.btn-outline-custom:active {
    color: white !important;
    background: var(--accent-color);
}

/* Enhanced Button Styling for All Bootstrap Button Classes */
.btn {
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Ensure proper text contrast for all button types */
.btn * {
    color: inherit !important;
}

.btn i {
    color: inherit !important;
}

.btn-primary {
    background: var(--bg-gradient-primary) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-primary,
.btn-primary:visited,
.btn-primary:link {
    color: white !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--bg-gradient-secondary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-gradient-secondary) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background: var(--bg-gradient-accent) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), #7c3aed) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: white !important;
    color: var(--text-dark) !important;
    border: 2px solid #e5e7eb !important;
    box-shadow: var(--shadow-md);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background: var(--bg-light) !important;
    color: var(--text-dark) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Special styling for buttons on gradient backgrounds */
.hero-section .btn-light {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-dark) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
}

.hero-section .btn-light:hover,
.hero-section .btn-light:focus,
.hero-section .btn-light:active {
    background: white !important;
    color: var(--primary-color) !important;
    border-color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-dark {
    background: linear-gradient(135deg, var(--text-dark), #1e293b) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-md);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    background: linear-gradient(135deg, #1e293b, #334155) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Outline Button Variants */
.btn-outline-primary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--bg-gradient-primary) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-secondary {
    background: transparent !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background: var(--bg-gradient-secondary) !important;
    color: white !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-success {
    background: transparent !important;
    color: var(--success-color) !important;
    border: 2px solid var(--success-color) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background: var(--success-color) !important;
    color: white !important;
    border-color: var(--success-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-info {
    background: transparent !important;
    color: var(--info-color) !important;
    border: 2px solid var(--info-color) !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    background: var(--info-color) !important;
    color: white !important;
    border-color: var(--info-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-warning {
    background: transparent !important;
    color: var(--warning-color) !important;
    border: 2px solid var(--warning-color) !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
    background: var(--warning-color) !important;
    color: white !important;
    border-color: var(--warning-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-danger {
    background: transparent !important;
    color: var(--danger-color) !important;
    border: 2px solid var(--danger-color) !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background: var(--danger-color) !important;
    color: white !important;
    border-color: var(--danger-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-dark) !important;
    border-color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-shadow: none;
}

/* Special styling for outline buttons on gradient backgrounds */
.hero-section .btn-outline-light {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus,
.hero-section .btn-outline-light:active {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    border-color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    text-shadow: none;
}

.btn-outline-dark {
    background: transparent !important;
    color: var(--text-dark) !important;
    border: 2px solid var(--text-dark) !important;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    background: var(--text-dark) !important;
    color: white !important;
    border-color: var(--text-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Button Sizes */
.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 60px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: 40px;
}

/* Special Effect Buttons */
.btn-gradient {
    background: var(--bg-gradient-primary) !important;
    color: white !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* ===== PAGE HERO STYLES ===== */

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    background: var(--bg-gradient-primary);
    color: white;
    padding: 25px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(6,182,212,0.1) 3px, transparent 3px);
    background-size: 60px 60px, 40px 40px, 80px 80px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    animation: floatUpDown 6s ease-in-out infinite;
    z-index: 1;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.floating-icon i {
    font-size: inherit !important;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.floating-icon:hover i {
    opacity: 0.3;
    transform: scale(1.1);
}

.floating-icon:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 6s;
}

.floating-icon:nth-child(2) {
    animation-delay: 2s;
    animation-duration: 8s;
}

.floating-icon:nth-child(3) {
    animation-delay: 4s;
    animation-duration: 7s;
}

@keyframes floatUpDown {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-25px) rotate(5deg);
        opacity: 0.3;
    }
}

.hero-icons {
    position: absolute;
    right: 5%;
    top: 20%;
    font-size: 200px;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

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

/* Page specific styles for non-index pages */
.page-hero {
    background: var(--bg-gradient-primary);
    color: white;
    padding: 100px 0 25px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Loan pages specific hero styles */
.loan-hero {
    min-height: 40vh;
    background: var(--bg-gradient-primary);
    color: white;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.loan-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.page-hero .hero-content,
.loan-hero .hero-content {
    position: relative;
    z-index: 10;
}

/* SVG sizing for hero section */
.hero-svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 260px;
}

.financial-icon {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
}

.floating-icon-item svg {
    width: 35px;
    height: 35px;
    opacity: 0.3;
}

/* Feature icons in hero section (Low Interest & Quick Approval) */
.feature-svg {
    width: 35px;
    height: 35px;
    max-width: 35px;
    max-height: 35px;
}

.feature-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    backdrop-filter: blur(5px);
}

/* Enhanced feature cards for hero section */
.feature-card-enhanced {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px;
    transition: all 0.3s ease;
}

.feature-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Service SVGs in "Tailored Credit Solutions" section */
.service-svg {
    width: 70px;
    height: 70px;
    max-width: 70px;
    max-height: 70px;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

/* Responsive adjustments for hero SVGs */
@media (max-width: 768px) {
    .hero-svg {
        max-width: 280px;
        max-height: 210px;
    }
    
    .financial-icon {
        width: 30px;
        height: 30px;
        max-width: 30px;
        max-height: 30px;
    }
    
    .floating-icon-item svg {
        width: 25px;
        height: 25px;
    }
    
    .feature-svg {
        width: 30px;
        height: 30px;
        max-width: 30px;
        max-height: 30px;
    }
    
    .feature-icon-container {
        width: 45px;
        height: 45px;
    }
    
    .service-svg {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-svg {
        max-width: 240px;
        max-height: 180px;
    }
    
    .financial-icon {
        width: 25px;
        height: 25px;
        max-width: 25px;
        max-height: 25px;
    }
    
    .floating-icon-item svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-svg {
        width: 25px;
        height: 25px;
        max-width: 25px;
        max-height: 25px;
    }
    
    .feature-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .service-svg {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
}

/* General SVG size constraints */
svg {
    max-width: 100%;
    height: auto;
}

/* Ensure SVGs in hero section don't get oversized */
.hero-visual-container svg {
    max-width: 100%;
    height: auto;
}

/* ===== SVG SIZING RULES ===== */

/* ===== FOOTER STYLES ===== */

.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(59, 130, 246, 0.05)"><polygon points="0,0 1000,100 0,100"/></svg>');
    background-size: cover;
    background-position: top;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 24px;
}

.footer .social-links a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer .social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

/* Footer link hover effects */
.footer ul li a {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer ul li a:hover {
    color: white !important;
    transform: translateX(5px);
}

.footer ul li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: white;
    transition: width 0.3s ease;
}

.footer ul li a:hover::before {
    width: 100%;
}

/* Footer Legal Links */
.footer-legal-links a {
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover {
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.footer-legal-links a:hover i {
    color: var(--primary-color) !important;
}

/* ===== CONTACT STYLES ===== */

.contact-info {
    background: var(--bg-light);
    padding: 80px 0;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(245, 101, 101, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Enhanced Contact Cards */
.contact-card-enhanced {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.contact-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card-enhanced:hover::before {
    transform: scaleX(1);
}

/* Contact Icon Wrapper */
.contact-icon-wrapper {
    position: relative;
    margin-bottom: 25px;
    display: inline-block;
}

.contact-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffffff;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.phone-bg {
    background: linear-gradient(135deg, #10B981, #059669);
}

.email-bg {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.location-bg {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
}

.phone-ring {
    border: 3px solid rgba(16, 185, 129, 0.4);
}

.email-ring {
    border: 3px solid rgba(59, 130, 246, 0.4);
}

.location-ring {
    border: 3px solid rgba(245, 158, 11, 0.4);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Contact Content */
.contact-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-action {
    margin-bottom: 20px;
}

.btn-contact-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.btn-contact-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Contact Badge */
.contact-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Contact Cards */
@media (max-width: 768px) {
    .contact-card-enhanced {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .contact-icon-bg {
        width: 70px;
        height: 70px;
        font-size: 25px;
    }
    
    .pulse-ring {
        width: 70px;
        height: 70px;
    }
    
    .contact-title {
        font-size: 20px;
    }
}

/* ===== QUICK CONTACT ACTIONS STYLES ===== */

.quick-contact-actions {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    border: 2px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

/* Debug styles - remove after testing */
.quick-contact-actions {
    /* Add a subtle border to help debug layout issues */
    box-sizing: border-box;
}

.quick-contact-actions .btn {
    /* Ensure buttons have minimum interaction area */
    display: flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Ensure proper button state visibility */
.btn-whatsapp:active,
.btn-calculator:active,
.btn-appointment:active {
    transform: translateY(-1px) !important;
    transition: none !important;
}

.quick-contact-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.quick-contact-actions > * {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    user-select: text;
}

.quick-contact-actions h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

/* Calculator Button */
.btn-calculator {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.btn-calculator:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.btn-calculator:hover::before {
    left: 100%;
}

/* Appointment Button */
.btn-appointment {
    background: linear-gradient(135deg, #F59E0B, #D97706) !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.btn-appointment:hover {
    background: linear-gradient(135deg, #D97706, #B45309) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.btn-appointment:hover::before {
    left: 100%;
}

/* Enhanced button styling for quick actions */
.btn-whatsapp span,
.btn-calculator span,
.btn-appointment span {
    line-height: 1.2;
}

.btn-whatsapp small,
.btn-calculator small,
.btn-appointment small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* Animated pulse effect */
.animated-pulse {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.8), 0 0 25px rgba(245, 158, 11, 0.6);
    }
}

/* Emergency contact styling */
.quick-contact-actions .btn-outline-primary {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 25px;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.quick-contact-actions .btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Fix for button clickability in quick contact actions */
.quick-contact-actions .btn {
    position: relative;
    z-index: 15;
    pointer-events: auto;
    cursor: pointer;
}

.quick-contact-actions .btn-whatsapp,
.quick-contact-actions .btn-calculator,
.quick-contact-actions .btn-appointment {
    position: relative;
    z-index: 15;
    pointer-events: auto;
    cursor: pointer;
}

/* Comprehensive fix for button interactions */
.quick-contact-actions a[href],
.quick-contact-actions button {
    display: inline-block !important;
    position: relative !important;
    z-index: 25 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.quick-contact-actions a[href]:hover,
.quick-contact-actions button:hover {
    text-decoration: none !important;
}

/* Ensure child elements allow normal interaction */
.quick-contact-actions .btn span,
.quick-contact-actions .btn i,
.quick-contact-actions .btn strong,
.quick-contact-actions .btn small {
    pointer-events: auto;
    user-select: text;
}

/* Fix for any overlapping elements */
.quick-contact-actions .row,
.quick-contact-actions .col-lg-4,
.quick-contact-actions .col-md-6,
.quick-contact-actions .col-sm-8 {
    position: relative;
    z-index: 15;
}

/* ===== DSA CONNECTORS PAGE STYLES ===== */

/* Commission Cards */
.commission-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin-bottom: 20px;
}

.commission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.commission-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.commission-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.commission-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.commission-rate {
    margin-bottom: 15px;
    text-align: center;
}

.rate-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success-color);
    display: block;
    line-height: 1;
}

.rate-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.commission-example {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    padding: 10px 15px;
    border-left: 4px solid var(--success-color);
}

/* DSA Application Form */
.application-form-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.1);
}

.dsa-application-form .form-control {
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

/* ===== ENHANCED HERO SECTIONS WITH FORMS ===== */

.hero-with-form {
    background: var(--bg-gradient-primary);
    color: white;
    padding: 100px 0 10px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-with-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    animation: backgroundMove 20s linear infinite;
}

.hero-form-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.hero-form-card .form-floating input,
.hero-form-card .form-floating select {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.hero-form-card .form-floating input:focus,
.hero-form-card .form-floating select:focus {
    background: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(6, 182, 212, 0.25);
}

.hero-form-card .form-floating label {
    color: #000000;
    font-weight: 600;
}

.hero-form-card .btn-hero-apply {
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.hero-form-card .btn-hero-apply:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--success-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

/* Floating icons for hero sections */
.hero-floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    animation: floatUpDown 6s ease-in-out infinite;
    z-index: 2;
}

.hero-floating-icon-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    font-size: 3rem;
}

.hero-floating-icon-2 {
    top: 20%;
    right: 5%;
    animation-delay: 1s;
    font-size: 2rem;
}

.hero-floating-icon-3 {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
    font-size: 4rem;
}

.hero-floating-icon-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
    font-size: 2.5rem;
}

/* Floating icon items positioning */
.floating-icon-item {
    position: absolute;
    z-index: 5;
}

.floating-icon-item-1 {
    top: 10%;
    left: 10%;
}

.floating-icon-item-2 {
    top: 20%;
    right: 15%;
}

.floating-icon-item-3 {
    bottom: 30%;
    left: 5%;
}

.floating-icon-item-4 {
    bottom: 10%;
    right: 10%;
}

@media (max-width: 768px) {
    .floating-icon-item {
        display: none;
    }
}

/* Responsive hero forms */
@media (max-width: 768px) {
    .hero-with-form {
        min-height: auto;
        padding: 30px 0;
    }
    
    .hero-form-card {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .hero-floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-form-card {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .hero-form-card .btn-hero-apply {
        width: 100%;
        padding: 12px 30px;
    }
}

/* ========================
   MODERN HERO SECTION
   ======================== */

.hero-section-modern {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 25px 0;
}

.hero-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-floating-icon-5 {
    position: absolute;
    top: 15%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.hero-floating-icon-6 {
    position: absolute;
    bottom: 20%;
    left: 15%;
    animation: float 5s ease-in-out infinite;
    animation-delay: -4s;
}

/* Content Container */
.hero-content-modern {
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.hero-text-section {
    padding-right: 30px;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
}

.badge-text {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
        transform: scale(1.02);
    }
}

/* Hero Title */
.hero-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.text-gradient-primary::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ff6b6b 100%);
    border-radius: 2px;
    opacity: 0.7;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Hero Stats */
.hero-stats {
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fbbf24;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* CTA Buttons */
.hero-cta-section {
    margin: 3rem 0;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #fbbf24 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    color: white;
}

.btn-hero-primary .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-hero-primary:hover .btn-shine {
    left: 100%;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-2px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.trust-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

/* Visual Section */
.hero-visual-section {
    position: relative;
    padding-left: 30px;
}

.hero-visual-container-modern {
    position: relative;
    height: 600px;
}

/* Dashboard Card */
.dashboard-card-main {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(1.5);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10; /* Increased z-index to stay above floating cards */
    animation: float-dashboard 6s ease-in-out infinite;
}

@keyframes float-dashboard {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Loan Amount Section */
.loan-amount-section {
    margin-bottom: 25px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: block;
}

.amount-display {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.amount-slider {
    margin: 15px 0;
}

.slider-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-track:hover {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
}

.slider-progress {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.slider-thumb {
    position: absolute;
    top: -5px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-thumb:hover {
    width: 20px;
    height: 20px;
    top: -7px;
    right: -10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: #5a67d8;
}

.slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.amount-slider {
    margin: 15px 0;
    padding: 10px 0;
}

.amount-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* Interest Rate Section */
.interest-rate-section {
    margin-bottom: 25px;
}

.rate-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.rate-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.rate-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.rate-trend {
    color: #10b981;
    margin-left: 8px;
}

.rate-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* EMI Section */
.emi-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.emi-display {
    text-align: center;
    margin-bottom: 15px;
}

.emi-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.emi-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.emi-breakdown {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.breakdown-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.item-value {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

/* Floating Feature Cards */
.floating-features {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100; /* Bring floating features to the front */
}

.feature-card-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px) saturate(1.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: float-card 4s ease-in-out infinite;
    min-width: 200px;
    z-index: 100; /* Much higher z-index to be in front */
}

/* Adjust positions to avoid dashboard center area */
.feature-card-1 {
    top: 40px;
    left: -60px; /* Further out to avoid overlap */
    animation-delay: 0s;
}

.feature-card-2 {
    top: 50px;
    right: -30px; /* Adjusted to stay visible on screen */
    animation-delay: -1.5s;
}

.feature-card-3 {
    bottom: 50px;
    left: -50px; /* Further out to avoid overlap */
    animation-delay: -3s;
}

/* Feature card content styling for transparent background */
.feature-card-float .feature-icon {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
}

.feature-card-float .feature-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 2px;
}

.feature-card-float .feature-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Enhanced hover effect for transparent cards */
.feature-card-float:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Enhanced responsive design for hero dashboard and floating cards */
@media (min-width: 1400px) {
    .feature-card-2 {
        right: -15px; /* Keep closer on very large screens */
    }
    
    .feature-card-1 {
        left: -15px;
    }
    
    .feature-card-3 {
        left: -15px;
    }
}

@media (max-width: 1200px) {
    .dashboard-card-main {
        width: 350px;
    }
    
    .feature-card-float {
        min-width: 180px;
        padding: 15px;
    }
    
    .feature-card-1 {
        left: -40px;
    }
    
    .feature-card-2 {
        right: -20px; /* Keep visible on smaller screens */
    }
    
    .feature-card-3 {
        left: -30px;
    }
}

@media (max-width: 992px) {
    .hero-section-modern {
        min-height: auto;
        padding: 25px 0;
        position: relative; /* Ensure hero section is positioned for absolute children */
    }
    
    .hero-visual-container-modern {
        height: 500px;
        margin-top: 80px; /* Increased top margin to make room for floating cards */
    }
    
    .dashboard-card-main {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
        z-index: 10;
    }
    
    /* Position floating features relative to hero section instead of visual container */
    .floating-features {
        position: absolute;
        top: 20px; /* Position relative to hero section top */
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        pointer-events: none;
        z-index: 100; /* Much higher z-index to be in front */
    }
    
    .feature-card-float {
        min-width: 160px;
        padding: 10px 12px;
        font-size: 0.8rem;
        z-index: 101; /* Higher than container */
        position: absolute;
        background: rgba(255, 255, 255, 0.15); /* More transparent */
        backdrop-filter: blur(15px) saturate(1.2);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .feature-card-1 {
        top: 0;
        left: 15px;
    }
    
    .feature-card-2 {
        top: 0;
        right: 15px;
    }
    
    .feature-card-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .dashboard-card-main {
        width: 95%;
        max-width: 350px;
        padding: 20px;
    }
    
    .hero-visual-container-modern {
        height: 400px;
        margin-top: 70px; /* Increased top margin for mobile */
    }
    
    /* Position floating cards at the very top of hero section */
    .floating-features {
        top: 10px;
        height: 50px;
        z-index: 100;
    }
    
    .feature-card-float {
        min-width: 140px;
        padding: 8px 10px;
        font-size: 0.75rem;
        z-index: 101;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(12px) saturate(1.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 
            0 6px 24px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    
    .feature-card-1 {
        top: 0;
        left: 10px;
    }
    
    .feature-card-2 {
        top: 0;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .dashboard-card-main {
        width: 95%;
        max-width: 320px;
        padding: 15px;
    }
    
    .hero-visual-container-modern {
        height: 350px;
        margin-top: 60px; /* Increased top margin for very small screens */
    }
    
    /* Position floating cards at the very top */
    .floating-features {
        top: 5px;
        height: 45px;
        z-index: 100;
    }
    
    .feature-card-float {
        min-width: 120px;
        padding: 6px 8px;
        font-size: 0.7rem;
        gap: 8px;
        z-index: 101;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 
            0 4px 16px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .feature-card-1 {
        top: 0;
        left: 5px;
    }
    
    .feature-card-2 {
        top: 0;
        right: 5px;
    }
    
    .feature-card-float .feature-icon {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        font-size: 1.2rem;
    }

    .feature-card-float .feature-title {
        color: rgba(255, 255, 255, 0.95);
        font-weight: 700;
        font-size: 0.9rem;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        margin-bottom: 2px;
    }

    .feature-card-float .feature-desc {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.8rem;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
}

/* Scroll Indicator Styling */
.scroll-indicator {
    position: fixed !important;
    top: 50% !important;
    right: 30px !important;
    transform: translateY(-50%) !important;
    z-index: 200 !important;
    pointer-events: auto !important;
    text-align: center;
}

.scroll-indicator-link {
    display: inline-block !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.scroll-indicator-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

.scroll-text {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-arrow {
    display: inline-block;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: bounce-arrow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.scroll-indicator-link:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.scroll-arrow i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.scroll-indicator-link:hover .scroll-arrow i {
    color: rgba(255, 255, 255, 1);
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive scroll indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        right: 20px !important;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow {
        padding: 6px;
    }
    
    .scroll-arrow i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        right: 15px !important;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
}

/* Enhanced scroll indicator fixes to override any conflicting styles */
.hero-section-modern .scroll-indicator {
    position: fixed !important;
    top: 50% !important;
    right: 30px !important;
    transform: translateY(-50%) !important;
    z-index: 250 !important;
    width: auto !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-section-modern .scroll-indicator-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 251 !important;
}

.hero-section-modern .scroll-indicator-link:hover,
.hero-section-modern .scroll-indicator-link:focus,
.hero-section-modern .scroll-indicator-link:active {
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none !important;
}

.hero-section-modern .scroll-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.hero-section-modern .scroll-arrow {
    border-color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.hero-section-modern .scroll-arrow i {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Override any Bootstrap or other framework link colors */
.hero-section-modern .scroll-indicator a,
.hero-section-modern .scroll-indicator a:link,
.hero-section-modern .scroll-indicator a:visited {
    color: rgba(255, 255, 255, 0.9) !important;
}

.hero-section-modern .scroll-indicator a:hover,
.hero-section-modern .scroll-indicator a:focus,
.hero-section-modern .scroll-indicator a:active {
    color: rgba(255, 255, 255, 1) !important;
}

/* Our Story Section Styles */
.our-story-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.our-story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e2e8f0" opacity="0.3"/><circle cx="75" cy="75" r="1" fill="%23cbd5e1" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e2e8f0" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.5;
    pointer-events: none;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin-bottom: 1rem;
}

.badge-icon {
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Story Timeline */
.story-content {
    position: relative;
    padding-left: 40px;
}

.story-content::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6, #10b981);
    border-radius: 2px;
}

.story-milestone {
    position: relative;
    margin-bottom: 2rem;
}

.milestone-year {
    position: absolute;
    left: -55px;
    top: 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 2;
}

.milestone-year::after {
    content: '';
    position: absolute;
    left: 50%;
    right: -20px;
    top: 50%;
    height: 2px;
    background: linear-gradient(to right, #3b82f6, transparent);
    transform: translateY(-50%);
    z-index: 1;
}

.milestone-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.milestone-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.milestone-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.milestone-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Story Visual Container */
.story-visual-container {
    position: relative;
    height: 500px;
    margin: 2rem 0;
}

.story-achievement-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.achievement-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    min-width: 140px;
    text-align: center;
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.achievement-card.card-1 {
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.achievement-card.card-2 {
    top: 80px;
    right: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.achievement-card.card-3 {
    bottom: 120px;
    left: 10px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.achievement-card.card-4 {
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.achievement-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.achievement-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem 0;
    line-height: 1;
}

.achievement-label {
    font-size: 0.85rem;
    opacity: 0.9;
    display: block;
}

/* Central Brand Element */
.story-brand-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.brand-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 3px solid #e2e8f0;
    text-align: center;
    transition: all 0.4s ease;
}

.brand-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    font-size: 1.8rem;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.brand-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.brand-text small {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1;
}

/* Values Section */
.values-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: 3rem;
}

.values-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.values-subtitle {
    color: #64748b;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #1e40af, #7c3aed);
    transform: scale(1.1);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.value-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Story CTA */
.story-cta-container {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-hero-primary {
    background: white;
    color: #3b82f6;
    border: 2px solid white;
}

.cta-buttons .btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.cta-buttons .btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* ========================
   PARTNER BANKS PAGE STYLES
   ======================== */

.partner-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    margin-bottom: 30px;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

/* NBFC Cards Special Styling */
.nbfc-card::before {
    background: linear-gradient(90deg, var(--success-color), var(--accent-color));
}

/* Partner Header */
.partner-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.partner-logo {
    width: 80px;
    height: 50px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 10px;
    flex-shrink: 0;
}

.bank-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-info {
    flex: 1;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.partner-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
}

/* Partner Details */
.partner-details {
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.detail-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.detail-item i {
    font-size: 1.1rem;
    margin-right: 12px;
    margin-top: 2px;
    width: 20px;
    flex-shrink: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 10px;
    min-width: 100px;
}

.detail-value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-left: auto;
}

/* Loan Types */
.detail-item.loan-types {
    flex-direction: column;
    align-items: flex-start;
}

.loan-type-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.loan-type-badges .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    font-weight: 500;
    border-radius: 15px;
}

/* Partner Actions */
.partner-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.partner-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--bg-gradient-primary));
    color: white;
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-card h3,
.cta-card p {
    position: relative;
    z-index: 2;
}

/* Interest Rate Highlights */
.detail-item .detail-value {
    position: relative;
}

.detail-item:first-child .detail-value {
    color: var(--success-color);
    font-weight: 800;
}

/* Processing Time Highlights */
.detail-item:nth-child(2) .detail-value {
    color: var(--info-color);
    font-weight: 800;
}

/* Max Loan Amount Highlights */
.detail-item:nth-child(3) .detail-value {
    color: var(--warning-color);
    font-weight: 800;
}

/* Feature Icons Animation */
.feature-icon i {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Badge Color Variations */
.bg-outline-primary {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(30, 64, 175, 0.2);
}

.bg-outline-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bg-outline-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.bg-outline-info {
    background: rgba(139, 92, 246, 0.1);
    color: var(--info-color);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.bg-outline-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== HERO REVAMPED SECTION - MOBILE COMPATIBLE ===== */

.hero-revamped {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: block; /* Changed from flex to block to not interfere with Bootstrap */
    padding: 0; /* Remove padding that might interfere */
}

.hero-revamped .container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero-revamped .row {
    width: 100%;
    margin: 0;
}

.hero-revamped .col-lg-6 {
    padding: 15px;
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.particle-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.particle-4 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 30%;
    animation-delay: -1s;
}

.particle-5 {
    width: 50px;
    height: 50px;
    bottom: 60%;
    right: 40%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Content Styles */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 2rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.02em;
}

.title-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbbf24;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Hero Trust */
.hero-trust {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.1rem;
}

/* Dashboard Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.dashboard-container {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.dashboard-main {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dashboard-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ===== MOBILE RESPONSIVENESS ===== */

/* Ensure proper column layout on desktop - specific to hero-revamped */
@media (min-width: 992px) {
    .hero-revamped .container {
        max-width: 100%;
    }
    
    .hero-revamped .row {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
    }
    
    .hero-revamped .col-lg-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 15px !important;
    }
    
    .hero-revamped .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }
    
    .hero-revamped .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .hero-revamped .dashboard-container {
        position: relative;
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-revamped {
        min-height: auto;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .dashboard-container {
        height: 400px;
        margin-top: 40px;
    }
    
    .dashboard-main {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-revamped {
        min-height: auto;
        padding: 30px 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .btn-primary-custom,
    .btn-outline-light {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .hero-trust {
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    
    .trust-item {
        font-size: 0.85rem;
    }
    
    .dashboard-container {
        height: 350px;
        margin-top: 20px;
    }
    
    .dashboard-main {
        max-width: 320px;
        padding: 25px;
    }
    
    .dashboard-title {
        font-size: 1rem;
    }
    
    /* Hide some particles on mobile for better performance */
    .particle-4,
    .particle-5 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-revamped {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn-primary-custom,
    .btn-outline-light {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .dashboard-container {
        height: 300px;
    }
    
    .dashboard-main {
        max-width: 280px;
        padding: 20px;
    }
    
    .dashboard-title {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    /* Hide more particles on very small screens */
    .particle-2,
    .particle-3 {
        display: none;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero-revamped {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin: 1rem 0;
    }
    
    .hero-actions {
        margin: 1rem 0;
    }
    
    .hero-trust {
        margin-top: 1rem;
    }
    
    .dashboard-container {
        height: 280px;
        margin-top: 15px;
    }
}

/* ===== EMI CALCULATOR TEXT VISIBILITY FIXES ===== */

/* EMI Calculator Section */
#calculator .card-body {
    background: white;
}

#calculator .form-label {
    color: #374151 !important;
    font-weight: 600;
    font-size: 0.95rem;
}

#calculator .card-body .form-label span {
    color: #1e40af !important;
    font-weight: 700;
}

/* Range inputs */
#calculator .form-range {
    accent-color: #1e40af;
}

/* Result box text */
#calculator .result-box {
    background: #1e40af !important;
    color: white !important;
}

#calculator .result-box h5,
#calculator .result-box h2 {
    color: white !important;
}

/* Calculator section headings */
#calculator h2,
#calculator .lead {
    color: #1f2937 !important;
}

/* Breakdown table text */
#calculator .table {
    color: #374151 !important;
}

#calculator .table th,
#calculator .table td {
    color: #374151 !important;
    border-color: #e5e7eb;
}

#calculator .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Apply to all calculator containers */
.calculator-section .form-label {
    color: #374151 !important;
    font-weight: 600;
}

.calculator-section .form-label span {
    color: #1e40af !important;
    font-weight: 700;
}

.calculator-section .result-box {
    background: #1e40af !important;
    color: white !important;
}

.calculator-section .result-box h5,
.calculator-section .result-box h2,
.calculator-section .result-box h3,
.calculator-section .result-box h4 {
    color: white !important;
}

.calculator-section h2,
.calculator-section h3,
.calculator-section .lead {
    color: #1f2937 !important;
}

.calculator-section .table {
    color: #374151 !important;
}

.calculator-section .table th,
.calculator-section .table td {
    color: #374151 !important;
}

/* Apply to calculator cards */
.calculator-card .card-body {
    background: white !important;
}

.calculator-card .form-label {
    color: #374151 !important;
    font-weight: 600;
}

.calculator-card .form-label span {
    color: #1e40af !important;
    font-weight: 700;
}

.calculator-card .result-box {
    background: #1e40af !important;
    color: white !important;
}

.calculator-card .result-box * {
    color: white !important;
}

/* ===== CALCULATOR PAGE FORM LABEL FIX ===== */
/* Ensure calculator form labels are always black and visible */
.calculator-section .form-label,
.calculator-card .form-label,
#calculator .form-label {
    color: #000000 !important;
    font-weight: 600 !important;
}

.calculator-section .form-label strong,
.calculator-card .form-label strong,
#calculator .form-label strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* ===== SPECIAL OFFER BANNER STYLES ===== */
.special-offer-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offer-logo {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.offer-feature {
    font-size: 14px;
    line-height: 1.5;
}

.offer-feature strong {
    color: #fbbf24 !important;
}

.offer-cta .btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ===== UNION BANK OFFER POPUP STYLES ===== */
#unionBankOfferModal {
    z-index: 999999 !important;
}

#unionBankOfferModal .modal-backdrop {
    z-index: 999998 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.offer-modal {
    z-index: 999999 !important;
    position: relative !important;
}

.offer-modal .modal-backdrop {
    z-index: 999998 !important;
}

.offer-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000000 !important;
    position: relative;
    background: white !important;
}

/* Full height modal for Union Bank offer */
#unionBankOfferModal .modal-dialog {
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
}

#unionBankOfferModal .modal-content {
    height: 100vh !important;
    border-radius: 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

#unionBankOfferModal .modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

#unionBankOfferModal .offer-popup-content {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

#unionBankOfferModal .offer-details {
    flex: 1 !important;
    overflow-y: auto !important;
}

/* Ensure modal appears on mobile as well */
@media (max-width: 768px) {
    #unionBankOfferModal .modal-dialog {
        height: 100vh !important;
        margin: 0 auto !important;
    }
}

/* Fix Bootstrap modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 999998 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.modal.show {
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal.show .modal-dialog {
    z-index: 1000000 !important;
    position: relative !important;
}

/* Ensure Union Bank modal is always visible */
body.modal-open #unionBankOfferModal {
    display: block !important;
    z-index: 1000001 !important;
}

/* Fix modal display */
#unionBankOfferModal.show {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

#unionBankOfferModal .modal-dialog {
    z-index: 1000000 !important;
    position: relative !important;
    margin: 0 auto !important;
}