/******************************* ENTRY SECTION **********************************/
.entry-sec {
  display: flex;
  height: 70vh;
  color: #fff;
  background-color: #002939;
}

.sec-left,
.sec-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-text {
  position: relative;
  overflow: hidden;
  width: 60%;
}

.sec-text img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sec-subtitle {
  color: #e20a17;
  font-size: 1.5rem;
  font-weight: 300;
}

.sec-title {
  font-size: 2.5rem;
  margin: 1rem 0;
  font-weight: bold;
}

.sec-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #e20a17;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 0 20px 0 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background-color: #b80000;
}

.sec-image {
  width: 100%;
  height: 100%;
}

.sec-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.res-image {
  display: none;
}

@media (max-width: 1024px) {
  .sec-right {
    display: none;
  }

  .sec-left {
    z-index: 1;
  }

  .entry-sec {
    position: relative;
  }

  .res-image {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .2;
  }

}

@media (max-width: 768px) {
  .sec-text {
    width: 80%;
  }

}


/***************************** TAB SECTION *****************************/

.tab-sec {
  padding: 10rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.tabs {
  display: flex;
  gap: 20px;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 4rem;
}

.tab {
  cursor: pointer;
  padding: 10px;
  color: #333;
}

.tab.active {
  font-weight: bold;
  color: #d90429;
  border-bottom: 2px solid #d90429;
}

.content {
  display: flex;
  gap: 20px;
}

.card {
  background-color: #fff;
  border-radius: 0 30px 0 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 16px;
}

.card-content h3 {
  font-size: 20px;
  margin: 0;
}

.card-content p {
  font-size: 14px;
  margin: 10px 0;
  color: #666;
  margin-bottom: 3rem;
}

.readMore {
  text-decoration: none;
  font-weight: bold;
  border-radius: 20px;
  color: #d90429;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.readMore:hover {
  color: #b80000;
  transform: translateX(5px);
}

.readMore span {
  font-size: 1.2em;
}

@media (max-width: 1024px) {
  .tab-sec {
    padding: 10rem 5rem;
  }

  .tabs {
    font-size: 2.5rem;
  }

}

@media (max-width: 768px) {
  .tab-sec {
    padding: 10rem 5rem;
  }

  .tabs {
    font-size: 2rem;
  }

  .content {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

}

@media (max-width: 600px) {
  .tab-sec {
    padding: 10rem 3rem;
  }

  .tabs {
    font-size: 1.2rem;
  }

  .content {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }

}


/***************************  HISTORY SECTION ******************************/


.history-sec {
  display: flex;
  height: 70vh;
  background-color: #002939;
  color: #fff;
  margin-bottom: 10rem;
}

.history-left,
.history-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-text {
  position: relative;
  overflow: hidden;
  width: 60%;
}

.history-text img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.history-subtitle {
  color: #e20a17;
  font-size: 1.5rem;
  font-weight: 300;
}

.history-title {
  font-size: 2.5rem;
  margin: 1rem 0;
  font-weight: bold;
}

.history-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hta-button {
  padding: 0.75rem 1.5rem;
  background-color: #e20a17;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 0 20px 0 20px;
}

.history-image {
  width: 100%;
  height: 100%;
  opacity: .5;
}

.history-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .history-right {
    display: none;
  }

  .history-sec {
    position: relative;
  }

  .history-left {
    z-index: 1;
  }
}