﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: calc(1.5rem + 2.5vw); }
h2 { font-size: calc(1.425rem + 1.1vw); }
h3 { font-size: calc(1.375rem + .8vw); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: color .2s ease-in-out, opacity .2s ease-in-out;
  color: var(--primary-color);
}

a:hover {
  opacity: .8;
  color: var(--accent-color);
}

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

button {
  cursor: pointer;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

:root {
  --primary-color: #065f46;
  --primary-dark: #064e3b;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --bg-color: #f9fafb;
  --bg-secondary: #f3f4f6;
  --white: #ffffff;
  --border-color: #d1d5db;
}

.display-3 {
  font-size: calc(1.675rem + 4.2vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  border-radius: .75rem;
  transition: all .2s ease-in-out;
}

.btn-lg {
  padding: 1.125rem 1.75rem;
  font-size: 1.125rem;
}

.btn-action-1 {
  background-color: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.btn-action-1:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-right: 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--text-color);
  font-weight: 500;
  transition: color .2s ease-in-out;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: .375rem .875rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-radius: .75rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.75em;
  height: 1.75em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.hero-section {
  min-height: 90vh;
  background-image: url('../visuals/tyloxis1.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.8) 0%, rgba(16, 185, 129, 0.6) 100%);
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: var(--white);
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bg-bg-2 {
  background-color: var(--bg-secondary);
}

.bg-bg-3 {
  background-color: var(--bg-color);
}

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.feature-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 600;
  color: var(--text-color);
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: .925rem 1.375rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.3;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: .75rem;
  transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out;
}

.form-control:focus, .form-select:focus {
  outline: 0;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.3rem rgba(16, 185, 129, 0.2);
}

.form-check {
  display: block;
  min-height: 1.75rem;
  padding-left: 2.5rem;
  margin-bottom: 0;
}

.form-check-input {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0;
  margin-left: -2.5rem;
  vertical-align: top;
  background-color: var(--white);
  border: 2px solid var(--border-color);
  border-radius: .25rem;
  appearance: none;
  transition: all .2s ease-in-out;
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-label {
  cursor: pointer;
  color: var(--text-light);
}

.footer-section {
  padding: 3rem 0 1rem;
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-subtitle {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-text, .footer-contact {
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color .2s ease-in-out;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
  padding: 2rem;
}

.contact-item {
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: .5rem;
  border-left: 4px solid var(--secondary-color);
}

.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.position-relative { position: relative !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-16 { margin-bottom: 4.5rem !important; }
.mt-7 { margin-top: 2rem !important; }
.py-11 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
.ps-13 { padding-left: 3.75rem !important; }
.ps-lg-13 { padding-left: 3.75rem !important; }
.ps-xl-4 { padding-left: 1.25rem !important; }
.p-9 { padding: 2.5rem !important; }
.p-md-17 { padding: 4.75rem !important; }
.p-xl-13 { padding: 3.75rem !important; }
.p-xxl-21 { padding: 6rem !important; }
.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }
.fs-4 { font-size: 1.1875rem !important; }
.fw-bold { font-weight: 600 !important; }
.my-5 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

@media (min-width: 576px) {
  .container { max-width: 560px; }
  .col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .py-lg-21 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .mb-md-16 { margin-bottom: 4.5rem !important; }
  .text-md-start { text-align: left !important; }
  .ps-md-5 { padding-left: 1.5rem !important; }
  .p-md-17 { padding: 4.75rem !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: .75rem; padding-left: .75rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-13 { margin-bottom: 3.75rem !important; }
  .py-lg-21 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .p-lg-9 { padding: 2.5rem !important; }
  .ps-lg-13 { padding-left: 3.75rem !important; }
  .text-lg-start { text-align: left !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  h2 { font-size: 2.125rem; }
  .display-3 { font-size: 4.75rem; }
  .display-5 { font-size: 3.25rem; }
  .p-xl-13 { padding: 3.75rem !important; }
  .ps-xl-4 { padding-left: 1.25rem !important; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  .col-xxl-3 { flex: 0 0 auto; width: 25%; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .p-xxl-21 { padding: 6rem !important; }
}

.ms-auto { margin-left: auto !important; }
.collapse:not(.show) { display: none; }