/* =================================================================
   DIGITAL BANAANA – media.css
   All @media breakpoints for every class across every page.
   Load order: style.css → media.css

   BREAKPOINT MAP
   --xs  : max-width: 599px   (mobile phones)
   --sm  : min-width: 600px   (large phones / small tablets)
   --md  : min-width: 768px   (tablets)
   --lg  : min-width: 1024px  (desktops)
   --xl  : min-width: 1400px  (large desktops)
   ================================================================= */


/* =================================================================
   XS – Mobile only  (max-width: 599px)
   ================================================================= */
@media (max-width: 599px) {

    /* ---- Navbar / Hero Header ---- */
    .hero-header {
        padding: 16px 16px 0;
    }

    .hero-header .logo img {
        height: 80px;
        margin-top: -5px;
    }

    .hero-header.nav-scrolled .logo img {
        height: 65px;
        margin-top: -5px;
    }

    /* ---- Footer Logo ---- */
    .footer-logo-img {
        height: 100px;
        width: 100px;
        margin-right: 0;
    }

    /* ---- Menu ---- */
    .menu-overlay {
        width: 100%;
    }

    .menu-overlay-content {
        padding-left: 28px !important;
        text-align: left !important;
    }

    .menu-item {
        font-size: 36px;
    }

    .menu-item:hover {
        font-size: 42px;
    }

    .menu-footer p {
        font-size: 15px !important;
    }

    .menu-email {
        font-size: 15px !important;
    }

    /* ---- Hero ---- */
    .hero-title {
        font-size: 2.8rem;
        line-height: 0.95;
        max-width: 100%;
        margin-top: 14vh;
    }

    .hero-mascot {
        width: 160px;
        right: 10px;
        top: 8vh;
    }

    /* ---- About ---- */
    .about-section {
        padding: 40px 20px 20px;
    }

    .about-page-wrapper {
        padding-top: 80px !important;
    }

    .about-title {
        font-size: 3rem !important;
        margin-bottom: 16px !important;
    }

    .about-hero-box {
        margin-bottom: 0 !important;
        aspect-ratio: 4/3 !important;
    }

    .about-hero {
        padding-bottom: 0 !important;
    }

    .about-hero .contact-container,
    .story-section .contact-container {
        min-height: unset !important;
    }

    .story-section {
        margin-bottom: 0 !important;
        padding: 24px 0 !important;
    }

    .story-flex {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .ingredients-label {
        font-size: 2.5rem !important;
        white-space: nowrap !important;
        margin-bottom: 24px !important;
    }

    .team-grid-precise {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    .team-card {
        flex: 1 1 calc(50% - 10px) !important;
        height: 250px !important;
    }

    .team-name {
        font-size: 1.1rem !important;
    }

    .team-role {
        font-size: 0.8rem !important;
    }

    .scroll-text-container {
        font-size: 2.2rem !important;
        /* Adjusted slightly larger */
    }

    .sticky-highlight-bar {
        height: auto !important;
        padding: 40px 0 80px !important;
        top: 10vh !important;
    }

    .about-hero-text {
        font-size: clamp(2.2rem, 7vw, 3rem);
        line-height: 1.45;
    }

    .story-title {
        font-size: 2.2rem !important;
        white-space: nowrap !important;
    }

    .desktop-br {
        display: none;
    }

    .mobile-space {
        display: inline;
    }

    /* ---- Work ---- */
    .work-image-box {
        padding: 30px;
    }

    .work-info-bar {
        padding: 30px 20px;
    }

    .work-title {
        font-size: 2.2rem;
    }

    .work-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .work-arrow {
        width: 32px !important;
        height: 32px !important;
    }

    .work-section {
        height: auto !important;
    }

    .work-stack-wrapper {
        position: relative !important;
        height: auto !important;
        display: block !important;
        padding: 0 16px 48px !important;
        /* Side margins + bottom spacing */
        background: #000 !important;
        overflow: visible !important;
    }

    .work-stack-wrapper::after {
        display: none !important;
        /* Remove the pseudo-element that creates overlay */
    }

    .work-stack-container {
        height: auto !important;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .dzinr-panel.stack-card {
        position: relative !important;
        height: auto !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        border-radius: 12px !important;
        /* Rounded corners look good with side margins */
        border: none !important;
        overflow: hidden !important;
    }

    .dzinr-card {
        border-radius: 12px !important;
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .dzinr-img-wrap {
        height: 250px;
        width: 100%;
        border-radius: 12px 12px 0 0 !important;
    }

    .dzinr-bottom {
        color: #ffffff !important;
        padding: 20px 20px 0 20px !important;
    }

    .dzinr-meta-row {
        margin-bottom: 10px !important;
    }

    .dzinr-meta-row span {
        font-family: var(--font-main) !important;
        font-weight: 400 !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
    }

    .dzinr-title-row {
        margin-top: 0 !important;
    }

    .dzinr-title {
        font-family: var(--font-heading) !important;
        font-size: 30px !important;
        font-weight: 800 !important;
        line-height: 1.4 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
    }

    .dzinr-arrow-btn {
        display: none !important;
    }

    .dzinr-hover-wrap {
        padding: 0 !important;
        display: block !important;
    }

    .dzinr-top-text,
    .dzinr-bottom-text {
        display: none !important;
    }

    .dzinr-center-text {
        position: relative !important;
        transform: none !important;
        white-space: normal !important;
    }

    .dzinr-placeholder {
        display: none !important;
    }

    .work-card-title {
        font-size: 1.8rem !important;
        /* Larger project titles on work page */
    }

    .work-grid-premium,
    .work-grid {
        gap: 20px 0 !important;
    }

    /* ---- Services ---- */
    /* ---- Services ---- */
    .services-section {
        position: relative !important;
        padding: 160px 0 24px 32px !important;
        scroll-padding-left: 32px !important;
        /* Extra top padding for absolute heading */
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        /* Forces all cards to match the height of the tallest one */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
    }

    .services-section::-webkit-scrollbar {
        display: none;
    }

    .services-heading {
        position: sticky !important;
        left: -10px !important;
        width: 0 !important;
        margin-left: -42px !important;
        margin-right: 26px !important;
        font-size: 12vw !important;
        align-self: flex-start !important;
        transform: translateY(-100px) !important;
        z-index: 10 !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }

    .svc-card-link {
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 82vw !important;
        width: 82vw !important;
        margin-right: 0 !important;
        scroll-snap-align: start !important;
    }

    .svc-card-link:last-of-type {
        margin-right: 16px !important;
    }

    .svc-card {
        flex-direction: column;
        border-radius: 12px;
        height: 100% !important;
        /* Stretch inner card to match equalized container height */
        display: flex !important;
    }

    .svc-abbr-wrap {
        flex: 0 0 140px;
        padding: 20px 20px 12px;
        border-right: none;
        border-bottom: 1px solid #fff;
        justify-content: flex-start;
    }

    .svc-card:hover .svc-abbr-wrap,
    .svc-card.mouse-active .svc-abbr-wrap {
        border-bottom-color: #000;
    }

    .svc-abbr-outline {
        font-size: 120px;
    }

    .ms-text {
        font-size: 120px;
    }

    /* ...at other breakpoints... */
    .ms-text {
        font-size: 170px;

    }

    /* ...at largest breakpoint... */
    .ms-text {
        font-size: 260px;
        margin-left: -25px;
        margin-top: -5px;
    }

    .svc-content {
        padding: 16px 20px 22px;
        gap: 10px;
    }

    .svc-card-title {
        font-size: 2.2rem;
    }

    .svc-card:hover .svc-card-title,
    .svc-card.mouse-active .svc-card-title {
        font-size: 1.8rem;
    }

    .svc-list {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        margin-top: 16px !important;
    }

    .svc-list li {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .svc-card:hover .svc-list li,
    .svc-card.mouse-active .svc-list li {
        color: rgba(0, 0, 0, 0.7) !important;
    }

    .svc-card:hover .svc-list li::marker,
    .svc-card.mouse-active .svc-list li::marker {
        color: rgba(0, 0, 0, 0.5) !important;
    }

    /* ---- Clients ---- */
    .clients-section {
        padding: 40px 0 !important;
        min-height: auto !important;
        border-bottom: none !important;
    }

    .clients-track-wrapper::before,
    .clients-track-wrapper::after {
        width: 60px !important;
        /* Reduce massive desktop fade gradients */
    }

    .client-box {
        width: 160px !important;
        height: 90px !important;
        border-width: 2px !important;
        /* Slimmer borders for mobile */
    }

    .client-logo {
        height: 50px !important;
        max-width: 80% !important;
    }

    /* ---- Tagline ---- */
    .tagline {
        padding: 20px 5vw 80px !important;
        min-height: auto !important;
        border-top: none !important;
        margin-top: -2px !important;
        /* Close any sub-pixel gap causing white lines */
        position: relative;
        z-index: 2;
        background-color: #000 !important;
    }

    .tagline-container {
        justify-content: flex-start !important;
        border: none !important;
    }

    .tagline-content {
        border: none !important;
    }

    .tagline-text {
        margin-left: 0 !important;
        line-height: 0.95 !important;
        /* Slightly tighter line height for larger text */
        text-align: left !important;
        width: 100% !important;
    }

    .tagline-text span {
        white-space: normal !important;
        /* Allow wrapping if text is too big for screen */
        word-break: break-word !important;
    }

    .line-1 {
        font-size: 12vw !important;
    }

    .line-2 {
        font-size: 11.2vw !important;
    }

    .line-3 {
        font-size: 9.2vw !important;
    }

    .tagline-icon-link {
        right: -12px !important;
        bottom: 5px !important;
    }

    .tagline-banana-icon {
        width: 65px !important;
    }


    /* ---- CTA ---- */
    .cta-section {
        padding: 22px 16px;
    }

    .cta-question {
        font-size: 0.82rem;
    }

    .btn-cta {
        font-size: 0.78rem;
        padding: 9px 20px;
    }

    .cta-right .cta-logo .logo-digital {
        font-size: 1.3rem;
    }

    .cta-right .cta-logo .logo-banana {
        font-size: 0.75rem;
    }

    /* ---- Footer ---- */
    .site-footer {
        padding: 0;
    }

    .footer-main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 32px 16px 24px;
        gap: 20px;
    }

    .footer-cta-question {
        margin-left: 0;
        font-size: 1.8rem;
    }

    .footer-chat-btn {
        margin-left: 0;
        font-size: 1.1rem;
        padding: 10px 40px;
    }

    .footer-socials {
        margin-left: 0;
    }

    .footer-logo-big {
        justify-content: flex-end;
        align-self: flex-start;
        margin-top: 15px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 16px 24px;
        gap: 8px;
    }

    .footer-nav a {
        font-size: 0.8rem;
        padding: 4px 10px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 24px;
    }

    .footer-copy-container {
        text-align: center;
        align-items: center;
    }

    /* ---- Contact Hero ---- */
    .contact-hero-nav {
        padding: 14px 16px 0;
    }

    .contact-hero-content {
        padding: 70px 16px 20px;
    }

    .contact-hero-title {
        font-size: 2.8rem;
    }

    .contact-phone-img {
        max-height: 160px;
    }

    /* ---- Contact Form ---- */
    .contact-form-section {
        padding: 24px 16px 0;
    }

    .contact-form-inner {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-left {
        max-width: 100%;
    }

    .contact-form-heading {
        font-size: 1.6rem;
    }

    .contact-label {
        font-size: 0.78rem;
    }

    .cf-field input,
    .cf-field input::placeholder {
        font-size: 0.8rem;
    }

    .cf-submit-btn {
        font-size: 1.1rem;
        padding: 12px 28px;
    }

    /* ---- Contact Collab ---- */
    .contact-collab-section {
        padding: 24px 16px 16px;
    }

    .contact-collab-label {
        font-size: 0.75rem;
    }

    .contact-collab-heading {
        font-size: 1.15rem;
    }

    /* ---- Contact Info ---- */
    .contact-info-section {
        padding: 28px 16px 36px;
    }

    .contact-info-title {
        font-size: 1.6rem;
    }

    .contact-info-text {
        font-size: 0.78rem;
    }

    .contact-info-icon {
        width: 28px;
        height: 28px;
    }
}


/* =================================================================
   SM – Large phones / Small tablets  (min-width: 600px)
   ================================================================= */
@media (min-width: 600px) {

    /* ---- Hero ---- */
    .hero-title {
        font-size: 3.5rem;
        line-height: 0.95;
        max-width: 500px;
    }

    .hero-mascot {
        width: 220px;
        right: 20px;
        top: 10vh;
    }

    /* ---- Menu ---- */
    .menu-item {
        font-size: 56px;
    }

    .menu-item:hover {
        font-size: 64px;
    }

    /* ---- Contact ---- */
    .contact-hero-title {
        font-size: 3.2rem;
    }

    .contact-form-heading {
        font-size: 2rem;
    }

    .contact-collab-heading {
        font-size: 1.3rem;
    }
}


/* =================================================================
   MD – Tablets  (min-width: 768px)
   ================================================================= */
@media (min-width: 768px) {

    /* ---- Hero ---- */
    .hero-title {
        font-size: 4.5rem;
        line-height: 0.95;
        max-width: 700px;
    }

    .hero-mascot {
        width: 260px;
        right: 30px;
        top: 14vh;
    }

    /* ---- About ---- */
    .about-section {
        padding: 120px 32px 120px;
    }

    /* ---- Work ---- */
    .work-title {
        font-size: 3.8rem;
    }

    /* ---- Services ---- */
    .services-section {
        padding: 48px 28px 60px;
        gap: 24px;
    }

    .svc-card {
        min-height: 130px;
        border-radius: 14px;
    }

    .svc-abbr-wrap {
        flex: 0 0 200px;
    }

    .svc-abbr-outline {
        font-size: 170px;
    }

    .svc-card-title {
        font-size: 3rem;
    }

    .svc-card:hover .svc-card-title,
    .svc-card.mouse-active .svc-card-title {
        font-size: 2.4rem;
    }

    .svc-list li {
        font-size: 0.88rem;
    }

    .svc-content {
        padding: 20px 28px;
    }

    /* ---- Tagline ---- */
    .tagline-section {
        padding: 36px 32px 30px;
    }



    /* ---- CTA ---- */
    .cta-section {
        padding: 32px 32px;
    }

    .cta-question {
        font-size: 0.92rem;
    }

    .btn-cta {
        font-size: 0.85rem;
        padding: 10px 28px;
    }

    /* ---- Footer ---- */
    .footer-main {
        padding: 40px 32px 32px;
    }

    .footer-nav,
    .footer-bottom {
        padding-left: 32px;
        padding-right: 32px;
    }

    /* ---- Contact ---- */
    .contact-hero-title {
        font-size: 4rem;
    }

    .contact-form-inner {
        gap: 32px;
    }

    .contact-form-heading {
        font-size: 2.1rem;
    }

    .contact-collab-heading {
        font-size: 1.6rem;
    }

    .contact-info-title {
        font-size: 2.2rem;
    }

    .contact-info-text {
        font-size: 0.86rem;
    }
}


/* =================================================================
   LG – Desktop  (min-width: 1024px)
   FIX: Standardised all font-size values to rem (were mixing rem
   and px). Removed suspicious margin-bottom: 200px on
   .about-right-heading (no design justification for such a large
   fixed value). Increased .svc-card min-height to 190px to match
   original design intent — the MD value (130px) was a tablet-only
   compact view.
   ================================================================= */
@media (min-width: 1024px) {

    /* ---- Navbar / Hero Header ---- */
    .hero-header {
        padding: 36px 60px 0 60px;
    }

    /* ---- Hero ---- */
    .hero-title {
        font-size: 5.5rem;
        line-height: 0.95;
        max-width: 800px;
    }

    .hero-mascot {
        width: 340px;
        right: 10vw;
        top: 18vh;
    }

    /* ---- Menu ---- */
    .menu-toggle {
        width: 90px;
        height: 40px;
    }

    .menu-toggle .menu-text {
        font-size: 0.75rem;
    }

    .menu-item {
        font-size: 4rem;
    }

    .menu-item:hover {
        font-size: 4.5rem;
    }

    /* ---- About ---- */
    .about-section {
        padding: 160px 60px 160px;
    }

    .about-hero-text {
        line-height: 1.35;
    }

    /* ---- Work ---- */
    .work-title {
        font-size: 5rem;
    }

    /* ---- Services ---- */
    .services-section {
        padding: 60px 100px 72px;
        gap: 32px;
    }

    .svc-card {
        min-height: 180px;
        border-radius: 18px;

    }

    .svc-abbr-wrap {
        flex: 0 0 320px;
    }

    .svc-abbr-outline {
        font-size: 300px;
        margin-left: -80px;
        margin-top: -29px;
        margin-bottom: -25px;
    }

    .svc-card-title {
        font-size: 4.8rem;
    }

    .svc-card:hover .svc-card-title,
    .svc-card.mouse-active .svc-card-title {
        font-size: 3.2rem;
    }

    .svc-list li {
        font-size: 1.25rem;
    }

    .svc-content {
        padding: 32px 44px;
    }

    /* ---- Clients ---- */
    .clients-section {
        padding: 0;
    }

    /* ---- Tagline ---- */
    .tagline-section {
        padding: 48px 48px 40px;
    }



    /* ---- CTA ---- */
    .cta-section {
        padding: 40px 48px;
    }

    .cta-question {
        font-size: 1rem;
    }

    .btn-cta {
        font-size: 0.9rem;
        padding: 12px 32px;
    }

    .cta-right .cta-logo .logo-digital {
        font-size: 2.2rem;
    }

    .cta-right .cta-logo .logo-banana {
        font-size: 1.1rem;
    }

    /* ---- Footer ---- */
    .footer-main {
        padding: 56px 60px 48px;
    }

    .footer-nav,
    .footer-bottom {
        padding-left: 60px;
        padding-right: 60px;
    }

    /* ---- Contact Hero ---- */
    .contact-hero-nav {
        padding: 24px 40px 0;
    }

    .contact-hero-content {
        padding: 100px 40px 32px;
    }

    .contact-hero-title {
        font-size: 5rem;
    }

    .contact-phone-img {
        max-height: 300px;
    }

    /* ---- Contact Form ---- */
    .contact-form-section {
        padding: 48px 40px 0;
    }

    .contact-form-inner {
        gap: 48px;
    }

    .contact-form-heading {
        font-size: 2.4rem;
    }

    .contact-label {
        font-size: 1.5rem;
    }

    .cf-field input,
    .cf-field input::placeholder {
        font-size: 0.9rem;
    }

    .cf-submit-btn {
        font-size: 0.88rem;
        padding: 11px 24px;
    }

    /* ---- Contact Collab ---- */
    .contact-collab-section {
        padding: 48px 40px 32px;
    }

    .contact-collab-label {
        font-size: 0.9rem;
    }

    .contact-collab-heading {
        font-size: 2rem;
    }

    /* ---- Contact Info ---- */
    .contact-info-section {
        padding: 48px 40px 64px;
        margin-top: 32px;
    }

    .contact-info-title {
        font-size: 2.6rem;
        margin-bottom: 32px;
    }

    .contact-info-text {
        font-size: 0.92rem;
    }

    .contact-info-item {
        gap: 16px;
    }

    .contact-info-list {
        gap: 22px;
    }
}


/* =================================================================
   XL – Large Desktop  (min-width: 1400px)
   ================================================================= */
@media (min-width: 1400px) {

    /* ---- Hero ---- */
    .hero-title {
        font-size: 6.5rem;
        line-height: 0.95;
        max-width: 1000px;
    }

    /* ---- Tagline ---- */


    /* ---- Contact ---- */
    .contact-hero-content {
        padding: 110px 60px 36px;
    }

    .contact-hero-title {
        font-size: 6rem;
    }

    .contact-phone-img {
        max-height: 380px;
    }

    .contact-form-section {
        padding: 60px 60px 0;
    }

    .contact-form-inner {
        gap: 64px;
    }

    .contact-form-heading {
        font-size: 2.8rem;
    }

    .contact-collab-section {
        padding: 60px 60px 40px;
    }

    .contact-collab-heading {
        font-size: 2.4rem;
    }

    .contact-info-section {
        padding: 60px 60px 80px;
    }

    .contact-info-title {
        font-size: 3rem;
    }

    .contact-info-text {
        font-size: 1rem;
    }
}

/* =========================================================
   WORK PAGE RESPONSIVE STYLES
   ========================================================= */
@media (max-width: 1024px) {
    .work-page-wrapper {
        padding-top: 130px;
        padding-bottom: 80px;
    }

    .work-grid-premium {
        gap: 50px 32px;
    }

    .work-card-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background: #000 url('../images/DB HOME HERO mobile.jpg.jpeg') no-repeat center center / cover !important;
    }

    .hero-content {
        justify-content: flex-end;
        padding-top: 0;
        padding-bottom: 80px;
    }

    .about-section {
        margin-top: -15vh;
    }

    .hero-title {
        margin-top: 0;
    }

    .hero-header .logo img {
        height: 80px;
        margin-top: -5px;
    }

    .hero-header.nav-scrolled .logo img {
        height: 65px;
        margin-top: -5px;
    }

    .footer-logo-img {
        height: 100px;
        width: 100px;
        margin-right: 0;
    }

    .desktop-br {
        display: none;
    }

    .mobile-space {
        display: inline;
    }

    .footer-logo-big {
        align-self: flex-start;
        margin-top: 15px;
    }

    .footer-main {
        padding: 32px 24px 24px;
        gap: 20px;
    }

    .footer-cta-question {
        margin-left: 0;
        font-size: 2.2rem;
    }

    .footer-chat-btn {
        margin-left: 0;
        font-size: 1.3rem;
        padding: 10px 44px;
    }

    .footer-socials {
        margin-left: 0;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-nav a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        align-items: center;
    }

    .footer-copy-container {
        text-align: center;
        align-items: center;
    }

    .work-page-wrapper {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .work-filters {
        gap: 20px;
        padding-bottom: 15px;
    }

    .work-filter-btn {
        font-size: 0.95rem;
    }

    .work-grid-premium {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .work-card-title {
        font-size: 1.6rem;
    }

    .work-card-subtitle {
        font-size: 0.85rem;
    }

    .work-dot-indicator {
        margin: 20px 0 30px 0;
    }
}

/* =========================================================
   CASE STUDY RESPONSIVE STYLES (RAJSHRI & OTHERS)
   ========================================================= */
@media (max-width: 1024px) {
    .cs-hero {
        height: 55vh;
    }

    .cs-hero-logo-large {
        font-size: 4rem;
    }

    .cs-details {
        padding: 80px 0 30px 0;
    }

    .cs-details-grid {
        gap: 40px;
    }

    .cs-title {
        font-size: 2.8rem;
    }

    .cs-logo-card {
        height: 220px;
    }

    .cs-logo-text {
        font-size: 2.8rem;
    }

    .cs-related-grid {
        gap: 20px;
    }

    .cs-related-grid .work-item-card .work-card-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .case-study-page {
        padding-top: 100px;
    }

    .cs-hero {
        height: 40vh;
    }

    .cs-hero-logo-large {
        font-size: 3rem;
    }

    .cs-hero-logo-sub {
        font-size: 0.8rem;
        letter-spacing: 0.3em;
    }

    .cs-details {
        padding: 60px 0 20px 0;
    }

    .cs-details-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .cs-title {
        font-size: 2.3rem;
    }

    .cs-summary-text p {
        font-size: 1rem;
    }

    .cs-details-right {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-top: 0;
    }

    .cs-logo-grid-flex {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cs-logo-card {
        height: 180px;
    }

    .cs-two-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cs-logo-grid {
        padding: 20px 0;
    }

    .cs-full-image-section {
        padding: 5px 0;
    }

    .cs-laptop-showcase-section {
        padding: 20px 0 60px 0;
    }

    .cs-screen-top-bar {
        height: 24px;
    }

    .cs-screen-address {
        display: none;
        /* Hide URL bar on mobile to save space */
    }

    .cs-screen-inner {
        padding: 5% 6%;
    }

    .cs-screen-logo {
        font-size: 1.1rem;
    }

    .cs-screen-links {
        gap: 12px;
    }

    .cs-screen-links span {
        font-size: 0.65rem;
    }

    .cs-screen-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cs-screen-btn {
        padding: 6px 14px;
        font-size: 0.65rem;
    }

    .cs-related-projects-section {
        padding: 60px 0;
    }

    .cs-related-header {
        margin-bottom: 35px;
    }

    .cs-related-title {
        font-size: 1.8rem;
    }


    .cs-related-grid {
        display: flex;
        gap: 20px;
    }

    .cs-marquee-track {
        gap: 20px;
    }

    .cs-marquee-track .work-item-card {
        flex: 0 0 85vw;
        /* Almost full width for mobile */
    }

    @keyframes scroll-related-projects {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-50% - 10px));
        }

        /* half gap */
    }

    .cs-related-grid .work-item-card .work-card-img-wrap {
        aspect-ratio: 16/10;
    }

    /* =========================================================
       CONNECT PAGE RESPONSIVE
       ========================================================= */
    .contact-flex {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left {
        flex: 0 0 100%;
        width: 100%;
    }

    .contact-right {
        width: 100%;
        max-width: 100%;
    }

    .contact-heading .text-yellow,
    .contact-heading .text-white {
        font-size: 3.5rem;
    }

    .cf-submit-row {
        text-align: center;
    }

    .contact-label {
        font-size: 1.8rem;
    }

    .worried-title {
        font-size: 2.5rem;
    }

    .worried-subtitle {
        font-size: 1.8rem;
    }

    .worried-text {
        font-size: 1.4rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: flex-start;
    }

    .info-item.info-city h2 {
        font-size: 2.5rem;
    }

    .info-item.info-city,
    .info-item.info-address,
    .info-item.info-contact {
        text-align: center;
    }

    .worried-section {
        padding-top: 130px;
        margin-bottom: -350px;

    }

    .info-section .contact-container>.section-divider:first-of-type {
        margin-top: -30px !important;
        margin-bottom: 30px !important;
    }

    .icon-menu-close {
        width: 28px !important;
        height: 28px !important;
    }
}