/* General Site Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: white;
  color: #00308F;
  font-family: 'Orbitron', sans-serif;
}

/* start page container */
@media (max-width: 576px) {
  .container {
    width: 400px;
  }
}

@media (min-width: 768px) {
  .container {
    width: 700px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 900px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

/* end page container */

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white !important;
  border-bottom: 1px solid #00308F;
}

.navbar img {
  height: 50px;
  width: auto;
  max-width: 100%;
}

.navbar .nav-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #00308F !important;
  font-weight: bold;
  text-decoration: none !important;
}

.navbar .nav-title-sm {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #00308F !important;
  font-weight: bold;
  text-decoration: none !important;
}

.navbar a {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00308F;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #E27D3C;
}

/* Overlay */
.hero {
  background: url('../images/cadetwing-2025.jpg') no-repeat;
  background-position: center;
  background-size: cover;
  height: 700px;
}

.hero img {
  height: 100px;
  height: 100px;
}

.hero h1 {
  color: #E27D3C;
}

.hero h2 {
  color: #00308F;
}

/* Divider */
.divider {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 0px;
  padding-left: 60px;
  padding-right: 60px;
}

.divider .fa {
  color: #00308F;
  font-size: 60px;
  margin-bottom: 10px;
}

/* Image Carousel */
.carousel {
  position: relative;
  width: 100%;
  margin: 0px auto;
  overflow: hidden;
}

.carousel-item {
  min-width: 100%;
  position: relative;
  text-align: center;
}

.carousel-item img {
  width: 100vw;
  height: 60vh;
  object-fit: cover;
  display: inline-block;
}

.carousel-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  /* font-size: 1.5rem; */
  text-align: center;
  letter-spacing: 1px;
}

.callout {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Det Opportunities */
.det-news {
  text-align: center;
  padding: 40px 0px;
}

.det-news .header {
  font-size: 2rem;
  margin-bottom: 50px;
}

.card {
  overflow: hidden;
  border-style: none;
  border-radius: 12px;
  width: auto;
  max-width: 400px;
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 12px #00308F;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transform: scale(1.05);
}

.card-text {
  color: #ffffff;
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.card-text p {
  margin: 0;
}

@media (max-width: 992px) {
  /* .news-link {
    max-width: 150px;
  } */

  .card-text {
    height: 100%;
  }

  .card-text p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

}

.card-img-overlay {
  padding: 0;
}

/* Info Sections */
.info-header {
  font-family: 'Orbitron', sans-serif;
  /* font-size: 1.5rem; */
  color: #00308F;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.info-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #00308F;
  margin: 8px auto 0;
}

.info-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #00308F;
}

.info-list li {
  margin-bottom: 10px;
}

/* CONNECT SECTION */
.connect-section {
  background-color: #00308F;
  /* light gray */
  padding: 50px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 3px solid #ffffff;
}

.connect-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* allows stacking on mobile */
  width: 100%;
  max-width: 1200px;
}

.connect-left {
  flex: 1;
  min-width: 250px;
}

.connect-left h2 {
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin: 10px 0;
}

.social-links a {
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #007FFF;
  font-weight: bold;
}

.connect-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.connect-right img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}


/* Footer */
footer {
  background-color: #00308F;
  color: white;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  padding: 1rem 0;
}

footer p {
  margin-bottom: 0 !important;
}

/* Table Styles */
.events-table {
  margin-bottom: 0%;
}

.events-table td {
  color: #00308F;
  padding-top: 0;
  padding-bottom: 10px;
}