/* ---------------------------
   Root / Design Tokens
----------------------------*/

:root {
  --bg-light: #f4f7f4;
  --bg-dark: #0c0f0d;

  --text-main: #101510;
  --text-subtle: #4d5a4f;
  --text-on-dark: #f3f7f4;

  --green-main: #2ea85e;
  --green-main-dark: #239154;
  --green-soft: #e3f7eb;
  --green-border: rgba(46, 168, 94, 0.35);

  --accent-chip-bg: rgba(58, 122, 73, 0.09);
  --accent-chip-border: rgba(58, 122, 73, 0.3);

  --brown-soil: #5a4330;
  --brown-soft: #a98566;

  --border-light: rgba(16, 21, 18, 0.16);
  --border-dark: rgba(255, 255, 255, 0.18);
}

/* ---------------------------
   Base / Reset
----------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Dark mode base */
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

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

/* Links */
a {
  color: inherit;
}

/* ---------------------------
   Typography System
----------------------------*/

/* Orbitron for titles and strong CTAs */
h1,
h2,
h3,
h4,
.section-title {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 700;
  margin: 0;
}

/* Hero / main page H1 */
h1 {
  letter-spacing: 0.055em;
}

/* Section titles scale */
.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0.2rem 0 0.75rem;
}

/* H2, H3 general (if you use them) */
h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.1rem;
}

/* Body text uses Inter */
body,
p,
li,
button,
input,
textarea,
select,
label,
.footer-bottom,
.footer-links a,
.nav-dropdown a {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Small kicker text */
.section-kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: #3a7a49;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

body.dark-mode .section-kicker {
  color: #6ff3a0;
}

/* Dark mode: subtle neon-like glow on key titles */
body.dark-mode h1,
body.dark-mode .section-title {
  text-shadow: 0 0 12px rgba(111, 243, 160, 0.35);
}

/* ---------------------------
   Layout
----------------------------*/

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}

/* ---------------------------
   Header
----------------------------*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 247, 244, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.dark-mode .site-header {
  background: rgba(8, 10, 9, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0.25rem;
}

/* Brand / Logo */

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.brand-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

/* Logo colors */

.guru-svg {
  width: 40px;
  height: auto;
}

/* light mode logo colors */
.guru-outline,
.guru-stem {
  fill: none;
  stroke: #2c8f4e;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guru-leaf {
  fill: #45c46f;
}

.guru-soil {
  fill: var(--brown-soil);
}

/* dark mode logo colors */
body.dark-mode .guru-outline,
body.dark-mode .guru-stem {
  stroke: #4be47c;
}

body.dark-mode .guru-leaf {
  fill: #7cffb1;
}

body.dark-mode .guru-soil {
  fill: var(--brown-soft);
}

/* Header controls */

.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Theme toggle */

.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(25, 60, 34, 0.18);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

body.dark-mode .theme-toggle {
  background: rgba(18, 23, 19, 0.95);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Hamburger */

.hamburger {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(25, 60, 34, 0.18);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  position: relative;
}

body.dark-mode .hamburger {
  background: rgba(18, 23, 19, 0.95);
  border-color: rgba(255, 255, 255, 0.14);
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger span::before {
  top: -5px;
}

.hamburger span::after {
  top: 5px;
}

.hamburger.active span {
  transform: rotate(45deg);
}

.hamburger.active span::before {
  top: 0;
  transform: rotate(90deg);
}

.hamburger.active span::after {
  top: 0;
  opacity: 0;
}

/* Nav dropdown */

.nav-dropdown {
  display: none;
  position: absolute;
  right: 1.25rem;
  top: 64px;
  background: #ffffff;
  border-radius: 0.9rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: 0.4rem 0;
  z-index: 20;
  min-width: 200px;
}

body.dark-mode .nav-dropdown {
  background: #171b18;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75);
}

.nav-dropdown.open {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.3rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

body.dark-mode .nav-dropdown a {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-dropdown a:hover {
  background: rgba(27, 111, 60, 0.06);
}

body.dark-mode .nav-dropdown a:hover {
  background: rgba(76, 201, 120, 0.12);
}

/* ---------------------------
   Hero (centered title)
----------------------------*/

/* If you still use .hero wrapper */
.hero {
  padding: 2.2rem 0 2.7rem;
}

/* Centered H1 */
main h1 {
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.22;
  margin: 2.2rem auto 1.4rem;
  max-width: 800px;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.055em;
}

/* Hero paragraph below H1 */
main > p,
.hero-lead {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  opacity: 0.95;
}

/* Call/Text CTA row */
.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.6rem 0 1.7rem;
  flex-wrap: wrap;
}

/* Badges row */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 auto 1.8rem;
  justify-content: center;
}

/* Badge pill */
.badge {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(46, 168, 94, 0.08);
  color: #245c37;
  border: 1px solid var(--green-border);
}

body.dark-mode .badge {
  background: rgba(76, 201, 120, 0.12);
  border-color: rgba(111, 243, 160, 0.4);
  color: #d6ffe8;
}

/* Side hero info block (Service Areas) */

.hero-visual {
  margin-top: 1.5rem;
}

.hero-visual-inner {
  background: radial-gradient(circle at top left, #e3f7eb 0, #d6edde 24%, #f6fbf7 65%);
  border-radius: 1.2rem;
  padding: 1.2rem 1.3rem;
  max-width: 630px;
  margin: 0 auto;
  box-shadow: 0 18px 40px rgba(14, 59, 30, 0.12);
}

body.dark-mode .hero-visual-inner {
  background: radial-gradient(circle at top left, #163424 0, #102116 38%, #0b120e 75%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
}

.hero-visual-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.04em;
}

.hero-visual-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.93rem;
}

.hero-visual-inner li {
  margin-bottom: 0.25rem;
}

/* ---------------------------
   Hero Image (under Hero Lead)
----------------------------*/

.hero-image-wrap {
  margin: 1.5rem auto 1.4rem;
  text-align: center;
}

.hero-image-wrap img {
  width: 100%;
  max-width: 720px;      /* scales to device, capped on desktop */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;   /* requested radius */
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* Fade + rise animation for hero image */

@keyframes heroFadeRise {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-in {
  opacity: 0;
  animation: heroFadeRise 0.9s ease-out forwards;
  animation-delay: 0.25s;
}

.blog-hero img {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto 1.4rem;
  border-radius: 8px;          /* <- the 8px corners */
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* ---------------------------
   Buttons
----------------------------*/

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease;
}

/* Primary */
.btn-primary {
  background: var(--green-main);
  color: #ffffff;
  border-color: var(--green-main);
}

.btn-primary:hover {
  background: var(--green-main-dark);
  border-color: var(--green-main-dark);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: #245339;
  border-color: rgba(36, 83, 57, 0.35);
}

.btn-outline:hover {
  background: rgba(46, 168, 94, 0.06);
  border-color: var(--green-main);
}

/* Call/Text specialized CTAs */

.btn-cta,
.btn-cta-outline {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.03em;
}

.btn-cta {
  background: var(--green-main);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
}

.btn-cta:hover {
  background: var(--green-main-dark);
}

.btn-cta-outline {
  border: 2px solid var(--green-main);
  color: var(--green-main);
  padding: 0.68rem 1.25rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
}

.btn-cta-outline:hover {
  background: var(--green-main);
  color: #fff;
}

/* Dark mode button tweaks */

body.dark-mode .btn-primary,
body.dark-mode .btn-cta {
  background: #46d47c;
  border-color: #46d47c;
  color: #071008;
}

body.dark-mode .btn-primary:hover,
body.dark-mode .btn-cta:hover {
  background: #3bc26e;
  border-color: #3bc26e;
}

body.dark-mode .btn-outline,
body.dark-mode .btn-cta-outline {
  border-color: #46d47c;
  color: #46d47c;
}

body.dark-mode .btn-outline:hover,
body.dark-mode .btn-cta-outline:hover {
  background: #46d47c;
  color: #071008;
}

/* Button row */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* ---------------------------
   Cards / Grids
----------------------------*/

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

body.dark-mode .card {
  background: #121613;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.9);
}

/* ---------------------------
   Chips (service areas)
----------------------------*/

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-chip-bg);
  border: 1px solid var(--accent-chip-border);
}

body.dark-mode .chip {
  background: rgba(76, 201, 120, 0.08);
  border-color: rgba(111, 243, 160, 0.35);
}

/* ---------------------------
   Forms
----------------------------*/

.form-card {
  max-width: 540px;
  margin: 0 auto;
}

form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.95);
  color: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #0f1511;
  border-color: var(--border-dark);
  color: #f4faf5;
}

/* ---------------------------
   Footer
----------------------------*/

footer {
  padding: 2rem 0 1.6rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.dark-mode footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1.5rem 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
}

/* Footer bottom with logo + copy */

.footer-bottom {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  opacity: 0.85;
  padding: 0.75rem 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* Copyright text: full-width, left-aligned */
.footer-copy {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.9;
  text-align: center;
}

/* Centered logo at bottom */
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.footer-brand .guru-svg {
  width: 32px;
  height: auto;
}

.footer-brand-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Links in footer bottom */

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ---------------------------
   Responsive tweaks
----------------------------*/

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0.5rem;
  }

  main h1 {
    font-size: 1.9rem;
    margin: 1.7rem auto 1.2rem;
  }

  main > p,
  .hero-lead {
    font-size: 1rem;
    padding: 0 1.25rem;
  }

  .hero-visual-inner {
    margin-top: 0.75rem;
  }

  .hero-image-wrap img {
    max-width: 320px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  /* Footer bottom layout already works well on mobile
     (column, left copy, centered logo), so no override needed */
}
