.hero {
  min-height: 100vh; 
 background: url('../img/012d58-14-3.png') no-repeat center center/cover;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  overflow: hidden;
  z-index: 10;
  flex-direction: column;
  
}


.white-screen {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 10;
  animation: fadeOut 1.2s forwards ease-in-out;
}
@keyframes fadeOut {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 2;
}


.content {
  z-index: 3;
  text-align: center;
  padding: 40px 60px;
  opacity: 0;
  z-index: 10;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  z-index: 2;
  pointer-events: none;
}


.hero::before {
  top: 10%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawHorizontalLine 1.2s ease forwards;
  animation-delay: 0.8s;
}


.hero::after {
  top: 0;
  left: 5%;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  animation: drawVerticalLine 1.2s ease forwards;
  animation-delay: 0.8s;
}

@keyframes drawHorizontalLine {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes drawVerticalLine {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.line {
  position: absolute;
  background: rgba(255,255,255,0.3);
  z-index: 2;
  pointer-events: none;
}

.line.line-bottom {
  bottom: 5%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: drawHorizontalLine 1.2s ease forwards;
  animation-delay: 0.8s;
}


.line.line-right {
  top: 0;
  right: 5%;
  width: 1px;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top center;
  animation: drawVerticalLineRight 1.2s ease forwards;
  animation-delay: 0.8s;
}
@keyframes drawVerticalLineRight {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}


.subtitle {
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

h1 {
  font-size: 82px;
  margin: 10px 0 20px;
  font-weight: 400;
  text-align: center;
}

.description {
  font-size: 20px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.btn-primary {
  background: #fff;
  color: #000;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.8);
}


.scroll-down {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.scroll-down span {
  display: block;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-size: 14px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.scroll-down span:hover {
  background: rgba(255, 255, 255, 0.3);
}

.image-pill {
  display: inline-block;
  width: 180px;
  height: 90px;
  overflow: hidden;
  border-radius: 50px;
  vertical-align: middle;
  margin: 0 10px;
}
.image-pill img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.stats {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  gap: 80px;
  z-index: 5;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2.5s; 
}
.stats div {
  text-align: center;
}
.stats h3 {
  font-size: 42px;
  margin: 0;
}
.stats p {
  font-size: 16px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 1200px) {
  .content {
    padding: 30px 40px;
  }
  h1 {
    font-size: 64px;
  }
  .description {
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 54px;
  }
  .btn-primary {
    font-size: 16px;
    padding: 12px 24px;
  }
  .stats {
    gap: 40px;
  }
  .stats h3 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding-top: 15%;

  }
  .image-pill{
    width: 100px;
    height: 50px;
  }
	
	.image-pill img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
  h1 {
    font-size: 40px;
  }
  .description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  .stats h3 {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 20px;
  }
  h1 {
    font-size: 32px;
  }
  .subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .description {
    font-size: 14px;
  }
  .btn-primary {
    font-size: 14px;
    padding: 10px 18px;
  }
  .stats div {
    margin-bottom: 10px;
  }
  .stats h3 {
    font-size: 28px;
  }
  .stats p {
    font-size: 14px;
  }
}
