/* ============================================================
	 GLOBAL SETTINGS
   ============================================================ */
body {
  overflow-x: hidden; /* Prevent horizontal scroll */
}
.link-custom {
    color: #3dcfe0 !important;   /* takes color from parent */
    text-decoration: none;
    font-weight: 600;      /* optional */
    font-size: inherit;          /* optional */
}

.link-custom:hover {
      color:#006600 !important;
      font-weight: 600;
}

.link-custom:hover i {
     transform: translateX(6px);
     color:#006600;
}
.button-gray {
    background-color:#E0E0E0;
	color:#003728;
}
.button-green {
    background-color: #003728;
	color:#FFFFFF;
}
.button-style2 {
            transition: background-color 0.3s ease;
			padding:15px 0;
			transform: translate(0%,0%);						
			text-align:center;
			font-family:Butler;
			font-size: 22px;
			font-weight:500;
			margin:0px 0;
			display:block;
			text-decoration: none;
        }

        .button-style2:hover {
            background-color: #3dcfe0; /* Background color on mouseover */
			color:#000000;
			font-weight:600;
		/*	box-shadow:0px 0px 10px rgba(0, 0, 0, 0.78);*/
        }
		.button-style2:hover i {
              transform: translateX(6px);
         }
		 .button-style2 i {
		 font-size:16px;	
         }
/* ============================================================
   LEGACY SECTION (Overlay + Content Box)
   ============================================================ */
.legacy-row {
  position: relative;
}

.legacy-img-wrapper {
  position: relative;
  width: 100%;
  height: 365px;
  margin-top: 30px;
  z-index: 5;
}

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

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

.legacy-content {
  background: #fff;
  padding: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  margin-left: -25%;
  height: 425px;
}

.legacy-inner-box {
  padding: 50px 10% 50px 30%;
  height: 340px;
}

.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;
}

/* ============================================================
    BUTTON STYLES
   ============================================================ */
.btn-custom {
  font-family: "Gordita", Sans-serif;
  background-color: #3dcfe0;
  color: #000;
  border-radius: 0;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: #003728;
  color: #fff;
}

.btn-custom:hover i {
  transform: translateX(4px);
  color: #fff;
}

.arrow-bold {
  font-weight: 600;
  font-size: 13px;
  vertical-align: middle;
}

/* ============================================================
    TEXT STYLES
   ============================================================ */
.ParaText_AdProcess,
.ParaText_infrastructure {
  margin-top: 40px;
  font-family: "Gordita", Sans-serif;
  font-size: 17px;
  color: #666;
  line-height: 30px;
  font-weight: 400;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ParaText_AdProcess {
  width: 700px;
}

.ParaText_infrastructure {
  width: 750px;
}

.class_desc {
  margin-top: 30px;
  font-family: "Gordita", Sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 33px;
  font-weight: 400;
}

/* ============================================================
    HEADINGS
   ============================================================ */
.HeadingBox,
.HeadingBox2,
.HeadingSmall {
  font-family: Butler;
  font-weight: 700;
  color: #333;
  line-height: 1em;
  letter-spacing: 0.02em;
}

.HeadingBox { font-size: 50px; }
.HeadingSmall { font-size: 40px; }
.HeadingBox2 { font-size: 40px; letter-spacing: 0.05em; }

.HeadingIcon {
  font-family: Butler;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: #333;
  line-height: 1.4em;
}

.Heading_line {
  font-size: 10px;
}

.Heading_line:before {
  content: "";
  position: absolute;
  left: -60px;
  top: 85px;
  width: 8%;
  height: 2px;
  background-color: #00bcd4;
  transform: translateY(-50%);
  z-index: 6;
  margin-left: 50%;
}

.headingbBoxInfo {
  font-family: Butler;
  font-size: 25px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.headingbBoxDescription {
  font-family: "Gordita", Sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  color: #666;
  min-height: 130px;
  padding: 0 10px;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* --- =992px (Tablets & Small Laptops) --- */
@media (max-width: 992px) {
  .container {
    max-width: 95% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ParaText_infrastructure {
    font-size: 16px;
    line-height: 28px;
    width: 80%;
  }

  .HeadingBox { font-size: 45px; }
  .HeadingBox2 { font-size: 35px; }

  .headingbBoxInfo {
    font-size: 22px;
  }

  .headingbBoxDescription {
    min-height: 170px;
    padding: 0 5px;
  }

  .legacy-inner-box {
    padding: 50px 5% 50px 25%;
    height: 340px;
  }

  .class_desc {
    font-size: 15px;
  }
}

/* --- =768px (Tablets) --- */
@media (max-width: 768px) {
  .legacy-content {
    margin-left: 0;
    margin-top: 1rem;
  }

  .HeadingBox {
    font-size: 35px;
    text-align: center;
    padding: 0 5px;
  }

  .headingbBoxDescription {
    min-height: 150px;
    padding: 0 5px;
  }
}

/* --- =576px (Mobile) --- */
@media (max-width: 576px) {
  .ParaText_AdProcess,
  .ParaText_infrastructure {
    font-size: 15px;
    line-height: 24px;
    width: 100%;
    margin-top: 20px;
    padding: 0 15px;
    text-align: center;
  }

  .HeadingBox { font-size: 40px; }
  .HeadingBox2 { font-size: 30px; }

  .headingbBoxDescription {
    min-height: 80px;
  }

  .ParaText_Normal {
    padding: 0 15px;
  }
  
   .legacy-inner-box {
    padding: 50px 10% 50px 10%;
    height: 340px;
  }
}

/* --- =480px (Small Mobile) --- */
@media (max-width: 480px) {
  .HeadingBox { font-size: 40px; }
  .headingbBoxDescription { min-height: 80px; }
  .ParaText, .ParaText-mission { font-size: 15px; }
}

/* ============================================================
   BOX SECTION (2nd Section)
   ============================================================ */
.box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

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