/* Page frame */
body {
    background: #0b1f12;
    color: #ecfdf5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main {
    width:min(900px, 92%);
    margin: 2.5rem auto;
}





/* Headline + intro */
.headline {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 1px;
    margin-bottom: .25rem;
    text-align: center;
}
.intro {
    text-align:center;
    color:#c7f9cc;
    margin-bottom: 1.5rem;
}
.title {
    font-size: 50px;
    margin-bottom: .25rem;
}





/* Form card */
.contact-form {
  background: #0f2917; 
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.field {
    display:flex;
    flex-direction:column;
    gap:.5rem;
    width: 87%;
}
.field-full {
    grid-column: 1 / -1;
    width: 87%;
}
#message {
    height: 150px;
    resize: vertical;
}
label, legend {
    font-weight: 700;
    color: #d9f99d;
}

input, textarea {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 10px;
  border: 2px solid #14532d;
  background: #03120a;
  color: #ecfdf5;
  font-size: 1rem;
}
input::placeholder, textarea::placeholder {
  color: #a3a3a3;
}
input:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.25);
}





/* Checkboxes block */
fieldset {
    border: 0;
    padding: 0;
    margin: .25rem 0 0;
}
.check {
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    margin: .4rem 1rem .4rem 0;
    font-weight:600;
}
.check input {
    width: 1.05rem;
    height: 1.05rem;
    accent-color: #16a34a;
}





/* Buttons */
button {
  margin-top: 1.25rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: #16a34a;
  color: #03120a;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .05s ease, background .15s ease;
}
button:hover {
  background: #22c55e;
}
button:active {
  transform: translateY(1px);
}

.homebtn {
  max-width: 250px;
  margin: 1.5rem auto 0;
  margin-bottom: 60px;
  display: block;
}



/* About us page */
.aboutus img {
  width: 75vw;
  height: 100vw;
  max-width: 450px;
  max-height: 600px;
  margin: 1vh 2vw;
  border-radius: 5%;
  border: 4px solid #16a34a;
}





/* Services page */
.services-page {
    width: min(1100px, 92%);
    margin: 2.5rem auto;
}
.services {
  background: #0f2917; 
  border: 1px solid #14532d;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  text-align: center;
}
.services ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.services ul li {
    color:#d9f99d;
    font-size: 1.25rem;
}





/* Contact info */
.contact-info { text-align:center; color:#c7f9cc; margin: 1rem 0 0.25rem; }





/* Navbar tidy (optional polish for yours) */
.navbar {
  position: sticky; top: 0; z-index: 50;
  height: 70px; padding: 0 1rem;
  display:flex; align-items:center; justify-content: space-between;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-radius: 15px;
}
.navbar img {height: 60px; border-radius: 10px; object-fit: cover; }
.navbar ul { display:flex; gap: 1.25rem; list-style:none; }
.navbar a { color:#d1fae5; text-decoration:none; font-weight:700; }
.navbar a:hover { color:#6aaf8f; }





/* Footer */
footer {
  text-align:center;
}





/* Mobile */
/* Does this shi actually work :( */
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .navbar { height: auto; padding: .75rem 1rem; }
  .navbar ul { flex-wrap: wrap; gap: .75rem; }
}
