/* assets/css/style.css */
:root {
  --bg: #0f172a;          /* Slate-900 */
  --bg-soft: #0b1226;     /* Deep navy tint */
  --surface: #111827;     /* Gray-900 */
  --card: #1f2937;        /* Gray-800 */
  --primary: #22d3ee;     /* Cyan-400 */
  --primary-2: #06b6d4;   /* Cyan-500 */
  --accent: #a7f3d0;      /* Green-200 */
  --text: #e5e7eb;        /* Gray-200 */
  --muted: #9ca3af;       /* Gray-400 */
  --danger: #ef4444;      /* Red-500 */
  --ok: #10b981;          /* Emerald-500 */
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */

/* Header container */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Navigation bar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px; /* reduced padding */
  min-height: 64px;   /* max height for header */
}

/* Logo and brand */
.nav-left {
   display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.brand {
  font-size: 18px;
  margin: 0;
  line-height: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
   color: #9ca3af;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}
.nav-links a:hover {
  color: #e5e7eb;
}
.nav-links a.active {
  color: #22d3ee; /* highlight color */
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #22d3ee; /* underline color */
  border-radius: 2px;
}
/* Hamburger icon (mobile only) */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #e5e7eb;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(17,24,39,0.95);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
/* When menu is open */
.mobile-menu.open {
  display: flex;
  max-height: 300px;
  padding: 12px 20px;
}
/* Mobile menu links */
.mobile-menu a {
  color: #9ca3af;
  padding: 10px;
  border-radius: 6px;
}
.mobile-menu a:hover {
  color: #e5e7eb;
  background: rgba(255,255,255,0.06);
}

/* Responsive behavior */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}


/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px;
  padding: 60px 20px 30px;
}
.hero .copy { align-self: center; }
.kicker { color: var(--primary); font-weight: 600; letter-spacing: 0.08em; font-size: 12px; text-transform: uppercase; }
h2 { font-size: 34px; margin: 12px 0 8px; }
.subtitle { color: var(--muted); max-width: 640px; line-height: 1.6; }
.hero .visual {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.badge {
  background: rgba(34,211,238,0.12); color: var(--primary);
  border: 1px solid rgba(34,211,238,0.35);
  padding: 6px 10px; border-radius: 999px; font-size: 12px;
}

/* CTA */
.cta { display: flex; gap: 12px; margin-top: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); transition: all 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-2), var(--primary)); color: #041014; border: none; }
.btn-outline { background: rgba(255,255,255,0.04); color: var(--text); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Sections */
.section { padding: 40px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--card); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.card img { height: 180px; width: 100%; object-fit: cover; }
.card-body { padding: 14px; }
.card-body h3 { margin: 0 0 6px; font-size: 18px; }
.card-body p { color: var(--muted); margin: 0; }

/* Feature list */
.list {
  display: grid; gap: 12px; margin-top: 10px;
}
.list-item {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
}
.icon {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(34,211,238,0.15); border: 1px solid rgba(34,211,238,0.35);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  font-weight: 700;
}

/* Table */
.table {
  width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.table th, .table td { padding: 12px; text-align: left; }
.table thead { background: rgba(255,255,255,0.05); }
.table tbody tr { border-top: 1px solid rgba(255,255,255,0.06); }
.table tbody tr:hover { background: rgba(255,255,255,0.04); }

/* Contact */
.form { display: grid; gap: 12px; max-width: 640px; }
.input, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
  color: var(--text);
}
textarea { min-height: 140px; resize: vertical; }
.note { color: var(--muted); font-size: 13px; }

/* Footer */
.footer {
  padding: 24px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
}
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.footer h4 { margin: 0 0 8px; font-size: 16px; }
.footer p, .footer a { color: var(--muted); }
.footer small { color: var(--muted); display: block; margin-top: 8px; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr; } }
.footer {
  padding: 40px 20px;
  background: #0f172a;
  color: #e5e7eb;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.footer h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #ffffff;
}
.footer p, .footer a, .footer small {
  color: #9ca3af;
  font-size: 14px;
  margin: 6px 0;
}
.footer a:hover {
  color: #22d3ee;
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-icons a {
  font-size: 18px;
  color: #9ca3af;
  transition: color 0.2s ease;
}
.social-icons a:hover {
  color: #22d3ee;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-left {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-left h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.working-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.working-hours li {
  margin-bottom: 6px;
  color: var(--muted);
}
.contact-right h2 {
  margin-top: 0;
  font-size: 20px;
}
.map-container {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}
.form-row label {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.full-width {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.input, textarea {
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Responsive: stack fields on mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}
.timeline-horizontal {
  text-align: center;
}

.timeline-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 30px;
}

/* Dotted line across */
.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  border-top: 2px dotted #22d3ee;
  animation: drawLine 2s ease forwards;
}

/* Each timeline item */
.timeline-item {
  position: relative;
  flex: 1;
  padding: 0 20px;
}

.timeline-year {
  font-weight: bold;
  font-size: 20px;
  color: #22d3ee;
  margin-bottom: 10px;
  position: relative;
}

/* Dot for each year */
.timeline-year::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #22d3ee;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 2;
}

/* Content box */
.timeline-content {
  margin-top: 20px;
  background: rgba(255,255,255,0.03);
  padding: 12px;
  border-radius: 8px;
}

/* Line animation */
@keyframes drawLine {
  from { width: 0; }
  to { width: 100%; }
}

/* Responsive: stack vertically on mobile */
@media (max-width: 768px) {
  .timeline-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-wrapper::before {
    display: none;
  }
  .timeline-year::before {
    left: -30px;
    top: 8px;
  }
}
