*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body,
html {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
}

:root {
  --primary-color: #028fec;
  --secondary-color: #8fec02;
  --tertiary-color: #164e74;
  --darker-color: #023131;
}

/* nav-section */
.navbar-brand .logo1 {
  display: none;
}

.navbar-brand:hover .logo1 {
  display: inline-block;
  transform: scale(1.025);
}

.navbar-brand:hover .logo {
  display: none;
}

.navbar {
  border-top: 3px solid var(--tertiary-color);
  border-bottom: 3px solid var(--primary-color);
}

.navbar-nav a {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-nav a:hover {
  color: var(--secondary-color);
  transform: scale(1.15);
  transition: transform 0.3s;
}

.navbar a:active {
  font-weight: 500;
}

.navbar {
  background-color: var(--darker-color);
}

.adminLogin {
  position: absolute;
  right: 25px;
}

/* hero-section */
#hero-section {
  height: calc(100vh - 75px);
  background-image: linear-gradient(to bottom, rgba(2, 143, 236, 0.75), rgba(0, 0, 255, 0.1)), url(images/happy_nurses.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--darker-color);
  text-shadow: 1px 1px 0px #ccc;
}

.hero-text p {
  font-size: 1.7rem;
  text-shadow: 1px 1px 3px #fff;
  font-weight: 500;
}

input:not([type="radio"]),
textarea,
select {
  background: transparent !important;
}

::placeholder {
  color: grey !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  color: #fff !important;
}

select option {
  background-color: var(--primary-color);
  padding: 10px !important;
}

.modal-header {
  background-color: var(--tertiary-color);
  font-weight: 900;
  color: #fff;
}

.btn-close {
  --bs-close-color: red;
}

.appoint-modalbody {
  background-color: var(--darker-color);
  color: #fff;
}

.appointAlert {
  max-width: 500px;
}

/* about section */

#about-section {
  background-image: linear-gradient(to bottom, rgba(143, 236, 2, 0.25), rgba(0, 0, 0, 0.1));
}

.squareTop {
  width: 8rem;
  height: 5rem;
}

.section-heading {
  font-size: 3.15rem;
  text-transform: uppercase;
  font-weight: 800;
}

.section-subheading {
  font-size: 1.75rem;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
}

.aboutST {
  background-color: rgba(143, 236, 2, 0.4);
}

.aboutH {
  color: rgba(143, 236, 2, 0.4);
}

.aboutSH {
  color: rgb(143, 236, 2);
}

.sectionText {
  font-size: 1.2rem;
  color: var(--darker-color);
}

#aboutPhoto {
  width: 100%;
  margin-bottom: 10rem;
  border-radius: 200px 30px 30px 30px;
  border-right: 15px solid rgba(143, 236, 2, 0.1);
  border-bottom: 15px solid rgba(143, 236, 2, 0.1);
  box-shadow: 5px 5px var(--secondary-color);
}

.fixedBg {
  position: relative;
  width: 100%;
  height: 25rem;
  background-image: url("images/nurse_training.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  border-top: 5px solid var(--secondary-color);
  border-bottom: 5px solid var(--secondary-color);
}

.fixedImgOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(143, 236, 2, 0.75), rgba(0, 0, 0, 0.65));
}

/* service section */
#service-section {
  background-image: linear-gradient(to bottom, rgba(2, 143, 236, 0.25), rgba(0, 0, 0, 0.1));
}

.serviceST {
  background-color: rgba(2, 143, 236, 0.25);
}

.serviceH {
  color: rgba(2, 143, 236, 0.25);
}

.serviceSH {
  color: rgb(2, 143, 236);
}

.servicesCard .card {
  width: 100%;
  aspect-ratio: 2;
  border-radius: 2rem 2rem 0 0;
  border: 1px solid rgba(2, 143, 236, 0.5);
  border-bottom: 0;
  background-color: rgba(2, 143, 236, 0.1);
  cursor: pointer;
}

.servicesCard .card:hover:not(.active) {
  background-color: rgba(2, 143, 236, 0.25);
}

.card .serviceTitle {
  padding-top: 0.75rem;
  color: var(--darker-color);
}

.card .fa {
  font-size: 2rem;
  padding-top: 0.75rem;
  color: var(--darker-color);
}

.servicesContent .content {
  background-color: rgba(2, 143, 236, 0.5);
  width: 100%;
}

.activeCard {
  background-color: rgba(2, 143, 236, 0.5) !important;
}

.contentCont {
  position: relative;
}

.trainingImgOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  background-color: rgba(2, 143, 236, 0.5);
}

/* team section */
.teamST {
  background-color: rgba(0, 0, 0, 0.25);
  margin-left: 20% !important;
}

.teamH {
  color: rgba(0, 0, 0, 0.25);
}

.teamSH {
  color: rgb(0, 0, 0);
}

.teamPics img {
  width: 12.5rem;
  margin-top: 5rem;
}

/* partner section */
#partner-section {
  background-color: rgba(143, 236, 2, 0.5);
}

.partnerST {
  background-color: rgba(0, 0, 0, 0.15);
}

.partnerH {
  color: rgba(0, 0, 0, 0.15);
}

.partnerSH {
  color: rgba(0, 0, 0, 0.75);
}

.pearsonMore {
  border: 2px solid var(--darker-color);
  padding: 1rem;
}

.pearsonMore:hover {
  background-color: rgb(0, 48, 87);
  color: #fff;
}

/* contact section */
#contact-section {
  background-color: #164e74;
  color: #fff !important;
}

.addressIconBg {
  background-color: rgba(0, 0, 0, 0.25);
  min-width: 40px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* footer section */
#footer-section {
  background-color: var(--darker-color);
  min-height: 35rem;
  color: #fff;
}

.socialcontact i {
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  padding-left: 3px;
  padding-top: 3px;
}

.socialfooter i {
  background-color: rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  padding-left: 3px;
  padding-top: 3px;
}

#goToTopBtn {
  width: 3rem;
  height: 3rem;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

#goToTopBtn:hover {
  background-color: #0056b3;
}

.footerText {
  position: absolute;
  bottom: 1rem;
}

/* ============================================================================================ */

/* Style for extra extra small devices (phones) */
@media only screen and (max-width: 280px) {
  .navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.3rem;
  }

  .navbar-toggler-icon {
    width: 1rem;
    height: 1rem;
  }

  .logo,
  .logo1 {
    width: 125px;
    padding: 0 5px 0 5px;
    margin-left: -1rem;
  }

  #hero-section {
    background-position: bottom;
  }

  .hero-text {
    margin-top: -5vh !important;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  #appoint-btn,
  #callUsBtn {
    font-size: 0.5rem;
    margin-top: 0 !important;
  }
}

/* Style for extra small devices (phones) */
@media only screen and (min-width: 281px) and (max-width: 575px) {
  .logo,
  .logo1 {
    width: 150px;
    padding: 0 10px 0 10px;
  }

  .hero-text {
    margin-top: -5vh !important;
  }

  .hero-text h1 {
    font-size: 2.75rem;
  }

  .hero-text p {
    font-size: 1.25rem;
  }
}

/* Style for small devices (tablets) */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .logo,
  .logo1 {
    width: 150px;
    padding: 0 10px 0 10px;
  }

  .hero-text {
    width: 100%;
    margin-top: 100vh;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.25rem;
  }
}

/* Style for medium devices (desktops) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1.7rem;
  }
}

/* Style for large devices (large desktops) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  #hero-section {
    background-position: bottom;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1.7rem;
  }
}

@media screen and (min-width: 1201px) {
  #hero-section {
    background-image: linear-gradient(to bottom, rgba(2, 143, 236, 0.1), rgba(0, 0, 255, 0.75)), url(images/happy_nurses.png);
  }

  .hero-text {
    margin-top: 10vh;
  }
}

@media screen and (max-width: 1200px) {
  .navbar-nav a:hover {
    /* background-color: var(--secondary-color); */
    color: var(--secondary-color);
    transform: scale(1.025);
    transition: transform 0.3s;
  }

  #hero-section {
    background-position: bottom;
  }

  .hero-text {
    width: 100%;
    text-align: center;
    margin: auto;
    color: #000;
    padding: 0.75rem;
  }
  #appoint-alert {
    width: 90%;
  }

  .fixedBg {
    position: relative;
    width: 100%;
    height: 15rem;
    background-image: url("images/nurse_training.jpg");
    background-attachment: fixed;
    background-repeat: repeat;
    background-size: contain;
    background-position: center;
  }

  .fixedImgOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(143, 236, 2, 0.75), rgba(143, 236, 2, 0.5));
  }

  .bottomNav {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .servicesCard .card {
    border-radius: 1rem 1rem 0 0;
  }

  .card .serviceTitle {
    font-size: 0.8rem;
    font-weight: bold;
  }

  .card .serviceSubtitle {
    font-size: 0.4rem;
  }
}

@media screen and (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 991px) {
    .hero-text {
        margin-top: -5vh !important;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}
