section {
  background-color: #000;
  overflow: hidden;
  padding:0px;
}
.tall-img {
  min-height: 550px; /* increase height only for 2nd section */
}

.animated-link {
	font-family: "Butler", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #003728;    
    transition: color 0.8s ease, font-size 0.8s ease;
  }
.animated-link:hover {
    color: #3dcfe0;
    font-size: 22px;
  }
  
  .animated-link-n {
	  font-family: "Gordita", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #595959;	
    text-transform: uppercase;
    text-decoration: none;    
    transition: color 0.8s ease, font-size 0.8s ease;
  }
.animated-link-n:hover {
    color:#000000;
    font-size: 15px;
  }
  
  
.heading-colour {
    font-family: "Gordita", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 26px;
    letter-spacing: 3px;
    color: #3DCFE0;
}

.heading-bold {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.47em;
	font-family: Butler;
	text-align:center;
}

.listColor{
color: #666666;
}
/* --- Links --- */
.link-btn {	
  font-size: 14px;
  font-weight: 500;
  color: #3dcfe0;
}
.link-btn:hover,
.link-btn:focus {
  font-weight: 700;
  outline: none;
  color: #003728;
}

.heading-top1 {
    font-family: "Gordita", Sans-serif;
    font-weight: 500;
    color: #3DCFE0;
	font-size:34px;
	}
	
.heading-top_desc {
    font-family: "Gordita", Sans-serif;
    font-weight: 400;
    color:#666666;
	font-size:16px;
	line-height:28px;
	}
		
/* --- Typography --- */
.description {
  font-family: "Gordita", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #666666;
}

.hilight_Title {
  font-family: "Butler", Sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height:25px;
  text-align: center;
  padding-top: 10px;
  padding-left:0px;
  padding-right:0px;
}

.HeadingBox2 {
  font-family: Butler;
  font-weight: 700;
  color: #333;
  line-height: 28px;
  font-size: 40px;
}

.hilights_image{
	border-radius: 15px 15px 15px 15px;
	width:100%;
	object-fit: cover;
}

/* ============================================================
   LEGACY SECTION (Image + Content Layout)
   ============================================================ */

/* Row container: vertically center image + text */
.legacy-row {
  display: flex;
  align-items: center;

}

/* --- Image Wrapper --- */
.legacy-img-wrapper {
  position: relative;
  width: 100%;
  min-height: 400px;
  margin-top: 0;
  z-index: 5;
}

/* Prevent double rendering in Bootstrap carousel */
.legacy-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional light overlay (comment out if not needed) */
.legacy-img-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.08);
}

/* --- Text Content Box --- */
.legacy-content {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  margin-left: -30%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

/* Inner padding for text */
.legacy-inner-box {
  padding: 45px 8% 30px 25%;
}

/* Subheading underline style */
.legacy-inner-box h2 {
  font-weight: 700;
}
.legacy-inner-box h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00bcd4;
  margin: 0.5rem 0;
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-image-L {
  background-image: url(img/decorate-bg-01.png);
  background-color:#FFFFFF;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.bg-gray {
  background-color: #F5F5F5;
  background-image: url(img/decorate-bg-01.png);
  background-position: center center;
  background-repeat: repeat-y;
  background-size: 100% auto;
}

.bg-white {
  background-color:#FFFFFF;  
}

/* ============================================================
    KEN BURNS SLIDESHOW EFFECT
   ============================================================ */
.kenburns-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform-origin: center;
  animation: kenburnsZoom 10s ease-in-out infinite;
}

.carousel-item:nth-child(1) .kenburns-image { animation-name: kenburnsZoomLeft; }
.carousel-item:nth-child(2) .kenburns-image { animation-name: kenburnsZoomRight; }
.carousel-item:nth-child(3) .kenburns-image { animation-name: kenburnsZoomCenter; }

/* --- Keyframes --- */
@keyframes kenburnsZoomLeft {
  0%   { transform: scale(1.1) translateX(5%); }
  100% { transform: scale(1.3) translateX(-5%); }
}
@keyframes kenburnsZoomRight {
  0%   { transform: scale(1.1) translateX(-5%); }
  100% { transform: scale(1.3) translateX(5%); }
}
@keyframes kenburnsZoomCenter {
  0%   { transform: scale(1.1) translateY(3%); }
  100% { transform: scale(1.3) translateY(-3%); }
}

/* --- Fade transition for carousel --- */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* ============================================================
   OVERLAY & CAPTIONS
   ============================================================ */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 0 20px;
  width: 100%;
  max-width: 90%;
}

.carousel-caption h1 {
  font-family: "Butler", Sans-serif;
  font-size: 90px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1em;
  letter-spacing: 5px;
  text-shadow: 4px 0px 22px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.carousel-caption p {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5em;
  text-shadow: 4px 0px 22px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  font-family: "Gordita", Sans-serif;
  margin-top: 10px;
  margin-left: 134px;
  margin-right: 135px;
}

/* ============================================================
   ICON BOX EFFECTS
   ============================================================ */
.icon-box {
  background: #fff;	   
  padding: 20px 20px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.icon-box:hover {
  background: #3dcfe0;	   
  transform: translateY(-5px);
  animation: glowPulse 1.5s infinite alternate;
}

.icon-box .heading {
  font-size: 16px;
  font-family: "Gordita", Sans-serif;
  font-weight: 500;
  line-height: 28px;
  margin-top: 15px;
}

.primary-fill-color { fill: #003728; }
.icon-box:hover .primary-fill-color { fill: #ffffff; }

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 992px) {
  .kenburns-image { height: 70vh; }
  .carousel-caption h1 { font-size: 4rem; }
  .carousel-caption p { font-size: 1.1rem; margin: 0 40px; }
  .HeadingBox2 {  font-size: 35px;  }
  .description {  font-size: 15px; }
 
 .legacy-inner-box
 {
    padding: 10px 5% 10px 5%;
 }
  
  .legacy-img-wrapper {    
    min-height:100%;  	
   }
  .legacy-img-wrapper img {
  height: 100%;
  object-fit: cover;
  display: block;
   }
   
   .legacy-content {	
	  position: relative;
	  margin-left:0%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  min-height: 450px;
	}
	

}

@media (max-width: 768px) {
  .kenburns-image { height: 60vh; }
  .carousel-caption h1 { font-size: 1.8rem; }
  .carousel-caption p { font-size: 0.95rem; margin: 0 30px; }
}

@media (max-width: 576px) {
  .kenburns-image { height: 55vh; }
  .carousel-caption h1 { 
  font-size: 2.6rem;
  text-align:center; 
  }
  
  .icon-box {
  padding: 10px 5px 5px;
}

  .HeadingBox2 {  font-size: 30px; line-height:40px;  }
  
  .carousel-caption p { font-size: 0.8rem; margin: 0 20px; }
  .heading-top1 {
   	font-size:30px;
  }
}

/* --- Custom grid (optional for gallery) --- */
@media (min-width: 992px) {
  .col-lg-5th { flex: 0 0 25%; max-width: 25%; }
  .col-lg-5th2 { flex: 0 0 20%; max-width: 20%; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .col-md-3rd { flex: 0 0 33.3%; max-width: 33.3%; }
  .col-md-3rd2 { flex: 0 0 25%; max-width: 25%; }
  
}