* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  font-family: "Poppins";
}

/* News Section Styling */
.news-image-container {
  width: 100%;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.news-image-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-image:hover {
  transform: scale(1.05);
}

/* Enhanced Carousel Styling */
.carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: 3rem auto;
  max-width: 1200px;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .carousel {
    margin: 2rem auto;
    padding: 0 1rem;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .carousel {
    margin: 1.5rem auto;
    padding: 0 0.75rem;
  }
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: 250px;
  }
}

.carousel-control-prev,
.carousel-control-next {
  background: rgba(0, 0, 0, 0.8) !important;
  border-radius: 50% !important;
  width: 70px !important;
  height: 70px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 30px !important;
  transition: all 0.3s ease !important;
  border: 3px solid white !important;
  opacity: 1 !important;
  z-index: 10 !important;
  position: absolute !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.9) !important;
  transform: translateY(-50%) scale(1.1) !important;
  border-color: #ee7b19 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 35px !important;
  height: 35px !important;
  filter: brightness(0) invert(1) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Enhanced Hero Section */
#hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/conferences/state/state2.jpg") no-repeat center center / cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4rem 2rem;
  margin: 0;
}

@media (max-width: 768px) {
  #hero {
    min-height: 60vh;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: 50vh;
    padding: 2rem 1rem;
  }
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.h1-text {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .h1-text {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .h1-text {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
}

.mini-msg {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .mini-msg {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .mini-msg {
    font-size: 0.9rem;
  }
}

.logo-wrapper {
  display: inline-block;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .logo-wrapper {
    margin-bottom: 1rem;
  }
}

.logo-who {
  display: block;
  margin: 0 auto;
}

.text {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .text {
    padding-top: 1.5rem;
  }
}

/* Modern Add Info Section - STEM Academy & VEX Robotics */
.add-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  background-color: #f8f9fa;
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.info-card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
  flex: 1;
}

.card-content a {
  color: #EE7B19;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-content a:hover {
  color: #da7217;
  text-decoration: underline;
}

/* CAROUSEL CSS */

.slides-title {
  text-align: center;
  font-size: 2.5rem;
  font-family: Poppins;
  font-weight: 700;
  color: black;
  margin-bottom: 1rem;
}

/* Enhanced Section Styling */
.bstrap {
  margin-left: 80.5px;
  margin-right: 80.5px;
  padding: 3rem 2rem;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .bstrap {
    margin-left: 40px;
    margin-right: 40px;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .bstrap {
    margin-left: 20px;
    margin-right: 20px;
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .bstrap {
    margin-left: 10px;
    margin-right: 10px;
    padding: 1.5rem 0.75rem;
  }
}

.officer-title {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  padding: 4rem 2rem 2rem 2rem;
  margin: 0;
  color: black;
  font-size: 3rem;
}

/* Student Square Instruction Grid */
.grid-container {
  display: grid;
  grid-template-columns: 25rem 25rem 25rem;
  gap: 2rem 2.5rem;
  max-width: fit-content;
  padding: 2rem 1rem 4rem 1rem;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .grid-container {
    grid-template-columns: 20rem 20rem 20rem;
    gap: 20px 30px;
  }
  .grid-item img {
    width: 20rem;
  }
}

@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: 18rem 18rem;
    gap: 20px;
  }
  .grid-item img {
    width: 18rem;
  }
}

.student-square-title {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  padding: 4rem 2rem 2rem 2rem;
  margin: 0;
  color: black;
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .student-square-title {
    font-size: 2rem;
    padding: 2rem 1rem 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .student-square-title {
    font-size: 1.5rem;
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
}

.grid-section {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  margin: 0 0 2rem 0;
}

@media (max-width: 768px) {
  .grid-section {
    padding: 0 0.5rem;
  }
}

.grid-item img {
  width: 20rem;
  height: auto;
  max-width: 100%;
}

.grid-item {
  width: fit-content;
}

/* Responsive styles for Add Info Section */
@media (max-width: 1024px) {
  .add-info {
    gap: 2rem;
    padding: 4rem 1.5rem;
  }
  
  .card-image-wrapper {
    height: 220px;
  }
  
  .card-content {
    padding: 1.75rem;
  }
  
  .card-content h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .add-info {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 1.5rem;
  }
  
  .card-image-wrapper {
    height: 200px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.875rem;
  }
  
  .card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .add-info {
    gap: 1.5rem;
    padding: 2.5rem 1rem;
  }
  
  .card-image-wrapper {
    height: 180px;
  }
  
  .card-content {
    padding: 1.25rem;
  }
  
  .card-content h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  
  .card-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 360px) {
  .add-info {
    padding: 1.5rem 0.75rem;
    gap: 1.25rem;
  }
  
  .card-image-wrapper {
    height: 160px;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .card-content h2 {
    font-size: 1.2rem;
  }
  
  .card-content p {
    font-size: 0.85rem;
  }
}

/* Enhanced Logo Section */
.logo-wrapper {
  margin-bottom: 2rem;
}

.logo-who {
  transition: transform 0.3s ease;
}

.logo-who:hover {
  transform: scale(1.1);
}

/* Enhanced Description Section */
.who-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: 800px;
  margin: 1.5rem auto 0 auto;
  word-wrap: break-word;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .who-desc {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 1rem;
    margin: 1rem auto 0 auto;
  }
}

@media (max-width: 480px) {
  .who-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 0.75rem;
    margin: 0.75rem auto 0 auto;
  }
}

.who-desc a {
  color: #ee7b19;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.who-desc a:hover {
  color: #da7217;
  text-decoration: underline;
}

/* Enhanced Button Styling */
.btn-primary {
  background-color: #ee7b19 !important;
  border-color: #ee7b19 !important;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #da7217 !important;
  border-color: #da7217 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 123, 25, 0.3);
}

/* Officers */

.officer-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 700;
}

@media (max-width: 768px) {
  .officer-title {
    font-size: 2rem !important;
    margin-bottom: 2rem;
    padding-top: 2rem !important;
  }
}

@media (max-width: 480px) {
  .officer-title {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem !important;
  }
}
.short-desc {
  max-width: 40rem;
  font-size: 1.5rem;
  text-align: center;
  margin: 0 auto;
}

.col {
  width: 280px;
  display: flex;
  justify-content: center;
  max-width: 100%;
}

@media (max-width: 768px) {
  .col {
    width: 100%;
  }
}

.pics {
  object-fit: cover;
  width: 100%;
  height: 320px;
}

@media (max-width: 768px) {
  .pics {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .pics {
    height: 250px;
  }
}

.card-body {
  padding: 1.5rem;
}

.card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
}

.card h2 {
  color: #ee7b19;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.btn-group {
  margin-top: auto;
}

/* Responsive Design */

@media (max-width: 1024px) {
  .h1-text {
    padding-top: 3rem;
    font-size: 4rem;
  }
  .button {
    width: 200px;
    height: 50px;
    font-size: 18px;
  }
  .grid-container {
    grid-template-columns: 15rem 15rem;
  }
  .grid-item img {
    width: 15rem;
  }
}

@media (max-width: 1350px) {
  .grid-container {
    grid-template-columns: 15rem 15rem 15rem;
  }
  .grid-item img {
    width: 15rem;
  }
  .hero-content {
    padding: 0;
    margin: 0;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }

  .news-image-container {
    height: 100px;
  }

  .card .pics {
    height: 280px;
  }

  .grid-container {
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
    padding-bottom: 3rem;
  }
  
  .grid-item img {
    width: 100%;
    max-width: 100%;
  }

  .who-desc {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .who-desc a {
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }
  .grid-container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 2rem;
  }
  .grid-item img {
    width: 100%;
    max-width: 100%;
  }
  .grid-section {
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
  }
  .who-desc {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
}

@media (max-height: 768px) {
  .h1-text {
    font-size: 3.5rem;
    padding-bottom: 1.5rem;
  }
  .short-desc {
    margin-top: 1rem;
    top: 80%;
  }
  div#header {
    position: absolute;
    width: 100%;
    z-index: 2;
  }
  #hero {
    min-height: 80vh;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }
}

@media screen and (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }

  .carousel {
    margin: 1rem 0;
    border-radius: 8px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px !important;
    height: 50px !important;
    margin: 0 15px !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 25px !important;
    height: 25px !important;
  }
}

@media screen and (max-width: 490px) {
  p.lead.mb-4 {
    font-size: 0.9rem;
  }
  #hero {
    min-height: 50vh;
    max-height: 60vh;
  }
  .carousel-item img {
    height: 200px;
    width: 100%;
    object-fit: cover;
  }
}

.googleslideshow {
  position: relative;
  width: 100%;
  max-width: 960px;
  padding-top: 30%; /* Maintains a 16:9 aspect ratio */
  margin: 3rem auto; /* Centers the slideshow horizontally */
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

@media screen and (max-width: 1305px) {
  .googleslideshow {
    padding-top: 56.25%;
  }
}

@media screen and (max-width: 768px) {
  .googleslideshow {
    padding-top: 56.25%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 2rem auto;
  }
}

@media screen and (max-width: 480px) {
  .googleslideshow {
    padding-top: 56.25%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin: 1.5rem auto;
  }
}

.googleslideshow iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-wrapper {
  height: 0;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 390px) {
  .h1-text {
    font-size: 1.5rem;
    padding-top: 0px;
  }
  .hero-content {
    padding-top: 0;
  }
  p.lead.mb-4 {
    font-size: 0.85rem;
  }
  .mini-msg {
    font-size: 0.8rem;
  }
  .bstrap {
    margin-left: 5px;
    margin-right: 5px;
    padding: 15px 5px;
  }
}

/* FOOTER CSS */
/* FOOTER CSS */
/* FOOTER CSS */
/* FOOTER CSS */
/* FOOTER CSS */
/* FOOTER CSS */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* #10182B for the black, #EE7B19 for the orange, and white*/

body {
  font-family: "Poppins", sans-serif;
  display: flex; /* Add this to create a flex container */
  flex-direction: column; /* Stack elements vertically */
  min-height: 100vh; /* Ensure the body takes up the full viewport height */
}

.footer {
  margin-top: auto; /* Push the footer to the bottom of the page */
  background: #10182b;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: block;
  transition: 0.5s;
}
.social-icon__link:hover {
  transform: translateY(-10px);
  color: #ee7b19;
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
  color: #ee7b19;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}
