/* ==========================================================
   MERIDIAN IT CONSULTANTS
   Master Stylesheet
   Version 2.0
========================================================== */


/* ==========================================================
   1. VARIABLES
========================================================== */

:root {
    --primary: #003399;
    --primary-dark: #002b80;
    --secondary: #109a8c;
    --secondary-dark: #0b7f73;
    --accent: #ffd84d;
    --accent-dark: #f5b301;

    --dark: #0f1b33;
    --dark-soft: #1e293b;
    --text: #1e293b;
    --muted: #64748b;
    --light: #f5f7fa;
    --section-alt: #f2f5f7;
    --white: #ffffff;
    --border: #e2e8f0;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.10);

    --transition: all 0.25s ease;
}


/* ==========================================================
   2. GLOBAL FOUNDATION
========================================================== */

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #e6eaed;
    color: var(--text);
    font-size: 17.5px;
    line-height: 1.7;
    letter-spacing: 0.15px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--secondary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-dark);
}


/* ==========================================================
   3. TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-soft);
    line-height: 1.2;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.4px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.45rem;
    font-weight: 700;
}

h4,
h5 {
    font-size: 1.1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.1rem;
}

.section-standard p,
.section-alt p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #444;
}

.section-intro {
    max-width: 720px;
    margin: 14px auto 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* ==========================================================
   4. BUTTONS
========================================================== */

.btn {
    border-radius: 8px;
    font-weight: 700;
    padding: 13px 28px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--primary);
}

.btn-outline-dark {
    border: 2px solid var(--dark-soft);
    color: var(--dark-soft);
    background: transparent;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background: var(--dark-soft);
    color: var(--white);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary);
    color: var(--white);
}


/* ==========================================================
   5. HEADER & NAVIGATION
========================================================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: 72px;
    padding: 15px 0;
}

.navbar-brand {
    text-decoration: none;
}

.brand,
.brand-title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary);
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2px;
}

.nav-link {
    color: #475569;
    font-weight: 700;
    margin: 0 0.3rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 10px;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary);
    color: var(--white);
}


/* ==========================================================
   6. HERO
========================================================== */

.hero-section {
    padding: 95px 0 80px;
    background-color: #0c1424;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 800;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.6px;
}

.hero-title span {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    margin-top: 4px;
}

.hero-subtitle,
.hero-subtext {
    font-size: 1.18rem;
    line-height: 1.8;
    color: #cbd5e1;
    max-width: 650px;
    margin-top: 22px;
}

.hero-features,
.hero-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 30px 0;
    font-weight: 700;
    color: var(--white);
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    border-radius: 16px;
    max-height: 500px;
}

.hero-accent-box {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-sm);
}


/* ==========================================================
   7. GENERAL SECTIONS
========================================================== */

.section-standard,
.section-alt {
    padding: 90px 0;
}

.section-standard {
    background-color: var(--white);
}

.section-alt {
    background-color: var(--section-alt);
}


/* ==========================================================
   8. SPLIT SECTIONS
========================================================== */

.section-split {
    padding: 70px 0;
}

.split-heading {
    font-size: 1.85rem;
    line-height: 1.3;
    position: sticky;
    top: 90px;
}

.split-heading::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--secondary);
    margin-top: 10px;
}

.section-split .col-lg-4 {
    padding-right: 24px;
}

.section-split .col-lg-8 {
    border-left: 1px solid var(--border);
    padding-left: 24px;
}

.section-split p {
    max-width: 650px;
}


/* ==========================================================
   9. SERVICE CHOICE CARDS
========================================================== */

.service-choice-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.service-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-choice-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-choice-card ul {
    margin: 25px 0;
    padding-left: 20px;
}

.service-choice-card li {
    margin-bottom: 10px;
    font-weight: 600;
}


/* ==========================================================
   10. SERVICE BOXES
========================================================== */

.service-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #ececec;
    box-shadow: var(--shadow-sm);
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-box h4 {
    color: var(--primary);
    margin-bottom: 14px;
}

.service-box p {
    color: #475569;
    margin-bottom: 0;
}


/* ==========================================================
   11. FEATURE CARDS & BOXES
========================================================== */

.feature-card,
.feature-box {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
}

.feature-card:hover,
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card h4,
.feature-box h5 {
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p,
.feature-box p {
    color: #475569;
    margin-bottom: 0;
}

.feature-box h5 a {
    text-decoration: none;
    color: var(--dark-soft);
}

.feature-box h5 a:hover {
    color: var(--secondary);
}


/* ==========================================================
   12. FAQ
========================================================== */

.faq-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 32px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding-bottom: 22px;
}

.faq-item h4,
.faq-item h5 {
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--primary);
}

.faq-item p {
    margin-bottom: 0;
}


/* ==========================================================
   13. TESTIMONIALS
========================================================== */

.testimonial-box {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.testimonial-author {
    font-weight: 700;
    color: var(--dark-soft);
    font-size: 0.95rem;
}


/* ==========================================================
   14. CTA
========================================================== */

.cta-section-premium {
    padding: 75px 0;
    background-color: var(--white);
}

.cta-premium-box {
    background: #f5f8fa;
    padding: 60px 42px;
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--secondary);
    box-shadow: var(--shadow-md);
    max-width: 860px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* ==========================================================
   15. AREAS
========================================================== */

.areas-list {
    color: var(--muted);
    font-size: 1rem;
    max-width: 760px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.areas-links {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    font-weight: 700;
}

.areas-links a {
    text-decoration: none;
    color: var(--dark-soft);
    position: relative;
    padding-bottom: 3px;
}

.areas-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.25s ease;
}

.areas-links a:hover {
    color: var(--secondary);
}

.areas-links a:hover::after {
    width: 100%;
}

.areas-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 720px;
    margin: 0 auto;
}

.areas-links-grid a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #dbe2e8;
    background-color: var(--white);
    color: var(--dark-soft);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.areas-links-grid a:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: #f6fbfa;
}


/* ==========================================================
   16. CONTACT DETAILS
========================================================== */

.contact-details {
    margin-top: 10px;
}

.contact-line {
    margin-bottom: 6px;
}

.contact-line a,
a[href^="mailto:"] {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
}

.contact-line a:hover,
a[href^="mailto:"]:hover {
    text-decoration: underline;
}


/* ==========================================================
   17. FOOTER
========================================================== */

.site-footer {
    background: var(--dark);
    color: #d8dce5;
    padding: 70px 0 25px;
    margin-top: 80px;
}

.footer-title {
    color: var(--white);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-tagline {
    color: var(--accent-dark);
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-heading {
    color: var(--accent-dark);
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-text,
.footer-contact {
    color: #c7d0dc;
    line-height: 1.8;
    font-size: 0.96rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: inline-block;
    color: #d8dce5;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-dark);
    padding-left: 6px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-dark);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 45px 0 25px;
}

.footer-copy {
    margin: 0;
    color: #9da7b5;
    font-size: 0.9rem;
}

.site-footer .text-md-end a {
    color: #c7d0dc;
    text-decoration: none;
    margin-left: 12px;
    font-size: 0.9rem;
}

.site-footer .text-md-end a:hover {
    color: var(--accent-dark);
}


/* ==========================================================
   18. RESPONSIVE
========================================================== */

@media (max-width: 992px) {

    body {
        font-size: 16.5px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 80px 0 70px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle,
    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features,
    .hero-points {
        grid-template-columns: 1fr;
    }

    .hero-accent-box {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-standard,
    .section-alt {
        padding: 70px 0;
    }

    .section-split .col-lg-8 {
        border-left: none;
        padding-left: 0;
        margin-top: 20px;
    }

    .split-heading {
        position: static;
    }

    .areas-links-grid {
        grid-template-columns: 1fr;
    }

    .cta-premium-box {
        padding: 42px 26px;
    }
}

@media (max-width: 576px) {

    body {
        font-size: 16px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .service-choice-card,
    .service-box,
    .feature-card,
    .feature-box {
        padding: 24px;
    }

    .site-footer {
        padding-top: 55px;
    }
}
