/*Theme Name: MD Legacy Global
Theme URI: https://mdlegacyglobal.com
Author: MD Legacy Global
Description: Custom website for MD Legacy Global.
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    color: #10264b;
    background: #ffffff;
    line-height: 1.7;
}

a {
    text-decoration: none;
}

.container {
    width: min(1150px, 90%);
    margin: auto;
}

.narrow {
    max-width: 900px;
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 5%;

    background: rgba(255,255,255,0.97);

    border-bottom: 1px solid #e8e0cc;

    z-index: 1000;
}

.brand img {
    height: 62px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    color: #10264b;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

nav a:hover {
    color: #bd8412;
}

.menu-toggle {
    display: none;

    border: none;
    background: none;

    color: #10264b;

    font-size: 28px;

    cursor: pointer;
}


/* HERO */

.hero {
    min-height: 100vh;

    padding: 150px 5% 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(4,20,48,0.93),
            rgba(4,20,48,0.97)
        );
}

.hero-content {
    max-width: 1000px;
}

.hero-logo img {
    width: 140px;
    max-width: 70%;

    margin-bottom: 25px;

    border-radius: 50%;
}

.eyebrow {
    font-family: Arial, sans-serif;

    color: #d3a027;

    font-size: 12px;

    letter-spacing: 4px;

    font-weight: bold;

    margin-bottom: 20px;
}

.dark {
    color: #a6780c;
}

.hero h1 {
    color: white;

    font-size: clamp(45px, 7vw, 78px);

    line-height: 1.08;

    margin-bottom: 25px;
}

.hero h1 span {
    color: #d3a027;
}

.hero-text {
    max-width: 750px;

    margin: auto;

    color: #d9dfeb;

    font-family: Arial, sans-serif;

    font-size: 18px;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 40px;
}


/* BUTTONS */

.btn {
    display: inline-block;

    padding: 14px 30px;

    border-radius: 3px;

    font-family: Arial, sans-serif;

    font-weight: bold;

    transition: 0.3s;
}

.gold-btn {
    background: #c99620;
    color: white;
}

.gold-btn:hover {
    background: #e0b13e;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.outline-btn {
    color: white;

    border: 1px solid #d3a027;
}

.outline-btn:hover {
    background: #d3a027;
    color: #10264b;
}


/* INTRO */

.intro {
    padding: 120px 0;

    text-align: center;
}

.intro h2,
.about h2,
.insights h2 {
    font-size: clamp(36px, 5vw, 56px);

    line-height: 1.15;

    margin-bottom: 25px;
}

.intro h2 span,
.insights h2 span {
    color: #b98316;
}

.large-text {
    color: #596579;

    font-size: 20px;

    line-height: 1.9;
}


/* ABOUT */

.about {
    padding: 120px 0;

    background: #f8f7f3;
}

.about-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    display: flex;

    justify-content: center;

    padding: 30px;
}

.about-image img {
    width: 100%;
    max-width: 420px;

    box-shadow:
        0 20px 50px rgba(10,30,60,0.15);

    border-radius: 4px;
}

.about-content p:not(.eyebrow) {
    color: #596579;

    font-family: Arial, sans-serif;

    margin-bottom: 20px;
}


/* SERVICES */

.services {
    padding: 120px 0;

    background: #071d3d;

    color: white;
}

.services .section-heading {
    max-width: 700px;

    margin-bottom: 60px;
}

.services h2 {
    font-size: clamp(38px,5vw,58px);

    line-height: 1.1;
}

.services h2 span {
    color: #d3a027;
}

.cards {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.card {
    padding: 35px 28px;

    background: rgba(255,255,255,0.045);

    border: 1px solid rgba(211,160,39,0.25);

    transition: 0.4s;
}

.card:hover {
    transform: translateY(-8px);

    background: rgba(255,255,255,0.08);

    border-color: #d3a027;
}

.number {
    display: block;

    color: #d3a027;

    font-family: Arial, sans-serif;

    font-weight: bold;

    margin-bottom: 35px;
}

.card h3 {
    font-size: 22px;

    margin-bottom: 15px;
}

.card p {
    color: #bdc7d6;

    font-family: Arial, sans-serif;

    font-size: 14px;

    margin-bottom: 25px;
}

.card a {
    color: #d3a027;

    font-family: Arial, sans-serif;

    font-weight: bold;
}


/* INSIGHTS */

.insights {
    padding: 120px 0;
}

.insights-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.insights-grid > div > p:not(.eyebrow) {
    color: #596579;

    font-family: Arial, sans-serif;

    font-size: 17px;
}

.text-button {
    display: inline-block;

    margin-top: 25px;

    color: #a8780d;

    font-family: Arial, sans-serif;

    font-weight: bold;
}

.insight-list {
    border-top: 2px solid #d3a027;
}

.insight-list div {
    padding: 25px 5px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid #ddd;
}

.insight-list strong {
    font-size: 21px;
}

.insight-list span {
    color: #697386;

    font-family: Arial, sans-serif;

    text-align: right;
}


/* CTA */

.cta {
    padding: 120px 0;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #071d3d,
            #0c315a
        );

    color: white;
}

.cta h2 {
    font-size: clamp(40px,6vw,65px);

    line-height: 1.1;

    margin-bottom: 25px;
}

.cta p:not(.eyebrow) {
    max-width: 650px;

    margin: 0 auto 35px;

    color: #c9d2df;

    font-family: Arial, sans-serif;
}


/* CONTACT */

.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.contact-grid > div > p:not(.eyebrow) {
    color: #596579;

    font-family: Arial, sans-serif;

    font-size: 17px;

    margin-bottom: 25px;
}

.email {
    color: #a6780c;

    font-family: Arial, sans-serif;

    font-weight: bold;
}

form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

form label {
    margin-top: 10px;

    font-family: Arial, sans-serif;

    font-weight: bold;

    font-size: 14px;
}

input,
textarea {
    width: 100%;

    padding: 14px;

    border: 1px solid #d5d8de;

    border-radius: 3px;

    font-family: Arial, sans-serif;

    outline: none;
}

input:focus,
textarea:focus {
    border-color: #c99620;
}

form button {
    border: none;

    margin-top: 15px;

    cursor: pointer;
}


/* FOOTER */

footer {
    padding: 60px 5%;

    background: #04152f;

    text-align: center;

    color: white;

    font-family: Arial, sans-serif;
}

.footer-logo {
    width: 10px;

    margin-bottom: 20px;
}

footer p {
    color: #b9c3d1;

    margin: 10px 0;
}

.footer-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin: 25px 0;
}

.footer-links a {
    color: #d3a027;
}

footer > a {
    color: #d3a027;
}

.copyright {
    margin-top: 35px !important;

    font-size: 12px;
}


/* MOBILE */

@media (max-width: 950px) {

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .insights-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

}


@media (max-width: 700px) {

    .navbar {
        height: 72px;
    }

    .brand img {
        height: 52px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 25px;

        flex-direction: column;

        gap: 20px;

        background: white;

        border-bottom: 1px solid #ddd;
    }

    nav.active {
        display: flex;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-logo img {
        width: 155px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .intro,
    .about,
    .services,
    .insights,
    .contact,
    .cta {
        padding: 80px 0;
    }

    .insight-list div {
        flex-direction: column;
    }

    .insight-list span {
        text-align: left;
    }

}
/* Footer Logo */
.footer-logo {
    width: 80px !important;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}
.hero-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}