/* =========================
   ABOUT HERO (FULL CSS)
   ========================= */

.aboutHero{
  padding: 3.6rem 0 0;
  background: var(--bg);
}

/* Full-width feel: text closer left, image farther right */
.aboutHeroInner{
  width: 100%;
  max-width: none;
  margin: 0 auto;

  padding-left: 4vw;
  padding-right: 0; 

  display: grid;
  grid-template-columns: minmax(0px, 660px) 1fr;
  gap: 5vw;
  align-items: start;
  box-sizing: border-box;
}

.ourTeamSection h2 {
    margin-bottom: -3rem;
}


/* LEFT SIDE */
.aboutHeroLeft{
  padding-top: .4rem;
}

.aboutHeroTitle{
  margin: 0 0 2.4rem 0;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(2.9rem, 4.2vw, 4.3rem);
}

/* underline only for "saves time" */
.aboutHeroTitle .u{
  position: relative;
  display: inline-block;

}
.aboutHeroTitle .u::after{
  content:"";
  position: absolute;
  left: 0;
  width: 100%;        /* make it full underline */
  bottom: .15em;      /* raise it closer to the text */
  height: 10px;
  /* border-radius: 999px; */
  background: var(--c-blue-800);
}

/* paragraph block (keeps reference-like wraps) */
.aboutHeroBody{
  margin: 0;
  width: 600px;
  max-width: 100%;
  font-size: 1.25rem;
  line-height: 1.28;
  color: var(--text-muted);
}

/* RIGHT SIDE IMAGE */
.aboutHeroRight{
  display: flex;
  justify-content: flex-end;
  margin-top: .6rem;
  width: 100%;
}

.aboutHeroImg{
  width: 100%;          /* <-- remove the 980px cap */
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .aboutHeroInner{
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .aboutHeroRight{
    justify-content: flex-start;
    margin-top: 0;
  }

  .aboutHeroImg{
    width: 100%;
    height: 260px;
  }

  .aboutHeroBody{
    width: min(520px, 100%);
  }
}

/* =========================
   THE COLOSO WAY
   ========================= */

.colosoWay{
  padding: 4.8rem 0 4.2rem;
}

.colosoWayInner{
  /* width: min(1480px, 94%); */
  margin: 0 auto;
  padding: 0;                
}

/* top row */
.colosoWayTop{
  display: grid;             
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.2rem;
}

.colosoWayTitle{
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

.colosoWayTitle span{
  color: var(--c-client-title); 
}

.colosoWayKicker{
  margin: .6rem 0 0;
  text-align: right;
  max-width: 520px;
  justify-self: end;         
  overflow-wrap: anywhere;
  color: var(--text-muted);   
}

/* 3 columns, 2 rows */
.colosoWayGrid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  column-gap: clamp(2rem, 3.2vw, 4.2rem); 
  row-gap: 4.2rem;
  padding-top: 1.2rem;
  width: min(1480px, 94%);
  margin: 5rem auto;
}

/* vertical dividers between columns */
.colosoWayGrid::before,
.colosoWayGrid::after{
  content:"";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: rgba(40, 120, 170, 0.25);
}

.colosoWayGrid::before{ left: 33.333%; transform: translateX(-0.5px); }
.colosoWayGrid::after { left: 66.666%; transform: translateX(-0.5px); }

/* item styling */
.wayItem h3{
  margin: 0 0 1rem;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--c-client-title);
}

.wayItem p{
  margin: 0;
  max-width: 36ch;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 500;
}

/* responsive */
@media (max-width: 980px){
  .colosoWayTop{
    flex-direction: column;
    align-items: flex-start;
  }
  .colosoWayKicker{
    text-align: left;
    margin-top: 0;
  }

  .colosoWayGrid{
    grid-template-columns: 1fr;
    row-gap: 2.2rem;
  }
  .colosoWayGrid::before,
  .colosoWayGrid::after{
    display: none;
  }
  .wayItem p{
    max-width: 60ch;
  }
}

/* =========================
   PEOPLE INTRO (HEADER ONLY)
   ========================= */

.peopleIntro{
  border-top: 1px solid rgba(40, 120, 170, 0.22);
  border-bottom: 1px solid rgba(40, 120, 170, 0.22);
  background: var(--bg);
}

.peopleIntroInner{
  width: min(1480px, 94%);
  margin: 0 auto;
  padding: 2.6rem 0;

  display: grid;
  grid-template-columns: 1fr minmax(420px, 720px);
  gap: 3rem;
  align-items: start;
}

.peopleIntroLeft{
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.peopleBar{
  width: 8px;
  height: 96px;
  background: var(--c-blue-500);
  border-radius: 2px;
  margin-top: .35rem;
}

.peopleTitle{
  margin: 0;
  font-size: clamp(2.6rem, 3.8vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}

.peopleTitle span{
  color: var(--c-client-title);
}

.peopleIntroText{
  margin: .35rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 72ch;
  justify-self: end;
}

/* Responsive */
@media (max-width: 980px){
  .peopleIntroInner{
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .peopleIntroText{
    justify-self: start;
    max-width: 60ch;
  }
  .peopleBar{
    height: 78px;
  }
}

/* =========================
   PEOPLE / TEAM GRID
   ========================= */

.expertiseSection{
  padding: 3.5rem 0 5rem;
  background: var(--bg);
}

.ourTeamSection{
  width: min(1480px, 94%);
  margin: 5rem auto 1rem auto;
}

.teamContainer{
  display: grid;
  gap: 4rem;
}

/* 1st row (4 cards) */
.foundersTeam{
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: clamp(1.4rem, 2vw, 2rem);
  align-items: start;
}

/* 2nd row (3 cards centered) */
.developmentTeam{
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 320px));
  gap: clamp(1.4rem, 2vw, 2rem);
  justify-content: center;
  align-items: start;
}

/* =========================
   TEAM CARD (match ref)
   ========================= */

/* square corners everywhere */
.teamMemberCard,
.cardInner,
.cardFront,
.cardBack,
.cardFront img{
  border-radius: 0;
}

.teamMemberCard{
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.cardInner{
  overflow: hidden;
}

/* image area */
.cardFront{
  background: #0a0a0a;
}

.cardFront img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;

  filter: grayscale(100%);
  transition: filter .18s ease;
}

/* bottom info bar */
.cardBack{
  background: #e9e9e9;
  padding: 1rem 1.1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  transition: background .18s ease;
}

/* left text block */
.cardBack-content{
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.cardBack-content h3{
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 800;
  color: var(--text);

  transition: color .18s ease;
}

.cardBack-content .member-title{
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  opacity: .9;

  transition: color .18s ease, opacity .18s ease;
}

/* LinkedIn on the right */
.linkedin-wrapper{
  margin-left: auto;
  flex: 0 0 auto;
}

.linkedin-wrapper a{
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;
  text-decoration: none;

  transition: border-color .18s ease;
}

.linkedin-wrapper img{
  width: 40px;
  height: 40px;
  display: block;

  transition: filter .18s ease;
}

/* =========================
   HOVER (blue bar + color photo)
   ========================= */

.teamMemberCard:hover .cardFront img{
  filter: grayscale(0%);
}

.teamMemberCard:hover .cardBack{
  background: var(--c-client-title);
}

.teamMemberCard:hover .cardBack-content h3,
.teamMemberCard:hover .cardBack-content .member-title{
  color: var(--bg);
  opacity: 1;
}

.teamMemberCard:hover .linkedin-wrapper a{
  border-color: rgba(255,255,255,0.95);
}

.teamMemberCard:hover .linkedin-wrapper img{
  filter: brightness(0) invert(1);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1150px){
  .foundersTeam{
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
  .developmentTeam{
    grid-template-columns: repeat(2, minmax(240px, 320px));
  }
}

@media (max-width: 650px){
  .foundersTeam,
  .developmentTeam{
    grid-template-columns: 1fr;
  }
  .cardFront img{
    height: 280px;
  }
}


/* =========================
   CAREERS SECTION (3 columns)
   ========================= */

.careersSection{
  padding: 4.5rem 0 5.5rem;
}

.careersSection .sectionTitle{
  margin-bottom: 2.8rem;
}

.careersSection .sectionTitle h2{
  margin: 0 0 .6rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.careersSection .sectionTitle h1{
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--text);
}

.sect-content{
  width: min(1480px, 94%);
  margin: 0 auto;
  position: relative;
}

.blur-section-2{
  display: none; /* optional: hide if you don’t want any blur background */
}

/* grid wrapper */
.career-descriptions{
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  column-gap: clamp(2.5rem, 5vw, 6.5rem);
  row-gap: 2.4rem;
  align-items: start;
}

/* each column card */
.career-desc{
  background: transparent;
}

/* icon top */
.career-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.career-desc h3{
  margin: 0 0 1.2rem;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--c-client-title);
}

/* list blocks */
.career-desc ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.6rem; /* creates the “separated paragraphs” feel from the screenshot */
}

.career-desc li{
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 40ch;
}

/* button centered under middle column */
#sendresume{
  grid-column: 2;
  justify-self: center;
  margin-top: .2rem;
  padding: 1rem 2.4rem;
  border-radius: 999; /* screenshot style */
  font-size: 1.1rem;
  font-weight: 700;
  /* min-width: 320px; */
}

/* responsive */
@media (max-width: 980px){
  .career-descriptions{
    grid-template-columns: 1fr;
    row-gap: 2.6rem;
  }

  #sendresume{
    grid-column: 1;
    justify-self: start;
    min-width: 240px;
  }

  .career-desc li{
    max-width: 60ch;
  }
}

.resume-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Show when active */
.resume-modal.is-open {
  display: flex;
}

/* Dark overlay */
.resume-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Modal box */
.resume-modal-content {
  position: relative;
  background: var(--bg);
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 18px 45px rgba(15, 76, 117, 0.25);
  z-index: 1;
}

/* Close button */
.resume-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Simple form layout */
#resumeForm .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

#resumeForm label {
  font-size: 0.9rem;
  font-weight: 500;
}

#resumeForm input[type="text"],
#resumeForm input[type="email"],
#resumeForm input[type="file"] {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #d0d7e2;
  font-size: 0.95rem;
}

.careersSection .sect-content{
  margin-top: 2rem;
}

#teamSection .sectionHeaderSubtitle{
  max-width: 45% !important;
}

@media (max-width: 450px){
  .aboutHero{
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)), url('../media/about-hero.jpeg') no-repeat center top / cover;
  }
  .aboutHeroLeft{
    background: rgba(255, 255, 255, 0.55);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.7px);
    -webkit-backdrop-filter: blur(12.7px);
    padding: 1rem;
  }
  .aboutHeroRight{
    display: none !important;
  }
  .colosoWay{
    margin-top: 3rem;
    padding: 1rem 0;
  }
  .colosoWayGrid{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 0;
    margin-bottom: 1rem;
    width: 100%;
    background: linear-gradient(180deg, #c4e0ee 0%, #ffffff 100%);
  }
  .wayItem{
    background-color: #fff;
    border-radius: .5rem;
    padding: .5rem;
    width: 90% !important;
  }
  .expertiseSection{
    padding: 2rem 0 3rem;
  }
  .ourTeamSection{
    width: 90% !important;
    margin: 1rem auto 1rem auto;
  }
  .teamContainer{
    gap: 1.3rem;
  }
  .foundersTeam,
  .developmentTeam{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
  }
  .teamMemberCard{
    width: 170px;
  }
  .cardBack-content h3{
    font-size: 1rem;
  }
  .member-title{
    font-size: .7rem !important;
  }
  .career-descriptions{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }
  .career-desc{
    background-color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
  }
  .career-icon{
    margin: .5rem 0 0 .5rem;
  }
  .career-icon img{
    width: 40px;
    height: 40px;
  }
  .career-desc h3{
    margin: .5rem 0 1rem .5rem;
    font-size: 1.25rem;
    padding-left: .5rem;
  }
  .career-desc ul{
    display: none !important;
  }
  .colosoWay{
    margin-top: 1rem !important;
    padding-top: 0 !important;
  }
  .ourTeamSection h2 {
    margin-bottom: -.3rem;
  }
}