/*
Theme Name: MCG Child Theme
Theme URI: http://example.com/mcg-child/
Description: Fixed layout child theme for Maya Consulting Group.
Author: Shalabh Harrison
Template: astra
Version: 4.0.1
*/

/* ==========================================================================
   0. Layout Resets & Theme Overrides
   ========================================================================== */
header.site-header,
.ast-header-break-point,
#ast-mobile-header,
.main-header-bar,
.ast-primary-header-bar,
#masthead {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background-color: #050505 !important;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *:before, *:after { box-sizing: inherit; }

#page, .site, .site-content, #content, .ast-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
}

:root {
    --bg-black: #050505;
    --bg-sidebar: #09090b;
    --orange: #ff4d00;
    --blue: #00a8ff;
    --purple: #9d4edd;
    --border-dark: #1b1b1e;
    --text-gray: #71717a;
    --font-heading: 'Oswald', sans-serif;
}

.text-orange { color: var(--orange); }

/* Main Outer Wrapper */
.mcg-wrapper {
    display: flex;
    width: 100vw;
    min-height: 100vh;
    background: var(--bg-black);
    position: relative;
}

/* ==========================================================================
   Left Sidebar Navigation Rail
   ========================================================================== */
.mcg-sidebar {
    width: 80px;
    min-width: 80px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-top-icon { color: #ffffff; font-size: 1.2rem; cursor: pointer; }

.mcg-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    align-items: center;
}

.mcg-nav a {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.mcg-nav a i { font-size: 1.1rem; }
.mcg-nav a span { font-size: 0.55rem; letter-spacing: 1px; font-weight: 500; }
.mcg-nav a:hover, .mcg-nav a.active { color: var(--orange); }

.sidebar-bottom { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.follow-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.6rem; color: var(--text-gray); letter-spacing: 2px; }
.mcg-social { display: flex; flex-direction: column; gap: 12px; }
.mcg-social a { color: var(--text-gray); font-size: 0.85rem; transition: color 0.3s; }
.mcg-social a:hover { color: var(--orange); }

/* ==========================================================================
   Main Viewport Area
   ========================================================================== */
.mcg-main {
    margin-left: 80px;
    width: calc(100vw - 80px);
    padding: 2.5rem 3.5rem;
    display: flex;
    flex-direction: column;
}

/* Header Bar */
.mcg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}

.brand-logo { font-family: var(--font-heading); font-size: 2.5rem; color: var(--orange); line-height: 1; margin: 0; font-weight: 700; }
.brand-sub { font-size: 0.65rem; color: #a1a1aa; letter-spacing: 2px; display: block; margin-top: 4px; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.btn-connect {
    border: 1px solid var(--orange);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.btn-connect:hover { background: var(--orange); color: #000; }

.grid-menu-icon { color: #ffffff; font-size: 1.1rem; cursor: pointer; }

/* ==========================================================================
   Fixed 2-Column Hero Layout
   ========================================================================== */
.mcg-hero-section {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important; /* Force side-by-side arrangement */
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow { color: var(--orange); font-size: 0.75rem; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.eyebrow .dash { width: 30px; height: 1px; background: var(--orange); }

.main-title { font-family: var(--font-heading); font-size: 4.2rem; line-height: 1.05; margin: 0 0 1.5rem 0; font-weight: 700; }
.hero-desc { color: #a1a1aa; font-size: 1rem; line-height: 1.6; max-width: 420px; margin-bottom: 2.5rem; }
.hero-cta-group { display: flex; flex-direction: column; gap: 2rem; }

.btn-discover {
    border: 1px solid var(--orange);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    gap: 20px;
    transition: background 0.3s ease;
}
.btn-discover:hover { background: var(--orange); color: #000; }

.showreel-btn { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #ffffff; }
.play-circle { width: 42px; height: 42px; border: 1px solid var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--orange); font-size: 0.8rem; transition: all 0.3s ease; }
.showreel-btn:hover .play-circle { background: var(--orange); color: #000; }
.showreel-text strong { display: block; font-size: 0.75rem; letter-spacing: 1px; }
.showreel-text span { font-size: 0.7rem; color: var(--text-gray); }

/* ==========================================================================
   3 Cards Grid Layout
   ========================================================================== */
.hero-right {
    width: 100%;
}

.mcg-divisions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.2rem;
    width: 100%;
}

.division-card {
    background: #0d0d10;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem 1.4rem;
    height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Lift & Neon Shadow Glow */
.division-card:hover { transform: translateY(-10px); }
.card-media:hover { border-color: var(--blue); box-shadow: 0 10px 30px -5px rgba(0, 168, 255, 0.35); }
.card-consulting:hover { border-color: var(--orange); box-shadow: 0 10px 30px -5px rgba(255, 77, 0, 0.35); }
.card-events:hover { border-color: var(--purple); box-shadow: 0 10px 30px -5px rgba(157, 78, 221, 0.35); }

.card-content { position: relative; z-index: 2; }
.card-num { font-size: 1.2rem; font-family: var(--font-heading); display: block; margin-bottom: 1rem; }
.num-blue { color: var(--blue); }
.num-orange { color: var(--orange); }
.num-purple { color: var(--purple); }

.division-card h3 { font-family: var(--font-heading); font-size: 1.8rem; margin: 0 0 1rem 0; letter-spacing: 1px; }
.division-card p { color: #d4d4d8; font-size: 0.85rem; line-height: 1.5; margin: 0; }

.card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0.4; z-index: 1; transition: transform 0.6s ease; }
.division-card:hover .card-bg { transform: scale(1.05); }
.card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, #0d0d10 20%, transparent 80%); }

.card-footer { position: relative; z-index: 2; }
.arrow-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.arrow-blue { color: var(--blue); }
.arrow-orange { color: var(--orange); }
.arrow-purple { color: var(--purple); }





/* ==========================================================================
   Stats Banner
   ========================================================================== */
/* ==========================================================
   STATS + CTA BLOCK
========================================================== */

.mcg-stats-banner{

    display:grid;
    grid-template-columns:2.8fr 1.2fr;

    gap:35px;

    background:#0a0a0d;

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:40px;

    margin-bottom:70px;

}

/*======================
GRID
=======================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-box{

    display:flex;

    align-items:center;

    gap:18px;

}

.stat-icon{

    width:68px;

    height:68px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--orange);

    font-size:28px;

    flex-shrink:0;

}

/*======================
TEXT
=======================*/

.stat-info{

    display:flex;

    flex-direction:column;

}

.stat-number{

    margin:0 !important;

    padding:0 !important;

    font-size:72px !important;

    line-height:.9 !important;

    font-weight:900 !important;

    color:#fff !important;

    font-family:var(--font-heading) !important;

}

.stat-number .counter{

    font-size:inherit !important;

    font-weight:inherit !important;

    color:#fff !important;

}

.stat-number .plus{

    font-size:40px;

    color:#fff;

    margin-left:2px;

    font-weight:900;

}

.stat-label{

    margin:10px 0 0;

    color:#9ca3af;

    font-size:13px;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:2px;

}

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

.cta-banner{

    position:relative;

    overflow:hidden;

    border-radius:14px;

    background:linear-gradient(135deg,#1b120d,#2d1708);

    min-height:240px;

    display:flex;

    align-items:center;

}

.banner-content{

    position:relative;

    z-index:2;

    padding:35px;

    max-width:220px;

}

.banner-content p{

    margin:0 0 25px;

    color:#fff;

    font-size:16px;

    line-height:1.6;

    letter-spacing:1px;

    font-weight:500;

}

.banner-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--orange);

    text-decoration:none;

    font-size:13px;

    font-weight:700;

    letter-spacing:1px;

    transition:.3s;

}

.banner-link:hover{

    gap:16px;

}

.banner-bg-img{

    position:absolute;

    right:0;

    top:0;

    bottom:0;

    width:55%;

    background:url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80") center/cover;

    opacity:.45;

    mask-image:linear-gradient(to left,black,transparent);

}

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

@media(max-width:1024px){

.mcg-stats-banner{

    grid-template-columns:1fr;

}

.stats-grid{

    grid-template-columns:repeat(2,1fr);

}

}

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

@media(max-width:768px){

.mcg-stats-banner{

    padding:25px;

}

.stats-grid{

    grid-template-columns:1fr;

    gap:22px;

}

.stat-number{

    font-size:44px !important;

}

.stat-number .plus{

    font-size:30px;

}

.stat-label{

    font-size:12px;

}

.cta-banner{

    min-height:220px;

}

.banner-content{

    max-width:100%;

}

}

/* ==========================================================================
   Brand Marquee Ticker (With Generous Spacing)
   ========================================================================== */
.mcg-brands-row {
    text-align: center;
    margin-bottom: 4.5rem;
    width: 100%;
}

.brands-title {
    font-size: 0.65rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; width: 120px;
    z-index: 3;
    pointer-events: none;
}
.ticker-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-black), transparent); }
.ticker-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-black), transparent); }

.ticker-track {
    display: flex;
    width: max-content;
    animation: infiniteScroll 25s linear infinite;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 4.5rem; /* Increased spacing between items */
    padding-right: 4.5rem;
    flex-shrink: 0;
}

.ticker-group .b-logo {
    color: #a1a1aa;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}
.ticker-group .b-logo:hover { opacity: 1; color: #ffffff; }

.divider { color: #27272a; font-weight: 300; }

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Extra Sections
   ========================================================================== */
.mcg-extra-section { margin-bottom: 4rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.section-title { font-family: var(--font-heading); font-size: 2.8rem; margin: 0; line-height: 1; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card {
    background: #0d0d10;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.portfolio-card:hover { transform: translateY(-5px); }
.p-img { height: 220px; background-size: cover; background-position: center; }
.p-info { padding: 1.2rem; }
.p-info span { font-size: 0.6rem; color: var(--orange); letter-spacing: 1px; display: block; margin-bottom: 5px; }
.p-info h4 { margin: 0; font-size: 1.1rem; font-weight: 500; }

.capabilities-box {
    background: #09090c;
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}
.cap-left p { color: #a1a1aa; font-size: 0.9rem; line-height: 1.6; }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.cap-item i { font-size: 1.5rem; margin-bottom: 0.8rem; display: block; }
.cap-item h5 { font-size: 1.1rem; margin: 0 0 0.5rem 0; font-family: var(--font-heading); }
.cap-item p { font-size: 0.8rem; color: #a1a1aa; margin: 0; line-height: 1.5; }

/* Scroll Animations Base */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
















/* ===== FORCE STATS ===== */

.mcg-stats-banner .stats-grid .stat-box .stat-info h2.stat-number{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    font-size:72px !important;
    line-height:0.9 !important;
    font-weight:900 !important;
    font-family:'Oswald', sans-serif !important;
    color:#ffffff !important;
}

.mcg-stats-banner .stats-grid .stat-box .stat-info h2.stat-number .counter{
    font-size:inherit !important;
    font-weight:inherit !important;
    color:#ffffff !important;
}

.mcg-stats-banner .stats-grid .stat-box .stat-info h2.stat-number .plus{
    font-size:inherit !important;
    color:#ffffff !important;
}

.mcg-stats-banner .stats-grid .stat-box .stat-info .stat-label{
    display:block !important;
    margin-top:10px !important;
    font-size:14px !important;
    font-weight:600 !important;
    color:#999 !important;
    letter-spacing:2px !important;
    text-transform:uppercase !important;
}