
:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --light: #f8fafc;
  --text: #334155;
  --gray: #64748b;
  --border: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: #ffffff;
}

/* Top Bar */
.top-bar {
  background-color: var(--secondary);
  color: #fff;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.top-bar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

/* Header & Nav */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

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

.logo span {
  color: var(--primary);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s;
}

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

.cta-btn {
  background-color: var(--accent);
  color: var(--secondary) !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
  transition: all 0.3s;
}

.cta-btn:hover {
  background-color: #d97706;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1542013936693-89423b552342?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: #fff;
  padding: 100px 5%;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #e2e8f0;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s;
}

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

/* Sections */
section {
  padding: 80px 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.35rem;
}

.card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

/* Emergency Banner */
.emergency-banner {
  background: var(--primary);
  color: #fff;
  padding: 50px 5%;
  text-align: center;
  border-radius: 8px;
  margin: 50px 0;
}

.emergency-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.emergency-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: #fff;
  padding: 60px 5% 20px;
}

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

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-col p {
  color: #cbd5e1;
  margin-bottom: 10px;
}

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

/* Responsive */
@media(max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
