
/* === Global Styles === */

html, body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(to bottom, #9ac5cb, #ffffff);
  font-family: Arial, sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;


 
}

body {

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh; /* This forces full screen height */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* This allows <main> to take up the full available vertical space */
}




/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #040404;
  opacity: 0.8;
  padding: 12px 24px;
  margin: 10px 0;
  border-radius: 8px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.brand-with-ekg {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.2;
  color: white;
  display: flex;
  gap: 6px;
}

.nav-logo .nurse {
  color: white;
}

.nav-logo .code {
  color: #0cace2;
}

.ekg-inline {
  height: 40px;
  width: 220px;
}

.ekg-inline path {
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  animation: ekgAnimate 4s linear infinite;
  animation-delay: 1s;
}

@keyframes ekgAnimate {
  0% {
    stroke-dashoffset: 1300;
  }
  85% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* === Nav Links === */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #09e7f7;
}

.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* === Dropdown Menu === */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #1e1e1e;
  padding: 10px;
  list-style: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.dropdown-menu li {
  padding: 5px 10px;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* === Quote Styling === */
.quote-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  border-radius: 12px;
}

.quote-box {
  background-color: rgba(34, 34, 34, 0.7);
  font-size: medium;
  color: white;
  border-left: 6px solid #0cace2;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  font-style: italic;
  border-radius: 8px;
  position: relative;
}

.quote-box cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.95rem;
  text-align: right;
  color: white;
}

/* === index.html main content === */
.content-section{
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1.5rem;
 background: linear-gradient(to bottom, #9ac5cb, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.content-section h1 {
  
  color: #09c3e0;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* === content-carousel styles index.html === */
.content-carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #9ac5cb, #ffffff);
}

.content-carousel h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
  font-size: 1.5rem;

}

.content-carousel p {
  text-align: center;
  color: #000000;
  font-size: 1rem;
  margin-bottom: 20px;
}

.carousel {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-item h1 {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #000000;
  text-align: center;

}

/* Carousel Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  
  background-color: rgba(0, 0, 0, 0.6);
  color: rgb(8, 243, 239);
  border: 2px solid transparent; /* Prevents shifting when hover border is added */
  padding: 12px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid white;
}


.content-carousel img {
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  height: 300px;
  object-fit: contain;
  width: 100%;
}

/* === About.html styles === */

.content-section h1 {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 1rem;
  text-align: center;
}

.content-section h2 {
  font-size: 1.4rem;
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-align: center;
  padding-left: 10px;
  
}

.content-section p {
  font-size: 1rem;
  color: #222;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem auto;
  max-width: 800px;
}

.content-section ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 1rem;
}

.content-section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #09c3e0;
  font-weight: bold;
}

a {
  color: #0cace2;
  text-decoration: underline;
}

a:hover {
  color: #0288a5;
  text-decoration: none;
}



/* === Dosage Table === */
.dosage-table {
  font-family: Arial, sans-serif;
  margin: 2rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
}

.dosage-table h2 {
  margin-top: 2rem;
  color: #09c3e0;
  font-size: 1.5rem;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
  margin-bottom: 1.5rem;
}

.dosage-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.dosage-table th,
.dosage-table td {
  border: 1px solid white;
  padding: 10px;
  text-align: left;
  min-width: 100px;
}

.dosage-table th {
  background-color: #6d6d6d;
}

.dosage-table td strong {
  color: #09c3e0;
}

.dosage-table ul.abbreviations {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.dosage-table ul.abbreviations li {
  padding: 6px 0;
  font-size: 1rem;
}


/* === Quiz Styles === */
.quiz-card {
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  color: rgb(255, 254, 254);
  font-size: 1.1em;
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #1e1e1e;
}

.correct {
  color: #00e676;
}

.wrong {
  color: #ff5252;
}

input[type="text"] {
  padding: 8px;
  width: 60%;
  font-size: 1em;
  background-color: #373636;
  color: white;
  border: 1px solid #555;
  border-radius: 4px;
}

button {
  padding: 8px 14px;
  margin-left: 10px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #373838;
  transform: scale(1.05);
  color: black;
}

button:disabled {
  background-color: #555;
  cursor: not-allowed;
}

/* === Contact form styles === */
.contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
  background: linear-gradient(to bottom, #9ac5cb, #ffffff);
  padding: 20px;
}

.contact-card {
  background: #2f2e2e;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  min-height: 700px; /* Taller on desktop */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}


.contact-card h2 {
  margin-bottom: 100px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  text-decoration: underline;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #2c2c2c;
  color: #ffffff;
}

.contact-card textarea {
  resize: vertical;
  height: 120px;
}

.contact-card button {
  background-color: #3498db;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.contact-card button:hover {
  background-color: #2980b9;
}

/* === Footer === */
.footer {
  text-align: center;
  padding: 20px 10px;
  position: relative;
  width: 100%;
  opacity: 0.8;
  color: #ccc;
  margin-top: 40px;
  border-radius: 8px;
  font-size: 0.9em;
  background-color: #040404;
}

.footer a {
  color: #fcfeff;
  text-decoration: none;
  margin: 0 8px;
}

.footer a:hover {
  text-decoration: underline;
  color: #09c3e0;
}

/* === Media Queries === */
@media (max-width: 700px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background-color: #1e1e1e;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    display: none;
  }

  .nav-links.active {
    display: flex;
    background-color: #1e1e1e;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: inherit;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
  }

  .nav-logo .tagline {
    display: none;
  }

  .ekg-inline {
    display: none;
  }

  .dosage-table {
    margin: 1rem 0.5rem;
    padding: 0.75rem;
  }

  .dosage-table h2 {
    font-size: 1.25rem;
  }

  .dosage-table th,
  .dosage-table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  .dosage-table ul.abbreviations li {
    font-size: 0.95rem;
  }

  /* Contact Card */
 
.contact-card {
  padding: 20px;
  min-height: auto;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box; 
}

.contact-card * {
  box-sizing: border-box;
}

.contact-card h2 {
  font-size: 1.5rem;
}

.contact-card input,
.contact-card textarea {
  font-size: 1rem;
  padding: 5px;
  width: 100%;       
  max-width: 100%;  
  border: 1px solid #ccc;
  border-radius: 8px;
  display: block;
}

.contact-card textarea {
  resize: vertical; 
  min-height: 120px;
}

.contact-card button {
  font-size: 1rem;
  padding: 10px 16px;
  width: 100%; 
  border: none;
  border-radius: 8px;
  background-color: #3498db;
  color: white;
  margin-top: 10px;
}

/* === content-carousel styles index.html === */
 .content-carousel {
    padding: 15px;
  }

  .content-carousel h2 {
    font-size: 1.3rem;
  }

  .content-carousel p {
    font-size: 0.95rem;
  }

  .carousel-item h1 {
    font-size: 1rem;
  }

  .carousel-item img {
    max-height: 220px;
  }

  .carousel-button {
    padding: 10px;
    font-size: 16px;
  }
    .content-section h1 {
    font-size: 1.6rem;
  }

  .content-section h2 {
    font-size: 1.2rem;
  }

  .content-section p,
  .content-section ul li {
    font-size: 0.95rem;
  }
}



@media (max-width: 480px) {
  .content-carousel {
    padding: 10px;
    border-radius: 6px;
  }

  .content-carousel h2 {
    font-size: 1.1rem;
  }

  .content-carousel p {
    font-size: 0.9rem;
  }

  .carousel-item h1 {
    font-size: 0.95rem;
  }

  .carousel-item img {
    max-height: 180px;
  }

  .carousel-button {
    padding: 8px;
    font-size: 14px;
  }

  .carousel-button.prev {
    left: 5px;
  }

  .carousel-button.next {
    right: 5px;
  }
}


