/* Desktop & Tablet */
.call-flex {
  display: flex;
  justify-content: space-between; /* ✅ equal space */
  align-items: center;
}

.call-item {
  display: flex;
  justify-content: center;
}

/* Call info alignment */
.call-do-action-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Mobile View */
@media (max-width: 767px) {
  .call-flex {
    flex-direction: column;   /* ✅ up & down */
    gap: 25px;
    text-align: center;
  }

  .call-do-action-info {
    justify-content: center;
  }
}


/* Mobile (<=767px) team image fix */
@media (max-width: 767.98px) {
  .team_area .team_thumb img{
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 auto 14px;
  }

  /* optional: card spacing */
  .team_area .single-team_item{
    margin-bottom: 35px;
  }
}

@media (max-width: 767.98px){

  /* Image ঠিক থাকবে */
  .about_area.style_two .about_thumb img{
    display: block;
    margin: 0 auto 16px auto;
  }

  /* Text block একটু ডানে shift */
  .about_area.style_two .section_title.about_us{
    padding-left: 14px;   /* 👉 ডানে নেওয়ার মূল জায়গা */
    padding-right: 8px;
  }

  /* Title left aligned কিন্তু shift করা */
  .about_area.style_two .section_title.about_us h5{
    text-align: left !important;
  }

  /* Paragraph readable mobile style */
  .about_area.style_two .section_title.about_us p{
    text-align: left !important;
    font-size: 15px;
    line-height: 1.8;
  }
}

  /* alinment */
@media (max-width: 767.98px){

  /* About section text justify */
  .about_area.style_two .section_title.about_us p{
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.8;
  }

  /* Heading left aligned থাকবে */
  .about_area.style_two .section_title.about_us h5{
    text-align: left !important;
  }
}

@media (max-width: 767.98px){

  /* 전체 Call section center */
  .call_area.style_three{
    text-align: center;
    padding: 40px 0;
  }

  /* Phone icon + number/email (side-by-side) */
  .call-do-action-info{
    display: flex !important;
    flex-direction: row !important;   /* icon পাশে */
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    margin-bottom: 22px;
  }

  .call-do-social_icon{
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }

  /* Text block */
  .call_info{
    text-align: left !important;      /* text block left, but whole is centered */
  }

  .call_info p,
  .call_info h3{
    text-align: left !important;
    margin: 0;
    line-height: 1.4;
  }

  /* Logo center */
  .footer_logo{
    text-align: center !important;
    margin: 20px 0;
  }

  .footer_logo img{
    max-width: 150px;
    margin: 0 auto;
    display: block;
  }

  /* Social icons center */
  .call_social_icon ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-top: 18px;
  }

  .call_social_icon ul li{
    margin: 0 !important;
  }

}


/* Tablet view (iPad / Tab) team image fix */
@media (min-width: 768px) and (max-width: 1024px){

  .team_area .team_thumb img{
    width: 160px !important;
    height: 160px !important;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
  }

  .team_area .single-team_item{
    text-align: center;
    margin-bottom: 40px;
  }

  .team_area .team-content h3{
    font-size: 18px;
    line-height: 1.3;
  }

  .team_area .team-content span{
    font-size: 14px;
  }
}


/* =========================================
   TAB FIX — Marquee text joining issue
========================================= */
@media (min-width: 768px) and (max-width: 1024px){

  /* Reduce font size (CRITICAL) */
  .marquee_area.style_two.inner_page h4{
    font-size: 22px !important;
    letter-spacing: 1px !important;
  }

  /* Box must stay wide */
  .marquee_area.style_two.inner_page .box{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 60px !important;
  }

  /* Each item must reserve space */
  .marquee_area.style_two.inner_page .item{
    flex: 0 0 auto !important;
    padding-right: 60px !important;
    position: relative;
  }

  /* Hard separator (bullet replacement) */
  .marquee_area.style_two.inner_page .item::after{
    content: " • ";
    position: absolute;
    right: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 20px;
  }

  /* Icon spacing safety */
  .marquee_area.style_two.inner_page .icon-img-50{
    margin-left: 16px !important;
  }
}

/* =====================================
   Marquee Equal Spacing – All Devices
===================================== */

.marquee_area.style_two.inner_page .box{
  display: flex !important;
  align-items: center;
  gap: 70px;                 /* ⭐ Equal spacing */
  white-space: nowrap;
}

/* Each marquee item */
.marquee_area.style_two.inner_page .item{
  flex: 0 0 auto;
}

/* Text + icon spacing inside */
.marquee_area.style_two.inner_page .item h4 a{
  display: inline-flex;
  align-items: center;
  gap: 20px;                 /* text ↔ star gap */
}

/* Remove ml-40 conflict */
.marquee_area.style_two.inner_page .ml-40{
  margin-left: 0 !important;
}

/* Tablet safety fix */
@media (max-width: 1024px){
  .marquee_area.style_two.inner_page .box{
    gap: 60px;
  }
}

/* Mobile fix */
@media (max-width: 767px){
  .marquee_area.style_two.inner_page .box{
    gap: 40px;
  }
}


/* ==========================
   Call Area - Mobile Fix
========================== */
@media (max-width: 767.98px){

  .call_area.style_three{
    padding: 26px 0 !important;
  }

  /* row gap */
  .call_area.style_three .row{
    row-gap: 18px;
  }

  /* 3 column full width */
  .call_area.style_three .col-lg-4,
  .call_area.style_three .col-md-6{
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  /* icon + text side by side (clean look) */
  .call-do-action-info{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px;
    margin: 0 auto;
  }

  .call-do-social_icon{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }

  .call_info{
    text-align: left !important;
  }

  .call_info p{
    margin: 0;
    font-size: 13px;
    opacity: .9;
    line-height: 1.2;
  }

  .call_info h3{
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
  }

  /* logo size + spacing */
  .footer_logo{
    margin: 10px 0;
    text-align: center;
  }
  .footer_logo img{
    max-width: 150px;
    height: auto;
    display: inline-block;
  }

  /* social icons center + equal gap */
  .call_social_icon ul{
    display: flex !important;
    justify-content: center !important;
    gap: 12px;
    padding: 0 !important;
    margin: 8px 0 0 !important;
    flex-wrap: wrap;
  }

  .call_social_icon ul li{
    margin: 0 !important;
  }

  .call_social_icon ul li a{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* remove weird left offset if any */
  .top-social-icon-left{
    margin-left: 0 !important;
  }

  /* links look clean */
  .call-link{
    color: inherit;
    text-decoration: none;
  }
}

@media (max-width: 767.98px){
  .call_area.style_three .call-do-action-info,
  .call_area.style_three .call_social_icon{
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 14px;
  }
}


/* Fix: call icon squeezed */
.call_area .call-do-social_icon{
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  line-height: 0 !important;
  aspect-ratio: 1 / 1;        /* circle lock */
  flex-shrink: 0 !important;  /* prevent squeeze */
}

/* icon size */
.call_area .call-do-social_icon i,
.call_area .call-do-social_icon img{
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  display: block;
  object-fit: contain;
}

.call_area .call-do-action-info{
  align-items: center !important;
}

