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

:root {
  --navy: #1a1a2e;
  --navy-light: #16213e;
  --teal: #08aa2b;
  --teal-dark: #078f24;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #ced4da;
  --gray-600: #868e96;
  --gray-800: #343a40;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.2s ease;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--gray-100);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-dark);
}

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 1.7rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; }

/* ===== Header & Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.1rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.35rem 0.75rem;
  color: var(--gray-800);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--teal);
  background: var(--gray-50);
}

/* Dropdown */
.has-dropdown .nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0.3rem 0;
  z-index: 50;
}

.has-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown .nav-link {
  padding: 0.35rem 1rem;
  border-radius: 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ===== Language Switcher ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--gray-200);
}

.lang-switch .nav-link {
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-switch .lang-active {
  color: var(--teal);
  cursor: default;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ===== Hero ===== */
.hero {
  padding: 2.5rem 0 0;
  background: url('/images/hero-bg.jpg') center 20% / cover no-repeat;
  margin-bottom: 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}

.hero-content {
  background: rgba(255,255,255,0.95);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
}

.hero-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #1a56a8;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-text {
  font-size: 0.95rem;
  color: #4a5568;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}


/* ===== Intro Section (Home) ===== */
.intro-section {
  padding: 2rem 0 1.5rem;
}

.intro-content {
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.intro-highlight {
  font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a56a8;
  margin-bottom: 0.4rem;
}

.intro-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
}

/* ===== Services Detail (Home) ===== */
.services-detail {
  padding: 1.5rem 0 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.service-icon {
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.service-card h4 {
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 1rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.service-card li {
  padding: 0.15rem 0 0.15rem 1.25rem;
  position: relative;
  color: var(--navy);
  font-size: 0.93rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
}


.service-link {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--teal);
  margin-top: auto;
  padding-top: 0.5rem;
}

.service-link:hover {
  color: var(--teal-dark);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 2.5rem 0;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-section p {
  color: var(--gray-400);
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

/* ===== Page ===== */
.page {
  padding: 2.5rem 0;
}

.page > .container {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: #1a56a8;
  font-weight: 600;
}

.page-content {
  max-width: 700px;
}

.page-content h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.page-content h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.page-content p {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 0.65rem;
  padding-left: 1.25rem;
  font-size: 0.88rem;
}

.page-content li {
  margin-bottom: 0.2rem;
}

.page-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.75rem 1.1rem;
  margin: 1rem 0;
  background: var(--gray-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-600);
  font-style: italic;
  font-size: 0.88rem;
}

/* ===== About Page specifics ===== */
.about-intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2rem;
}

.about-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--teal);
}

.about-intro h2 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.about-intro ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.6rem;
}

.about-intro li {
  padding: 0.15rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.88rem;
}

.about-intro li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.about-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.value-card {
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}

.value-card h4 {
  margin-bottom: 0.25rem;
  color: var(--teal);
  font-size: 0.88rem;
}

.value-card p {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.contact-item svg {
  color: var(--teal);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.contact-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===== Blog ===== */
.post-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.post-card h2 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.post-card time {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 2.5rem 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.3rem;
}

.site-footer a {
  color: var(--gray-400);
  font-size: 0.8rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }

  .hero h1 { font-size: 1.5rem; }

  .hero { padding: 1.75rem 0 0; }
  .hero-grid { padding-bottom: 1.5rem; }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    width: 120px;
    height: 120px;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .intro-grid {
    padding: 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .has-dropdown .nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
    display: block;
  }

  .lang-switch {
    border-left: none;
    border-top: 1px solid var(--gray-200);
    margin-left: 0;
    padding-left: 0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }

  .intro-content {
    padding: 1.25rem;
  }

  .hero { padding: 1.75rem 0 0; }
  .hero-grid { padding-bottom: 1.5rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .about-intro ul {
    text-align: left;
  }

  .about-links {
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
