/* Main site stylesheet for Joshua Sun Capital (2025-07-07)
   Used by: index.html, indexText.html, course.html, terms.html, privacy.html, etc. */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
}
html, body {
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
  height: 100%;
  overflow-y: auto;
}
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-image: url("header1.png");
  background-size: 1200px 200px;
  background-color: black;
  height: 150px;
}
.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 0 0;
  position: relative;
}
.logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.partner-logos-left, .partner-logos-right {
  display: flex;
  gap: 8vw;
  align-items: center;
}
.js-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.partner-logo {
  height: 60px;
  transition: opacity 0.3s ease;
}
.nav-section {
  background-color: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding: 5px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  position: absolute;
  top: 160px;
  right: 2rem;
  z-index: 2;
}
.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #ffd700;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffd700;
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.main-container {
  padding-top: 160px;
  padding-bottom: 80px;
  overflow-y: auto;
}
.course-section {
  background: linear-gradient(90deg, #222 60%, #ffd70022 100%);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 16px rgba(255, 215, 0, 0.08);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
}
.course-section h2 {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  font-family: 'Merriweather', 'Georgia', serif;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #222, 0 1px 0 #bfa100;
}
.course-section p {
  color: #7fffd4;
  font-size: 1.08rem;
  margin-bottom: 1.1rem;
  font-family: 'Merriweather', 'Georgia', serif;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 4px #111;
}
.course-section .course-text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.course-section .course-video {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.footer-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 50;
  backdrop-filter: blur(10px);
}
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}
.footer-left, .footer-center, .footer-right {
  flex: 1;
}
.footer-left {
  text-align: left;
}
.footer-center {
  text-align: center;
}
.footer-right {
  text-align: right;
}
.footer-bottom p {
  font-size: 12px;
  color: #cccccc;
}
.footer-link {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #ffffff;
}
.powered-by-banner {
  font-family: 'Times New Roman', sans-serif;
  color: firebrick;
  font-size: 12px;
  margin: 0;
  font-weight: 400;
}
@media (max-height: 768px) {

  .header-container {
    height: 60px;
  }
  
  .js-logo {
    width: 40px;
    height: 40px;
  }
  .partner-logo {
    height: 25px;
  }
  .nav-links {
    top: 80px;
    right: 2rem;
  }
  .main-container {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: calc(100vh - 160px);
  }
  .cta-container{

    padding: 20px 10px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 120px;
  }
  .logo-section {
    padding: 10px 0;
    height: 120px;
  }
  .logos-container {
    flex-direction: row;
    gap: 15px;
  }
  .partner-logos-left, .partner-logos-right {
    flex-direction: column;
    gap: 15px;
  }
  .js-logo {
    width: 70px;
    height: 70px;
  }
  .partner-logo {
    height: 40px;
  }
  .nav-links {
    top: 130px;
    right: 2rem;
  }
  .nav-links a {
    margin-left: 0;
    margin-right: 1rem;
  }
  .nav-links a:last-child {
    margin-right: 0;
  }
  .main-container {
    padding-top: 200px;
    padding-bottom: 60px;
    min-height: calc(100vh - 260px);
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .footer-left, .footer-center, .footer-right {
    text-align: center;
  }
  .footer-bottom p {
    font-size: 11px;
  }
  .powered-by-banner {
    font-size: 10px;
  }
  .course-section {
    flex-direction: column;
    align-items: center;
  }
  .course-section .course-text, .course-section .course-video {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  body {
    padding: 20px 10px;
  }
  .form-container {
    padding: 20px 15px;
  }
  h1 {
    font-size: 8vw;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  /* Reduce space between title and video section */
  .video-section {
    margin-top: -5px;
  }
  .section {
    padding: 15px;
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 20px;
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea, select, .dropdown-header {
    padding: 10px;
    font-size: 14px;
  }
  button {
    padding: 12px 15px;
  }
  .dropdown-options .checkbox-item {
    padding: 8px 10px;
  }
  /* Improve form layout on small screens */
  .form-group {
    margin-bottom: 15px;
  }
  /* Make the video container responsive */
  .video-container {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .video-container video {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
  }
  /* Adjust success message for small screens */
  .success-message {
    padding: 20px 15px;
  }
  /* Adjust QR code size for mobile */
  .qr-code {
    max-width: 150px;
  }
  /* Additional styles specific to the thank you page */
  .thank-you-container {
    max-width: 800px;
    font-size: 2vw;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .thank-you-header {
    text-align: center;
    margin-bottom: 25px;
  }
  .thank-you-content {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  .instagram-button {
    display: inline-block;
    background-color: #C13584;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .instagram-button:hover {
    background-color: #9a2a67;
  }
  .share-section {
    margin-top: 40px;
    text-align: center;
  }
  .qr-code {
    max-width: 200px;
    margin: 20px auto;
    display: block;
  }
  .return-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    margin: 30px auto 10px;
    max-width: 200px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  .return-button:hover {
    background-color: #45a049;
  }
}
/* Very small devices (phones, 480px and down) */
@media screen and (max-width: 480px) {
  body {
    padding: 10px 5px;
  }
  h1 {
    font-size: 8vw;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  h1:after {
    width: 70px;
    margin: 8px auto 0;
  }
  /* Further reduce space between title and video section */
  .video-section {
    margin-top: -9px;
  }
  /* Adjust video caption spacing */
  .video-caption {
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 18px;
  }
  /* Stack form elements better on very small screens */
  .form-container {
    padding: 15px 10px;
  }
  .section {
    padding: 12px;
    margin-bottom: 15px;
  }
  /* Further improve video display on very small screens */
  .video-container video {
    max-height: 300px;
  }
  /* Further improve readability of form elements */
  label {
    font-size: 14px;
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea, select, .dropdown-header {
    padding: 8px;
  }
  /* Make sure buttons are easy to tap */
  button {
    padding: 12px;
    font-size: 16px;
  }
  /* Improve success message readability */
  .success-message ul {
    padding-left: 20px;
  }
  .success-message li {
    margin-bottom: 12px;
  }
  /* Additional styles specific to the thank you page */
  .thank-you-container {
    max-width: 800px;
    font-size: 4vw;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .thank-you-header {
    text-align: center;
    margin-bottom: 25px;
  }
  .thank-you-content {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
  }
  .instagram-button {
    display: inline-block;
    background-color: #C13584;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: bold;
    transition: background-color 0.3s;
  }
  .instagram-button:hover {
    background-color: #9a2a67;
  }
  .share-section {
    margin-top: 40px;
    text-align: center;
  }
  .qr-code {
    max-width: 200px;
    margin: 20px auto;
    display: block;
  }
  .return-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    margin: 30px auto 10px;
    max-width: 200px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
  }
  .return-button:hover {
    background-color: #45a049;
  }
}