.main-home{
  display: flex;
  flex-direction: column;
  padding: 30px 0;
}

/* Main Image */

.main-image-section {
  overflow: hidden;
  padding-top: 90px;
  display: flex;
  justify-content: center;
}

.landing-page-image-container {
  width: calc(100% - 50px);
  aspect-ratio: 16 / 4;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.landing-page-image-container img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Stats */

.stats-section {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: var(--main-bg);
}

.stats-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.stats-title h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: 8px;
  text-align: center;
  color: var(--default-font-color);
  font-weight: 800;
}

.stats-title p {
  width: 60%;
  text-align: center;
  color: #b0b0b0; 
  font-size: 1rem;
  line-height: 1.6;
}

.stats-main-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  position: relative;
  background: var(--default-bg-container); 
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 30px 15px 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  opacity: 0; 
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--header-bg), var(--default-bg-container));
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.stat-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--header-logo-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-bg); 
  font-size: 2rem;
  transition: all 0.3s ease;
}

.stat-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  color: var(--default-font-color); 
  margin: 0;
  font-weight: 700;
}

.stat-card p {
  position: relative;
  z-index: 1;
  color: #b0b0b0;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 600;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover .stat-icon {
  background: var(--default-font-color);
  color: var(--main-bg); 
  transform: scale(1.1);
}

.stat-card:hover h3,
.stat-card:hover p {
  color: var(--default-font-color);
}

/* Tabs */

.tabs-section {
  padding: 60px 40px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px; 
}

.background-image-tabs {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.background-image-tabs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  filter: brightness(0.5);
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--default-bg-container);
  padding: 6px;
  border-radius: 40px;
  width: fit-content;
  margin: 0 auto;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-button {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 25px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  color: #A0A0A0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.tab-button.active {
  background: var(--header-logo-color); 
  box-shadow: 0 4px 12px rgba(187, 175, 150, 0.4); 
  color: var(--main-bg); 
}

.tab-button:hover:not(.active) {
  background: rgba(187, 175, 150, 0.2); 
  color: var(--default-font-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content-inner {
  display: flex;
  align-items: center;
  gap: 50px; 
  flex-wrap: wrap;
}

.tab-image {
  flex: 1;
  max-width: 45%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9;
}

.tab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(0.85) contrast(1.1);
}

.tab-text {
  flex: 1;
  max-width: 50%;
  padding-left: 0;
}

.tab-content h3 {
  font-size: 2rem;
  color: var(--default-font-color); 
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tab-content p {
  font-size: 1.1rem;
  color: #A0A0A0;
  line-height: 1.7;
  font-weight: 400;
}


/* Details */

.details{
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  gap: 20px;
}

.details-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.details .details-content-title {
  position: absolute;
  width: fit-content;
  display: flex;
  flex-direction: column;
  z-index: 2;
  color: white;
}

.details .details-content:nth-of-type(1) .details-content-title {
  top: 10%;
  right: 5%;
  align-items: end;
  text-align: end;
}

.details .details-content:nth-of-type(2) .details-content-title {
  top: 10%;
  left: 5%;
  align-items: start;
  text-align: start;
}

.details-content-title h3,
.details-content-title h1{
  text-align: center;
  text-transform: uppercase;
  width: fit-content;
}

.details-content-title h3{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;

}
.details-content-title h1{
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--header-logo-color);
}

.details-content hr{
  width: 60%;
}

.details-content:nth-of-type(1) p{
  width: 50%;
  text-align: end;
  font-size: 15px;
  line-height: 20px;
}
.details-content:nth-of-type(2) p{
  width: 50%;
  text-align: start;
  font-size: 15px;
  line-height: 20px;
}

.detail-image-container{
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  position: relative;
  padding: 0 20px;
  transition: all 0.4s ease;
}
.detail-image-container:hover{
  padding: 0;
}

.detail-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.detail-image-container img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.first-section{
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.left-main-content,
.right-main-content {
  height: 80%;
  width: 50%;
  /* background-color: var(--default-bg-container); */
  border-radius: 20px;
}

.left-main-content {
  height: 70%;
  width: 50%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.left-main-content h1{
  font-size: 60px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 5px;
}

.left-main-content i{
  font-size: 60px;
  color: var(--header-logo-color);
}

.left-main-content p{
  text-align: center;
}

.right-main-content{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  padding: 15px;
  
}

.right-main-content > :nth-child(1) {
  grid-column: span 2 / span 2;
  grid-row: span 4 / span 4;
}

.right-main-content > :nth-child(2) {
  grid-column: span 2 / span 2;
  grid-column-start: 3;
}

.right-main-content > :nth-child(3) {
  grid-column: span 2 / span 2;
  grid-row: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 2;
}
.right-main-content > :nth-child(4) {
  grid-column: span 2 / span 2;
  grid-column-start: 3;
  grid-row-start: 4;
}
.right-main-content .image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 10px;
  background-color: #00111C;
}

.right-main-content .image-container h1 {
  position: absolute;
  text-align: center;
  z-index: 10;
  opacity: 0.6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
}


.right-main-content .image-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;             
  will-change: opacity, transform; 
  filter: brightness(0.75) contrast(1.15) saturate(1.1) sepia(0.05);

}

.right-main-content .image-container img.active {
  opacity: 1;
  z-index: 2;
}

.typing-word {
  opacity: 0;
  display: none; 
  color: var(--header-logo-color);
}

/* client banner */

.clients-section {
  padding: 30px 0; 
  text-align: center;
}

.clients-title h1 {
  font-size: 60px;
  margin-bottom: 4px; 
  text-transform: uppercase;
}

.clients-title h1 span{
  color: var(--header-logo-color);
}

.clients-title p {
  font-size: 20px;
  color: var(--default-font-color);
  max-width: 450px;
  margin: 0 auto 50px auto; 
}

.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 15px;
  position: relative;
  overflow: hidden;
  min-height: 100px; 
}

.client-batch {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  flex-wrap: wrap; 
  align-items: center;
}

.client-logo {
  flex: 0 1 120px; 
  max-width: 120px;
}

.client-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.8;
  transition: 0.25s ease;
}

.client-logo img:hover {
  opacity: 1;
  transform: scale(1.03);
}
