
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  min-width: 100%;
  font-family: Segoe UI;
  background: rgb(247, 247, 247);
  overflow-x: hidden;
  font-size: 1rem;
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  text-decoration: none;
}


/* =================== Hero Section Styling ================== */
.heroConp_section {
  /* border: solid 2px red; */
}

.heroCompContainer {
  /* border: solid 2px red; */
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: url(../images/aboutImg/aboutUs-bg.webp) no-repeat center
    center/cover;
  /* background: rgb(59, 64, 82); */
  /* background: linear-gradient(90deg, rgba(59, 64, 82, 1) 0%, rgba(0, 30, 112, 1) 50%, rgba(59, 64, 82, 1) 100%); */
}

.heroCompContainer > h1 {
  color: #fff;
  background: #010818;
  padding: 0.5rem 1.5rem;
  font-size: 1.5rem;
  border: solid 2px #fff;
  border-radius: 0.5rem;
}

/* *******************  About us page Main page Wrapper ************************ */

.about_main_container {
  /* border: solid 2px red; */
  width: 100%;
  padding: 0.5rem auto;
}

/* ******************* About us / About Info Section Styling ******************* */

.about_info_section_container {
  /* border: solid 2px red; */
  width: 100%;
  margin: auto;
  max-width: 1366px;

  /* position: relative;
  padding: 0;
  z-index: 1; */
}

/* .about_info_section_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #e9e9e9;
  z-index: -1;
} */

.about_info_section_left_container {
  /* border: solid 2px red;*/
  width: 90%;
  margin: auto 5% !important;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-top: -1rem !important;
}

.about_info_section_left_content_div {
  /* border: solid 2px green; */
  width: 70%;
  text-align: left;
}

.about_info_section_left_title_h1 {
  font-size: 2rem;
}

.about_info_section_left_title_h4 {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 700;
}

.about_info_section_left_para_p1,
.about_info_section_left_para_p2 {
  width: 100%;
  margin-top: 1rem;
}

.about_info_section_left_para_p2 {
}

.about_info_section_right_container {
  /* border: solid 2px red; */
}

.about_info_section_right_image_div {
  /* border: solid 2px green; */
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1.75rem;
  padding-bottom: 5%;
}

.about_info_section_right_image {
  width: 100%;
  mix-blend-mode: multiply;
}

/*--============================= Comcon 40+ Years of Experience Section styling ==================================-- */

.comcon_milestonediv {
  /* border: solid 2px #d1d1d1; */
  background: #f5f5f5;
  width: 90%;
  max-width: 1366px;
  margin-bottom: 2rem;
  margin: auto;
  margin-top: 1rem;

  position: relative;
  padding: 0;
  z-index: 1;
}

.comcon_milestonediv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #e9e9e9;
  z-index: -1;
}

.comcon_milestone_title {
  /* border: solid 2px green; */
  width: max-content;
  margin: auto;
  padding-top: 1.5rem;
  font-size: 2rem;
}

.timeline_main_container {
  /* border: solid 2px green; */
  width: 100%;
  min-height: 300px;
  height: max-content;
  position: relative;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

:root {
  --primary-blue: #003366;
  --light-grey: #f4f4f4;
  --border-grey: #d1d1d1;
  --transition-speed: 0.4s;
}

/* Timeline Container */
.timeline-wrapper {
  /* border: solid 2px red; */
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-height: 175px;
  margin-bottom: 10px;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */

  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-wrapper::-webkit-scrollbar {
  display: none;
} /* Hide scrollbar Chrome */

/* The Connecting Line */
.timeline-line {
  position: absolute;
  top: 41%;
  left: 0;
  height: 3px;
  background: var(--border-grey);
  width: 0; /* Starts at 0 for animation */
  transform: translateY(-50%);
  z-index: 1;
  animation: drawLine 1.5s ease-out forwards;

  /* border: solid 2px black; */
}

@keyframes drawLine {
  to {
    width: 100%;
  }
}

/* Milestones Container */
.milestones-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 800px;
}

/* Individual Year Circle */
.milestone {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-speed) ease-in-out;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.circle {
  /* border: solid 2px red; */
  width: 25px;
  height: 25px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  transition: all var(--transition-speed) ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0; /* Hidden initially */
  font-weight: bold;
  margin-top: 7.5px;
}

.milestone-label {
  margin-top: 15px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  transition: opacity 0.3s;
}

/* Hover Effects */
.milestone:hover .circle {
  transform: scale(1.1);
  background-color: #001a33; /* Darkens */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Active State (The 1987 large circle style) */
.milestone.active .circle {
  width: 70px;
  height: 70px;
  font-size: 16px;
}

.milestone.active .milestone-label {
  font-size: 16px;
  color: var(--primary-blue);
}

/* Content Panel */
#content-panel {
  width: 100%;
  max-width: 800px;
  background: var(--light-grey);
  border-radius: 12px;
  padding: 0;
  max-height: 0;
  min-height: 0px;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

#content-panel.expanded {
  /* padding: 5px 0px 5px 5px; */
  max-height: 250px;
  opacity: 1;
  border: 1px solid var(--border-grey);
}

.panel-inner h2 {
  padding-top: 7.5px;
  padding-left: 15px;
  font-size: 1.25rem;
  margin-top: 0;
  color: var(--primary-blue);
}

.panel-inner p {
  color: #555;
  padding-left: 10px;
}

.mobile_nav_button_container {
  display: none;
}

.prevBtn,
.nextBtn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 5;
  position: absolute;
}

.prevBtn {
  top: 28%;
  left: 0;
}
.nextBtn {
  top: 28%;
  right: 0;
}

button:disabled {
  background: #ccc;
}

/* ************************ About Comcon Container Styling ******************* */


.about_comcon_container_content {
  /* border: solid 2px red; */
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 0 2rem 0;
}

/* ── Hero header ── */
header {
  text-align: center;
  margin-bottom: 12px;
  animation: fadeDown 0.6s ease both;
}

.tagline {
  font-size: 2.0rem;
  font-weight: 600;
  /* letter-spacing: 3px; */
  /* text-transform: uppercase; */
  color: #000;
  margin-top: 14px;
  animation: fadeDown 0.6s 0.1s ease both;
}

/* .divider {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 10px auto 40px;
  border-radius: 2px;
  animation: grow 0.5s 0.2s ease both;
} */

/* ── Cards grid ── */
.cards {
  display: flex;
  gap: 28px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  /* border: solid 2px red; */
}

.card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: #003366 !important;
  border-radius: 16px;
  overflow: hidden;
  /* box-shadow: 0 4px 24px rgba(15, 42, 110, 0.12); */
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  animation: fadeUp 0.55s ease both;
}

.card:nth-child(2) {
  animation-delay: 0.12s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 3px 8px rgba(15, 42, 110, 0.2);
}

/* Card top band */
.card-header {
  /* border: solid 1px yellow; */
  width: 100%;
  height: 100%;
  background: #003366;
  padding: 12px 15px 12px;
  position: relative;
  overflow: hidden;
}

.card-header::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.card-header a {

  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.2s;
}

.card-header a:hover {
  color: #dfdfdf;
}

.card-sub {
  /* border: solid 1px #fff; */
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.699);
  text-transform: uppercase;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

/* Card body links */
.card-body {
  /* border: solid 1px red; */
  padding: 24px 28px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  /* background:; */
  border-radius: 8px;
  color: #f0f4fb;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    #003366 0.2s,
    border-color 0.2s,
    color 0.2s,
    gap 0.2s;
  /* cursor: default; */
}

.chip span::before {
  content: "▶";
  font-size: 0.55rem;
  /* color: var(--accent); */
  flex-shrink: 0;
}

.chip span:hover {
  background: #fff;
  border-color: #003366;
  color: #003366;
  gap: 12px;
}

/* ==================== Our Team Section Styling ==================== */

.ourTeam_container {
background: #f5f5f5;
  width: 90%;
  max-width: 1366px;
  margin: auto;
  margin-top: 1rem;
  
  position: relative;
  padding: 0;
  z-index: 1;

  padding-top: 1rem;
  padding-bottom: 2rem;
}

.ourTeam_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #e9e9e9;
  z-index: -1;
}

.ourTeam_title {
  /* border: solid 2px red; */
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  color: #052444;
  margin: 0 0 2.5rem;
  margin-top: 1rem;
}

.ourTeam_tier_label {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fa3c0;
  margin-bottom: 10px;
}

/* connector lines */
.ourTeam_pipe { display: flex; flex-direction: column; align-items: center; margin: 0 auto; width: fit-content; }
.ourTeam_pipe_v { width: 2px; height: 24px; background: #b0bec8; }
.ourTeam_pipe_h { border-top: 2px solid #b0bec8; }
.ourTeam_pipe_stubs { display: flex; justify-content: space-between; }
.ourTeam_pipe_stubs span { width: 2px; height: 18px; background: #b0bec8; display: block; }

/* tier rows */
.ourTeam_tier {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* card */
.ourTeam_card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s;
}
.ourTeam_card:hover { transform: translateY(-4px); }

.ourTeam_card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #cdd6e0;
}

.ourTeam_card_foot {
  background: #052444;
  padding: 10px 12px;
  width: 100%;
  height: 100%;
}
.ourTeam_card_foot .name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}
.ourTeam_card_foot .role {
  font-size: 12px;
  color: #7fa3c0;
  margin-top: 2px;
  line-height: 1.3;
}

/* tier sizes */
.ourTeam_card--founder { width: 150px; }
.ourTeam_card--director { width: 145px; }
.ourTeam_card--manager { width: 116px; }

@media (max-width: 600px) {
  .ourTeam_card--founder,
  .ourTeam_card--director { width: 130px; }
  .ourTeam_card--manager { width: 100px; }
  .ourTeam_pipe_h { width: 260px !important; }
  .ourTeam_pipe_stubs { width: 260px !important; }
}


/* For Responsive design */

@media only screen and (max-width: 1275px) {
  .about_comcon_container {
    /* border: solid 2px red; */
    width: 100%;
    /* padding: 0.5rem 1rem; */
  }
  .about_comcon_content_heading > h2 {
    /* border: solid 2px blue; */
    font-size: 1.5rem !important;
    padding: 8px 12px !important;
  }
  .about_comcon_image_group {
    /* border: solid 2px yellow; */
  }

  .about_comcon_image_div {
    /* border: solid 2px blue; */
    width: 100%;
  }
  .about_comcon_image {
    /* border: solid 2px red; */
    width: 10rem;
    height: auto;
    margin-right: 0.25rem;
  }
}

@media only screen and (max-width: 1150px) {
  .comcon_milestonediv {
    /* border: solid 2px red; */
  }
  .timeline_main_container {
    /* border: solid 2px green; */
    position: relative;
  }
  .timeline-wrapper {
    /* border: solid 2px blue; */
    justify-content: flex-start;
    padding: 0 1rem;
    position: relative;
  }

  .timeline-main-content {
    /* position: relative; */
  }

  .timeline-line {
    position: relative;
  }

  .timeline-wrapper {
    position: relative;
  }

  .milestones-container {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .prevBtn,
  .nextBtn {
    display: none;
  }

  .mobile_nav_button_container {
    display: block;
    position: relative;
    top: 28%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    z-index: 5;
  }

  .prevBtn_mob,
  .nextBtn_mob {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 6;
    /* border: solid 2px yellow ; */
  }
  .prevBtn_mob {
    margin-right: 1rem;
  }
  .nextBtn_mob {
    margin-left: 1rem;
  }
}

@media only screen and (max-width: 1200px) {
  .about_info_section_left_title_h1 {
    /* border: solid 2px red; */
    font-size: 1.5rem;
  }
  .about_info_section_left_title_h4 {
    /* border: solid 2px red; */
    margin-top: -0.15rem;
    font-size: 1.15rem;
  }
  .about_info_section_left_para_p1,
  .about_info_section_left_para_p2 {
    font-size: 14px;
    margin-top: 0.75rem;
  }
}

@media only screen and (max-width: 1024px) {
  .heroMain__div {
    top: 50%;
    left: 50%;
  }

  .heroMain__line {
    top: 85%;
  }

  .about_info_section_left_container {
    width: auto;
    padding: 0.25rem 1rem;
    margin: auto !important;
    flex-direction: column;
    text-align: center;
    margin-top: 1rem !important;
  }

  .about_info_section_left_content_div {
    width: 100%;
    text-align: center;
  }

  .about_info_section_right_container {
    width: 60%;
    margin-top: -5rem;
    padding-left: -2rem !important;
  }
  .about_info_section_right_image_div {
    width: 100%;
    margin: 0 0 0 0;
  }

  .about_comcon_content_heading {
    font-size: 1.5rem !important;
    padding: 8px 12px !important;
  }
  .about_comcon_content_div {
    flex-direction: column;
  }
  .about_comcon_content_div:nth-child(2) {
    margin-top: 2.5rem;
  }
  .about_comcon_image_group {
    margin-top: 1rem;
  }


}

@media only screen and (max-width: 900px) {
}

@media only screen and (max-width: 768px) {
  .heroCompContainer > h1 {
    font-size: 1.25rem;
    padding: 0.25rem 1rem;
  }
  .about_info_section_right_container {
    width: 60%;
    margin-top: -2.5rem;
    padding-left: -2rem !important;
  }
  .comcon_milestone_title {
    font-size: 1.5rem;
  }
  .about_comcon_content_heading > h2 {
    font-size: 1.25rem !important;
    padding: 8px 12px !important;
  }
  .about_comcon_image {
    width: 8rem;
    height: auto;
    margin-right: 0.25rem;
  }

  .about_comcon_image_div {
    width: 80%;
    margin: 0.25rem auto;
  }
  .about_comcon_image {
    width: 100%;
    height: auto;
  }

  .comcon_milestone_title {
    /* border: solid 2px red; */
    width: auto;
    text-align: center;
    margin: auto;
    font-size: 1.5rem;
  }
  .timeline-wrapper {
    /* border: solid 2px red; */
    margin: 0 !important;
    margin-top: -1.25rem !important;
    padding: 0 0.5rem !important;
  }

  .milestone {
    /* border: solid 2px red; */
    padding: 0 !important;
    margin: 0 !important;
  }
  .mobile_nav_button_container {
    margin-top: 0 !important;
    padding: 0 !important;
    padding-bottom: 0.5rem !important;
  }
  .circle {
    width: 20px;
    height: 20px;
  }
  .milestone.active .circle {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  .prevBtn_mob,
  .nextBtn_mob {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 4px 9px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 6;
    /* border: solid 2px yellow ; */
  }
  #content-panel {
    text-align: center;
  }
  .panel-inner h2 {
    font-size: 1.25rem;
  }

  
}

@media only screen and (max-width: 668px) {
}

@media only screen and (max-width: 600px) {
}

@media only screen and (max-width: 460px) {
}

@media only screen and (max-width: 400px) {
}
