:root {
  --white: #ffffff;
  --pink: rgb(253,245,241);
  --lightgray: rgb(242,242,242);
  --formgray: rgb(224,224,224);
  --footergray: rgb(231,235,241);
  --text: #111;
  --orange: rgb(238,132,110);
  --error: #c62828;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

p { font-size: 16px; }

/* ================= NAV ================= */

.navbar {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: black;
}

.nav-btn {
  border: 1px solid black;
  padding: 8px 16px;
}

/* ================= TYPOGRAPHY ================= */

h1, h2 {
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

h1 { font-size: 48px; }
h2 { font-size: 38px; }

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
}

/* ================= LAYOUT ================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.reduced {
  max-width: 1100px;
}

section {
  padding: 120px 0;
}

.split {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.split > div {
  flex: 1 1 50%;
  min-width: 0;
}

.reverse {
  flex-direction: row-reverse;
}
.image-side {
  width: 800px;           /* base width */
  max-width: 100%;        /* scale down on smaller screens */
  aspect-ratio: 8 / 9;    /* maintains 8:9 ratio (800x900) */
}

.image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fills the container without distortion */
  filter: saturate(95%) contrast(95%);
}

.image-side2 img {
  width: 100%;
  filter: saturate(90%) contrast(90%);
}

/* ================= HERO ================= */

.hero p { 
  margin-top: 20px; 
  margin-bottom: 30px; 
  font-size: clamp(1.5rem, 3vw + 0.5rem, 4rem);
}

.hero h1 {
  text-decoration: underline;
  line-height: 1.1;
  max-width: 50vw; 
  margin-left: 0;
  margin-right: auto;
  font-size: clamp(1.5rem, 3vw + 0.5rem, 4rem);
}

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 12px 50px;
  text-decoration: none;
  display: inline-block;
  margin-top: 25px;
  font-size: 12px;
}

.hero .container.split {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* ================= SERVICES / PROCESS ================= */

.services {
  background: var(--pink);
  text-align: left;
}

.section-intro { margin-bottom: 60px; }

.service-grid {
  display: flex;
  gap: 40px;
}

.service-card {
  background: white;
  padding: 40px;
  flex: 1;
  min-height: 260px;
  position: relative; /* needed for arrows */
}

.service-card h3 {
  font-size: 16px;
}

.service-card p {
  font-size: 14px;
  font-weight: lighter;
}

.icon {
  margin-bottom: 10px;
}

/* 🔥 PROCESS ARROWS (desktop) */
.service-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: calc(100% + 20px); /* move into the gap */
  transform: translate(-50%, -50%); /* center the arrow itself */
  font-size: 20px;
  color: #bbb;
  font-family: "Inter", sans-serif;
}

/* Optional cleaner line instead of arrow */
/*
.service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 1px;
  background: #ccc;
}
*/

/* ================= ABOUT ================= */

.about {
  background: var(--lightgray);
}

.about .container.split {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .image-side img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ================= PARTNERS ================= */

.partners {
  background: #ffffff;
  text-align: center;
  padding: 40px 0;
}

.partners-intro {
  max-width: 650px;
  margin: 0 auto 60px auto;
  font-weight: lighter;
  font-size: smaller;
}

.partner-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner {
  flex: 1;
  display: flex;
  justify-content: center;
}

.partner img {
  width: 150px;
  height: 150px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  object-fit: contain;
  background-color: transparent;
}

.partner img:hover {
  opacity: 1;
}

.lordland {
  width: 125px;
  height: 125px;
  display: flex;
  overflow: hidden;
  transform: scale(1.25);
  display: block;
  flex-shrink: 0;
  min-width: 100px;
  position: relative;
}

.lordland img {
  width: 125px;
  height: 125px;
  object-fit: contain; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.iuts img {
  width: 125px;
  height: 125px;
}

/* ================= CONTACT ================= */

.contact { background: #f0f0f0; }

.divider {
  width: 100%;
  height: 1px;
  background: #ccc;
  margin: 20px 0 50px 0;
}

.contact .text-side {
  max-width: 500px;
}

.contact-info p {
  font-weight: lighter; 
  font-size: smaller;
}

.form-box {
  background: var(--formgray);
  padding-left: 2px;
  padding-right: 2px;
}

.form-box h3 {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  margin-bottom: 5px;
}

.form-sub {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group p {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  margin-bottom: 6px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
  font-family: "Inter", sans-serif;
  font-size: 14px; 
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 18px;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border: 1px solid transparent;
  font-family: "Libre Baskerville", serif;
  font-size: 12px;
  resize: none;
  overflow-y: auto;
}

/* ================= ERRORS ================= */

.error-message {
  font-size: 13px;
  color: var(--error);
  margin-top: 5px;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.error-message.active {
  display: flex;
}

.error-message.active::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--error);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

input.error,
textarea.error {
  border: 1px solid var(--error);
}

.btn-primary {
  background: rgb(18, 50, 98);
  color: white;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
}

.full { width: 100%; }

/* ================= FOOTER ================= */

.footer {
  background: var(--footergray);
  padding: 40px 0 30px 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
}

.footer p {
  font-size: 12px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-logo {
  font-size: 14px;
}

.footer-contact p {
  margin-bottom: 4px;
  text-align: right;
}

.footer-divider {
  height: 1px;
  background: #bfc5cf;
  margin: 20px auto;
}

.footer-bottom p{
  font-size: 10px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .hero .container.split {
    flex-direction: column-reverse;
  }

  .split {
    flex-direction: column;
    gap: 40px;
  }

  .split > div {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .contact .text-side {
    max-width: 100%;
  }

  .contact .container.reduced {
    width: 95%;
    max-width: 100%;
  }

  .form-box {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 18px;
  }

  .service-grid {
    flex-direction: column;
  }

  /* 🔥 vertical arrows on mobile */
  .service-card:not(:last-child)::after {
    content: "↓";                  /* vertical arrow */
    left: 50%;                      /* horizontally centered */
    top: 100%;                      /* start just below the current card */
    transform: translate(-50%, 50%); /* center in the gap below */
    font-size: 20px;
    color: #bbb;
  }

  .service-card {
    margin-bottom: 25px; /* adjust gap as needed */
  }

  .footer-top {
    flex-direction: column;
    gap: 15px;
  }

  .footer-contact p {
    text-align: left;
  }

  .partner-logos {
    justify-content: center;
  }

  .partner {
    flex: 0 0 45%;
  }
}