:root {
  --blue-dark: #0B2C5F;
  --blue-main: #1F4E79;
  --blue-light: #EAF2FB;
  --orange-main: #F28C28;
  --beige-bg: #FBF6F0;
  --white: #FFFFFF;
  --gray-text: #555;
  --gray-light: #f2f2f2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: var(--beige-bg);
  color: var(--gray-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: var(--white);
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  height: 55px;
}

.navbar nav a {
  margin-left: 30px;
  font-weight: 500;
  color: var(--blue-dark);
  position: relative;
}

.navbar nav a:hover {
  color: var(--orange-main);
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  padding: 100px 6%;
  background: #f5f0ea;
}

.contact-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h1 {
  font-size: 42px;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.contact-header p {
  color: var(--gray-text);
  font-size: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange-main);
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.15);
}

.contact-btn {
  margin-top: 10px;
  padding: 16px;
  border: none;
  border-radius: 8px;
  background: #138BD0;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
.site-footer {
  position: relative;
  background: #FBF6F0;
  padding: 80px 6%;
  overflow: hidden;
  height: 700px;
}

.footer-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 76px;
  height: 100%;
  background: #019BDA;
}

.footer-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-infos {
  position: relative;
  top: 230px;
}

.footer-infos ul {
  padding: 0;
  margin-bottom: 40px;
}

.footer-infos li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  margin-bottom: 18px;
  color: #111;
}

.footer-infos .icon {
  width: 36px;
  height: 36px;
  background: #0b2d5b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.footer-logo {
  margin-top: 20px;
  width: 140px;
}

.footer-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: #019BDA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-image img {
  position: relative;
  margin-right: 30%;
  width: 150%;
  height: 80%;
  transform: translateX(-20%);
  z-index: 2;
}

.footer-dots {
  position: absolute;
  bottom: 22px;
  right: 770px;
  display: grid;
  grid-template-columns: repeat(5, 10px);
  gap: 12px 14px;
  z-index: 3;
}

.footer-dots span {
  width: 8px;
  height: 8px;
  background: #019BDA;
  border-radius: 50%;
  display: block;
}


@media (min-width: 769px) and (max-width: 1024px) {

  .navbar {
    padding: 16px 40px;
  }

  .contact-section {
    padding: 70px 5%;
  }

  .contact-container {
    padding: 50px 40px;
  }

  .contact-header h1 {
    font-size: 36px;
  }

  .site-footer {
    height: auto;
    min-height: 500px;
    padding: 60px 5%;
  }

  .footer-infos {
    top: 130px;
  }

  .footer-infos li {
    font-size: 15px;
  }

  .footer-image img {
    width: 130%;
    height: 75%;
  }

  .footer-dots {
    right: 420px;
    top: 438px;
  }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */
@media (max-width: 768px) {

  .navbar {
    padding: 14px 20px;
  }

  .logo {
    height: 40px;
  }

  .navbar nav a {
    margin-left: 16px;
    font-size: 14px;
  }

  .contact-section {
    padding: 40px 16px 60px;
  }

  .contact-container {
    padding: 32px 20px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  }

  .contact-header {
    margin-bottom: 32px;
  }

  .contact-header h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .contact-header p {
    font-size: 14px;
    color: #777;
  }

  .contact-form {
    gap: 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 18px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 14px;
    font-size: 14px;
    border-radius: 8px;
  }

  .contact-form textarea {
    resize: vertical;
    min-height: 120px;
  }

  .contact-btn {
    padding: 15px;
    font-size: 15px;
    border-radius: 8px;
    letter-spacing: 0.3px;
  }

  .site-footer {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .footer-bar {
    display: none;
  }

  .footer-image {
    position: relative;
    width: 100%;
    height: 200px;
    right: auto;
    top: auto;
    border-radius: 0;
    overflow: hidden;
  }

  .footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
    margin-right: 0;
  }

  .footer-dots {
    bottom: 12px;
    right: 16px;
    gap: 8px 10px;
  }

  .footer-dots span {
    background: rgba(255, 255, 255, 0.8);
    width: 7px;
    height: 7px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 40px 24px;
    background: #FBF6F0;
    width: 100%;
  }

  .footer-infos {
    position: relative;
    top: 0;
    width: 100%;
  }

  .footer-infos ul {
    margin-bottom: 24px;
  }

  .footer-infos li {
    font-size: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
  }

  .footer-infos .icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-top: 2px;
  }

  .footer-logo {
    margin-top: 8px;
    width: 110px;
  }

  #responseMessage {
    font-size: 14px;
    text-align: center;
    margin-top: -8px;
  }
}


@media (max-width: 380px) {

  .contact-section {
    padding: 30px 12px 50px;
  }

  .contact-container {
    padding: 28px 16px 36px;
  }

  .contact-header h1 {
    font-size: 22px;
  }

  .navbar {
    padding: 12px 16px;
  }

  .logo {
    height: 34px;
  }
}