/* =========================================
   MEDIATEK INDIA - OPTIMIZED STYLESHEET
   ========================================= */

/* 1. BASE & RESET (From global.css) */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary-bg: #fff; --text-main: #000; --text-muted: #555555; --accent-gold: #fbab17; --font-poppins: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--primary-bg); }
body { font-family: var(--font-poppins); color: var(--text-main); background-color: var(--primary-bg); overflow-x: hidden; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-poppins); font-weight: 700; color: var(--text-main); }
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
p { color: var(--text-muted); }

/* 2. HEADER EXACTLY FROM GLOBAL.CSS */
.header{ background-color: #fff; box-shadow: 2px 3px 3px #eee; padding-top:10px; top:-10px; height: 80px; position: fixed; width: 100%; z-index: 999; }
.header .logo{ float: left; width: 20%; text-align:center; }
.header .logo img{ width: 160px; }
.header .menu{ float: left; width: 60%; display: block; text-align: center; padding-top: 20px; margin-left: 5%; }
.header .menu ul{ display: block; }
.header .menu ul li{ display: inline-block; font-size: 1rem; }
.header .menu ul a li{ color: #000; padding-left: 15px; padding-right: 15px; transition: 0.3s; }
.header .menu ul a:hover li{ color: #fcae1a; }
#menu-icon { display: none; }
@media (max-width: 992px) {
    .header .logo { padding: 0px 25px; }
    #menu-icon { display: block; position: absolute; top: 25px; right: 1em; color: #000; text-decoration: none; font-weight: bold; cursor: pointer; opacity: 1; padding: 0 0.4em; font-size: 25px; }
    .header .menu { display: none; width: 100%; background: #edbb43; margin-top: 10px; box-shadow: 2px 3px 3px #eee; padding-top: 0px; margin-left: 0px; }
    .header .menu ul a li { color: #fff; display: block; font-size: 16px; padding: 10px; background: #f4b533; text-align: left; }
    .header .menu ul li:focus{ color: #fff; background: #000; }
    .header .menu ul a li{ color: #fff; }
    .header .menu ul a:hover li{ color: #000; background:#fcae1abd; }
}

.hero-section__divider {
    width: 244px;
    height: 2px;
    background-color: #a5343e;
    margin-top: 2rem;
	margin-bottom: 2rem;
    padding-right: 60px;
}
/* UTILITY CLASSES */
.section-container { max-width: 1250px; margin: 0 auto; padding: 2.5rem 1rem; width: 100%; }
.hamdard-section-padding { padding-top: 2rem; padding-bottom: 0rem; }
.story-brand { padding-top: 100px; padding-bottom: 100px; }

/* 3. HERO SECTION (EXACT HAMDARD-HERO STRUCTURE & ANIMATIONS) */
@keyframes slideInUpCustom {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRightCustom {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-anim-1, .hero-anim-2, .hero-anim-3 {
    opacity: 0;
    animation: slideInUpCustom 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    display: inline-block;
}

.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.6s; }
.hero-anim-3 { animation-delay: 1.0s; }

.hamdard-hero {
    
    position: relative;
    width: 90%;
    margin: 100px auto 20px;
    border-radius: 25px;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('../assets/imgs/mediatek-banner-hero.WEBP') no-repeat center center;
    background-size: cover;
}

.hamdard-hero__content {
    width: 50%;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hamdard-hero__title {
    font-family: 'Poppins', sans-serif;
    color: #000;
    line-height: 0.9;
    margin: 0;
}

.hamdard-hero__title .text-small {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.hero-subtitle,
h2.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #a5343e;
    margin: 15px 0 0 0;
}

.hamdard-hero__title .text-large {
    font-size: 7.5rem;
    font-weight: 600;
    color: #a5343e;
    display: block;
    margin-top: -10px;
    margin-bottom: -5px;
    letter-spacing: -3px;
}

.hamdard-hero__image {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
    opacity: 0;
    animation: slideInRightCustom 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 1.2s;
}

.hamdard-hero__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
	.hero-section__divider{
		width:170px;
		margin-top:1rem;
		margin-bottom:1rem;
	}
    .hamdard-hero {
        flex-direction: column;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    .hamdard-hero__content, .hamdard-hero__image {
        width: 100%;
        padding: 0 5%;
        text-align: center;
    }
    .hamdard-hero__title .text-small {
        font-size: 2.2rem;
    }
    .hamdard-hero__title .text-large {
        font-size: 4.2rem;
        margin-top: -10px;
        margin-bottom: -10px;
    }
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
}

/* 4. EDITORIAL SECTIONS (Our Approach & The Challenge) */
.mediatek-intro-section,
.mediatek-challenge-section,
#brand,
#challenge {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #fff;
}

.editorial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1172px;
    margin: 0 auto;
        padding: 0% 10% 0% 0%;
}

.editorial-header__tag {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
	line-height:1.4;
    text-transform: capitalize;
    /* letter-spacing: 1.5px; */
    white-space: nowrap;
}

.editorial-header__line {
    flex: 1;
    height: 2px;
    background-color: #fbab17;
    opacity: 0.5;
    transform-origin: left center;
}

.intro-text-box,
.challenge-text-box {
    max-width: 1200px;
    margin: 0 auto;
       padding: 10px 22% 1% 1%;
       display: block;
}


.intro-text-box h3,
.challenge-text-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
    margin-top: 0 !important;
    margin-bottom: 25px;
}

.intro-text-box p,
.challenge-text-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
    margin-top: 0 !important;
    margin-bottom: 20px;
}

/* 5. IMAGE GRID & BENTO GRID */
.centered-image-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}
.centered-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}
.diagnostic-approach__image {
    width: 100%;
}
.diagnostic-approach__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Bento Grid Section & Components */
.bento-section {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 90%;
    margin: 0 auto;
}

.bento-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.bento-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 60%;
    background: url('../assets/imgs/third-section banner-bg.webp') no-repeat center center;
    background-size: cover;
    border-radius: 24px;
    z-index: 0;
}

.bento-grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 912px;
    margin: 0 auto;
    padding: 45px 0;
}



.bento-col-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.bento-col-left img {
    width: 106%;
    max-width: 440px;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.bento-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.bento-col-right img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .editorial-header {
              padding: 6% 3% 0% 4%;
        gap: 10px;
    }
    .editorial-header__tag {
                font-size: 1.3rem;
		font-weight:500;
		line-height: 1.4;
        padding: 0px 0px 0px 0px;
    }
    
    .intro-text-box {
                padding: 20px 19px 0px 15px;
    }


       .challenge-text-box{
        padding: 10px 1px 0px 15px;
       }
    .intro-text-box h3,
    .challenge-text-box h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
		font-weight:400;
		line-height: 1.4;
    }
    .intro-text-box p,
    .challenge-text-box p {
        font-size: 1.1rem;
        line-height: 1.4;
		 font-weight:400;
        margin-bottom: 15px;
        padding: 0px 15px 0px 0px !important;
    }
    .centered-image-grid {
        flex-direction: column;
        padding: 0 5%;
        gap: 20px;
        margin-top: 30px !important;
    }
    .centered-image-col {
        width: 100%;
        max-width: 100%;
    }
.mediatek-footer {
    background-image: url(../assets/imgs/news-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 24px 5% !important;
    color: #000;
}
    
}

/* 6. 3D SMARTPHONE CARD SLIDER SECTION */
.mediatek-phone-slider-section {
    padding: 74px 0;
    background-color: #fff;
    width: 100%;
    overflow: hidden;
}

.phone-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.phone-slider-card {
    position: relative;
    background: #fdeee0; /* Soft warm peach/sand background matching reference image */
    border-radius: 24px;
    padding: 25px 15px;
    min-height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important; /* Entire mobile mockup is fully visible extending beyond card */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

/* Realistic Smartphone Mockup Frame (Extends beyond top/bottom of peach card) */
.phone-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 310px;
    height: 560px;
    background: #0f0f11;
    border-radius: 44px;
    box-shadow: 
        0 12px 24px -4px rgba(0, 0, 0, 0.25),
        inset 0 0 0 3px #2c2c2e,
        inset 0 0 0 5px #000;
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Flat Floor / Downward Soft Drop Shadow Under Phone Mockup */
.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 12px;
    background: rgba(0, 0, 0, 0.22);
    filter: blur(4px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.phone-speaker {
    position: absolute;
    top: 16px;
    width: 65px;
    height: 5px;
    background: #252528;
    border-radius: 3px;
}

.phone-camera {
    position: absolute;
    top: 14px;
    right: 85px;
    width: 9px;
    height: 9px;
    background: #18181a;
    border-radius: 50%;
    box-shadow: inset 0 0 2px #444;
}

/* 3D Track & Cards */
.phone-carousel-track {
    position: relative;
    width: 100%;
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    z-index: 4;
}

.phone-card-item {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 0px !important;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease, box-shadow 0.45s ease;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    user-select: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
}

.phone-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures all slider images fill the card uniformly to one identical size */
    object-position: center;
    border-radius: 0 !important;
    background-color: #fff;
    display: block;
    pointer-events: none;
}

/* Dots Indicators */
.phone-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.phone-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.phone-slider-dot.active {
    /* background: #fcae1a; */
    width: 22px;
    border-radius: 5px;
}

/* Mobile Responsiveness (<= 768px) */
@media (max-width: 768px) {
    .hamdard-hero {
        width: 95% !important;
        margin: 100px auto 10px !important;
        border-radius: 0px !important;
        min-height: 20vh !important;
        padding: 2rem 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    /* .intro-text-box p,
    .challenge-text-box p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    } */
    .hamdard-section-padding {
        padding-top: 2rem !important;
        padding-bottom: 0rem !important;
    }
    .section-container {
        max-width: 1250px !important;
        margin: 0 auto !important;
        padding: 0rem 0rem !important;
        width: 100% !important;
    }
    /* .hero-subtitle br,
    h2.hero-subtitle br,
    .hero-anim-3 br {
        display: none !important;
    } */
    .hamdard-hero__content {
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .hamdard-hero__title .text-large,
    .hero-title-brand,
    .hero-title-country {
        display: inline-block !important;
        font-size: 1.7rem !important;
        font-weight: 600 !important;
        letter-spacing: -1px !important;
        margin: 0 0px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }
    .hamdard-hero__title .text-small,
    .hero-subtitle,
    h2.hero-subtitle {
        font-size: 1.35rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
        line-height: 1.25 !important;
        margin-top: 10px !important;
    }
    .hamdard-hero__image {
        width: 100%;
        margin-top: 1.5rem;
    }


    .bento-col-left img {
        width: 109%;
        max-width: 436px;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0.15);
        padding-left: 32px;
    }
.bento-col-right img {
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}


}

/* Mobile Responsiveness (<= 600px) */
@media (max-width: 600px) {
    /* .hero-subtitle br,
    h2.hero-subtitle br,{
        display: none !important;
    } */
    .hero-subtitle,
    h2.hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.2 !important;
		width: 210px;
    }
    .mediatek-phone-slider-section {
        padding: 70px 0;
    }
    .phone-slider-card {
        padding: 20px 10px;
        min-height: 280px;
        border-radius: 16px;
        overflow: visible !important;
    }
    .phone-mockup {
        width: 195px;
        height: 375px;
        border-radius: 28px;
    }
    .phone-mockup::after {
        bottom: -12px;
        height: 10px;
        filter: blur(3px);
    }
    .phone-carousel-track {
        height: 220px;
    }
    .phone-card-item {
        width: 180px;
        height: 180px;
        border-radius: 0;
    }
}

/* iPad Mini & iPad Air (601px to 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .hamdard-hero {
        width: 95% !important;
                margin: 100px auto 25px !important;

        border-radius: 0px !important;
        min-height: 25vh !important;
        padding: 2.5rem 1.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .hamdard-hero__content {
        width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .hamdard-hero__title .text-large,
    .hero-title-brand,
    .hero-title-country {
        display: inline-block !important;
        font-size: 3.2rem !important;
        font-weight: 600 !important;
        letter-spacing: -1px !important;
        margin: 0 0px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }
    .hamdard-hero__title .text-small,
    .hero-subtitle,
    h2.hero-subtitle {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
        line-height: 1.25 !important;
        margin-top: 10px !important;
    }
    .editorial-header {
        padding: 0 4%;
        gap: 15px;
    }
    .intro-text-box,
    .challenge-text-box {
        padding: 0 4%;
    }
    .intro-text-box h3,
    .challenge-text-box h3 {
        font-size: 1.5rem;
    }
    .mediatek-phone-slider-section {
        padding: 70px 0;
    }
    .phone-slider-card {
        padding: 20px 10px;
        min-height: 340px;
        border-radius: 20px;
        overflow: visible !important;
    }
    .phone-mockup {
        width: 250px;
        height: 450px;
        border-radius: 36px;
    }
    .phone-carousel-track {
        height: 290px;
    }
    .phone-card-item {
        width: 230px;
        height: 230px;
    }

.editorial-header__tag {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
    /* letter-spacing: 1.5px; */
    white-space: nowrap;
}
.bento-bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 155%;
    height: 45% !important ;}


.bento-col-left img {
width: 100%;
        padding-left: 27px;    
}

.bento-col-right img {
    width: 90%;}
}

/* iPad Pro & Small Laptops (1025px to 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .editorial-header {
        padding: 0 5%;
    }
    .intro-text-box,
    .challenge-text-box {
        padding: 0 5%;
    }
}

/* 7. NEW ISOLATED FOOTER (From Scratch - Intact) */
.mediatek-footer {
    background-image: url('../assets/imgs/news-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 5%;
    color: #000;
}
.m-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}
.m-footer-left, .m-footer-right {
    flex: 1;
}
.m-footer-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}
.m-footer-title span {
    color: #fcae1a;
}
.m-footer-links p {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.m-footer-links a {
    color: #000;
    font-weight: 500;
    transition: 0.2s;
}
.m-footer-links a:hover {
    color: #fcae1a;
}
.m-footer-address {
    margin-top: 30px;
    font-size: 1.1rem;
    font-style: normal;
    color: #333;
    max-width: 80%;
    line-height: 1.6;
}
.m-footer-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.m-footer-subtitle span {
    color: #fcae1a;
}
.m-form-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.m-form-group label {
    width: 30%;
    font-size: 1.1rem;
    font-weight: 500;
}
.m-form-group input {
    width: 70%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 8px 0;
    font-size: 1.1rem;
    color: #000;
    outline: none;
}
.m-form-group input:focus {
    border-bottom-color: #fcae1a;
}
.m-submit-btn {
    background: #fcae1a;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    transition: 0.3s;
}
.m-submit-btn img {
    width: 18px;
}
.m-submit-btn:hover {
    background: #000;
}

@media (max-width: 768px) {
    .m-footer-container {
        flex-direction: column;
        gap: 60px;
    }
    .m-footer-title {
        font-size: 3rem;
    }
    .m-form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .m-form-group label, .m-form-group input {
        width: 100%;
    }
}








