
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(41, 42, 52, 0.559); /* black tint, 40% opacity */
  z-index: 1;
}
.text-slide-overlay{
    color: white;
    font-size: 60px;
    text-align: center;
    padding-top: 15%;
    justify-content: center;
   font-family: "lulo-one", sans-serif;
font-weight: 600;
font-style: normal;
line-height: 84px;
}



#welcome{
     letter-spacing: 20px;
    background: linear-gradient(to right, #ecebeb);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

                       
  
.slideshowContainer {
  margin: 0px;
    width: 100%; 
    height: 750px; 
    position: relative;
    overflow: hidden; 

}

.slides {
    position: absolute; 
    width: 100%; 
    height: 100%;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    line-height: 1.5;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mobileWelcomeHeading {
  display: none;
}


.slide.active {
    display: block;
    z-index: 1;
}

        
        .fade {
            animation-name: fade;
            animation-duration: 1.5s;
        }

        @keyframes fade {
            from {
                opacity: .4;
            }

            to {
                opacity: 1;
            }
        }
  

        .buildingInfo{
            height: 300px;
            padding-bottom: 100px; 
           background-color: rgba(54, 16, 16, 0.872);

        }


         .buildingInfo .description{
            
        
            font-family: "Roboto", serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: bold;
            font-size: 22px;
            text-align: justify;
            word-spacing: 1px;
            line-height: 30px;
            color: white;
            margin-top: 0;
        
         }

         .description{
            max-width: 90ch;
    line-height: 1.6;
  align-items: center;
         }
.easyAccess {
  display: flex;
  gap: 30px;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap; /* no wrap */
  justify-content: space-between; /* distribute cards evenly */
   align-items: stretch;
   background-color: rgba(227, 226, 226, 0.192);
   
}

.easyAccess > div {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  min-height: 300px; 
  box-sizing: border-box;
}



.easyAccess > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.easyAccess > div img {
  width: 80px;         
  height: auto;
  margin-bottom: 20px; 
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

.easyAccess h1 {
  font-size: 22px;
  margin-bottom: 12px;
  font-family: "Roboto", sans-serif;
  color: #1d2433;
}

.easyAccess p {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: #333;
  line-height: 1.5;
    flex-grow: 1; 
    padding-top: 15px;
}

.easyAccess button{
    border: none;
    background: none;
      margin-top: auto;
  text-align: center;
  font-weight: 500;
  padding-top: 20px;
}


.easyAccess > div h1 {
  margin: 0;
  margin-top: 40px;
  text-align: center;
}

.easyAccess > div img {
  display: block;       /* removes extra bottom whitespace from inline images */
  margin: 0 auto 10px;  /* center horizontally, only add bottom margin for spacing */
  padding: 0;           /* no padding */
  max-height: 80px;     /* control size */
}


/* -------------------
   Building Info Section
---------------------*/
.buildingInfo {
  background-color: #6b1f1f;  /* deep royal red */
  padding: 60px 20px;
}

.buildingInfo .description {
  max-width: 60ch;
  margin: 0 auto;
  font-family: "Roboto", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.6;
  text-align: justify;
  color: #f4f4f4; /* soft white text for contrast */
  word-spacing: 1px;
}

/*  Easy Access Section*/
.easyAccess {
  display: flex;
  gap: 30px;
  padding: 60px 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

/* Cards */
.easyAccess > div {
  flex: 1 1 250px;
  max-width: 300px;
  background-color: #ffffff; /* white cards */
  border-top: 4px solid #6b1f1f; /* red accent */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  min-height: 300px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.easyAccess > div:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

/* Images in cards */
.easyAccess > div img {
  display: block;
  margin: 0 auto 10px;
  max-height: 80px;
}

/* Card headings */
.easyAccess h1 {
  font-size: 22px;
  text-align: center;
  margin: 40px 0 12px 0;
  font-family: "Roboto", sans-serif;
  color: #6b1f1f; /* tie headings to red accent */
}

/* Card text */
.easyAccess p {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: #333; /* readable dark text */
  line-height: 1.5;
  flex-grow: 1;
  padding-top: 15px;
  text-align: center;
}

/* Buttons */
.easyAccess button {
  border: none;
  background: none;
  margin-top: auto;
  text-align: center;
  font-weight: 500;
  color: #6b1f1f;
  cursor: pointer;
  font-size: 16px;
  padding-top: 20px;
}

.easyAccess button:hover {
  text-decoration: underline;
}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive tweak: stack on small screens */
@media (max-width: 800px) {
  .easyAccess {
    flex-wrap: wrap; /* allow wrap on smaller screens */
    justify-content: center;
  }
  .easyAccess > div {
    flex: 1 1 100%; /* full width cards */
    max-width: none;
    margin-bottom: 20px;
  }
}




         .endContainer {
            display: flex;             
            justify-content:center;  
            gap: 20px;      
          background: linear-gradient(180deg, #f7f9fc 0%, #edf3f8 100%);
          padding: 40px 20px 50px;
            flex-wrap: wrap;             
          height: auto;
          align-items: stretch;
        }
        
        /* Each box */
        .box {
            width: 30%;                  
            transition: opacity 0.3s ease;
          background-color: #ffffff;
          border-top: 4px solid #2f5f95;
          height: 360px;
          margin-top: 0;
          color: #1f2937;
            text-align: center;
            border-radius: 8px;
          box-shadow: 0 10px 24px rgba(29, 36, 51, 0.08);
            position: relative;
            
        }

        .box:hover {
          opacity: 1;
          background-color: #fbfdff;
          box-shadow: 0 14px 30px rgba(29, 36, 51, 0.12);
          transform: translateY(-4px);
        }
        
        .box:hover img {
            transform: scale(1.5); 
           transition:  all 1 s ease-in-out 0s, visibility 0s ;
        }
        .box:hover h3 {
            font-size: 26px; 
            transition:  all 1 s ease-in-out 0s, visibility 0s ;
             
        }

        .box img {
            transform: scale(1.2);  
            max-width: 150px;      
            max-height: 100px;     
            height: auto;         
            margin-top: 50px;     
            object-position:50% 50%;
            object-fit: cover;
            transition: transform 0.5s ease; 
        }

        .box h3{
            padding-top: 30px;
            font-size: 24px;
            text-align: center;
            font-family: "Roboto", serif;
            font-weight: 500;
          color: #1f4e7a;

        }


        .box p{
            font-family: "Roboto", serif;
            font-weight: 300;
            word-spacing: 3px;
            line-height: 20px;
            font-size: 15px;
          color: #334155;
        }

        
        #box2 h3{
           padding-top: 24px;
        }


        #box3 h3{
            padding-top: 58px;
        }
      

        #box3 img{
            padding-top: 30px;
        }

@media (max-width: 1100px) {
  .slideshowContainer {
    height: 68vh;
    min-height: 420px;
    max-height: 620px;
  }

  .overlay,
  .text-slide-overlay {
    display: none !important;
  }

  .mobileWelcomeHeading {
    display: block;
    background-color: #6b1f1f;
    padding: 22px 16px 8px;
    text-align: center;
  font-family: "Wix Madefor Text", sans-serif;
  }

  .mobileWelcomeHeading h2 {
    margin: 0;
    color: #f4f4f4;
  font-family: "Wix Madefor Text", sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 5.2vw, 30px);
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .buildingInfo {
    height: auto;
    padding: 24px 16px 28px;
  }

  .buildingInfo .description,
  .description {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 21px;
    line-height: 1.6;
    text-align: left;
    word-spacing: normal;
    letter-spacing: normal;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
  }
}

@media (max-width: 767px) {
  .easyAccess {
    display: none !important;
  }

  .endContainer {
    background: white !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 16px !important;
    height: auto !important;
    align-items: stretch !important;
  }

  .endContainer .box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 16px !important;
    height: auto !important;
    min-height: 0 !important;
    text-align: center !important;
    background-color: #530d0def !important;
    border-top: 4px solid #6b1f1f !important;
    color: #1f2937 !important;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important; 
  }
.endContainer .box img {
  flex: 0 0 auto !important;
  width: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: none !important;

  border: 1px solid rgb(145, 131, 131) !important; 
  background-color: rgb(236, 233, 233) !important;
  padding: 15px !important;
  border-radius: 15px !important;
}

  .endContainer .box h3 {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    color: #ffffff  !important;
  }

  .endContainer .box p {
    flex: 0 0 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    word-spacing: normal !important;
    text-align: center !important;
    color: rgb(255, 255, 255) !important;
    font-weight: 400 !important;
  }

  #box2 {
    display: none !important;
  }
}
