/* =====================
   CSS Variables
   ===================== */
:root {
  --bg: #f7f7f7;
  --text: #222;
  --dark: #111;
  --dark-soft: #1f1f1f;
  --border: #e5e5e5;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --card-bg: #ffffff;
}

/* =====================
   Base Styles
   ===================== */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =====================
   Typography
   ===================== */
h2 {
  margin-top: 0;
  font-size: 1.4rem;
  letter-spacing: 0.2px;
}

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

a:hover {
  text-decoration: underline;
}

.quote {
  font-weight: 500;
  font-style: italic;
}

/* =====================
   Header
   ===================== */
header {
  position: relative;
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

header h1 {
  font-size: 3rem;
  margin: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

header .subheading {
  font-size: 1.5rem;
  margin: 1rem;
  opacity: 0.85;
  font-style: italic;
}

.header-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

/* =====================
   Language Toggle
   ===================== */
.lang-toggle {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.25rem;
  backdrop-filter: blur(4px);
}

.lang-toggle button {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  width: auto;
}

.lang-toggle button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lang-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.lang-toggle button.active:hover {
  background: var(--accent-hover);
}

/* =====================
   Sections
   ===================== */
section {
  padding: 2.5rem 1.5rem;
  max-width: 900px;
  margin: auto;
  border-top: 1px solid var(--border);
}

/* =====================
   Cards
   ===================== */
.highlight {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--accent);
}

/* =====================
   Lists
   ===================== */
ul {
  padding-left: 1.2rem;
}

.services li {
  margin-bottom: 0.75rem;
  position: relative;
}

.services li::before {
  position: absolute;
  left: -0.8rem;
  color: var(--accent);
}

/* =====================
   Forms
   ===================== */
form {
  display: grid;
  gap: 1rem;
}

input,
textarea {
  font-family: inherit;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* =====================
   Tech Tags
   ===================== */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tags span {
  background: var(--accent);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* =====================
   Buttons
   ===================== */
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.3s;
}

button:hover {
  background: var(--accent-hover);
}

/* =====================
   Footer
   ===================== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* =====================
   Responsive / Mobile
   ===================== */
@media (max-width: 600px) {
  header {
    padding: 2rem 1rem;
  }

  header h1 {
    font-size: 3rem;
  }

  header .subheading {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .cta-button {
    padding: 0.75rem;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  .highlight {
    padding: 1.5rem 1rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  form {
    gap: 0.75rem;
  }

  input,
  textarea {
    font-size: 1rem;
    padding: 0.65rem;
  }

  button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

