@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cinzel", serif;
}

body {
  font-family: "Lato", sans-serif;
}

section {
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --gold: #c79757;
}

nav .button {
  background: var(--gold);
  color: white;
  border: none;
  margin: 8px;
  padding: 10px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.6);
}

nav .button:hover {
  background: #b98f59;
}

header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}

.navbar .logo img {
  width: 100px;
  height: 100px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: var(--gold);
}

nav .button:hover {
  background: #b98f59;
  color: #fff;
}

.hero {
  position: relative;
  height: 100vh;
  background: url("Images/naitian-tony-wang-3deq-g7rcVs-unsplash.jpg") no-repeat
    center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero h1 {
  color: var(--gold);
  font-size: 6rem;
  line-height: 0.9;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 2px 2px #000000;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero .button {
  background: var(--gold);
  color: white;
  border: none;
  margin: 8px;
  padding: 10px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.6);
}

.hero .button:hover {
  background: #b98f59;
}
.hero .button1 {
  color: white;
  background: var(--gold);
  border: none;
  margin: 8px;
  padding: 10px;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.6);
}

.hero .button1:hover {
  background: #b98f59;
}

.hero .btn1:hover {
  background: var(--gold);
}

.event-card {
  background: white;
  padding: 10px 2px;
  margin: 50px;
  border-radius: 12px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.5);
  color: black;
  width: 80%;
}

.event-card p {
  margin: 8px 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: normal;
}

.event-card span {
  color: var(--gold);
  font-size: 30px;
}

#projects {
  background-image: url(Images/white-flower.jpg);
  background-position: top bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#projects .card-body {
  background-color: black;
  color: white;
  border-radius: 12px;
}

#projects .card-title {
  color: var(--gold);
}

.box-icons {
  color: var(--gold);
}

.first-section {
  margin: 5rem 0;
}

.first-section h1 {
  font-size: 3rem;
}

.first-section p {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.first-section button {
  align-self: flex-start;
}

.about {
  display: flex;
  justify-content: space-between;
}

.about .fw-bold,
.about h1 {
  color: var(--gold);
}

.about button {
  background: var(--gold);
  color: black;
  border: none;
  font-weight: bold;
  margin: 10px;
  padding: 8px;
}

.about button:hover {
  background: #b98f59;
}

.second-section {
  background-image: url(Images/SL-031152-49160-09.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.second-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.second-section p {
  font-size: 22px;
}

.second-section h3 {
  font-size: 3rem;
  color: var(--gold);
}

.host-container {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 20px 0;
}

.host-image {
  width: 280px;
  float: right;
  shape-outside: circle(50%);
  clip-path: circle(50%);
  margin-left: 25px;
  margin-bottom: 10px;
  object-fit: cover;
}

.host-text p {
  text-align: justify;
  line-height: 1.7;
  font-size: 1.05rem;
}

.third-section {
  background-image: url(Images/meet.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.third-section h2 {
  font-size: 3rem;
  font-weight: 600;
}

.contact {
  background-image: url(Images/form-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact h1 {
  padding-top: 3rem;
}
.contact h1,
.contact p {
  color: black;
}
.contact button {
  background: black;
  color: white;
  border: none;
  margin: 8px;
  padding: 8px;
  border-radius: 8px;
  transition: 0.3s;
}
.contact .form-control {
  border: 1px solid black;
}
.contact .col-lg-4 img {
  width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.event {
  /* background: url(Images/Image_fx\ \(2\).jpg); */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  grid-template-columns: repeat(1fr, 1fr);
  justify-content: center;
  align-content: center;
}

.event p {
  color: black;
  font-size: 20px;
  font-weight: bold;
}

.slideshow p {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.slideshow img {
  width: 500px;
  height: 500px;
}

/* @keyframes slide{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-100%);
  }
} */

/* .logos{
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
} */

/* .logos:before,
.logos:after{
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
} */

/* .logos-slide{
  display: inline-block;
  animation: 20s slide infinite linear;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* .logos-slide img{
  width: 500px;
  height: 250px;
  object-fit: contain;
  border-radius: 10px;
  margin: -25px 0;
} */

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.logos {
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
}
.logos-slide {
  display: inline-block;
  animation: 20s slide infinite linear;
}
.logos-slide img {
  width: 500px;
  height: 250px;
  object-fit: contain;
  margin: 0 40px;
  border-radius: 10px;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.socials,
.p-e,
.footer p {
  font-family: "Lato", sans-serif;
}

.footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.footer a:hover {
  color: #c79757;
}

.footer {
  background-color: black;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 15px;
  font-family: Georgia;
  border-top: 1px solid white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer p {
  margin-top: 10px;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--gold);
  color: white;
  padding: 10px 10px;
  border-radius: 50px;
  transition: 0.3s;
}

.back-to-top:hover {
  background-color: black;
  color: white;
}

hr {
  border: none;
  height: 3px;
  background-color: black;
}

/* ============================================
   TABLET DEVICES — 768px to 1024px
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }

  /* --- NAVBAR FIX --- */
  .navbar {
    padding: 20px 30px;
  }

  .navbar ul {
    gap: 20px;
  }

  .navbar ul li a {
    padding: 0 5px;
    font-size: 18px;
  }

  nav .button {
    padding: 8px 14px;
    font-size: 14px;
    display: none;
  }

  /* --- HERO SECTION --- */
  .hero h1 {
    font-size: 7rem;
  }

  .hero p {
    font-size: 2rem;
  }

  .event-card p {
    font-size: 1.5rem;
  }

  /* --- ABOUT SECTION --- */
  .about {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about .col-4,
  .about .col-8 {
    width: 100%;
  }

  .about img {
    width: 250px;
    margin: 0 auto;
  }

  .about h1,
  .about p {
    text-align: center !important;
  }

  .about a {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  /* --- SPEAKERS --- */
  .third-section .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .third-section img {
    width: 100% !important;
    height: auto !important;
  }

  /* --- HOST SECTION --- */
  .host-image {
    width: 300px;
    float: right;
    shape-outside: circle(50%);
    clip-path: circle(50%);
    margin: 10px -23px -25px 10px;
  }

  .host-text p {
    font-size: 20px;
    text-align: justify;
    line-height: 1.7;
  }

  /* --- FORM SECTION --- */
  .contact form {
    width: 100%;
    padding: 20px;
  }
  .contact img {
    margin-top: 20px;
    display: block;
    margin: 20px auto 0 auto;
    object-fit: cover;
    width: 100%;
  }

  /* --- EXPECTATIONS SECTION --- */
  .slideshow .d-flex {
    padding: 0 20px;
    flex-direction: column;
    text-align: center !important;
  }

  .slideshow h1 {
    text-align: center !important;
  }
  .slideshow .d-flex p {
    font-size: 18px;
    text-align: center !important;
  }

  .slideshow span {
    display: none;
  }

  .slideshow .col-6 {
    width: 100%;
  }

  .slideshow img {
    width: 70%;
    margin-top: 20px;
  }

  /* --- EVENT SECTION --- */
  .event {
    text-align: center;
  }

  .event .row {
    flex-direction: column;
  }

  .event span {
    display: none;
  }

  .event .col-lg-6 {
    width: 100%;
    margin-bottom: 20px;
  }

  .event .col-lg-6 p {
    text-align: center;
  }

  .event h1 {
    text-align: center !important;
  }

  /* --- SPONSORS --- */
  .sponsors {
    margin-top: -35px;
  }

  .logos {
    margin-top: -25px;
  }

  .logos-slide img {
    width: 420px;
    height: 170px;
    object-fit: contain;
    margin: 0 5px;
  }

  /* --- FOOTER --- */
  .footer {
    padding: 30px 10px;
  }
}

/* ============================================================
   MOBILE DEVICES — 320px to 767px
   ============================================================ */
@media (min-width: 320px) and (max-width: 767px) {
  /* --- GLOBAL RESETS FOR MOBILE --- */
  body {
    overflow-x: hidden !important;
  }

  .navbar {
    padding: 10px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .navbar .logo img {
    width: 10 0px;
    height: auto;
    display: none;
  }

  .navbar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 5px;
    gap: 12px;
  }

  .navbar ul li a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
  }

  /* place signup button below menu */
  nav .button {
    padding: 8px 14px;
    font-size: 14px;
    align-self: center;
    display: none;
  }

  .hero {
    height: 100vh;
    padding: 90px 20px 40px;
  }

  .hero h1 {
    font-size: 4rem !important;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px black;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .event-card {
    width: 90%;
    margin: 20px auto;
    padding: 10px auto;
    border-radius: 10px;
  }

  .event-card p {
    margin: 5px auto;
    font-size: 1rem;
    line-height: 1.3;
    gap: 5px;
  }

  .event-card span {
    font-size: 20px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .hero .button,
  .hero .button1 {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
  }

  /* --- ABOUT SECTION --- */
  .about {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .about .col-4,
  .about .col-8 {
    width: 100%;
  }

  .about .col-8 h1,
  .about .col-8 p {
    text-align: center !important;
  }

  .about .col-8 a {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  /* --- SPEAKERS SECTION --- */
  .third-section .grid {
    display: block;
    grid-template-columns: 1fr;
  }

  .third-section img {
    width: 100% !important;
    height: auto !important;
  }


  /* --- EXPECTATIONS / WHAT TO EXPECT --- */
  #WhatToExpect .mb-3 p {
    text-align: justify;
  }

  #expectations {
    padding-left: 10px !important;
    padding-right: 40px !important;
  }
  .slideshow p {
    max-width: 100%;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .slideshow {
    width: 100%;
  }
  .slideshow span,
  .slideshow p {
    font-size: 14px;
  }
  #expectations {
    flex-direction: column;
    overflow-x: hidden;
  }
  #expectations .col-lg-8 {
    width: 100%;
  }
  .slideshow h1 {
    text-align: center;
  }

  /* --- HOST SECTION --- */

  .host-image {
    width: 200px;
    float: right;
    shape-outside: circle(45%);
    clip-path: circle(45%);
    margin: 10px 0 10px 2px;
  }

  .host-text p {
    text-align: justify;
    line-height: 1.6;
  }

  .host-mobile h3 {
    text-align: center;
  }

  /* --- CONTACT / FORM SECTION --- */
  .contact form {
    padding: 20px;
    width: 100%;
  }

  .contact img {
    width: 90%;
    margin-top: 20px;
  }

  /* --- EVENT SECTION --- */
  .event h1 {
    text-align: center !important;
  }
  .event .row {
    flex-direction: column;
  }

  /* SPONSORS SECTION */
  .sponsors {
    margin-top: -25px;
  }

  .logos {
    margin-top: -25px;
  }

  .logos-slide img {
    width: 250px;
    height: 150px;
    object-fit: contain;
    margin: 0 10px;
  }

  /* --- FOOTER --- */
  .footer {
    text-align: center;
    padding: 20px 10px;
  }

  .footer .p-e {
    margin-top: -15px;
  }

  .footer .p-e i {
    display: block;
  }
}

@media (max-width: 360px) {
  body {
    overflow-x: hidden;
  }
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  nav .mobile-signup {
    padding: 8px 14px;
    font-size: 14px;
  }

  .event-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 361px) and (max-width: 375px) {
  body {
    overflow-x: hidden;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons a {
    padding: 10px 18px;
  }

  .nav-links li a {
    font-size: 18px;
  }

  .about img {
    width: 180px;
  }
}

@media (min-width: 376px) and (max-width: 414px) {
  body {
    overflow-x: hidden;
  }
  .hero {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .nav-links li a {
    font-size: 20px;
  }

  .about p {
    font-size: 1rem;
  }
}

/* -----------------------------------------------------------
   DESKTOP VIEW: SHOW DESKTOP VERSION, HIDE MOBILE VERSION
------------------------------------------------------------ */
@media (min-width: 1025px) {
  .host-mobile {
    display: none !important;
  }
  .host-desktop {
    display: block !important;
  }
}

/* -----------------------------------------------------------
   MOBILE + TABLET: SHOW MOBILE VERSION ONLY
------------------------------------------------------------ */
@media (max-width: 1024px) {
  /* Hide desktop version completely */
  .host-desktop {
    display: none !important;
  }

  /* Show mobile version */
  .host-mobile {
    display: block !important;
    padding: 5px 15px;
  }

  /* Text formatting */
  .host-mobile p {
    text-align: justify;
    line-height: 1.65;
    font-size: 18px;
  }

  /* Wrapped Image */
  .host-image {
    width: 160px;
    float: right;
    shape-outside: circle(46%);
    clip-path: circle(46%);
    margin: -30px 0 10px 18px;
  }
}
