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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0a2540;
}

.logo-img {
    height: 200px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: #0a2540;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .cta-nav {
    color: #0066cc;
}

.cta-nav {
    background: #0066cc;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(135deg, #0a2540 0%, #0066cc 100%);
    color: white;
    text-align: center;
    padding: 6rem 5% 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #00aaff;
    color: white;
}

.btn-primary:hover {
    background: #0088cc;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0a2540;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0a2540;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
}

.bg-light {
    background: #f8f9fa;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

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

.industry {
    background: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-weight: 500;
}

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

.tech-features div {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form button {
    align-self: center;
}

.contact-info {
    text-align: center;
    color: #666;
}

footer {
    background: #0a2540;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: #00aaff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-stats {
        gap: 1.5rem;
    }
}

/* Hover expansion for info cards */
.card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.card .extra-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease, padding-top 0.35s ease;
    margin-top: 0;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid transparent;
}
.card:hover .extra-info {
    max-height: 180px;
    opacity: 1;
    margin-top: 0.8rem;
    border-top: 1px solid #eee;
    padding-top: 0.8rem;
}

.card p {
    margin-bottom: 0;
    flex-grow: 1;
}
.card .extra-info {
    margin-top: auto;
}

/* Final card layout overrides */
.cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.card h3 {
    color: #0066cc;
    margin: 0 0 0.75rem 0;
}
.card p {
    margin: 0;
    flex-grow: 1;
    line-height: 1.5;
}
.card .extra-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.88rem;
    color: #555;
    border-top: 1px solid transparent;
    margin-top: 0;
    padding-top: 0;
}
.card:hover .extra-info {
    max-height: 160px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 899px) and (min-width: 600px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Vibrant color refresh */
:root {
    --primary: #0055ff;
    --primary-dark: #003dcc;
    --accent: #00d4ff;
    --navy: #0b1f3a;
    --highlight: #ff6b35;
}

body {
    background: #f4f7fb;
}

header, .navbar {
    background: linear-gradient(90deg, #0b1f3a 0%, #123a6b 100%);
}

.nav-links a {
    color: #e8f0ff !important;
}

.nav-links a:hover {
    color: #00d4ff !important;
}

.cta-nav {
    background: #00d4ff !important;
    color: #0b1f3a !important;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.4rem 1rem !important;
}

.hero {
    background: linear-gradient(135deg, #0b1f3a 0%, #0055ff 70%, #00d4ff 100%);
    color: white;
}

.btn-primary {
    background: #ff6b35 !important;
    border: none;
    color: white !important;
    font-weight: 600;
}

.btn-primary:hover {
    background: #e55a2b !important;
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: #0b1f3a;
}

.card {
    border-top: 4px solid #0055ff;
    background: #ffffff;
}

.card h3 {
    color: #0055ff !important;
}

.card:hover {
    border-top-color: #00d4ff;
}

.stat strong {
    color: #00d4ff;
}

h2 {
    color: #0b1f3a;
}

.section-intro {
    color: #445;
}

footer {
    background: #0b1f3a;
    color: #c8d4e8;
}

footer p {
    color: #c8d4e8 !important;
}

/* White header */
header, .navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-links a {
    color: #0b1f3a !important;
}

.nav-links a:hover {
    color: #0055ff !important;
}

.cta-nav {
    background: #0055ff !important;
    color: white !important;
}

/* Get Started button text */
.cta-nav {
    color: #ffffff !important;
    font-weight: 700 !important;
    background: #0055ff !important;
}

/* Force Get Started button */
.nav-links a.cta-nav,
a.cta-nav {
    background-color: #0055ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

/* 3 on first row, 4 on second for home cards */
.cards {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}
.cards .card:nth-child(-n+3) {
    grid-column: span 4;
}
.cards .card:nth-child(n+4) {
    grid-column: span 3;
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards .card {
        grid-column: span 1 !important;
    }
}
@media (max-width: 600px) {
    .cards {
        grid-template-columns: 1fr;
    }
}


/* Larger readable logo */
.logo-img {
    height: 160px !important;
    width: auto;
}

/* Color enhancements */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #0066cc 60%, #00aaff 100%) !important;
}

.btn-primary {
    background: #ff5a1f !important;
    border: none !important;
}

.btn-primary:hover {
    background: #e04e1a !important;
}

.card {
    border-top: 4px solid #0066cc !important;
}

.card:hover {
    border-top-color: #00aaff !important;
}

.card h3 {
    color: #0066cc !important;
}

.stat strong {
    color: #00d4ff !important;
}

.cta-nav {
    background: #0066cc !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.nav-links a:hover {
    color: #0066cc !important;
}

h2 {
    color: #0a2540;
}

/* Mobile menu toggle */
@media (max-width: 768px) {
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 5%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 1rem;
        z-index: 999;
    }
    .navbar {
        position: relative;
    }
}
