/* =====================================
   MID HOLDINGS & INVESTMENTS
   MAIN STYLESHEET V3.1
   CLEAN / CONSOLIDATED VERSION
===================================== */

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

html{
    scroll-behavior:smooth;
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:'Inter',sans-serif;
    background:#f7f8fa;
    color:#333;
    line-height:1.7;
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

a{
    text-decoration:none;
}

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

h1,
h2,
h3,
h4{
    font-family:'Playfair Display',serif;
    color:#0d2b52;
}

section{
    padding:80px 0;
}


/* =====================================
   NAVIGATION
   SINGLE CONSOLIDATED NAVBAR
===================================== */

.navbar{
    width:100%;
    min-height:88px;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:12px 35px;
    position:sticky;
    top:0;
    z-index:9999;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
}

.navbar .logo{
    flex:0 0 auto;
    width:auto;
    margin:0;
}

.navbar .logo img{
    display:block;
    width:auto;
    height:62px;
    max-width:205px;
}

.navbar .nav-links{
    display:flex;
    flex:1 1 auto;
    min-width:0;
    width:auto;
    align-items:center;
    justify-content:space-between;
    flex-direction:row;
    flex-wrap:nowrap;
    gap:11px;
    list-style:none;
    margin:0;
    padding:0;
    white-space:nowrap;
}

.navbar .nav-links li{
    flex:0 0 auto;
    width:auto;
    margin:0;
    padding:0;
    list-style:none;
}

.navbar .nav-links a{
    display:block;
    position:relative;
    color:#14365d;
    font-size:clamp(10px,.82vw,14px);
    font-weight:600;
    line-height:1.2;
    text-decoration:none;
    white-space:nowrap;
    padding:8px 0;
    margin:0;
    transition:color .25s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active{
    color:#f58220;
}

.navbar .nav-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:1px;
    width:0;
    height:2px;
    background:#f58220;
    border-radius:2px;
    transition:width .25s ease;
}

.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after{
    width:100%;
}


/* =====================================
   GLOBAL BUTTONS
===================================== */

.btn-primary,
.btn-secondary{
    display:inline-block;
    padding:17px 40px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;
}

.btn-primary{
    background:#f58220;
    color:#ffffff;
}

.btn-primary:hover{
    background:#db6c0c;
    color:#ffffff;
    transform:translateY(-3px);
}

.btn-secondary{
    border:2px solid #ffffff;
    color:#ffffff;
}

.btn-secondary:hover{
    background:#ffffff;
    color:#123b1d;
}


/* =====================================
   HERO SECTION
===================================== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:url("../images/index-hero.jpg") center center/cover no-repeat;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(8,18,14,.62),
        rgba(8,18,14,.55)
    );
}

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

.hero-content{
    max-width:760px;
}

.hero-tagline{
    display:inline-block;
    font-size:15px;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#f7a541;
    margin-bottom:25px;
}

.hero-tag{
    display:inline-block;
    color:#F39C12;
    letter-spacing:4px;
    font-weight:600;
    text-transform:uppercase;
    font-size:15px;
}

.hero h1{
    font-family:'Playfair Display',serif;
    font-size:72px;
    line-height:1.05;
    color:#ffffff;
    margin:30px 0;
}

.hero p{
    font-size:24px;
    line-height:1.8;
    color:#f2f2f2;
    max-width:700px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:45px;
    flex-wrap:wrap;
}


/* =====================================
   HOME - WHO WE ARE
===================================== */

.about-home{
    max-width:1300px;
    margin:40px auto;
    padding:40px 60px;
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:70px;
    align-items:center;
}

.section-tag{
    color:#f58220;
    font-size:14px;
    letter-spacing:2px;
    font-weight:700;
}

.about-home h2{
    font-family:'Playfair Display',serif;
    font-size:48px;
    color:#123b1d;
    margin:18px 0 30px;
}

.about-home p{
    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:25px;
}

.about-right{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.about-card{
    background:#ffffff;
    padding:35px;
    border-radius:16px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    border-left:5px solid #f58220;
}

.about-card h3{
    color:#123b1d;
    margin-bottom:15px;
}


/* =====================================
   BUSINESS DIVISIONS
===================================== */

.business-divisions{
    padding:60px 40px 90px;
    background:#f7f9fc;
}

.section-intro{
    max-width:850px;
    margin:20px auto 60px;
    text-align:center;
    font-size:18px;
    color:#666;
    line-height:1.8;
}

.business-divisions h2{
    text-align:center;
    font-size:52px;
    color:#123b1d;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;
}

.division-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.division-card{
    background:#ffffff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.35s;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.division-card:hover{
    transform:translateY(-8px);
}

.division-card h3{
    color:#123b1d;
    margin-bottom:18px;
}

.division-card p{
    color:#666;
    line-height:1.8;
}


/* =====================================
   WHY CHOOSE MID
===================================== */

.why-mid{
    padding:90px 40px;
    background:#ffffff;
}

.why-mid h2{
    text-align:center;
    font-family:'Playfair Display',serif;
    font-size:52px;
    color:#123b1d;
    margin-bottom:20px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.why-card{
    background:#f7f9fc;
    padding:35px;
    border-radius:15px;
    transition:.35s;
    border-top:4px solid #f58220;
}

.why-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.why-card h3{
    color:#123b1d;
    margin-bottom:18px;
    font-size:28px;
}

.why-card p{
    color:#666;
    line-height:1.8;
}


/* =====================================
   BUSINESS PHILOSOPHY
===================================== */

.philosophy{
    background:#123b1d;
    color:#ffffff;
    padding:110px 40px;
}

.philosophy-content{
    max-width:900px;
    margin:auto;
    text-align:center;
}

.philosophy .section-tag{
    color:#f58220;
}

.philosophy h2{
    color:#ffffff;
    font-size:54px;
    margin:25px 0 35px;
}

.philosophy p{
    font-size:20px;
    line-height:2;
    color:#ececec;
    margin-bottom:25px;
}

.philosophy blockquote{
    margin-top:45px;
    font-size:28px;
    font-family:'Playfair Display',serif;
    color:#f58220;
    font-style:italic;
}


/* =====================================
   OUR BRANDS
===================================== */

.our-brands{
    padding:90px 40px;
    background:#f7f9fc;
}

.our-brands h2{
    text-align:center;
    font-size:52px;
    color:#123b1d;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;
}

.brands-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.brand-card{
    background:#ffffff;
    border-radius:24px;
    padding:45px 35px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    min-height:380px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.brand-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,.10);
}

.brand-card h3{
    color:#123b1d;
    font-size:28px;
    margin-bottom:15px;
}

.brand-card p{
    color:#666;
    font-size:18px;
    line-height:1.7;
    margin:20px 0 35px;
    min-height:70px;
}

.brand-card .btn,
.brand-card .brand-btn{
    margin-top:auto;
}

.brand-status{
    display:inline-block;
    padding:8px 18px;
    background:#123b1d;
    color:#ffffff;
    border-radius:25px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.5px;
}


/* =====================================
   FREE CONSULTATION CTA
===================================== */

.consultation-cta{
    padding:120px 40px;
    background:linear-gradient(135deg,#123b1d,#1b5b2a);
    color:#ffffff;
    text-align:center;
}

.cta-content{
    max-width:900px;
    margin:auto;
}

.consultation-cta h2{
    color:#ffffff;
    font-size:52px;
    margin:20px 0 35px;
    font-family:'Playfair Display',serif;
}

.consultation-cta p{
    color:#ececec;
    font-size:20px;
    line-height:1.9;
    margin-bottom:45px;
}

.cta-features{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    margin-bottom:50px;
}

.cta-item{
    background:rgba(255,255,255,.08);
    padding:15px 25px;
    border-radius:40px;
    font-size:16px;
    color:#ffffff;
}

.cta-btn{
    display:inline-block;
    padding:18px 45px;
    background:#f58220;
    color:#ffffff;
    border-radius:40px;
    font-weight:700;
    transition:.35s;
}

.cta-btn:hover{
    background:#db6c0c;
    transform:translateY(-3px);
}


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

.footer{
    background:#0d223d;
    color:#d9d9d9;
    padding:80px 40px 25px;
}

.footer-container{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
}

.footer-logo{
    width:180px;
    margin-bottom:25px;
}

.footer-column h3{
    color:#ffffff;
    margin-bottom:20px;
    font-size:24px;
}

.footer-column p{
    color:#cfcfcf;
    line-height:1.8;
    margin-bottom:12px;
}

.footer-column ul{
    list-style:none;
}

.footer-column ul li{
    margin-bottom:14px;
}

.footer-column ul li a{
    color:#d6d6d6;
    transition:.3s;
}

.footer-column ul li a:hover{
    color:#f58220;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
    margin-top:60px;
    padding-top:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.footer-bottom p{
    color:#cfcfcf;
}

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

.footer-links a{
    color:#d6d6d6;
    transition:.3s;
}

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


/* =====================================
   ABOUT HERO
===================================== */

.hero-about{
    position:relative;
    height:100vh;
    min-height:720px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}

.hero-about-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:1;
}

.hero-about-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.52);
    z-index:2;
}

.hero-about-content{
    position:relative;
    z-index:3;
    max-width:900px;
    text-align:center;
}

.hero-about .hero-subtitle{
    display:block;
    color:#f58220;
    font-size:17px;
    letter-spacing:5px;
    margin-bottom:28px;
    font-weight:600;
}

.hero-about h1{
    font-family:'Playfair Display',serif;
    font-size:72px;
    line-height:1.15;
    color:#ffffff;
    margin-bottom:35px;
}

.hero-about p{
    font-size:23px;
    line-height:1.8;
    color:#ffffff;
    max-width:820px;
    margin:0 auto 45px;
}

.hero-about .hero-buttons{
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
}


/* =====================================
   COMPANY OVERVIEW
===================================== */

.company-overview{
    padding:100px 0;
    background:#ffffff;
}

.company-overview .container{
    max-width:1100px;
}

section h2{
    font-family:'Playfair Display',serif;
    font-size:52px;
    font-weight:700;
    line-height:1.2;
    letter-spacing:-.5px;
    color:#123b1d;
    margin:20px 0 35px;
}

.company-overview p,
.our-story p{
    font-size:19px;
    color:#555;
    line-height:2;
    margin-bottom:28px;
}


/* =====================================
   OUR STORY
===================================== */

.our-story{
    background:#f7f9fc;
    padding:100px 0;
}

.our-story .container{
    max-width:1100px;
}


/* =====================================
   VISION & MISSION
===================================== */

.vision-mission{
    padding:100px 0;
    background:#ffffff;
}

.vision-mission .container{
    max-width:1200px;
}

.vision-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(450px,1fr));
    gap:40px;
}

.vision-card{
    background:#f7f9fc;
    padding:45px;
    border-radius:18px;
    border-top:6px solid #f58220;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.35s;
}

.vision-card:hover{
    transform:translateY(-8px);
}

.vision-card h3{
    color:#123b1d;
    margin-bottom:20px;
    font-size:30px;
}

.vision-card p{
    font-size:18px;
    color:#555;
    line-height:1.9;
}


/* =====================================
   CORE VALUES
===================================== */

.core-values{
    padding:100px 0;
    background:#f7f9fc;
}

.values-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.value-card{
    background:#ffffff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.35s;
    border-bottom:5px solid #f58220;
}

.value-card:hover{
    transform:translateY(-8px);
}

.value-card h3{
    color:#123b1d;
    margin-bottom:18px;
    font-size:28px;
}

.value-card p{
    color:#555;
    font-size:17px;
    line-height:1.9;
}


/* =====================================
   LEADERSHIP PHILOSOPHY
===================================== */

.leadership{
    padding:100px 0;
    background:#ffffff;
}

.leadership-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.leadership-card{
    background:#f7f9fc;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.35s;
    border-top:5px solid #123b1d;
}

.leadership-card:hover{
    transform:translateY(-8px);
}

.leadership-card h3{
    margin-bottom:18px;
    color:#123b1d;
}

.leadership-card p{
    color:#666;
    line-height:1.9;
}


/* =====================================
   INDUSTRIES WE SERVE
===================================== */

.industries{
    padding:100px 0;
    background:#f7f9fc;
}

.industries-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:60px;
}

.industry-card{
    background:#ffffff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    transition:.35s;
    border-left:5px solid #f58220;
}

.industry-card:hover{
    transform:translateY(-8px);
}

.industry-card h3{
    color:#123b1d;
    margin-bottom:18px;
}

.industry-card p{
    color:#666;
    line-height:1.9;
}


/* =====================================
   CORPORATE COMMITMENT
===================================== */

.commitment{
    background:#123b1d;
    color:#ffffff;
    padding:110px 40px;
    text-align:center;
}

.commitment .container{
    max-width:950px;
}

.commitment h2{
    color:#ffffff;
}

.commitment .section-intro{
    color:#ececec;
    font-size:20px;
    line-height:2;
    margin:35px auto 50px;
}

.commitment blockquote{
    font-family:'Playfair Display',serif;
    font-size:34px;
    color:#f58220;
    font-style:italic;
    line-height:1.6;
    max-width:850px;
    margin:auto;
}


/* =====================================
   ABOUT CTA
===================================== */

.about-cta{
    background:#ffffff;
    padding:100px 0;
    text-align:center;
}

.about-cta .container{
    max-width:900px;
}

.about-cta h2{
    margin-bottom:30px;
}

.about-cta p{
    font-size:20px;
    color:#666;
    line-height:2;
    margin-bottom:45px;
}


/* =====================================
   BUSINESSES HERO
===================================== */

.business-hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
        linear-gradient(
            rgba(8,18,14,.60),
            rgba(8,18,14,.55)
        ),
        url("../images/businesses-hero.jpg") center center/cover no-repeat;
    overflow:hidden;
    padding:0;
}

.business-hero .container{
    position:relative;
    z-index:2;
}

.business-hero .hero-content{
    max-width:760px;
}

.business-hero .hero-tagline{
    display:inline-block;
    color:#f58220;
    letter-spacing:3px;
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
    margin-bottom:25px;
}

.business-hero h1{
    font-family:'Playfair Display',serif;
    font-size:72px;
    line-height:1.1;
    color:#ffffff;
    margin-bottom:30px;
}

.business-hero p{
    font-size:22px;
    line-height:1.8;
    color:#f2f2f2;
    margin-bottom:45px;
    max-width:700px;
}

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

.businesses-hero .container{
    position:relative;
    z-index:2;
}

.businesses-hero .hero-content{
    max-width:760px;
}


/* =====================================
   BUSINESS ECOSYSTEM
===================================== */

.business-ecosystem{
    padding:100px 0;
    background:#ffffff;
}

.ecosystem-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:35px;
    margin-top:60px;
}

.eco-card{
    background:#f7f9fc;
    padding:40px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    border-top:5px solid #123b1d;
    transition:.35s;
}

.eco-card:hover{
    transform:translateY(-8px);
}

.eco-card h3{
    color:#123b1d;
    margin-bottom:20px;
}

.eco-card p{
    color:#666;
    line-height:1.9;
}


/* =====================================
   CURRENT VENTURES
===================================== */

.current-ventures{
    padding:100px 0;
    background:#f7f9fc;
}

.ventures-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:60px;
}

.venture-card{
    background:#ffffff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
    transition:.35s;
}

.venture-card:hover{
    transform:translateY(-8px);
}

.venture-card h3{
    color:#123b1d;
    margin:20px 0;
}

.venture-card p{
    color:#666;
    line-height:1.9;
}


/* =====================================
   VENTURE STATUS
===================================== */

.venture-status{
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
}

.venture-status.launching{
    background:#e7f8ea;
    color:#1b7c39;
}

.venture-status.marketing{
    background:#fff3dd;
    color:#b56a00;
}

.venture-status.development{
    background:#e8f0ff;
    color:#1f5fbf;
}

.venture-status.active{
    background:#e8f7ff;
    color:#0075a8;
}

.venture-status.future{
    background:#f3f3f3;
    color:#666;
}


/* =====================================
   CONSULTANCY HERO
   IMPORTANT:
   HTML uses .hero-consultancy
   (not .consultancy-hero)
===================================== */

.hero-consultancy{
    position:relative;
    width:100%;
    height:600px;
    min-height:600px;
    padding:0 !important;
    margin:0 !important;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.hero-consultancy .hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center;
    z-index:0;
}

.hero-consultancy .hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:rgba(0,0,0,.35);
}

.hero-consultancy .hero-inner{
    position:relative;
    z-index:2;
    height:100%;
    width:100%;
    display:flex;
    align-items:center;
}

.hero-consultancy .hero-content{
    max-width:760px;
    color:#ffffff;
}

.hero-consultancy .hero-subtitle{
    display:inline-block;
    color:#f58220;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:18px;
}

.hero-consultancy h1{
    font-family:'Playfair Display',serif;
    font-size:56px;
    line-height:1.15;
    color:#ffffff;
    margin:0 0 22px;
}

.hero-consultancy h1 span{
    color:#f58220;
}

.hero-consultancy p{
    max-width:700px;
    color:#ffffff;
    font-size:18px;
    line-height:1.7;
    margin:0 0 30px;
}

.hero-consultancy .hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    margin-top:0;
}


/* =====================================
   LEGACY CONSULTANCY HERO
   Kept so older consultancy markup
   remains compatible.
===================================== */

.consultancy-hero{
    min-height:85vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px;
    background:
        linear-gradient(
            rgba(13,43,82,.75),
            rgba(13,43,82,.75)
        ),
        url("../images/consultancy-hero.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.consultancy-hero .hero-content{
    max-width:900px;
    text-align:center;
    color:#ffffff;
}

.consultancy-hero .hero-tagline{
    display:inline-block;
    color:#f58220;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.consultancy-hero h1{
    font-family:'Playfair Display',serif;
    font-size:64px;
    line-height:1.2;
    color:#ffffff;
    margin-bottom:30px;
}

.consultancy-hero p{
    font-size:21px;
    line-height:1.9;
    color:#f2f2f2;
    max-width:760px;
    margin:0 auto 45px;
}

.consultancy-hero .hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}


/* =====================================
   CONSULTANCY PHILOSOPHY
===================================== */

.consultancy-philosophy{
    padding:120px 40px;
    background:#ffffff;
}

.consultancy-philosophy .container{
    max-width:950px;
    margin:auto;
    text-align:center;
}

.consultancy-philosophy h2{
    font-family:'Playfair Display',serif;
    font-size:56px;
    color:#0d2b52;
    line-height:1.2;
    margin:25px 0 40px;
}

.consultancy-philosophy p{
    font-size:20px;
    line-height:2;
    color:#555;
    margin-bottom:30px;
}


/* =====================================
   CONSULTANCY RESULTS
===================================== */

.consultancy-results{
    padding:120px 40px;
    background:#f8f9fb;
}

.consultancy-results .container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.consultancy-results h2{
    font-family:'Playfair Display',serif;
    font-size:54px;
    color:#0d2b52;
    margin:25px 0 70px;
    line-height:1.2;
}

.results-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.result-card{
    background:#ffffff;
    padding:45px 35px;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
}

.result-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.12);
}

.result-card h3{
    color:#0d2b52;
    font-size:28px;
    margin-bottom:20px;
}

.result-card p{
    color:#666;
    font-size:18px;
    line-height:1.8;
}


/* =====================================
   CONSULTANCY SERVICES
===================================== */

.consultancy-services{
    padding:120px 40px;
    background:#ffffff;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:70px;
}

.service-card{
    background:#f8f9fb;
    padding:45px 35px;
    border-radius:16px;
    border-left:5px solid #f58220;
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.service-card h3{
    color:#0d2b52;
    font-size:28px;
    margin-bottom:20px;
}

.service-card p{
    color:#666;
    font-size:18px;
    line-height:1.9;
}


/* =====================================
   CONSULTANCY WHY MID
===================================== */

.consultancy-why-mid{
    padding:120px 40px;
    background:#0d2b52;
    color:#ffffff;
}

.consultancy-why-mid .container{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.consultancy-why-mid h2{
    font-family:'Playfair Display',serif;
    font-size:56px;
    color:#ffffff;
    margin:25px 0 70px;
    line-height:1.2;
}

.consultancy-why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:35px;
}

.consultancy-why-card{
    background:rgba(255,255,255,.08);
    padding:40px 30px;
    border-radius:16px;
    backdrop-filter:blur(4px);
    transition:.35s;
}

.consultancy-why-card:hover{
    background:#f58220;
    transform:translateY(-10px);
}

.consultancy-why-card h3{
    font-size:28px;
    margin-bottom:20px;
    color:#ffffff;
}

.consultancy-why-card p{
    font-size:18px;
    line-height:1.8;
    color:#f0f0f0;
}


/* =====================================
   WORKING PROCESS
===================================== */

.working-process{
    padding:120px 40px;
    background:#f8f9fb;
}

.working-process .container{
    max-width:1300px;
    margin:auto;
    text-align:center;
}

.working-process h2{
    font-family:'Playfair Display',serif;
    font-size:56px;
    color:#0d2b52;
    margin:25px 0 70px;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.process-step{
    background:#ffffff;
    padding:45px 30px;
    border-radius:16px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s;
}

.process-step:hover{
    transform:translateY(-10px);
}

.step-number{
    width:70px;
    height:70px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#f58220;
    color:#ffffff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    font-weight:bold;
}

.process-step h3{
    color:#0d2b52;
    font-size:28px;
    margin-bottom:20px;
}

.process-step p{
    color:#666;
    font-size:18px;
    line-height:1.8;
}


/* =====================================
   EXECUTIVE CONSULTANCY CTA
===================================== */

.consultancy-cta{
    padding:140px 40px;
    background:
        linear-gradient(
            135deg,
            #0d2b52,
            #143d73
        );
    color:#ffffff;
    text-align:center;
}

.consultancy-cta .container{
    max-width:900px;
    margin:auto;
}

.consultancy-cta h2{
    font-family:'Playfair Display',serif;
    font-size:58px;
    color:#ffffff;
    line-height:1.2;
    margin:25px 0 35px;
}

.consultancy-cta p{
    font-size:20px;
    line-height:2;
    color:#f1f1f1;
    margin-bottom:50px;
}


/* =====================================
   CLOSING MESSAGE
===================================== */

.closing-message{
    background:#ffffff;
    padding:70px 40px;
    text-align:center;
    border-top:1px solid #e8e8e8;
}

.closing-message .container{
    max-width:900px;
    margin:auto;
}

.closing-message h3{
    font-family:'Playfair Display',serif;
    font-size:42px;
    color:#0d2b52;
    margin-bottom:25px;
}

.closing-message p{
    font-size:19px;
    color:#666;
    line-height:1.9;
}


/* =====================================
   GENERAL RESPONSIVE
===================================== */

@media(max-width:1200px) and (min-width:769px){

    .navbar{
        padding-left:20px;
        padding-right:20px;
        gap:12px;
    }

    .navbar .logo img{
        height:56px;
        max-width:180px;
    }

    .navbar .nav-links{
        gap:8px;
    }
}


/* =====================================
   TABLET
===================================== */

@media(max-width:900px){

    .about-home{
        grid-template-columns:1fr;
        padding:40px 30px;
        gap:40px;
    }

    .vision-grid{
        grid-template-columns:1fr;
    }

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


/* =====================================
   HERO RESPONSIVE
===================================== */

@media(max-width:991px){

    .hero{
        min-height:700px;
    }

    .hero h1{
        font-size:52px;
    }

    .hero p{
        font-size:20px;
    }

    .business-hero h1{
        font-size:54px;
    }

    .consultancy-hero h1{
        font-size:52px;
    }

    .hero-consultancy{
        height:560px;
        min-height:560px;
    }

    .hero-consultancy h1{
        font-size:48px;
    }
}


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

@media(max-width:768px){

    .navbar{
        position:sticky;
        top:0;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        flex-wrap:nowrap;
        padding:10px 14px;
        gap:6px;
    }

    .navbar .logo{
        width:100%;
        display:flex;
        justify-content:center;
    }

    .navbar .logo img{
        height:52px;
        max-width:175px;
    }

    .navbar .nav-links{
        width:100%;
        flex:0 0 auto;
        justify-content:center;
        flex-wrap:wrap;
        white-space:normal;
        gap:4px 12px;
    }

    .navbar .nav-links a{
        font-size:12px;
        padding:5px 0;
    }

    .hero{
        min-height:700px;
        text-align:center;
    }

    .hero h1{
        font-size:40px;
    }

    .hero p{
        font-size:18px;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .hero-about{
        min-height:700px;
        padding:0;
    }

    .hero-about h1{
        font-size:40px;
    }

    .hero-about p{
        font-size:18px;
    }

    .hero-about .hero-buttons{
        flex-wrap:wrap;
    }

    .business-hero{
        min-height:700px;
        padding:0;
    }

    .business-hero h1{
        font-size:42px;
    }

    .business-hero p{
        font-size:18px;
    }

    .consultancy-hero{
        min-height:700px;
        padding:60px 20px;
    }

    .consultancy-hero h1{
        font-size:42px;
    }

    .consultancy-hero p{
        font-size:18px;
    }

    .hero-consultancy{
        height:650px;
        min-height:650px;
        padding:0 !important;
    }

    .hero-consultancy .hero-inner{
        align-items:center;
    }

    .hero-consultancy h1{
        font-size:38px;
    }

    .hero-consultancy p{
        font-size:16px;
    }

    section{
        padding:60px 0;
    }

    section h2{
        font-size:40px;
    }

    .business-divisions h2,
    .why-mid h2,
    .our-brands h2{
        font-size:40px;
    }

    .philosophy h2{
        font-size:40px;
    }

    .consultation-cta h2,
    .consultancy-cta h2{
        font-size:40px;
    }

    .consultancy-philosophy h2,
    .consultancy-results h2,
    .working-process h2{
        font-size:40px;
    }

    .about-home{
        padding:30px 20px;
    }

    .about-home h2{
        font-size:40px;
    }

    .footer{
        padding:60px 25px 25px;
    }

    .footer-container{
        grid-template-columns:1fr;
        gap:35px;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
        gap:15px;
    }

    .footer-links{
        justify-content:center;
        flex-wrap:wrap;
    }
}


/* =====================================
   SMALL MOBILE
===================================== */

@media(max-width:420px){

    .navbar .nav-links{
        gap:5px 10px;
    }

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

    .hero h1{
        font-size:36px;
    }

    .hero-about h1{
        font-size:36px;
    }

    .business-hero h1{
        font-size:36px;
    }

    .consultancy-hero h1{
        font-size:36px;
    }

    .hero-consultancy h1{
        font-size:34px;
    }

    .btn-primary,
    .btn-secondary{
        padding:14px 25px;
    }
}

/* =========================================
   MID NEIGHBOURHOOD FLYER POPUP
========================================= */

.mid-flyer-overlay{
    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.72);

    display:flex;
    align-items:center;
    justify-content:center;

    padding:30px;

    z-index:20000;

    opacity:1;
    visibility:visible;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.mid-flyer-overlay.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.mid-flyer-box{
    position:relative;

    width:min(900px, 92vw);
    max-height:92vh;

    display:flex;
    align-items:center;
    justify-content:center;

    animation:midFlyerAppear .35s ease;
}

.mid-flyer-image{
    display:block;

    width:100%;
    height:auto;

    max-height:92vh;

    object-fit:contain;

    border-radius:8px;

    box-shadow:
        0 20px 60px rgba(0,0,0,.45);
}

.mid-flyer-close{
    position:absolute;

    top:-18px;
    right:-18px;

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:#ffffff;

    color:#0d223d;

    font-size:30px;
    font-weight:400;

    line-height:38px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    z-index:5;

    box-shadow:0 5px 20px rgba(0,0,0,.25);

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mid-flyer-close:hover{
    background:#f58220;
    color:#ffffff;
    transform:scale(1.08);
}

@keyframes midFlyerAppear{

    from{
        opacity:0;
        transform:scale(.94) translateY(10px);
    }

    to{
        opacity:1;
        transform:scale(1) translateY(0);
    }

}


/* =========================================
   MID FLYER - MOBILE
========================================= */

@media(max-width:768px){

    .mid-flyer-overlay{
        padding:18px;
    }

    .mid-flyer-box{
        width:94vw;
        max-height:90vh;
    }

    .mid-flyer-image{
        max-height:90vh;
        border-radius:6px;
    }

    .mid-flyer-close{
        top:-12px;
        right:-8px;

        width:38px;
        height:38px;

        font-size:27px;
    }

}
