@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f9f9f9;
}
a {
  color: #005ba1;
  text-decoration: none;
  cursor: pointer;
}
ul {
  list-style: none;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 0.5rem;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}

/* --- Navigation Styles --- */
.nav-top {
  background-color: #f7f7f7; /* Background color of the entire navigation bar */
  padding: 10px 0; /* Vertical padding for the navigation bar */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  position: relative; /* Allows for z-index and positioning of children if needed */
  z-index: 1000; /* Ensures the navigation stays on top of other content */
}

.nav-list {
  display: flex; /* Enables Flexbox for horizontal layout of navigation items */
  justify-content: center; /* Horizontally centers navigation items by default */
  align-items: center; /* Vertically aligns navigation items in the middle */
  list-style: none; /* Removes default bullet points from the unordered list */
  padding: 0; /* Removes default padding from the unordered list */
  margin: 0; /* Removes default margin from the unordered list */
  flex-wrap: nowrap; /* Prevents navigation items from wrapping onto multiple lines */
  overflow-x: hidden; /* Hides any horizontal overflow within the navigation list */
}

.nav-item {
  /* This class can be used for general styling of individual list items,
     but in this setup, most styles are applied directly to the <a> tag. */
}

.nav-item a {
  text-decoration: none; /* Removes the default underline from links */
  color: #222; /* Default text color for navigation links */
  font-weight: 500; /* Medium font weight */
  white-space: nowrap; /* Prevents the text within a link from breaking into multiple lines */
  display: block; /* Makes the entire padding area of the link clickable */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  padding: 10px 20px; /* Default padding for navigation links */
  font-size: 1.1rem; /* Default font size for navigation links */
  border-radius: 8px; /* Rounded corners for the link background/hover effect */
}

.nav-item a:hover {
  background-color: #e0e0e0; /* Light gray background on hover */
  color: #c5a059; /* Accent color for text on hover */
}

.nav-item.active a {
  background-color: #c5a059; /* Highlight background for the active (current) page */
  color: #ffffff; /* White text for the active page */
}

/* --- Logo Specific Styles within Navigation --- */
.nav-logo-item {
  display: none; /* Hidden by default on small screens (below 400px) */
  margin-right: auto; /* Pushes other navigation items to the right in flex container */
  padding-left: 20px; /* Padding on the left side of the logo */
}

.nav-brand-logo {
  height: 40px; /* Fixed height for the logo image */
  width: auto; /* Maintains the aspect ratio of the logo */
  display: block; /* Ensures the image behaves as a block within its flex item */
}


/* --- Responsive Adjustments for Navigation (including logo visibility) --- */

/* For screens above 400px: Show the logo and adjust navigation layout */
@media (min-width: 375px) {
  .nav-logo-item {
    display: block; /* Make the logo item visible */
  }
  .nav-list {
    justify-content: space-between; /* Distribute logo and other nav items across the space */
  }
}

/* For screens up to 992px wide (e.g., tablets and smaller desktops) */
@media (max-width: 992px) {
  .nav-item a {
    padding: 8px 15px; /* Slightly reduced padding */
    font-size: 1rem; /* Slightly reduced font size */
  }
  .nav-brand-logo {
    height: 35px; /* Slightly smaller logo */
  }
}

/* For screens up to 768px wide (e.g., larger smartphones in landscape) */
@media (max-width: 768px) {
  .nav-item a {
    padding: 6px 12px; /* Further reduced padding */
    font-size: 0.9rem; /* Further reduced font size */
  }
  .nav-brand-logo {
    height: 30px; /* Even smaller logo */
  }
}

/* For screens up to 500px wide (e.g., most smartphones in portrait) */
@media (max-width: 500px) {
  .nav-item a {
    padding: 5px 10px; /* Even more reduced padding */
    font-size: 0.85rem; /* Even more reduced font size */
  }
  .nav-list {
    justify-content: space-evenly; /* Distributes items with equal space around them */
  }
  /* The logo will be hidden at this point (due to max-width: 400px media query),
     so no need to adjust its size here, as display: none takes precedence. */
}

/* New breakpoint for very small screens (below 320px) */
@media (max-width: 320px) {
  .nav-item a {
    padding: 3px 6px; /* Minimal padding */
    font-size: 0.7rem; /* Very small font size */
  }
  .nav-list {
    justify-content: space-around; /* Slightly different distribution for very small screens */
    overflow-x: hidden; /* Ensure no nav scrollbar */
  }
}

/* Aggressive breakpoint for extremely small screens (below 280px) */
@media (max-width: 280px) {
  .nav-item a {
    padding: 2px 4px; /* Super minimal padding */
    font-size: 0.65rem; /* Super tiny font size */
    letter-spacing: -0.02em; /* Tighten up spacing more */
  }
  .nav-list {
    justify-content: space-between; /* Try to spread out evenly */
    overflow-x: hidden; /* Absolutely no scroll on nav-list */
    flex-shrink: 0; /* Prevents items from shrinking beyond content */
  }
}

/* Absolute smallest breakpoint for screens below 240px (e.g., 220px) */
@media (max-width: 240px) {
  .nav-item a {
    padding: 1px 2px; /* Barely any padding */
    font-size: 0.6rem; /* The smallest possible font size */
    letter-spacing: -0.03em; /* Tighten up spacing more */
  }
  .nav-list {
    justify-content: space-between; /* Maximally distribute */
    overflow-x: hidden; /* Critical to prevent nav scroll */
  }
}

/* Global body overflow prevention for extra small screens if not already present */
@media (max-width: 600px) {
  body {
    overflow-x: hidden; /* Prevents horizontal scroll on the entire body for small screens */
  }
} 
/* --- Wordmark (Text Logo) for 3KB Reserve --- */
.nav-wordmark-item {
  display: none; /* Hide by default */
  margin-right: auto;
  padding-left: 20px;
}

.nav-wordmark-link {
	font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #c5a059;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1;
}

/* Show wordmark only above 450px */
@media (min-width: 600px) {
  .nav-wordmark-item {
    display: block;
  }

  .nav-list {
    justify-content: space-between;
  }
}


/* ===== Feature Blocks ===== */
.features {
  padding: 2rem 0;
}
.feature {
  display: flex;
  align-items: flex-start;
  border: 1px solid #e0e0e0;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.feature i {
  font-size: 2rem;
  color: #ffcc00;
  margin-right: 1rem;
  flex-shrink: 0;
}
.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 1rem;
}

/* ===== Page Actions ===== */
.page-actions {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}
.btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #333;
}

/* ===== Main Terms Styling ===== */
.terms-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
}
.terms-content h1 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}
.terms-content h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
}
.terms-content p,
.terms-content ul {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.terms-content ul {
  padding-left: 1.5rem;
}
.terms-content ul li {
  margin-bottom: 0.5rem;
}

/* ===== Floating Phone CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #d4af37;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
}
.floating-cta .cta-icon {
  font-size: 1.5rem;       /* adjust to taste */
  line-height: 1;
}


/* ===== Media Queries ===== */
/* Tablet & up */
@media (min-width: 600px) {
  .feature {
    flex-direction: row;
  }
  .page-actions {
    flex-direction: row;
  }
  .page-actions .btn {
    margin-right: 1rem;
    margin-bottom: 0;
  }
}
/* Desktop & up */
@media (min-width: 1000px) {
  .nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  #nav-links {
    display: flex;
  }
  #nav-links li {
    margin-bottom: 0;
    margin-right: 1.5rem;
  }
  #nav-links li:last-child {
    margin-right: 0;
  }
  .page-actions {
    justify-content: flex-end;
  }
}
/* 12. Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}
.footer p {
  font-size: .9rem;
  margin-bottom: .5rem;
}
.footer-nav li a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
}
.social-icons {
  margin-top: 1rem;
}
.social-icons a {
  color: #ffbf00;
  margin: 0 .5rem;
  font-size: 1.2rem;
}
.social-icons a:hover {
  opacity: .8;
}
