/* =========================================
   MIF DIGITAL SOLUTIONS
   Modern Homepage Stylesheet
========================================= */

:root {
    --primary: #0866e8;
    --primary-dark: #064db5;
    --navy: #0b1830;
    --text: #17243a;
    --muted: #64748b;
    --white: #ffffff;
    --border: #e5edf7;
    --light-blue: #eaf3ff;
    --shadow: 0 24px 70px rgba(28, 75, 135, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

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

/* =========================================
   HEADER AND NAVIGATION
========================================= */

.site-header {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #edf2f8;
}

.navbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    width: 155px;
    height: 76px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-links a {
    position: relative;
    padding: 12px 0;
    color: #28354a;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.25s ease;
}

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

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: var(--primary);
}

/* =========================================
   HOMEPAGE HERO
========================================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 690px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            ellipse at 82% 32%,
            rgba(91, 166, 255, 0.23),
            transparent 42%
        ),
        linear-gradient(115deg, #ffffff 30%, #f5f9ff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -220px;
    right: -150px;
    width: 760px;
    height: 900px;
    border-radius: 48%;
    transform: rotate(38deg);
    background: linear-gradient(
        140deg,
        rgba(184, 217, 255, 0.85),
        rgba(225, 239, 255, 0.12)
    );
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 255, 255, 0.55)
    );
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 35px;
    padding-top: 75px;
    padding-bottom: 85px;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.eyebrow {
    margin-bottom: 24px;
    color: #2364ba;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.5;
}

.hero-text h1 {
    max-width: 680px;
    margin-bottom: 25px;
    color: var(--navy);
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.04;
}

.highlight {
    display: inline;
    color: var(--primary);
}

.hero-description {
    max-width: 590px;
    margin-bottom: 30px;
    color: #536278;
    font-size: 17px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 25px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, #1478f5, #0757d8);
    box-shadow: 0 12px 25px rgba(8, 102, 232, 0.23);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #075fdc, #0647b5);
    box-shadow: 0 16px 30px rgba(8, 102, 232, 0.3);
}

.button-arrow {
    font-size: 23px;
    line-height: 1;
}

/* =========================================
   RIGHT-SIDE TECHNOLOGY VISUAL
========================================= */

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-background {
    position: absolute;
    inset: 4% -9% 3% 2%;
    border-radius: 48% 40% 35% 45%;
    background: linear-gradient(
        135deg,
        rgba(189, 219, 255, 0.38),
        rgba(230, 242, 255, 0.12)
    );
}

/* =========================================
   CSS LAPTOP MOCKUP
========================================= */

.laptop-mockup {
    position: absolute;
    left: 2%;
    bottom: 14%;
    width: 76%;
    z-index: 1;
    transform: perspective(900px) rotateY(-8deg) rotateX(2deg);
}

.laptop-screen {
    position: relative;
    width: 78%;
    height: 300px;
    margin-left: 11%;
    padding: 10px;
    overflow: hidden;
    border: 5px solid #18283e;
    border-bottom-width: 8px;
    border-radius: 13px 13px 4px 4px;
    background: #081a36;
    box-shadow: 0 20px 35px rgba(14, 36, 68, 0.25);
}

.laptop-screen-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            ellipse at 70% 90%,
            rgba(0, 131, 255, 0.65),
            transparent 45%
        ),
        linear-gradient(140deg, #102c55, #071329 70%);
}

.screen-logo {
    width: 135px;
    padding: 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
}

.screen-logo img {
    width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.screen-caption {
    margin-top: 12px;
    color: #e7f4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.screen-light {
    position: absolute;
    right: -20%;
    bottom: -45%;
    width: 100%;
    height: 80%;
    transform: rotate(-28deg);
    border-radius: 50%;
    background: rgba(0, 119, 255, 0.23);
    filter: blur(15px);
}

.laptop-hinge {
    width: 80%;
    height: 8px;
    margin-left: 10%;
    border-radius: 2px;
    background: linear-gradient(#8795a8, #e0e8f0);
}

.laptop-base {
    position: relative;
    width: 100%;
    height: 25px;
    overflow: hidden;
    border-radius: 2px 2px 50% 50%;
    background: linear-gradient(
        180deg,
        #c8d1dd,
        #f7f9fc 50%,
        #9baabd
    );
    box-shadow: 0 18px 24px rgba(24, 47, 79, 0.2);
}

.laptop-keyboard {
    width: 70%;
    height: 10px;
    margin: 2px auto;
    border-radius: 3px;
    background: repeating-linear-gradient(
        90deg,
        #6b7c90 0,
        #6b7c90 4px,
        #bac4d0 4px,
        #bac4d0 7px
    );
}

.laptop-trackpad {
    width: 18%;
    height: 7px;
    margin: 0 auto;
    border: 1px solid #aab6c5;
    border-radius: 0 0 5px 5px;
}

/* =========================================
   DECORATIVE PLANT
========================================= */

.plant {
    position: absolute;
    z-index: 0;
    width: 100px;
    height: 145px;
    opacity: 0.9;
}

.plant-left {
    left: 0;
    bottom: 24%;
}

.plant svg {
    width: 100%;
    height: 100%;
}

/* =========================================
   BUILD / AUTOMATE / PROTECT PANEL
========================================= */

.feature-panel {
    position: absolute;
    z-index: 3;
    top: 7%;
    right: 0;
    width: 70%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.67);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.73);
}

.feature-card + .feature-card {
    margin-top: 12px;
}

.feature-icon {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(28, 89, 170, 0.07);
}

.feature-icon svg {
    width: 29px;
    height: 29px;
}

.feature-copy h2 {
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.feature-copy p {
    color: #536278;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    border-top: 1px solid #edf2f8;
    background: #ffffff;
}

.footer-content {
    padding-top: 24px;
    padding-bottom: 24px;
    text-align: center;
}

.footer-content p {
    color: #718096;
    font-size: 13px;
}

/* =========================================
   RESPONSIVE DESIGN: TABLETS
========================================= */

@media (max-width: 1000px) {

    .navbar {
        min-height: 82px;
    }

    .nav-links {
        gap: 24px;
    }

    hero-content {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr 0.9fr;
        gap: 15px;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-text h1 {
        font-size: clamp(40px, 5.5vw, 58px);
        letter-spacing: -2px;
    }

    .hero-visual {
        min-height: 410px;
    }

    .laptop-screen {
        height: 235px;
    }

    .feature-panel {
        width: 76%;
        padding: 10px;
    }

    .feature-card {
        gap: 12px;
        padding: 16px 10px;
    }

    .feature-icon {
        width: 49px;
        height: 49px;
        flex-basis: 49px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-copy h2 {
        font-size: 17px;
    }

    .feature-copy p {
        font-size: 12px;
    }
}

/* =========================================
   RESPONSIVE DESIGN: MOBILE
========================================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 32px, 520px);
    }

    .navbar {
        min-height: 75px;
        flex-wrap: wrap;
        gap: 6px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .logo-image {
        width: 112px;
        height: 54px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-links a {
        padding: 8px 0;
        font-size: 13px;
    }

    .hero {
        min-height: auto;
        background:
            radial-gradient(
                ellipse at 85% 55%,
                rgba(91, 166, 255, 0.18),
                transparent 50%
            ),
            #ffffff;
    }

    .hero::before {
        top: 40%;
        right: -220px;
        width: 500px;
        height: 500px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 48px;
        padding-bottom: 45px;
    }

    .eyebrow {
        margin-bottom: 17px;
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-text h1 {
        max-width: 540px;
        margin-bottom: 19px;
        font-size: clamp(40px, 10vw, 57px);
        letter-spacing: -2px;
        line-height: 1.07;
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.75;
    }

    .btn {
        min-height: 53px;
        padding: 14px 18px;
        font-size: 14px;
    }

    .hero-visual {
        min-height: 390px;
        margin-top: 5px;
    }

    .visual-background {
        inset: 5% -3% 5% 3%;
    }

    .laptop-mockup {
        left: 0;
        bottom: 13%;
        width: 80%;
    }

    .laptop-screen {
        height: 215px;
    }

    .screen-logo {
        width: 95px;
    }

    .screen-caption {
        font-size: 8px;
    }

    .plant-left {
        left: -5px;
        bottom: 20%;
        width: 70px;
        height: 105px;
    }

    .feature-panel {
        top: 4%;
        right: -2%;
        width: 70%;
        padding: 8px;
        border-radius: 19px;
    }

    .feature-card {
        gap: 9px;
        padding: 12px 8px;
        border-radius: 13px;
    }

    .feature-card + .feature-card {
        margin-top: 8px;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-copy h2 {
        margin-bottom: 2px;
        font-size: 14px;
    }

    .feature-copy p {
        font-size: 10px;
        line-height: 1.45;
    }

    .footer-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* =========================================
   EXTRA SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-text h1 {
        font-size: 37px;
    }

    .hero-visual {
        min-height: 335px;
    }

    .laptop-screen {
        height: 175px;
    }

    .feature-panel {
        width: 74%;
    }

    .feature-card {
        gap: 7px;
        padding: 10px 6px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .feature-copy h2 {
        font-size: 12px;
    }

    .feature-copy p {
        font-size: 9px;
    }
}

/* MIF Blue Shield Branding */
.shield-icon {
    background: linear-gradient(145deg, #eaf4ff, #ffffff);
    border: 1px solid rgba(8, 102, 232, 0.15);
    box-shadow: 0 8px 24px rgba(8, 102, 232, 0.16);
}

.shield-icon svg {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 3px 4px rgba(8, 102, 232, 0.2));
}

/* MIF Digital Solutions — Blue Shield Identity */
.shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eaf4ff, #ffffff);
    border: 1px solid rgba(8, 102, 232, 0.18);
    box-shadow: 0 8px 24px rgba(8, 102, 232, 0.12);
}

.shield-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

/* ==================================================
   MIF DIGITAL SOLUTIONS
   PROFESSIONAL SERVICES PAGE
   Brand colours: Blue + Green
================================================== */

:root {
    --mif-blue: #0866e8;
    --mif-blue-dark: #073b82;
    --mif-green: #13a878;
    --mif-green-light: #e8f8f1;
    --mif-navy: #10213b;
    --mif-text: #52627a;
    --mif-background: #f5f9ff;
    --mif-border: #e2eaf4;
}


/* PAGE INTRODUCTION */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 85px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(8, 102, 232, 0.13),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #f1f7ff,
            #ffffff 65%,
            #eefaf5
        );
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .section-heading {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    margin: 12px 0 22px;
    color: var(--mif-navy);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.8px;
}

.page-hero p:not(.eyebrow) {
    max-width: 740px;
    margin: 0 auto 28px;
    color: var(--mif-text);
    font-size: 17px;
    line-height: 1.9;
}

.eyebrow {
    color: var(--mif-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}


/* GENERAL SECTIONS */

.section {
    padding: 85px 0;
}

.section:nth-of-type(odd) {
    background-color: #ffffff;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 48px;
}

.section-heading h2 {
    margin: 10px 0 16px;
    color: var(--mif-navy);
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--mif-text);
    font-size: 16px;
    line-height: 1.8;
}

.section > .container > .section-heading {
    text-align: center;
}


/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.services-grid .service-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    background: #ffffff;
    border: 1px solid var(--mif-border);
    border-radius: 19px;
    box-shadow: 0 8px 28px rgba(22, 55, 95, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.services-grid .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 102, 232, 0.35);
    box-shadow: 0 18px 38px rgba(22, 55, 95, 0.11);
}

.service-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid #dcecff;
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        #e5f1ff,
        #f4f9ff
    );
    font-size: 29px;
}


/* ALTERNATING BLUE AND GREEN ACCENTS */

.services-grid .service-card:nth-child(3n + 2) .service-icon {
    background: linear-gradient(
        145deg,
        #e4f8ef,
        #f4fcf8
    );
    border-color: #c9eddd;
}

.services-grid .service-card:nth-child(3n) .service-icon {
    background: linear-gradient(
        145deg,
        #edf0ff,
        #f8f8ff
    );
    border-color: #dfe3ff;
}


/* SERVICE HEADINGS AND DESCRIPTION */

.service-card h2 {
    margin: 0 0 13px;
    color: var(--mif-navy);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
}

.service-card > p {
    margin: 0 0 18px;
    color: var(--mif-text);
    font-size: 14px;
    line-height: 1.85;
}


/* SERVICE FEATURE LIST */

.service-card ul {
    width: 100%;
    margin: 0 0 24px;
    padding-left: 19px;
    color: #43536a;
    font-size: 13px;
    line-height: 1.8;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 3px;
}

.service-card li::marker {
    color: var(--mif-green);
}


/* SERVICE LINKS */

.service-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--mif-blue);
    font-size: 14px;
    font-weight: 800;
    transition: color 0.2s ease;
}

.service-card .text-link:hover {
    color: var(--mif-green);
}


/* MIF BLUE CYBERSECURITY SHIELD */

.service-icon.shield-icon {
    background: linear-gradient(
        145deg,
        #e5f1ff,
        #e9faf2
    );
    border: 1px solid rgba(8, 102, 232, 0.2);
    box-shadow: 0 8px 22px rgba(8, 102, 232, 0.12);
}

.service-icon.shield-icon svg {
    display: block;
    width: 37px;
    height: 37px;
}


/* OUR APPROACH */

.approach-section {
    background: linear-gradient(
        135deg,
        #f1f7ff,
        #f1fbf6
    );
}

.approach-section .section-heading {
    max-width: 800px;
    margin: 0 auto 45px;
}

.approach-section .services-grid {
    text-align: left;
}

.approach-section .service-card {
    border-top: 4px solid var(--mif-blue);
}

.approach-section .service-card:nth-child(2) {
    border-top-color: var(--mif-green);
}

.approach-section .service-card:nth-child(3) {
    border-top-color: #536fdd;
}

.approach-section .service-card h3 {
    margin: 0 0 12px;
    color: var(--mif-navy);
    font-size: 21px;
}

.approach-section .service-card p {
    color: var(--mif-text);
    font-size: 14px;
    line-height: 1.8;
}


/* CALL TO ACTION */

.cta-section {
    padding: 75px 0;
    background: #ffffff;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding: 45px;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(
        120deg,
        #082e69,
        #0866e8 70%,
        #13a878
    );
    box-shadow: 0 20px 45px rgba(8, 102, 232, 0.15);
}

.cta-content h2 {
    margin: 10px 0 14px;
    color: #ffffff;
    font-size: clamp(26px, 3.5vw, 37px);
    line-height: 1.25;
}

.cta-content p:not(.eyebrow) {
    max-width: 650px;
    color: #e8f1ff;
    font-size: 15px;
    line-height: 1.8;
}

.cta-content .eyebrow {
    color: #b9f3dd;
}

.cta-content .btn-primary {
    flex-shrink: 0;
    color: var(--mif-blue-dark);
    background: #ffffff;
    box-shadow: none;
}

.cta-content .btn-primary:hover {
    color: var(--mif-green);
    background: #f0fff8;
}


/* FOOTER */

.site-footer {
    background: #0a1830;
    color: #ffffff;
    border-top: 3px solid var(--mif-green);
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 25px;
}

.site-footer h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
}

.site-footer p {
    color: #c1cde0;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #e2eafa;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #54dfad;
}

.site-footer .copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    margin-top: 10px;
    border-top: none;
    text-align: center;
}


/* TABLET LAYOUT */

@media (max-width: 950px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .page-hero {
        padding: 75px 0;
    }

    .section {
        padding: 65px 0;
    }

    .cta-content {
        padding: 35px;
    }
}


/* MOBILE LAYOUT */

@media (max-width: 600px) {
    .page-hero {
        padding: 58px 0;
    }

    .page-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .page-hero p:not(.eyebrow) {
        font-size: 15px;
    }

    .section {
        padding: 55px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-grid .service-card {
        padding: 25px 23px;
    }

    .service-card h2 {
        font-size: 20px;
    }

    .cta-section {
        padding: 45px 0;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 28px 23px;
        border-radius: 18px;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer .copyright {
        grid-column: auto;
    }

    .footer-links {
        gap: 16px;
    }
}

/* =========================================
   MIF DIGITAL SOLUTIONS — SERVICES UPGRADE
   Brand colours: Blue + Green
========================================= */

:root {
    --mif-blue: #0866e8;
    --mif-dark-blue: #073b8c;
    --mif-green: #16a878;
    --mif-text: #14243a;
    --mif-muted: #64748b;
    --mif-light: #f4f8ff;
}

/* Services page background */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 40px;
    align-items: stretch;
}

/* Professional service cards */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    border: 1px solid #dce8f8;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(7, 59, 140, 0.06);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

/* Blue and green accent */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--mif-blue),
        var(--mif-green)
    );
    border-radius: 0 0 8px 8px;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: #8bbaff;
    box-shadow: 0 18px 40px rgba(8, 102, 232, 0.13);
}

/* Service icons */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: linear-gradient(145deg, #e7f1ff, #e8fff5);
    border: 1px solid #d6e8ff;
    font-size: 27px;
}

/* Service headings */
.service-card h2,
.service-card h3 {
    color: var(--mif-text);
    line-height: 1.35;
    margin-bottom: 14px;
}

/* Service descriptions */
.service-card p {
    color: var(--mif-muted);
    line-height: 1.8;
}

/* Lists inside cards */
.service-card ul {
    padding-left: 20px;
    margin: 14px 0 24px;
}

.service-card li {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 7px;
}

/* Service links */
.service-card .text-link,
.service-card a {
    color: var(--mif-blue);
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
}

.service-card .text-link:hover,
.service-card a:hover {
    color: var(--mif-green);
}

/* Page introduction */
.page-hero {
    background:
        radial-gradient(
            circle at top right,
            rgba(8, 102, 232, 0.12),
            transparent 42%
        ),
        linear-gradient(135deg, #f4f8ff, #ffffff 65%, #edfff7);
    padding-top: 85px;
    padding-bottom: 75px;
}

.page-hero h1 {
    color: var(--mif-text);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.page-hero .eyebrow {
    color: var(--mif-blue);
}

/* Section headings */
.section-heading h2 {
    color: var(--mif-text);
    letter-spacing: -0.7px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--mif-muted);
    line-height: 1.8;
}

/* Project call-to-action */
.cta-section {
    margin-top: 45px;
    padding: 65px 0;
    background: linear-gradient(
        120deg,
        var(--mif-dark-blue),
        var(--mif-blue),
        var(--mif-green)
    );
    color: #ffffff;
}

.cta-section h2,
.cta-section p,
.cta-section .eyebrow {
    color: #ffffff;
}

.cta-section .btn {
    background: #ffffff;
    color: var(--mif-dark-blue);
    border: 1px solid #ffffff;
    font-weight: 700;
}

.cta-section .btn:hover {
    background: #eafff5;
    color: var(--mif-dark-blue);
}

/* Blue shield branding */
.shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eaf4ff, #e8fff5);
    border: 1px solid rgba(8, 102, 232, 0.2);
    box-shadow: 0 8px 24px rgba(8, 102, 232, 0.12);
}

.shield-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

/* Tablet layout */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile layout */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 26px 22px;
    }

    .page-hero {
        padding-top: 55px;
        padding-bottom: 50px;
    }

    .page-hero h1 {
        letter-spacing: -0.7px;
    }

    .cta-section {
        padding: 45px 0;
    }
}

/* =========================================
   MIF SERVICES PAGE — SPACING REFINEMENT
========================================= */

/* Reduce space above and below page sections */
.section {
    padding-top: 55px;
    padding-bottom: 55px;
}

/* Make the introduction more compact */
.page-hero {
    padding-top: 60px;
    padding-bottom: 50px;
}

/* Bring headings closer to the content */
.section-heading {
    margin-bottom: 30px;
}

/* Reduce the gap between service cards */
.services-grid {
    gap: 20px;
    margin-top: 25px;
}

/* Make individual cards more compact */
.services-grid .service-card {
    padding: 24px 22px;
}

/* Reduce space around icons */
.service-icon {
    margin-bottom: 15px;
}

/* Tighten service headings */
.service-card h2 {
    margin-bottom: 9px;
}

/* Tighten descriptions */
.service-card > p {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Compact the feature lists */
.service-card ul {
    margin-top: 10px;
    margin-bottom: 16px;
}

.service-card li {
    margin-bottom: 5px;
    line-height: 1.65;
}

/* Bring the approach section closer to the services */
.approach-section {
    padding-top: 55px;
    padding-bottom: 55px;
}

.approach-section .section-heading {
    margin-bottom: 30px;
}

/* Reduce spacing inside approach cards */
.approach-section .service-card {
    padding: 24px 22px;
}

/* Make the final call-to-action more compact */
.cta-section {
    margin-top: 0;
    padding-top: 45px;
    padding-bottom: 45px;
}

.cta-content {
    padding: 34px;
    gap: 25px;
}

/* Keep the layout comfortable on smaller screens */
@media (max-width: 600px) {
    .section,
    .approach-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .page-hero {
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .services-grid {
        gap: 16px;
        margin-top: 20px;
    }

    .services-grid .service-card {
        padding: 22px 19px;
    }

    .cta-section {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .cta-content {
        padding: 25px 20px;
    }
}
/* Services page spacing adjustments */

.services-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.services-section .section-heading {
    margin-bottom: 28px;
}

.services-grid {
    gap: 20px;
    margin-top: 20px;
}

.services-grid .service-card {
    padding: 24px;
}

.approach-section {
    padding-top: 45px;
    padding-bottom: 45px;
}

.approach-section .section-heading {
    margin-bottom: 25px;
}

.cta-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 600px) {
    .services-section,
    .approach-section {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .services-grid {
        gap: 16px;
    }

    .services-grid .service-card {
        padding: 20px;
    }

    .cta-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
/* Compact website footer */
footer {
    padding: 18px 0 !important;
}

footer .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

footer h2,
footer h3 {
    margin: 0 0 5px !important;
    font-size: 18px !important;
}

footer p {
    margin: 4px 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

footer a {
    font-size: 12px !important;
}

footer .footer-content,
footer .footer-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
/* Final compact footer design */
footer {
    padding: 14px 0 !important;
    border-top: none !important;
}

footer .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

footer h2,
footer h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 5px !important;
}

footer p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 3px 0 !important;
}

footer a {
    font-size: 12px !important;
    font-weight: 600 !important;
}

footer hr,
footer .footer-bottom {
    border-top: none !important;
}

footer .footer-content,
footer .footer-bottom {
    padding: 5px 0 !important;
}
/* Reduce excessive spacing on the Services page */
.services-section {
    padding-bottom: 35px !important;
    margin-bottom: 0 !important;
}

.services-grid {
    margin-bottom: 0 !important;
}

.services-section + section {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    margin-top: 0 !important;
}

/* Compact the project call-to-action */
.cta-section,
.project-cta {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Reduce footer spacing */
footer {
    padding-top: 15px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
}
/* Reduce excessive spacing on the Services page */
.services-section {
    padding-bottom: 25px !important;
    margin-bottom: 0 !important;
}

.approach-section {
    padding-bottom: 25px !important;
    margin-bottom: 0 !important;
}

/* Tighten the project CTA spacing */
.cta-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Reduce space before the footer */
footer {
    margin-top: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}
/* FIX: Reduce the CTA-to-footer gaps on the Services page */
.cta-section {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cta-section .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.cta-section h2 {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

.cta-section p {
    margin-bottom: 12px !important;
}

footer {
    margin-top: 0 !important;
    padding-top: 12px !important;
}
/* =========================================
   MIF FOOTER ALIGNMENT AND DIVIDER FIX
========================================= */

/* Align footer content to the left */
.site-footer .footer-content {
    text-align: left !important;
    justify-items: start;
}

/* Align the company name and tagline */
.site-footer .footer-content > div:first-child {
    text-align: left !important;
    justify-self: start;
}

.site-footer .footer-content > div:first-child h3 {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Align footer navigation */
.site-footer .footer-links {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* Align copyright and remove its divider */
.site-footer .copyright {
    text-align: left !important;
    border-top: none !important;
    padding-top: 8px !important;
    margin-top: 8px !important;
}

/* Remove the line underneath the navigation header */
.site-header {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* ==========================================
   MIF ABOUT PAGE — SPACING FIX
   Reduce excessive gaps between sections
========================================== */

.about-page .about-hero {
    padding-top: 55px;
    padding-bottom: 45px;
}

.about-page .about-section {
    padding-top: 42px;
    padding-bottom: 42px;
}

.about-page .about-section-heading {
    margin-bottom: 25px;
}

.about-page .about-story-grid {
    gap: 35px;
}

.about-page .about-story-copy p {
    margin-bottom: 12px;
}

.about-page .about-story-note {
    margin-top: 16px;
}

.about-page .about-values-grid,
.about-page .about-advantages-grid,
.about-page .about-steps-grid {
    row-gap: 16px;
}

.about-page .about-value-card {
    padding-top: 24px;
    padding-bottom: 24px;
}

.about-page .about-advantage {
    padding: 18px;
}

.about-page .about-step {
    padding: 20px;
}

.about-page .about-cta {
    padding-top: 40px;
    padding-bottom: 40px;
}

.about-page .about-cta-panel {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Mobile spacing */
@media (max-width: 680px) {
    .about-page .about-hero {
        padding-top: 35px;
        padding-bottom: 30px;
    }

    .about-page .about-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .about-page .about-section-heading {
        margin-bottom: 20px;
    }

    .about-page .about-cta {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* ==================================
   SERVICES PAGE SPACING IMPROVEMENTS
================================== */

.services-section {
    padding-top: 40px;
    padding-bottom: 20px;
}

.services-section .section-heading {
    margin-bottom: 35px;
}

.services-grid {
    gap: 24px;
}

.service-card {
    padding: 28px;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .services-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .services-grid {
        gap: 18px;
    }

    .service-card {
        padding: 22px;
    }
}
/* WhatsApp contact button */
.whatsapp-contact {
    margin: 24px 0;
    text-align: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    color: #ffffff;
}

.whatsapp-button:focus-visible {
    outline: 3px solid #128C7E;
    outline-offset: 3px;
}
/* =========================================
   MIF DIGITAL SOLUTIONS - RECENT IMPROVEMENTS
   ========================================= */

/* 1. FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 20px;
    border-radius: 50px;

    background-color: #25D366;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

/* 2. IPHONE APP DEVELOPMENT ICON */
.iphone-app-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;

    border-radius: 24px;
    background: #f1f5ff;

    color: #1769e0;
    margin-bottom: 25px;
}

.iphone-app-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

/* 3. REMOVE NUMBERED PROCESS BADGES */
.process-number,
.process-step-number,
.step-number {
    display: none !important;
}

/* 4. MOBILE RESPONSIVENESS */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        right: 14px;
        bottom: 18px;

        padding: 12px 16px;
        font-size: 14px;
    }

    .iphone-app-icon {
        width: 85px;
        height: 85px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .iphone-app-icon svg {
        width: 42px;
        height: 42px;
    }
}

@media screen and (max-width: 380px) {
    .whatsapp-float {
        right: 10px;
        bottom: 14px;
        padding: 10px 13px;
        font-size: 13px;
    }
}