/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #fff;
  background-color: #000;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://diigima.es/images/bg.jpg') bottom center/cover no-repeat fixed;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

body.bg-loaded::before {
  opacity: 1;
}

@supports (-webkit-overflow-scrolling: touch) {
  body::before {
    background-attachment: scroll;
  }
}

/* iOS specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: -webkit-fill-available;
  }
  
  .main-content {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,0.75);
  }
}

a { text-decoration: none; color: inherit; }

/* Add this to fix mobile background */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
  }
  .main-content {
    background: rgba(0,0,0,0.85); /* Darker background on mobile for better readability */
  }
}

/* NAVIGATION */
#bootcamp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.85);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}
#bootcamp-nav.show-nav { transform: translateY(0); }
#bootcamp-nav .nav-left { display: flex; align-items: center; }
#bootcamp-nav .nav-left img { width: 40px; filter: brightness(0) invert(1); }
#bootcamp-nav h3 { font-size: 0.9rem; margin-left: 1rem; font-weight: 700; }
#bootcamp-nav button {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0.6rem 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#bootcamp-nav button:hover { background: #fff; color: #000; }

/* HERO SECTION */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1s forwards;
}
@media (max-width: 768px) {
  .hero { 
    height: 70vh;
    background-attachment: scroll;
  }
}
@keyframes fadeIn { to { opacity: 1; } }
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}
.hero-content .logo { width: 80px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.hero-content h1 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; }
.hero-content p { font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.4; }
.btn-hero {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-hero:hover { background: #fff; color: #000; }

/* MAIN CONTENT */
.main-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0,0,0,0.7);
}
.main-content section { margin-bottom: 3rem; }
.main-content h2 { font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; font-weight: 700; }
.divider { width: 60px; height: 2px; background: #fff; margin: 1.5rem auto; }
.section-description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 auto 1rem;
  max-width: 700px;
  text-align: left;
}

/* WORKSHOP DETAILS */
.workshop-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  text-align: center;
}
.detail-item {
  background: rgba(119,119,119,0.7);
  padding: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-icon { width: 40px; height: 40px; margin-bottom: 0.5rem; filter: brightness(0) invert(1); }
.detail-text h3 { font-size: 1.1rem; margin-bottom: 0.25rem; font-weight: 700; line-height: 1.2; }
.detail-text p { font-size: 1rem; margin: 0; line-height: 1.2; }

/* WORKSHOP SCHEDULE */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 768px) { .schedule-grid { grid-template-columns: repeat(3, 1fr); } }
.schedule-column { display: flex; flex-direction: column; gap: 1rem; }
.category-title { text-align: center; font-size: 1.2rem; font-weight: 700; margin: 1rem 0 0.5rem; }
.schedule-item {
  background: rgba(119,119,119,0.7);
  padding: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}
.schedule-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 0.5rem 0;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
}
.schedule-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.schedule-title-lines { display: inline-block; }
.schedule-item p,
.schedule-item li { font-size: 0.9rem; line-height: 1.4; }
.schedule-item ul { list-style: inside; padding-left: 0; margin-top: 0.5rem; }

/* WHAT YOU NEED */
.needs {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
  gap: 1rem;
}
.need-item {
  text-align: center;
  background: rgba(119,119,119,0.7);
  padding: 1rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}
.need-item img { width: 40px; height: 40px; margin-bottom: 0.5rem; filter: brightness(0) invert(1); }
.need-item span { display: block; font-size: 0.9rem; line-height: 1.2; }

/* INSTRUCTORS */
.instructors {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.instructor { text-align: center; max-width: 300px; }
.instructor img {
  width: 100%;
  border-radius: 50%;
  max-width: 150px;
  margin-bottom: 1rem;
}
.instructor h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.instructor p { font-size: 0.9rem; line-height: 1.4; text-align: left; }

/* URGENCY */
.urgency {
  text-align: center;
  margin: 2rem auto;
  padding: 1rem;
  max-width: 600px;
  background: rgba(255,255,255,0.1);
  border: 2px solid #fff;
  border-radius: 5px;
}
.urgency h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.seat-icons {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.seat-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}
.seat-icon.available {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px #0f0);
}
.blink { opacity: 0.3 !important; }
.urgency p { text-align: center; font-size: 1rem; font-weight: 700; color: #fff; }
.urgency .last-update { font-size: 0.9rem; margin-top: 0.5rem; }

/* CTA ROW */
.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.section-cta {
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.section-cta:hover { background: #fff; color: #000; }

/* FORM CONTAINER */
.form-container {
  margin-top: 3rem;
  background: rgba(119,119,119,0.7);
  padding: 1rem;
  border-radius: 5px;
}
.form-container label {
  display: block;
  margin: 0.5rem 0 0.2rem;
}
.form-container input,
.form-container textarea {
  width: 100%;
  background: #000;
  border: 1px solid #444;
  color: #fff;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 3px;
  font-size: 1rem;
}
.form-container button {
  padding: 0.75rem 1.5rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-container button:hover { background: #fff; color: #000; }

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid #333;
  background: rgba(0, 0, 0, 0.85);
  margin: 0;
  width: 100%;
}

/* OPTIONAL MODAL (if used) */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.95);
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.modal.show-modal {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: #111;
  margin: 20px auto;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 5px;
  position: relative;
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show-modal .modal-content {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10px auto;
    width: 95%;
  }
}

.modal-content h2 { text-align: center; margin-bottom: 1rem; }
.close {
  position: absolute;
  top: 1rem; right: 1rem;
  cursor: pointer;
  font-size: 1.4rem;
  color: #fff;
}
.modal-content form input,
.modal-content form textarea {
  width: 100%;
  background: #000;
  border: 1px solid #444;
  color: #fff;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 3px;
  font-size: 1rem;
}
.modal-content form button {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
}
.modal-content form button:hover { background: #ccc; }

.section-icon { width: 20px; }

/* MEDIA QUERIES FOR DESKTOP */
@media (min-width: 769px) {
  /* Increase nav title and button size on desktop */
  #bootcamp-nav h3 { font-size: 1rem; }
  #bootcamp-nav button { padding: 1rem 2rem; font-size: 1rem; }
  
  /* Hero section: Increase font sizes on desktop */
  .hero-content .logo { width: 100px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
  .btn-hero { padding: 1rem 2rem; font-size: 1.2rem; }
  
  /* Increase CTA button size on desktop */
  .section-cta { padding: 1rem 2rem; font-size: 1.1rem; }
  
  /* Increase main content heading font sizes */
  .main-content h2 { font-size: 2rem; }
  
  /* Increase form input font sizes */
  .form-container input,
  .form-container textarea { font-size: 1.1rem; }
  
  /* Remove the fixed background background override since it's now in body */
  .main-content { background: rgba(0, 0, 0, 0.7); }
}


.termsfeed-com---nb-simple {
  right: 0!important;
  left: 0!important;
max-width: 100%!important;
}

.cc-nb-okagree, .cc-nb-reject, .cc-nb-changep, .cc-cp-foot-save
{
background-color: white!important;
color: black!important;
}

@media (max-width: 480px) {
  .termsfeed-com---nb .cc-nb-okagree, .termsfeed-com---nb .cc-nb-reject, .termsfeed-com---nb .cc-nb-changep {
      display: block!important;
      width: fit-content!important;
  height: max-content!important;
  }
}

.termsfeed-com---nb .cc-nb-okagree, .termsfeed-com---nb .cc-nb-reject, .termsfeed-com---nb .cc-nb-changep, .cc-cp-foot-save {
height: max-content!important;
letter-spacing: normal!important;
}

.cc-nb-buttons-container
{
  display: flex!important;
  max-width: 100%!important;
  flex-wrap: wrap!important;
  justify-content: center!important;
}

.cc-nb-main-container {
padding: 1rem!important;
}

.cc-nb-text-content 
{
font-size: .8rem!important;
}

#cc-nb-text
{
text-align: center;
}

.cc-cp-body-tabs-item-link {
  color: #666 !important;
height: auto!important;
letter-spacing: normal!important;
}

.termsfeed-com---pc-dialog input[type=checkbox].cc-custom-checkbox+label:before {

  background: #212121 !important;


}

#cc-nb-title {
display: none!important;
}

.termsfeed-com---palette-dark .cc-pc-head-close:active, .termsfeed-com---palette-dark .cc-pc-head-close:focus {
  border: none!important;
}


body.loading,
body.loading * {
  cursor: wait !important;
}