:root {
  --blue: #5893b5;
  --white: #ffffff;
  --text: #122028;
  --muted: #565e63;
  --bg: #f9fbfc;
  --radius: 12px;
  --container: 1200px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset & Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  margin: 0;
  background-color: white;
  color: var(--text);
  font-family: var(--font-family);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.logo-image {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  padding: 8px;
  border-radius: 8px;
}
.main-nav a:hover {
  color: var(--blue);
  background: rgba(88, 147, 181, 0.03);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger {
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: inline-block;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

/* Mobile menu (hidden by default, shown by JS class "open") */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 12px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 10px 0;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

/* Section Base */
.section {
  padding: 60px 0;
}
.section-white {
  background: var(--bg);
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  text-align: center;
  color: var(--blue);
  margin-bottom: 48px;
}

/* Hero Section */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-left {
  flex: 1 1 500px;
  min-width: 260px;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--blue);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.02;
}
.hero-text {
  font-size: 1.06rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 640px;
}
.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.18s ease;
  text-align: center;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(88, 147, 181, 0.18);
  border: 0;
}
.btn-primary:hover {
  background: #407ca0;
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(88, 147, 181, 0.04);
}

.hero-right {
  flex: 1 1 400px;
  text-align: center;
  min-width: 220px;
}
.hero-image {
  border-radius: var(--radius);
}

/* About Section */
.about-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.person-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 24px;
  flex: 1 1 460px;
  max-width: 520px;
}
.person-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.person-meta {
  flex: 1;
}
.person-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.person-role {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 4px;
}
.person-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

.vision-box {
  background: #eef6fa;
  border-left: 6px solid var(--blue);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 1100px;
  margin: 32px auto 0;
}
.vision-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--blue);
}
.vision-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 24px;
  gap: 24px;
}
.service-content {
  flex: 1;
  min-width: 0;
}
.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}
.service-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}
.service-image {
  flex: 0 0 160px;
  text-align: center;
}
.service-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.pricing-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  padding: 24px;
  gap: 24px;
}
.pricing-content {
  flex: 1;
  min-width: 0;
}
.pricing-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}
.pricing-price {
  font-size: 16px;
  font-weight: 700;
}
.pricing-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}
.pricing-image {
  flex: 0 0 160px;
  text-align: center;
}
.pricing-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}
.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #dbe3e8;
  font-size: 1rem;
  background: #fff;
  transition: border 0.14s ease, box-shadow 0.14s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(88, 147, 181, 0.06);
  outline: none;
}
.form-row.two {
  display: flex;
  gap: 16px;
}
.form-row.two > div {
  flex: 1;
}
textarea#message {
  resize: vertical;
  min-height: 160px;
  line-height: 1.5;
}

.form-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
}
.btn.large {
  font-size: 1.05rem;
  padding: 16px 28px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(88, 147, 181, 0.18);
  cursor: pointer;
}
.btn.large:hover {
  background: #407ca0;
  transform: translateY(-2px);
}

/* Contact Info Box */
.contact-info-inner {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--blue);
}
.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-item .icon {
  font-size: 1.5rem;
  line-height: 1.2;
}
.info-item a {
  color: var(--blue);
  text-decoration: none;
}
.info-item a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 32px 0;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-links a {
  color: var(--muted);
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--blue);
}

/* Utility: max-width helper for larger content blocks */
.content-wide {
  max-width: 1100px;
  margin: 0 auto;
}

/* --------------------------
   Responsive: Smartphones
   -------------------------- */

/* Breakpoint targets:
   - 900px: tablet / small laptop
   - 700px: large phones / portrait tablets
   - 480px: small phones
*/

/* 1) Tablet / small screens */
@media (max-width: 900px) {
  .container {
    padding: 20px;
  }
  .hero-left,
  .hero-right {
    flex: 1 1 100%;
  }
  .hero-inner {
    gap: 20px;
  }

  /* additional top margin before hero title for better breathing room on small screens */
  .hero-left {
    margin-top: 18px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-align: center;
  }
  .hero-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .cta {
    justify-content: center;
  }

  /* Make nav toggle visible, hide desktop nav */
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }

  /* Services / Pricing: single column on narrower tablets */
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .service-box,
  .pricing-box {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
  .service-image,
  .pricing-image {
    flex: none;
    width: 100%;
    margin-top: 12px;
  }

  /* About: stack vertically */
  .about-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .person-card {
    max-width: 100%;
    flex: 1 1 auto;
  }

  /* Vision: full width but keep padding manageable */
  .vision-box {
    padding: 24px;
    margin-top: 24px;
  }

  /* Contact: stack form above info */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-info-inner {
    margin-top: 8px;
  }

  /* Contact: ensure email & phone stack on small tablets too */
  .form-row.two {
    flex-direction: column;
  }
  .form-row.two > div {
    width: 100%;
  }
}

/* 2) Large phones / smaller tablets */
@media (max-width: 700px) {
  .container {
    padding: 16px;
  }

  /* increase margin above the hero title specifically on phones for more breathing room */
  .hero-left {
    margin-top: 28px;
  }

  .hero-title {
    font-size: 2.1rem;
  }
  .hero-text {
    font-size: 1rem;
  }
  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .btn.large {
    width: 100%;
    padding: 14px 18px;
  }

  /* Person card: compact */
  .person-photo {
    width: 64px;
    height: 64px;
  }
  .person-card {
    padding: 20px;
  }

  /* Service / pricing images a bit smaller */
  .service-image,
  .pricing-image {
    flex: none;
    width: 120px;
    margin: 12px auto 0;
  }
  .service-box,
  .pricing-box {
    padding: 18px;
    gap: 16px;
  }

  /* Contact form: larger textarea and inputs scale down */
  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 12px;
    font-size: 0.98rem;
  }
  textarea#message {
    min-height: 140px;
  }

  /* Footer stacks */
  .footer-inner {
    gap: 12px;
  }
}

/* 3) Small phones */
@media (max-width: 480px) {
  .container {
    padding: 12px;
  }

  /* hero: more top margin before title and hide the right image to reduce vertical scrolling */
  .hero-left {
    margin-top: 36px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-text {
    font-size: 0.98rem;
  }

  /* hide hero right image entirely on small phones */
  .hero-right {
    display: none !important;
  }

  /* Header: reduce logo size */
  .logo-image {
    height: 44px;
  }

  /* Hero image smaller height to save space (if shown on slightly larger devices) */
  .hero-image {
    max-height: 220px;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Service / pricing: stack and center content */
  .service-title,
  .pricing-title {
    font-size: 1.15rem;
  }
  .service-text,
  .pricing-text {
    font-size: 0.95rem;
  }

  /* About: person meta tighter */
  .person-name {
    font-size: 1.05rem;
  }
  .person-role {
    font-size: 0.9rem;
  }

  /* Contact: make submit button full width and stack email/phone individually */
  .btn.large {
    width: 100%;
    display: block;
  }
  .form-row.two {
    flex-direction: column;
  }
  .form-row.two > div {
    width: 100%;
  }

  /* Footer: compact */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* Ensure mobile menu links are easily tappable */
.mobile-menu a {
  padding: 14px 0;
  font-size: 1rem;
}

/* Small accessibility/focus improvements */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(88, 147, 181, 0.12);
  outline-offset: 2px;
}
