:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #1e293b;
  --accent: #f43f5e;
  --bg: #f8fafc;
  --white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --container-max: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--border);
}

.btn-outline.emergency {
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline.emergency:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn.lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-text .accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.badge {
  display: inline-block;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.3);
}

.floating-card i {
  color: var(--primary);
  width: 2.5rem;
  height: 2.5rem;
}

.floating-card h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.floating-card p {
  font-size: 0.75rem;
  margin: 0;
}

/* Services Section */
.services {
  padding: 8rem 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-10px);
  background-color: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-card .link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

/* About Section */
.about {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.about-image img {
  border-radius: 2rem;
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.subtitle {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.check-list {
  margin-bottom: 2.5rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.check-list i {
  color: var(--primary);
}

/* Contact Section */
.contact {
  padding: 8rem 0;
}

.contact-card {
  background-color: var(--secondary);
  color: var(--white);
  padding: 4rem;
  border-radius: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 3rem;
}

.info-list .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item i {
  color: var(--primary);
}

.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 1.5rem;
  color: var(--text-main);
}

.contact-form h3 {
  margin-bottom: 2rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

/* Footer */
.footer {
  background-color: var(--white);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
}

.footer h4 {
  margin-bottom: 1.5rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
  color: var(--text-muted);
}

.social-icons i {
  cursor: pointer;
  transition: var(--transition);
}

.social-icons i:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  .hero-grid, .about-grid, .contact-card {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-image { order: -1; }
  .about-image img { height: 400px; }
  .floating-card { left: 0; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-stats { justify-content: space-between; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 2rem; }
  .contact-form { padding: 2rem; }
}
