/* =========================================
   CSS Variables & Theme Tokens
   ========================================= */
:root {
    /* Colors - Premium Fintech Theme */
    --primary: #0A2540; /* Deep Blue - Trust */
    --primary-light: #1A3A5F;
    --secondary: #FFFFFF; /* White */
    --accent: #D4AF37; /* Gold - Premium */
    --accent-hover: #C5A028;
    --bg-light: #F7F9FC; /* Light Grey for sections */
    --text-main: #2D3748;
    --text-muted: #718096;
    --border-color: #E2E8F0;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Border Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.text-gold { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-gray { color: #A0AEC0; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.justify-center { justify-content: center; }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background-color: var(--bg-light);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-gold:hover {
    background-color: var(--accent-hover);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-title {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
}

.badge i {
    color: var(--accent);
}

.image-wrapper {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary); /* Deep blue background shape behind image */
    padding: 10px 10px 0 10px;
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

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

/* =========================================
   Trust Section
   ========================================= */
.trust-section {
    background-color: var(--primary);
    color: white;
}

.trust-section h2 {
    color: white;
}

.trust-section p {
    color: #E2E8F0;
    font-size: 1.125rem;
}

.trust-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.key-strengths {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.strength {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
}

.testimonial-card {
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-main);
    font-size: 1.125rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =========================================
   Services Section
   ========================================= */
.section-header {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.service-card:hover .card-icon {
    background-color: var(--primary);
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* =========================================
   Why Choose Me Section
   ========================================= */
.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 120px;
    height: 120px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    border: 8px solid white;
}

.experience-badge .number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.benefits-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefits-list i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.benefits-list strong {
    font-size: 1.125rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.25rem;
}

.benefits-list p {
    margin-bottom: 0;
}

/* =========================================
   Process Section
   ========================================= */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
}

.step {
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step-connector {
    flex: 0 0 50px;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 15px;
}

/* =========================================
   Lead Capture Section
   ========================================= */
.lead-capture {
    padding: 0;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.capture-container {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.capture-text h2 {
    color: white;
}

.capture-text p {
    color: #E2E8F0;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.capture-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.capture-form input,
.capture-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color var(--transition-fast);
}

.capture-form input:focus,
.capture-form select:focus {
    outline: none;
    border-color: var(--primary);
}

/* =========================================
   Education / Resources
   ========================================= */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-blue-light { background-color: #EBF4FF; }
.bg-gold-light { background-color: #FEF9C3; }

.resource-content {
    padding: 2rem;
}

.resource-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #051626; /* Very dark blue */
    color: white;
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo .logo-name {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.footer h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #A0AEC0;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact li {
    color: #A0AEC0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #A0AEC0;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #A0AEC0;
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

/* =========================================
   Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-container,
    .trust-container,
    .why-container {
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; }
    .nav-links, .navbar .btn { display: none; }
    .hamburger { display: block; }
    
    .hero { padding: 8rem 0 4rem; text-align: center; }
    .hero-container,
    .trust-container,
    .why-container,
    .capture-container {
        grid-template-columns: 1fr;
    }
    
    .hero-cta { justify-content: center; }
    .trust-badges { justify-content: center; flex-wrap: wrap; }
    
    .experience-badge {
        width: 90px;
        height: 90px;
        top: -1rem;
        right: -1rem;
        border-width: 4px;
    }
    .experience-badge .number { font-size: 1.125rem; }
    .experience-badge .text { font-size: 0.65rem; }
    
    .process-steps { flex-direction: column; gap: 2rem; }
    .step-connector { display: none; }
    
    .lead-capture { margin-top: 0; }
    .capture-container { padding: 2rem; }
    
    .footer-bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.25rem; }
    .hero-cta { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}
