/* ══════════════════════════════════════
   OUR TEAM SECTION  — append to style.css
══════════════════════════════════════ */

.team-section {
  background: #fff;
  padding: 90px 0 80px;
  overflow: hidden;
}

/* ── Section Header ── */
.team-header {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 14px;
}
.team-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: #e30613;
  display: block;
}
.team-title {
  font-family: 'Poppins', sans-serif;
  font-size: 52px;
  font-weight: 400;
  color: #1e1c18;
  line-height: 1.08;
  letter-spacing: 1px;
}
.team-title em {
  font-style: italic;
  color: #e30613;
}
.team-header-right {
  max-width: 380px;
  font-size: 13px;
  color: #7a7268;
  line-height: 1.8;
  letter-spacing: 0.3px;
  padding-bottom: 6px;
}

/* ── Featured Member ── */
.team-featured {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.featured-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 16px;
}
.featured-name {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #1e1c18;
  margin-bottom: 22px;
  line-height: 1.15;
}
.featured-desc {
  font-size: 13px;
  color: #7a7268;
  line-height: 1.9;
  margin-bottom: 30px;
  max-width: 380px;
}
.featured-sig {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-style: italic;
  color: #e30613;
  font-weight: 300;
  letter-spacing: 1px;
}
.team-featured-img {
  position: relative;
}
.team-featured-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}
.team-featured-img::before {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  width: 100px; height: 100px;
  background: #e30613;
  opacity: 0.35;
  z-index: 1;
}
.team-featured-img::after {
  content: '';
  position: absolute;
  bottom: -16px; left: -16px;
  width: 60px; height: 60px;
  border: 2px solid #e30613;
  z-index: 1;
}

/* ── Stats Strip ── */
/* ── Feature Strip (3-col bg image) ── */
.team-strip {
  position: relative;
  width: 100%;
  background-image: url('../img/Ourteambg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #14100a;
  margin-bottom: 80px;
  overflow: hidden;
  background-attachment: fixed;
}
.team-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(12, 9, 5, 0.68);
  z-index: 1;
}
.strip-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
}
.strip-item {
  padding: 62px 52px;
  border-right: 1px solid rgba(184,168,130,0.18);
  transition: background 0.3s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(184,168,130,0.06); }

.strip-label {
  font-family: 'Poppins', sans-serif;
  font-size: 27px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: 0.2px;
}
.strip-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.60);
  line-height: 1.85;
  max-width: 300px;
}

/* ── Team Grid ── */
.team-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
.team-grid-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-grid-label::before {
  content: '';
  width: 28px; height: 1px;
  background: #e30613;
}
.team-grid-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #1e1c18;
  margin-bottom: 50px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.member-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ffd6d9;
  transition: transform 0.3s, box-shadow 0.3s;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}
.member-photo {
  width: 100%;
  aspect-ratio: 3/3.6;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.member-card:hover .member-photo { filter: grayscale(0%); }
.member-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #e30613;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.member-card:hover::after { transform: scaleX(1); }
.member-info { padding: 20px 18px 22px; }
.member-role {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 6px;
}
.member-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1e1c18;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.member-desc {
  font-size: 11px;
  color: #8a8278;
  line-height: 1.75;
}

/* ── Stylish Living Closing ── */
.team-closing {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 60px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.closing-img { position: relative; }
.closing-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.closing-img::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid #e30613;
  opacity: 0.4;
  z-index: -1;
}
.closing-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.closing-tag::before { content: ''; width: 28px; height: 1px; background: #e30613; }
.closing-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #1e1c18;
  line-height: 1.15;
  margin-bottom: 22px;
}
.closing-heading em { font-style: italic; color: #e30613; }
.closing-body {
  font-size: 13px;
  color: #7a7268;
  line-height: 1.9;
  margin-bottom: 32px;
}
.closing-btn {
  display: inline-block;
  background: #1e1c18;
  color: #fff;
  padding: 13px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.28s;
  border: none;
  cursor: pointer;
}
.closing-btn:hover { background: #e30613; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid rgba(184,168,130,0.18); padding: 40px 36px; }
  .strip-item:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .team-header, .team-featured,
  .team-grid-section, .team-closing { padding: 0 24px; }
  .team-header { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .team-title { font-size: 38px; }
  .team-featured { grid-template-columns: 1fr; gap: 36px; }
  .team-closing { grid-template-columns: 1fr; gap: 36px; padding-bottom: 60px; }
  .strip-inner { padding: 0; }
  .strip-item { padding: 32px 24px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-title { font-size: 30px; }
  .closing-heading, .featured-name { font-size: 28px; }
}

/* Viaan Infra red brand theme update */
:root{
  --viaan-red:#e30613;
  --viaan-red-dark:#b8000a;
  --viaan-red-soft:#fff2f3;
  --viaan-dark:#181818;
  --viaan-text:#222222;
}
html, body{font-family:'Poppins', Arial, sans-serif !important;background:#ffffff;color:var(--viaan-text);}
h1,h2,h3,h4,h5,h6,.bld-hero-title,.hero-title,.section-title,.about-title{font-family:'Poppins', Arial, sans-serif !important;font-weight:800;letter-spacing:-0.03em;}
p,li,a,span,button,input,textarea,select{font-family:'Poppins', Arial, sans-serif !important;}
.nav-logo img,.footer-logo img{max-height:82px;object-fit:contain;}
.navbar,.nav-header,.header,.main-header{background:#ffffff !important;border-color:#ffd6d9 !important;box-shadow:0 8px 28px rgba(227,6,19,.08) !important;}
.nav-menu a,.nav-link,.mobile-menu a{color:var(--viaan-dark) !important;font-weight:600;}
.nav-menu a:hover,.nav-link:hover,.nav-menu .active,.nav-link.active{color:var(--viaan-red) !important;}
.bld-hero,.hero,.main-hero,.page-banner,.banner,.inner-banner{background-color:var(--viaan-dark) !important;}
.bld-hero::before,.hero::before,.main-hero::before,.page-banner::before,.banner::before{background:linear-gradient(90deg,rgba(24,24,24,.88),rgba(227,6,19,.55),rgba(24,24,24,.25)) !important;}
.bld-hero-overlay,.hero-overlay,.banner-overlay{background:linear-gradient(90deg,rgba(24,24,24,.86),rgba(227,6,19,.52)) !important;}
.bld-hero-title,.hero-title,.banner-title{color:#ffffff !important;text-shadow:0 4px 18px rgba(0,0,0,.35);}
.bld-hero-subtitle,.hero-subtitle,.banner-subtitle{color:#ffe2e4 !important;}
.btn,.button,.theme-btn,.primary-btn,.read-more,.cta-btn,button[type='submit'],input[type='submit']{background:var(--viaan-red) !important;color:#ffffff !important;border-color:var(--viaan-red) !important;border-radius:6px !important;font-weight:700 !important;box-shadow:0 10px 24px rgba(227,6,19,.22) !important;}
.btn:hover,.button:hover,.theme-btn:hover,.primary-btn:hover,.read-more:hover,.cta-btn:hover,button[type='submit']:hover,input[type='submit']:hover{background:var(--viaan-red-dark) !important;border-color:var(--viaan-red-dark) !important;color:#ffffff !important;}
a{color:var(--viaan-red);} a:hover{color:var(--viaan-red-dark);}
.section-label,.eyebrow,.about-hero-eyebrow,.subtitle,.tagline,.logo-tagline{color:var(--viaan-red) !important;font-weight:700 !important;}
.title-underline,.section-title:after,.heading-line,.divider,.bld-hero-divider{background:var(--viaan-red) !important;border-color:var(--viaan-red) !important;}
.card,.project-card,.service-card,.feature-card,.faq-item,.amenity-card,.blog-card,.contact-card,.team-card{border-color:#ffd6d9 !important;box-shadow:0 12px 32px rgba(227,6,19,.08) !important;}
.card:hover,.project-card:hover,.service-card:hover,.feature-card:hover,.blog-card:hover{box-shadow:0 18px 44px rgba(227,6,19,.16) !important;transform:translateY(-3px);}
.icon,.service-icon,.feature-icon,.contact-icon,i{color:var(--viaan-red) !important;}
footer,.footer{background:#181818 !important;color:#ffffff !important;}
footer a,.footer a{color:#ffe2e4 !important;} footer a:hover,.footer a:hover{color:#ffffff !important;}
footer h1,footer h2,footer h3,footer h4,.footer h1,.footer h2,.footer h3,.footer h4{color:#ffffff !important;}
.footer-bottom,.copyright{border-color:rgba(227,6,19,.35) !important;}
.social-icon, .social a{background:rgba(227,6,19,.12) !important;color:#ffffff !important;border-color:rgba(227,6,19,.35) !important;}
.social-icon:hover,.social a:hover{background:var(--viaan-red) !important;}
input:focus,textarea:focus,select:focus{border-color:var(--viaan-red) !important;box-shadow:0 0 0 3px rgba(227,6,19,.12) !important;outline:none;}
.badge,.counter,.count,.project-status,.highlight{background:var(--viaan-red-soft) !important;color:var(--viaan-red) !important;border-color:#ffd6d9 !important;}
::selection{background:var(--viaan-red);color:#ffffff;}
