* {
  font-family: "Rubik", sans-serif;
  font-size: 18px;
}

header {
  font-size: 21px;
}

/*  Secondary Navbar */
.navbar-secondary .nav-link {
  color: #000;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.navbar-secondary .nav-link:hover,
.navbar-secondary .nav-link:focus {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

section[id] {
  scroll-margin-top: 70px;
}

@media (max-width: 991.98px) {
  section[id] {
    scroll-margin-top: 350px;
  }
}

/* Default size for smaller screens */
.img-fluid-large {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Adjust size for larger screens */
@media (min-width: 768px) {
  .img-fluid-large {
    max-width: 80%;
  }
}

/* Pricing Section Blues */
.text-deep-blue {
  color: #073763 !important;
}

.bg-deep-blue {
  background-color: #073763 !important;
  border-color: #073763 !important;
  color: #fff !important;
}

.bg-deep-blue:focus {
  box-shadow: none !important;
  outline: none !important;
}

.bg-deep-blue:hover {
  background-color: #0a4a7a !important;
  border-color: #0a4a7a !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(7, 55, 99, 0.3);
}

/* Button Styling */
.btn:focus,
.btn:active {
  box-shadow: none !important;
  outline: none !important;
}

/* Pricing Toggle css */
.pricing-toggle {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2px;
  display: inline-flex;
  margin: 12px auto 4px;
}

.pricing-toggle .btn {
  border: none;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  color: #6c757d;
  margin: 0;
}

.pricing-toggle .btn.active {
  background-color: #073763;
  color: white;
  box-shadow: 0 2px 8px rgba(7, 55, 99, 0.3);
}

.pricing-toggle .btn:hover:not(.active) {
  background-color: #e9ecef;
  color: #495057;
}

.pricing-toggle .btn:focus {
  box-shadow: none !important;
  outline: none !important;
}

.pricing-toggle .btn:active {
  box-shadow: none !important;
  outline: none !important;
}

/* Card Effects */
.card.border {
  border-color: #e9ecef !important;
}

/* Price styling */
.price-amount {
  transition: all 0.3s ease;
}

/* Rounded corners */
.rounded-4 {
  border-radius: 0.25rem !important;
}

/* Check icon styling */
.fas.fa-check-circle {
  font-size: 1rem;
}

/* Accordion styling */
.accordion-button:not(.collapsed) {
  background-color: #fff !important;
  color: inherit !important;
  box-shadow: none !important;
}

.accordion-button {
  font-weight: 600 !important;
  color: #073763 !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

/* Privacy Policy and Terms of Service links styling */
.link-blue-sm {
  color: #073763;
  text-decoration: underline;
  transition: color 0.2s ease, font-weight 0.2s ease;
  font-weight: 400;
}

.link-blue-sm:hover {
  color: #2a5caa;
  font-weight: 600;
}

.link-blue-sm:active {
  color: #6fa8dc;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-toggle {
    margin: 10px auto 5px;
  }

  .pricing-toggle .btn {
    padding: 6px 14px;
    font-size: 13px;
  }
}

/* Ipad Pro header spacing */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  #header {
    min-height: 70vh !important;
    padding-top: 10rem !important;
  }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.membership-copy {
  font-size: 16px;
  line-height: 1.5;
  color: #073763;
}

@media (min-width: 576px) {
  /* sm+ */
  .membership-copy {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  /* lg+ */
  .membership-copy {
    font-size: 21px;
  }
}

@media (min-width: 1400px) and (min-height: 800px) {
  #memberships {
    padding-bottom: 8vh !important;
  }

  #products {
    margin-top: 8vh !important;
  }
}

@media (min-width: 1800px) and (min-height: 900px) {
  #memberships {
    padding-bottom: 12vh !important;
  }

  #products {
    margin-top: 12vh !important;
  }
}

/* Terms Sections Styling */
.terms-section h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.terms-section hr {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border-color: #ddd;
}

.terms-section ul,
.terms-section p {
  margin-bottom: 1rem;
}

/*News section stlying */
.news-grid {
  position: relative;
}

/* Create the vertical dotted line between Date and Content */
.news-divider {
  border-left: 1px dashed #e0e0e0;
  min-height: 100%;
}

/* Custom Typography matches */
.news-date {
  color: #6b7280; /* Cool gray */
  font-size: 0.9rem;
  padding-top: 0.2rem;
}

.news-category {
  color: #0d6efd;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.news-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #111827;
  text-decoration: none;
  transition: color 0.2s;
}

.news-title:hover {
  color: #0d6efd;
}

.news-image {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.2s;
}

.news-row:hover .news-image {
  transform: scale(1.02);
}

.news-row {
  padding-bottom: 3rem;
}
