:root {
    --bg-color: #1e1e1e;
    --text-color: #fefefe;
    --primary-color: #0073ff;
    --hover-color: #005fcc;
}

/* ===========================
    GLOBAL RESETS
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Graphik', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    overflow-x: hidden;
}

/* ===========================
    FONTS
     =========================== */
@font-face {
    font-family: 'Graphik';
    src: url('../assets/fonts/Graphik-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Graphik';
    src: url('../assets/fonts/Graphik-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

/* ===========================
    TYPOGRAPHY
     =========================== */
.container {
width: 100%;
max-width: 2500px;
margin: 0 auto;
padding: 0 40px;
display: flex;
flex-direction: column;
gap: 40px;
}

h1, h2, h3 {
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 8rem;
    line-height: 6.875rem;
    letter-spacing: 0.02em;
}

.body-text {
    font-size: 4rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* ===========================
    HEADER & LOGO
     =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: transparent;
    z-index: 10000; /* Increased from 1000 to 10000 */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(6px);
}

.PJ-logo {
    position: absolute;
    top: 40vh;
    left: 50%;
    transform: translateX(-50%) scale(1);
    height: auto;
    width: 90vw;
    transition: transform 0.3s ease, top 0.3s ease;
    z-index: 999;
}

/* ===========================
    HAMBURGER MENU
     =========================== */
.hamburger {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10000; /* Increased to ensure it stays on top */
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-bottom: 50px;
    background-color: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 20px;
    margin-top: 75px;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    color: #fefefe;
    text-decoration: none;
    font-size: 1.5rem;
}

.mobile-nav ul li a {
    position: relative; /* Required for absolute positioning of pseudo-element */
    overflow: hidden;
}

.mobile-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Adjust based on your desired distance from the text */
    left: 0;
    width: 0%;
    height: 3px; /* Thickness of the underline */
    background-color: #fafafa;
    transition: width 0.3s ease-in-out;
}

.mobile-nav ul li a:hover::after {
    width: 100%;
}

/* ===========================
    HERO SECTION
     =========================== */
.hero {
    height: 75vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin-bottom: 200px;
}

.hero-content {
    text-align: center;
    padding: 40px 20px;
}

.scrolling-svg {
    display: flex;
    height: 100%;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.scrolling-svg img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
    transform: translateX(0);
    }
    100% {
    transform: translateX(-50%);
    }
}

/* ===========================
    TEXT + IMAGE SECTION
     =========================== */
.text-image-section {
    display: flex;
    flex-direction: column;
    max-width: 2500px;
    padding: 60px 120px;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    position: relative;
    z-index: 1;
    margin: 0 auto;
    margin-bottom: 100px;
}

.text-image-section .image-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-top: -100px;
    min-height: 300px;
    overflow: visible;
}

.text-image-section .image-wrapper img,
    #parallax-img {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.parallax-wrapper {
    width: 300px;
    height: 300px;
    position: absolute; /* Changed from relative to absolute */
    top: -20%; /* Adjust as needed for vertical spacing */
    left: 80%;
    transform: translateX(-50%);
    z-index: 1;         /* Lower than the form */
    pointer-events: none; /* Allow clicks to pass through if overlapping */
}

.circle-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.circle-text {
    width: 100%;
    height: 100%;
    fill: #1d2cf2;
    font-size: 1.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
    animation: rotate 10s linear infinite;
}

.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    transform: translate(-50%, -50%);
}

/* ===========================
    TWO COLUMN SECTION
   =========================== */

.two-column-section {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    width: 100%;
    margin-bottom: 200px;
}

.two-column-section .left-column,
.two-column-section .right-column {
    flex: 1;
}

.two-column-section .left-column img {
    width: 100%;
    height: auto;
    display: block;
}

.two-column-section .promo-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
} 

/* ===========================
    PROMO FORM
   =========================== */

   .form-intro
   {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);}

   /* Force all inputs/selects in .promo-form to fill the available width/height */
.promo-form input,
.promo-form select {
  width: 100%;
  height: 50px; /* Adjust as desired */
  padding: 10px;
  font-size: 1rem;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  background-color: transparent;
  color: var(--text-color);
  box-sizing: border-box; /* Ensure padding doesn’t overflow the box */
}

/* Restore the button styling */
.promo-form button {
  width: 100%;
  height: 50px;
  padding: 12px;
  font-size: 1rem;
  background: #fefefe;
  color: #1e1e1e;
  border: 1px solid #fefefe;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.promo-form button:hover {
  background: #1e1e1e;
  color: #fefefe;
  border: 1px solid #fefefe;
}

/* Make the *required text smaller */
.required-text {
  font-size: 1rem; /* Or 0.8rem if you want it even smaller */
  margin-top: 10px;
  color: #fefefe;
}

/* Updated styling for the privacy policy label */
.privacy-policy {
    display: flex;
    flex-direction: column;  /* Arrange children vertically */
    font-size: 0.8rem;       /* Smaller text */
    line-height: 1.2;
    margin-top: 5px;
  }
  
  /* Reorder the checkbox so it appears after the text */
  .privacy-policy input[type="checkbox"] {
    order: 2;              /* Place after the anonymous text node (order 0) */
    width: 16px;           /* Adjust size as needed */
    height: 16px;
    margin-top: 5px;
  }
  
  /* Reorder the link so it appears after the checkbox */
  .privacy-policy a {
    order: 3;              /* Place it after the checkbox */
    color: var(--primary-color);
    text-decoration: underline;
  }

/* Custom class for inputs that should appear half-width (2-column layout) */
.input-half {
    display: inline-block;
    width: calc(50% - 10px); /* Adjust gap as needed */
    vertical-align: top;
    padding: 8px;
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  /* Optional: Focus styling for better UX */
  .input-half:focus {
    outline: none;
    border-color: var(--primary-color);
  }

/* 
.promo-form {
    position: relative; 
    z-index: 10;       
}

.promo-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.promo-form .form-column {
    flex: 1;
}

.promo-form .form-column.full-width {
    flex: 1 0 100%;
}

.promo-form input {
    width: 100%;
    height: 50px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    background-color: transparent;
}

.promo-form select {
    width: 100%;
    height: 50px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    appearance: none;
    color: #999;
    background-color: transparent;
}

.promo-form .form-row.single-column {
    display: flex;
    justify-content: flex-start;
}

.promo-form .form-row.single-column .form-column {
    flex: 0 0 calc(50% - 10px); 
}

.promo-form input[type="checkbox"] {
    width: auto;
}

.privacy-policy {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
}

.privacy-policy input {
    margin-right: 10px;
}

.promo-form button {
    width: 100%;
    height: 50px;
    padding: 12px;
    font-size: 1rem;
    background: #fefefe;
    color: #1e1e1e;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.promo-form button:hover {
    background: #1e1e1e;
    color: #fefefe;
} */

/* ===========================
CUSTOM TWO COLUMN SECTION
=========================== */

.getSmarter {
    margin: 0;
}

.custom-two-column-section {
    margin-bottom: 200px;
}

.custom-two-column-section .columns-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
}

.custom-two-column-section .left-column {
    flex: 0 0 60%;
}

.custom-two-column-section .right-column {
    flex: 0 0 40%;
    display: flex;
    min-width: 0;
}

.custom-two-column-section .left-column img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
FULLWIDTH SECTION
=========================== */
.fullwidth-section {
    width: 100%;
    background-color: #1d2cf2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px;
}

.fullwidth-content {
    width: 80%;
}

.fullwidth-content h2 {
    text-align: left;
    margin: 0 auto 50px auto;
}

.fullwidth-content p {
    text-align: left;
    margin-bottom: 50px;
}

.cta-button {
    display: block;
    width: 50%;
    height: 75px;
    margin: 20px 0 0 0;
    background-color: #fafafa;
    color: #1d2cf2;
    border: 1px solid #fefefe;
    border-radius: 4px;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    will-change: transform;
    text-decoration: none;
    text-align: center;
    line-height: 75px; /* aligns text vertically inside the button height */
    font-weight: 500; /* match your h2 style */
}

.cta-button:hover {
    background-color: #1d2cf2;
    border: 1px solid #fafafa;
    color: #fafafa;
}

.business-club-section .cta-button {
    background-color: #fafafa;
    color: #1e1e1e;
    border: 1px solid #fafafa;
}

.business-club-section .cta-button:hover {
    background-color: #1e1e1e;
    color: #fafafa;
    border: 1px solid #fafafa;
}

/* ===========================
    RESPONSIVENESS
     =========================== */
@media (min-width: 768px) {
    .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .text-image-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .text-image-section .content {
        width: 75%;
        max-width: none;
        padding-right: 40px;
        flex-shrink: 0;
    }

    .text-image-section .parallax-wrapper {
        width: 25%;
    }
}

@media (max-width: 767px) {

    /* Fix text container width and type scale on mobile */
    .text-image-section .content { 
        width: 100%;
        padding-right: 0; 
    }

    .body-text {
        font-size: 1.25rem; /* reduce from desktop 4rem */
        line-height: 1.6;
    }

    /* Slightly tighten h2 on small screens */
    .text-image-section h2 {
        margin-bottom: 20px;
        letter-spacing: 0.005em;
    }

    .container {
        max-width: 100%;
    }

    p {
        font-size: 2rem;
    }

    h2 {
        font-size: 3rem;
        line-height: 3.5rem;
        letter-spacing: 0.01em;
    }

    .PJ-logo {
        top: 25px; /* pushes logo to the top on mobile */
        transform: translateX(-50%) scale(.4);
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 20px;
    }

    .parallax-wrapper {
        position: relative !important;
        top: auto !important;
        left: 35% !important;
        transform: translateX(-50%) !important;
        margin: 40px auto !important;
        z-index: 1 !important;
        animation: none !important;
    }

    .text-image-section {
        padding: 20px;
        margin: 0 auto;
    }

    .two-column-section {
        flex-direction: column;
    }

    .two-column-section .left-column,
    .two-column-section .right-column {
        width: 100%;
    }

    .promo-form .form-row {
        flex-direction: column;
    }

    .custom-two-column-section .columns-wrapper {
        flex-direction: column;
    }

    /* Prevent overflow for the body text under "Go inside. Get smarter." */
    .custom-two-column-section .right-column {
        display: block;          /* was flex; ensure text can shrink */
        min-width: 0;            /* allow content to wrap inside flex context */
    }

    .custom-two-column-section .right-column .body-text {
        font-size: 1.25rem;      /* align with other mobile body text */
        line-height: 1.6;
        max-width: 100%;
        overflow-wrap: anywhere; /* break long words if needed */
        word-break: normal;
    }

    .custom-two-column-section .left-column,
    .custom-two-column-section .right-column {
        width: 100%;
    }

    .fullwidth-section {
        padding: 100px 0px 100px 0px;
    }

    /* Tighten the blue fullwidth section ("Stay fully informed") on mobile */
    .fullwidth-content {
        width: 100%;
        padding: 0 20px;        /* add side padding so content doesn't touch edges */
        box-sizing: border-box;
    }

    .fullwidth-section h2 {
        font-size: 2.25rem;     /* scale down heading for small screens */
        line-height: 1.25;
        margin-bottom: 20px;
        text-align: left;       /* keep consistent with design */
    }

    .fullwidth-section .body-text {
        font-size: 1.25rem;     /* match mobile body scale */
        line-height: 1.6;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
        margin-bottom: 24px;
        text-align: left;
    }

    /* Tighten the Business Club fullwidth section on mobile */
    .business-club-section .fullwidth-content {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .business-club-section h2 {
        font-size: 2.25rem;
        line-height: 1.25;
        margin-bottom: 20px;
        text-align: left;
    }

    .business-club-section .body-text {
        font-size: 1.25rem;
        line-height: 1.6;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
        margin-bottom: 24px;
        text-align: left;
    }

    .cta-button {
        width: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.business-club-section {
    background-color: transparent;
}

/* ===========================
    FOOTER
   =========================== */
.footer {
    width: 100%;
    height: 100px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
}

.footer p {
    font-size: 14px;
    padding: 20px;
    text-align: center;
}