:root {
  --bg1: #071426;
  --bg2: #081f34;
  --accent: #c79a2b;
  --muted: #9fb0c0;
  --light: #ffffff;
  --card: rgba(255, 255, 255, 0.03);
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--light);
  -webkit-font-smoothing: antialiased;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--light);
  cursor: pointer;
}
.btn.primary {
  background: var(--accent);
  color: #041018;
  border: none;
  font-weight: 700;
}
.hero {
  padding-top: 100px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  text-align: center;
  height: 100vh;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(199, 154, 43, 0.06),
      transparent
    ),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.2));
  pointer-events: none;
}

.hero-left h1 {
  font-size: 5rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  font-family: Georgia, serif;
}

.hero-left .wes {
  color: var(--accent);
}
.hero-left p {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
}
.hero-left .tag {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.hero-left .meta {
  font-size: 1.5rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
}  

h1 {
  font-size: 2.2rem;
  margin: 0.2rem 0;
}
.tag {
  opacity: 0.9;
  margin-bottom: 1rem;
  color: var(--muted);
}
.meta {
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero-ctas {
  gap: 0.8rem;
  margin-bottom: 5rem;
}
.countdown {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}
.countdown div {
  background: var(--card);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  text-align: center;
}
.section {
  padding: 3rem 0;
}
.banner-thumb img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  margin-top: 1rem;
}
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.speaker-card {
  text-align: center;
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid var(--accent);
}
.speaker-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.6rem;
  display: block;
}
.role {
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.sponsor-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.sponsor img {
  width: 160px;
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem;
  border: 2px solid var(--accent);
}

.sponsor img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--light);
  margin-bottom: 1rem;
}

/* Register page styling */
.register-section .register-form {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
}
.register-section .register-form .form-row {
  display: flex;
  gap: 0.6rem;
}
.register-section .register-form .form-row input,
.register-section .register-form .form-row select {
  flex: 1;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--light);
  margin-bottom: 1rem;
}

.site-footer {
  background: rgba(2, 20, 40, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 3rem 0 1.5rem;
  color: var(--light);
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* Brand */
.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.footer-brand p {
  color: var(--muted);
  margin-bottom: 1rem;
}
.social-links a {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
  color: var(--light);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
  background: var(--accent);
  color: #041018;
  transform: translateY(-3px);
}

/* Links */
.footer-links h4,
.footer-newsletter h4 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 0.5rem;
}
.footer-links ul li a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links ul li a:hover {
  color: var(--accent);
}

/* Newsletter */
.footer-newsletter p {
  margin-bottom: 0.8rem;
  color: var(--muted);
}
.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
}
.footer-newsletter input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light);
}
.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.footer-newsletter button {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #041018;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.footer-newsletter button:hover {
  background: #ffcc33;
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.back-top {
  font-weight: bold;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 600px) {
  .footer-newsletter form {
    flex-direction: column;
  }
  .footer-newsletter button {
    width: 100%;
  }
}


/* Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 200;
}
.modal .modal-inner {
  background: linear-gradient(180deg, #06202b, #041422);
  padding: 1.2rem;
  border-radius: 12px;
  color: var(--light);
  min-width: 320px;
  max-width: 720px;
  width: 100%;
}
.register-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.choice-card {
  display: inline-block;
  padding: 1.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--light);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.choice-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  transform: translateY(-2px);
}

#registerChoiceModal .modal-inner {
  max-width: 820px;
}
.modal .close {
  float: right;
  background: transparent;
  border: 0;
  color: var(--light);
  font-size: 1.6rem;
  cursor: pointer;
}
.modal .bioClose {
  position:relative;
  top: -107px;
  left: -4px;
}
.bio {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.bio-inner_cont{
  display: flex;
}

.bio-left h3 {
  color: var(--accent);
  font-family: "Lora", "serif";
  margin-bottom: .2rem;
  text-align: center;
  font-weight: 900;
  font-size: 2.2rem;
} 

p.bioText {
  color: var(--muted) !important;
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  margin-top: 0.5rem !important;
  text-align: justify !important;
  margin-bottom: 1.5rem !important;
}


.bio-right img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
}

/* Registration form modal */
.modal form {
  display: flex;
  flex-direction: column;
}
.modal form input {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--light);
  margin-bottom: 1rem;
}
.modal form button {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #041018;
  cursor: pointer;
  font-weight: 700;
}
.modal form button:hover {
  background: var(--accent);
}

.modal form .form-row {
  display: flex;
  gap: 0.6rem;
}
.modal form .form-row input {
  flex: 1;
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--light);
  margin-bottom: 1rem;
}
.modal form .form-row select {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--light);
  margin-bottom: 1rem;
}

/* responsive */
@media (max-width: 900px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    margin-bottom: 3rem;
  }

  .hero-left h1 {
    font-size: 2.4rem;
  }
  .hero-left .tag {
    font-size: 1rem;
  }
  .hero-left .meta {
    font-size: .9rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;   
  }
  section {
    padding: 2rem;
  }
}



@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    padding: 0.6rem 0;
  }
  .hero {
    padding-top: 80px;
    margin-bottom: 3rem;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }
  .hero-left p {
    font-size: 1.4rem;
  } 

  .bio {
    flex-direction: column;
  }
  .bio-right img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .register-choice-grid {
    grid-template-columns: 1fr;
  }

  .countdown {
    gap: .8rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .countdown div span{
    font-size: .8rem;
  }

  .modal .bioClose {
  position:relative;
  top: 0px;
  left: 0px;
}

.bio-inner_cont{
  flex-direction: column-reverse;
}
}

@media (max-width: 400px) {
  .hero-left h1 {
    font-size: 1.5rem;
  }
  .hero-left .tag {
    font-size: .7rem;
  }
  .hero-left .meta {
    font-size: .6rem;
  }     

  .hero-ctas .btnSpeaker {
    display: none; 
  }
}

/* light theme */
:root.light {
  --bg1: #f7fafc;
  --bg2: #e6eef7;
  --accent: #b07c1e;
  --muted: #375a6a;
  --light: #061226;
  --card: rgba(6, 18, 38, 0.03);
}
