/* =========================
   ROOT
========================= */
:root {
  --primary: #111827;
  --accent: #2563eb;
  --light: #f9fafb;
  --white: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--primary);
  background: var(--white);
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: 0.3s ease;
  z-index: 1000;
}

.header.scrolled {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 60px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.navbar a:hover {
  opacity: 0.7;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  padding-top: 160px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
    url("img/hero1.png") center/cover no-repeat;
  color: white;
}

.hero-inner {
  padding: 0 60px;
  max-width: 900px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  color: #d1d5db;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: #e5e7eb;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* =========================
   SERVICES
========================= */
.services {
  padding: 100px 60px;
  background: var(--light);
}

.services h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-card img {
  height: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.service-card li {
  margin-bottom: 8px;
}

/* =========================
   CONTACT FULL WIDTH
========================= */
.contact {
  width: 100%;
  padding: 100px 0;
  background: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2rem;
}

/* TABLE 100% WIDTH */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* EXACT 33% PER COLUMN */
.contact-table th,
.contact-table td {
  width: 33.333%;
  padding: 60px;
  vertical-align: top;
  border-right: 1px solid var(--border);
}

/* remove right border on last column */
.contact-table th:last-child,
.contact-table td:last-child {
  border-right: none;
}

/* Header row */
.contact-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  text-align: left;
}

/* Links */
.contact-table a {
  color: var(--accent);
  text-decoration: none;
}

.contact-table a:hover {
  text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px;
  text-align: center;
  background: var(--primary);
  color: #cbd5e1;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .navbar {
    display: none;
  }

  .hero-inner {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Stack table */
  .contact-table,
  .contact-table thead,
  .contact-table tbody,
  .contact-table th,
  .contact-table td,
  .contact-table tr {
    display: block;
    width: 100%;
  }

  .contact-table th {
    display: none;
  }

  .contact-table td {
    padding: 30px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}