/* ==========================================================================
   Modern Fintech Premium Stylesheet - Air Light Theme
   ========================================================================== */

   :root {
    --bg-main: #F8FAFC;           /* Very light slate */
    --bg-surface: #FFFFFF;        /* Pure white */
    
    --primary-color: #1E3A8A;     /* Royal Trust Blue */
    --accent-color: #2563EB;      /* Vibrant Blue */
    --accent-light: #EFF6FF;      /* Very light blue for backgrounds */
    
    --text-dark: #0F172A;         /* Slate 900 */
    --text-muted: #64748B;        /* Slate 500 */
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 30px 60px -15px rgba(37, 99, 235, 0.15);
    
    --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-spring);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-surface);
    box-shadow: 0 10px 20px -10px rgba(30, 58, 138, 0.5);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(37, 99, 235, 0.6);
}

.btn-outline {
    background-color: var(--bg-surface);
    color: var(--primary-color);
    border: 2px solid #E2E8F0;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
    background-color: var(--accent-color);
    color: var(--bg-surface);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ca-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    background: var(--bg-surface);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar.scrolled .nav-links {
    box-shadow: none;
    background: transparent;
    border: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: var(--bg-surface);
    border: 1px solid rgba(15,23,42,0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 1001;
    transition: var(--transition-smooth);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--bg-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.mobile-nav-links a {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* ==========================================================================
   Hero Section (Airy & Modern)
   ========================================================================== */

.hero {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Soft background glowing orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -10%; left: -10%; width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%; width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-floating-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 6s ease-in-out infinite;
}

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

.hero-floating-card i {
    font-size: 2rem;
    color: var(--accent-color);
    background: var(--accent-light);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Luxury Sections (General)
   ========================================================================== */

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

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

/* ==========================================================================
   Services Cards (Soft Floating)
   ========================================================================== */

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

.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-spring);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    background: var(--accent-light);
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent-color);
    color: var(--bg-surface);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.service-link i {
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover img {
    transform: scale(1.03);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.feature-list {
    margin: 30px 0;
    display: grid;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--accent-color);
    background: var(--accent-light);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   Contact / Forms
   ========================================================================== */

.contact-box {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid rgba(15,23,42,0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px var(--accent-light);
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */

.page-header {
    padding: 180px 0 80px 0;
    background: var(--bg-main);
    text-align: center;
}

.page-title {
    font-size: 4rem;
    color: var(--primary-color);
}

.breadcrumb {
    font-weight: 600;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--bg-surface);
    padding: 100px 0 40px 0;
    border-top: 1px solid rgba(15,23,42,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 20px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    background: var(--bg-main);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

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

.footer-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

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

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

.contact-info .contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-info .contact-item i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(15,23,42,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-grid { gap: 40px; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px auto; }
    .hero-buttons { justify-content: center; }
    .hero-floating-card { display: none; }
    
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.5rem; text-align: center; }
    .about-content h2 { text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
    .page-title { font-size: 2.8rem; }
}

/* ==========================================================================
   Article Body (Rich Text) Formatting
   ========================================================================== */
.article-body p { margin-bottom: 1.5rem; }
.article-body ul { list-style-type: disc; margin-left: 2rem; margin-bottom: 1.5rem; }
.article-body ol { list-style-type: decimal; margin-left: 2rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body h2, .article-body h3, .article-body h4 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--primary-color); }
.article-body a { color: var(--accent-color); text-decoration: underline; }
.article-body a:hover { color: var(--primary-color); }
.article-body blockquote { border-left: 4px solid var(--accent-color); padding-left: 1rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; background: var(--bg-main); padding: 1rem; border-radius: 0 8px 8px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.article-body th, .article-body td { border: 1px solid rgba(15, 23, 42, 0.1); padding: 12px 16px; text-align: left; }
.article-body th { background-color: var(--bg-main); font-weight: 700; color: var(--text-dark); }
