
:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --blue: #2563eb;
    --sky: #60a5fa;
    --text: #334155;
    --muted: #64748b;
    --white: #ffffff;
    --light: #f1f5f9;
    --border: #e2e8f0;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.8;
}

a {
    text-decoration: none;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

/* Navigation */

.site-header {
    background: var(--navy);
    border-bottom: 1px solid #334155;
}

.navbar {
    max-width: 1280px;
    margin: auto;
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--sky);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 26px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--sky);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */

.hero {
    padding: 100px 0;

    background:
        linear-gradient(
            120deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 58, 95, 0.75)
        ),
        url("images/firebox2.jpg");

    background-position: center;
    background-size: cover;
    color: var(--white);
}

.eyebrow {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.2;
    margin: 20px 0;
    max-width: 850px;
}

.hero p {
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 21px);
    max-width: 720px;
}

/* General sections */

.section {
    padding: 75px 0;
}

.alternate {
    background: var(--light);
}

.section-label {
    display: block;
    color: var(--blue);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

h2 {
    color: var(--navy);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.3;
    margin-bottom: 24px;
}

h3 {
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 10px;
}

p {
    margin-bottom: 16px;
}

.intro {
    font-size: 18px;
}

.subtitle {
    color: var(--muted);
    font-weight: 500;
}

/* Company statistics */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat {
    border-top: 3px solid var(--blue);
    background: var(--light);
    padding: 28px 20px;
    border-radius: 6px;
}

.stat strong {
    display: block;
    color: var(--blue);
    font-size: 38px;
    line-height: 1.3;
}

.stat span {
    display: block;
    font-size: 14px;
    margin-top: 8px;
}

/* Expertise cards */

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.card-label {
    display: block;
    font-size: 28px;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 22px;
}

.info-card ul {
    padding-left: 22px;
    margin-top: 18px;
}

.info-card li {
    margin-bottom: 9px;
}

.info-card li::marker {
    color: var(--blue);
}

/* Professional timeline */

.timeline-heading {
    font-size: 24px;
    margin: 40px 0 28px;
}

.timeline {
    border-left: 2px solid var(--border);
    margin-left: 8px;
    padding-left: 32px;
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    left: -40px;
    top: 8px;
}

.date {
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Education */

.education-list {
    display: grid;
    gap: 16px;
}

.education-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 6px;
    padding: 24px 28px;
}

.education-item p {
    margin-bottom: 4px;
}

/* Contact banner */

.contact-banner {
    text-align: center;
    padding: 70px 0;
    background: var(--navy-light);
    color: var(--white);
}

.contact-banner h2 {
    color: var(--white);
}

.contact-banner p {
    color: #cbd5e1;
}

.primary-button {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 16px;
    transition: background 0.2s;
}

.primary-button:hover {
    background: #1d4ed8;
}

/* Footer */

.site-footer {
    background: var(--navy);
    color: #94a3b8;
    padding: 32px 5%;
    text-align: center;
    font-size: 13px;
}

.site-footer p {
    margin-bottom: 6px;
}

.site-footer p:first-child {
    color: var(--white);
    font-weight: 600;
}

/* Keyboard accessibility */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 5px;
}

/* Mobile layout */

@media (max-width: 768px) {

    .navbar {
        flex-wrap: wrap;
    }

    .brand span {
        font-size: 12px;
        max-width: 155px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-top: 1px solid #334155;
    }

    .hero {
        padding: 65px 0;
    }

    .section {
        padding: 45px 0;
    }

    .stats-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 24px;
    }

    .education-item {
        padding: 20px;
    }

    .contact-banner {
        padding: 45px 0;
    }
}

/* =========================================
   Contact Page
   ========================================= */

.contact-hero {
    background:
        linear-gradient(
            120deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 58, 95, 0.75)
        ),
        url("images/Collage.jpg");

    background-position: center;
    background-size: cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: start;
    margin-top: 40px;
}

/* Contact information */

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    padding: 28px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-info-card address {
    font-style: normal;
    line-height: 1.8;
}

.contact-info-card a {
    color: var(--blue);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-note {
    color: var(--muted);
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Contact form */

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 35px;
    min-width: 0;

    box-shadow:
        0 4px 20px rgba(15, 23, 42, 0.06);
}

.contact-form-card h3 {
    font-size: 24px;
}

.contact-form-card > p {
    color: var(--muted);
    font-size: 14px;
}

.contact-form {
    margin-top: 25px;
}

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

.form-group label {
    display: block;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--text);
    font-family: inherit;
    font-size: 16px;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);

    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .primary-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    margin-top: 0;
}

/* Google Maps */

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border);

    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.06);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* Contact page mobile layout */

@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card {
        padding: 22px;
    }

    .contact-form-card {
        padding: 22px;
    }

    .contact-form .primary-button {
        width: 100%;
    }

    .map-container iframe {
        height: 300px;
    }
}
/* =========================================
   Services Page
   ========================================= */

.services-hero {
    background:
        linear-gradient(
            120deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 58, 95, 0.75)
        ),
        url("images/firebox2.jpg");

    background-position: center;
    background-size: cover;
}
/* =========================================
   Links Page
   ========================================= */

.links-hero {
    background:
        linear-gradient(
            120deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 58, 95, 0.75)
        ),
        url("images/Collage.jpg");

    background-position: center;
    background-size: cover;
}

/* Software product cards */

.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card .card-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.product-card h3 {
    font-size: 26px;
}

.product-card ul {
    margin-bottom: 28px;
}

.product-card .primary-button {
    margin-top: auto;
}

/* Links page mobile layout */

@media (max-width: 768px) {

    .product-card .primary-button {
        width: 100%;
        text-align: center;
    }

}
