/* ==========================
   VARIABLES
========================== */
:root {
  --bg: #0b0f13;
  --surface: #12161c;
  --text: #e9eef6;
  --muted: #9aa6b2;
  --primary: #0A2F5A;     /* brand navy */
  --secondary: #F28C28;   /* warm orange */
  --accent: #E8B800;      /* logo gold */
  --border: #22303f;
  --red: #ef4444;
}

/* ==========================
   RESET & BASE
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Noto Sans', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================
   TYPOGRAPHY
========================== */
h1 { font-size: 2.4rem; margin: 0 0 16px; }
h2 { font-size: 1.8rem; margin: 0 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }

.lead { font-size: 1.125rem; }
.small { font-size: 0.85rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ==========================
   LAYOUT
========================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
 
}

.section.alt {
  background: var(--surface);
}

.about-section {
     padding-top: 80px;
     padding-bottom: 80px;
}

/* CARDS */
/* Core Values Cards */
.core-values-section {
  padding: 60px 0;
  background: #fff;
}

.core-values-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.core-values-section .section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: #555;
}

.core-values-section .values-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-top: 20px;
}

.core-values-section .value-card {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  padding: 24px !important;
  width: calc(100% - 40px) !important;
  max-width: 260px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  border-radius: 6px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

@media (min-width: 640px) {
  .core-values-section .value-card {
    width: calc(50% - 32px) !important;
  }
}

@media (min-width: 1000px) {
  .core-values-section .value-card {
    width: calc(33.333% - 32px) !important;
  }
}

.core-values-section .value-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

.core-values-section .value-icon {
  font-size: 40px !important;
  color: #0099a6 !important;
  margin-bottom: 15px !important;
}

.core-values-section .value-card h3 {
  font-size: 20px !important;
  margin-bottom: 10px !important;
  color: #222 !important;
}

.core-values-section .value-card p {
  font-size: 15px !important;
  color: #444 !important;
  line-height: 1.5 !important;
}


/* ==========================
   LINKS
========================== */
a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ==========================
   GRID
========================== */
.grid {
  display: grid;
  gap: 20px;
}

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

@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   HEADER
========================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(11, 15, 19, 0.95);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 20px;
  height: 64px;
  gap: 12px;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap; /* allow wrapping only on mobile */
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* ==========================
   HAMBURGER
========================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1200;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background-color: var(--text);
  height: 2px;
  width: 24px;
  border-radius: 2px;
  position: absolute;
  left: 4px;
  transition: all 0.3s ease;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Active state */
.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================
   NAVIGATION
========================== */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  padding: 8px 12px;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
    display: none;
    gap: 12px;
    border-top: 1px solid var(--border);
    z-index: 1100;
  }

  .main-nav.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .lang-switch {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
    display: flex;
    gap: 8px;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
  }
}

/* ==========================
   HERO
========================== */
.hero {
  padding: 64px 0;
  background-color: var(--bg);
  background-image: linear-gradient(120deg, rgba(89,211,140,0.1), rgba(76,201,240,0.08));
}

@media (max-width: 768px) {
  .hero { padding: 40px 20px; }
  .section { padding: 40px 20px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  input,
  textarea,
  button {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }
}

/* ==========================
   BUTTONS
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary);
  color: #0b0f13;
}


/* FORM */

/* Contact / Lead form reset */
.lead-form {
  max-width: 900px;
  margin: 0 auto;
}

.lead-form .grid {
  display: grid;
  gap: 20px;
}

.lead-form .grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .lead-form .grid-2 {
    grid-template-columns: 1fr;
  }
}

.lead-form .form-group {
  display: flex;
  flex-direction: column;
}

.lead-form label {
  font-weight: 600;
  margin-bottom: 6px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  padding: 12px 14px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form button {
  margin-top: 20px;
}

.lead-form .small.muted {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}



/* ==========================
   FOOTER
========================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 20px;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner > div,
.footer-inner form,
.footer-nav {
  flex: 1 1 200px;
}

.footer-inner form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-inner form input,
.footer-inner form button {
  flex: 1 1 100%;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 16px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================
   SCREEN READER
========================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

/* Force desktop to hide hamburger */
@media (min-width: 769px) {
  .nav-toggle {
    display: none !important;
  }
}

