/* SEO Header and Footer Styles */
:root {
  --p:      #0b66c3;
  --p-dark: #007bbf;
  --dark:   #0d2a4e;
  --bg:     #eaf3fb;
  --white:  #ffffff;
  --text:   #1c2b3a;
  --muted:  #5e7185;
  --rule:   #dce8f5;
  --card-shadow: 0 2px 16px rgba(13,42,78,0.08);
  --fn-body: 'DM Sans', sans-serif;
  --fn-head: 'Sora', sans-serif;
  --footer-bg: #07192e;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* NAV */
.seo-nav {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 40px;
  margin-top: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.seo-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.seo-nav-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.seo-nav-logo {
  height: 50px;
  display: block;
}

.seo-nav-logo-text {
  display: block;
  font-family: var(--fn-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.seo-nav-logo-text.hidden {
  display: none;
}

.seo-nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.seo-nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.seo-nav-links a:hover {
  background: var(--bg);
  color: var(--p);
}

.seo-nav-links a img {
  width: 22px;
  height: 22px;
}

.seo-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.seo-btn-register {
  font-family: var(--fn-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  border: 1.5px solid #c8daea;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s, color .18s;
}

.seo-btn-register:hover {
  border-color: var(--p);
  color: var(--p);
  text-decoration: none;
}

.seo-btn-login {
  font-family: var(--fn-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  background: var(--p);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s;
}

.seo-btn-login:hover {
  background: var(--p-dark);
  color: var(--white);
  text-decoration: none;
}

/* FOOTER */
.seo-footer {
  background: var(--footer-bg);
  padding: 56px 40px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.seo-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.seo-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.seo-footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 220px;
}

.seo-f-logo {
  height: 60px;
  opacity: 1;
}

.seo-footer-col h4 {
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.seo-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.seo-footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color .18s;
}

.seo-footer-col ul li a:hover {
  color: var(--white);
}

.seo-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .seo-nav-links {
    display: none;
  }
  
  .seo-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .seo-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .seo-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .seo-footer-grid {
    grid-template-columns: 1fr;
  }
}
