@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

html {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333333;
  background-color: #f5f5f5;
  width: 100%;
}

/* ------------------------------
   NAVBAR
------------------------------ */

.navbar {
  width: 100%;
  margin: 0 auto;
  position: sticky;
  top: 0;
  padding: 15px 30px;
  z-index: 100;
  font-size: 14px;
  text-transform: uppercase;
  background-color: #ffffff; /* or remove if handled by .navbar-custom */
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text,
.navbar-brand:hover {
  color: #333333 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  border: none;
  outline: none;
}

/* Center & spacing for nav items */
.navbar-nav > li {
  padding-left: 4px;
  padding-right: 4px;
  font-weight: bold;
  display: inline-block;
  margin: auto;
  vertical-align: center;
}

.navbar .nav-link {
  display: inline-flex;
  position: relative;
  align-items: center;
  color: #333333 !important;
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover {
  color: #333333 !important;
  text-decoration: underline 3px #ffcb1d;
  text-underline-offset: 4px;
}

/* For external nav links, remove the default underline */
.nav-item.external .nav-link:hover {
  text-decoration: none !important;
  position: relative;  /* needed for the pseudo-element */
}

/* Add a custom underline that spans the entire link (text + icon) */
.nav-item.external .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px; /* adjust offset as needed */
  border-bottom: 4px solid #ffcb1d;
}


/* Responsive tweaks for navbar */
@media only screen and (max-width: 991px) {
  #navbarNav {
    padding-top: 20px;
  }
  .nav-link {
    margin: 3px 0;
  }
}

/* ------------------------------
   HAMBURGER MENU
------------------------------ */

/* Base hamburger styles */
.hamburger {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: opacity 0.15s linear;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger.is-active:hover {
  opacity: 0.7;
}

/* The box containing the bars */
.hamburger-box {
  width: 30px;
  height: 14px;
  position: relative;
}

/* The three lines: top, middle, bottom */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  border-radius: 4px;
  position: absolute;
  transition: transform 0.15s ease;
}
.hamburger-inner {
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner::before {
  top: -8px;
}
.hamburger-inner::after {
  bottom: -8px;
}

/* “Elastic” effect */
.hamburger--elastic .hamburger-inner {
  top: 2px;
  transition-duration: 0.275s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger--elastic .hamburger-inner::before {
  top: 10px;
  transition: opacity 0.125s 0.275s ease;
}
.hamburger--elastic .hamburger-inner::after {
  top: 20px;
  transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger--elastic.is-active .hamburger-inner {
  transform: translateY(10px) rotate(135deg);
  transition-delay: 0.075s;
}
.hamburger--elastic.is-active .hamburger-inner::before {
  transition-delay: 0s;
  opacity: 0;
}
.hamburger--elastic.is-active .hamburger-inner::after {
  transform: translateY(-20px) rotate(-270deg);
  transition-delay: 0.075s;
}

/* ------------------------------
   RIBBON
------------------------------ */

.ribbon {
  background-color: #000000;
  color: #ffffff;
  font-size: 14px;
  padding: 15px 40px;
  text-align: center;
}

.ribbon-text {
  font-size: 14px;
}

.subscribe-button {
  display: inline-block;
  padding: 5px 10px;
  margin-left: 20px;
  background-color: #ffcb1d;
  box-shadow: 1px 3px 2px 1px rgba(0, 0, 0, 0.4);
  color: #333333;
  font-weight: 600;
  border-radius: 9px;
  text-transform: uppercase;
  width: 120px;
}

@media only screen and (max-width: 991px) {
  .ribbon {
    padding: 10px 10px;
  }
  .subscribe-button {
    margin-left: 10px;
    transform: scale(0.7);
  }
}

/* ------------------------------
   FOOTER
------------------------------ */

footer {
  width: 100%;
  background-color: #f5f5f5; /* Light gray for top section */
}

/* Footer top */
.footer-top {
  padding-left: 4vw;
  padding-right: 4vw;
}
.footer-top h4, .footer-top h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-top p, .footer-top a {
  color: #8d8d8d;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Footer bottom */
.footer-bottom {
  width: 100%;
  background-color: #fff; /* White background for bottom bar */
  border-top: 1px solid #eee;
}

.footer-inner-bottom {
  padding-left: 2vw !important;
  padding-right: 2vw !important; 
}

.footer-bottom p {
  color: #8d8d8d;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;  /* Circle diameter */
  height: 30px;
  border-radius: 50%;
  background-color: #333; /* Dark background */
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  margin-left: 0.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}
.social-links a:first-child {
  margin-left: 0;
}
.social-links a:hover {
  background-color: #555;
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .footer-top .row {
    justify-content: center !important;
  }
  .footer-top .col-md-3, .footer-top .col-md-2 {
    margin: 0 auto;
    text-align: center;
  }
  .footer-top h4, .footer-top h5 {
    font-size: 1rem;
  }
  .footer-top img {
    max-width: 70%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .footer-top {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .ribbon-text {
    font-size: 12px;
  }
  
.subscribe-button {
  font-size: 16px;
}
}

/* ------------------------------
   MODAL
------------------------------ */

.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto; /* centers the modal */
}

.modal-content {
  border-radius: 10px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid #eaeaea;
  padding: 1rem 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-body {
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}
