/* ============================================
   BASIC RESET
============================================ */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
}

/* ============================================
   STICKY HEADER WRAPPER (header + subnav)
============================================ */
.stickywrap {
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* ============================================
   HEADER
============================================ */
header {
    background: #333;
    color: white;
    padding: 12px 20px 6px 20px; /* MUST match index/services */
}

#header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header-top-row h1 {
    margin: 0;
    font-size: 1.6rem; /* SAME ACROSS ALL PAGES */
    font-weight: normal;
}

/* fixed width language selector (prevents header wrapping) */
#header-top-row select {
    padding: 4px 8px;
    font-size: 14px;
    width: 92px;
    min-width: 92px;
    max-width: 92px;
}

/* tagline */
header p {
    margin: 6px 0 10px 0;
    font-size: 1rem; /* THIS was the mismatch in your broken contact page */
}

/* ============================================
   SUBNAV
============================================ */
nav.subnav {
    background: #e4e4e4;
    padding: 6px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid #ccc;
}

nav.subnav a {
    margin-right: 15px;
    color: #333;
    text-decoration: none;
}

nav.subnav a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* ============================================
   MAIN CONTENT AREA
============================================ */
main {
    max-width: 900px;
    margin: 25px auto;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* section heading */
h2 {
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

/* ============================================
   WELCOME PAGE (index)
============================================ */
.welcome-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-text {
    flex: 1 1 260px;
}


.welcome-photo {
    flex: 0 0 220px;
    max-width: 220px;
    background: #e3e3e3;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-align: center;
    font-size: 0.9rem;
}




.welcome-photo img.photo {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

/* ============================================
   CONTACT FORM (minimal required rules)
============================================ */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    height: 140px;
}

button {
    margin-top: 20px;
    padding: 12px 20px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

button:hover {
    background: #444;
}

/* error popup */
#popup {
    display: none;
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* ============================================
   FOOTER
============================================ */
footer {
    text-align: center;
    padding: 18px;
    font-size: 14px;
    color: #333;
}


.file-wrapper {
    margin-top: 10px;
}

#fileUpload {
    display: none;
}

#fileButton {
    display: inline-block;
    background: #333;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

#fileButton:hover {
    background: #444;
}

.file-label {
    margin-left: 10px;
    font-size: 14px;
    color: #555;
}

.cta {
  color: #333;              /* matches your site palette */
  font-weight: bold;        /* slight emphasis */
  text-decoration: underline; /* keeps it looking like a link */
  padding: 0;               /* no button padding */
  background: none;         /* no background box */
}
.cta:hover {
  color: #555;              /* gentle hover effect */
  text-decoration: none;    /* hover removes underline for a clean feel */
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 10px auto;
  max-width: 1000px;
}

.hero-photo {
  flex: 0 0 220px;
}

.hero-photo img.photo {
  max-width: 100%;
  border-radius: 4px;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  margin-top: 0;
  font-size: 1.8rem;
  font-weight: normal;
}

.cta.subtle {
  color: #333;
  font-weight: bold;
  text-decoration: underline;
  background: none;
  padding: 0;
}
.cta.subtle:hover {
  color: #555;
  text-decoration: none;
}
