/* =========================================
   MICHAELVENTURE
   Premium Navy, Royal Blue & White Design
   Responsive Layout + Global Logo Watermark
========================================= */

:root {
    --green: #2563eb;
    --dark-green: #0f172a;
    --primary-green: #1d4ed8;
    --light-green: #eff6ff;
    --accent-green: #3b82f6;

    --white: #ffffff;
    --background: #f8fafc;
    --text: #172554;
    --muted: #64748b;
    --border: #dbe4f0;

    --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    --radius: 16px;
}

/* =========================================
   GENERAL SETTINGS
========================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: var(--background);
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
}

a:hover {
    color: var(--dark-green);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* =========================================
   MICHAELVENTURE GLOBAL WATERMARK
========================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("./logo.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: min(85vw, 600px);
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   PAGE CONTENT
========================================= */

body > header,
body > main,
body > footer {
    position: relative;
    z-index: 1;
}

/* =========================================
   HEADER
========================================= */

header,
.header,
.site-header {
    width: 100%;
    position: relative;
    z-index: 5;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 16px rgba(15, 23, 42, 0.04);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 5%;
}

.logo-area,
.brand,
.brand-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area span {
    font-size: 23px;
    font-weight: 800;
    color: var(--dark-green);
}

.logo-area img,
.brand img,
.brand-area img,
.logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 58px;
    object-fit: contain;
}

.logo-area h1,
.brand h1,
.brand-area h1 {
    margin: 0;
    color: var(--dark-green);
    font-size: 1.25rem;
}

.mv-logo {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.mv-logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.menu-toggle {
    display: none;
    padding: 8px 12px;
    color: var(--dark-green);
    background: var(--light-green);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 24px;
}

/* =========================================
   NAVIGATION
========================================= */

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.navigation a {
    color: var(--dark-green);
    font-weight: 600;
    font-size: 15px;
}

.navigation a:hover {
    color: var(--accent-green);
}

.navigation .login-btn {
    display: inline-block;
    padding: 10px 20px;
    color: var(--white);
    background: var(--green);
    border-radius: 8px;
}

.navigation .login-btn:hover {
    color: var(--white);
    background: var(--primary-green);
}

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

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 75px 7%;
    background: transparent;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.small-title {
    margin: 0 0 15px;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 0 0 22px;
    color: var(--dark-green);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.2;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-text {
    max-width: 700px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 14px 24px;
    border: 2px solid var(--green);
    border-radius: 9px;
    font-weight: 700;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.primary-btn {
    color: var(--white);
    background: var(--green);
}

.primary-btn:hover {
    color: var(--white);
    background: var(--primary-green);
}

.secondary-btn {
    color: var(--green);
    background: var(--white);
}

.secondary-btn:hover {
    color: var(--white);
    background: var(--green);
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading > p,
.section-label {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 0 0 12px;
    color: var(--dark-green);
    font-size: 36px;
    line-height: 1.3;
}

.section-heading span {
    display: block;
    color: var(--muted);
    font-size: 16px;
}

/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: 75px 6%;
    background: transparent;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 28px 25px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.service-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--green);
    background: var(--light-green);
    border-radius: 12px;
    font-weight: 800;
}

.service-card h3 {
    margin: 0 0 12px;
    color: var(--dark-green);
    font-size: 21px;
    line-height: 1.4;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 50px;
    padding: 80px 7%;
    background: transparent;
}

.about-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.about-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.about-content h2 {
    margin: 0 0 20px;
    color: var(--dark-green);
    font-size: 38px;
    line-height: 1.3;
}

.about-content > p:not(.section-label) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.about-points {
    display: grid;
    gap: 15px;
    margin-top: 25px;
}

.about-points > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.94);
    border-left: 4px solid var(--green);
    border-radius: 8px;
}

.about-points strong {
    color: var(--dark-green);
    font-size: 16px;
}

.about-points span {
    color: var(--muted);
    font-size: 14px;
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    padding: 80px 6%;
    background: transparent;
}

.contact-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-item {
    padding: 28px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    margin: 0 0 12px;
    color: var(--dark-green);
    font-size: 21px;
}

.contact-item p {
    margin: 0 0 18px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.contact-item a {
    display: inline-block;
    padding: 10px 18px;
    color: var(--white);
    background: var(--green);
    border-radius: 8px;
    font-weight: 700;
}

.contact-item a:hover {
    color: var(--white);
    background: var(--primary-green);
}

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

.footer,
footer.footer {
    padding: 45px 20px 25px;
    text-align: center;
    color: var(--white);
    background: var(--dark-green);
}

.footer img {
    width: 85px;
    height: 85px;
    margin: 0 auto 15px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--white);
}

.footer h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 25px;
}

.footer > p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin: 25px 0;
}

.footer-links a {
    color: var(--white);
}

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

.footer .copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
}

/* =========================================
   SHARED BUTTONS
========================================= */

.btn,
.button {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 9px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.btn-primary,
.button-primary {
    color: var(--white);
    background: var(--green);
}

.btn-primary:hover,
.button-primary:hover {
    color: var(--white);
    background: var(--primary-green);
}

/* =========================================
   SHARED FORMS
========================================= */

input,
select,
textarea {
    max-width: 100%;
    border-color: var(--border);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.22);
    border-color: var(--green);
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 900px) {
    .service-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-section {
        gap: 30px;
        padding: 60px 5%;
    }

    .contact-box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body::before {
        background-size: 90vw auto;
        opacity: 0.15;
    }

    .header {
        padding: 12px 16px;
        gap: 10px;
    }

    .logo-area {
        gap: 8px;
    }

    .logo-area span {
        font-size: 19px;
    }

    .mv-logo {
        width: 46px;
        height: 46px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 8px 0;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid var(--border);
    }

    .navigation .login-btn {
        margin-top: 8px;
        text-align: center;
        border-bottom: none;
    }

    .hero {
        min-height: auto;
        padding: 55px 22px;
    }

    .small-title {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero h1 {
        font-size: 35px;
        line-height: 1.25;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .services-section,
    .contact-section {
        padding: 55px 18px;
    }

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

    .section-heading h2 {
        font-size: 30px;
    }

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

    .service-card {
        padding: 24px 20px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 55px 20px;
    }

    .about-content h2 {
        font-size: 31px;
    }

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

    .contact-item {
        padding: 25px 18px;
    }

    .footer {
        padding: 35px 18px 22px;
    }

    .footer-links {
        gap: 12px 20px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
/* MICHAELVENTURE FOUNDER PHOTO */

.about-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.founder-photo {
    display: block;
    width: 220px;
    height: 260px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 20px;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.founder-caption {
    margin-top: 12px;
    color: #2563eb;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 600px) {
    .founder-photo {
        width: 190px;
        height: 230px;
    }
}