/* ---------- Hero Section ---------- */
.about-us-lockout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.about-us-lockout img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.about-us-lockout::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* ABOUT-US CONTENT */
#about-us-lockout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 700px;
  padding: 0 15px;
}

/* Heading */
#about-us-lockout h1 {
  font-size: 3vw;
  margin-bottom: 15px;
  color: rgb(200,153,0);
  line-height: 1.2;
  white-space: nowrap;
}

/* Paragraph */
#about-us-lockout p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 15px;
  color: #fff;
}

/* --- Fade Up Slowly Animation --- */
@keyframes fadeUpSlow {
  0% {
    opacity: 0;
    transform: translateY(40px); /* start lower */
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply fade-up animation to heading, paragraph, and button */
#about-us-lockout h1,
#about-us-lockout p,
.lockout-btn {
  opacity: 0;
  animation: fadeUpSlow 2s ease-out forwards; /* slower, smoother */
}

/* Stagger animations */
#about-us-lockout h1 { animation-delay: 0.3s; }
#about-us-lockout p { animation-delay: 0.8s; }
.lockout-btn { animation-delay: 1.3s; }

/* Button */
.lockout-btn {
  background: rgb(200, 153, 0);
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 20px;
  display: inline-block;
  transition: all 0.3s ease;
}

.lockout-btn:hover {
  background: #000840;
  transform: scale(1.05);
}


/* RESPONSIVE FONT SIZES */
@media (max-width: 1200px) {
  #about-us-lockout h1 { font-size: 4vw; }
}

@media (max-width: 992px) {
  #about-us-lockout h1 { font-size: 5vw; }
  #about-us-lockout p { font-size: 1rem; }
}

@media (max-width: 768px) {
  #about-us-lockout h1 { font-size: 6vw; }
  #about-us-lockout p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  #about-us-lockout h1 { font-size: 7vw; }
  #about-us-lockout p { font-size: 0.85rem; }
}


/* ---------- Company Section ---------- */
.company-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px 10%;
  background-color: #f4f9fc;
  gap: 30px;
  flex-wrap: wrap;
}

.company-content {
  flex: 1 1 500px;
  text-align: left;
}

.company-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #19375c;
  line-height: 1.3;
  position: relative;
}

.company-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #fdb813;
  margin-top: 10px;
  border-radius: 2px;
}

.company-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #555;
}

.company-image {
  flex: 1 1 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
}

.company-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* ---------- Responsive Media Queries ---------- */

/* Ultra-wide screens (1920px and up) */
@media (min-width: 1920px) {
  .about-us-lockout img { height: 75vh; }
  #about-us-lockout h1 { font-size: 3rem; }
  .company-content h2 { font-size: 2.6rem; }
  .company-content p { font-size: 1.15rem; }
}

/* Large desktops (1600px–1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
  .about-us-lockout img { height: 70vh; }
  #about-us-lockout h1 { font-size: 2.8rem; }
  .company-content h2 { font-size: 2.4rem; }
}

/* Desktops & laptops (1200px–1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .about-us-lockout img { height: 65vh; }
  #about-us-lockout h1 { font-size: 2.4rem; }
  .company-section { padding: 60px 8%; gap: 40px; }
}

/* Tablets landscape (992px–1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  #about-us-lockout { max-width: 80%; }
  #about-us-lockout h1 { font-size: 2.1rem; }
  #about-us-lockout p { font-size: 0.95rem; }
  .company-content h2 { font-size: 2rem; }
  .company-image img { width: 95%; }
}

/* Tablets portrait (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
  #about-us-lockout {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
  }
  #about-us-lockout h1 { font-size: 1.9rem; }
  .company-section {
    flex-direction: column;
    text-align: center;
    padding: 50px 6%;
    gap: 25px;
  }
  .company-image img { width: 90%; max-height: 320px; }
}

/* Mobiles (481px–767px) */
@media (min-width: 481px) and (max-width: 767px) {
  #about-us-lockout {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
  }
  #about-us-lockout h1 { font-size: 1.7rem; }
  #about-us-lockout p { font-size: 0.9rem; }
  .lockout-btn {
    display: block;
    margin: 15px auto 0;
    padding: 8px 16px;
  }
  .company-section { padding: 45px 5%; gap: 20px; }
  .company-content h2 { font-size: 1.7rem; }
  .company-image img { max-height: 280px; }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
  .about-us-lockout img { height: 55vh; }
  #about-us-lockout {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 95%;
  }
  #about-us-lockout h1 { font-size: 1.4rem; }
  #about-us-lockout p { font-size: 0.8rem; }
  .lockout-btn { padding: 7px 14px; font-size: 0.8rem; }
  .company-section { padding: 35px 5%; gap: 18px; }
  .company-content h2 { font-size: 1.5rem; }
  .company-content p { font-size: 0.85rem; }
  .company-image img { max-height: 220px; }
}

/*-------paprsky-services-section--*/
 .paprsky-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
  }

  .paprsky-section h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .paprsky-section p {
    font-size: 0.95rem;
    color: #555555;
    max-width: 650px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
  }

  .paprsky-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .paprsky-card {
    background-color: #ffffff;
    border-radius: 12px;
    width: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
  }

  .paprsky-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .paprsky-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
  }

  .paprsky-card-content {
    padding: 20px;
    text-align: left;
    flex-grow: 1; /* Make all cards equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align text at top */
  }

  .paprsky-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
  }

  .paprsky-card-content p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
    margin: 0; /* Remove extra space below */
  }

  @media (max-width: 768px) {
    .paprsky-cards {
      flex-direction: column;
      align-items: center;
    }
    .paprsky-card {
      width: 90%;
    }
  }
  /* ------- Animation Keyframes ------- */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------- Initial State ------- */
.paprsky-card {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ------- Active Animation ------- */
.paprsky-card.show {
  animation: fadeDown 0.8s ease forwards;
}

/* ------- Staggered Delay ------- */
.paprsky-card.show:nth-child(1) {
  animation-delay: 0.2s;
}
.paprsky-card.show:nth-child(2) {
  animation-delay: 0.4s;
}
.paprsky-card.show:nth-child(3) {
  animation-delay: 0.6s;
}
.paprsky-card.show:nth-child(4) {
  animation-delay: 0.8s;
}
.paprsky-card.show:nth-child(5) {
  animation-delay: 1s;
}
