/* ================================================
   OUR TEAM PAGE — Supplementary Stylesheet
   Heritage Steel Storage Pvt. Ltd.

   IMPORTANT: style.css is NOT modified by this file.
   Every value below is pulled from the CSS custom
   properties already declared in style.css (colors,
   spacing, radius, shadows, transitions, fonts) so
   this page matches the rest of the site exactly.
   ================================================ */

/* ---- Accessibility utilities ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.team-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  overflow: hidden;
}
.htmltag h2,h3,h4{margin: 15px 0; color: #00a651;}
.htmltag > ul {
    list-style: disc;
    padding-left: 30px;
    margin: 15px 0;
}
.datmang{
 color: #007bff; font-weight: bold;
 margin: 10px 0;
}
.htmltag > h1 {
  color: #00a651;
}

@media (min-width: 768px) { .team-hero { min-height: 420px; } }

.team-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/glass-1.jpeg');
  background-size: cover;
  background-position: center;
}
.team-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.team-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.team-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 3rem 0;
  color: #fff;
  animation: heroContentIn 0.7s ease both;
}
.team-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.team-hero__breadcrumb a { color: rgba(255, 255, 255, 0.9); transition: color var(--trans-fast); }
.team-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.team-hero__breadcrumb span[aria-current="page"] { color: #fff; font-weight: 600; }
.team-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.team-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
}

/*=====about us page=======*/
   
.about-team-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  overflow: hidden;
}
@media (min-width: 768px) { .about-team-hero { min-height: 230px; } }

.about-team-hero__bg {
  position: absolute;
  inset: 0;
  background: #00A651;
  background-size: cover;
  background-position: center;
}
.about-team-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.about-team-hero__overlay {
  position: absolute;
  inset: 0;
  background: #00A651;
}
.about-team-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 3rem 0;
  color: #fff;
  animation: heroContentIn 0.7s ease both;
}
.about-team-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.about-team-hero__breadcrumb a { color: rgba(255, 255, 255, 0.9); transition: color var(--trans-fast); }
.about-team-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.about-team-hero__breadcrumb span[aria-current="page"] { color: #fff; font-weight: 600; }
.about-team-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.about-team-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
}

.secbtitle p{
    font-size: 1rem;
    color: var(--text-muted);
    /* max-width: 620px; */
    margin: 0 auto 20px;
    text-align: left;
}
.ction {
    padding: 3rem 0 !important;
}

/* ================================================
   BOARD OF DIRECTORS
   ================================================ */
.directors { background: var(--bg-white); }
.directors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 560px) { .directors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .directors__grid { grid-template-columns: repeat(4, 1fr); } }

.director-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  animation: fadeUpIn 0.6s ease both;
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.director-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans-base);
}
.director-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.director-card:hover::before { transform: scaleX(1); }

.director-card__avatar {
  width: 215px;
  height: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-white);
  outline: 3px solid var(--green-light);
  transition: transform var(--trans-base);
}
.director-card:hover .director-card__avatar { transform: scale(1.06); }
.director-card__avatar--green { background: var(--grad-green); }
.director-card__avatar--blue { background: var(--grad-blue); }

.director-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 0.2rem;
}
.director-card__role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.director-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.director-card__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: auto;
  transition: background var(--trans-fast), color var(--trans-fast), border-color var(--trans-fast), transform var(--trans-fast);
}
.director-card__social:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: scale(1.1);
}

/* ================================================
   LEADERSHIP / TEAM MEMBERS
   ================================================ */
.team-section { background: var(--bg-light); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.teamImg{width: 218px;border-radius: 15px;height: auto;}


@media (min-width: 480px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .team-grid { grid-template-columns: repeat(5, 1fr); } }

.team-card {
  background: var(--bg-white);
  border: 1px solid #00a651;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  animation: fadeUpIn 0.6s ease both;
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.team-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}
.team-card__initials {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: #fff;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card__initials { transform: scale(1.08); }
.team-card__photo--a { background: linear-gradient(135deg, #00A651 0%, #005c28 100%); }
.team-card__photo--b { background: linear-gradient(135deg, #007BFF 0%, #003d80 100%); }
.team-card__photo--c { background: linear-gradient(135deg, #008040 0%, #00A651 60%, #005c28 100%); }
.team-card__photo--d { background: linear-gradient(135deg, #004080 0%, #007BFF 100%); }

.team-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
}
.team-card__title { font-size: 0.85rem; font-weight: 600; color: var(--green); }
.team-card__dept {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.team-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}
.team-card__action {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--trans-fast), color var(--trans-fast), transform var(--trans-fast);
}
.team-card__action:hover { background: var(--green); color: #fff; transform: scale(1.08); }

/* ================================================
   TEAM CULTURE / VALUES
   (re-uses the existing .certs__grid / .cert-card
   pattern from style.css for icon + title + desc)
   ================================================ */
.culture { background: var(--bg-white); }

/* ================================================
   CALL TO ACTION — "Join Our Growing Team"
   ================================================ */
.team-cta {
  position: relative;
  background: var(--grad-green);
  overflow: hidden;
}
.team-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.team-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.team-cta__inner .section-title { max-width: 640px; }
.team-cta__inner .section-subtitle { max-width: 560px; }
.team-cta__btn { margin-top: 0.4rem; }

/* ================================================
   NAV — current-page indicator (additive only)
   ================================================ */
.nav__dropdown-link[aria-current="page"],
.mobile-nav__sublink[aria-current="page"] {
  color: var(--green);
  background: var(--green-light);
  font-weight: 700;
}

/* ================================================
   LOAD-IN ANIMATION (CSS only — no scroll-JS dependency)
   ================================================ */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cert-card { animation: fadeUpIn 0.6s ease both; 
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.directors__grid .director-card:nth-child(1) { animation-delay: 0.05s; }
.directors__grid .director-card:nth-child(2) { animation-delay: 0.15s; }
.directors__grid .director-card:nth-child(3) { animation-delay: 0.25s; }
.directors__grid .director-card:nth-child(4) { animation-delay: 0.35s; }

.team-grid .team-card:nth-child(1)  { animation-delay: 0.04s; }
.team-grid .team-card:nth-child(2)  { animation-delay: 0.08s; }
.team-grid .team-card:nth-child(3)  { animation-delay: 0.12s; }
.team-grid .team-card:nth-child(4)  { animation-delay: 0.16s; }
.team-grid .team-card:nth-child(5)  { animation-delay: 0.20s; }
.team-grid .team-card:nth-child(6)  { animation-delay: 0.24s; }
.team-grid .team-card:nth-child(7)  { animation-delay: 0.28s; }
.team-grid .team-card:nth-child(8)  { animation-delay: 0.32s; }
.team-grid .team-card:nth-child(9)  { animation-delay: 0.36s; }
.team-grid .team-card:nth-child(10) { animation-delay: 0.40s; }

.certs__grid .cert-card:nth-child(1) { animation-delay: 0.05s; }
.certs__grid .cert-card:nth-child(2) { animation-delay: 0.15s; }
.certs__grid .cert-card:nth-child(3) { animation-delay: 0.25s; }
.certs__grid .cert-card:nth-child(4) { animation-delay: 0.35s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .director-card, .team-card, .cert-card, .team-hero__inner {
    animation: none;
  }
}
