/* Base styles matching your current site */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #B0B0B0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Navigation - exact same look */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000000;
  text-align: center;
}

ul li {
  display: inline-block;
  list-style-type: none;
  padding-bottom: 3px;
}

li a {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 28px;
  text-decoration: none;
  font-family: Arial;
}

li a:hover:not(.active) {
  background: linear-gradient(to bottom, #000000 1%, #021E52 100%);
  box-shadow: inset 0px 0px 0px 0px #bbdaf7;
  border-radius: 4px;
}

.active {
  background: linear-gradient(to bottom, #021E52 5%, #0649CA 100%);
  box-shadow: inset 0px 1px 0px 0px #bbdaf7;
  border-radius: 4px;
}

/* Content containers - keep your 15% margins on desktop */
.content-wrapper {
  background-color: #000000;
  margin-right: 15%;
  margin-left: 15%;
}

.content-full {
  background-color: #000000;
  margin-right: 0%;
  margin-left: 0%;
}

/* Typography matching original */
h1 {
  font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
  color: #0463AB;
  font-size: 40px;
  font-weight: normal;
  line-height: 0.9;
  text-align: center;
}

.p1 {
  font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
  color: #4AA8F7;
  font-size: 50px;
}

.p2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.3;
  margin-left: 16px;
  margin-right: 0px;
  color: #B0B0B0;
}

/* Footer */
#footer {
  max-width: 100%;
  font-size: 25px;
  text-align: left;
  margin: auto;
  padding-top: 40px;
  padding-left: 80px;
  padding-right: 80px;
}

h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #FFFFFF;
}

.copyright {
  float: left;
}

.social {
  float: right;
}

.clear {
  clear: both;
}

/* Buttons matching original style */
.button {
  box-shadow: inset 0px 1px 1px 1px #bbdaf7;
  background: linear-gradient(to bottom, #021E52 5%, #378de5 100%);
  border: 1px solid #000000;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-family: Arial;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  padding: 20px 34px;
  border-radius: 4px;
}

.button:hover {
  background: linear-gradient(to bottom, #378de5 5%, #021E52 100%);
}

.button:active {
  position: relative;
  top: 1px;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.banner {
  display: block;
  margin: 0 auto;
  width: 80%;
  height: auto;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
/* These only kick in on smaller screens so desktop stays the same */

@media screen and (max-width: 1100px) {
  .content-wrapper {
    margin-left: 8%;
    margin-right: 8%;
  }
  li a {
    padding: 12px 18px;
  }
}

@media screen and (max-width: 900px) {
  .content-wrapper {
    margin-left: 5%;
    margin-right: 5%;
  }
  
  h1 {
    font-size: 32px;
  }
  
  .p1 {
    font-size: 36px;
  }
  
  .p2 {
    font-size: 18px;
    margin-left: 8px;
  }
  
  #footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .banner {
    width: 95%;
  }
  
  /* Allow nav to wrap on medium screens */
  ul li {
    display: inline-block;
  }
}

@media screen and (max-width: 700px) {
  /* On phones, reduce side margins significantly so text is readable */
  .content-wrapper {
    margin-left: 4%;
    margin-right: 4%;
  }
  
  h1 {
    font-size: 26px;
    line-height: 1.1;
  }
  
  .p1 {
    font-size: 28px;
  }
  
  .p2 {
    font-size: 16px;
    line-height: 1.4;
    margin-left: 0;
  }
  
  li a {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  /* Stack nav items more cleanly */
  ul {
    padding: 8px 0;
  }
  
  #footer {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 30px;
  }
  
  .copyright, .social {
    float: none;
    text-align: center;
    display: block;
  }
  
  .button {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  /* About page photo adjustments */
  .about-photo {
    float: none !important;
    display: block;
    margin: 0 auto 20px auto !important;
    width: 60% !important;
    padding: 0 !important;
  }
}

@media screen and (max-width: 480px) {
  .content-wrapper {
    margin-left: 3%;
    margin-right: 3%;
  }
  
  h1 {
    font-size: 22px;
  }
  
  li a {
    padding: 8px 10px;
    font-size: 13px;
  }
  
  .banner {
    width: 100%;
  }
}
