html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

* {
  margin: 0;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #871512;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  color: white;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1px;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ddaf5a;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
}

.logo-image:hover {
  opacity: 0.8;
  transform: scale(1.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-image:active {
  transform: scale(0.95);
}

.top-bar-links {
  display: flex;
  gap: 30px;
  margin-right: 50px;
}

.top-bar-links a {
  color: #ddaf5a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.top-bar-links a:hover {
  color: rgb(255, 202, 102);
}

.background-image {
  position: relative;
  margin-top: 60px;
  min-height: 700px;
  max-height: 850px;
  background-image: url('https://i.ibb.co/8DBYvbg8/image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(12, 12, 12, 0.5);
  pointer-events: none;
  z-index: 1;
}

.background-image > * {
  position: relative;
  z-index: 2;
}

.background-image-overlay {
  font-family: 'IBM Plex Serif', serif;
  padding: 250px 75px;
}

.background-image-overlay-h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.background-image-overlay-p {
  max-width: 900px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.cursor {
  display: inline-block;
  background-color: transparent;
  animation: blink 0.7s steps(1) infinite;
  font-weight: 800;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.about-us-container {
  background-color: #871512;
  min-height: 500px;
}

.about-us {
  font-size: 100px;
  font-family: 'IBM Plex Serif', serif;
  text-align: center;
  margin-top: 0px;
  color: #ddaf5a;
  margin-bottom: 0px;
}

.about-us-description {
  text-align: center;
  font-family: 'IBM Plex Serif', serif;
  font-size: 20px;
  font-weight: 500;
  margin-left: 100px;
  margin-right: 100px;
  color: #ddaf5a;
}

.contact {
  background-color: #ddaf5a;
  margin-bottom: 0;   /* ✅ remove bottom margin */
  padding-bottom: 0;  /* ✅ no padding pushing footer */
}

.contact-h1 {
  font-family: 'IBM Plex Serif', serif;
  text-align: center;
  font-size: 100px;
  margin-top: 0;
  color: #871512;
  margin-bottom: 10px;
}

.contact-modle {
  text-align: center;
  font-family: 'IBM Plex Serif', serif;
}

.contact-label {
  width: 25%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(165, 26, 21, 0.315);
  color: white;
  font-size: 1rem;
  padding: 8px 4px 4px 0;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.contact-label:focus {
  border-bottom-color: #871512;
}

.contact-title {
  font-size: 25px;
  font-weight: 800;
  color: #871512;
}

#message {
  height: 100px;
  min-height: 100px;
  background-color: #ddaf5a;
}

.form-submit-button {
  background-color: #871512;
  color: #ddaf5a;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-family: 'IBM Plex Serif', serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color .5s, transform 0.2s;
  text-decoration: none;
  margin-bottom: 25px;   /* ✅ removed to stop white gap */
}

.form-submit-button .arrow {
  font-weight: bold;
  font-size: 18px;
}

.form-submit-button:hover {
  background-color: #c9231e;
  transform: translateY(-1px);
}

footer {
  background-color: #871512;
  height: 175px;
  color: #ddaf5a;
  margin-top: 0;    /* ✅ ensure no top margin */
  padding-top: 0;   /* ✅ reset padding if any */
}

.footer-icon {
  height: 25px;
  width: auto;
}

.footer-instagram {
  background: none;
  border: none;
  cursor: pointer;
}

.footer-linkedin {
  background: none;
  border: none;
  cursor: pointer;
}

.footer-container {
  display: flex;
  justify-content: center;
}

.footer-socials {
  margin-top: 25px;
}

.footer-branding {
  color: #ddaf5a;
  font-family: 'IBM Plex Serif', serif;
  text-align: center;
  margin-top: 10px;
  font-weight: 800;
}

#footer-closing {
  font-size: 10px;
}

.reveal-text {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.progress-bar-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #871512;
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: #410908;
  transition: width 0.2s ease-out;
}

.landing-arrow-button {
  margin-top: 200px;
  background: none;
  border: none;
  line-height: 0;
  transition: transform 0.3s ease;
}

.landing-arrow-element {
  display: block;
  width: 100%;
  height: auto;
  max-width: 75px;
}

.landing-arrow-button:hover {
  transform: translateY(10%);
}

.landing-arrow-container {
  text-align: center;
}

@media (max-width: 768px) {
  .top-bar-links {
    gap: 15px;
  }
  .top-bar-links a {
    font-size: 0.9rem;
  }
  .logo-image {
    height: 25px;
  }
  .background-image {
    min-height: 400px;
  }
  .background-image-overlay {
    padding: 50px 20px;
  }
  .background-image-overlay-h1 {
    font-size: 40px;
  }
  .background-image-overlay-p {
    font-size: 16px;
  }
  .logo {
    font-size: 1rem;
  }
  .about-us {
    font-size: 50px;
  }
  .about-us-description {
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .contact-h1 {
    font-size: 50px;
  }
  .contact-label {
    min-width: 95%;
    width: 95%;
    height: 40px;
    font-size: 18px;
  }
  #message {
    height: 150px;
  }
  .form-submit-button {
    padding: 15px 30px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .top-bar-links {
    gap: 10px;
  }
  .top-bar-links a {
    font-size: 0.8rem;
  }
  .background-image-overlay-h1 {
    font-size: 30px;
  }
  .background-image-overlay-p {
    font-size: 14px;
  }
  .about-us {
    font-size: 40px;
  }
  .about-us-description {
    font-size: 14px;
  }
  .contact-h1 {
    font-size: 40px;
  }
  .contact-label {
    font-size: 16px;
  }
  .form-submit-button {
    padding: 12px 25px;
    font-size: 16px;
  }
}

#form-status {
  font-family: 'IBM Plex Serif', serif;
  margin-left: 10px;
}

.contact-label {
  color: #871512;
}