/*
 * ============================================================
 *  VIJAY PLASTICS — DEDICATED MOBILE RESPONSIVE STYLESHEET
 *  Loaded AFTER style.css to override all desktop styles
 *  All rules wrapped in @media so desktop is 100% untouched
 * ============================================================
 */

/* ─────────────────────────────────────────────────────────
   BASE: Prevent horizontal scroll on all screens ≤ 991px
   ───────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        background-color: #0e222f !important;  /* footer color → no black gap below footer */
    }
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 18px !important;
    }

    /* Show top contact bar on mobile and style it like screenshot */
    .main-header {
        display: block !important;
        background: #284b63; /* Dark blue matching screenshot */
        padding: 14px 0 14px 0 !important; /* reduced bottom space under address */
    }
    .main-head {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        flex-direction: row; /* allow wrapping */
    }
    .main-content {
        margin: 0 !important;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .main-content:nth-child(3) {
        width: 100%;
        justify-content: center;
        margin-top: 5px !important;
    }
    /* ─── HERO / SLIDER ─── */
    .silder-section {
        height: auto !important;
        min-height: unset !important;
        padding-top: 80px !important;
        padding-bottom: 40px !important;
        background: #FDFCF0 !important; /* Cream background matching screenshot */
    }
    .silder-inner {
        display: flex !important;
        flex-direction: column-reverse !important; /* Image on top, text on bottom */
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .right-text {
        width: 100% !important;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .right-text img {
        width: 90% !important;
        max-width: 350px !important;
        height: auto !important;
    }
    .left-text {
        width: 100% !important;
        position: relative !important;
    }
    .left-text h2 {
        font-size: 42px !important;
        line-height: 48px !important;
        margin-bottom: 14px !important;
        color: #284b63 !important; /* Dark teal for heading */
        font-weight: 800 !important;
        font-family: var(--montserrat) !important;
    }
    .left-text h2 span {
        color: #284b63 !important;
    }
    .left-text p {
        font-size: 15px !important;
        color: #666 !important;
    }
    .left-text h2 span {
        font-size: 44px !important;
        display: block !important;
    }
    .left-text p {
        font-size: 14px !important;
        line-height: 22px !important;
        margin-bottom: 24px !important;
    }
    .left-text button {
        width: 165px !important;
        height: 48px !important;
        font-size: 14px !important;
        margin-right: 0 !important;
    }
    .right-text {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        height: 240px !important;
        overflow: hidden !important;
    }
    .brand-hero-image,
    .right-text img:first-child {
        width: 230px !important;
        height: auto !important;
        position: relative !important;
        transform: rotate(10deg) !important;
    }
    /* hide second decorative image */
    .right-text .second-image { display: none !important; }

    /* ─── EXCELLENCE (DARK) SECTION ─── */
    .Excellence-section {
        border-radius: 20px !important;
        top: -16px !important;
        padding-bottom: 30px !important;
        min-height: unset !important;
        height: auto !important;
    }
    .excell-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 50px 0 30px !important;
        gap: 24px !important;
    }
    .left-excell {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
        width: 100% !important;
    }
    .left-box,
    .left-box-1 {
        width: 155px !important;
        height: 155px !important;
        margin-left: 0 !important;
    }
    /* Hide decorative circles */
    .round-excell,
    .round-excell-1 { display: none !important; }
    .right-excell {
        width: 100% !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
    .right-excell h2 {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 12px !important;
    }
    .right-excell p { font-size: 14px !important; }

    /* ─── STATS COUNTERS ─── */
    .excell-inner-section { padding: 40px 0 !important; }
    .excell-inner-sec-1 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .inner-excell,
    .inner-excell-1 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
    }

    /* ─── OUR CLIENTS HEADING ─── */
    .excell-inner-section .container > div[style] h2 {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    .tape-text-container {
        margin-top: 20px !important;
    }
    .tape-text {
        font-size: 15px !important;
        letter-spacing: 1.5px !important;
    }

    /* ─── WHY CHOOSE US ─── */
    .choose-section {
        padding: 40px 0 !important;
        top: 0 !important;           /* desktop top:40px pushed it onto Our Product Range */
        margin: 0 !important;
        height: auto !important;
        border-radius: 0 !important; /* 50px corners revealed dark backdrop top & bottom */
    }
    .choose-inner-section {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 30px !important;
    }
    .first-choose {
        width: 100% !important;
    }
    .first-choose h1 {
        font-size: 26px !important;
        line-height: 34px !important;
        margin-bottom: 12px !important;
    }
    .first-choose p {
        font-size: 13px !important;
        line-height: 20px !important;
        margin-bottom: 16px !important;
    }
    .first-choose button {
        width: 140px !important;
        height: 40px !important;
        font-size: 13px !important;
        margin-right: 0 !important;
    }
    .second-section {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }
    /* Fixed overlapping image by making it a standard responsive block */
    .second-inner-box {
        width: 100% !important;
        max-width: 280px !important;
        height: auto !important;
        position: relative !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }
    .second-inner-box img {
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 auto !important;
    }
    .third-scetion {
        width: 100% !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .third-box,
    .third-box-1,
    .third-box-2 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        border-radius: 12px !important;
        padding: 14px !important;
        margin-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .third-box h3,
    .third-box-1 h3,
    .third-box-2 h3 {
        font-size: 15px !important;
        margin: 0 !important;
    }
    .third-box i,
    .third-box-1 i,
    .third-box-2 i {
        font-size: 20px !important;
        margin-top: 0 !important;
    }
    /* Center the icon inside its circle (desktop used absolute top/left) */
    .round-third,
    .round-third-1,
    .round-third-2 {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .round-third i,
    .round-third-1 i,
    .round-third-2 i {
        position: static !important;
        top: auto !important;
        left: auto !important;
        margin: 0 !important;
    }

    /* ─── PRODUCTS SECTION ─── */
    .product-section { padding: 40px 0 !important; }
    .product-hading h1 {
        font-size: 26px !important;
        line-height: 34px !important;
    }
    .product-grid-cols {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 16px !important;
    }
    .product-col {
        width: calc(50% - 8px) !important;
        min-width: unset !important;
    }
    .flip-card-container {
        height: 240px !important;
    }
    .flip-card-container .inner p { font-size: 12px !important; }

    /* ─── OUR SERVICES (homepage) ─── */
    .excell-printing {
        padding: 40px 0 !important;
        background: #f8fafc !important;
        height: auto !important;       /* desktop locks 746px → big empty gap on mobile */
        min-height: 0 !important;
        border-radius: 0 !important;
    }
    .excell-hading h1 {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 24px !important;
    }
    /* Compact 2x2 grid — icon + title only, all 4 cards visible */
    .exc-inner-box {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }
    .ecx-box,
    .ecx-box-2,
    .ecx-box-3,
    .ecx-box-4 {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 22px 12px !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 18px rgba(0,0,0,0.07) !important;
        border: 1px solid #eef2f7 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .ecx-round,
    .ecx-round-2,
    .ecx-round-3,
    .ecx-round-4 {
        width: 54px !important;
        height: 54px !important;
        margin: 0 !important;
    }
    .ecx-round i, .ecx-round-2 i, .ecx-round-3 i, .ecx-round-4 i {
        font-size: 22px !important;
    }
    .ecx-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        width: 100% !important;
    }
    .ecx-box h2, .ecx-box-2 h2, .ecx-box-3 h2, .ecx-box-4 h2 {
        font-size: 14px !important;
        line-height: 19px !important;
        color: var(--maincolor) !important;
        margin: 0 !important;
    }
    /* Hide long description + learn-more on mobile for compact cards */
    .ecx-box .ecx-content p, .ecx-box-2 .ecx-content p,
    .ecx-box-3 .ecx-content p, .ecx-box-4 .ecx-content p {
        display: none !important;
    }
    .inner-ex-icon, .inner-ex-icon-2, .inner-ex-icon-3, .inner-ex-icon-4 {
        display: none !important;
    }

    /* ─── TESTIMONIALS ─── */
    .customer-section { padding: 50px 0 !important; }
    .customer-text h1 {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    .customer-innr {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important; 
        margin-top: 40px !important;
    }
    .customer-inner-boxing {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        padding: 30px 20px 24px 20px !important;
        position: relative !important;
        text-align: center !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 30px rgba(3, 81, 217,0.08) !important;
        border: 1px solid #f1f5f9 !important;
        margin-top: 25px !important; /* Make room for overlapping avatar */
    }
    .customer-inner-boxing > div:first-child {
        /* Fixing the absolute avatar */
        position: absolute !important;
        top: -30px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        width: 70px !important;
        height: 70px !important;
        border-radius: 50% !important;
        border: 4px solid #ffffff !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }
    .customer-inner-boxing h2 {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        font-size: 18px !important;
        color: var(--maincolor) !important;
        margin: 10px 0 12px 0 !important;
        font-weight: 700 !important;
    }
    .customer-inner-boxing p {
        font-size: 13px !important;
        line-height: 22px !important;
        color: #475569 !important;
        font-style: italic !important;
    }

    /* ─── CUSTOM DESIGN (Hidden on Mobile) ─── */
    .custome-design,
    .custome-design-1 {
        display: none !important;
    }

    /* ─── HOW WE WORK ─── */
    .worksection,
    .worksection-1 {
        display: none !important;
    }

    /* ─── FOOTER ─── */
    .footer-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
        text-align: center !important;
    }
    .footer-box,
    .footer-box-1 {
        width: 100% !important;
        max-width: 100% !important;
    }
    .socail {
        justify-content: center !important;
    }
    .number-1 ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* ─────────────────────────────────────────────────────────
   MOBILE (≤ 650px) — Phones in portrait
   ───────────────────────────────────────────────────────── */
@media (max-width: 650px) {

    /* ─── HEADER ─── */
    .sub-head img { width: 120px !important; }
    .sub-head button { width: 130px !important; height: 38px !important; font-size: 12px !important; }
    ul.main > li { padding: 4px 5px !important; }
    ul.main li a { font-size: 12px !important; }

    /* ─── HERO ─── */
    .silder-section { padding-top: 100px !important; }
    .left-text h2 {
        font-size: 30px !important;
        line-height: 38px !important;
    }
    .left-text h2 span { font-size: 36px !important; }
    .left-text p { font-size: 13px !important; }
    .left-text button {
        width: 145px !important;
        height: 44px !important;
        font-size: 13px !important;
    }
    .right-text { height: 210px !important; }
    .brand-hero-image,
    .right-text img:first-child { width: 195px !important; }

    /* ─── EXCELLENCE ─── */
    .left-box,
    .left-box-1 {
        width: 138px !important;
        height: 138px !important;
        padding: 12px !important;
    }
    .left-box h4,
    .left-box-1 h4 { font-size: 14px !important; }
    .left-box p,
    .left-box-1 p { font-size: 12px !important; line-height: 15px !important; }
    .right-excell h2 { font-size: 24px !important; }

    /* ─── STATS ─── */
    .inner-excell h1,
    .inner-excell-1 h1 { font-size: 24px !important; }

    /* ─── WHY CHOOSE US ─── */
    .first-choose h1 { font-size: 28px !important; }
    .second-inner-box { width: 240px !important; height: 180px !important; }
    .second-inner-box img { width: 260px !important; top: -35px !important; }

    /* ─── PRODUCTS ─── */
    .product-col { width: 100% !important; }
    .flip-card-container { height: 250px !important; }

    /* ─── SERVICES (keep compact 2x2 on phones) ─── */
    .exc-inner-box {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .ecx-box h2, .ecx-box-2 h2, .ecx-box-3 h2, .ecx-box-4 h2 {
        font-size: 13px !important;
        line-height: 18px !important;
    }

    /* ─── TESTIMONIALS ─── */
    .customer-text h1 { font-size: 24px !important; }
    .customer-inner-boxing {
        padding: 20px 16px 80px 16px !important;
    }

    /* Section hidden */

    /* ─── HOW WE WORK (Hidden) ─── */

    /* ─── PRODUCT PAGE ─── */
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
    .custom-form-grid { grid-template-columns: 1fr !important; }
    .form-group-full { grid-column: span 1 !important; }
    .product-detail-banner {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
    }
    .product-detail-banner h1 {
        font-size: 22px !important;
    }
    .custom-solution-container { padding: 20px 14px !important; }
    .custom-solution-header h2 { font-size: 20px !important; }

    /* ─── TICKER ─── */
    .tape-text { font-size: 14px !important; }

    /* ─── ABOUT PAGE ─── */
    .silder-section-about {
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 30px !important;
    }
    .about-silder-text h1 { font-size: 38px !important; }
    .about-silder-text-1 { grid-template-columns: 1fr !important; }
    .first-1 h1,
    .first-2 h1 { font-size: 70px !important; text-align: center !important; }

    /* ─── SERVICE PAGE ─── */
    .silder-section-service {
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 30px !important;
    }

    /* ─── CONTACT PAGE ─── */
    .contact-inner-box {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .third-box-about,
    .third-box-about-2 {
        width: 100% !important;
        height: auto !important;
        border-radius: 14px !important;
        padding: 16px !important;
    }

    /* ─── GALLERY ─── */
    .accordion-container-block { display: none !important; }
    .mobile-gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* ─── CLIENTS PAGE INDUSTRY GRID ─── */
    div[style*="grid-template-columns: repeat(auto-fit, minmax(320px"] {
        grid-template-columns: 1fr !important;
    }

    /* ─── FOOTER ─── */
    .footer-inner { padding: 28px 14px !important; }
}

/* ─────────────────────────────────────────────────────────
   SMALL MOBILE (≤ 480px) — iPhone SE / small androids
   ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {

    .container { padding: 0 14px !important; }

    /* ─── HEADER ─── */
    .sub-head { padding: 10px !important; }
    .sub-head img { width: 105px !important; }
    .sub-head button { width: 120px !important; height: 36px !important; font-size: 11px !important; }
    ul.main > li { padding: 3px 4px !important; }

    /* ─── HERO ─── */
    .silder-section { padding-top: 90px !important; }
    .left-text h2 {
        font-size: 26px !important;
        line-height: 34px !important;
    }
    .left-text h2 span { font-size: 30px !important; }
    .left-text p { font-size: 12px !important; line-height: 20px !important; }
    .left-text button {
        width: 135px !important;
        height: 42px !important;
        font-size: 12px !important;
    }
    .right-text { height: 185px !important; }
    .brand-hero-image,
    .right-text img:first-child { width: 170px !important; }

    /* ─── EXCELLENCE ─── */
    .left-box,
    .left-box-1 {
        width: 120px !important;
        height: 120px !important;
    }
    .right-excell h2 { font-size: 20px !important; }

    /* ─── STATS ─── */
    .inner-excell h1,
    .inner-excell-1 h1 { font-size: 20px !important; }

    /* ─── SECTION HEADINGS ─── */
    .product-hading h1 { font-size: 22px !important; }
    .excell-hading h1 { font-size: 22px !important; }
    .first-choose h1 { font-size: 24px !important; }
    .customer-text h1 { font-size: 22px !important; }

    /* Section hidden */

    /* ─── TICKER ─── */
    .tape-text { font-size: 12px !important; letter-spacing: 1px !important; }

    /* ─── PRODUCTS ─── */
    .flip-card-container { height: 230px !important; }
    .flip-card-container .inner p { font-size: 12px !important; }

    /* ─── EXCELLENCE SECTION (ABOUT / WHAT WE DO) ─── */
    .Excellence-section {
        background: #ffffff !important;        /* shorthand kills the dark gradient image */
        background-image: none !important;     /* dark text was invisible over gradient */
        padding: 50px 0 !important;
        height: auto !important;
    }
    .excell-section {
        display: flex !important;
        flex-direction: column-reverse !important; /* Text on top, boxes on bottom */
        gap: 40px !important;
    }
    .right-excell {
        padding-left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    .right-excell h4 {
        color: #ffb400 !important; /* Packega often uses bright accent like orange/yellow */
        font-size: 14px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }
    .right-excell h2 {
        color: #173346 !important;
        font-size: 32px !important;
        line-height: 40px !important;
        margin-bottom: 20px !important;
        font-family: var(--montserrat) !important;
        font-weight: 800 !important;
    }
    .right-excell p {
        color: #666666 !important;
        font-size: 15px !important;
        line-height: 24px !important;
        text-align: center !important;
    }
    .left-excell {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .left-excell .left-box, .left-excell .left-box-1 {
        width: 100% !important;
        height: auto !important;
        padding: 30px 20px !important;
        background: #FDFCF0 !important; /* Soft cream/white like Packega cards */
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
        border: 1px solid rgba(0,0,0,0.03) !important;
    }
    .left-excell h4 {
        color: #173346 !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }
    .left-excell p {
        color: #666666 !important;
        font-size: 14px !important;
        line-height: 22px !important;
        text-align: center !important;
    }
    .left-excell .left-box > div, .left-excell .left-box-1 > div {
        background-color: #284b63 !important; /* Dark teal background for icon */
        margin-bottom: 20px !important;
        box-shadow: 0 5px 15px rgba(40,75,99,0.3) !important;
    }
    .left-excell i {
        color: #ffffff !important;
    }
}

/* ─────────────────────────────────────────────────────────
   HOME PAGE FIXES — appended last so they override everything
   (correct heading sizes, stats grid, testimonial avatars)
   ───────────────────────────────────────────────────────── */
@media (max-width: 991px) {

    /* ─── SECTION HEADINGS (Materials + Clients) ─── */
    .materials-section h2,
    .excell-inner-section .container > div[style] h2 {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    .materials-section h4,
    .excell-inner-section .container > div[style] h4 {
        font-size: 13px !important;
        letter-spacing: 1.5px !important;
    }
    .materials-section { padding: 40px 0 !important; }
    .materials-section h3 { font-size: 19px !important; margin-bottom: 12px !important; }
    .materials-section p { font-size: 14px !important; line-height: 22px !important; }
    .materials-section .container > div:nth-child(2) { gap: 18px !important; }

    /* ─── OUR CLIENTS MARQUEE — shrink logos, fix spacing + speed ─── */
    .tape-text-container {
        padding: 16px 0 !important;
        margin-top: 24px !important;
        border-radius: 12px !important;
    }
    /* base `* { max-width:100% }` was capping the strip to viewport → copies overlapped */
    .tape-text-wrapper,
    .tape-text {
        max-width: none !important;
    }
    .tape-text {
        gap: 32px !important;
        padding: 0 16px !important;
    }
    .tape-text img,
    .tape-text .client-logo-svg,
    .tape-text .client-logo-png {
        height: 34px !important;
        width: auto !important;
        max-width: 105px !important;
        object-fit: contain !important;
    }
    .tape-text-wrapper {
        animation-duration: 18s !important;   /* a bit faster scroll */
    }

    /* ─── STATS COUNTERS (actual class is .excell-inner-sec) ─── */
    .excell-inner-sec {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 12px !important;
        align-items: start !important;
        justify-items: center !important;
    }
    .excell-inner-sec .inner-excell,
    .excell-inner-sec .inner-excell-1 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        gap: 10px !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .excell-inner-sec .inner-excell-box,
    .excell-inner-sec .inner-excell-box-1 {
        margin: 0 auto !important;   /* desktop margin-right:25px shifted icon off-center */
    }
    .excell-inner-sec h1 {
        font-size: 26px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        text-align: center !important;
    }
    .excell-inner-sec h1 p { font-size: 13px !important; margin-top: 2px !important; }

    /* ─── OUR SERVICES — heading was white on light bg (invisible) ─── */
    .excell-printing .excell-hading h1 {
        color: var(--maincolor) !important;
    }
    .excell-printing .excell-hading > p {
        color: #64748b !important;
        margin-bottom: 24px !important;
    }

    /* ─── TESTIMONIALS SECTION BG — kill rounded corners + patchy texture ─── */
    .customer-section {
        /* smooth downward dome (convex) so it drapes into the ribbon below */
        border-radius: 0 0 50% 50% / 0 0 60px 60px !important;
        background-image: none !important;    /* drop patchy asset 21.jpeg texture */
        background-color: #284b63 !important;  /* clean solid teal matching the site */
        margin: 0 0 -1px 0 !important;
        padding: 55px 0 80px 0 !important;
        position: relative !important;
        z-index: 2 !important;                 /* sit above the ribbon so the curve reads cleanly */
    }
    /* Footer ribbon below: pull it up under the teal dome so they merge with no gap */
    .footer-ribbon {
        margin-top: -60px !important;
        padding: 84px 0 30px 0 !important;   /* extra top pad so text clears the teal curve */
        border-radius: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .customer-section::after {
        display: none !important;             /* remove the teal overlay layer */
    }

    /* ─── TESTIMONIALS — move avatar to top-center (was floating bottom) ─── */
    .customer-inner-boxing {
        padding: 50px 18px 24px 18px !important;
        min-height: unset !important;
        height: auto !important;
        overflow: visible !important;
    }
    /* The avatar is the only direct child div with inline position:absolute */
    .customer-inner-boxing > div[style*="absolute"] {
        position: absolute !important;
        top: -34px !important;
        left: 50% !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        width: 68px !important;
        height: 68px !important;
        margin: 0 !important;
        border: 4px solid #ffffff !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
    }
    .customer-inner-boxing h2 {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 14px !important;
    }
}
