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

/* Custom Properties */
:root {
  --color-primary: #1a2b4a;
  --color-accent: #2d7ff9;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1a1a2e;
  --color-text-light: #ffffff;
  --font-family: 'Inter', sans-serif;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --line-height: 1.6;
  --max-width: 1100px;
  --header-height: 70px;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Utility */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-light);
}

.btn-primary:hover {
  background: #1a6ce0;
  transform: translateY(-2px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--color-bg);
  border-bottom: 1px solid #e8e8e8;
  z-index: 100;
  height: var(--header-height);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  background: var(--color-primary);
  color: var(--color-text-light);
  text-align: center;
  padding: 6rem 0;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Services */
.services {
  background: var(--color-bg-alt);
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background: var(--color-bg);
  padding: 2.5rem 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}

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

.service-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* About */
.about h2 {
  margin-bottom: 1.5rem;
}

.about-content {
  max-width: 720px;
}

.about-content p {
  color: #444;
}

/* Contact */
.contact {
  background: var(--color-bg-alt);
}

.contact h2 {
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.contact-info p {
  color: #555;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--color-accent);
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: border-color 0.2s;
}

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

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-text-light);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: var(--color-text-light);
  opacity: 0.8;
  transition: opacity 0.2s;
}

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

.footer-links {
  margin-top: 0.75rem;
}

/* Privacy Policy */
.privacy-content h1 {
  margin-bottom: 0.5rem;
}

.privacy-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.35rem;
}

.privacy-content a {
  color: var(--color-accent);
}

.privacy-content a:hover {
  text-decoration: underline;
}

/* Responsive — 768px+ */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* Mobile nav */
@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
