/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1a6fa8;
  --blue-dark: #145a8a;
  --blue-light: #e8f4fc;
  --teal: #1a9a8a;
  --gray: #555;
  --gray-light: #f5f5f5;
  --border: #e0e0e0;
  --text: #333;
  --white: #fff;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; color: var(--text); }

/* ===== TOP BAR ===== */
.topbar {
  background: #f0f8ff;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gray); }
.topbar a:hover { color: var(--blue); text-decoration: none; }
.topbar-item { display: flex; align-items: center; gap: 5px; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--blue); }

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img { height: 48px; width: auto; }
.logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.5px;
}

/* ===== NAVIGATION ===== */
nav ul { list-style: none; display: flex; gap: 0; }
nav ul li { position: relative; }
nav ul li a {
  display: block;
  padding: 0 16px;
  line-height: 70px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active { color: var(--blue); background: var(--blue-light); text-decoration: none; }

/* Dropdown */
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  z-index: 200;
}
nav ul li:hover > ul { display: block; }
nav ul li ul li a { line-height: 1; padding: 12px 16px; font-weight: 400; font-size: 13px; }

/* ===== HAMBURGER ===== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a6fa8 0%, #1a9a8a 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.hero h1 { font-size: 32px; margin-bottom: 12px; color: var(--white); }
.hero p { font-size: 16px; opacity: .9; max-width: 600px; margin: 0 auto 30px; }
.hero .services-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.hero .service-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 14px;
}
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 15px;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn:hover { background: transparent; color: var(--white); border-color: var(--white); text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.hero-schedule { margin-top: 20px; font-size: 14px; opacity: .85; }

/* ===== SECTION ===== */
section { padding: 70px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 28px; margin-bottom: 10px; }
.section-title p { color: var(--gray); max-width: 550px; margin: 0 auto; }
.section-title .line {
  width: 50px; height: 3px;
  background: var(--blue);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.service-card .icon {
  width: 64px; height: 64px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.service-card .icon svg { width: 28px; height: 28px; fill: var(--blue); }
.service-card h3 { font-size: 17px; margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray); }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-meta { font-size: 12px; color: #999; margin-bottom: 10px; display: flex; gap: 12px; }
.blog-card h3 { font-size: 16px; margin-bottom: 10px; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--blue); text-decoration: none; }
.blog-card p { font-size: 14px; color: var(--gray); margin-bottom: 15px; }
.read-more { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .5px; }
.read-more:hover { text-decoration: none; color: var(--blue-dark); }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #1a6fa8 0%, #1a9a8a 100%);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}
.page-header h1 { font-size: 30px; color: var(--white); margin-bottom: 8px; }
.breadcrumb { font-size: 13px; opacity: .8; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }

/* ===== PAGE CONTENT ===== */
.page-content { max-width: 850px; margin: 60px auto; padding: 0 20px; }
.page-content h2 { font-size: 24px; margin: 30px 0 14px; }
.page-content p { margin-bottom: 18px; }
.page-content img { border-radius: 8px; margin: 25px 0; width: 100%; }

/* ===== SINGLE POST ===== */
.post-header { max-width: 850px; margin: 0 auto; padding: 50px 20px 30px; }
.post-header h1 { font-size: 28px; margin-bottom: 12px; }
.post-meta { font-size: 13px; color: #999; display: flex; gap: 15px; flex-wrap: wrap; }
.post-featured-img { max-width: 850px; margin: 0 auto 40px; padding: 0 20px; }
.post-featured-img img { width: 100%; border-radius: 8px; }
.post-body { max-width: 850px; margin: 0 auto; padding: 0 20px 60px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 25px; }
.post-body li { margin-bottom: 6px; }
.post-body h2 { font-size: 22px; margin: 30px 0 12px; }
.post-body h3 { font-size: 18px; margin: 24px 0 10px; color: var(--blue); }
.post-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--blue); }
.post-back:hover { text-decoration: none; color: var(--blue-dark); }

/* ===== CONTACT SECTION ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-block h3 { font-size: 20px; margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-item .ci-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 18px; height: 18px; fill: var(--blue); }
.contact-item p { margin: 0; font-size: 14px; }
.contact-item strong { display: block; margin-bottom: 2px; }

/* Contact Form */
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,168,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
footer {
  background: #1c2b3a;
  color: rgba(255,255,255,.75);
  padding: 55px 20px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: .5px; }
footer p { font-size: 14px; line-height: 1.7; }
.footer-links li { list-style: none; margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; }
.footer-contact-item svg { width: 15px; height: 15px; fill: rgba(255,255,255,.5); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 4px 10px rgba(0,0,0,.1); }
  nav ul.open { display: flex; }
  nav ul li a { line-height: 1; padding: 14px 20px; border-bottom: 1px solid var(--border); }
  nav ul li ul { position: static; border: none; box-shadow: none; display: none; }
  nav ul li:hover > ul { display: none; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .hero h1 { font-size: 24px; }
  .section-title h2 { font-size: 22px; }
  .page-header h1 { font-size: 24px; }
  .post-header h1 { font-size: 22px; }
}
