/* styles.css */
:root {
  --primary: #005f9e;
  --primary-dark: #004270;
  --accent: #ff6b00; /* Bright accent for calls */
  --accent-hover: #e05e00;
  --bg-color: #f8fafc;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4 {
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding: 4rem 0; }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--bg-color); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-primary h2, .bg-primary p { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  font-size: 1.125rem;
  box-shadow: 0 4px 6px -1px rgba(255, 107, 0, 0.2);
}

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

/* Header & Nav */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

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

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-main);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 66, 112, 0.8), rgba(0, 66, 112, 0.9)), url('/images/hero-bg.jpg') center/cover;
  color: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* Call Box */
.call-box {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 0.5rem;
  margin: 4rem 0;
}

.call-box h2 {
  color: var(--white);
  margin-top: 0;
}

/* Checklists */
.checklist {
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  font-size: 0.875rem;
}

/* Mobile Sticky Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--accent);
  padding: 1rem;
  text-align: center;
  z-index: 99;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.mobile-call-bar a {
  color: var(--white);
  font-weight: bold;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 2rem;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .mobile-call-bar {
    display: block;
  }
  
  body {
    padding-bottom: 70px; /* Space for sticky call bar */
  }
}
