@media (max-width: 900px) {
    .dwc-hero {
        height: 70vh;
        min-height: 380px;
    }

    .dwc-hero-bg {
        background-position: center top;  /* keeps faces visible */
    }
}

@media (max-width: 600px) {
    .dwc-hero {
        height: 60vh;
        min-height: 320px;
    }

    .dwc-hero-bg {
        background-size: contain;    /* prevents cropping on small phones */
        background-position: center;
              /* fills side gaps nicely */
    }
}

@media (max-width: 600px) {
    .dwc-hero {
        height: 60vh;
    }

    .dwc-hero-bg {
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        
    }
}

/* Remove gap between header and hero on mobile */
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px){

    header,
    .site-header,
    .main-header,
    .dwc-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Pull hero up */
    .dwc-hero {
        height: 34vh;
    }

  .pt-110 {
    padding-top: 0px;
}


.mobile-action-menu a {
    display: block;
    padding: 10px 6px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    border-radius: 8px;
}

.mobile-action-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* Open state */
.mobile-action-dropdown.open .mobile-action-menu {
    display: block;
}

}

@media (max-width: 1199px) {

 

  /* Logo sizing */
  #header-sticky .tp-header-logo img {
    max-height: 40px;
    height: auto;
  }

  /* Language & menu pills */
  .mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
  }



}

@media (max-width: 1199px) {
  .mobile-logo {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
  }

  .mobile-logo img {
    height: 36px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
  }
}

@media (max-width: 1199px) {
    .tp-header-right {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
    }

    .mobile-header-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-lang-switch {
        display: flex;
        gap: 6px;
    }

    .mobile-nav-dropdown {
        position: relative;
    }
}

.mobile-lang-switch .lang-btn {
    min-width: 34px;;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-lang-switch .lang-btn.active {
    background: #d11118;
}

.mobile-nav-btn {
    padding: 0 12px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    cursor: pointer;
}

.mobile-nav-panel {
    position: absolute;
    top: 36px;
    right: 0;
    min-width: 180px;
    background: rgba(0,0,0,0.95);
    border-radius: 12px;
    padding: 8px;
    display: none;
    z-index: 9999;
}

.mobile-nav-panel a {
    display: block;
    padding: 10px 12px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
}

.mobile-nav-dropdown.open .mobile-nav-panel {
    display: block;
}

.mobile-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-lang-switch,
.mobile-nav-dropdown {
    display: flex;
    align-items: center;
}

/* All 3 pills */
.mobile-lang-switch .lang-btn,
.mobile-nav-btn {
    height: 25px;
    min-width: 36px;
    padding: 0 6px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;

    border-radius: 999px;
    border: none;

    background: rgba(0,0,0,0.45);
    color: #fff;

    cursor: pointer;
    white-space: nowrap;
}

/* Active language */
.mobile-lang-switch .lang-btn.active {
    background: #d11118;
}

/* ============================
   iPad & Tablets – Bigger Pills
   ============================ */
@media (min-width: 768px) and (max-width: 1199px) {

    .mobile-header-controls {
        margin-top: -12px;   
    }

    .mobile-lang-switch .lang-btn,
    .mobile-nav-btn {
        min-width: 48px;
        padding: 0 16px;
        font-size: 16px;
        letter-spacing: 0.6px;
    }

}



@media (max-width: 767px) {


  .hero-text-wrap {
    margin-top: -20px;
  }


  .hero-title {
    transform: scale(0.88);
    transform-origin: center top;
  }

  
  .hero-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-line span {
    line-height: 1.05;
    letter-spacing: 0.08em;
  }

  .hero-line-2 {
    margin-top: 8px;
  }
}


@media (max-width: 767px) {

  .dwc-why-section .tp-section-title {
    font-size: 30px;
    line-height: 1.5;
    text-align: center;
  }

  .dwc-why-section .tp-section-title .highlight-red {
    display: inline-block;
    margin: 0 4px;
  }
}


@media (max-width: 767px) {

  .tp-portfolio-area .tp-section-title {
   font-size: 30px;
    line-height: 1.5;
    text-align: center;
  }
}


@media (max-width: 767px) {

  .dwc-finals-title {
   font-size: 30px;
    line-height: 1.5;
    text-align: center;
  }

  .dwc-dublin {
    display: block;
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
.tp-section-pp-title{
 font-size: 30px !important;
    line-height: 1.5;
}
}

@media (max-width: 767px) {

  /* Section spacing */
  .dwc-finals-section {
    padding-top: 40px;
  }

  /* Hide decorative bg image on mobile */
  .dwc-finals-bg-img {
    display: none;
  }

  /* Card alignment */
  .dwc-finals-card {
    text-align: center;
  }

  /* Heading */
  .dwc-finals-title {
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  /* Force clean stacking */
  .dwc-finals-title > span:first-child {
    display: block;
    margin-bottom: 6px;
  }

  .dwc-dublin {
    display: block;
    letter-spacing: 0.12em;
  }

  /* Body text */
  .dwc-finals-text {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 14px !important;
  }

  /* CTA */
  .dwc-finals-cta {
    margin-top: 22px;
  }

  .dwc-finals-btn {
    font-size: 0.95rem;
    padding: 12px 8px !important;


  }
}

@media (max-width: 767px) {

  .dwc-why-text {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-bottom: 14px;
  }

 .fs-70{
padding-top: 0px !important;
}
}
