/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #F6F6F6;
  color: #023246;
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.site-header {
  background-color: #023246;
  color: #F6F6F6;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 60px;
}
/* Let header grow and allow the menu to wrap */
.header-inner { height: auto; min-height: 60px; }

/* Allow wrapping instead of clipping the last items */
.main-nav ul { flex-wrap: wrap; }

/* Ease layout before it overflows (raise breakpoint) */
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-nav ul { gap: 18px; justify-content: center; }
  .btn-ask { width: 100%; justify-content: center; order: 3; }
}

/* ========== LOGO ========== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #F6F6F6;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.logo { cursor: default; }
.logo:hover, .logo:focus { color: inherit; text-decoration: none; }
/* ========== NAVIGATION ========== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}

.main-nav a {
  color: #F6F6F6;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #287094;
  transition: width 0.3s;
  border-radius: 2px;
}

.main-nav a:hover,
.main-nav a:focus {
  color: #287094;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

/* ========== UNIVERSAL BUTTONS ========== */
.btn,
.btn-ask {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  padding: 14px 40px;
  background-color: #287094;
  color: #fff;
}

.btn-primary:hover {
  background-color: #023246;
}

.btn-secondary {
  padding: 14px 40px;
  background-color: #023246;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #185263;
}

.btn-ask {
  background-color: transparent;
  border: 2px solid #287094;
  color: #287094;
  padding: 8px 22px;
  height: 40px;
  white-space: nowrap;
}

.btn-ask:hover {
  background-color: #287094;
  color: #fff;
}

/* ========== FOOTER ========== */
.site-footer {
  background-color: #F6F6F6;
  padding: 40px 0 20px;
  font-size: 0.95rem;
  color: #444;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: #287094;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #023246;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  gap: 16px;
  font-size: 1.25rem;
}

.social-links a {
  text-decoration: none;
  color: #023246;
}

.social-links a:hover {
  color: #287094;
}
.hero-inner h1 {
  font-size: 3rem;
  color: #023246;
  font-weight: 800;
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  background-color: #287094;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #023246;
  transform: translateY(-2px);
}
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: top 0.3s ease, transform 0.3s ease;
  background-color: #023246; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.hide-header {
  transform: translateY(-100%);
}
