/* Fonts */
@font-face {
    font-family: 'TT Norms';
    src: url('../fonts/TTNormsW05-Light.woff2') format('woff2'),
         url('../fonts/TTNormsW05-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('../fonts/TTNormsW05-Regular.woff2') format('woff2'),
         url('../fonts/TTNormsW05-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('../fonts/TTNormsW05-Medium.woff2') format('woff2'),
         url('../fonts/TTNormsW05-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('../fonts/TTNormsW05-Bold.woff2') format('woff2'),
         url('../fonts/TTNormsW05-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Colors */
    --orange: #F89F00;
    --dark-orange: #E95D0F;
    --text: #3F3F44;
    --background-grey: #F4F6F6;
    /* Font Sizes */
    --text-base: 1.125rem; /* 18px */
    --text-base-lineheight: 1.5; /* 150% */
    --text-lg: 1.5rem; /* 24px */
    --text-lg-lineheight: 2.5rem; /* 40px */
    /* Border Radius */
    --border-radius-sm: 20px;
    --border-radius-lg: 200px;
    /* Transition */
    --transition: 0.3s all ease-in-out;
}

* {
    font-family: 'TT Norms', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'TT Norms', Helvetica, Arial, sans-serif;
    font-size: var(--text-base);
    line-height: var(--text-base-lineheight);
    font-weight: 400;
    color: var(--text);
    margin: 0;
    overflow-x: hidden;
    width: 100%;
}

body.expired {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.expired header {
    overflow: visible;
}

h1, h2, h3, h4, h5 {
    font-family: 'TT Norms', Helvetica, Arial, sans-serif;
    font-weight: 700;
    margin: 0;
}

h1 {
    font-size: 46px;
    line-height: 56px;
    margin-bottom: 30px;
}

h2 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 64px;
    text-align: center;
}

h3 {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 32px;
    color: var(--dark-orange);
    font-weight: 500;
}

a, a:visited {
    color: var(--dark-orange);
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

p, span {
    font-size: var(--text-base);
    line-height: var(--text-base-lineheight);
    font-weight: 400;
}

.text-large {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lineheight);
}

strong {
    font-weight: 700;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
    position: relative;
    padding-left: 32px;
    margin-bottom: 32px;
}

ul li::before {
    font-size: 40px;
    line-height: 40px;
    content: "•";
    color: var(--dark-orange);
    position: absolute;
    left: 0;
    top: 0;
}

.button, .button:visited {
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    background-color: var(--dark-orange);
    border-radius: var(--border-radius-lg);
    font-size: var(--text-lg);
    line-height: 24px;
    font-weight: 500;
    padding: 16px 48px;
    transition: all 0.2s ease;
    cursor: pointer;    
    position: relative;
    outline: 0;
    border: none;
    transition: var(--transition);
}

.button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 2px 20px rgba(233, 93, 15, 0.4);
    transition: var(--transition);    
}

.button.secondary {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--dark-orange);  
    border: 2px solid var(--dark-orange);
}

.button.secondary svg * {
    stroke: var(--dark-orange);
    transition: stroke 0.3s ease;
}

.button.secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Header: Logo & Title Section */
header {
    width: 100%;
    background-color: var(--background-grey);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    width: 3600px;
    height: 950px;
    background: linear-gradient(0deg, var(--dark-orange) 0%, var(--orange) 50%);
    border-radius: 50%;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
}

header > .content {
    width: 100%;
    max-width: 1512px;
    padding: 40px 20px 0px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 0 auto;
}

.header-logo svg {
    height: 52px;
    width: auto;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
}

nav a {
    color:white!important;
    font-weight: 400;
    font-size: var(--text-lg);
    text-decoration: none;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 32px 64px 64px;
    background-color: white;
    border-radius: var(--border-radius-sm);
    margin-top: 16px;
    width: 100%;
    max-width: 1280px;
}

.job-data {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.job-data div,
.job-data a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-data svg {
    width: 24px;
    height: 24px;
    position: relative;
    top:-2px;
}

.job-data span {
    font-weight: 500;
    line-height: 18px;
}

.job-data a {
    font-weight: 500;
    line-height: 18px;
    color: var(--text);
    text-decoration: none;
}

.job-data a:hover {
    color: var(--dark-orange);
}

section {
    padding: 64px 20px;
    max-width: 100%;
    height: 100%;
}

section.bg {
    background-color: var(--background-grey);
}

section.bg.intro-section {
    padding-bottom: 0;
}

.content {
    width:100%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: -140px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 140px;
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
}

.sticky-header.visible {
    top: 0;
}

.sticky-header::before {
    content: '';
    position: absolute;
    width: 3800px;
    height: 900px;
    background: linear-gradient(0deg, var(--dark-orange) 0%, var(--orange) 25%);
    border-radius: 50%;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    pointer-events: none;
}

.sticky-header .header-logo svg {
    height: 35px;
    width: auto;
}

.sticky-header-content {
    width: 100%;
    max-width: 1512px;
    padding: 24px 20px 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.sticky-header-content a svg {
    display: block;
}

.sticky-header-content nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
}

.sticky-header-content nav a {
    color: white !important;
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
    position: relative;
}

.sticky-header-content nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.sticky-header-content nav a:hover::after {
    width: 100%;
}

/* Sticky Apply Button */
.sticky-apply-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    text-align: center;
    background-color: white;
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-apply-button.visible {
    transform: translateY(0);
}

.sticky-apply-button .button {
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(233, 93, 15, 0.3);
    overflow: visible;
}

.header-apply-button {
    margin-top: 40px;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    width: 32px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    display: block;
}

.burger-menu:not(.active) {
    justify-content: space-around;
}

.burger-menu span:nth-child(3) {
    width: 16px;
}

.burger-menu.active span {
    position: absolute;
    width: 32px;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.burger-menu.active span:nth-child(3) {
    opacity: 0;
}

/* Intro */
.banner {
    width: 100%;
    height: 525px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius-sm);
}

.intro-text {
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    max-width: 900px;
    font-size: var(--text-base);
    line-height: var(--text-base-lineheight-lineheight);
    font-weight: 400;
   /* background: linear-gradient(0deg, var(--dark-orange) 0%, var(--orange) 100%);*/
    background-color: white;
    border-radius: var(--border-radius-sm);
    color: var(--text);
    position: relative;
    top: -64px;
    z-index: 100;
}

/* Tasks & Profile */
#tasks .content ul {
    columns: 2;
    column-gap: 80px;
    padding-top: 1px;
}

#tasks .content ul li {
    padding-left: 0;
    break-inside: avoid;
    padding-left: 30px;
}

#tasks .content ul li::before {
    position: absolute;
    line-height: 22px;
    flex-shrink: 0;
}

/* Profile Quiz */
.grid-profile {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.side-bar {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-sm);
}

#profile h2 {
    margin-bottom: 64px;
}

#profile h3 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
}

#profile h3  svg {
    width: 60px;
    height: 60px;
}

#profile .quiz-prompt {
    margin-bottom: 48px;
}

#profile .quiz-prompt .star-rating {
    display: inline-flex;
    padding: 6px 8px 0;
    border-radius: var(--border-radius-lg);
    background-color: #EEEEEE;
    gap: 10px;
}

.quiz-questions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-questions li {
    display: flex;
    align-items: flex-start;
    padding: 16px 0;
    margin-bottom: 0px;
}

.quiz-questions li::before {
    display: none;
}

.quiz-questions li:first-child {
    padding-top:0px;
}

.quiz-questions .question-text {
    flex: 1;
    margin-left: 24px;
}

.quiz-questions .star-rating {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    top: -4px;
    padding: 8px;
    border-radius: var(--border-radius-lg);
    background-color: #EEEEEE;
}

.quiz-questions .star {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.quiz-questions .star:hover,
.quiz-questions .star.hover {
    transform: scale(1.2);
}

.quiz-questions .star svg {
    width: 100%;
    height: 100%;
}

.quiz-questions .star svg path {
    fill: #A6A6A6;
    transition: fill 0.2s;
}

.quiz-questions .star.active svg path {
    fill: var(--dark-orange);
}

.quiz-button .button {
    font-size: var(--text-base);
}

/* Quiz Dialog */
.quiz-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.quiz-dialog-overlay.visible {
    opacity: 1;
}

.quiz-dialog {
    background: white;
    border-radius: var(--border-radius-sm);
    max-width: 900px;
    width: 100%;
    position: relative;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quiz-dialog-overlay.visible .quiz-dialog {
    transform: scale(1);
}

.quiz-dialog-close {
    position: absolute;
    top: 6px;
    right: 16px;
    background: none;
    border: none;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 8px;
    transition: color 0.2s;
}

.quiz-dialog-close:hover {
    color: #E95D0F;
}

.quiz-dialog-content {
    text-align: center;
}

.quiz-dialog-score {
    margin-bottom: 24px;
}

.quiz-score-number {
    font-size: 72px;
    font-weight: 700;
    color: #E95D0F;
    line-height: 1;
}

.quiz-score-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-dialog-content h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--dark-orange);
    margin-bottom: 24px;
    line-height: 1.3;
}

.quiz-dialog-content p {
    font-size: var(--text-base);
    line-height: var(--text-base-lineheight);
    font-weight: 500;
    margin-bottom: 16px;
}

.quiz-dialog-content p:nth-of-type(2) {
    margin-bottom: 0;
}

.quiz-pointer-icon {
    width: 48px;
    height: auto;
    padding-right: 16px;
    transform: rotate(-90deg);
    position: relative;
    top: 0px;
    left: -6px;
}

/* Jobabo Dialog */
.jobabo-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.jobabo-dialog-overlay.visible {
    display: flex;
    opacity: 1;
}

.jobabo-dialog {
    background: white;
    border-radius: var(--border-radius-sm);
    max-width: 1200px;
    width: 100%;
    height: 45vh;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.jobabo-dialog-overlay.visible .jobabo-dialog {
    transform: scale(1);
}

.jobabo-dialog-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.jobabo-dialog-close:hover {
    color: #E95D0F;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.jobabo-dialog-content {
    flex: 1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.jobabo-dialog-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-sm);
}

.quiz-apply-button {
    margin-top: 48px;
}

/* Benefits Flip Cards */
.grid-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.flip-card {
    background-color: transparent;
    height: 200px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
    background: linear-gradient(0deg, var(--dark-orange) 25%, var(--orange) 99%);
}

.flip-card-front img {
    width: 80px;
    height: 80px;
}

.flip-card-front.helvetiaLogo img {
    width: 160px;
}

.flip-card-front img {
    margin-bottom: 16px;
}

.flip-card-front h3 {
    font-size: var(--text-base);
    line-height: 30px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    color:white;
}

.flip-card-front .zoom-in {
    position: absolute;
    bottom: 13px;
    right: 16px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    will-change: transform;
    transform-origin: center;
}

.flip-card-front .zoom-in * {
    fill: white;
}

.flip-card-back {
    background: white;
    color: var(--text);
    transform: rotateY(180deg);
    border: 1px solid #E0E0E0;
}

.flip-card-back h3 {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 12px 0;
}

.flip-card-back p {
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* SVG Flip Animation */
.zoom-in {
    transform: rotateY(0deg);
    transform-origin: center;
    will-change: transform;
    opacity: 1;
}

.flip-card.visible .zoom-in {
    animation: icon-flip 2.4s ease-in-out infinite;
}

@keyframes icon-flip {
    0% {
        transform: rotateY(0deg);
    }
    30% {
        transform: rotateY(360deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Sequential delays for each benefit */
.flip-card:nth-child(1).visible .zoom-in { animation-delay: 0s; }
.flip-card:nth-child(2).visible .zoom-in { animation-delay: 0.15s; }
.flip-card:nth-child(3).visible .zoom-in { animation-delay: 0.3s; }
.flip-card:nth-child(4).visible .zoom-in { animation-delay: 0.45s; }
.flip-card:nth-child(5).visible .zoom-in { animation-delay: 0.6s; }
.flip-card:nth-child(6).visible .zoom-in { animation-delay: 0.75s; }

/* About Section Grid */
.grid-about {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    margin-top: 40px;
}

.grid-about.hasVideo {
    grid-template-columns: 1fr 2fr;
}

.aboutUsImage img {
    width: 100%;
    height: auto;
    max-width: 310px;
}

.job-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.job-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
}

.company-portrait p {
    font-size: var(--text-base);
    line-height: var(--text-base-lineheight);
    color: var(--text);
    margin: 0px;
}

.company-portrait p b {
    color: var(--dark-orange);
}

.awards {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Contact */
.grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

.contact > div {
    width: 50%;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

.contact-info {
    font-size: var(--text-lg);
}

.contact-info a {
    display: block;
    margin-top: 8px;
}

.ad-text4-content {
    display: block;
    font-size: var(--text-lg);
}

.jobabo {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 64px;
}

.jobabo p {
    margin: 0px;
}

.jobabo .button {
    width: fit-content;
}

/* Insights */
.grid-insights b {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 0;
    color: var(--dark-orange);
    font-weight: 500;
}
.grid-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: white;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

.grid-insights .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-insights .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 30px 30px 30px 0;
}

.grid-insights .info h3, .grid-insights .info p {
    margin: 0px;
}

.grid-insights .info .button {
    width: fit-content;
}

/* Footer */
#Smile_Logo {
    width: 60px;
    height: auto;
}

footer .content {
    padding: 64px 0px 128px;
}

.grid-footer {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.grid-footer > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shareButtonContainer {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.shareButtonContainer svg {
    width: 24px;
    height: auto;
}

.shareButtonContainer svg * {
    fill: #868685;
}

.shareButtonContainer svg:hover * {
    fill: var(--dark-orange);
}

.share {
    cursor: pointer;
}

.shareIcons {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 16px);
    transform: translateX(-45px) translateY(12px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    min-width: 244px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
    z-index: 5;
}

.shareIcons::after,
.shareIcons::before {
    content: "";
    position: absolute;
    left: 25px;
    transform: translateX(-50%);
    border-style: solid;
    pointer-events: none;
}

.shareIcons::before {
    border-width: 11px 11px 0 11px;
    border-color: rgba(0, 0, 0, 0.08) transparent transparent transparent;
    bottom: -11px;
}

.shareIcons::after {
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
    bottom: -10px;
}

.shareIcons.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-45px) translateY(0);
}

.shareIcons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: color .2s ease;
}

.shareIcons svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
    overflow: visible;
}

footer h4 {
    font-size: var(--text-lg);
    color: var(--dark-orange);
    font-weight: 500;
    line-height: 24px;
}

.external-links div {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.external-links a {
    color: var(--text);
    white-space: nowrap;
    text-decoration: none;
    font-weight: 500;
}

.external-links a:hover {
    color: var(--dark-orange);
}

.follow > div {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.follow a:hover svg * {
    fill: var(--dark-orange);
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 38px;
        line-height: 48px;
    }

    h2, #profile h2 {
        font-size: 28px;
        line-height: 38px;
        margin-bottom: 24px;
    }

    h3, .contact-info {
        font-size: 22px;
        line-height: 32px;
    }

    ul li {
        margin-bottom: 16px;
    }

    .button, .button:visited {
        font-size: 20px;
        line-height: 20px;
    }

    .jobabo .button {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
    }

    .button svg {
        width: 20px;
        height: 20px;
    }

    .category-icon {
        width: 64px;
        height: 64px;
    }

    .category-icon svg {
        width: 100%;
        height: 100%;
    }

    header {
        overflow-x: hidden;
        overflow-y: visible;
        position: relative;
    }

    header::before {
        z-index: 1;
        width: 1800px;
        height: 600px;
        bottom: 124px;
    }

    .header-logo svg {
        height: 35px;
        width: auto;
    }

    header .content > a {
        position: absolute;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1002;
    }

    header .content .burger-menu {
        position: absolute;
        top: 16px;
        right: 20px;
        z-index: 1002;
    }

    header .content {
        flex-direction: column;
        padding: 50px 20px;
        min-height: 64px;
        position: relative;
    }

    header nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        padding: 0 20px;
        background: linear-gradient(0deg, var(--dark-orange) 0%, var(--orange) 100%);
        z-index: 1001;
    }

    header nav.active {
        max-height: 100%;
        padding: 0px 20px;
    }

    header nav a {
        font-size: 1.25rem;
        width: 100%;
    }

    .burger-menu {
        display: flex;
    }

    .title-section {
        padding: 24px 20px;
    }

    .job-data {
        flex-wrap: wrap;
        gap: 16px;
    }

    .job-data div {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }

    .sticky-header {
        display: block;
        height: auto;
        max-width: 100vw;
        overflow: hidden;
    }
    .sticky-header.visible {
        overflow: visible;
    }

    .sticky-header::before {
        width: 1800px;
        height: 600px;
        pointer-events: none;
    }

    .sticky-header-content {
        padding: 16px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        min-height: 72px;
        max-width: 100%;
        width: 100%;
        overflow: visible;
    }

    .sticky-header-content > a {
        position: absolute;
        top: 16px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10001;
    }

    .sticky-header-content .burger-menu {
        position: absolute;
        top: 14px;
        right: 20px;
        z-index: 10001;
    }

    .sticky-header-content nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        max-height: 0;
        overflow-x: hidden;
        overflow-y: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        padding: 0 20px;
        background: linear-gradient(0deg, var(--dark-orange) 0%, var(--orange) 100%);
        -webkit-overflow-scrolling: touch;
        z-index: 10000;
    }

    .sticky-header-content nav.active {
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        padding: 80px 20px 40px;
        padding-top: max(80px, env(safe-area-inset-top, 80px));
        padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
    }

    .sticky-header-content nav a {
        font-size: 1.25rem;
        width: 100%;
    }

    .sticky-header-content nav a::after {
        display: none;
    }

    .sticky-apply-button {
        padding: 12px 16px;
    }

    .header-apply-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    section {
        padding: 40px 20px;
    }

    section.bg.intro-section {
        padding-top: 0px;
    }

    #profile .quiz-prompt, .quiz-questions {
        margin-bottom: 24px;
    }

    #tasks .content ul {
        columns: 1;
    }

    .grid-profile {
        grid-template-columns: 1fr;
        gap: 24px;
        display: flex;
        flex-direction: column;
    }

    .quiz-questions {
        order: 1;
    }

    .side-bar-wrap {
        display: contents;
    }

    .side-bar {
        display: contents;
    }

    .quiz-prompt {
        order: 0;
        background: white;
        padding: 40px;
        border-radius: var(--border-radius-sm);
        margin-bottom: 24px;
    }

    .quiz-button {
        order: 2;
    }

    .benefits-grid,
    .grid-benefits {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .flip-card {
        height: 160px;
    }

    .grid-about, .grid-about.hasVideo {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .aboutUsImage {
        order: 2;
        text-align: center;
    }

    .awards img {
        height: 60px;
        width: auto;
    }

    .grid-contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact {
        gap: 16px
    }

    .jobabo {
        margin-top: 24px;
        gap: 24px;
    }

    .grid-insights {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .grid-insights .info {
        padding: 20px;
        gap: 16px;
    }

    footer .content {
        padding: 40px 0px 100px;
    }

    .grid-footer {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .grid-footer > div {
        gap: 8px;
    }

    .external-links div {
        flex-direction: column;
        gap: 0px;
    }

    .quiz-dialog {
        padding: 32px 24px;
    }
    
    .quiz-score-number {
        font-size: 56px;
    }
    
    .quiz-dialog-content h3 {
        font-size: 22px;
    }

    .shareIcons {
        left:40px;
        bottom: 50px;
    }
}

@media (max-width: 720px) {
    .job-data div {
        flex: 1;
        min-width: 100%;
    }
}
