* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: "bicubiks";
  src: url("../font/bicubik/Bicubik-71qR.otf");
}

body {
  background-color: #0097b2;
}

/* HEADER NAVIGATION */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 0;
  margin-bottom: 8vh;
  height: 13vh;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14vh;
  background: url(../img/headbg.png) no-repeat center center / cover;
  z-index: -1;
}

header img {
  width: 25%;
}
header a {
  text-decoration: none;
  color: #fff;
  background-color: #3035bb;
  padding: 15px 35px;
  font-size: 20px;
  border-radius: 25px;
  margin: 0 15px;
}
header a:hover {
  background-color: #2529a3;
}

/* BANNER TOP */
main > div {
  width: 100%;
  object-fit: cover;
}
main > div img {
  width: 100%;
  margin: 0;
}
main > div {
  position: relative;
}
main > div div {
  position: absolute;
  top: 10%;
  left: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
main > div div img {
  width: 40%;
  margin: 0;
}
main > div div p {
  color: #000d1e;
  font-size: clamp(1.25rem, -2.5962rem + 8.0128vw, 2.8125rem);
  width: 60%;
  word-spacing: 20px;
  letter-spacing: 2px;
  font-family: "bicubiks";
  -webkit-text-stroke: #71d3e8 1px;
  margin-top: 30px;
}

section {
  margin: 40px 7.5%;
  width: 85%;
  padding: 20px;
  background-color: #3035bb;
  border-radius: 15px;
}
@media (max-width: 768px) {
  header {
    margin-bottom: 5vh;
  }
  header img {
    width: 80%;
    margin: 50%;
    transform: translateX(-50%);
  }
  header a {
    display: none;
  }
  main > div div {
    top: 0;
    left: 0;
  }
  main > div div img {
    display: none;
  }
  main > div div p {
    width: 90%;
    /* font-size: 20px; */
    margin-top: 10%;
  }
  section {
    margin: 40px 2.5%;
    width: 95%;
  }
}

/* Access Anywhere */
section:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section:nth-child(2) p {
  font-size: 35px;
  word-spacing: 5px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

section:nth-child(2) article {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

section:nth-child(2) article > div {
  position: relative;
}
section:nth-child(2) article img {
  border-radius: 5px;
  filter: brightness(90%);
}

section:nth-child(2) article p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  color: #02dca1;
  font-family: "bicubiks";
  font-weight: bolder;
  text-shadow: 0 0 8px #000;
  width: 100%;
}

@media (max-width: 768px) {
  section:nth-child(2) p {
    font-size: 25px;
  }
  section:nth-child(2) article p {
    font-size: 13px;
    width: 80%;
  }

  section:nth-child(2) article {
    flex-wrap: wrap;
  }
  section:nth-child(2) article div {
    width: 50%;
  }
  section:nth-child(2) article div img {
    width: 80%;
  }
}

/* Campus */
.campus,
.cctv {
  display: flex;
}

.campus > div,
.cctv > div {
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.campus > div:nth-child(1),
.cctv > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.campus > div:nth-child(1) {
  border-right: 3px solid #fff;
}
.cctv > div:nth-child(2) {
  border-left: 3px solid #fff;
}
.campus > div:nth-child(1) img,
.cctv > div:nth-child(2) img {
  width: 70%;
  margin: 10px;
  border-radius: 5px;
}
.campus > div:nth-child(1) img:nth-child(1),
.campus > div:nth-child(1) img:nth-child(3),
.cctv > div:nth-child(2) img:nth-child(1),
.cctv > div:nth-child(2) img:nth-child(3) {
  padding-right: 25%;
}
.campus > div:nth-child(1) img:nth-child(2),
.cctv > div:nth-child(2) img:nth-child(2) {
  padding-left: 25%;
}

.campus > div:nth-child(2),
.cctv > div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  text-align: justify;

  color: #fff;
}
.campus > div:nth-child(2) div:nth-child(1),
.cctv > div:nth-child(1) div:nth-child(1) {
  border-bottom: 3px solid #fff;
}
.campus > div:nth-child(2) h2,
.cctv > div:nth-child(1) h2 {
  padding: 10px 20px;
  font-size: 30px;
  font-family: "bicubiks";
  width: 100%;
}
.campus > div:nth-child(2) div:nth-child(2) p,
.cctv > div:nth-child(1) div:nth-child(2) p {
  font-size: 25px;
  text-indent: 25px;
  padding-bottom: 20px;
}
.campus > div:nth-child(2) a,
.cctv > div:nth-child(1) a {
  background-color: #03d9a1;
  text-decoration: none;
  color: #000;
  padding: 15px 30px;
  font-size: 25px;
  border-radius: 10px;
}
.campus > div:nth-child(2) .availbtn,
.cctv > div:nth-child(1) .availbtn {
  margin-left: 40%;
}

.campus > div:nth-child(2) .availbtn:hover,
.cctv > div:nth-child(1) .availbtn:hover {
  background-color: #0abb8c;
}

@media (max-width: 768px) {
  .campus {
    flex-wrap: wrap;
  }
  .cctv {
    flex-wrap: wrap-reverse;
  }
  .campus div,
  .cctv div {
    width: 100%;
  }
  .campus > div:nth-child(1) img:nth-child(1),
  .campus > div:nth-child(1) img:nth-child(3),
  .cctv > div:nth-child(2) img:nth-child(1),
  .cctv > div:nth-child(2) img:nth-child(3) {
    display: none;
  }
  .campus > div:nth-child(1) img:nth-child(2),
  .cctv > div:nth-child(2) img:nth-child(2) {
    padding-left: 0;
  }
  .campus > div:nth-child(1) {
    border-right: none;
  }
  .cctv > div:nth-child(2) {
    border-left: none;
  }
  .campus > div:nth-child(2),
  .cctv > div:nth-child(1) {
    padding: 0;
  }
  .campus > div:nth-child(2) h2,
  .cctv > div:nth-child(1) h2 {
    font-size: 25px;
  }

  .campus > div:nth-child(2) p,
  .cctv > div:nth-child(1) p {
    font-size: 20px;
  }
  .campus > div:nth-child(2) div:nth-child(2) p,
  .cctv > div:nth-child(1) div:nth-child(2) p {
    font-size: 18px;
  }
  .campus > div:nth-child(2) .availbtn {
    padding: 5px 15px;
    margin-left: 0;
  }
  .cctv > div:nth-child(1) .availbtn {
    padding: 5px 15px;
    margin-left: 0;
  }
  .campus > div:nth-child(2),
  .cctv > div:nth-child(1) {
    text-align: center;
  }
}

/* SERVICES*/

.piso-wifi h1 {
  font-size: 45px;
  text-align: center;
  font-family: "bicubiks", sans-serif;
  color: #fff;
}

.piso-wifi hr {
  border-top: 3px solid #fff;
}

.piso-wifi p {
  font-size: 30px;
  text-align: center;
  margin: 10px 250px;
  color: #fff;
}

.piso-wifi-container,
.bpo-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
}

.piso-wifi-container img,
.bpo-container img {
  width: 100%;
  max-width: 525px;
  border-radius: 5px;
}
.bpo-container img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.piso-wifi-container img:nth-child(3),
.bpo-container img:nth-child(3) {
  grid-column: span 2;
  justify-self: center;
}

@media (max-width: 768px) {
  .piso-wifi p {
    font-size: 20px;
    margin: 10px 20px;
  }

  .piso-wifi-container img {
    border-radius: 5px;
    margin-top: 8px;
  }

  .piso-wifi-container img:nth-child(3),
  .bpo-container img:nth-child(3) {
    max-width: 200px;
  }
}

.button-container {
  margin: 50px 0 20px;
  text-align: center;
}
.button-container .avail-button {
  background-color: #00dca2;
  font-size: 25px;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  padding: 15px 30px;
  font-size: 25px;
  cursor: pointer;
}

.button-container .avail-button:hover {
  background-color: #07c592;
}

/* Image */
.cardbanner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.cardbanner img {
  border-radius: 15px;
  margin: 15px auto;
}

@media (max-width: 768px) {
  .button-container {
    margin: 30px 0 10px;
  }
  .button-container .avail-button {
    padding: 5px 15px;
  }
  .cardbanner img {
    width: 100%;
    margin: auto auto;
    padding: 0 !important;
  }
}

.illu-banner {
  text-align: center;
}

.illu-banner img {
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  width: 100%;
  margin-bottom: 30px;
}

.illu-banner p {
  font-family: "bicubiks", sans-serif;
  font-size: 25px;
  margin: 10px 50px;
  color: #fff;
  letter-spacing: 1px;
  text-align: left !important;
}

.illu-banner ul {
  list-style-type: disc;
  list-style-position: inside;
  font-size: 30px;
  padding: 0;
  margin: 10px 300px;
  display: inline-block;
  text-align: left;
}

.illu-banner li {
  margin-bottom: 5px;
  color: #fff;
}

@media (max-width: 768px) {
  .illu-banner img {
    width: 100%;
    height: 50%;
  }

  .illu-banner p {
    font-family: "bicubiks", sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    margin: auto auto;
  }

  .illu-banner ul {
    padding-top: 15px;
    margin: auto auto;
    font-size: 18px;
  }
}

.pricing-container {
  display: flex;
  justify-content: space-evenly;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 28%;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  height: 275px;
}

@media (max-width: 768px) {
  .pricing-container {
    flex-wrap: wrap;
  }

  .pricing-card {
    width: 98%;
    margin: 10px 0;
    height: 100%;
  }

  .pricing-container .avail-button {
    margin-top: 25px;
  }
}

.basic {
  background-color: #f4b860;
}

.standard {
  background-color: #71c7ec;
}

.advance {
  background-color: #a4d4ae;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.subheading {
  font-size: 24px;
  font-weight: bold;
}

h3 {
  font-size: 22px;
  margin: 10px 0;
}

p {
  font-size: 24px;
  margin: 5px 0;
}

.avail-button {
  background-color: #2e3192;
  color: white;
  padding: 10px 20px;
  font-size: 25px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: auto; /* Pushes button to the bottom */
  align-self: center; /* Ensures it stays centered */
}

.avail-button:hover {
  background-color: #3035bb;
}

/* Footer */
footer {
  background-image: url(../img/footerbg.png);
  background-size: cover;
  background-position: center;
  padding: 20px 0;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: row;
}
footer div {
  width: 50%;
}
footer div:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer div:nth-child(2) ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 25px;
}
footer div:nth-child(2) ul li img {
  width: 50px;
  margin-right: 15px;
}

footer p {
  margin: 0;
  font-size: 22px;
  width: 100%;
  text-align: left;
}

footer a {
  color: #71d3e8;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}
#copyright1 {
  font-size: 12px;
  color: #ffffff42;
  text-align: center;
  margin-top: 15px;
}
#copyright2 {
  display: none;
}

#last {
  text-align: center;
  width: 100%;
  font-size: clamp(1.25rem, -2.5962rem + 8.0128vw, 2.8125rem);
  background-color: #3035bb;
  color: #fff;
}

@media (max-width: 768px) {
  footer {
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  footer > div:nth-child(1) img {
    width: 80%;
  }
  footer div {
    width: 100%;
  }
  footer div:nth-child(2) ul {
    padding-left: 15px;
  }
  footer div:nth-child(2) ul li {
    margin: 15px 0;
  }
  footer div:nth-child(2) ul li img {
    width: 40px;
  }
  #footerbr {
    display: none;
  }

  footer p {
    margin: 0;
    font-size: 17px;
    width: 100%;
    text-align: left;
  }

  footer a {
    color: #71d3e8;
    text-decoration: none;
    font-weight: bold;
  }

  footer a:hover {
    text-decoration: underline;
  }
  #copyright1 {
    display: none;
  }
  #copyright2 {
    display: block;
    font-size: 8px;
    color: #ffffff42;
    text-align: center;
    margin-top: 20px;
  }
}
