:root {
  --color1: rgb(249,208,4); /* Hexadecimal color value */
  --color2: rgb(249, 248, 248);
}

body {
    background-color: black;
    color: var(--color1);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.navbar {
    position: relative;
    background-color: black;
    padding: 10px;
}

.menu-toggle {
    font-size: 30px;
    color: var(--color1);
    cursor: pointer;
    display: block;
    padding: 10px;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: black;
    position: absolute;
    top: 50px;
    left: 10px;
    width: 150px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.menu li {
    border-bottom: 1px solid var(--color1);
}

.menu li a {
    display: block;
    color: var(--color1);
    text-decoration: none;
    padding: 10px;
}

.menu li a:hover {
    background-color: var(--color1);
    color: black;
}

.show {
    display: block;
}

.mainbody{
    width: 60%;
    margin: 0 auto;
}
/* Container to center content */
.container {
    width: 100%;
    text-align: center;
}

/* Header section with image and hamburger menu */
.header {
    display: flex;
    align-items: flex-start; /* Align logos to the top */
    justify-content: flex-start;
    padding: 0.25rem 1rem; /* Reduce vertical padding */
    margin: 0;
}

/* Styling for the image */
.logo {
    width: 130px;
    height: auto;
    margin: 0 10px 0 0;
    padding: 0;
    vertical-align: top;
}

/* Hamburger menu icon */
.hamburger-menu {
    font-size: 30px;
    cursor: pointer;
}

/* Title styling */
.title {
    font-size: 2.5em;
    margin-top: 20px;
    color: var(--color2);
    background: linear-gradient(90deg, rgb(249,208,4) 20%, #7acf2bfb 45%, #2b7bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Gradient title */
.gradient-title {
  font-weight: 800;
  font-size: clamp(34px, 6.8vw, 84px);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
  background: linear-gradient(90deg, #ff1f81 0%, #b14bd9 45%, #2b7bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  white-space: nowrap;
}

.intro {
  width: 70%;  
  margin: 0 auto;
  font-size: 16px;
  margin-top: 6px;
  font-weight: 200;
  text-align: left;
  line-height: 1.8;
   font-family: 'Menlo'; min-height:14px;
   color: var(--color1);

}
/* Body text styling */
.body-text {
    margin-top: 40px;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Table of Contents styling */


.toc {
  width: 70%;  
  margin: 0 auto;
  font-size: 16px;
  margin-top: 6px;
  font-weight: 200;
  text-align: left;
  line-height: 1.8;
   font-family: 'Menlo'; min-height:14px;
   color: var(--color2);
}

.toc h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.toc ul {
    list-style-type: disc;
    padding-left: 0; /* Remove default padding */
    margin-left: auto;
    margin-right: auto;
    display: inline-flex; /* Makes the list items appear horizontally aligned */
    flex-direction: column; /* Makes the list items stack vertically */
    align-items: left; /* Centers the list horizontally */
    color: var(--color1);
}

.toc ul li {
    margin-bottom: 10px;
    color: var(--color1);
    text-decoration: none;
}


.toc ul li a {
    color: var(--color1);
    text-decoration: none;
    font-size: 1.2em;
}

.toc a:hover {
    text-decoration: underline;
}

/* Styling for content sections */
.content section {
    margin: 40px 0;
}

section h3 {
    font-size: 1.1em;
    color: var(--color1);
}

section p {
    font-size: 1.1em;
    line-height: 1.6;
}

select {
    background-color: black;  /* Background color */
    color: var(--color1);  /* Text color */
    border: 1px solid var(--color1);  /* Yellow border */
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.button {
    flex: 0 0 auto;
    padding: 12px 12px;
    font-size: 1em;
    background-color: var(--color2);
    color: darkslategrey;
    border: 1px solid darkslategrey;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
}
/* Hover effect */
.button:hover {
    background-color: #222;
    color: white;
}

/* Columns */
.columns {
  display: flex;
  gap: 2.5%;
  margin-top: 56px;
  align-items: flex-start;
  justify-content: space-between;
}
/* Single column width ~ 30% to create wide spacing like the PDF */
.column { width: 32%; text-align: center; }

/* Icon label above icon (small text inside the white square in the PDF) */
.icon-label {
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  font-size: 20px;
}

/* Icon box */
.icon-box {
  width: 70px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.icon-box img { max-width: 72px; max-height: 72px; }

/* Column caption text */
.col-caption {
  font-size: 22px;
  margin-top: 6px;
  font-weight: 600;
  color: var(--color2)
}

.col-content {
  font-size: 16px;
  margin-top: 6px;
  font-weight: 100;
  text-align: left;
  line-height: 1.8;
  font-family: 'Menlo'; min-height:14px;
}

/* Video container */
.video { margin-top: 46px;}
.video-inner { width: 100%; margin: 0 auto; aspect-ratio: 16/9; overflow: hidden; border-radius: 10px; }
.video-inner iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer {
  font-size: 22px;
  padding: 28px 6%;
  display: flex;
  justify-content: center;
  gap: 48px;
  border-top: 1px solid var(--color1);
}
.footer-link { display: flex; gap: 8px; align-items: center; }
.footer-link a { color: var(--color2); text-decoration: none; font-weight: 600; }
.star-mini { height: 18px; }

/* Minimal modal base */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

/* Minimal modal content */
.modal-content {
  background: #1a1a1a;
  padding: 3rem 2.5rem;
  width: 400px;
  max-width: 90%;
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--color1), #ffd700, var(--color1)) 1;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  margin: 0 auto;
}


/* Enhanced modal animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal {
  animation: fadeIn 0.3s ease;
}

/* Enhanced close button */
.close-button {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color1);
  background: rgba(249, 208, 4, 0.1);
  border: 2px solid var(--color1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-button:hover {
  background: var(--color1);
  color: black;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(249, 208, 4, 0.4);
}

.modal-tab.active {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid #ffffff;
}

.modal-tab.active::before {
  display: none;
}

/* Enhanced tabs */
#modal-tabs {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0 2rem 0;
  gap: 8px;
}

.modal-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 2rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgb(249,208,4) 20%, #7acf2bfb 45%, #2b7bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-tab {
  text-decoration: none;
  font-weight: 400;
  color: #888;
  padding: 12px 0;
  border: none;
  background: none;
  transition: color 0.3s ease;
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.modal-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 208, 4, 0.1), transparent);
  transition: left 0.5s ease;
}

.modal-tab:hover {
  color: var(--color1);
  border-color: var(--color1);
  background: rgba(249, 208, 4, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 208, 4, 0.2);
}

.modal-tab:hover::before {
  left: 100%;
}

/* Enhanced input styles */
.modal-form input {
  width: 100%;
  padding: 0;
  margin-bottom: 2rem;
  border: none;
  border-bottom: 1px solid #ffffff;
  border-radius: 0;
  font-size: 1rem;
  background: transparent;
  color: #ffffff;
  font-weight: 400;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
}

.modal-form input:focus {
  border-bottom-color: #4ecdc4;
}

.modal-form input::placeholder {
  color: #666;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.modal-form input:focus::placeholder {
  color: #888;
}

.modal-form button {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid #ffffff;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.modal-form button:hover {
  background: #ffffff;
  color: #1a1a1a;
}

.modal-form p {
    color: rgba(249, 208, 4, 0.9);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif; /* Match site font */
}

.forgot-password-link {
  color: #888;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: left;
  display: block;
  margin-top: 1rem;
  transition: color 0.3s ease;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.forgot-password-link:hover {
  color: #ffffff;
}

/* Input styles */
#forgotPasswordModal .modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

#forgotPasswordModal .modal-content button {
  width: 100%;
  padding: 12px;
  background-color: #0077cc;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}



#forgotPasswordModal .modal-content h2,
#forgotPasswordModal .modal-content h3,
#forgotPasswordModal .modal-content p,
#forgotPasswordModal .modal-content label {
  color: #0077cc;
}

/* Mobile Responsiveness - Minimal changes to preserve original design */

/* Only adjust layout for mobile screens while preserving original styling */
@media (max-width: 768px) {
  /* Preserve original mainbody width but allow it to be responsive */
  .mainbody {
    width: 90%;
  }
  
  /* Stack columns vertically on mobile while preserving original spacing */
  .columns {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  
  /* Full width columns on mobile */
  .column { 
    width: 100%; 
    max-width: 420px;
  }
  
  /* Ensure modal is mobile-friendly without changing design */
  .modal-content {
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  /* Make buttons touch-friendly on mobile */
  .button {
    min-height: 44px;
    padding: 12px 16px;
  }
  
  /* Ensure footer links are touch-friendly */
  .footer-link {
    min-height: 44px;
    padding: 8px;
  }
  
  /* Adjust title for mobile readability */
  .title {
    font-size: 2em;
    white-space: normal;
    word-wrap: break-word;
  }
  
  /* Make intro text more readable on mobile */
  .intro {
    width: 90%;
    text-align: center;
  }
  
  /* Ensure video is responsive */
  .video-inner {
    max-width: 100%;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .mainbody {
    width: 95%;
  }
  
  .title {
    font-size: 1.8em;
  }
  
  .intro {
    width: 95%;
    font-size: 14px;
  }
  
  .col-content {
    font-size: 14px;
  }
  
  .col-caption {
    font-size: 20px;
  }
  
  /* Mobile modal adjustments */
  .modal {
    padding: 10px;
  }
  
  .modal-content {
    width: 100%;
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
  
  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  #modal-tabs {
    flex-direction: column;
    gap: 8px;
    margin: 1.5rem 0;
  }
  
  .modal-tab {
    padding: 8px 0;
    font-size: 0.8rem;
  }
  
  .modal-form input {
    font-size: 16px; /* Prevent zoom on iOS */
    margin-bottom: 1.5rem;
  }
  
  .modal-form button {
    padding: 10px 0;
    font-size: 0.9rem;
  }
  
  .close-button {
    top: 12px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
}

/* ===== COMPREHENSIVE MOBILE OPTIMIZATION ===== */

/* Mobile-first responsive design */
@media (max-width: 768px) {
  /* Preserve original mainbody width but allow it to be responsive */
  .mainbody {
    width: 90%;
    margin: 1rem auto;
  }
  
  /* Stack columns vertically on mobile while preserving original spacing */
  .columns {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .column {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Make buttons touch-friendly on mobile */
  .button {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Ensure footer links are touch-friendly */
  .footer-link {
    min-height: 44px;
    padding: 8px;
  }
  
  /* Adjust title for mobile readability */
  .title {
    font-size: 2em;
    white-space: normal;
    word-wrap: break-word;
    margin-top: 1rem;
  }
  
  /* Make intro text more readable on mobile */
  .intro {
    width: 90%;
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
  }
  
  /* Ensure video is responsive */
  .video-inner {
    width: 100%;
    margin: 0 auto;
  }
  
  /* Mobile header adjustments */
  .header {
    padding: 0.5rem 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo {
    width: 120px;
    margin: 0;
  }
  
  /* Mobile navigation */
  .navbar {
    padding: 5px;
  }
  
  .menu-toggle {
    font-size: 24px;
    padding: 8px;
  }
  
  .menu {
    width: 200px;
    left: 5px;
    top: 45px;
  }
  
  /* Mobile footer */
  .site-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 6%;
    font-size: 1rem;
  }
  
  .footer-link {
    justify-content: center;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .mainbody {
    width: 95%;
    margin: 0.5rem auto;
  }
  
  .title {
    font-size: 1.8em;
  }
  
  .intro {
    width: 95%;
    font-size: 14px;
  }
  
  .col-content {
    font-size: 14px;
  }
  
  .col-caption {
    font-size: 16px;
  }
  
  /* Extra small mobile adjustments */
  .button {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  
  .header {
    padding: 0.25rem 0.5rem;
  }
  
  .logo {
    width: 100px;
  }
  
  .site-footer {
    padding: 1rem 4%;
    font-size: 0.9rem;
  }
  
  /* Ensure modal is mobile-friendly without changing design */
  .modal-content {
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .mainbody {
    width: 70%;
  }
  
  .columns {
    gap: 2rem;
  }
  
  .title {
    font-size: 2.2em;
  }
  
  .intro {
    width: 80%;
  }
}

/* Large screens - ensure desktop design is preserved */
@media (min-width: 1025px) {
  .mainbody {
    width: 60%;
  }
  
  .columns {
    gap: 2.5%;
  }
  
  .title {
    font-size: 2.5em;
  }
  
  .intro {
    width: 70%;
  }
  
  .button {
    padding: 12px 12px;
  }
}