/* =========================================
   MAX HOSPITAL CAMPAIGN STYLES
   ========================================= */
.max-campaign {
    background-color: var(--primary-bg);
}

/* --- Typography Overrides --- */
.max-campaign .max-body-text {
    font-size: 1.2rem;
	font-weight:400;
    line-height: 1.4;
    color: #000;
        max-width: 950px;
}

/* --- Hero Section --- */
.max-campaign .max-hero {
    position: relative;
    width: calc(100% - 4rem);
    max-width: 1400px;
    margin: 2rem auto 0px;
    border-radius: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 5rem;
    overflow: hidden;
    top: 80px;
}

.max-campaign .max-hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0rem;
}

.max-campaign .max-hero-content {
    flex: 1;
    z-index: 2;
}
.max-campaign .max-hero-content h2{
	font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -2px;
    color: #FFFFFF;
    margin: 0;
}
.hero-section__divider {
    width: 244px;
    height: 2px;
    background-color: #ffffff;
    margin: 2rem 0px;
    padding-right: 60px;
}

.max-campaign .max-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.max-campaign .stagger-text {
    display: inline-block;
}

.max-campaign .max-hero-image {
    flex: 1;
    text-align: right;
    z-index: 1;
}

.max-campaign .max-hero-image img {
    max-width: 70%;
    height: auto;
    display: block;
    margin-left: auto;
    transform: translateY(10px);
    position: relative;
    top:-78px;
}

/* --- Text Sections --- */
.max-campaign .max-text-section {
    padding: 4rem 0;
}

.max-campaign .max-text-section.bg-light {
    position: relative;
    z-index: 2;
    background: transparent;
}

.max-campaign .max-container {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    padding: 0 1rem;
}

.max-campaign .editorial-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
	
}

.max-campaign .editorial-header__tag {
   
    font-family: var(--font-poppins);
    font-size: 1.4rem;
    font-weight: 500;
	 line-height: 1.4;
    color: #000;
    text-transform: capitalize;
    margin-right: 1.25rem;
    white-space: nowrap;
}

.max-campaign .editorial-header__line {
    flex-grow: 1;
    max-width: 600px;
    height: 2px;
    background-color: #fbab17; /* Matching the gold line from other pages */
    transform-origin: left center;
}

/* --- 3D Prospective Image Section --- */
.max-campaign .max-prospective-section {
    width: 100%;
    margin-bottom: -40rem; /* Pulls the challenge section up over the reflection shade */
    position: relative;
    /* z-index: 1; */
}

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

/* --- 2-Card Grid Section --- */
.max-campaign .max-grid-section {
    padding: 2rem 4rem;
    background:url(../assets/imgs/max-mobile-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 16px;
    margin-top: 2rem;
}

.max-campaign .max-grid-container {
    width:100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 2rem;
}

.max-campaign .max-grid-card img {
    width: 100%;
    height: auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.max-containerr{
    padding: 10px 10px 10px 13rem;
}
/* --- Mobile Mockup Parallax Section --- */
.max-campaign .max-mobile-parallax-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
}

.max-campaign .max-parallax-bg {
    position: absolute;
    top: 50%;
    left: 6%;
    width: 90%;
    height: 70%;
    transform: translateY(-50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: 16px;
}

.max-campaign .max-tablet-parallax-section .max-parallax-bg {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    height: 85%;
    transform: translateY(-42%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: 0px;
}

.max-campaign .max-mobile-mockup-wrapper {
    position: absolute;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    transform: translateY(-2%);
}

.max-campaign .max-mobile-img {
    width: 100%;
    height: auto;
    display: block;
    /* filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4)); */
}

/* --- Max Metrics Section --- */
.max-campaign .max-metrics-section {
    padding: 4rem 0;
}

.max-campaign .max-metrics-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.max-campaign .max-metrics-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.max-campaign .max-metrics-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
}

.max-campaign .gold-line {
    display: inline-block;
    width: 250px;
    height: 2px;
    background-color: #dcb360; /* Gold color from mockup */
}

.max-campaign .highlight-gold {
    color: #dcb360;
    font-weight: 700;
}

/* --- Tablet Hands Parallax Section --- */
.max-campaign .max-tablet-parallax-section {
    position: relative;
    padding: 0rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1000px;
    margin: 3rem 0px;
}

.max-campaign .max-tablet-wrapper {
    position: absolute;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.max-campaign .max-tablet-img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
    position: relative;
}

.max-campaign .max-float-card {
    position: absolute;
    width: 24%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-radius: 12px;
    z-index: 3;
}

.max-campaign .card-top-left {
        top: 15%;
    left: 10%;
    width: 26%;
}

.max-campaign .card-bottom-right {
    bottom: 25%;
    left: 40%;
}
.max-campaign .card-top-center {
    top: -10%;
    right: 32%;
    width: 28%;
}

@media (max-width: 768px) {
	
	    .max-campaign .max-hero-content {
        text-align: center;
        margin-bottom: 0rem !important;
                padding: 50px 10px 10px 10px  !important;
    }
	
	.max-campaign .max-hero-content h2{
		font-size:1.8rem;
		line-height:1.2;
	}
	.hero-section__divider{
		width:170px;
		margin:1rem auto;
	}
	
	.max-campaign .editorial-header__tag {
    font-family: var(--font-poppins);
    font-size: 1.3rem;
    font-weight: 500;
		line-height: 1.4;
	}
	
	.max-campaign .max-body-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    max-width: 950px;
}
	
}



/* =========================================
   RESPONSIVE (1024px TABLET)
   ========================================= */
@media (max-width: 1024px) {
	
	
	
	.max-containerr{
		padding:25px;
	}
    .max-campaign .max-hero{
            background-size: cover;
    }
    .max-campaign .max-hero-image img{
            top: 50px;
    }
    .max-campaign .max-hero-content h1 {
        font-size: 3rem;
    }
    
    .max-campaign .max-hero-container {
        flex-direction: row;
        padding-top: 0rem;
    }
	
	.max-campaign .max-hero-content h1 {
		margin-bottom: 0rem;
	}
	
	.max-campaign .max-hero {
		padding-top: 0rem;
	}
    
    .max-campaign .max-hero-content {
        text-align: center;
        margin-bottom: 0rem;
		padding: 9px 10px 10px 29px;
    }
	
	
	.max-campaign .max-container {
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
		padding: 6rem 0rem 3rem 0rem;
	}
	
	.max-campaign .max-text-section {
     padding: 0rem 0; 
}
    
    .max-campaign .max-hero-image img {
        margin: 0 auto;
    }

    .max-campaign .max-grid-section{
        padding: 1rem 1rem;
    }
    .max-campaign .max-grid-section{
        padding: 1rem 1rem;
    }

    .max-campaign .max-grid-container {
        gap: 1rem;
    }

    .max-campaign .max-mobile-parallax-section{
        min-height: 590px;
    }
    .max-campaign .max-tablet-parallax-section{
            height: 536px;
    margin: 4rem 0px;
    }

    .max-campaign .max-prospective-section {
        margin-bottom: -25rem;
    }

    .max-campaign .max-float-card {
        width: 35%;
    }
    .max-campaign .card-top-left{
        width: 30%;
        top: 25%;
        left: 12%;
    }
    .max-campaign .card-top-center, .max-campaign .card-bottom-right{
        width: 25%;
    }
    .max-campaign .card-top-center{
        top: 0%;
    }
    .max-campaign .card-bottom-right{
        left: 46%;
    }    
}

@media (max-width: 1180px)  and (orientation: landscape) {
    .max-campaign .max-hero-image img{
        top:-50px;
    }
    .max-campaign .max-hero-content{
        padding-left:2rem;
    }
    .max-campaign .max-prospective-section{
            margin-bottom: -35rem;
    }
    .max-campaign .max-tablet-parallax-section{
            height: 770px;
            margin: 8rem 0px;
    }
    .max-campaign .card-top-left {
            top: 25%;
            left: 11%;
            width: 30%;
    }
    .max-campaign .card-top-center {
            top: 0%;
            right: 30%;
            width: 25%;
    }

    .max-campaign .card-bottom-right {
            bottom: 25%;
            left: 45%;
            width: 25%;
    }


}


@media screen and (min-width: 768px) and (max-width: 819px) {

.max-campaign .max-hero-container {
        flex-direction: row !important;
}
	
	.max-hero-container {
        height: 300px !important;
    }
	    .max-campaign .max-hero-image img {
        top: -23px;
    }
	
	.max-campaign .max-hero-image img {
		max-width: 54%;
	}
	
	    .max-campaign .max-container {
        max-width: 90%;
        margin: 0 auto;
        text-align: left;
        padding: 1rem 1rem 1rem 1rem;
    }
	
	    .max-campaign .max-text-section {
        padding: 2rem 0px !important;
    }
	
	.max-campaign .max-parallax-bg {
    position: absolute;
    top: 50%;
    left: 2%;
    width: 96%;
		height: 70%;
			}
	
	
	.max-campaign .max-grid-section {
		    max-width: 96% !important;
	}
	    .max-campaign .max-mobile-mockup-wrapper {
        max-width: 1000px;
        width: 83% !important;
        transform: translateY(5%);
        left: 10% !important;
			bottom:-40px;
    }
	
	.max-campaign .max-tablet-parallax-section {
        min-height: 736px !important;
	}
	.max-campaign .max-mobile-parallax-section {
        min-height:470px !important;
	}
	
}

/* =========================================
   RESPONSIVE (768px MOBILE)
   ========================================= */
@media (max-width: 768px) {
    .max-campaign .max-hero{
        background-size: cover;
        border-radius: 0px;
        width: calc(100% - 0rem);
        margin-bottom: 2rem;
    }
    .max-campaign .max-hero-image img{
            top: 37px;
    }
    .max-campaign .max-container{
        max-width: 100%;
    }
    .max-campaign .max-hero-content h1 {
        font-size: 2.5rem;
    }

    .max-campaign .max-text-section {
        padding: 2rem 0px;
    }
	.max-campaign .max-hero{
		padding-top: 0rem;
        top: 40px;
	}
	.max-campaign .max-container {
        max-width: 90%;
        margin: 0 auto;
        text-align: left;
        padding: 0rem 0rem 3rem 0rem;
    }
	
	
	
	    .max-containerr {
        padding: 15px;
    }

	
	.max-campaign .max-grid-section {
		max-width: 94%;
	}
	
	.max-hero-container{
		height:560px;
		       
	}
	
	.max-campaign .max-hero-container {
		flex-direction: column;
	}
	
	.max-campaign .max-hero-container{
		 padding-top: 0rem;
		 margin-bottom: 0rem !important;
	}
	
	.contact {
        background-image: url(../imgs/news-bg.webp);
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 60px;
        overflow: hidden;
        margin-top: 0px;
    }

    .max-campaign .max-prospective-section {
        margin-bottom: -8rem;
    }
    .max-campaign .max-grid-section{
            padding: 0rem 0rem;
           margin-top: 0rem;
        margin-bottom: 1rem;
    }

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

    .max-campaign .max-mobile-parallax-section {
        min-height: 350px;
        padding: 0rem 0;
    }
    .max-campaign .max-mobile-mockup-wrapper{
        max-width: 1000px;
        width: 115%;
        transform: translateY(5%);
        left: -4%;
    }
    .max-campaign .max-tablet-wrapper{
            width: 100%;
            top: 35.5%;
            right: 0%;
    }
    .max-campaign .max-tablet-parallax-section .max-parallax-bg{
                height: 54%;
    transform: translateY(-10%);
    }

    .max-campaign .max-tablet-parallax-section {
        min-height: 400px;
        margin:0rem 0rem;
        height: auto;
        margin-top:-30%;
    }

    .max-campaign .max-float-card {
        width: 30%;
    }

    .max-campaign .card-top-left {
        top: 26%;
        left: 13%;
    }
    .max-campaign .card-top-center {
    top: 10%;
    right: 32%;
    width: 28%;
}
    
    .max-campaign .card-bottom-right {
       bottom: 24%;
        left: 45%;
         width: 28%;
    }
    
}
