.hero {
  position: relative;
  padding-top: 100vh;
  height: auto;
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
  z-index: 1;
  padding: 2rem;
}

.hero video {
  position: absolute;
  padding-top: 100vh;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: max-content;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.45) contrast(0.9);
  z-index: 0;
}

.content {
  
margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
 gap: 3.5rem;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: clamp(1.5rem, 6vw, 4rem);
  animation: fadeInUp 1.5s ease forwards;
  opacity: 0;
}

.hero h1 span {
  display: block;
  margin-top: 0.3rem;
  color: #959ca1;
  font-size: clamp(3rem, 3vw, 2rem);
  font-weight: 500;
  animation-delay: 0.3s;
  animation: fadeInUp 1.5s ease forwards;
}

.hero p.lead {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #e6e6e6dd;
  animation-delay: 0.6s;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

.btn-outline-light {
  border-radius: 24px;
  padding: 10px 30px;
  font-weight: 600;
  border: 1.5px solid white;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: white;
  color: #222;
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

/* Info Boxes Section */
.hero-section {
  background: transparent;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  
}

.info-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  width: 100%;
  animation: fadeIn 1.2s ease-in-out;
}

.info-box {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: slideUp 1s ease forwards;
  opacity: 0;
}

.info-box strong {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: block;
  color: white;
}

.info-box span {
  font-size: 1rem;
  color: #e0e0e0;
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .info-box {
    width: 90%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .btn-outline-light {
    padding: 8px 20px;
  }
}

    /* Main content section */
    .main-section {
      max-width: 1200px;
      margin: 4rem auto 6rem;
      padding: 0 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      align-items: center;
      justify-content: center;
    }

    .main-text {
      flex: 1 1 420px;
      min-width: 280px;
      max-width: 620px;
    }
    .main-text h2 {
      font-weight: 700;
      font-size: 3rem;
      margin-bottom: 1.25rem;
      color: #212529;
    }
    .main-text p {
      font-size: 1rem;
      line-height: 1.5;
      color: #343a40;
      margin-bottom: 1rem;
     
    }
    .main-text p italic {
      font-style: italic;
    }
    .main-text p:last-child {
      font-style: italic;
      font-weight: 600;
      font-size: 0.9rem;
      color: #495057;
      opacity: 0.8;
    }

    .main-image {
      flex: 1 1 320px;
      width: 100%;
    
      height: 700px ;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 25px rgb(0 0 0 / 0.12);
      animation: fadeInRight 1.8s ease forwards;
      opacity: 0;
      
    }
    .main-image img {
      width: 100%;
      height: 700px;
      display: block;
      object-fit: cover;
      border-radius: 15px;
      object-fit: fill;
      display: block;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(25px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }
    @keyframes fadeInRight {
      from {
        opacity: 0;
        transform: translateX(30px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Responsive adjustments */
    @media (max-width: 991.98px) {
      .info-boxes {
        flex-direction: column;
        position: static;
        transform: none;
        width: 100%;
        margin-top: 2rem;
        padding: 1rem 1.25rem;
      }
      .info-box {
        border-right: none;
        border-bottom: 1px solid rgba(255 255 255 / 0.25);
        padding: 0.75rem 0;
        
      }
      .info-box:last-child {
        border-bottom: none;
      }
      .main-section {
        flex-direction: column;
        margin: 3rem auto 6rem;
      }
      .main-image {
        max-width: 90vw;
      }
    }

    @media (max-width: 575.98px) {
      .hero h1 {
        font-size: 2rem;
        letter-spacing: 0.12em;
      }
      .hero h1 span {
        font-size: 1.25rem;
      }
      .hero p.lead {
        font-size: 0.85rem;
      }
      .btn-outline-light {
        font-size: 0.9rem;
        padding: 8px 25px;
      }
    }
  
.corporate-services-section{
  background-color:  #f7ebdf;
  height: auto;
  justify-content: center;
  align-items: center;
}

 .card-grid .card {
      background-color: white;
      height: 180px;
      width: 100%;
      border-radius: 0%;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: transform 0.2s ease;
    }

    .card-grid .card:hover {
      transform: translateY(-4px);
    }

    .card-grid .row > div {
      margin-bottom: 1.5rem;
       padding: 0 1rem;
    }
   
    .card h5{
        font-weight: 700;
    }



.jurisdictions-section img {
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.jurisdictions-section img:hover {
  transform: scale(1.05);
}

.jurisdictions-section p {
  margin-top: 10px;
  font-weight: 500;
}

/* Contact Section with fixed background image */
.contact-section {
  background: url('../Images/Green.avif') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  color: white;
}

.contact-section .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 60px 0;
  min-height: 100vh;
}

form input, form textarea {
  transition: border 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #000;
  box-shadow: none;
}

