* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; -webkit-text-size-adjust: 100%; }

/* HEADER & NAV */
header { background: #1e3a5f; color: white; padding: 0.75rem 1.5rem; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 42px; width: 42px; object-fit: contain; border-radius: 6px; }
.logo-text { font-size: 1.2rem; font-weight: bold; color: #d4af37; white-space: nowrap; }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 8px; }
nav ul { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
nav a { color: white; text-decoration: none; transition: color 0.3s; padding: 0.5rem; font-size: 0.95rem; }
nav a:hover { color: #d4af37; }
.finance-link { background: #d4af37; color: #1e3a5f !important; padding: 0.5rem 1rem; border-radius: 5px; font-weight: bold; font-size: 0.9rem !important; }

/* HERO */
.hero { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%); color: white; text-align: center; padding: 4rem 2rem; }
.hero-logo { width: 140px; height: 140px; object-fit: contain; margin-bottom: 1.5rem; border-radius: 12px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.hero p { font-size: 1.3rem; color: #d4af37; margin-bottom: 2.5rem; }
.stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: bold; color: #d4af37; }
.stat-label { color: rgba(255,255,255,0.9); margin-top: 0.25rem; font-size: 0.9rem; }

/* SERVICES */
.services { max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem; }
h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; color: #1e3a5f; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: white; padding: 1.75rem; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.card h3 { color: #1e3a5f; margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { font-size: 0.95rem; color: #555; }

/* SOFTWARE SECTION */
.software-section { background: #f8f6f0; padding: 3rem 1.5rem; max-width: 100%; }
.software-section .grid { max-width: 1200px; margin: 0 auto; }
.software-section h2 { margin-bottom: 0.5rem; }
.section-sub { text-align: center; max-width: 700px; margin: 0 auto 2rem; color: #555; font-size: 1.05rem; }
.cta-wrap { text-align: center; margin-top: 2rem; }
.cta-btn { display: inline-block; background: #1e3a5f; color: white; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: bold; font-size: 1.05rem; transition: background 0.2s; }
.cta-btn:hover { background: #2c5282; }

/* CONTACT */
.contact { text-align: center; background: #f8f6f0; padding: 3rem 1.5rem; max-width: 1200px; margin: 3rem auto; border-radius: 10px; }
.contact p { font-size: 1.1rem; margin: 0.5rem 0; }
.contact a { color: #1e3a5f; text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* FOOTER */
footer { background: #1e3a5f; color: white; text-align: center; padding: 1.5rem; margin-top: 3rem; font-size: 0.9rem; }

/* MOBILE - TABLET */
@media (max-width: 900px) {
    nav ul { gap: 1rem; }
    nav a { font-size: 0.85rem; }
    .hero h1 { font-size: 2rem; }
    .stats { gap: 2rem; }
}

/* MOBILE - PHONE */
@media (max-width: 768px) {
    header { padding: 0.6rem 1rem; }
    .mobile-toggle { display: block; }
    .logo-text { font-size: 1rem; }
    .logo-img { height: 36px; width: 36px; }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #1e3a5f;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        z-index: 99;
    }
    nav ul.active { display: flex; }
    nav ul li { width: 100%; }
    nav ul li a {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1rem;
    }
    nav ul li:last-child a { border-bottom: none; }
    .finance-link { text-align: center; margin-top: 4px; }

    .hero { padding: 3rem 1.5rem; }
    .hero-logo { width: 100px; height: 100px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 1.1rem; margin-bottom: 2rem; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }
    .stats { gap: 1.5rem; }

    h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
    .services { margin: 2rem auto; padding: 0 1rem; }
    .grid { grid-template-columns: 1fr; gap: 1rem; }
    .card { padding: 1.5rem; }
    .card h3 { font-size: 1.1rem; }

    .software-section { padding: 2rem 1rem; }
    .section-sub { font-size: 0.95rem; }
    .cta-btn { padding: 12px 24px; font-size: 1rem; width: 100%; max-width: 300px; }

    .contact { margin: 2rem 1rem; padding: 2rem 1rem; }
    .contact p { font-size: 1rem; }
}

/* MOBILE - SMALL */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.4rem; }
    .hero p { font-size: 1rem; }
    .stats { flex-direction: column; gap: 1rem; }
    .logo-text { display: none; }
}
