@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap");

:root {
  --primary-color: #b32557;
  --white: #ffffff;
  --max-width: 1200px;
  /* AI-themed hexagon grid pattern */
  --bg-hex-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%' stop-color='%23A5D6A7' stop-opacity='0.15'/%3E%3Cstop offset='100%' stop-color='%23FFFFFF' stop-opacity='0.08'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='url(%23g)' stroke-width='1' fill='none'%3E%3Cpath d='M30 2 l30 0 l15 26 l-15 26 l-30 0 l-15 -26 Z'/%3E%3Cpath d='M90 2 l30 0 l15 26 l-15 26 l-30 0 l-15 -26 Z'/%3E%3Cpath d='M0 52 l30 0 l15 26 l-15 26 l-30 0 l-15 -26 Z'/%3E%3Cpath d='M60 52 l30 0 l15 26 l-15 26 l-30 0 l-15 -26 Z'/%3E%3C/g%3E%3C/svg%3E");
  --bg-grad-start: #062e24;
  --bg-grad-end: #0b513f;
}

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

body {
  min-height: 100vh;
  font-family: "Fredoka", sans-serif;
  background-image: var(--bg-hex-url), linear-gradient(120deg, var(--bg-grad-start) 0%, var(--bg-grad-end) 100%);
  background-size: 220px 190px, cover;
  background-attachment: fixed, fixed;
  background-position: 0 0, center;
  animation: hex-pan 45s linear infinite;
}

.landing_container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: auto;
  overflow: hidden;
}

nav {
  padding: 1rem 1rem;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__links > div li:not(:first-child) {
  display: none;
}

.nav__links img {
  max-width: 50px;
}

.nav__links a {
  position: relative;
  isolation: isolate;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 500;
  color: var(--white);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav__links a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--white);
  transition: 0.3s;
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.banner__container {
  flex: 1;
  min-height: 80vh;
  width: 100%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}


.banner__container h1,
.banner__container h2 {
  font-size: 4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 4rem;
}

.banner__container h3 {
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
}

.banner__container h1 {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.banner__container button {
  max-width: fit-content;
  margin-block: 0.5rem;
  padding-left: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: transparent;
  outline: none;
  border: 2px solid var(--white);
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.banner__container button span {
  padding: 10px 25px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.banner__container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background-color: rgba(255,255,255,0.06);
}

.button-container {
  display: flex;
  gap: 10px; /* Adjust the space between buttons */
  margin-top: 8%;
}
.button-container button {
  cursor: pointer;
  text-decoration: none;
}
.button-container a {
  text-decoration: none;
}

.row_container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 6%;
  margin-right: 6%;
  gap: 3rem;
  width: 100%;
}
.col {
  flex: 1;
}
.col-text {
  color: #fff;
}

.col-text h1 { margin-top: 0.25rem; }
.col-text h2 { margin-top: 0.25rem; }
.col-logo img {
  max-width: 100%;
  height: auto;
}




/* Positioning Hornet Container */
.col-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}



.col-logo .sac-logo { display: block; }

.col-logo .sac-logo {
  z-index: 1;
}

.sac-logo {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.sac-logo svg {
  width: 100%;
  height: auto;
  animation: floaty 8s ease-in-out infinite, bridge-rotate 20s linear infinite;
}

.bridge-3d {
  transform-origin: center center;
}

.ai-nodes circle {
  animation: node-pulse 2.8s ease-in-out infinite;
}

.ai-nodes circle:nth-child(2) { animation-delay: 0.2s; }
.ai-nodes circle:nth-child(3) { animation-delay: 0.4s; }
.ai-nodes circle:nth-child(4) { animation-delay: 0.6s; }
.ai-nodes circle:nth-child(5) { animation-delay: 0.8s; }
.ai-nodes circle:nth-child(6) { animation-delay: 1.0s; }
.ai-nodes circle:nth-child(7) { animation-delay: 1.2s; }
.ai-nodes circle:nth-child(8) { animation-delay: 1.4s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes bridge-rotate {
  0% { transform: perspective(1000px) rotateX(15deg) rotateY(-25deg) rotateZ(0deg); }
  25% { transform: perspective(1000px) rotateX(12deg) rotateY(-20deg) rotateZ(1deg); }
  50% { transform: perspective(1000px) rotateX(15deg) rotateY(-25deg) rotateZ(0deg); }
  75% { transform: perspective(1000px) rotateX(18deg) rotateY(-30deg) rotateZ(-1deg); }
  100% { transform: perspective(1000px) rotateX(15deg) rotateY(-25deg) rotateZ(0deg); }
}


.info-container {
  padding: 10rem 0 3rem 0;
}

.info-container h1,
.info-container h2 {
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  padding-bottom: 4rem;

}

.info-container h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
}

.info-container p {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--white);
}

.info-container button {
  max-width: 100%;
  padding: 1rem 1rem 1rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  color: var(--white);
  background-color: transparent;
  outline: none;
  border-bottom: 2px solid #c5bc9c;
}

.content {
  background-color: transparent;
  margin-right: 5rem;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.collapsible.active + .content {
  padding: 12px 18px;
}

.content p {
  background-color: transparent;
  font-size: 1.2rem;
}
footer {
  padding: 10rem 0 3rem 0;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.collapsible {
  background-color: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  border-radius: 12px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.active, .collapsible:hover {
  background-color: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

@keyframes scroll-down {
  0% {
    translate: 0 0;
  }
  50% {
    translate: 0 10px;
  }
  100% {
    translate: 0 0;
  }
}

@keyframes hex-pan {
  from {
    background-position: 0 0, center;
  }
  to {
    background-position: 240px 200px, center;
  }
}


.organizers-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.organizers-container img {
  width: 100%;
  transition: transform 0.2s ease;
}

.organizers-container a {
  width: 25%;
  min-width: 150px;
  padding: 10px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.organizers-container a:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.socials {
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.socials a {
  text-decoration: none;
  padding: 6px 8px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.marquee {
  background-color: #fff;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  margin-top: 10rem;
  padding: 0.5rem;
  font-size: 1.5rem;
}
.marquee__slider {
  display: flex;
  flex-direction: row;
  object-fit: cover;
  padding: 5px;
  animation: marquee linear 40s infinite;
  gap: 1rem;
}

.marquee:hover .marquee__slider {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

/*
@media (width > 540px) {
.banner__container h1,
.banner__container h2 {
  font-size: 5.5rem;
  line-height: 5.5rem;
}
}
*/












/* Media Queries for modern phones and tablets */

/* Small phones (320px - 480px) */
@media (max-width: 480px) {
  .landing_container {
    width: 95%;
    margin: 0 auto;
  }

  .row_container {
    flex-direction: column;
    align-items: center;
    margin: 0 2%;
    gap: 2rem;
  }

  .banner__container h1,
  .banner__container h2 {
    font-size: 2.2rem;
    line-height: 2.5rem;
    text-align: center;
  }

  .banner__container h3 {
    font-size: 1rem;
    text-align: center;
  }

  .banner__container button {
    font-size: 0.8rem;
  
    width: 100%;
    justify-content: center;
  }

  .button-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 8%;
    width: 100%;
  }

  .col-logo {
    margin-top: 2rem;
    width: 100%;
  }

  .col-logo img {
    max-width: 80%;
    height: auto;
  }

  .info-container {
    padding: 4rem 1rem 2rem 1rem;
  }

  .info-container h2 {
    font-size: 2rem;
    text-align: center;
  }

  .info-container p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .collapsible {
    font-size: 14px;
    padding: 15px;
  }

  .content {
    margin-right: 0;
  }

  .organizers-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .organizers-container a {
    width: 80%;
    max-width: 200px;
  }

  .socials {
    justify-content: center;
    margin-top: 1rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 3rem 1rem;
  }

  body {
    background-size: 150px 130px, cover;
    animation-duration: 60s;
  }
}

/* Tablets and large phones (481px - 778px) */
@media (max-width: 778px) {
  .landing_container {
    width: 95%;
    margin: 0 auto;
  }


.row_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.col {
  width: 100%;
  text-align: center;
}

.col-logo {
  margin-top: 50px; /* Adjust the spacing as needed */
}

.button-container a {
  display: block;
  width: 100%;
  margin: 5px 0; /* Spacing between buttons */
}

.button-container button {
  margin: auto;      
  width: 100%;
}

.banner__container h1,
.banner__container h2 {
  font-size: 3.5rem;
  line-height: 4rem;
}

.banner__container h3 {
  font-size: 1.3rem;
}
.banner__container h4 {
  font-size: 1rem;
}

.banner__container button {
  font-size: 0.9rem;
  padding-left: 0.8rem;
}


.info-container h2 {
  font-size: 2rem;
}

.info-container p {
  font-size: 1.3rem;
}

.organizers-container {
  display: flex;
  flex-direction: column; /* Stacks images vertically */
  align-items: center; /* Centers images horizontally */
  gap: 20px; /* Adds space between images */
}

.organizers-container img {
    max-width: 100%; /* Ensures images are responsive */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes any extra spacing below images */
}

.collapsible {
  width: 90%;
}

footer {
  flex-direction: column;
  gap: 20px;
}

footer p {
  margin-bottom: 10px;
  text-align: center;
}


}

/* Large tablets and small desktops (779px - 1024px) */
@media (min-width: 779px) and (max-width: 1024px) {
  .landing_container {
    width: 90%;
    margin: 0 auto;
  }

  .row_container {
    margin: 0 4%;
    gap: 3rem;
  }

  .banner__container h1,
  .banner__container h2 {
    font-size: 4.5rem;
    line-height: 5rem;
  }

  .banner__container h3 {
    font-size: 1.4rem;
  }

  .info-container {
    padding: 6rem 3rem 4rem 3rem;
  }

  .info-container h2 {
    font-size: 2.8rem;
  }

  .info-container p {
    font-size: 1.2rem;
    line-height: 1.7;
  }

  .organizers-container {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .organizers-container a {
    width: 30%;
    min-width: 180px;
  }

  body {
    background-size: 200px 170px, cover;
  }
}

/* Desktop and large screens (1025px+) */
@media (min-width: 1025px) {
  .nav__links > div li:not(:first-child) {
    display: block;
  }

  .nav__links > div {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .banner__container h1,
  .banner__container h2 {
    font-size: 6.5rem;
    line-height: 6.5rem;
  }
}


