@import url(Fonts.css);
@import url(VideoBox.css);
@import url(modal.css);
@import url(Animations.css);

html,
body {
  overflow-x: hidden;
}

* {
  font-family: "Quicksand_light", sans-serif;
}

body {
  background-image: url(../Media/Images/Background.webp);
  background-repeat: no-repeat;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 165px; /* match your navbar's height */
}

nav {
  background-color: white !important;
  margin-bottom: 2rem;
  border-bottom: #00accbff 0.12rem solid;
  
  /* margin-top: 2rem; */
}

.navbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
}



#mobCTA {
  display: none;
}

#navLogo {
  margin-inline-start: 5rem;
}

#navCTA {
  background: linear-gradient(90deg, #00accbff, #7edbfa);
  background-size: 200% 100%;
  font-weight: 400;
  font-size: 1.5rem;
  transition: background 0.7s ease;
  margin-inline-end: 5rem;
  border: none;
}

#navCTA:hover {
  background-position: 100% 0;
  transition: background 0.7s ease;
}

.nav-item {
  margin-bottom: 0;
}


.navRow2Btn {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 2rem;
  background-color: transparent;
  color: #00accbff;
  border: none;
  transition: background 0.7s ease;
}

.navRow2Btn:hover {
  color: white;
  background-color: #00accbff;
  transition: background 0.7s ease;
}

.navRow2Btn.pageActive {
  color: white;
  background-color: #00accbff;
}

.active {
  color: white;
  background-color: #00accbff !important;
}

.homeHeader {
  font-family: coolvetica, sans-serif;
  font-weight: 800;
  font-size: 4rem;
  margin-bottom: 2rem;
  margin-top: 157px; /* to account for the fixed navbar */
  padding-top: 1rem;
  color: #00accbff;
}

.aboutHeader {
  font-family: coolvetica, sans-serif;
  font-weight: 100;
  font-size: 3rem;
  margin-top: 50px; /* to account for the fixed navbar */
  margin-bottom: 1rem;
  padding-top: 1rem;
  color: #00accbff;
}

.AboutContainer {
  font-weight: 300;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgb(0, 0, 0);
}

.AboutContainer h2 {
  font-weight: 500;
  color: #00accbff;
}
.AboutContainer h4 {
  font-weight: 400;
  color: #00accbff;
}

.Team-Portrait-1 {
  border-radius: 1% 25% 1% 25%;
  height: 650px;
}
.Team-Portrait-2 {
  border-radius: 25% 1% 25% 1%;
  height: 650px;
}

.AboutContainer {
  padding: 1rem;
  margin-bottom: 6rem;
}

.contactHeader {
  margin-top: 157px; /* to account for the fixed navbar */
  padding-top: 1rem;
}

.contactHeader h1 {
  font-family: coolvetica, sans-serif;
  font-weight: 100;
  font-size: 3rem;
  color: #00accbff;
}

.mainContent h2,
.mainContent h3 {
  font-weight: 500;
  color: #00accbff;
}
.pharmasea-intro,
.PatientsSection,
.PharmacySection {
  font-weight: 300;
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 6rem;
  color: black;
}

.formContainer {
  /* margin-top: 160px; to account for the fixed navbar */
  padding: 2rem;
}

.formContainer h3 {
  font-family: coolvetica, sans-serif;
  color: #00accbff;
}

.footer {
  margin-top: auto;
  /* position: fixed; */
  bottom: 0;
  background-color: #00accbff;
  color: white;
  padding: 0.5rem;
  text-align: center;
  width: 100%;

  & a {
    color: white;
    text-decoration: none;
  }
}

.footerContent p {
  margin-bottom: 0;
}
.mobLinks {
  display: none;
}

li {
  margin-bottom: 1rem;
}

li i {
  padding-top: 1em;
  padding-bottom: 1em;
}

li i,
li strong {
  color: #00accbff;
  font-weight: 600;
}

ul {
  list-style: none;
  padding: 0;
}






@media (max-width: 768px) {
  .navbar-toggler {
    border: none;
  }

  .navbar-toggler img {
    color: #00accbff;

  }


  html {
    scroll-behavior: smooth;
    scroll-padding-top: 5px; /* match your navbar's height */
  }

  #navLogo {
    margin-inline-start: 1rem;
  }

  #navLogo img {
    height: 25px; /* shrink logo */
  }

  .navRow2Btn {
    font-size: 1rem;
    width: 100%; /* stack full-width inside collapse */
    margin: 0.25rem 0;
    text-align: center;
  }

  #navCTA {
    display: block;
    width: 30%; /* CTA button full width on mobile */
    margin: 0.5rem auto;
    font-size: 1rem;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    
  }

  .navbar {
    position: static; /* prevent overlapping content on small screens */
    margin-bottom: 0;
  }

  .navbar-toggler-icon {
    color: #00accbff !important;
  }

  .mobViewHero {
    background-image: url(https://funktotheface.github.io/pharmaseawebsite/Assets/Media/Images/mobHero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 1rem;
  }

  .homeHeader {
    margin-top: 0rem;
    margin-bottom: 0rem;
    backdrop-filter: blur(1px);
    background-color: rgba(0, 173, 203, 0.267);
    color: aliceblue;
    font-size: 2rem;
    margin-top: 2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
  .aboutHeader {
    margin-top: 0rem;
  }

  .pharmasea-intro,
  .PatientsSection,
  .PharmacySection {
    font-weight: 300;
    font-size: 1.25rem;
    color: black;
  }

  .contactHeader {
    margin-top: 0rem;
  }

  .navbar {
    position: static;
  }

  #mobCTA {
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: auto;
    background: linear-gradient(90deg, #00accbff, #7edbfa);
    background-size: 200% 100%;
    font-weight: 500;
    font-size: 1.2rem;
    border: none;
    justify-content: center;
  }

  .mobLinks {
    display: inline-block;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .mobLinks p,
  .mobLinks a {
    margin: 0;
    color: #00accbff;
    font-size: 1.5rem;
  }

  .AboutContainer .row {
    display: flex;
    flex-direction: column; /* stack items vertically */
  }

  /* First section (Douglas) */
  #aboutDouglas .col-md-4 {
    order: 0; /* image first */
  }
  #aboutDouglas .col-md-8 {
    order: 1; /* text second */
  }

  /* Second section (Jodie) */
  #aboutJodie .col-md-8 {
    order: 1; /* text second */
  }
  #aboutJodie .col-md-4 {
    order: 0; /* image first */
  }

  .AboutContainer {
    margin-bottom: 2rem;
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #00accb;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px; /* fixed width */
  height: 50px; /* same as width for circle */
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
