/* Modern Design System - HelloLeads */
:root {
  --primary-blue: #2091f9;
  --secondary-blue: #006ec1;
  --accent-purple: #9b51e0;
  --accent-green: #22a846;
  --text-dark: #0f172a;
  --text-grey: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
}

/* Global Reset & Typography */
body {
  font-family: "Inter", sans-serif !important;
  color: var(--text-dark);
  line-height: 1.8;
  background-color: white;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

p {
  font-size: 1.125rem;
  color: var(--text-grey);
  margin-bottom: 1.5em;
}

strong {
  color: var(--text-dark);
  font-weight: 600;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: 0.2s;
}

a:hover {
  color: var(--secondary-blue);
  text-decoration: underline;
}

/* Header Styles */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: block;
  width: 280px;
  height: 85px;
  overflow: hidden;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}

.header-logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #2091f9;
}

.header-cta {
  background-color: #2091f9;
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s;
}

.header-cta:hover {
  background-color: #006ec1;
}

/* Enhanced Dropdown Styles (Desktop) */
.nav-item {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: absolute;
  background-color: #ffffff;
  min-width: 480px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 12px;
  top: 100%;
  left: -50px;
  border: 1px solid #e2e8f0;
  padding: 20px;
  margin-top: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  color: #0f172a;
  padding: 15px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  transition: background 0.2s;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f8fafc;
}

.dropdown-item .title {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item .desc {
  font-size: 12px;
  color: var(--text-grey);
  font-weight: 400;
  line-height: 1.4;
}

.nav-link.has-dropdown:after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 5px;
  font-size: 11px;
}

/* Footer Styles */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
  font-size: 14px;
  margin-top: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #334155;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  padding-right: 20px;
}

.footer-col h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-logo {
  height: 35px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: white;
}

/* Article Specific (Reused for News) */
.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-header {
  text-align: center;
  padding: 60px 0 40px;
}

.article-meta {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.article-title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 50px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

blockquote {
  border-left: 4px solid var(--primary-blue);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.25rem;
  background: #f1f5f9;
  padding: 30px;
  border-radius: 0 12px 12px 0;
}

/* Cleanup */
#header-outer,
#footer-outer,
#slide-out-widget-area {
  display: none !important;
}

/* Mobile Menu & Responsive */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-item,
  .nav-menu .nav-link,
  .nav-menu .header-cta {
    width: 100%;
    margin-bottom: 15px;
  }

  /* Mobile Dropdown Behavior */
  .nav-menu .dropdown-content {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 10px 0 10px 15px;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 5px;
    grid-template-columns: 1fr;
  }

  .nav-menu .nav-item.active .dropdown-content {
    display: grid;
  }

  .nav-menu .dropdown-content::before {
    display: none;
  }

  .header-logo {
    width: 200px !important;
    height: 60px !important;
  }
}

/* Author Section */
.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.article-author img {
    border-radius: 50%;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.article-author .author-info {
    text-align: left;
}

.article-author .author-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.article-author .author-role {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

/* Article CTA Section */
.article-cta-box {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.article-cta-box p {
    margin-bottom: 20px;
}

.article-cta-btn {
    background: var(--primary-blue);
    color: white !important;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.article-cta-btn:hover {
    background: var(--secondary-blue);
    color: white !important;
    text-decoration: none;
}

/* Footer Extras */
.footer-col.branding {
    flex: 1.5;
}

.footer-branding-text {
    max-width: 320px; 
    margin-bottom: 20px; 
    line-height: 1.7;
}

.footer-contact-item {
    margin-bottom: 12px; 
    font-size: 14px;
}
