/* GENERAL */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f3f7fb;
  color: #1f2d3d;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #0a6ebd, #084c8a);
  color: white;
  text-align: center;
  padding: 25px 15px;
}

header h1 {
  margin: 0;
  font-size: 26px;
}

/* NAV */
nav {
  background: #083a6b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  text-align: center;
  padding: 12px;
}

nav a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: 0.3s;
}

nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(10,110,189,0.6), rgba(8,76,138,0.7)),
              url('images/lab.JPG') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: #ffffff;
  color: #0a6ebd;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #e6f0fa;
}

/* SECTION */
.section {
  padding: 60px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 15px;
  color: #0a6ebd;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto;
}

/* SERVICES */
.services {
  padding: 60px 20px;
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* CARD */
.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* CARD IMAGES */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(135deg, #0a6ebd, #084c8a);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 20px;
}

/* =========================
   EMERGENCY SECTION (NEW)
   ========================= */

.emergency-card {
  background: #fff1f1;
  border: 1px solid #ff4d4d;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

/* red top accent bar */
.emergency-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #ff1e1e, #e60000);
}

/* emergency icon */
.emergency-card .icon {
  background: #ffe5e5;
}

.emergency-card .material-icons {
  color: #e60000;
}

/* title */
.emergency-card h3 {
  color: #e60000;
}

/* emergency number highlight */
.emergency-number {
  font-size: 22px;
  font-weight: bold;
  color: #b30000;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #083a6b;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero {
    padding: 70px 20px;
  }
}