/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-color: #005acd;
    --secondary-color: #0093cb;
    --accent-color: #6dd7fd;
    --light-color: #bef0ff;
    --background-color: #f5ffff;
    --text-color: #333333;
    --heading-color: #111111;
    --white: #ffffff;
    --error: #e74c3c;
    --success: #2ecc71;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 90, 205, 0.1);
    /* Tinted with primary */
    --shadow-lg: 0 8px 24px rgba(0, 90, 205, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #0046a0;
    /* Darker shade */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Header & Nav */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        border-bottom: 1px solid #eee;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(245, 255, 255, 0.85) 0%, rgba(230, 247, 255, 0.85) 100%), url('https://image2url.com/r2/default/images/1770568081440-5cdda6e3-e769-4a7d-a01b-1c7aeb7c5bf5.png');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--light-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Business Section */
.business-section {
    background-color: var(--background-color);
    padding: var(--spacing-xl) 0;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.business-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.business-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.business-image:hover img {
    transform: scale(1.02);
}

.business-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--heading-color);
}

.business-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: var(--spacing-md);
}

.business-content .divider {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-full);
}

.business-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feat-check {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.feat-check i {
    color: var(--secondary-color);
    /* Used project secondary color for consistency */
    font-size: 1.2rem;
}

.feat-check span {
    font-size: 0.95rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .features-grid,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .business-content h2 {
        font-size: 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, rgba(245, 255, 255, 0.9) 0%, rgba(190, 240, 255, 0.9) 100%), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.mission-section {
    padding: var(--spacing-xl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.mission-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.mission-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: var(--spacing-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
}

.value-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

/* Team Section */
.team-section {
    background-color: var(--background-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-md) !important;
    border: 3px solid var(--accent-color);
    display: block;
}

.team-member h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.team-member p {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Loans Page Styles */
.loan-hero {
    background: linear-gradient(135deg, rgba(0, 90, 205, 0.85) 0%, rgba(0, 42, 96, 0.9) 100%), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.loan-hero h1 {
    color: var(--white);
    font-size: 3rem;
}

.loan-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: var(--spacing-xl);
}

.loan-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 6px solid var(--secondary-color);
}

.loan-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.loan-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.loan-card ul {
    text-align: left;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
}

.loan-card ul li {
    list-style-type: disc;
    margin-bottom: 8px;
    color: #555;
}

/* Investments Page Styles */
.investment-hero {
    background: linear-gradient(135deg, rgba(0, 42, 96, 0.85) 0%, rgba(0, 90, 205, 0.85) 100%), url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.investment-hero h1 {
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: var(--spacing-lg) 0;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.portfolio-header {
    background: var(--light-color);
    padding: var(--spacing-md);
    text-align: center;
}

.portfolio-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.portfolio-body {
    padding: var(--spacing-md);
}

.portfolio-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.portfolio-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #666;
}

.stat-value {
    font-weight: 700;
    color: var(--text-color);
}

.stat-value.positive {
    color: var(--success);
}

/* Contact Page Styles */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-panel h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: var(--spacing-md);
    margin-top: 5px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 205, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {

    .mission-section,
    .contact-container {
        grid-template-columns: 1fr;
    }
}