/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #232323;
  padding: 0;
  background-color: #fff;
 
  background-repeat: repeat-x;
  background-position: center top;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 11px;
}

.spacer {
  clear: both;
  font-size: 0;
  line-height: 0;
}

.center {
  text-align: center;
}

/* Container */
.container {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo Banner */
#logo-banner {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: 11px;
  color: #908b51;
  height: 115px;
  background-image: url('images/header.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: block;
}

#logo-banner::before {
  content: '';
  display: none;
}

#logo-banner p {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #fff;
  margin: 0;
  text-align: right;
  line-height: 1.6;
  padding: 18px 20px 0 0;
}

#logo-banner p a {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #908b51;
  text-decoration: none;
}

#logo-banner p a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Menu Banner */
#menu-banner {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  background-color: #6b3d25;
}

.menu-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: #ffd5a8;
  padding: 0;
}

.menu-link {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #ffd5a8;
  text-decoration: none;
  padding: 12px 18px;
  transition: all 0.2s ease;
}

.menu-link:hover {
  color: #b7170e;
  background-color: #4a0b03;
}

.menu-hover {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #b7170e;
  text-decoration: none;
  padding: 12px 18px;
  background-color: #4a0b03;
  cursor: text;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 18px;
  color: #ffd5a8;
  background: none;
  border: 1px solid #ffd5a8;
  padding: 8px 14px;
  cursor: pointer;
  margin: 0 auto;
}

.menu-toggle:hover {
  background-color: #4a0b03;
}

/* Search Banner */
#search-banner {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  height: 18px;
}

/* Banner Section */
#banner {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  height: 328px;
  background-image: url('images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}

.banner-area {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  max-width: 356px;
  margin-left: auto;
}

.services {
  background-image: url('images/services-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 326px;
  padding: 25px;
  color: #7f421c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.publications {
  background-image: url('images/publications-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 326px;
  padding: 25px;
  color: #7f421c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.services a,
.services a:visited,
.publications a,
.publications a:visited {
  color: #1a0102;
  text-decoration: none;
}

.services a:hover,
.publications a:hover {
  color: #7f421c;
}

.blog-link a,
.blog-link a:visited {
  color: #7f421c;
  text-decoration: none;
  font-style: italic;
}

.blog-link a:hover {
  color: #1a0102;
  text-decoration: underline;
}

.banner-head {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #1a0102;
  text-decoration: none;
  margin-bottom: 2px;
  padding: 0;
}

/* Body Area */
#body-area {
  width: 100%;
  max-width: 1004px;
  margin: 0 auto;
  padding: 0;
}

.body-textarea {
  margin: 0 auto;
  display: flex;
  gap: 30px;
  padding: 30px 30px 0;
  flex-wrap: wrap;
}

.head-left {
  flex: 1;
  min-width: 300px;
  font-family: Georgia, serif;
  text-align: left;
}

.head-left p {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0 10px 15px 0;
  color: #000;
  line-height: 1.7;
}

.head-right {
  flex: 0 0 328px;
  font-family: Georgia, serif;
  text-align: left;
}

/* Contact Form */
.head-right table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.form-label {
  font-family: Georgia, serif;
  font-size: 12px;
  color: #232323;
  width: 28%;
  padding: 2px 0;
  vertical-align: middle;
  white-space: nowrap;
}

.form-spacer {
  width: 3%;
  padding: 2px 0;
}

.head-right input[type="text"],
.head-right textarea {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #333;
  border: 1px solid #999;
  background-color: #fff;
  padding: 2px 4px;
  width: 100%;
}

.head-right input[type="text"] {
  height: 18px;
}

.head-right textarea {
  resize: none;
}

.btn-reset,
.btn-submit {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 11px;
  font-weight: normal;
  color: #333;
  background-color: #f0f0f0;
  border: 1px solid #999;
  padding: 3px 12px;
  cursor: pointer;
  margin-right: 5px;
}

.btn-reset:hover,
.btn-submit:hover {
  background-color: #ddd;
}

/* Captcha */
.capbox {
  background-color: #7f421c;
  padding: 5px;
  display: inline-block;
}

.capbox-inner {
  font: bold 11px Arial, sans-serif;
  color: #ffffff;
  background-color: #7f421c;
  margin: 3px auto 0;
  padding: 2px;
  border-radius: 4px;
}

#CaptchaDiv {
  font: bold 18px Verdana, sans-serif;
  font-style: italic;
  color: #000;
  background-color: #fff;
  padding: 6px 12px;
  text-align: center;
  letter-spacing: 5px;
  border-radius: 4px;
  margin-bottom: 5px;
}

#CaptchaInput {
  margin: 1px 0;
  width: 135px;
}

/* Footer */
#footer {
  width: 100%;
  margin: 0 auto;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #c5a873;
  background: linear-gradient(to bottom, #4a2c17 0%, #3a1f0f 100%);
  margin-top: 40px;
  padding: 15px 20px;
}

.footer-links {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #ffd5a8;
  padding-bottom: 10px;
  text-align: center;
}

.footer-link {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: bold;
  color: #ffd5a8;
  text-decoration: none;
  padding: 0 5px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-copyright {
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 12px;
  color: #af2922;
  text-align: center;
}

/* Media Queries */

/* Tablet: 768px and below */
@media (max-width: 768px) {
    body{
         background-image: linear-gradient(to bottom, #8b5e3c 0%, #d4a574 15%, #fff 15%);
    }
  #logo-banner {
    height: auto;
    min-height: 150px;
    background-size: contain;
  }

  #logo-banner p {
    text-align: center;
    font-size: 12px;
    padding: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-area {
    display: none;
    flex-direction: column;
    padding: 0;
  }

  .menu-area.active {
    display: flex;
  }

  .menu-link,
  .menu-hover {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #banner {
    min-height: auto;
    padding: 30px 20px;
  }

  .banner-area {
    max-width: 100%;
    align-items: center;
  }

  .services,
  .publications {
    max-width: 100%;
    width: 100%;
  }

  .body-textarea {
    flex-direction: column;
    padding: 30px 20px 0;
  }

  .head-left {
    min-width: 100%;
    width: 100%;
  }

  .head-right {
    flex: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .head-left p {
    padding: 0 0 15px;
  }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
  body {
    font-size: 10px;
     background-image: linear-gradient(to bottom, #8b5e3c 0%, #d4a574 15%, #fff 15%);
  }

  #logo-banner {
    padding: 20px 15px;
  }

  #logo-banner::before {
    width: 150px;
    height: 55px;
  }

  #logo-banner p {
    font-size: 11px;
  }

  .menu-link,
  .menu-hover {
    font-size: 13px;
    padding: 12px 15px;
  }

  #banner {
    padding: 20px 15px;
  }

  .banner-head {
    font-size: 20px;
  }

  .services,
  .publications {
    padding: 20px 15px;
  }

  .body-textarea {
    padding: 20px 15px 0;
    gap: 25px;
  }

  .head-left p {
    font-size: 13px;
  }

  .form-label {
    font-size: 11px;
  }

  #CaptchaDiv {
    font-size: 16px;
    padding: 5px 10px;
  }

  #CaptchaInput {
    width: 110px;
  }

  .footer-links {
    font-size: 10px;
  }
}