/* ====================================
   WishLoan Main Stylesheet
   Complete CSS for Finance Website
   ==================================== */

/* CSS Variables */
:root {
    --primary-blue: #005BAC;
    --primary-dark: #004080;
    --primary-light: #E6F0FA;
    --success-green: #00A859;
    --success-dark: #008C47;
    --success-light: #E8F5E9;
    --alert-orange: #FF6B00;
    --alert-light: #FFF3E0;
    --dark-text: #333333;
    --medium-text: #555555;
    --light-text: #666666;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 5px;
    --border-radius-lg: 10px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-text);
}

h1 { font-size: 48px; letter-spacing: -0.5px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 20px;
    color: var(--medium-text);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--success-green);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 20px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-white {
    color: var(--white) !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background: var(--success-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.2);
}

.btn-primary:hover {
    background: var(--success-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.3);
}

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.2);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 91, 172, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease;
}

.site-header.sticky-visible {
    transform: translateY(0);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-branding {
    flex: 0 0 auto;
}

.wishloan-logo {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
}

.logo-accent {
    color: var(--success-green);
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1 1 auto;
    margin-left: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle-icon {
    display: block;
    width: 25px;
    height: 20px;
    position: relative;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--primary-blue);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 8px; }
.menu-toggle-icon span:last-child { top: 16px; }

.menu-toggle.active .menu-toggle-icon span:first-child {
    transform: rotate(45deg);
    top: 8px;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle-icon span:last-child {
    transform: rotate(-45deg);
    top: 8px;
}

#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu > li {
    position: relative;
    margin: 0 15px;
}

#primary-menu > li > a {
    display: block;
    padding: 10px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-text);
    position: relative;
}

#primary-menu > li > a:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--success-green);
    transition: width 0.3s ease;
}

#primary-menu > li > a:hover:after,
#primary-menu > li.current-menu-item > a:after {
    width: 100%;
}

#primary-menu > li.menu-item-has-children > a:before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

/* Submenu */
#primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
}

#primary-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#primary-menu .sub-menu li {
    margin: 0;
}

#primary-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--medium-text);
    font-size: 14px;
    transition: var(--transition);
}

#primary-menu .sub-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    padding-left: 25px;
}

/* Header CTA */
.header-cta {
    margin-left: 20px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-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" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="none" stroke="white" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-trust {
    display: flex;
    gap: 30px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.trust-item {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.trust-item i {
    margin-right: 8px;
    color: var(--success-green);
}

/* Comparison Section */
.comparison-section {
    background: var(--light-bg);
}

.tab-headers {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-header {
    padding: 12px 30px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.tab-header:hover {
    color: var(--primary-blue);
}

.tab-header.active {
    color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.tab-header.active:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.comparison-table th {
    padding: 18px 15px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.comparison-table td {
    padding: 18px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
    transform: scale(1.01);
    box-shadow: var(--shadow);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.bank-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cibil-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.cibil-badge.good {
    background: #d4edda;
    color: #155724;
}

.cibil-badge.fair {
    background: #fff3cd;
    color: #856404;
}

.apply-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--success-green);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.apply-btn:hover {
    background: var(--success-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
}

.view-all-link {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover:before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 48px;
    color: var(--primary-blue);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: var(--success-green);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.feature-card p {
    font-size: 14px;
    margin-bottom: 0;
    color: var(--light-text);
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.calculator-section:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.calculator-info ul {
    list-style: none;
    margin-top: 20px;
}

.calculator-info li {
    margin-bottom: 15px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
}

.calculator-info li i {
    color: var(--success-green);
    margin-right: 10px;
    font-size: 20px;
}

.calculator-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.calculator-box:hover {
    transform: scale(1.02);
}

.calculator-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input[type="range"] {
    width: 100%;
    margin-bottom: 10px;
    height: 5px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    border-radius: 5px;
    outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--primary-blue);
}

.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-symbol input {
    width: 100%;
    padding: 15px 45px 15px 30px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.input-with-symbol input:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 91, 172, 0.1);
}

.currency {
    position: absolute;
    left: 12px;
    color: var(--light-text);
    font-weight: 600;
}

.percent, .unit {
    position: absolute;
    right: 12px;
    color: var(--light-text);
    font-weight: 600;
}

.calculator-result {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 18px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span {
    color: var(--medium-text);
}

.result-item strong {
    font-size: 24px;
    color: var(--success-green);
}

/* Offers Section */
.offers-section {
    background: var(--white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    text-align: center;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--alert-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

.offer-bank-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.offer-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.offer-card p {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.offer-features {
    list-style: none;
    margin: 20px 0 25px;
    text-align: left;
    flex-grow: 1;
}

.offer-features li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.offer-features li i {
    color: var(--success-green);
    margin-right: 8px;
    font-size: 14px;
}

/* Blog Section */
.blog-section {
    background: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    overflow: hidden;
    position: relative;
    height: 200px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--light-text);
    flex-wrap: wrap;
}

.blog-date i, .blog-category i {
    margin-right: 5px;
    color: var(--primary-blue);
}

.blog-category a {
    color: var(--success-green);
    text-decoration: none;
    transition: var(--transition);
}

.blog-category a:hover {
    color: var(--success-dark);
}

.blog-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--dark-text);
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--success-green);
    gap: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--success-green) 0%, var(--success-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-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" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="15" fill="none" stroke="white" stroke-width="2"/></svg>');
    background-size: 100px 100px;
    animation: moveBackground 20s linear infinite;
}

.cta-wrapper {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features span {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.cta-features i {
    margin-right: 8px;
    color: var(--white);
}

/* Footer */
.site-footer {
    background: #1A1A1A;
    color: #CCCCCC;
    position: relative;
}

.footer-widgets {
    padding: 60px 0 40px;
    border-bottom: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-widget {
    margin-bottom: 20px;
}

.footer-widget .widget-title {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget .widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--success-green);
}

.footer-widget p {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #CCCCCC;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--success-green);
    transform: translateX(5px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--success-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Info */
.contact-info {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.contact-info li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #CCCCCC;
}

.contact-info i {
    width: 25px;
    color: var(--success-green);
    font-size: 16px;
}

.contact-info a {
    color: #CCCCCC;
}

.contact-info a:hover {
    color: var(--success-green);
}

.working-hours p {
    font-size: 13px;
    margin-bottom: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-disclaimer p {
    margin: 0;
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-copyright a {
    color: #999;
    margin: 0 5px;
    transition: var(--transition);
}

.footer-copyright a:hover {
    color: var(--success-green);
}

.footer-trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-trust-badges img {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-trust-badges img:hover {
    opacity: 1;
}

.trust-badge-text {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    cursor: pointer;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.whatsapp-float i {
    color: var(--white);
    font-size: 32px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    background: var(--primary-blue);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--success-green);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-fadein {
    animation: fadeIn 1s ease;
}

.animate-fadein-delay {
    animation: fadeIn 1s ease 0.3s both;
}

.animate-fadein-delay2 {
    animation: fadeIn 1s ease 0.6s both;
}

.animate-slidein-left {
    animation: slideInLeft 1s ease;
}

.animate-slidein-right {
    animation: slideInRight 1s ease;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    position: relative;
    min-height: 200px;
}

.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .back-to-top,
    .hero-ctas,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ====================================
   Modern Header Styles
   ==================================== */

/* Header Variables */
:root {
    --header-bg: #ffffff;
    --header-text: #2D3748;
    --header-hover: #005BAC;
    --header-border: #E2E8F0;
    --header-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --header-sticky-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Modern Header */
.modern-header {
    background: var(--header-bg);
    position: relative;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--header-shadow);
}

/* Sticky Header */
.modern-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease;
    box-shadow: var(--header-sticky-shadow);
}

/* Top Bar */
.header-top-bar {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 13px;
    padding: 8px 0;
    display: block;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item i {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
}

.top-bar-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar-item a:hover {
    opacity: 0.9;
    text-decoration: underline;
}

/* Header Main */
.header-main {
    padding: 15px 0;
    background: var(--header-bg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.wishloan-logo {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    background: linear-gradient(135deg, var(--success-green) 0%, var(--success-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.site-logo img:hover {
    transform: scale(1.05);
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Primary Menu */
#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

#primary-menu > li {
    position: relative;
}

#primary-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--header-text);
    border-radius: 30px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

#primary-menu > li > a .dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

#primary-menu > li:hover > a {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 91, 172, 0.3);
}

#primary-menu > li:hover > a .dropdown-icon {
    transform: rotate(180deg);
    color: white;
}

/* Mega Menu */
#primary-menu .mega-menu {
    position: static;
}

.mega-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--header-sticky-shadow);
    border-radius: 20px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 3px solid var(--primary-blue);
}

#primary-menu .mega-menu:hover .mega-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-sub-menu > li {
    list-style: none;
}

.mega-sub-menu > li > a {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 16px;
    padding: 10px 0;
    display: block;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 15px;
    pointer-events: none;
}

.mega-sub-menu .sub-menu {
    padding-left: 0;
    list-style: none;
}

.mega-sub-menu .sub-menu li {
    margin-bottom: 8px;
}

.mega-sub-menu .sub-menu a {
    color: var(--header-text);
    font-size: 14px;
    padding: 6px 0;
    display: block;
    transition: all 0.3s;
}

.mega-sub-menu .sub-menu a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

/* Regular Sub Menu */
#primary-menu .sub-menu:not(.mega-sub-menu) {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    box-shadow: var(--header-sticky-shadow);
    border-radius: 15px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
    border-top: 3px solid var(--primary-blue);
}

#primary-menu li:hover > .sub-menu:not(.mega-sub-menu) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#primary-menu .sub-menu li {
    position: relative;
}

#primary-menu .sub-menu a {
    display: block;
    padding: 10px 25px;
    color: var(--header-text);
    font-size: 14px;
    transition: all 0.3s;
}

#primary-menu .sub-menu a:hover {
    background: linear-gradient(90deg, var(--primary-light) 0%, transparent 100%);
    color: var(--primary-blue);
    padding-left: 30px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Search Toggle */
.header-search-toggle {
    position: relative;
}

.search-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--header-text);
    font-size: 18px;
}

.search-toggle:hover {
    background: var(--primary-blue);
    color: white;
    transform: rotate(90deg);
}

.header-search-form {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 50px;
    padding: 10px;
    box-shadow: var(--header-sticky-shadow);
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.header-search-toggle:hover .header-search-form,
.header-search-form:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form form {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border-radius: 40px;
    overflow: hidden;
}

.header-search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
}

.header-search-form input:focus {
    outline: none;
}

.header-search-form button {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.header-search-form button:hover {
    background: var(--primary-dark);
}

/* CIBIL Button */
.btn-cibil {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--success-green) 0%, var(--success-dark) 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cibil: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-cibil:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 89, 0.4);
}

.btn-cibil:hover:before {
    left: 100%;
}

.btn-cibil i {
    font-size: 16px;
}

.btn-badge {
    background: white;
    color: var(--success-green);
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
}

/* WhatsApp Mobile Button */
.btn-whatsapp-mobile {
    display: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s;
}

.btn-whatsapp-mobile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Menu Badge */
.menu-badge {
    background: var(--alert-orange);
    color: white;
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    gap: 8px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 25px;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-text {
    font-weight: 600;
    color: var(--header-text);
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    #primary-menu > li > a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    /* Hide top bar on tablet */
    .header-top-bar {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
    }
    
    /* Hide desktop menu by default */
    #primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--header-sticky-shadow);
        max-height: 80vh;
        overflow-y: auto;
        border-top: 3px solid var(--primary-blue);
    }
    
    #primary-menu.toggled-on {
        display: flex;
        animation: slideDown 0.3s;
    }
    
    #primary-menu > li {
        width: 100%;
    }
    
    #primary-menu > li > a {
        width: 100%;
        justify-content: space-between;
        padding: 15px;
    }
    
    /* Reset mega menu for mobile */
    .mega-sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        box-shadow: none;
        display: none;
    }
    
    #primary-menu li:hover .mega-sub-menu {
        display: grid;
    }
    
    .mega-sub-menu > li > a {
        pointer-events: auto;
    }
    
    #primary-menu .sub-menu:not(.mega-sub-menu) {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        display: none;
    }
    
    #primary-menu li:hover > .sub-menu:not(.mega-sub-menu) {
        display: block;
    }
    
    /* Show WhatsApp button */
    .btn-whatsapp-mobile {
        display: flex;
    }
    
    /* Adjust header actions */
    .btn-cibil .btn-text {
        display: none;
    }
    
    .btn-cibil {
        padding: 10px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        justify-content: center;
    }
    
    .btn-cibil i {
        margin: 0;
        font-size: 18px;
    }
    
    .btn-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 10px 0;
    }
    
    .wishloan-logo {
        font-size: 26px;
    }
    
    .header-search-form {
        width: 250px;
        right: -50px;
    }
    
    .header-search-form:before {
        content: '';
        position: absolute;
        top: -10px;
        right: 60px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid white;
    }
}

@media (max-width: 480px) {
    .header-search-form {
        width: 200px;
    }
    
    .header-search-form input {
        padding: 10px 15px;
    }
    
    .menu-text {
        display: none;
    }
}

/* Vendor registration form */
.vendor-registration-wrapper {
    padding: 60px 0;
    background: var(--light-bg);
}

.vendor-registration-wrapper form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.notice {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
}

.notice.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notice.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notice.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.dashboard-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}
/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #005BAC 0%, #003366 100%);
    padding: 100px 0 0;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Animated gradient background */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0,91,172,0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0,168,89,0.2) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Floating elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

/* Text reveal animations */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta-group {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-trust {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease 0.4s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-triggered animation (optional) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover enhancements */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn: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 ease;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,168,89,0.4);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,168,89,0.4);
}

/* Hero stats card */
.hero-stats-card {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    gap: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--light-text);
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-image {
        order: -1;
        margin-bottom: 40px;
    }
    .hero-stats-card {
        position: static;
        margin-top: 30px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-stats-card {
        flex-direction: column;
        gap: 15px;
    }
}
/* ========== GLOBAL ENHANCEMENTS ========== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Fade-in animation for page elements */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover lift effect for cards */
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.2);
}

/* Glow effect for buttons */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0,91,172,0.5);
}
.btn-glow:active {
    transform: translateY(0);
}

/* Gradient border effect for cards */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 20px;
    border: 1px solid transparent;
    background-clip: padding-box;
}
.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--success-green));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gradient-border:hover::before {
    opacity: 1;
}

/* Animated underline for navigation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Table row hover effect */
.hover-row {
    transition: background 0.3s ease, transform 0.2s ease;
}
.hover-row:hover {
    background: var(--light-bg);
    transform: scale(1.01);
    box-shadow: var(--shadow);
}

/* Tooltip style */
.tooltip-custom {
    position: relative;
    cursor: help;
}
.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 10;
}
.tooltip-custom:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Animated number counters */
.counter-number {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* Hero animated background */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 6s infinite;
}
@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 0.3; transform: scale(1); }
}

/* Glassmorphism for CTA card */
.glass-card {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}
/* Custom button for white outline */
.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-outline-white:hover {
    background: white;
    color: #1e3c72;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #FFD166, #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Optional: add smooth scroll offset for anchor links */
html {
    scroll-behavior: smooth;
}