/* ============================================================
   THEME: PROFESSIONAL
   Inspired by disctraining.asia - dark blue header/footer,
   orange CTAs, clean white content, pill buttons
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #1e73be;
  --primary-dark: #022a42;
  --accent: #ff6900;
  --accent-hover: #e05e00;
  --secondary: #022a42;
  --text: #222;
  --text-light: #575760;
  --bg: #fff;
  --bg-light: #f7f8f9;
  --bg-alt: #f0f0f0;
  --bg-dark: #022a42;
  --bg-footer: #124f75;
  --border: #e2e8f0;
  --radius: 9999px;
  --max-width: 1360px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  font-size: 16px;
  letter-spacing: 0.2px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ---- Header ---- */
header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img { height: 40px; width: auto; }
.logo span { }
.logo:hover { text-decoration: none; color: var(--bg-light); }

nav { display: flex; gap: 22px; }
nav a { color: var(--bg-alt); font-weight: 500; font-size: 0.9rem; }
nav a:hover { color: #fff; text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary:hover { background: #fff; color: var(--secondary); }

.btn-phone {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: var(--radius);
}
.btn-phone:hover { background: var(--accent-hover); color: #fff; }

/* ---- Hero ---- */
.hero {
  background: var(--bg-dark);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
}

.hero > *:not(.hero-img) { position: relative; z-index: 1; }

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: #b0c4d8;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.hero .btn { margin: 0 8px 10px; }

/* ---- Main ---- */
main { max-width: var(--max-width); margin: 0 auto; }

.intro-section {
  padding: 45px 20px;
  font-size: 1.05rem;
  color: var(--text-light);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  line-height: 1.85;
}
.intro-section p { margin-bottom: 16px; }
.intro-section p:last-child { margin-bottom: 0; }

/* ---- Content Sections - alternating backgrounds ---- */
.content-section {
  padding: 45px 20px;
  border-bottom: 1px solid var(--border);
}

.content-section:nth-of-type(even) {
  background: var(--bg-light);
}

.content-section h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 28px;
  font-weight: 600;
}

.subsection { margin-bottom: 25px; }
.subsection h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}
.subsection p { color: var(--text-light); line-height: 1.85; }

/* ---- FAQ ---- */
.faq-section {
  padding: 45px 20px;
  background: var(--bg-light);
}

.faq-section h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 25px;
  font-weight: 600;
}

.faq-item {
  margin-bottom: 15px;
  padding: 22px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.faq-item h3 { font-size: 1rem; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.faq-item p { color: var(--text-light); line-height: 1.75; }

/* ---- Testimonials ---- */
.testimonials-section {
  padding: 45px 20px;
  border-bottom: 1px solid var(--border);
}

.testimonials-section h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 28px;
  background: var(--bg-light);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.testimonial-card .stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card p { font-style: italic; color: var(--text-light); margin-bottom: 15px; line-height: 1.8; }
.testimonial-card strong { color: var(--text); font-size: 0.85rem; }

/* ---- Nearby / Cities ---- */
.nearby-section, .cities-section {
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
}
.nearby-section h2, .cities-section h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-weight: 600;
}
.nearby-section a, .cities-section a { font-weight: 500; }

/* ---- Form ---- */
.form-section {
  padding: 50px 20px;
  text-align: center;
  background: var(--bg-light);
}
.form-section h2 { font-size: 1.6rem; color: var(--secondary); margin-bottom: 8px; font-weight: 600; }
.form-section p { color: var(--text-light); margin-bottom: 20px; }

/* ---- Contact ---- */
.contact-section {
  padding: 45px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info h2, .contact-form h2 { font-size: 1.3rem; color: var(--secondary); margin-bottom: 15px; }
.contact-info p { margin-bottom: 10px; }

/* ---- Footer (two-tone like disctraining) ---- */
footer {
  background: var(--bg-footer);
  color: #f7f8f9;
  padding: 0;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-cta {
  padding: 50px 20px 40px;
}
.footer-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; font-weight: 600; }
.footer-cta p { margin-bottom: 20px; color: #a8c4d8; }
.footer-cta .btn { margin: 0 6px 10px; }

.copyright {
  background: var(--bg-dark);
  font-size: 0.8rem;
  color: #8899aa;
  padding: 18px 20px;
}

/* ---- Page Layout (content + sticky sidebar) ---- */
.page-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 30px;
  padding: 0 20px;
  align-items: flex-start;
}

.page-layout main {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 380px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  align-self: flex-start;
}

.sidebar-form {
  background: var(--bg-light, #f7f8f9);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 25px;
}

.sidebar-form h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--secondary, #1a1a2e);
}

.sidebar-form p {
  font-size: 0.9rem;
  color: var(--text-light, #666);
  margin-bottom: 15px;
  line-height: 1.6;
}

.sidebar-form iframe {
  width: 100%;
  border: none;
}

/* ---- Google Reviews Widget ---- */
.g-reviews-widget {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px;
}

.g-reviews-summary {
  min-width: 180px;
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid #e8eaed;
  flex-shrink: 0;
}

.g-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5f6368;
}

.g-rating-big {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: #202124;
  margin-bottom: 8px;
}

.g-summary-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.g-star {
  width: 20px;
  height: 20px;
}

.g-star-full { fill: #f4b400; }
.g-star-empty { fill: #dadce0; }

.g-review-count {
  font-size: 0.85rem;
  color: #70757a;
}

.g-reviews-list {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.g-reviews-list::-webkit-scrollbar {
  height: 6px;
}

.g-reviews-list::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 3px;
}

.g-reviews-list::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 3px;
}

.g-review-card {
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 16px;
  scroll-snap-align: start;
}

.g-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.g-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.g-reviewer {
  display: flex;
  flex-direction: column;
}

.g-reviewer-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #202124;
}

.g-review-time {
  font-size: 0.78rem;
  color: #70757a;
}

.g-review-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 8px;
}

.g-review-stars .g-star {
  width: 14px;
  height: 14px;
}

.g-review-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3c4043;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 10px; }
  nav { width: 100%; justify-content: center; }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 50px 20px; }
  .contact-section { grid-template-columns: 1fr; }
  .page-layout { flex-direction: column; padding: 0 10px; }
  .sidebar { width: 100%; position: static; }
  .g-reviews-widget { flex-direction: column; }
  .g-reviews-summary { border-right: none; border-bottom: 1px solid #e8eaed; padding-bottom: 16px; }
  .g-review-card { min-width: 240px; }
}
