/* =====================================================
   WTX Responsive Styles
   Load this file AFTER style.css
   ===================================================== */

/* ==============================
   Laptop / Tablet Landscape
============================== */
@media (max-width: 1920px) {
  .hero-main-title {
    line-height: 102px;
  }

  .word-2 {
    padding: 0px 0 0 74px;
  }

  .word-3 {
    padding: 0 0 0 32px;
  }

  .blossom-carousel {
    padding: 0 0 24px calc((100vw - 1020px) / 2);
  }

  .hero-main-title {
    font-size: 120px;
  }

  .cs-content-wrapper {
    max-width: 1000px;
  }
}

@media (max-width: 1750px) {
  .hero-main-title {
    font-size: 120px;
    line-height: 104px;
  }

  .word-2 {
    padding: 0px 0 0 54px;
  }

  .word-3 {
    padding: 0 0 0 23px;
  }
}

@media (max-width: 1600px) {
  .hero-main-title {
    font-size: 90px;
    line-height: 80px;
  }

  .process-images h4 {
    font-size: 26px;
  }
}

@media (max-width: 1400px) {
  .hero-main-title {
    font-size: 100px;
    line-height: 88px;
  }

  .word-2 {
    padding: 0px 0 0 62px;
  }

  .word-3 {
    padding: 0 0 0 27px;
  }

  .nav-links a span {
    font-size: 20px;
  }

  .btn-contact {
    font-size: 20px;
  }

  .section-title,
  .section-title-large,
  .section-title-medium,
  .short-story-title,
  .works-page-title h1,
  .blogs-heading,
  .process-main-title,
  .insta-main-title,
  .careers-title h1,
  .jobs-heading h2,
  .quiz-result-text {
    font-size: 50px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-pill span {
    font-size: 18px;
  }

  .footer-col p {
    font-size: 14px;
  }

  .blog-card p {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {

  .section-title,
  .section-title-large,
  .section-title-medium,
  .short-story-title,
  .works-page-title h1,
  .blogs-heading,
  .process-main-title,
  .insta-main-title,
  .careers-title h1,
  .jobs-heading h2,
  .quiz-result-text {
    font-size: 40px;
  }

  .client-video-card {
    flex: 0 0 300px;
    height: 395px;
  }

  .short-story-grid {
    max-width: 850px;
    gap: 30px;
  }

  .bottom-cta-link {
    gap: 60px;
  }

  .updated-footer-grid,
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 0.7fr;
    gap: 32px;
  }

  .bold-copy-text {
    font-size: 60px;

  }

  .about-desc {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1024px) {
  .process-images h4 {
    font-size: 20px;
  }

  .section-title,
  .section-title-large,
  .section-title-medium,
  .short-story-title,
  .works-page-title h1,
  .blogs-heading,
  .process-main-title,
  .insta-main-title,
  .careers-title h1,
  .jobs-heading h2,
  .quiz-result-text {
    font-size: 35px;

  }

  .word-2 {
    padding: 0 0 0 63px;
  }

  .word-3 {
    padding: 0px 0 0 30px;
  }

  .works-filter-btn {
    font-size: 16px;
  }

  .nav-links a span {
    font-size: 16px;
  }

  .btn-contact {
    font-size: 16px;
  }

  .hero-main-title {
    font-size: 6rem;
    line-height: 5rem;
  }

  .portfolio-flex {
    gap: 3rem;
  }

  .portfolio-left {
    flex: 0 0 250px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-page-section {
    padding: 80px 0 50px;
  }

  .works-filter {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 3rem;
  }

  .careers-page main .container {
    padding-left: 26px;
    padding-right: 26px;
  }

  .career-banner,
  .quiz-card,
  .quiz-card-inner {
    min-height: 300px;
    height: 300px;
  }

  .bottom-cta-link span {
    font-size: 60px;
  }

  .bottom-cta-arrow {
    width: 65px;
  }

  .bottom-cta-small {
    font-size: 20px;
  }
}


/* ==============================
   Tablet
============================== */
@media (max-width: 991px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .insta-section {
    padding: 3rem 0 2.5rem !important;
  }

  .insta-title-wrapper {
    margin-bottom: 2rem !important;
  }

  .insta-main-title {
    font-size: 1.8rem !important;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .insta-follow-card {
    grid-column: span 2;
    aspect-ratio: auto !important;
    flex-direction: row !important;
    height: 52px !important;
    padding: 0 32px !important;
    background: #1e1e1e !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px !important;
    gap: 10px !important;
    margin: 20px auto 0 !important;
    width: fit-content !important;
    min-width: 260px !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }

  .insta-follow-card:hover {
    background: #252525 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
  }

  .insta-follow-card svg {
    width: 20px !important;
    height: 20px !important;
    margin-bottom: 0 !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .insta-follow-card:hover svg {
    transform: scale(1.1) rotate(5deg) !important;
  }

  .insta-follow-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  .bottom-cta-section {
    padding: 90px 0 40px;
  }

  .bottom-cta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bottom-cta-small {
    padding-bottom: 0;
  }

  .bottom-cta-link {
    width: 100%;
    justify-content: space-between;
    gap: 30px;
    letter-spacing: -3px;
  }

  .bottom-cta-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  /* ==============================
   Tablet Adjustments for Header Navigation
   ============================== */
  @media (max-width: 991px) {

    /* Reduce spacing between nav links */
    .nav-links {
      gap: 20px;
      margin-right: 0px;
    }

    /* Slightly smaller font for nav links */
    .nav-links a {
      font-size: 0.85rem;
    }

    /* Adjust logo size for better alignment */
    .logo img {
      height: 60px;
    }

    /* Hide nav actions (e.g., contact button) to keep header clean */
    .nav-actions {
      display: none;
    }
  }

  /* ==============================
   Mobile Adjustments (max-width 768px)
   ============================== */
  @media (max-width: 768px) {
    .swipe-indicator svg {
      width: 30px;
      height: 40px;
    }

    .mobile-we-clicked {
      display: block;
    }

    .quiz-option input {
      width: 13px;
      height: 13px;
    }

    .quiz-option {
      font-size: 16px;
      text-align: left;
    }

    .quiz-progress svg {
      width: 30px;
    }

    .quiz-progress {
      font-size: 23px;

    }

    .bold-copy-text {
      font-size: 35px;
    }

    /* Ensure the hamburger menu is visible */
    .menu-toggle {
      display: flex;
      background: transparent;
      border: 0;
    }

    /* Hidden on mobile, replaced by new mobile menu overlay */
    .nav-links {
      display: none !important;
    }
  }

  .updated-footer-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }

  .footer-menu-col {
    justify-self: start;
  }

  .updated-footer-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 48px;
  }



  .client-says-section {
    padding: 60px 0 65px;
  }

  .client-video-card {
    flex: 0 0 270px;
    height: 360px;
  }

  .short-story-section {
    padding: 25px 0 0px;
  }

  .short-story-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 620px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-card:nth-child(3n) {
    border-right: 2px solid #111111;
  }

  .works-card:nth-child(2n) {
    border-right: 0;
  }

  .works-card:nth-last-child(-n + 3) {
    border-bottom: 2px solid #111111;
  }

  .works-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* ==============================
   Mobile / Tablet Portrait
============================== */
@media (max-width: 768px) {
  .hero {
    height: 100dvh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    overflow: hidden;
  }

  .hero-bg,
  .hero-bg video,
  #hero-video {
    height: 100dvh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
  }

  .section {
    padding: 15px 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    display: none !important;
  }

  /* Premium Mobile Menu Overlay Styles */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #121212;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
  }

  .mobile-menu-logo img {
    height: 35px;
    width: auto;
  }

  .mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .mobile-menu-close:hover {
    transform: rotate(90deg);
  }

  .mobile-menu-close svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow-y: auto;
    padding: 0px 0;
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
  }

  .mobile-menu-content::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX;
    gap: 0.5rem;
    margin-top: 0;
  }

  .mobile-menu-link {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    text-align: center;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    color: #fedd56;
    transform: scale(1.05);
  }

  .mobile-menu-contact {
    margin-top: 0.5rem;
  }

  .mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    background-color: #fedd56;
    color: #161616;
    padding: 6px 16px 6px 6px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .mobile-contact-btn:hover {
    background-color: #fedd56;
    transform: scale(1.05);
  }

  .mobile-contact-btn .mascot-container {
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }

  .mobile-contact-btn .mascot-container img {
    width: 42px;
    height: 65px;
    object-fit: contain;
    margin: -10px 0 0;
  }

  .mobile-contact-btn .btn-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .mobile-menu-socials-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .socials-label {
    color: #888888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
  }

  .mobile-social-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  .mobile-social-icon {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-social-icon:hover {
    color: #FFEA00;
    transform: translateY(-3px);
  }

  .mobile-social-icon svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin-bottom: auto;
  }

  .mobile-contact-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .mobile-contact-title {
    color: #888888;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .mobile-contact-link {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .mobile-contact-link:hover {
    color: #FFEA00;
  }

  .hero-bg video,
  #hero-video {
    object-position: 55% center;
  }

  .hero-main-title {
    font-size: 48px;
    line-height: 41px;
    letter-spacing: -2px;
  }

  .hero-subtext {
    font-size: 0.9rem;
    padding: 0 0 0 5px;
  }

  .section-title-large {
    font-size: 35px;
    margin-bottom: 0;
  }

  .section-title-medium {
    font-size: 25px;
    margin-bottom: 25px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .portfolio-grid,
  .testimonials-grid,
  .services-list {
    grid-template-columns: 1fr;
  }

  .portfolio-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .portfolio-left {
    position: static;
    flex: 0 0 auto;
  }

  .portfolio-left .section-title {
    text-align: left;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-container {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .test-image-content {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }

  .test-quote {
    font-size: 1.8rem;
  }

  .test-brand {
    justify-content: center;
  }

  .client-name-tag {
    text-align: center;
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    text-align: left;
  }

  .cta-left,
  .cta-right {
    width: 100%;
  }

  .cta-right {
    justify-content: flex-start;
  }

  .cta-button {
    font-size: 2rem;
  }

  /* Services List Mobile Redesign ("We do whaT worX") */
  .services-list {
    display: none !important;
  }

  .services-list-mobile {
    display: block !important;
    padding: 20px 0 !important;
  }

  .services-list-mobile ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .services-list-mobile li {
    margin-bottom: 24px !important;
  }

  .services-list-mobile-cnt {
    background: #1c1c1c !important;
    border-radius: 16px !important;
    padding: 24px 24px 24px 24px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
  }

  .services-list-mobile-cnt:hover,
  .services-list-mobile-cnt:active {
    border-color: #fecd00 !important;
    transform: translateY(-5px) !important;
  }

  .services-list-mobile-cnt h2 {
    color: #ffce00 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
  }

  .services-list-mobile-cnt p {
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
    opacity: 0.9 !important;
  }

  .services-list-mobile-cnt img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-top: auto !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
  }

  /* Bottom CTA Mobile Redesign */
  .bottom-cta-section {
    padding: 60px 20px 0px !important;
  }

  .bottom-cta {
    padding: 40px 0 !important;
    gap: 24px !important;
  }

  .bottom-cta-small {
    color: #DDDDDD !important;
    font-size: 20px !important;
  }

  .bottom-cta-link.magnetic {
    color: #FFEA00 !important;
  }

  .bottom-cta-arrow {
    color: #FFEA00 !important;
  }

  /* Footer Mobile Redesign (Centered, 1-column stack layout) */
  .updated-footer {
    padding: 20px 0 40px !important;
    position: relative;
  }

  .updated-footer .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .updated-footer-grid,
  .footer-grid {
    display: contents !important;
    /* Flatten grid layout to order items under container */
  }

  .updated-footer-bottom {
    display: contents !important;
    /* Flatten bottom row for logo/copyright ordering */
  }

  /* Footer Logo: order 1 */
  .footer-logo {
    order: 1 !important;
    margin-bottom: 30px !important;
    display: block !important;
    text-align: center !important;
  }

  .footer-logo img {
    height: 70px !important;
    width: auto !important;
    display: inline-block !important;
  }

  /* Navigation Links: order 2 */
  .footer-grid .footer-col:nth-child(5) {
    order: 2 !important;
    margin-bottom: 35px !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-self: center !important;
  }

  .footer-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
    text-align: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-nav li {
    margin-bottom: 0 !important;
  }

  .footer-nav a {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center !important;
    display: block !important;
  }

  /* Social Links: order 3 */
  .footer-grid .footer-col:nth-child(4) {
    order: 3 !important;
    margin-bottom: 35px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-socials {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    align-items: center !important;
    margin-top: 10px !important;
  }

  .footer-socials .social-icon {
    background: transparent !important;
    border-radius: 0 !important;
    width: 30px !important;
    height: 50px !important;
    padding: 0 !important;
    color: #ffffff !important;
    box-shadow: none !important;
  }

  .footer-socials .social-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Questions: order 4 */
  .footer-grid .footer-col:nth-child(2) {
    order: 4 !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  /* Talk: order 5 */
  .footer-grid .footer-col:nth-child(3) {
    order: 5 !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  /* Address: order 6 */
  .footer-grid .footer-col:nth-child(1) {
    order: 6 !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    max-width: 350px !important;
  }

  /* Copyright: order 7 */
  .footer-copyright {
    /* order: 7 !important; */
    /* margin: 0 !important; */
    /* font-size: 12px !important; */
    color: #ffffff !important;
    /* text-align: center !important; */
    /* display: block !important; */
    bottom: 20px;
  }

  /* Common Footer Typography */
  .footer-col h4 {
    font-size: 18px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #888888 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    font-weight: 500 !important;
  }

  .footer-col p {
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    text-align: center !important;
    margin: 0 !important;
  }

  .footer-link {
    font-size: 15px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-block !important;
    font-weight: 500 !important;
  }

  .about-intro-left h2,
  .about-brand-row .light {
    font-size: 2.8rem;
  }

  .about-desc {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .process-main-title {
    font-size: 1.8rem;
  }

  .process-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.8rem 2rem;
  }

  .process-row:hover {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .process-number {
    width: auto;
    font-size: 2.8rem;
  }

  .process-title {
    font-size: 1.3rem;
  }

  .process-detail {
    font-size: 0.9rem;
  }

  .works-page-section {
    padding: 60px 0;
  }

  .works-filter {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .works-grid {
    gap: 2.5rem 0;
  }

  .works-card {
    flex-direction: column;
    min-height: auto;
    width: 100%;
  }

  .works-card-img {
    height: 200px;
  }

  .contact {
    margin-top: 60px;
  }

  .contact h1 {
    font-size: 34px;
  }

  .input-line {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 11px 0;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .careers-title h1,
  .jobs-heading h2 {
    font-size: 34px;
    letter-spacing: -1.6px;
  }

  .career-banner,
  .quiz-card,
  .quiz-card-inner {
    min-height: 200px;
    height: auto;
  }

  .quiz-progress {
    margin-bottom: 44px;
  }

  .quiz-question,
  .quiz-result-text {
    font-size: 24px;
    margin: 0 0 20px;
  }

  .jobs-section {
    padding-top: 50px;
  }

  .blog-detail-section {
    padding-top: 24px;
  }

  .blog-detail-header h1 {
    font-size: 28px;
  }

  .blog-detail-image {
    height: 280px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .related-image {
    height: 180px;
  }

  .related-meta {
    font-size: 10px;
  }

  .related-card h3 {
    font-size: 14px;
  }
}

/* ==============================
   Small Mobile
============================== */
@media (max-width: 576px) {

  /* Instagram Grid inheritance works fine; overriding custom margins if needed */
  .insta-follow-card {
    margin-top: 15px !important;
  }
}

@media (max-width: 575px) {


  .client-says-title,
  .short-story-title {
    padding: 0 18px;
    font-size: 25px;
  }

  .client-says-row {
    gap: 14px;
    padding: 0 18px 10px;
  }

  .client-video-card {
    flex: 0 0 245px;
    height: 330px;
  }

  .short-story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .story-img {
    height: auto;
  }

  .story-card h3 {
    max-width: 100%;
  }

  .works-page-section {
    padding: 95px 0 20px;
  }

  .works-filter {
    gap: 8px;
    margin-bottom: 25px;
  }

  .works-filter-btn {
    padding: 7px 12px;
    font-size: 11px;
  }

  .works-grid-wrap {
    width: calc(100% - 28px);
  }

  .works-grid {
    gap: 20px 0;
  }

  .works-card {
    min-height: 260px;
    border-right: 0 !important;
    border-bottom: 2px solid #111111 !important;
  }

  .works-card:last-child {
    border-bottom: 0 !important;
  }

  .works-card.empty {
    display: none;
  }

  .works-card-img {
    opacity: 1;
    transform: scale(1);
  }

  .works-card::after {
    opacity: 1;
  }

  .works-card-content {
    opacity: 1;
    transform: translateY(0);
  }

  .careers-hero {
    padding: 28px 0 44px;
  }

  .career-banner,
  .career-banner img {
    min-height: 220px;
  }

  .quiz-card {
    min-height: 400px;
    padding: 22px 18px;
  }

  .quiz-progress {
    margin-bottom: 18px;
  }

  .quiz-result-text {
    margin-top: 42px;
  }

  .job-trigger {
    padding: 16px 0;
  }

  .job-title {
    font-size: 16px;
  }
}

/* ==============================
   Extra Small Mobile
============================== */
@media (max-width: 480px) {


  .bold-copy-section {
    display: none;
  }



  .about-hero-section {
    padding: 80px 0 0px;
  }

  .desktop-about {
    display: none;
  }

  .mobile-about {
    display: block;
  }

  .section-title-large {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .reveal {
    margin-bottom: 10px !important;
    border-radius: 5px;
  }

  .magnetic {
    padding: 11px 20px 10px 20px;
    background: #2D2D2D;
    border-radius: 40px;
  }




  .intro-text {
    font-size: 20px;
    padding: 0 !important;
  }

  .hero-main-title {
    font-size: 40px;
    padding: 0;
    margin: 0;
    line-height: 30px;
  }

  .hero-content {
    padding: 0 10px !important;
    bottom: 50%;
  }

  /* Reduce header vertical padding */
  header {
    padding: 1rem 0;
  }

  /* Smaller logo for compact screens */
  .logo img {
    height: 35px;
  }

  /* Tighter spacing between nav links */
  .nav-links {
    gap: 5px;
  }

  /* Ensure nav-actions stay hidden */
  .nav-actions {
    display: none;
  }

  .contact h1 {
    font-size: 30px;
    letter-spacing: -1.6px;
  }

  .careers-page main .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .careers-title h1,
  .jobs-heading h2 {
    font-size: 30px;
  }

  .career-banner {
    height: 190px;
    position: relative;
  }

  .quiz-question,
  .quiz-result-text {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .job-title {
    font-size: 15px;
  }




  .blog-detail-container {
    padding: 0 18px;
  }

  .blog-detail-header h1 {
    font-size: 24px;
  }

  .blog-detail-image {
    height: 220px;
  }

  .blog-content h2 {
    font-size: 22px;
  }

  .blog-content p {
    font-size: 11px;
  }

  .apply-form-row {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .bottom-cta-link {
    padding: 10px 0 !important;
  }
}

/* --- Asian Cinemas Case Study Page Mobile Styles --- */
@media (max-width: 768px) {
  .gallery-text-mobile h2 {
    text-align: center;
  }

  .bottom-cta .magnetic {
    background-color: transparent;
  }

  .gallery-text-mobile {
    text-align: center;
    padding: 20px 0;
  }

  .mobile-we-clicked ul li {
    padding: 0 5px;
  }

  .mobile-we-clicked ul li img {
    border-radius: 5px !important;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .mobile-we-clicked {
    display: block;
    padding: 0 10px;
  }

  .mobile-we-clicked .slick-track {
    display: flex !important;
    align-items: flex-end !important;
  }

  .mobile-we-clicked .slick-slide {
    margin: 0;
  }

  /* Staggered heights: odd slides shorter, even slides taller */
  .mobile-we-clicked .slick-slide:nth-child(odd) img {
    height: 180px;
  }

  .mobile-we-clicked .slick-slide:nth-child(even) img {
    height: 230px;
  }

  .insta-grid img {
    width: 30px;
    margin: 0;
  }

  .career-slide {
    text-align: center;
    position: relative;
    padding: 20px 0;
  }

  .career-next-btn {
    background-color: #ffffff;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 200px;
    z-index: 99;
    font-size: 16px;
    padding: 10px;
  }

  .cta-button {
    background: transparent;
  }

  .about-brand-row {
    margin: 0;
  }

  .about-intro-left {
    padding: 20px 0 0;
  }

  .process-section ul {
    margin: 0 10px;
  }

  .cs-asian-hero {
    padding: 7rem 0 1rem;
  }

  .cs-asian-title {
    font-size: 30px;
  }

  .cs-asian-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
  }

  .cs-gallery-item {
    flex: 0 0 250px;
    height: 300px;
  }

  .cta-text {
    padding: 0 0 0 20px;
    margin: 0;
  }

  .hero-content {
    padding: 0 15px;
  }

  .intro-section h2 {
    padding: 25px 0;
  }

  .intro-text {
    font-size: 20px;
  }

  .services-list-section .reveal {
    margin-bottom: 10px !important;
  }

  .story-see-all a {
    background: #2D2D2D;
    border-radius: 30px;
    font-size: 15px;
  }

  .portfolio-section a {
    background: #2D2D2D;
    border-radius: 30px;
  }

  .contact {
    padding: 60px 15px 0;
  }

  .careers-page>main>.contact {
    padding: 0 15px !important;
    ;
  }

  .career-slide.active {
    padding: 20px 0 50px;
  }

  .career-test-section {
    padding-top: 0;
  }

  .careers-page>main {
    padding: 100px 0 0;
  }

  .bottom-cta-arrow2 {
    width: 20px;
  }

  .see-all {
    font-size: 15px;
  }

  .cs-asian-subtitle {
    font-size: 16px;
    line-height: 18px;
  }

  .cs-section-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .cs-slider-wrapper {
    padding: 0 !important;
  }

  .cs-text-content p {
    margin-bottom: 16px;
    line-height: 20px;
  }

  .cs-back-to-top {
    background: #2D2D2D;
  }

  .form-actions button {
    margin: 0 auto;
  }

  .form-actions p {
    display: block;
    text-align: center;
    width: 100%;
    ;
  }

  .process-title-wrapper p {
    font-size: 20px;
  }

  .contact-form {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .contact {
    max-width: calc(100% - 32px);
    margin: 76px auto 40px;
    padding: 20px 0 0;
  }

  .contact h1 {
    font-size: 34px;
    margin-bottom: 32px;
  }

  .blogs-section {
    padding: 100px 0 56px;
  }

  .blogs-container {
    padding: 0 18px;
  }

  .blogs-heading {
    font-size: 34px;
    letter-spacing: -1.6px;
    margin-bottom: 34px;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .blog-image {
    height: 210px;
  }

  .blog-meta {
    font-size: 10px;
  }

  .blog-card h2 {
    font-size: 16px;
  }
}

/* =====================================================
   FIX: Sticky Header + Mobile Bottom CTA
   Keep this block at the END of responsive.css
===================================================== */

/* Sticky / fixed header fix */
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: transparent;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
  background: #161616 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  header {
    min-height: 64px !important;
    padding: 14px 0 !important;
  }

  header.scrolled {
    padding: 12px 0 !important;
  }

  .logo img {
    height: 35px !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .nav-links,
  .nav-actions {
    display: none !important;
  }
}

/* Mobile Bottom CTA visibility fix */
@media (max-width: 768px) {
  .word-3 {
    padding: 0 0 0 8px;
  }

  .word-2 {
    padding: 0 0 0 24px;
    margin: 0px 0 0px;
  }

  .about-banner-container {
    margin-bottom: 20px;
  }

  .about-intro-grid {
    margin-bottom: 0;
  }

  .about-hero-section {
    padding: 100px 0 1rem;
  }

  .mobile-comic-scroll {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    border-radius: 12px;
    scrollbar-width: none;
    /* Firefox */
  }

  .mobile-comic-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .mobile-comic-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
  }

  .mobile-comic-scroll .mobile-comic {
    display: block;
    width: 480vw;
    max-width: none;
    height: auto;
    pointer-events: none;
    border-radius: 12px;
  }

  .swipe-indicator {
    position: absolute;
    right: auto;
    background: rgba(0, 0, 0, 0.7);
    color: #FFCE00;
    padding: 8px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    z-index: 10;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: swipePulse 2s infinite ease-in-out;
    left: 0;
    top: 50%;
    transform: translateY(-50%) !important;
  }

  @keyframes swipePulse {
    0% {
      transform: translateX(0);
      opacity: 0.8;
    }

    50% {
      transform: translateX(-8px);
      opacity: 1;
    }

    100% {
      transform: translateX(0);
      opacity: 0.8;
    }
  }

  .desktop-comic {
    display: none;
  }

  .bottom-cta-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 50px 0 40px !important;
    overflow: visible !important;
    background: #161616 !important;
  }

  .bottom-cta-section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 18px !important;
  }

  .bottom-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: unset !important;
    padding: 35px 0 !important;
    gap: 18px !important;
    overflow: visible !important;
  }

  .bottom-cta-small {
    display: block !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    white-space: normal !important;
    color: #dddddd !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .bottom-cta-link.magnetic {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 72px !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #FFCE00 !important;
    overflow: visible !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  .bottom-cta-link>span {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    padding: 0 !important;
    font-size: clamp(46px, 15vw, 64px) !important;
    line-height: 0.95 !important;
    letter-spacing: -2px !important;
    white-space: nowrap !important;
    color: currentColor !important;
  }

  .bottom-cta-link .bottom-cta-arrow {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: 64px !important;
    height: 64px !important;
    flex: 0 0 64px !important;
    color: currentColor !important;
  }

  .bottom-cta-link:hover>span,
  .bottom-cta-link:hover .bottom-cta-arrow {
    left: auto !important;
    transform: none !important;
    animation: none !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .word-3 {
    padding: 0 0 0 11px;
  }

  .message-box textarea {
    font-size: 15px;
  }

  .input-line input,
  .input-line select {
    font-size: 15px;
  }

  .cs-asian-header {
    text-align: center;
  }

  .cs-asian-header h1 {
    padding: 0 0 10px;
  }

  .cs-asian-header p {
    line-height: 26px;
  }

  .bottom-cta-link>span {
    font-size: 40px !important;
  }
}

@media (max-width: 390px) {

  .bottom-cta-link>span {
    font-size: 42px !important;
  }

  .bottom-cta-link .bottom-cta-arrow {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
  }
}

@media (max-width: 767px) {
  .contact {
    padding: 54px 1rem 30px;
  }

  .contact h1 {
    font-size: 42px;
    margin-bottom: 38px;
  }

  .input-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0;
  }

  .input-line label,
  .message-box label {
    font-size: 26px;
    white-space: normal;
  }

  .input-line input,
  .input-line select {
    width: 100%;
    font-size: 24px;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions p {
    text-align: left;
  }
}

@media (max-width: 575px) {
  .alien-modal {
    padding: 16px;
  }

  .alien-modal-box {
    padding: 36px 22px 28px;
    border-radius: 22px;
  }

  .alien-icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }

  .alien-modal-box h2 {
    font-size: 30px;
  }

  .alien-desc {
    font-size: 13px;
  }
}