
/* =========================================
   MAJOSA DIGITAL SOLUTIONS
   Complete responsive website stylesheet
   ========================================= */

:root {
    --primary-blue: #0f268c;
    --red: #ff0000;
    --yellow: #ffff00;
    --white: #ffffff;
    --turquoise: #00ffff;
    --dark: #111827;
    --muted: #5b6475;
    --light: #f4f7fc;
    --border: #e3e8f1;
    --shadow: 0 12px 35px rgba(15, 38, 140, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
}

body,
button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

section,
header {
    scroll-margin-top: 85px;
}

/* NAVIGATION */

.navbar {
    min-height: 78px;
    padding: 14px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 18px rgba(17, 24, 39, 0.07);
}

.logo,
.footer-logo {
    color: var(--primary-blue);
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--turquoise);
}

.nav-cta {
    background: var(--primary-blue);
    color: var(--white);
    padding: 13px 20px;
    border-radius: 7px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: #091a68;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: var(--primary-blue);
    color: var(--white);
    border: 0;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 23px;
    cursor: pointer;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    padding: 95px 8%;
    display: flex;
    align-items: center;
    background: var(--primary-blue);
    color: var(--white);
    border-bottom: 6px solid var(--turquoise);
}

.hero-content {
    max-width: 740px;
    position: relative;
    z-index: 2;
}

.hero-label,

.section-label {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero-label {
    color: var(--turquoise);
}

.hero-label span {
    color: var(--yellow);
    padding: 0 4px;
}

.hero h1 {
    margin: 24px 0;
    font-size: clamp(60px, 6vw, 80px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.hero h1 span {
    color: var(--turquoise);
}

.hero-description {
    max-width: 620px;
    color: #e3e9ff;
    font-size: 20px;
    line-height: 1.8;
    margin-top: 18px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    min-height: 48px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--yellow);
    color: var(--primary-blue);
    border: 2px solid var(--yellow);
}

.button-primary:hover {
    background: #eff3f0;
    border-color: #e6e600;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.button-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.button-secondary:hover {
    background: #00ffff;
    color: #0f268c;
    border-color: #00ffff;
}

.button-yellow {
    background: var(--yellow);
    color: var(--primary-blue);
    border: 2px solid var(--yellow);
}

.button-yellow:hover {
    background: var(--white);
    border-color: var(--white);
}

.hero-location {
    margin-top: 30px;
    color: #d6defb;
    font-size: 13px;
}

.hero-decoration {
    position: absolute;
    right: 6%;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    right: 20px;
    top: 25px;
    border: 2px solid var(--turquoise);
    border-radius: 50%;
    opacity: 0.8;
}

.decoration-square {
    position: absolute;
    width: 150px;
    height: 150px;
    right: 0;
    top: 75px;
    border: 3px solid var(--yellow);
    transform: rotate(25deg);
    opacity: 0.8;
}

.decoration-line {
    position: absolute;
    width: 190px;
    height: 6px;
    background: var(--red);
    top: 150px;
    right: 40px;
    transform: rotate(-35deg);
}

.decoration-text {
    position: absolute;
    bottom: 0;
    right: 5px;
    color: var(--turquoise);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

/* VALUE STRIP */

.value-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 22px 6%;
    background: var(--light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.value-strip div {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 850;
}

/* GENERAL SECTIONS */

.section {
    padding: 90px 7%;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-heading h2,
.about-content h2,
.contact-intro h2 {
    color: var(--primary-blue);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 10px 0 18px;
}

.section-description {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
}

/* SERVICES */

.services-section {
    background: var(--white);
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Tablets */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.service-card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 38, 140, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--turquoise);
    box-shadow: 0 16px 35px rgba(15, 38, 140, 0.16);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}


.service-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary-blue);
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.services-cta {
    margin-top: 45px;
    padding: 35px 25px;
    text-align: center;
    background: var(--light);
    border-radius: 12px;
    border-bottom: 4px solid var(--turquoise);
}

.services-cta h3 {
    margin: 0;
    color: var(--primary-blue);
    font-size: 24px;
}

.services-cta p {
    color: var(--muted);
    margin: 8px 0 20px;
}

/* ABOUT */

.about-section {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    background: #f4f7ff;
}

.about-content h2 {
    margin-top: 10px;
}

.about-content > p:not(.section-label) {
    color: var(--muted);
    font-size: 15px;
}

/* ABOUT SECTION RESPONSIVE LAYOUT */

@media (max-width: 900px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 6%;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 50px 5%;
        gap: 28px;
    }
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-blue);
    font-weight: 900;
    text-decoration: none;
}

.text-link span {
    color: var(--red);
    margin-left: 5px;
}

.about-highlight {
    position: relative;
    overflow: hidden;
    padding: 40px 30px;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 20px;
    border-bottom: 6px solid var(--turquoise);
}

.highlight-mark {
    position: absolute;
    right: 15px;
    top: -30px;
    font-size: 200px;
    line-height: 1;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.07);
}

.about-highlight h3 {
    position: relative;
    margin: 2px 0;
    font-size: 28px;
}

.about-highlight .highlight-accent {
    color: var(--turquoise);
}

.about-highlight p {
    position: relative;
    color: #dce5ff;
    font-size: 14px;
    margin-top: 18px;
}

/* ABOUT HIGHLIGHT - MOBILE ADJUSTMENT */

@media (max-width: 600px) {
    .about-highlight {
        padding: 32px 24px;
        min-height: 280px;
    }

    .about-highlight h3 {
        font-size: 24px;
    }

    .highlight-mark {
        font-size: 160px;
        right: 10px;
    }
}

/* WHY CHOOSE US */

.why-section {
    background: var(--white);
}


.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

/* Tablets */
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


.benefit {
    padding: 25px 20px;
    border-top: 3px solid var(--turquoise);
    background: var(--light);
    border-radius: 8px;
}

.benefit > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: var(--turquoise);
    border-radius: 50%;
    font-weight: 900;
}

.benefit h3 {
    color: var(--primary-blue);
    font-size: 20px;
    line-height: 1.4;
}

.benefit p {
    color: var(--muted);
    font-size: 14px;
}

/* CONTACT */

.contact-section {
    padding: 85px 8%;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 74px;
    align-items: start;
    background: var(--primary-blue);
    color: var(--white);
}

.contact-intro .section-label {
    color: var(--turquoise);
}

.contact-intro h2 {
    color: var(--white);
}

.contact-intro > p:not(.section-label) {
    color: #e0e7ff;
    max-width: 550px;
    margin-bottom: 28px;
}

.contact-information {
    padding: 30px;
    background: var(--white);
    color: var(--dark);
    border-radius: 18px;
    border-top: 5px solid var(--turquoise);
}

.contact-information h3 {
    margin-top: 0;
    color: var(--primary-blue);
    font-size: 22px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-label {
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.contact-item a {
    width: fit-content;
    color: var(--dark);
    font-size: 14px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* CONTACT SECTION RESPONSIVE LAYOUT */

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 65px 6%;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 50px 5%;
        gap: 30px;
    }

    .contact-information {
        padding: 24px 20px;
    }
}

/* SOCIAL MEDIA */

.social-section {
    padding: 65px 7%;
    text-align: center;
    background: var(--light);
}

.social-section h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin: 0;
}

.social-section > p {
    color: var(--muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.social-links a {
    padding: 10px 17px;
    border: 1px solid #d6dff4;
    border-radius: 7px;
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.social-note {
    font-size: 12px;
}

/* FOOTER */

.site-footer {
    padding: 38px 20px;
    text-align: center;
    background: #091754;
    color: var(--white);
    border-top: 5px solid var(--turquoise);
}

.footer-logo {
    display: inline-block;
    color: var(--white);
    white-space: normal;
}

.site-footer > p {
    color: #dce5ff;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--white);
    font-size: 15px;
    text-decoration: none;
}

.copyright {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 16px;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    border: 2px solid var(--turquoise);
    border-radius: 50px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.22);
    transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
    background: #091754;
    transform: translateY(-3px);
}

.whatsapp-icon {
    font-size: 19px;
}

/* SCROLL BUTTONS */

.scroll-btn {
    position: fixed;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--turquoise);
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 25px;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease,
                transform 0.2s ease, background 0.2s ease;
}

.scroll-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-btn:hover {
    background: var(--turquoise);
    color: var(--primary-blue);
}

.scroll-top {
    bottom: 100px;
}

.scroll-bottom {
    bottom: 150px;
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

/* TABLETS */

@media (max-width: 1050px) {
    .navbar {
        padding-left: 4%;
        padding-right: 4%;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .logo {
        font-size: 17px;
    }

    .hero-decoration {
        right: -100px;
        opacity: 0.35;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 760px) {
    html {
        scroll-padding-top: 75px;
    }

    .navbar {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 12px 5%;
        gap: 10px;
    }

    .logo {
        font-size: 16px;
        margin-right: auto;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        padding: 9px 11px;
        font-size: 12px;
    }

    .nav-links {
        display: none;
        order: 4;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid var(--border);
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 5px;
        font-size: 15px;
    }

    .hero {
        min-height: auto;
        padding: 75px 7%;
    }

    .hero h1 {
        font-size: clamp(39px, 10vw, 57px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-decoration {
        right: -160px;
        opacity: 0.17;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .value-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 5%;
    }

    .value-strip div {
        font-size: 12px;
    }

    .section {
        padding: 65px 6%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 6%;
    }

    .about-highlight {
        min-height: 260px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 6%;
    }

    .contact-information {
        padding: 23px;
    }

    .social-section {
        padding: 55px 6%;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 15px;
        padding: 11px 14px;
        font-size: 12px;
    }

    .scroll-btn {
        right: 20px;
        width: 39px;
        height: 39px;
    }

    .scroll-top {
        bottom: 83px;
    }

    .scroll-bottom {
        bottom: 130px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .logo {
        font-size: 14px;
    }

    .nav-cta {
        font-size: 11px;
        padding: 8px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .value-strip {
        grid-template-columns: 1fr;
    }
}

/* REDUCED MOTION PREFERENCE */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =================================
   MAJOSA DIGITAL SOLUTIONS
   MODERN DESIGN UPGRADE
================================= */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Cleaner overall appearance */
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #202a3b;
    background: #ffffff;
}

/* Modern navigation */
nav,
.navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

nav a,
.navbar a {
    transition: color 0.25s ease;
}

nav a:hover,
.navbar a:hover {
    color: #00ffff;
}

/* Premium technology-style hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 255, 255, 0.18),
            transparent 30%
        ),
        linear-gradient(135deg, #071442 0%, #0f268c 60%, #153da8 100%);
    color: #ffffff;
    isolation: isolate;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.hero p {
    max-width: 680px;
    line-height: 1.9;
    overflow-wrap: normal;
    word-break: normal;
}

/* Professional buttons */
button,
.btn,
.button {
    border-radius: 8px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

button:hover,
.btn:hover,
.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 38, 140, 0.2);
}

/* More attractive service cards */
.service-card,
.service-box,
.services .card {
    background: #ffffff;
    border: 1px solid #e7ebf3;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 5px 22px rgba(15, 38, 140, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover,
.service-box:hover,
.services .card:hover {
    transform: translateY(-7px);
    border-color: #00cccc;
    box-shadow: 0 16px 35px rgba(15, 38, 140, 0.12);
}

/* Section headings */
section h2,
.section-title {
    letter-spacing: -0.6px;
    line-height: 1.25;
}

/* Services section heading */
#services h2 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

section h2 {
    color: #0f268c;
}

/* Better paragraph readability */
section p {
    line-height: 1.85;
}

/* Modern contact section */
.contact {
    background: #f4f7ff;
}

/* Clean footer */
footer {
    background: #071442;
    color: #ffffff;
}

footer a {
    transition: color 0.2s ease;
}

footer a:hover {
    color: #00ffff;
}

/* Keep floating WhatsApp green */
.whatsapp-float {
    background: #25D366;
    color: #ffffff;
}

.whatsapp-float:hover {
    background: #0c8375;
    color: #ffffff;
}

/* Mobile improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.35rem;
        letter-spacing: -0.7px;
    }

    .service-card,
    .service-box,
    .services .card {
        padding: 21px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* Modern navigation bar */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(15, 38, 140, 0.08);
    border-bottom: 1px solid #edf0f7;
}

.navbar a {
    text-decoration: none;
    transition: color 0.25s ease;
}

.navbar a:hover {
    color: #0f268c;
}

/* Business name in navigation */
.navbar .logo,
.navbar .logo a {
    color: #0f268c;
    font-weight: 900;
}

/* Navigation quote button */
.navbar .btn,
.navbar .button {
    border-radius: 8px;
    background: #0f268c;
    color: #ffffff;
    padding: 12px 18px;
}

.navbar .btn:hover,
.navbar .button:hover {
    background: #153da8;
    color: #ffffff;
}

/* ===== MAJOSA MODERN NAVIGATION ===== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 6%;
    background: #ffffff;
    border-bottom: 1px solid #e8edf7;
    box-shadow: 0 5px 24px rgba(15, 38, 140, 0.08);
}

/* Business name */
.navbar .logo {
    flex-shrink: 0;
    color: #0f268c;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.2;
    text-decoration: none;
}

.navbar .logo span {
    display: block;
    margin-top: 4px;
    color: #ff0000;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.1px;
}



/* Navigation links */
.navbar .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.navbar .nav-links a {
    position: relative;
    color: #26334d;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.navbar .nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: #00cccc;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar .nav-links a:hover {
    color: #0f268c;
}

.navbar .nav-links a:hover::after {
    transform: scaleX(1);
}

/* Get a Quote button */
.navbar .nav-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 1px solid #0f268c;
    border-radius: 8px;
    background: #0f268c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(15, 38, 140, 0.15);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.navbar .nav-cta:hover {
    background: #153da8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 38, 140, 0.22);
}

/* Mobile menu icon */
.navbar .menu-toggle {
    display: none;
    border: 1px solid #e1e7f2;
    border-radius: 8px;
    padding: 8px 12px;
    background: #f4f7ff;
    color: #0f268c;
    font-size: 23px;
    cursor: pointer;
}

/* Responsive navigation */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 5%;
    }

    .navbar .logo {
        margin-right: auto;
        font-size: 18px;
    }

    .navbar .menu-toggle {
        display: block;
    }

    .navbar .nav-cta {
        padding: 10px 13px;
        font-size: 12px;
    }

    .navbar .nav-links {
        display: none;
        order: 4;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
    }

  .navbar .nav-links.nav-open {
    display: flex;
}

    .navbar .nav-links a {
        padding: 13px 5px;
        border-bottom: 1px solid #edf0f7;
    }

    .navbar .nav-links a::after {
        display: none;
    }
}

@media (max-width: 420px) {
    .navbar {
        gap: 10px;
    }

    .navbar .logo {
        font-size: 15px;
    }

    .navbar .logo span {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .navbar .nav-cta {
        padding: 9px 10px;
        font-size: 11px;
    }
}

/* CONTACT DETAILS LINKS */
.contact-information a {
    color: #0f268c;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-information a:hover {
    color: #ff0000;
    text-decoration: underline;
}


/* ===== MAJOSA CLIENT ENQUIRY FORM ===== */
.enquiry-form {
    padding: 30px;
    background: #ffffff;
    color: #202a3b;
    border-radius: 18px;
    border-top: 5px solid #00ffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.enquiry-form h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #0f268c;
    font-size: 24px;
}

.enquiry-form p {
    margin-bottom: 22px;
    color: #65718a;
    font-size: 14px;
}

.enquiry-form label {
    display: block;
    margin: 16px 0 7px;
    color: #0f268c;
    font-size: 13px;
    font-weight: 700;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dce3f0;
    border-radius: 8px;
    background: #f8faff;
    color: #202a3b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
    border-color: #0f268c;
    box-shadow: 0 0 0 3px rgba(15, 38, 140, 0.10);
}

.enquiry-form textarea {
    resize: vertical;
}

.enquiry-form button {
    width: 100%;
    margin-top: 22px;
    padding: 14px 18px;
    border: 1px solid #ffff00;
    border-radius: 8px;
    background: #ffff00;
    color: #0f268c;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.enquiry-form button:hover {
    background: #e6e600;
    border-color: #e6e600;
}

/* ENQUIRY FORM - MOBILE ADJUSTMENT */

@media (max-width: 600px) {
    .enquiry-form input,
    .enquiry-form select,
    .enquiry-form textarea {
        font-size: 16px;
        padding: 13px 12px;
    }

    .enquiry-form button {
        padding: 15px 18px;
    }
}

/* ===== MAJOSA SUCCESS MESSAGE ===== */

#formSuccessMessage {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid #b8f2e0;
    border-left: 5px solid #00cccc;
    border-radius: 14px;
    background: #f0fffa;
    color: #202a3b;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 8px 24px rgba(15, 38, 140, 0.08);
    animation: successAppear 0.4s ease-out;
}

/* The tick created by JavaScript */
#formSuccessMessage .success-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 3px solid #16a34a;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

/* Confirmation heading and message */
#formSuccessMessage .success-content {
    flex: 1;
    min-width: 0;
}

#formSuccessMessage .success-content strong {
    display: block;
    margin-bottom: 4px;
    color: #0f268c;
    font-size: 17px;
    line-height: 1.5;
}

#formSuccessMessage .success-content span {
    display: block;
    color: #202a3b;
}

/* Entrance animation */
@keyframes successAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    #formSuccessMessage {
        gap: 12px;
        padding: 16px;
        font-size: 13px;
    }

    #formSuccessMessage .success-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    #formSuccessMessage .success-content strong {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #formSuccessMessage {
        animation: none;
    }
}

/* ===== MAJOSA CONTACT FORM REFINEMENTS ===== */

.enquiry-form {
    border: 1px solid #dce4f2;
    border-top: 5px solid #ffff00;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(15, 38, 140, 0.10);
}

.enquiry-form input:hover,
.enquiry-form select:hover,
.enquiry-form textarea:hover {
    border-color: #aab9dc;
}

.enquiry-form button {
    transition: background 0.25s ease,
                transform 0.25s ease,
                box-shadow 0.25s ease;
}

.enquiry-form button:hover {
    background: #ffff00;
    border-color: #0f268c;
    box-shadow: 0 6px 16px rgba(15, 38, 140, 0.15);
    transform: translateY(-2px);
}

.enquiry-form button:focus-visible {
    outline: 3px solid #0f268c;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .enquiry-form {
        padding: 22px 18px;
        border-radius: 14px;
    }
}

/* ===== MAJOSA CONTACT INFORMATION REFINEMENT ===== */

.contact-information {
    border: 1px solid #dce4f2;
    border-top: 5px solid #ffff00;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 38, 140, 0.08);
}

.contact-information h3 {
    color: #0f268c;
    margin-top: 0;
    margin-bottom: 24px;
}

.contact-information .contact-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5eaf4;
}

.contact-information .contact-item:last-child {
    border-bottom: none;
}

.contact-information .contact-label {
    display: block;
    margin-bottom: 8px;
    color: #0f268c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-information .contact-item a {
    display: block;
    margin-bottom: 7px;
    color: #0f268c;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-information .contact-item a:hover {
    text-decoration: underline;
}

.contact-information .contact-item p {
    line-height: 1.8;
}

@media (max-width: 600px) {
    .contact-information {
        padding: 22px 18px;
        border-radius: 14px;
    }
}
/* ===== MOBILE NETWORK BRAND COLOURS ===== */

.contact-information .network-safaricom {
    color: #16a34a;
    font-weight: 700;
}

.contact-information .network-airtel {
    color: #dc2626;
    font-weight: 700;
}

.contact-information .network-telkom {
    color: #06b6d4;
    font-weight: 700;
}


/* ===== MAJOSA EMAIL LINK ===== */

.contact-information .email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-information .email-link img {
    width: 24px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-information .email-link span {
    overflow-wrap: anywhere;
}


/* ===== MAJOSA WHATSAPP BUTTON ===== */

.contact-intro .whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.contact-intro .whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 38, 140, 0.18);
}

.contact-intro .whatsapp-button:focus-visible {
    outline: 3px solid #0f268c;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contact-intro .whatsapp-button {
        transition: none;
    }

    .contact-intro .whatsapp-button:hover {
        transform: none;
    }
}


/* ===== FORCE WHATSAPP BUTTON STYLING ===== */
.contact-intro a.whatsapp-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;

    width: fit-content;
    max-width: 100%;
    margin: 20px auto;
    text-decoration: none;
    box-sizing: border-box;
}

.contact-intro a.whatsapp-button:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    color: #ffffff !important;
}

.contact-intro a.whatsapp-button svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.contact-intro a.whatsapp-button span {
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .contact-intro a.whatsapp-button {
        margin-left: 0;
        margin-right: 0;
    }
}


/* ===== WHATSAPP BUTTON FINAL COLOUR FIX ===== */
.contact-intro a.button.whatsapp-button,
.contact-intro a.button.whatsapp-button:link,
.contact-intro a.button.whatsapp-button:visited {
    background: #25D366 !important;
    background-color: #25D366 !important;
    border: 2px solid #25D366 !important;
    color: #ffffff !important;
}

.contact-intro a.button.whatsapp-button:hover,
.contact-intro a.button.whatsapp-button:focus {
    background: #128C7E !important;
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    color: #ffffff !important;
}

.contact-intro a.button.whatsapp-button svg,
.contact-intro a.button.whatsapp-button span {
    color: #ffffff !important;
}



/* ===== CONTACT SECTION WHATSAPP BUTTON ===== */

.contact-intro .whatsapp-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    max-width: 100%;
    margin-top: 20px;
    padding: 14px 22px;

    background-color: #25D366;
    border: 2px solid #25D366;
    border-radius: 8px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;

    box-sizing: border-box;
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.contact-intro .whatsapp-contact-button:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-intro .whatsapp-contact-button:focus-visible {
    outline: 3px solid #ffff00;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .contact-intro .whatsapp-contact-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-intro .whatsapp-contact-button {
        transition: none;
    }

    .contact-intro .whatsapp-contact-button:hover {
        transform: none;
    }
}


/* PROFILE PHOTO IN NAVIGATION */
.nav-profile {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 60%;
    overflow: hidden;
    border: 2.5px solid var(--turquoise);
}

.nav-profile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 60%;
}

/* SERVICE CARD IMAGES */
.service-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: transform 0.35s ease;
}

/* ==============================
   FEATURED PROJECTS SECTION
============================== */

.projects-section {
    padding: 90px 0;
    background: #f7f9fc;
}

.projects-section .section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.projects-section .section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.projects-section .section-heading h2 {
    margin: 0 0 18px;
    color: var(--primary-blue);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
}

.projects-section .section-heading p {
    margin: 0;
    color: #526078;
    font-size: 17px;
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(15, 38, 140, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: var(--turquoise);
    box-shadow: 0 16px 35px rgba(15, 38, 140, 0.16);
}

.project-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    background: var(--primary-blue);
    color: #ffff00;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 2px;
    transition: background 0.3s ease;
}

.project-card:hover .project-placeholder {
    background: #183b78;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    margin: 0 0 12px;
    color: var(--primary-blue);
    font-size: 21px;
    line-height: 1.4;
}

.project-content p {
    margin: 0 0 20px;
    color: #526078;
    font-size: 15px;
    line-height: 1.8;
}

.project-category {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 20px;
    background: #fffbd6;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 800;
}

/* Smaller screens */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .projects-section {
        padding: 60px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .projects-section .section-heading {
        margin-bottom: 30px;
    }

    .project-placeholder {
        min-height: 170px;
    }

    .project-content {
        padding: 22px;
    }
}

/* ===== MAJOSA NAVIGATION FONT REFINEMENT ===== */

.navbar .nav-links a {
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .navbar .nav-links a {
        font-size: 15px;
    }
}

/* ===== HERO SLOGAN LINE CONTROL ===== */

.hero .hero-heading .hero-line {
    display: block;
    white-space: nowrap;
}

.hero .hero-heading .slogan-one {
    color: #ffffff;
}

.hero .hero-heading .slogan-two {
    color: #00ffff;
}

.hero .hero-heading .slogan-three {
    color: #ffff00;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .hero .hero-heading {
        font-size: clamp(1.35rem, 5.5vw, 2.2rem);
        letter-spacing: -0.5px;
        line-height: 1.3;
    }
}
/* ===== MAJOSA DIGITAL SERVICE CARD REFINEMENT ===== */

.service-card {
    height: 100%;
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(15, 38, 140, 0.14);
    border-color: #00ffff;
}

/* =========================================
   MAJOSA DIGITAL — PRICING & QUOTE FORM
========================================= */

.pricing-section {
    padding: 80px 5%;
    background: #f7f9fc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 30px 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 38, 140, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 14px 32px rgba(15, 38, 140, 0.14);
}

.pricing-card h3 {
    margin: 0 0 15px;
    color: var(--primary-blue);
    font-size: 21px;
    line-height: 1.4;
}

.pricing-price {
    margin: 0 0 18px;
    color: var(--primary-blue);
    font-size: 25px;
    font-weight: 900;
    line-height: 1.4;
}

.pricing-card > p:not(.pricing-price) {
    flex-grow: 1;
    margin: 0 0 24px;
    color: #526078;
    font-size: 15px;
    line-height: 1.8;
}

.pricing-card .button {
    display: inline-block;
    align-self: flex-start;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.pricing-note {
    margin: 30px auto;
    max-width: 850px;
    color: #526078;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

/* Quotation form */

.quote-form-section {
    max-width: 900px;
    margin: 70px auto 0;
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 38, 140, 0.08);
    scroll-margin-top: 100px;
}

.quote-form-section .section-heading {
    margin-bottom: 30px;
}

#quoteForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#quoteForm > label {
    margin-top: 8px;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 800;
}

#quoteForm input[type="text"],
#quoteForm input[type="email"],
#quoteForm input[type="tel"],
#quoteForm select,
#quoteForm textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #18304f;
    font: inherit;
    font-size: 15px;
}

#quoteForm textarea {
    resize: vertical;
    min-height: 130px;
}

#quoteForm input:focus,
#quoteForm select:focus,
#quoteForm textarea:focus {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
    border-color: var(--primary-blue);
}

.quote-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
    margin: 12px 0;
    padding: 22px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

.quote-services legend {
    padding: 0 8px;
    color: var(--primary-blue);
    font-weight: 800;
}

.quote-services label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.quote-services input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 4px;
    accent-color: var(--primary-blue);
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.quote-actions button {
    flex: 1 1 220px;
    min-height: 48px;
    padding: 13px 18px;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.quote-actions button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

#quoteWhatsApp {
    background: #168b45;
    color: #ffffff;
}

#quoteEmail {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Tablet layout */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quote-form-section {
        padding: 28px;
    }
}

/* Mobile layout */

@media (max-width: 600px) {
    .pricing-section {
        padding: 60px 5%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 25px 22px;
    }

    .pricing-price {
        font-size: 23px;
    }

    .quote-form-section {
        margin-top: 45px;
        padding: 22px 16px;
    }

    .quote-services {
        grid-template-columns: 1fr;
        padding: 18px 14px;
    }

    .quote-actions {
        flex-direction: column;
    }

    .quote-actions button {
        width: 100%;
        flex-basis: auto;
    }
}
