@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
  background-color: #fff;
  color: #333;
  font-family: "Roboto", sans-serif;
  font-size: 12pt;
  line-height: 1.7;
  font-weight: 300;
  height: 100%;
  min-height: 100%;
  position: relative;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-family: "Fjalla One", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.bg-dark {
  background-color: rgba(0, 10, 32, 1) !important;
}
img {
  width: 100%;
  margin: 0px;
  height: auto;
}
p {
  margin-bottom: 20px;
}
hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}
b, strong {
  font-weight: 600;
}
a {
  transition: ease all .5s;
  color: inherit;
}
a:hover, a:focus {
  text-decoration: none;
}
a.btn.btn-primary {
    border-radius: 50px;
    padding: 7.5px 30px;
}
article {
  margin-bottom: 25px;
}
section {
  padding: 75px 25px;
  text-align: center;
}
section h1 {
  font-size: 55px;
  margin-bottom: 1rem;
}
.containersubpage {
  max-width: 1120px;
  width: 100%;
  margin: -100px auto 0px;
  background: #fff;
  padding: 50px 100px 25px;
}
.containersubpageintro {
  max-width: 1120px;
  width: 100%;
  margin: -100px auto 100px;
  background: #1d427c;
  color: #fff;
  padding: 50px 100px 25px;
	text-align: center;
}
.containersubpage article img {
  margin-bottom: 45px;
}
.topbanner {
  background-size: cover;
  background-position: center;
  height: 65vh;
  width: 100%;
}
/*--home--*/
header {
  padding: 0;
  position: relative;
  z-index: -5;
}
.slideroverlay {
  position: absolute;
  top: 65%;
  left: 30%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 30%;
}
.slideroverlay .btn-group-custom {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
section#history {
  background-color: #000a20;
  background-image: url("../images/NZCF-History.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  color: #f0f0f0;
  text-align: center;
}
section#history img {
  margin-bottom: 20px;
  transition: all ease .5s;
}
section#history img:hover, section#history img:focus {
  opacity: .8;
}
section#values {
  background-image: url(../images/NZCF-Army.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  color: #f0f0f0;
}
.orderrow a {
  margin: -25px auto -25px;
  max-width: 600px;
  display: block;
  text-align: center;
  color: #f0f0f0;
  background-color: #d31e47;
  font-family: "Fjalla One", sans-serif;
  font-weight: 800;
  border-radius: 70px;
  padding: 5px;
  font-size: 26px;
  z-index: 200;
  position: relative;
  text-transform: uppercase;
}
.orderrow a:hover, .orderrow a:focus {
  background-color: #003e7e;
}
/*--subpage--*/
.cardsection {
  background: #333;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 50px 75px;
  margin-bottom: -45px;
  display: block;
  color: #f0f0f0;
}
.cardsection .heading-section {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  z-index: 1;
  font-size: 1.25rem;
}
.card {
  border: none; /* Remove default card border */
  border-radius: 10px; /* Remove default card border-radius */
  margin-bottom: 30px; /* Space between cards */
  overflow: hidden; /* Ensures image corners are rounded if card is */
  text-align: left;
}
.card-body {
  background-color: #fff; /* White background for card text area */
  color: #333; /* Dark text for readability */
  padding: 2rem;
}
.card-img-top {
  width: 100%;
  object-fit: cover; /* Ensures image covers the area without distortion */
}
.card-title {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0;
  text-transform: uppercase;
}
.card-text {
  font-size: 1rem;
}
.overseas {
  background: #f0f0f0;
  padding: 50px 25px;
}
.overseas .container {
  background: #fff;
  padding: 50px;
  margin-bottom: 25px;
}
.overseas .container img {
  margin-bottom: 30px;
}
/* Custom styling for the image-right layout */
.card-image-left .row {
  flex-direction: row;
}
.card-image-right .row {
  flex-direction: row-reverse; /* Image on right */
}
.card-image-left .col-md-6, .card-image-right .col-md-6 {
  padding: 0; /* Remove padding for image column */
}
.cardfooter {
  background: #fff;
  text-align: left;
  padding: 50px;
  color: #333;
  border-radius: 10px;
}
.corpsbanner {
  background: #1d427c;
  padding: 50px 25px 75px;
  color: #fff;
  text-align: center;
}
.corpsbanner img {
  margin-bottom: 30px;
  transition: ease all .5s;
}
.corpsbanner img:hover, .corpsbanner img:focus {
  opacity: .8;
}
	.cadetjoin {
		background: #1d427c;
		color: #FFF;
		font-size: 18px;
	}
	.cadetjoin h1 {
    font-size: 50px;
}
	
	.cadetjoin a.btn.btn-primary {
    padding: 10px 35px;
    border-radius: 100px;
    border: none;
    margin: 10px;
    font-size: 26px;
    text-transform: uppercase;
    font-family: "Fjalla One", sans-serif;
    font-weight: 800;
		line-height: 1;
}
	.cadetjoin .col-md-6 {
    padding: 0;
}
	.cadetjoin .joinbox {
    padding: 100px 25px;
}
/*--FAQ--*/
.btn-link {
  font-weight: 600;
  color: rgba(0, 10, 32, 1) !important;
  text-decoration: none;
  font-size: 20px;
  text-transform: uppercase;
}
/*---Navbar---*/
nav#mainNav {
  background-color: rgba(0, 10, 32, .8) !important;
}
.navbar-expand-lg > .container, .navbar-expand-lg > .container-fluid, .navbar-expand-lg > .container-lg, .navbar-expand-lg > .container-md, .navbar-expand-lg > .container-sm, .navbar-expand-lg > .container-xl {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.navbar-brand img {
  width: 300px;
  margin: 0 0 25px;
  transition: all ease .5s;
}
div#navbarBottom {
  border-top: 1px solid #999;
}
.navbottom ul {
  width: 100%;
  padding: 0;
  height: auto;
  transition: all ease .5s;
}
.navbottom li {
  display: inline-block;
  padding: 10px 15px;
}
.navbottom li img {
  max-height: 20px;
  margin: 0;
  min-height: 35px;
  transition: all ease .5s;
}
.navbottom li img:hover, .navbottom li img:focus {
  opacity: .7;
}
.navbar-dark .navbar-nav .nav-link {
  color: #f0f0f0;
}
li.nav-item {
  font-size: 16px;
}
nav.shrink .navbar-brand img {
  margin: 0 0 10px;
  width: 200px;
}
nav.shrink div#navbarBottom {
  border-top: 0px;
  display: none;
  padding: 0;
  height: 0;
}
nav.shrink .navbottom ul {
  height: 0px;
  overflow: hidden;
}
/*--footer--*/
footer {
  background-color: rgba(0, 10, 32, 1) !important;
  padding: 75px 0px 75px;
  font-size: 11px;
  line-height: 2;
  color: #d0d0d0;
}
footer a {
  color: #d0d0d0;
}
footer img {
  max-width: 75%;
  margin-bottom: 30px;
}
footer .socialicons {
  display: flex;
  font-size: 18px;
}
footer .socialicons i {
  margin-left: 10px;
}
.copyrightrow {
  background: #D31E47;
  background: linear-gradient(135deg, rgba(211, 30, 71, 1) 0%, rgba(30, 65, 123, 1) 50%, rgba(23, 179, 232, 1) 100%);
  padding: 10px;
  text-align: center;
  font-size: 10px;
  color: #fff;
}
@media (min-width: 768px) {
  #values .row {
    display: flex;
    flex-wrap: nowrap;
  }
}
@media (max-width: 992px) {
  nav#mainNav {
    background-color: rgba(0, 10, 32, 1) !important;
  }
  .row.navtop {
    width: 100%;
    padding: 0px 25px;
  }
  .navbar-brand img {
    width: 250px;
    margin: 5px;
    transition: all ease .5s;
  }
  .orderrow a {
    margin: -25px auto -25px;
    max-width: 350px;
    font-size: 18px;
  }
  .slideroverlay {
    top: 45%;
    left: 30%;
    width: 45%;
  }
  .containersubpage {
    margin: 0;
    padding: 25px;
  }
	.containersubpageintro {
		margin: 0;
  padding: 25px;
	text-align: center;
}
  .cardsection {
    padding: 50px 25px;
  }
  .topbanner {
    background-size: cover;
    background-position: center;
    height: 25vh;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .fixed-top {
    position: relative;
  }
  section h1 {
    font-size: 36px;
    margin-bottom: 1rem;
  }
  footer {
    text-align: center;
    padding: 50px;
    font-size: 12px;
  }
  footer img {
    max-width: 65%;
    margin: 20px;
  }
}