/* Base Resets and Variables */
:root {
  --primary-blue: #0056b3;
  --secondary-blue: #003d82;
  --accent-cta: #e63946;
  --accent-hover: #d62828;
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dddddd;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-blue);
  text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4 {
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 2rem; }
li { margin-bottom: 0.5rem; }

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 4rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background-color: var(--accent-cta);
  color: var(--white) !important;
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: var(--white) !important;
}

.btn-secondary:hover {
  background-color: var(--secondary-blue);
}

/* Header & Navigation */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 280px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 0;
  z-index: 1001;
  list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary-blue);
}

.header-cta { margin-left: 20px; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  position: relative;
  transition: background-color 0.3s;
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  left: 0;
  transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hero Section */
.hero-section {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 { color: var(--white); }
.hero-content p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem; }

/* Cards Grid */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h3 { margin-top: 0; }

/* Call Box */
.call-box {
  background-color: var(--white);
  border: 2px solid var(--primary-blue);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.call-box p { font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background-color: #222222;
  color: #eeeeee;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.site-footer a { color: #cccccc; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer p, .site-footer address { margin-bottom: 10px; font-style: normal; }

.copyright {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

/* Mobile Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent-cta);
  text-align: center;
  z-index: 1000;
}

.mobile-call-bar a {
  display: block;
  color: var(--white);
  padding: 15px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  background: var(--bg-light);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}
.breadcrumbs a { color: var(--primary-blue); }
.breadcrumbs span { color: var(--text-light); }

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
  }
  
  .nav-links.active { display: flex; }
  .nav-links li { margin: 10px 20px; width: 100%; }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
  }
  
  .dropdown.active .dropdown-menu { display: block; }
  
  .mobile-menu-toggle { display: block; }
  .header-cta { display: none; }
  
  .mobile-call-bar { display: block; }
  body { padding-bottom: 60px; } /* Space for sticky bar */
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  section { padding: 3rem 0; }
}
