/* ============================
   EMS – Sustainability Page
============================ */

.ems-container{
  width:min(1200px,92%);
  margin:auto;
}

.ems-hero{
  padding:80px 0;
  background:linear-gradient(135deg,#e9f8f6,#ffffff);
}

.ems-hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
}

.ems-title{
  font-size:42px;
  font-weight:800;
  color:#003436;
}

.ems-subtext{
  font-size:16px;
  line-height:1.7;
  color:#4b5f5f;
}

.ems-hero-card{
  background:#fff;
  padding:28px;
  border-radius:18px;
  box-shadow:0 20px 45px rgba(0,0,0,.1);
}

.ems-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:22px;
}

.ems-card{
  background:#fff;
  padding:24px;
  border-radius:16px;
  text-align:center;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.ems-card i{
  font-size:34px;
  color:#1ec6c6;
}

.ems-objectives{
  padding:80px 0;
  background:#003436;
  color:#fff;
}

.ems-obj-card{
  background:rgba(255,255,255,.1);
  padding:22px;
  border-radius:14px;
}

.ems-contact-card{
  display:flex;
  gap:24px;
  align-items:center;
  background:#fff;
  padding:26px;
  border-radius:18px;
  box-shadow:0 15px 35px rgba(0,0,0,.1);
}

.ems-contact-card img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
}

@media(max-width:992px){
  .ems-hero-grid{grid-template-columns:1fr;}
  .ems-contact-card{flex-direction:column;text-align:center;}
}


/* ================================
   Environmental Commitment – Premium Grid
================================ */

/* OUTER WRAPPER (left–right gap fix) */
.env-commitment-section{
  padding: 70px 60px; /* left & right gap */
  background: linear-gradient(180deg,#f4fffd 0%, #ffffff 100%);
}

/* GRID */
.env-commitment-grid{
  max-width: 1400px;           /* wide but controlled */
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

/* CARD */
.env-card{
  background: linear-gradient(180deg,#ffffff 0%, #f8fffe 100%);
  border-radius: 18px;
  padding: 22px 18px 24px;
  text-align: center;
  border: 1px solid rgba(30,198,198,0.25);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  transition: all .35s ease;
  position: relative;
  overflow: hidden;
}

/* soft gradient hover */
.env-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg,#1ec6c6,#003436);
  opacity:0;
  transition:.35s ease;
}

.env-card:hover::before{
  opacity:.08;
}

.env-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 46px rgba(0,0,0,0.14);
}

/* ICON */
.env-card i{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 22px;
  color: #0c6e6d;
  background: rgba(30,198,198,0.15);
  border: 1px solid rgba(30,198,198,0.35);
}

/* TITLE */
.env-card h4{
  font-size: 14.8px;
  font-weight: 800;
  color: #003436;
  margin-bottom: 6px;
  letter-spacing: .2px;
}

/* TEXT */
.env-card p{
  font-size: 12.9px;
  line-height: 1.55;
  color: #566f6f;
  margin: 0;
}

/* ================================
   RESPONSIVE BREAKPOINTS
================================ */

/* Large laptop */
@media (max-width: 1400px){
  .env-commitment-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 768px){
  .env-commitment-section{
    padding: 60px 26px;
  }

  .env-commitment-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 480px){
  .env-commitment-section{
    padding: 50px 18px;
  }

  .env-commitment-grid{
    grid-template-columns: 1fr;
  }

  .env-card{
    padding: 20px 16px;
  }
}





/* =========================
  Sustainability Responsible (Modern Card)
  Unique CSS: ems-resp*
========================= */
.ems-resp{
  padding: 60px 0;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(30,198,198,.18), transparent 60%),
              radial-gradient(900px 400px at 90% 20%, rgba(0,52,54,.14), transparent 55%),
              linear-gradient(180deg, #f6fffb 0%, #ffffff 100%);
}

.ems-resp__container{
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Card shell with gradient border */
.ems-resp__card{
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,0.10);
  overflow: hidden;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 18px;
}

.ems-resp__card::before{
  content:"";
  position:absolute;
  inset:0;
  padding: 2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1ec6c6 0%, #00a76a 40%, #003436 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity:.9;
}

/* Left area */
.ems-resp__profile{
  display:flex;
  gap: 16px;
  align-items:center;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30,198,198,.10), rgba(0,52,54,.06));
  border: 1px solid rgba(0,0,0,0.06);
}

.ems-resp__photoWrap{
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  flex: 0 0 96px;
  border: 3px solid rgba(30,198,198,.35);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
  background:#fff;
}

.ems-resp__photoWrap img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.ems-resp__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color:#0c6e6d;
  background: rgba(30,198,198,.14);
  border: 1px solid rgba(30,198,198,.25);
  padding: 6px 10px;
  border-radius: 999px;
}

.ems-resp__name{
  margin: 10px 0 6px;
  font-size: 20px;
  font-weight: 800;
  color:#003436;
  line-height: 1.2;
}

.ems-resp__meta{
  margin: 0;
  font-size: 13.5px;
  color:#4b5f5f;
  font-weight: 600;
}

/* Right area */
.ems-resp__details{
  padding: 16px 14px;
}

.ems-resp__desc{
  margin: 0 0 14px;
  font-size: 14.8px;
  line-height: 1.7;
  color:#4b5f5f;
  text-align: justify;
  text-justify: inter-word;
}

.ems-resp__tags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.ems-resp__tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 13px;
  font-weight: 700;
  color:#003436;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,52,54,0.06);
  border: 1px solid rgba(0,52,54,0.12);
}

.ems-resp__tag i{ color:#0c6e6d; }

/* Contact links */
.ems-resp__contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ems-resp__link{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color:#003436;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: .25s ease;
}

.ems-resp__link:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

.ems-resp__icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(30,198,198,.12);
  border: 1px solid rgba(30,198,198,.22);
  flex: 0 0 38px;
}

.ems-resp__icon i{
  color:#0c6e6d;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 992px){
  .ems-resp__card{
    grid-template-columns: 1fr;
  }
  .ems-resp__contact{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px){
  .ems-resp{
    padding: 44px 0;
  }
  .ems-resp__photoWrap{
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
  }
  .ems-resp__name{
    font-size: 18px;
  }
}

.ems-resp__designation {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #6c757d; /* soft grey */
  font-weight: 500;
}

/* =========================
   Sustainability Responsible – Qualification Tags
   SAFE / NO-CONFLICT CSS
========================= */

.ems-resp__quals{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ems-resp__qual{
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 9px;
  color: #003436;
  background: rgba(30,198,198,0.10);
  border: 1px solid rgba(30,198,198,0.22);
  white-space: nowrap;
}

/* SAFE GAP FIX – email & phone box */
.ems-resp__contact{
  margin-top: 16px;
}
/* Mobile: Phone + LinkedIn same row */
@media (max-width: 480px){
  .ems-resp__contact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ems-resp__contact .ems-resp__link span:last-child{
    font-size: 13px;
  }
}


/* ===========================
   CONTACT (TIGHT) – UPDATED (NO DASH ISSUE)
=========================== */

/* main row */
.ems-resp__contact--tight{
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr) 44px; /* 3 in a row */
  gap: 12px;
  align-items: center;

  /* ✅ kill any accidental line/dash from wrapper */
  background-image: none !important;
  border-image: none !important;
}

/* ✅ remove pseudo elements that may create dash/line */
.ems-resp__contact--tight::before,
.ems-resp__contact--tight::after{
  content: none !important;
  display: none !important;
}

/* ✅ hide any divider/hr accidentally inside */
.ems-resp__contact--tight hr{
  display: none !important;
}

/* Email/Phone: কম padding → right side space কম */
.ems-resp__contact--tight .ems-resp__link{
  padding: 10px 10px;
  border-radius: 14px;
}

/* icon ছোট */
.ems-resp__contact--tight .ems-resp__icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

/* text compact + overflow safe */
.ems-resp__contact--tight .ems-resp__link span:last-child{
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* LinkedIn: only needed space (icon-only) */
.ems-resp__contact--tight .ems-resp__link--mini{
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  padding: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.ems-resp__contact--tight .ems-resp__link--mini span:last-child{
  display: none !important; /* no text */
}

.ems-resp__contact--tight .ems-resp__link--mini .ems-resp__icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* Mobile: আরও tight, তবুও 3টা এক row */
@media (max-width: 480px){
  .ems-resp__contact--tight{
    gap: 8px;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 44px;
  }

  .ems-resp__contact--tight .ems-resp__link{
    padding: 9px 9px;
    border-radius: 13px;
  }

  .ems-resp__contact--tight .ems-resp__icon{
    width: 34px;
    height: 34px;
  }

  .ems-resp__contact--tight .ems-resp__link span:last-child{
    font-size: 12.5px;
  }

  .ems-resp__contact--tight .ems-resp__link--mini .ems-resp__icon{
    width: 38px;
    height: 38px;
  }
}


/* =========================
   MOBILE DASH FIX – FINAL
========================= */
@media (max-width: 480px){

  /* contact grid */
  .ems-resp__contact--tight{
    grid-template-columns: 1fr 1fr; /* 3rd column remove */
  }

  /* LinkedIn button completely hide on mobile */
  .ems-resp__contact--tight .ems-resp__link--mini{
    display: none !important;
  }

  /* safety: kill any pseudo line */
  .ems-resp__contact--tight::before,
  .ems-resp__contact--tight::after,
  .ems-resp__contact--tight hr{
    display: none !important;
    content: none !important;
  }
}
/* =========================
   Inline LinkedIn (Designation)
   SAFE / NO-CONFLICT
========================= */

.ems-resp__designation{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* LinkedIn icon button */
.ems-resp__li{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  text-decoration: none;
  background: rgba(10,102,194,0.12); /* LinkedIn blue soft */
  border: 1px solid rgba(10,102,194,0.25);
  transition: all .25s ease;
}

.ems-resp__li i{
  font-size: 14px;
  color: #0a66c2;
}

/* Hover effect */
.ems-resp__li:hover{
  background: #0a66c2;
  transform: translateY(-1px);
}

.ems-resp__li:hover i{
  color: #fff;
}

/* Mobile: even smaller */
@media (max-width: 480px){
  .ems-resp__li{
    width: 24px;
    height: 24px;
  }
  .ems-resp__li i{
    font-size: 13px;
  }
}













/* =========================
  Sustainability Section (Modern)
  NO-CONFLICT namespace: sus-*
========================= */

.sus{
  padding: 80px 0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(30,198,198,.16), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(0,52,54,.14), transparent 60%),
    linear-gradient(180deg, #f6fffb 0%, #ffffff 100%);
}

.sus__container{
  width: min(1200px, 92%);
  margin: 0 auto;
}

.sus__head{
  text-align: center;
  margin-bottom: 28px;
}

.sus__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0c6e6d;
  background: rgba(30,198,198,.14);
  border: 1px solid rgba(30,198,198,.25);
}

.sus__title{
  margin: 14px 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  color: #003436;
  letter-spacing: .2px;
}

.sus__subtitle{
  margin: 0 auto;
  max-width: 860px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #4b5f5f;
}

.sus__grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sus__card{
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg,#ffffff 0%, #f8fffe 100%);
  border: 1px solid rgba(30,198,198,0.22);
  box-shadow: 0 14px 34px rgba(0,0,0,0.08);
  padding: 20px 18px 18px;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}

.sus__card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg,#1ec6c6,#003436);
  opacity: 0;
  transition: .28s ease;
}

.sus__card:hover{
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}

.sus__card:hover::before{
  opacity: .07;
}

.sus__icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(30,198,198,.15);
  border: 1px solid rgba(30,198,198,.28);
}

.sus__icon i{
  font-size: 22px;
  color: #0c6e6d;
}

.sus__cardTitle{
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 900;
  color: #003436;
}

.sus__cardText{
  margin: 0 0 12px;
  font-size: 13.6px;
  line-height: 1.65;
  color: #4b5f5f;
}

.sus__list{
  margin: 0;
  padding-left: 18px;
  color: #566f6f;
  font-size: 13px;
  line-height: 1.6;
}

.sus__list li{
  margin: 6px 0;
}

/* Wide card for Training */
.sus__card--wide{
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 992px){
  .sus__grid{ grid-template-columns: repeat(2, 1fr); }
  .sus__card--wide{ grid-column: auto; }
}

@media (max-width: 560px){
  .sus{ padding: 62px 0; }
  .sus__grid{ grid-template-columns: 1fr; }
}



/* =========================
   Tick List Style (QA / Sustainability)
   NO-CONFLICT
========================= */

.sus__tickList{
  list-style: none;
  margin: 0;
  padding: 0;
}

.sus__tickList li{
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5f5f;
}

/* Tick icon */
.sus__tickList li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(30,198,198,0.15);
  border: 1px solid rgba(30,198,198,0.35);
  color: #0c6e6d;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================
   MOBILE POLISH – FINAL FIX (24.12.25)
========================= */
@media (max-width: 480px){

  /* Card overall tighter */
  .ems-resp__card{
    padding: 14px !important;
    border-radius: 18px;
  }

  /* Profile block tighter */
  .ems-resp__profile{
    padding: 12px;
    gap: 12px;
  }

  .ems-resp__photoWrap{
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
  }

  /* Name & designation */
  .ems-resp__name{
    font-size: 17px;
  }

  .ems-resp__designation{
    font-size: 13px;
  }

  /* Description less dominant */
  .ems-resp__desc{
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* Tags softer */
  .ems-resp__tag,
  .ems-resp__qual{
    font-size: 11.5px;
    padding: 5px 8px;
  }

  /* Reduce visual noise from gradients */
  .ems-resp__card::before{
    opacity: 0.6;
  }
}


@media (max-width: 480px){
  .ems-resp__desc{
    max-height: 96px;
    overflow: hidden;
  }
}


/* ==================================
   MOBILE CONTACT FIX – FINAL
================================== */
@media (max-width: 480px){

  /* 🔹 Card never exceed screen */
  .ems-resp__card{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* 🔹 Contact section = column */
  .ems-resp__contact,
  .ems-resp__contact--tight{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    width: 100%;
  }

  /* 🔹 Email & Phone full width */
  .ems-resp__link{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 12px 12px;
  }

  /* 🔹 Text overflow fix */
  .ems-resp__link span:last-child{
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 🔹 Phone floating button REMOVE */
  .ems-resp__link--mini{
    display: none !important;
  }

  /* 🔹 Icon slightly smaller */
  .ems-resp__icon{
    width: 34px;
    height: 34px;
  }
}

/* ==================================================
   EMS MOBILE STACK MODE (NO-CONFLICT, NEW IDEA)
================================================== */
@media (max-width: 520px){

  /* 1️⃣ Card becomes natural block */
  .ems-resp__card{
    display: block !important;
    padding: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* 2️⃣ Profile + Details stacked */
  .ems-resp__profile,
  .ems-resp__details{
    width: 100%;
    box-sizing: border-box;
  }

  /* 3️⃣ Profile centered */
  .ems-resp__profile{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ems-resp__photoWrap{
    margin-bottom: 8px;
  }

  .ems-resp__name{
    font-size: 17px;
    text-align: center;
  }

  .ems-resp__designation{
    justify-content: center;
    font-size: 13px;
  }

  /* 4️⃣ Description shorter & clean */
  .ems-resp__desc{
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 12px;
  }

  /* 5️⃣ Qualifications wrap nicely */
  .ems-resp__quals{
    justify-content: center;
    gap: 6px;
  }

  .ems-resp__qual{
    font-size: 11.5px;
    padding: 5px 8px;
  }

  /* 6️⃣ CONTACT: pure vertical buttons */
  .ems-resp__contact,
  .ems-resp__contact--tight{
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    gap: 10px;
  }

  .ems-resp__link{
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }

  /* 7️⃣ Kill anything icon-only / floating */
  .ems-resp__link--mini{
    display: none !important;
  }

  /* 8️⃣ Safety: nothing leaks outside */
  .ems-resp *{
    max-width: 100%;
    box-sizing: border-box;
  }
}


/* ==================================================
   iOS SAFARI MOBILE FIX – HARD OVERRIDE (FINAL)
   Scope: ONLY <=480px
================================================== */
@media (max-width: 480px){

  /* 1️⃣ Card cannot overflow screen */
  .ems-resp__card{
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* 2️⃣ Kill grid behaviour completely */
  .ems-resp__contact,
  .ems-resp__contact--tight{
    display: block !important;
    width: 100% !important;
  }

  /* 3️⃣ Each contact box full-width stacked */
  .ems-resp__contact a{
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 10px;
  }

  /* 4️⃣ Remove any fixed / min width */
  .ems-resp__contact a,
  .ems-resp__contact span{
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* 5️⃣ Email text SAFE wrap */
  .ems-resp__contact span:last-child{
    white-space: normal !important;
    word-break: break-all !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 13px;
  }

  /* 6️⃣ Icon size adjust */
  .ems-resp__icon{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  /* 7️⃣ Remove any floating / mini buttons */
  .ems-resp__link--mini{
    display: none !important;
  }
}
