

body{
 /*  background: var(--black-color) url("../images/bg-landingpage.webp") no-repeat center center fixed;*/
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

.container{
    height:75vh;
    display:flex;
    flex-direction:column;
}
.global-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px;
  background:none;
  border-bottom: none;
}
.logo img {
  width: 270px;
}

.hero-banner{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content:end; /* Vertically centers content */
}

.hero-banner h1 {
    font-size: 60px;
    line-height: 60px;
}

.video-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* Fallback image covers screen */
.video-background .bg-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  transition: opacity 1s ease-in-out;
}

/* Video on top of fallback */
#bgVideo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

@media (max-width: 768px) {
  /* Hide the video on mobile */
  #bgVideo {
    display: none !important;
  }

  /* Ensure fallback image stays visible and covers background */
  .video-background .bg-fallback {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #000; /* optional: prevents white flash */
  }

  /* Keep hero/banner text above background */
  .hero-banner {
    position: relative;
    z-index: 1;
    color: #fff;
  }
}


.division-boxes {
    flex:1;
    display:flex;
    align-content: end;
}
.division-boxes .col{
    
    padding:30px;
    text-align: center;
    border-radius: 20px;
    margin-right:15px
}
.division-boxes .col:last-child{
    margin-right: 0;
}
.division-boxes h2{
    font-size: 18px;
    font-weight:bold;
    padding: 15px 0;
}
.division-boxes button{
    border:1px solid #fff;
    background: none;
    border-radius: 20px;
    color:#fff;
    padding: 2px 15px
}

.division-boxes .col:first-child{
    background: rgba(113,90,101,0.75)
}
.division-boxes .col:nth-child(2){
    background: rgba(133,94,81,0.75)
}
.division-boxes .col:nth-child(3){
    background: rgba(95,113,111,0.75)
}
.division-boxes .col:nth-child(4){
    background:rgba(166,140,118,0.75)
}
.division-boxes .col:nth-child(5){
    background:rgba(65,106,135,0.75)
}

/*--Popup--*/
/* Overlay background */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

/* Popup content box */
.popup-content {
  background: #fff;
  margin: 15% auto;
  padding: 25px 30px;
  border-radius: 10px;
  max-width:600px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  color:var(--black-color)
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

/* Optional: smooth fade-in */
.popup.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.icon-4boxes{
  fill: #fff;
  width:30px;
  height:30px;
}

@media screen and (max-width: 991px) {

.division-boxes .col{
    width:100%;
    margin-bottom: 15px;
    margin-right: 0;
}
.division-boxes {
 flex-direction: column;
 
}
.hero-banner {
  text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.hero-banner h1 {
  font-size: 40px;
  line-height: 40px;
}

.hero-banner br{
    display:none;
}

html, body {
  padding: 10px;
}

.popup-content {
  margin: 15px;
}
}

@media screen and (max-width: 767px) {
  .hero-banner h1 {
    font-size: 30px;
    line-height: 35px;
  }
  .global-nav {
  padding: 15px;
}

.logo img {
  width: 200px;
}

}