:root {
    /* New Warm Palette */
    --bg-color: #F8F5F2;
    /* Warm Sand/Beige */
    --surface-color: #FFFFFF;
    /* White for cards */

    --primary-color: #2b5585;
    /* Deep Blue (Brand Identity) */
    --text-color: #1a1a1a;
    /* Soft Black for high contrast */
    --text-light: #666666;

    --accent-color: #FF5330;
    /* Vibrant Orange/Coral from reference */
    --accent-hover: #E04425;

    --white: #ffffff;

    --border-radius: 16px;
    /* Soft, premium feel */
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Soft diffused shadow */
    --shadow-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.1);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Smooth "Apple-like" eased motion */

    --container-width: 1200px;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--primary-color);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-right: 2px;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base size */
}

body {
    font-family: 'Heebo', sans-serif;
    /* Switched to Heebo as primary for that geometric modern look */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    /* Removed forced direction/text-align to allow inheritance from html attribute */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

/* ... */
.check-icon {
    color: var(--accent-color);
    font-weight: bold;
    margin-inline-end: 0.5rem;
    /* Logical property for LTR/RTL support */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Heebo', sans-serif;
    color: var(--primary-color);
    font-weight: 300;
    /* Lighter weights for elegance */
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h1 {
    font-weight: 700;
    letter-spacing: -1px;
}

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

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-right: 1rem;
    /* RTL margin */
}

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

.full-width {
    width: 100%;
}

/* Header */
.site-header {
    background-color: var(--bg-color);
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.scrolled {
    background-color: rgba(248, 245, 242, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

.finance-logo-anim {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.finance-logo-anim div {
    width: 6px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: bar-grow 1.5s infinite ease-in-out alternate;
}

.finance-logo-anim .bar-1 {
    height: 15px;
    animation-delay: 0s;
}

.finance-logo-anim .bar-2 {
    height: 25px;
    animation-delay: 0.2s;
}

.finance-logo-anim .bar-3 {
    height: 20px;
    animation-delay: 0.4s;
}

@keyframes bar-grow {
    0% {
        transform: scaleY(0.8);
        opacity: 0.7;
    }

    100% {
        transform: scaleY(1.2);
        opacity: 1;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-cta {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(43, 85, 133, 0.3);
}

.nav-cta:hover {
    background-color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 83, 48, 0.3);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0 2rem;
    /* Reduced top padding */
    /* More breathing room */
    background-color: var(--bg-color);
    /* Flat warm color, no gradient */
    overflow: visible;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    gap: 4rem;
    max-width: var(--container-width);
    text-align: center;
    /* Center text content */
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-color);
    animation: text-reveal 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes text-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    /* Lighter grey */
    margin: 0 auto 3rem;
    /* Center horizontally */
    max-width: 540px;
    font-weight: 300;
}

/* Removed Hero Image Styles */

/* Generic Section Styles */
.generic-section {
    padding: 6rem 0;
    /* consistent large spacing */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    width: 100%;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 6px;
    background-color: var(--accent-color);
    margin: 1.5rem auto 0;
    border-radius: 3px;
    opacity: 0.8;
}

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

/* About Section */
.split-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    /* Rounded circle as requested (or 24px for soft square) */
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.features-list {
    margin-top: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-icon {
    color: var(--accent-color);
    font-weight: bold;
    margin-left: 0.5rem;
}

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

.service-card {
    background-color: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    top: 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.05);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 1.5rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    font-family: inherit;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    text-align: center;
}

.lang-dropdown a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--primary-color);
}

.lang-dropdown a.active {
    font-weight: 700;
    color: var(--primary-color);
}

/* Contact Section */
.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    margin-left: 1rem;
    color: var(--primary-color);
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid transparent;
    /* No border initially */
    background-color: #f0f2f5;
    /* Light grey bg */
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(43, 85, 133, 0.1);
}

/* Footer */
.site-footer {
    background-color: #111;
    /* Almost Black for high contrast footer */
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.footer-disclosure {
    opacity: 0.8;
    max-width: 800px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* Left side for RTL context usually works well, or Right */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: var(--transition);
    font-size: 32px;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    /* Keep hover effect on top of animation, might need unexpected behavior check or just let animation run */
    animation: none;
    /* Stop pulsing on hover so it feels interactive */
    transform: scale(1.15);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Updated Footer Styles */
.site-footer {
    background-color: var(--white);
    /* Light theme */
    color: var(--text-color);
    padding: 6rem 0 3rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--primary-color);
    /* Deep Blue */
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(43, 85, 133, 0.08);
    /* Primary color low opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.links-col ul,
.contact-list {
    list-style: none;
    padding: 0;
}

.links-col li,
.contact-list li {
    margin-bottom: 0.8rem;
}

.links-col a,
.contact-list a {
    color: var(--text-light);
    transition: var(--transition);
}

.links-col a:hover,
.contact-list a:hover {
    color: var(--accent-color);
    padding-right: 5px;
}

.contact-list li i {
    margin-left: 10px;
    color: var(--accent-color);
    width: 20px;
}

.footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    /* Subtle dark border */
    margin: 3rem 0;
}

.footer-disclosure {
    font-size: 0.85rem;
    color: var(--text-light);
    background: #f4f4f4;
    /* Very light grey */
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.bottom-links a {
    color: var(--text-light);
    margin: 0 0.5rem;
}

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

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        /* Header height */
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        transition: 0.3s ease-in-out;
        box-shadow: -2px 5px 5px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-container,
    .split-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image,
    .about-image,
    .contact-form-wrapper {
        width: 100%;
    }

    .main-nav ul {
        background: transparent;
        border: none;
        width: 100%;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        background-color: var(--bg-color);
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        /* Center buttons on mobile */
    }

    .btn-outline {
        margin-right: 0;
    }

    .about-text,
    .contact-info {
        text-align: center;
    }

    .section-title::after {
        margin: 1rem auto 0;
        /* Always center underline on mobile */
    }

    .contact-item {
        justify-content: center;
        /* Center contact items on mobile */
    }

    .hero-card-img {
        max-width: 80%;
        transform: rotate(0);
    }
}