/* CSS Document main */
:root {
  overflow-x: hidden;
  --primary-color: #2ac8c8;
  --primary-hover: #1fa8a8;
  --footer-bg: #289a96;
}

html, body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

/* Override Bootstrap CSS variables for transparent background */
:root {
  --bs-body-bg: transparent !important;
  --bs-body-bg-rgb: 0, 0, 0, 0 !important;
}

/* Mobile navbar styles now handled entirely in navHide3.css to prevent conflicts */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

/* Navigation Bar Styles - Handled by navHide3.css */
/* Removed duplicate navbar styles to prevent conflicts */

/* Hamburger menu styling */
.navbar .navbar-toggler {
  border: 1px solid rgba(42, 200, 200, 0.8);
  padding: 8px 12px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar .navbar-toggler:hover {
  background-color: rgba(42, 200, 200, 0.1);
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgb%2842, 200, 200%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Login button styling */
#btn_register {
  background-color: transparent;
  border: 1px solid #2ac8c8;
  color: #2ac8c8;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

#btn_register:hover {
  background-color: rgba(42, 200, 200, 0.15);
  opacity: 0.85;
}

/* Body padding removed for transparent navbar */
body {
  padding-top: 0; /* No padding needed for transparent navbar */
}

.name-style {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Remove old navbar color overrides - now handled in the navbar styles section */

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop.back-to-top--footer-docked {
  bottom: auto;
}

#backToTop:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile: Smaller backToTop button - positioned above footer contact buttons */
@media (max-width: 430px) {
  #backToTop {
    width: 40px;
    height: 40px;
    bottom: 90px;
    right: 15px;
    font-size: 0.85rem;
  }
}

/* Extra small mobile: Even more compact */
@media (max-width: 375px) {
  #backToTop {
    width: 36px;
    height: 36px;
    bottom: 80px;
    right: 12px;
    font-size: 0.8rem;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Styles */
/* Note: Removed global margin-top: 50px - each page/section controls its own spacing */
footer {
  margin-top: 0;
}

/* Mobile Text Overflow Protection and Responsive Adjustments */
@media (max-width: 767px) {
  /* Prevent text cut-off on mobile - exclude flex containers like input-group */
  *:not(.input-group):not(.input-group *):not(.d-flex):not(.d-flex *) {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Ensure input-group stays on one row */
  .input-group {
    flex-wrap: nowrap !important;
  }

  /* Mobile container adjustments */
  .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Mobile typography - prevent iOS zoom */
  input, textarea, select {
    font-size: 16px !important;
  }

  /* Mobile brand logo sizing */
  .navbar-logo {
    width: 80px;
    max-width: 80px;
  }

  /* Mobile back-to-top button */
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* Mobile heading text protection */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    hyphens: auto;
  }

  /* Mobile paragraph text protection */
  p {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  outline-color: var(--primary-color);
  color: white;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.masthead {
    background-size: cover;
    min-height: 100vh;
    position: relative;
    color: white;
}

.color-overlay {
    position: absolute;
    background-color: rgba(0,0,0,0.2);
    height: 100%;
    width: 100%;
}

h1 {
    font-size: 3rem;
}

.singleCol {
    max-width: 750px;
    margin: 0 auto;
}

.darkBG {
    background-color: #289a9c;
    color: white;
}

.lightBG {
    background-color: rgb(250, 250, 250);
    color: black;
}

.textBuggy {
    color: #289a9c;
}

section {
    padding: 60px 0;
}

h3.section-title {
    margin-bottom: 20px;
}

#page-footer {
    padding: 15px 0 10px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .col {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 100%;
                flex: 0 0 100%;
        max-width: 100%;
    }
    .masthead {
        min-height: 50vh;
    }
    h1 {
        font-size: calc(1.525rem + 3.3vw);
    }
}
/* Add this to the CSS Document main */

.btn:hover, 
#btn_register:hover {
    background-color: #1e7b7d; /* Darker shade of the teal color */
    color: #ffffff;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn:active,
#btn_register:hover {
    background-color: #156163; /* Even darker shade for the active state */
    -webkit-transform: translateY(1px);
            transform: translateY(1px); /* Slight push down effect */
}

#muteButton:hover {
    background: rgba(255, 255, 255, 0.9);
}

#muteButton:active {
    background: rgba(255, 255, 255, 1);
    -webkit-transform: translateY(1px);
            transform: translateY(1px);
}

/* CSS Document main */
/* ... (previous main CSS styles) ... */

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: #289a9c;
    border: 2px solid #289a9c;
    color: white;
}

.btn-primary:hover {
    background-color: #1f7a7c;
    border-color: #1f7a7c;
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid #289a9c;
    color: #289a9c;
}

.btn-outline-primary:hover {
    background-color: #289a9c;
    color: white;
}

.btn-dark {
    background-color: #343a40;
    border: 2px solid #343a40;
    color: white;
}

.btn-dark:hover {
    background-color: #23272b;
    border-color: #23272b;
}

.btn-signup {
    background-color: #289a9c;
    border: 2px solid #289a9c;
    color: white;
}

.btn-signup:hover {
    background-color: #1f7a7c;
    border-color: #1f7a7c;
}

/* Additional utility classes used in the buttons */
.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.me-md-2 {
    margin-right: 0.5rem;
}

/* ... (rest of the main CSS styles) ... */
