body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

#MainSection{
    background-color: #e8f0fe;
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

/* Header styles */
header {
    background-color: white;
    height: 50px;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 5px;
    transition: background-color 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-name {
    color: #00377c;
    font-size: 24px;
    font-weight: bold;
}

/* Hide Login/Sign Up buttons on small screens */
.large-screen-buttons {
    display: none;
}

.large-screen-buttons a {
    color: #00377c;
    margin: 0 10px;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}

.divider{
    color: #00377c;
}

.menu-icon {
    cursor: pointer;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
}

.menu-icon:focus {
    outline: none;
}

.menu-line {
    background-color: #00377c;
    display: block;
    height: 3px;
    width: 25px;
    transition: all 0.5s ease;
}

.menu-line-1-active {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-line-2-fade {
    opacity: 0;
}

.menu-line-3-active {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar styles */
.sidebar {
    background-color: white;
    height: 100%;
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
}

.sidebar.show {
    right: 0;
}

.sidebar nav {
    padding: 20px;
}

.sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.sidebar nav ul li {
    margin-bottom: 10px;
}

.sidebar nav ul li a {
    color: #444;
    display: block;
    font-size: 1.2em;
    text-decoration: none;
    margin-bottom:20px;
}


main {
   height: 100%;
   min-height: 100vh;
   margin: auto;
   
   background: linear-gradient(135deg, #e8f0fe, #ffffff, #e8f0fe);
  
}


/* Display the menu icon only on screens smaller than 600px */
@media (max-width: 600px) {
    .menu-icon {
        display: flex;
    }
    
    .large-screen-buttons {
        display: none;
    }

    main {
        height: 100%;
        min-height: 100vh;
        margin: auto;
       
        background: linear-gradient(135deg, #e8f0fe, #ffffff, #e8f0fe);
        
     }
}

/* Display Login and Sign Up buttons and hide the menu icon on larger screens */
@media (min-width: 601px) {
    .menu-icon {
        display: none;
    }
    
    .large-screen-buttons {
        display: flex;
        align-items: center;
    }
}



/* General styles for interactive elements */
button, a, input, textarea, .menu-icon, video {
    outline: none;
    -webkit-tap-highlight-color: transparent; /* For mobile webkit browsers */
}

/* Specific styles for focus state on smaller devices */
@media (max-width: 768px) {
    button:focus, a:focus, input:focus, textarea:focus, .menu-icon:focus, video:focus {
        outline: none; /* Remove focus outline */
    }

    button:active, a:active, input:active, textarea:active, .menu-icon:active, video:active {
        outline: none; /* Remove active outline */
    }

    /* For iOS Safari, Android Chrome, and other mobile browsers */
    button:focus, a:focus, input:focus, textarea:focus, .menu-icon:focus, video:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    button:active, a:active, input:active, textarea:active, .menu-icon:active, video:active {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}





#MainSection {
    background-color: rgb(232, 240, 254);
    
    
}
/* -----------------------------
   Shared styles
   ----------------------------- */
:root {
  --primary: #00377c;
  --primary-dark: #00295c;
  --muted: #666;
  --max-width:100%;
}

.welcome-section {
  max-width: var(--max-width);
  margin: 0 auto 50px;
  padding: 0 50px;
  box-sizing: border-box;
  width: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  min-height: 100vh;
}

.register-btn {
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  font-size: 18px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}
.register-btn:hover { background-color: var(--primary-dark); }
.register-btn a { color: white; text-decoration: none; display: inline-block; }

/* Video base */
.welcome-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* -----------------------------
   DESKTOP layout (default visible)
   ----------------------------- */
.welcome-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 100vh;
}

.welcome-desktop .welcome-left {
  flex: 1;
  padding-right: 20px;
}

.welcome-desktop .welcome-left h2 {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.05;
}

.welcome-desktop .welcome-left p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 500;
  text-align: left;
}



.welcome-desktop .welcome-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* for shadow pseudo-element */
}

/* make the desktop video larger than original */
#welcomeVideoDesktop.welcome-video {
  max-width: 900px;
  width: 100%;
  border-radius: 10px;
}

/* ground shadow */
.welcome-desktop .welcome-right::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 25px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  filter: blur(8px);
  background: rgba(0,0,0,0.25);
  z-index: -1;
}

/* -----------------------------
   MOBILE layout (hidden by default)
   ----------------------------- */
.welcome-mobile {
  display: none; /* hidden on larger screens */
  padding: 18px 20px;
  text-align: center;
  min-height: auto;
  gap: 12px;
}

.welcome-mobile .mobile-title {
  font-size: 48px;
  color: var(--primary);
  margin: 50px 0 12px;
}


.welcome-mobile .mobile-video-wrap {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.welcome-mobile .mobile-video {
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
  margin-top: 25px;
}

/* center CTA on mobile */
.welcome-mobile .mobile-cta {
  margin-top: 50px;
}

.mobile-description{
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}

/* -----------------------------
   MEDIA QUERIES: hide/show versions
   ----------------------------- */
/* Mobile and small tablets: show mobile version, hide desktop */
@media (max-width: 768px) {
  .welcome-desktop {
    display: none !important;
  }
  .welcome-mobile {
    display: block !important;
  }

  .welcome-mobile .welcome-left p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 500;
  text-align: left;
}

  /* adjust padding & font sizes for smaller screens */
  .welcome-section { padding: 12px 16px; min-height: 100vh; }
  
  .register-btn { padding: 0.9rem 1.6rem; font-size: 16px; }
}

/* Optional: very large screens tweaks */
@media (min-width: 1400px) {
  .welcome-section { padding: 0 80px; }
  #welcomeVideoDesktop.welcome-video { max-width: 1100px; }
}


@media (max-width: 600px) {
    .welcome-right {
        display: none;
    }

    .welcome-left {
        flex: 1 1 100%;
        width: 100%;
        padding: 0; /* optional: removes the right padding */
        text-align: center; /* optional: centers text on mobile */
    }
}



/* Features Section Styling */
.features-section {
    text-align: center;
 background: white;
 padding-top: 20px;
  margin-top: 20px;
}

.features-section h2 {
    color: #00377c;
    font-size: 48px; /* Larger heading size */
    margin-bottom: 15px;
}

.features-section p {
    color: #666;
    font-size: 20px; /* Slightly larger paragraph text */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Container for Layout */
.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.video-box {
    flex: 1 1 45%; /* Adjusts width for larger screens */
    max-width: 600px;
    text-align: center;
}

.video-box video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.video-box video:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
}

/* Responsive Stacking on Smaller Screens */
@media (max-width: 1024px) {
    

    .video-container {
        gap: 20px;
    }

    .video-box {
        flex: 1 1 90%; /* Allows more width on medium screens */
    }
}

@media (max-width: 768px) {
   

    .video-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .video-box {
        max-width: 90%; /* Centered and reduced width on mobile */
    }
}
/* Footer styles */
footer {
    background-color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
}

.footer a {
    color: #444;
    text-decoration: none;
   
}

.footer a:hover {
    text-decoration: underline;
}




/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00377c, #5a8fd9); /* Blue gradient background */
    color: #ffffff; /* White text color */
    padding: 50px 20px; /* Generous padding */
    text-align: center; /* Center align text */
    /* Rounded corners for a polished look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin:0px auto; /* Spacing and centering the section */
   /* Restrict max width for readability */
   margin-top: 0;
}

.cta-container {
    max-width: 600px; /* Center-align content */
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px; /* Space below the title */
}

.cta-text {
    font-size: 1.2rem; /* Slightly larger text for better readability */
    margin-bottom: 30px; /* Space below the paragraph */
    line-height: 1.6; /* Better line spacing for readability */
}

.cta-button {
    background-color: #ffffff; /* White background for contrast */
    color: #00377c; /* Blue text */
    padding: 15px 30px; /* Button padding */
    font-size: 1rem; /* Standard font size */
    font-weight: bold;
    border: none; /* Remove border */
    border-radius: 5px; /* Slightly rounded button */
    cursor: pointer; /* Pointer cursor on hover */
    text-transform: uppercase; /* All uppercase for buttons */
    text-decoration: none; /* Remove underline from link */
    transition: all 0.3s ease; /* Smooth hover transition */
}

.cta-button a {
    color: inherit; /* Match the button text color */
    text-decoration: none; /* Remove underline on link */
}

.cta-button:hover {
    background-color: #00377c; /* Darker blue on hover */
    color: #ffffff; /* White text on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Elevate button on hover */
}


/* Spruced-Up Luno Referral Section */
.luno-section {
  position: relative;
  background: url('crypto-bg.png') center/cover no-repeat;
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}



.luno-container {
  position: relative;
  z-index: 1; /* keep content above overlay */
  max-width: 1200px;
  margin: 0 auto;
}

.luno-title {
  color: #00377c;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.luno-subtitle {
  color: #374151;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.luno-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
}

.luno-video-container {
  flex: 1 1 320px;
  max-width: 600px;
}

.luno-video {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.luno-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.luno-details {
  flex: 1 1 280px;
  max-width: 400px;
  text-align: left;
}

.luno-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.luno-benefits li {
  margin: 0.75rem 0;
  font-size: 1.1rem;
  color: #1f2937;
}

.luno-btn {
  background-color: #00377c;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 3rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  margin-bottom: 1rem;
}

.luno-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.luno-btn a {
  color: inherit;
  text-decoration: none;
}

.luno-note {
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  
}



/* FAQ Section */
.faq-section {
    background-color: #fff;
    /* Light background for the FAQ section */
    padding: 20px;
    margin-top: 30px; /* Adds some spacing from the top of the page */
   
    margin: 0 auto;
}

/* FAQ Container */
.faq-container {
    max-height: 500px; /* Max height of the FAQ container */
    overflow-y: auto; /* Makes the FAQ scrollable when content overflows */
    padding-right: 10px; /* Prevents scrollbar from overlapping content */
    border: 1px solid #ddd; /* Light border to separate FAQ section */
    border-radius: 8px; /* Rounded corners */
    background-color: #fff; /* White background for clarity */

    /* Hide scrollbar but keep scrollable */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */

    /* Webkit-based browsers */
    &::-webkit-scrollbar {
        display: none;
    }
}

/* FAQ Title */
.faq-title {
    font-size: 48px;
    font-weight: bold;
    color: #00377c;
    margin-bottom: 20px;
    text-align: center;
}

/* FAQ Item (each question-answer pair) */
.faq-item {
    margin-bottom: 15px; /* Adds space between FAQ items */
}

/* FAQ Question */
.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00377c; /* Blue color for question text */
    margin-bottom: 5px;
    padding-left: 10px;
}

/* FAQ Answer */
.faq-answer {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    padding-left: 20px; /* Indentation for answer text */
}

/* Styling Links in the FAQ (like the privacy policy) */
.faq-answer a {
    color: #00377c; /* Blue color for links */
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline; /* Underline on hover for links */
}

/* Adjustments for Small Screens */
@media (max-width: 768px) {
    .faq-container {
        max-height: 400px; /* Reduced height on smaller screens */
    }
   
    .faq-question {
        font-size: 1.1rem;
    }
    .faq-answer {
        font-size: 0.95rem;
    }
}



.how-it-works-section{
    background: white;
    padding-top: 20px;
    padding-bottom: 20px;
}


/* Steps Container */
.steps-container {
    background: white;
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: flex-start; /* Align items to the start */
    align-items: center;
    gap: 0px; /* Spacing between the steps */
    overflow-x: auto; /* Enable horizontal scrolling if content overflows */
    padding: 10px; /* Add some padding for better visual appeal */
    scroll-snap-type: x mandatory; /* Optional: For smooth snapping while scrolling */
}
.how-it-works-title{
    font-size: 48px;
    font-weight: bold;
    color: #00377c;
    margin-bottom: 40px;
    text-align: center;
    margin-top: 40px;
}
/* Hide scrollbar but keep scrolling enabled */
.steps-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Webkit browsers */
}

.steps-container {
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Individual Step Box */
.step-box {
    flex: 0 0 auto; /* Prevent shrinking or growing, maintain fixed size */
    width: 220px; /* Fixed width for each box */
    height: 250px; /* Fixed height for uniformity */
    background: linear-gradient(135deg, #00377c, #5a8fd9);
    border-radius: 8px;
     /* Deeper shadow for 3D effect */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Text inside the step boxes */
.step-box h3, 
.step-box p {
    color: white; /* Make all text inside boxes white */
    margin: 0;
}

.step-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-box p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Line Styling */
.line {
    flex: 0 0 auto;
    background-color: #20579e;
}

/* Horizontal Lines for Large Screens */
@media (min-width: 769px) {
    .line {
        width: 100px; /* Length for horizontal line */
        height: 2px; /* Thin horizontal line */
        margin: 0; /* No margin adjustments needed */
        transform: none; /* Ensure it remains horizontal */
    }
}

/* Vertical Lines for Smaller Screens */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column; /* Stacked vertically on small screens */
        overflow-x: unset; /* Remove horizontal scroll for small screens */
    }

    .step-box {
        width: 80%; /* Full width for mobile */
    }

    .line {
        width: 2px; /* Thin vertical line */
        height: 50px; /* Length of the vertical line */
        margin: 0px auto; /* Center the vertical line */
        transform: none; /* Keep vertical without rotation */
    }
}



/* About Section */
.about-section {
    padding: 40px;
   
  
}

/* About Container */
.about-container {
    max-width: 1100px; /* Increased max-width for more space */
    margin: 0 auto;
    text-align: left; /* Left-align the content */
}

/* About Title */
.about-title {
    font-size: 42px;
    font-weight: bold;
    color: #00377c;
    margin-bottom: 20px;
}

/* About Text Container (for columns) */
.about-text-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on larger screens */
    gap: 30px; /* Increased gap between columns */
    margin-top: 20px;
}

/* Adjust column width and make them a bit wider */
.about-text-container p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 20px;
    text-align: left; /* Left-align the text */
}

/* Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .about-text-container {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
        gap: 15px; /* Adjust gap for smaller screens */
    }

   

    .about-text {
        font-size: 1rem;
        padding: 0 10px;
    }
}


















 /* ---------- Scoped styles for the improved banner (no global selectors) ---------- */
  #stc_wordle_banner {
    --stc-heading: #00377c;
    --stc-green: #6aaa64;
    --stc-overlay: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(250,250,252,0.65));
    --stc-radius: 12px;
    max-width: 1120px;          /* matches your site's max widths */
    margin: 18px auto;
    border-radius: var(--stc-radius);
    overflow: hidden;
    position: relative;
    /* background image — change path if needed (e.g., register/wordle_bg.png) */
    background: url('wordle-bg.png') center center / cover no-repeat;
    box-shadow: 0 6px 22px rgba(16,24,40,0.06);
  }

  /* overlay gradient + subtle blur for readability */
  #stc_wordle_banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--stc-overlay);
    backdrop-filter: blur(4px) saturate(1.02);
    -webkit-backdrop-filter: blur(4px) saturate(1.02);
    z-index: 1;
  }

  /* container that holds the content (above the overlay) */
  .stc_wordle__inner{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 18px;
    box-sizing: border-box;
    min-height: 88px;           /* compact promo bar height */
    background: transparent;
  }

  /* left column */
  .stc_wordle__left{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    max-width: 75%;
  }

  .stc_wordle__pill{
    display: inline-block;
    background: red;
    color: #fff;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 6px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(106,170,100,0.12);
  }

  .stc_wordle__title{
    margin: 0;
    color: var(--stc-heading);
    font-size: 1.02rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .stc_wordle__subtitle{
    margin: 0;
    color: rgba(0,55,124,0.86);
    font-size: 0.92rem;
  }

  /* CTA */
  .stc_wordle__cta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    color: var(--stc-green);
    border: 2px solid var(--stc-green);
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
    box-shadow: 0 8px 22px rgba(16,24,40,0.06);
  }

  .stc_wordle__cta:hover,
  .stc_wordle__cta:focus{
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(16,24,40,0.11);
    background: var(--stc-green);
    color: #fff;
    text-decoration: none;
    outline: none;
    border-color: transparent;
  }

  .stc_wordle__arrow{ font-size: 1rem; display:inline-block; transform: translateX(0); transition: transform .16s ease; }
  .stc_wordle__cta:hover .stc_wordle__arrow{ transform: translateX(4px); }

  /* responsive: stack on narrow screens */
  @media (max-width: 760px){
    #stc_wordle_banner { margin: 12px 16px; }
    .stc_wordle__inner{ flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; min-height: auto; }
    .stc_wordle__left{ align-items: center; text-align: center; max-width: 100%; }
    .stc_wordle__title{ font-size: 0.98rem; }
    .stc_wordle__subtitle{ font-size: 0.9rem; }
    .stc_wordle__cta{  justify-content: center; padding: 12px; }
    .stc_wordle__arrow{ display: none; }
  }

  /* tiny screens: tighten */
  @media (max-width: 360px){
    .stc_wordle__title{ font-size: 0.94rem; }
    .stc_wordle__subtitle{ font-size: 0.86rem; }
    .stc_wordle__pill{ padding: 5px 8px; font-size: 0.64rem; }
  }