@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root {
  --heading-font-family: 'League Spartan', sans-serif;
  --sec-title-font-family: 'League Spartan', sans-serif;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6, .title, .sec-title h2, .hero_title {
    font-family: 'League Spartan', sans-serif !important;
    font-weight: 800 !important;
}

h1, .hero_title {
    font-size: 80px !important;
}

h2 {
    font-size: 52px !important;
}

.sec-title h2 {
    font-size: 48px !important;
}

.sub-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--theme-color1);
}

.sub-title-large {
    font-size: 26px !important;
    text-transform: none !important;
    color: #fff !important;
}

.sub-title img {
    filter: invert(51%) sepia(81%) saturate(614%) hue-rotate(4deg) brightness(92%) contrast(95%);
}

.mission-section-overlap {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.mission-section-gap {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

/* Unified Logo Filter (Gold-ish White) */
.unified-logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.unified-logo:hover {
    opacity: 1;
    filter: invert(51%) sepia(81%) saturate(614%) hue-rotate(4deg) brightness(92%) contrast(95%); /* Approximation of gold #b07d10 */
}

/* Custom stats styles */
.bam-stat-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(176, 125, 16, 0.2);
    border-radius: 15px;
    text-align: center;
}

/* CTV Investment Gap Section Enhancements */
.ctv-gap-section {
    position: relative;
    padding: 100px 0;
    overflow: visible;
}

.ctv-visual-main-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 60px auto 0;
    min-height: 600px;
}

.ctv-image-center-box {
    position: relative;
    width: 70%;
    margin: 0 auto;
    z-index: 1;
}

.ctv-image-wrapper {
    position: relative;
    z-index: 1;
    /* Parallelogram Clip Path */
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.ctv-main-img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.image-overlay-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: radial-gradient(circle, rgba(176, 125, 16, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Floating Cards Layout */
.ctv-floating-card {
    position: absolute;
    z-index: 10;
    width: 100%;
    max-width: 380px;
    transition: all 0.3s ease;
}

.ctv-card-top-right {
    top: -20px;
    right: -20px;
}

.ctv-card-bottom-left {
    top: 60px;
    left: -40px;
}

.ctv-card-bottom-right {
    bottom: 80px;
    right: 20px;
    max-width: 320px;
}

.glass-card {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(176, 125, 16, 0.3);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* Typography for stats */
.bam-stat-number-large {
    font-size: 52px;
    font-weight: 800;
    color: var(--theme-color1);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.bam-stat-number-medium {
    font-size: 38px;
    font-weight: 800;
    color: var(--theme-color1);
    line-height: 1.1;
    display: block;
}

.tiny-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Comparison Bars */
.comparison-bar-container {
    width: 100%;
}

.comparison-bar-main {
    height: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.comparison-bar-fill {
    height: 100%;
    background: var(--theme-color1);
    border-radius: 5px;
    width: 0; /* Animated */
    box-shadow: 0 0 15px var(--theme-color1);
}

.comparison-bar-dual .bar-bg {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill-gold {
    height: 100%;
    background: var(--theme-color1);
    border-radius: 4px;
    width: 0; /* Animated */
    box-shadow: 0 0 10px var(--theme-color1);
}

/* Power Meter Visualization */
.power-meter-container {
    position: relative;
    width: 160px;
    margin: 0 auto;
}

.power-meter {
    width: 100%;
    height: auto;
}

.power-value {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/* Pillar Cards */
.pillar-card {
    padding: 40px;
    background: #1a1a1a;
    border: 1px solid #222;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--theme-color1);
    transform: translateY(-10px);
}

.pillar-card h3 {
    color: var(--theme-color1);
    margin-bottom: 20px;
}

.pillar-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--theme-color1);
}

/* Fix Hero Email - Position on Left Side */
.banner-section .email-link {
    position: absolute;
    left: 40px;
    bottom: 120px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    z-index: 10;
}

.banner-section .email-link a {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--theme-color-white);
    white-space: nowrap;
}

.banner-section .email-link a:hover {
    color: var(--theme-color1);
}

/* Hero Social Icons - Position on Bottom Right */
.hero-bottom-info {
    position: absolute;
    right: 50px;
    bottom: 70px;
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.hero-bottom-info .follow-us {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    display: flex;
    align-items: center;
}

.banner-section .email-line {
    display: none !important;
}

/* Fix Global Horizontal Scroll */
html, body {
    overflow-x: clip;
    position: relative;
    width: 100%;
}

.page-wrapper {
    overflow: clip;
}

/* Ensure no element accidentally causes overflow */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Re-allow overflow for specific elements that need it */
.container, .container-fluid, .row {
    max-width: none;
}

/* Logo Sizing */
.main-header .logo img,
.sticky-header .logo img {
    max-height: 150px !important;
    width: auto;
    transition: all 0.3s ease;
}

.main-header .header-lower,
.sticky-header .inner-container {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.sticky-header.fixed-header {
    padding: 5px 0;
}

/* Navigation Layout */
.main-header .main-box {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.main-header .nav-outer {
    margin-left: auto !important;
    text-align: right !important;
}

.main-header .main-menu .navigation {
    display: flex !important;
    justify-content: flex-end !important;
}

.main-header .main-menu .navigation > li {
    float: none !important;
}

/* Section Specific Fixes */
.mission-section .mission-list-item {
    padding: 60px 0 !important;
}

.mission-list-item .sec-title h2 {
    margin-top: 15px !important;
    margin-bottom: 20px !important;
}

.mission-list-item .sec-title p {
    margin: 0 auto 30px !important;
    text-align: center;
}

.mission-list-item .mission-list {
    text-align: center !important;
}

/* Footer Widget Adjustments */
.main-footer .about-widget .logo {
    margin-bottom: 10px !important;
}

.footer-upper .footer-icon {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
}

.footer-upper .footer-title {
    font-size: clamp(35px, 7vw, 100px) !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

.footer-bottom .inner-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap;
}

.footer-partnership-text {
    text-align: right;
}

/* Hero Spacing */
.banner-section {
    padding-top: 200px !important;
}

.about-section {
    padding-bottom: 80px !important;
}

.mission-section {
    padding-top: 0 !important;
}

/* Hero Video Mobile Fix */
@media (max-width: 767px) {
    .banner-section {
        background: #000 !important;
    }
    .hero-video-placeholder {
        opacity: 0.6 !important; /* Slightly higher opacity for better visibility on mobile */
    }
    #heroVideo {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

/* UI Components */
.founder-card {
    background-color: rgba(176, 125, 16, 0.05) !important;
}

.floating-download-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--theme-color1);
    color: #fff !important;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.floating-download-btn:hover {
    transform: translateY(-5px);
    background: #fff;
    color: var(--theme-color1) !important;
}

/* Modal Popup Styles */
.bam-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.bam-modal-content-styled {
    background-color: #1a1a1a;
    background-image: url('../images/main-home/bg.png');
    background-size: cover;
    background-position: center;
    margin: 3% auto;
    padding: 60px 40px 40px;
    border: 1px solid var(--theme-color1);
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.bam-modal-close {
    color: #fff;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.bam-modal-close:hover {
    color: var(--theme-color1);
    transform: rotate(90deg);
}

.contact-forms-modal {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.contact-forms-modal .form-group input,
.contact-forms-modal .form-group select,
.contact-forms-modal .form-group textarea {
    width: 100%;
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
}

.contact-forms-modal .form-group input:focus,
.contact-forms-modal .form-group select:focus,
.contact-forms-modal .form-group textarea:focus {
    border-color: var(--theme-color1) !important;
}

.contact-forms-modal select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
}

.theme-btn-white-border {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border: 2px solid #fff;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.theme-btn-white-border:hover {
    background: #fff;
    color: #000 !important;
}

/* Marketplace Components */
.marketplace-icon-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.marketplace-icon-box:hover {
    border-color: var(--theme-color1);
    transform: translateY(-10px);
}

.marketplace-icon-box .icon {
    font-size: 40px;
    color: var(--theme-color1);
    margin-bottom: 20px;
}

.marketplace-icon-box h4 {
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
}

.marketplace-icon-box .list-style-bullet {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 0;
    margin: 20px 0 0 25px;
}

.marketplace-icon-box .list-style-bullet li {
    display: list-item;
    list-style-type: disc;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

/* Centered Icon Box List */
.icon-box-list-centered {
    padding: 0;
    list-style: none;
}

.icon-box-list-centered li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-box-list-centered li .icon {
    flex-shrink: 0;
}

.icon-box-list-centered li .content {
    flex: 1;
}

.icon-box-list-centered li .content .title {
    margin-bottom: 0 !important;
    font-size: 20px;
}

/* Utility Classes */
.branded-yellow-link {
    color: var(--theme-color1) !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.branded-yellow-link:hover {
    color: #fff !important;
}

.theme-gold-text {
    color: var(--theme-color1) !important;
}

.report-insights-section {
    position: relative;
    z-index: 5;
    margin-bottom: 50px;
}

.report-mission-section {
    position: relative;
    z-index: 5;
}

.indent-approach {
    display: inline-block;
    margin-left: 20px;
}

.font-weight-light {
    font-weight: 300 !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-normal-yes {
    font-weight: 500 !important;
    font-size: 45px;
}

.text-title-case {
    text-transform: capitalize !important;
}

/* Media Queries (Desktop/Tablet) */
@media (min-width: 1200px) {
    .main-header .header-lower {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

@media (min-width: 992px) {
    .report-mission-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media (max-width: 1199px) {
    .ctv-visual-main-wrapper {
        max-width: 900px;
    }
    .ctv-floating-card {
        max-width: 340px;
    }
    .ctv-card-bottom-left {
        left: 0;
    }
    .main-header .header-lower {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .hero-bottom-info {
        right: 30px;
        gap: 20px;
    }
    .banner-section .email-link {
        left: 20px;
    }
    .banner-section {
        padding-top: 180px !important;
    }
}

@media (max-width: 991px) {
    .ctv-visual-main-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        min-height: auto;
    }
    .ctv-image-center-box {
        width: 100%;
        order: 1;
    }
    .ctv-floating-card {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        order: 2;
    }
    .ctv-image-wrapper {
        clip-path: none;
    }
    .hero-bottom-info {
        display: none;
    }
    .main-header .header-lower,
    .sticky-header .inner-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .main-header .logo img,
    .sticky-header .logo img,
    .mobile-menu .nav-logo img {
        max-height: 100px !important;
    }
    .main-header .main-box,
    .sticky-header .inner-container {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .main-header .logo-box {
        min-width: 0 !important;
        flex: 1 !important;
    }
    .main-header .nav-outer {
        display: none !important;
    }
    .sticky-header .nav-outer {
        display: block !important;
    }
    .about-section {
        padding-bottom: 60px !important;
    }
}

/* Consolidated Mobile Media Query (max-width: 767px) */
@media (max-width: 767px) {
    /* Header & Logo */
    .main-header .header-lower,
    .sticky-header .inner-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .main-header .logo img,
    .sticky-header .logo img,
    .mobile-menu .nav-logo img {
        max-height: 70px !important;
    }
    .mobile-nav-toggler {
        margin-left: 0 !important;
    }

    /* Banner & Page Titles */
    .banner-section, .page-title {
        padding-top: 120px !important;
        min-height: auto !important;
    }
    .banner-section .hero_upper {
        margin-top: 0 !important;
    }
    .hero-subtitle {
        font-size: 18px !important;
    }

    /* Standardized Spacing */
    .section-padding {
        padding: 60px 0 !important;
    }
    .main-footer .widgets-section {
        padding: 60px 0 30px !important;
    }
    .py-5 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Responsive Typography */
    h1, .hero_title, .page-title h1.title, .banner-section h1.title {
        font-size: 38px !important;
        line-height: 1.1 !important;
    }
    h2, .sec-title h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    .word {
        white-space: nowrap !important;
    }
    h3 {
        font-size: 28px !important;
    }
    .sec-title .sub-title {
        font-size: 14px !important;
    }
    .sec-title .sub-title-large {
        font-size: 20px !important;
        line-height: 1.4 !important;
        margin-top: 10px !important;
    }
    p, .text-white {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    /* Cards & Components */
    .pillar-card {
        padding: 30px 20px !important;
        margin-bottom: 25px !important;
    }
    .founder-card {
        padding: 30px 20px !important;
    }
    .founder-card h3 {
        font-size: 32px !important;
    }
    .service_single_item .image-box {
        height: auto !important;
        max-height: 350px !important;
    }
    .process-single-box {
        margin-bottom: 40px !important;
        padding: 20px !important;
    }
    .process-single-box .process-thumb {
        margin-bottom: 20px !important;
    }
    .marketplace-icon-box {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    .icon-box-list-centered li {
        gap: 15px;
        margin-bottom: 25px;
        align-items: flex-start;
    }
    .icon-box-list-centered li .icon {
        padding-top: 5px;
    }

    /* Modal Adjustments */
    .bam-modal-content-styled {
        padding: 50px 20px 30px;
        margin: 10% auto;
    }
    .bam-modal-close {
        right: 20px;
        top: 15px;
    }

    /* Footer Adjustments */
    .footer-upper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .footer-upper .footer-icon {
        margin-top: 10px !important;
        margin-bottom: 40px !important;
    }
    .footer-bottom .inner-container {
        justify-content: center !important;
        text-align: center;
    }
    .footer-bottom .copyright-text {
        margin-bottom: 10px;
    }
    .footer-partnership-text {
        text-align: center;
        width: 100%;
    }

    /* Partners Section */
    .partners-section .partner-logo img {
        max-height: 35px !important;
    }
    .partners-section .partner-text h3 {
        font-size: 18px !important;
    }

    /* Floating Button Mobile Optimization */
    .floating-download-btn {
        bottom: 20px !important;
        right: 20px !important;
        padding: 12px 20px !important;
        font-size: 12px !important;
        gap: 8px !important;
    }
}
