/* JNXPC Limited - Index CSS */
/* ========================= */

.product-listing-section {
    padding: 0 !important;
}

.product-listing-section .section-header h2::after {
    width: 10%;
}

.product-card-header.nord-series {
    background: var(--nord-accent-color);
}

.product-card-header.grain-series {
    background: var(--grain-accent-color);
}

.product-card-header.semester-series {
    background: var(--semester-accent-color);
}

.product-card-header.nord-series h3,
.product-card-header.grain-series h3,
.product-card-header.semester-series h3 {
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}

.view-button.nord-series {
    border-color: var(--nord-accent-color);
    color: var(--nord-accent-color);
}

.view-button.nord-series:hover {
    background-color: var(--nord-accent-color);
}

.view-button.grain-series {
    border-color: var(--grain-accent-color);
    color: var(--grain-accent-color);
}

.view-button.grain-series:hover {
    background-color: var(--grain-accent-color);
}

.view-button.semester-series {
    border-color: var(--semester-accent-color);
    color: var(--semester-accent-color);
}

.view-button.semester-series:hover {
    background-color: var(--semester-accent-color);
}

.add-to-cart-btn.nord-series {
    background: linear-gradient(270deg, var(--nord-accent-color), #004c9c, var(--nord-accent-color), #004c9c);
    background-size: 300% 100%;
    background-position: 0% 0%
}

.add-to-cart-btn.grain-series {
    background: linear-gradient(270deg, #a929ff, var(--grain-accent-color), #a929ff, var(--grain-accent-color));
    background-size: 300% 100%;
    background-position: 0% 0%
}

.add-to-cart-btn.semester-series {
    background: linear-gradient(270deg, #5f5f5f, var(--semester-accent-color), var(--semester-accent-color), #5f5f5f);
    background-size: 300% 100%;
    background-position: 0% 0%
}

.filter-content.active {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}

/* --- Hero Section Start --- */
.hero-container {
    padding: 0;
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-section {
    width: 100%;
    background: linear-gradient(180deg, rgb(0, 0, 0) 0%, var(--accent-color) 100%);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 50vh;
    transition: max-width 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at top center,
            transparent 0%,
            rgba(0, 0, 0, 0.75) 40%,
            rgba(0, 0, 0, 0.65) 20%,
            rgba(0, 0, 0, 0.4) 55%,
            rgba(0, 0, 0, 1) 90%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    padding: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 5;
    color: white;
    text-align: left;
}

.hero-content:first-child {
    width: 45%;
}

.hero-content:last-child {
    width: 45%;
    height: 350px;
}

.hero-title {
    font-size: 36px;
    line-height: 1.1;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    width: 80%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn,
.secondary-btn {
    padding: 10px 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.4);
    text-align: center;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.primary-btn {
    background-color: rgba(var(--accent-color-rgb), 0.2);
    border: 1px solid rgba(var(--accent-color-rgb), 1);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 1px solid #fff;
}

.primary-btn:hover {
    background-color: #ff3333;
    transform: translateY(-2px);
    text-decoration: none;
}

.secondary-btn:hover {
    background-color: rgba(var(--accent-color-rgb), 0.2);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Hero Slideshow */
.hero-featured-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 26px 0 rgba(255, 255, 255, 0.4);
    border-radius: 16px;
}

.hero-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    overflow: hidden;
    border-radius: 12px;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.1) 100%);
    padding: 0 6%;
    z-index: 1;
    border-radius: 12px;
}

.hero-slide:nth-child(2) .hero-slide-content {
    background: rgba(0, 0, 0, 0.15);
}

.hero-slide:nth-child(3) .hero-slide-content {
    background: transparent;
}

.hero-slide-text {
    max-width: 600px;
    color: #fff;
    z-index: 3;
}

.hero-slide-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    align-items: top;
    display: flex;
}

.hero-slide:nth-child(1) .hero-slide-text h2 {
    color: #ff6b00;
}

.hero-slide:nth-child(2) .hero-slide-text h2 {
    color: #fff;
}

.hero-slide:nth-child(3) .hero-slide-text h2 {
    color: #45c65a;
}

.hero-slide-text h2 span {
    font-size: 14px;
}

.hero-slide-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
    text-shadow: 0 0 14px rgba(0, 0, 0, 1);
    width: 80%;
}

.hero-slide-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slide-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-slide:nth-child(1) .hero-slide-btn {
    background-color: rgba(255, 107, 0, 0.2);
    border: 1px solid #ff6b00;
}

.hero-slide:nth-child(1) .hero-slide-btn:hover {
    background-color: rgba(255, 107, 0, 1);
}

.hero-slide:nth-child(2) .hero-slide-btn {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 1);
}

.hero-slide:nth-child(2) .hero-slide-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    color: black;
}

.hero-slide:nth-child(3) .hero-slide-btn {
    background-color: rgba(69, 198, 90, 0.2);
    border: 1px solid #45c65a;
}

.hero-slide:nth-child(3) .hero-slide-btn:hover {
    background-color: rgba(69, 198, 90, 1);
}

.hero-slideshow-navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    opacity: 1;
}

.hero-slideshow-dots {
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

.hero-slide .floating-element.coordinates {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.hero-slide .floating-badge.mission-status {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.hero-slide:nth-child(1) .floating-badge.mission-status,
.hero-slide:nth-child(1) .floating-element.coordinates {
    color: #ff6b00;
    border: 1px solid #ff6b00;
}

.hero-slide:nth-child(3) .floating-badge.mission-status,
.hero-slide:nth-child(3) .floating-element.coordinates {
    color: #45c65a;
    border: 1px solid #00ff00;
}

@media (max-width: 1400px) {
    .hero-title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 13px;
        width: 90%;
    }

    .primary-btn, .secondary-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 14px;
    }

    .hero-content:last-child {
        width: 55%;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 20px;
        gap: 12px;
        min-height: 40vh;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 12px;
        width: 90%;
    }

    .hero-content:last-child {
        width: 65%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
        gap: 20px;
        flex-direction: column;
        min-height: 50vh;
    }

    .hero-content:first-child {
        width: 100% !important;
    }

    .hero-content:last-child {
        height: 250px;
        width: 75%;
    }

    .hero-slide-text {
        max-width: 100%;
    }

    .hero-slide-content {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
        padding: 0 5%;
    }

    .hero-slide-text h2 {
        font-size: 18px;
    }

    .hero-slide-text p {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .hero-slide-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-slide .floating-element.coordinates {
        top: 15px;
        left: 15px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .hero-slide .floating-badge.mission-status {
        top: 15px;
        right: 15px;
        padding: 4px 8px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px;
        gap: 15px;
        min-height: fit-content;
    }

    .hero-content:last-child {
        height: 200px;
        width: 100%
    }

    .hero-title {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 10px;
        font-weight: 500;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .primary-btn, .secondary-btn {
        padding: 6px 12px;
        font-size: 10px;
        border-radius: 10px;
    }

    .hero-slide-text h2 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .hero-slide-text p {
        font-size: 8px;
        margin-bottom: 8px;
    }

    .hero-slide-btn {
        padding: 6px 12px;
        font-size: 8px;
    }

    .hero-nav-btn {
        font-size: 14px;
    }

    .hero-dot {
        width: 6px;
        height: 6px;
    }

    .hero-slideshow-dots {
        gap: 6px;
    }

    .hero-slide .floating-element.coordinates {
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 7px;
    }

    .hero-slide .floating-badge.mission-status {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 7px;
    }
}

/* --- Hero Section End --- */

/* --- Category Boxes Section Start --- */
.category-boxes {
    width: 100%;
    max-width: min(95%, var(--section-max-width));
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.category-box-container {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 18px;
}

.category-item {
    position: relative;
    border-radius: 18px;
    height: 225px;
    width: 25%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.5);
}

.category-boxes .image-wrapper {
    width: 100%;
    height: 100%;
}

.category-boxes .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.category-boxes .item-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    padding: 0;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-boxes .text-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 12px;
}

.category-boxes .text-block::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    height: 3px;
    width: 0;
    background-color: var(--accent-color, #FF5722);
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.category-boxes .category-item:hover .text-block::before {
    width: 80%;
    opacity: 1;
}

.category-boxes .category-item h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1);
    text-align: center;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.65);
}

.category-boxes .category-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.category-boxes .category-item:hover .item-content {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

@media screen and (max-width: 1400px) {
    .category-box-container {
        gap: 12px;
        padding: 12px;
        max-width: min(100%, var(--section-max-width));
        margin: 0 auto;
    }

    .category-item {
        width: 25%;
        height: 200px;
    }

    .category-boxes .category-item h3 {
        font-size: 20px;
    }

    .category-boxes .text-block {
        padding-left: 0;
    }
}

@media screen and (max-width: 992px) {
    .category-boxes {
        max-width: min(100%, var(--section-max-width));
        margin: 0 auto;
    }

    .category-box-container {
        width: 100%;
        margin: 0;
        gap: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 0;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
    }

    .category-item {
        height: 180px;
        margin: 0;
        width: 100%;
        border-radius: 0;
        transition: all 0.3s ease-in-out;
    }

    .category-boxes .category-item h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }
}

@media screen and (max-width: 768px) {
    .category-boxes .category-item h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
}

@media screen and (max-width: 480px) {
    .category-item {
        height: 120px;
    }

    .category-boxes .category-item h3 {
        font-size: 13px;
        margin-bottom: 0;
        padding: 10px;
    }
}

/* --- Category Boxes Section End --- */

/* --- Partners Showcase Section --- */
.partners-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.partners-section-container {
    padding: 0 30px;
    max-width: min(85%, var(--section-max-width));
    margin: 0 auto;
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    animation: scroll-partners 30s linear infinite;
    width: calc(200px * 16);
    /* 8 partners * 2 (for loop) * 200px width */
}

.partner-logo {
    flex: 0 0 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.partner-logo img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 8));
        /* Move by width of 8 partners */
    }
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@media (max-width: 992px) {
    .partners-section-container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .partner-logo {
        flex: 0 0 175px;
        padding: 0 15px;
    }

    .partners-track {
        width: calc(150px * 16);
        animation: scroll-partners-mobile 25s linear infinite;
    }

    @keyframes scroll-partners-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 8));
        }
    }
}

@media (max-width: 480px) {
    .partner-logo {
        flex: 0 0 150px;
        height: 60px;
        padding: 0 10px;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 40px;
    }

    .partners-track {
        width: calc(120px * 16);
        animation: scroll-partners-small 20s linear infinite;
    }

    @keyframes scroll-partners-small {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-120px * 8));
        }
    }
}

/* --- Partners Showcase Section End --- */

/* --- Steps Section Start --- */
.steps-section {
    padding: 30px 0;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.steps-section .step-item {
    text-align: center;
    position: relative;
}

.steps-section .step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #d64545, #a71c1c);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.steps-section .step-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.steps-section .step-content p {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    line-height: 1.65;
    width: 80%;
    margin: 0 auto 6px;
}

.steps-section .step-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    transition: all 0.3s ease;
}

.steps-section .step-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 10px;
}

.steps-section .step-link:hover {
    color: #8a1616;
}

.steps-section .step-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1400px) {
    .steps-container {
        max-width: min(90%, var(--section-max-width));
        padding: 20px 10px;
        gap: 12px;
    }

    .steps-section .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .steps-section .step-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .steps-section .step-content p {
        font-size: 12px;
        font-weight: 600;
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .steps-section {
        padding: 20px 0;
    }

    .steps-container {
        max-width: min(85%, var(--section-max-width));
        padding: 20px 16px;
        gap: 20px 12px;
    }

    .steps-section .step-content p {
        max-width: 98%;
    }
}

@media (max-width: 480px) {
    .steps-section {
        padding: 10px 0;
    }

    .steps-container {
        max-width: min(80%, var(--section-max-width));
        gap: 16px;
    }

    .steps-section .step-item {
        padding-bottom: 12px;
    }

    .steps-section .step-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 1px;
        background-color: #e0e0e0;
    }

    .steps-section .step-item:last-child {
        padding-bottom: 0;
    }

    .steps-section .step-item:last-child::after {
        display: none;
    }

    .steps-section .step-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .steps-section .step-content h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .steps-section .step-content p {
        font-size: 11px;
        font-weight: 500;
    }

    .steps-section .step-link,
    .steps-section .step-link i {
        font-size: 11px;
    }
}

/*  --- Steps Section End --- */

/* --- Student Discount Banner Section Start --- */
.student-banner-section {
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.student-banner {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
    background-image: url('/static/img/slideshow-images/student-beans-banner.webp');
    background-position: right center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 5%;
    box-sizing: border-box;
}

.student-discount-box {
    background-color: #fff;
    color: #0b1a36;
    border-radius: 16px;
    padding: 30px;
    max-width: 550px;
    margin-right: 10%;
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.85);
    z-index: 4;
    box-sizing: border-box;
}

.discount-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.jnx-logo {
    width: 60px;
    height: auto;
    margin-left: 10px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
}

.student-discount-box h2 {
    color: #0b1a36;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
    max-width: 80%;
}

.how-to-get h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #0b1a36;
}

.student-banner-section .step-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.student-banner-section .step-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-banner-section .step-number {
    background-color: var(--accent-color);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.student-banner-section .step-item p {
    margin: 0;
    font-size: 15px;
    color: #0b1a36;
}

.student-cta-btn {
    display: block;
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 25px 0 15px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 16px;
}

.student-cta-btn:hover {
    background-color: rgba(var(--accent-color-rgb), 0.85);
    transform: translateY(-2px);
}

.verification-note {
    text-align: center;
    margin-bottom: 20px;
}

.exclusive-offer {
    color: #555;
    font-size: 9px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.powered-by {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

.powered-by p {
    margin: 0;
}

.powered-by a {
    text-decoration: none;
    color: #666;
}

.powered-by a:hover {
    color: #5933aa;
}

.brand-name {
    color: #5933aa;
    font-weight: 700;
}

@media screen and (max-width: 1280px) {
    .student-banner-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .student-banner {
        height: 100%;
        min-height: 340px;
        background-position: center;
        width: 100%;
        max-width: 100%;
    }

    .student-discount-box {
        max-width: 440px;
        padding: 25px;
        margin-right: 6%;
    }

    .discount-header {
        padding-bottom: 0;
    }

    .student-discount-box h2 {
        font-size: 18px;
    }

    .how-to-get h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .student-banner-section .step-list {
        margin-bottom: 10px;
    }

    .student-banner-section .step-item {
        gap: 10px;
    }

    .student-banner-section .step-item p {
        font-size: 12px;
    }

    .student-banner-section .step-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .student-cta-btn {
        padding: 12px;
        font-size: 14px;
        margin: 20px 0 12px;
    }

    .jnx-logo {
        width: 45px;
    }

    .exclusive-offer {
        font-size: 8px;
    }

    .powered-by {
        margin-top: 15px;
    }
}

@media screen and (max-width: 992px) {
    .student-banner-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .student-banner {
        min-height: 340px;
        background-position: 20% center;
        width: 100%;
        max-width: 100%;
    }

    .student-discount-box {
        max-width: 340px;
        padding: 20px;
        margin-right: 4%;
    }

    .discount-header {
        padding-bottom: 10px;
    }

    .student-discount-box h2 {
        font-size: 14px;
        max-width: 80%;
    }

    .how-to-get h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .student-banner-section .step-list {
        gap: 8px;
        margin-bottom: 10px;
    }

    .student-banner-section .step-item p {
        font-size: 10px;
    }

    .student-banner-section .step-number {
        width: 18px;
        height: 18px;
        font-size: 9px;
        font-weight: 400;
    }

    .student-cta-btn {
        padding: 10px;
        font-size: 12px;
        margin: 10px 0 6px;
        font-weight: 500;
    }

    .jnx-logo {
        width: 45px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    }

    .exclusive-offer {
        font-size: 6px;
    }

    .verification-note {
        margin-bottom: 0;
    }

    .powered-by {
        font-size: 9px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 768px) {
    .student-banner-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        height: 40vh !important;
    }

    .student-banner {
        min-height: 300px;
        background-position: 30% center;
        width: 100%;
        max-width: 100%;
    }

    .student-discount-box {
        max-width: 340px;
        padding: 15px;
    }

    .discount-header {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .student-discount-box h2 {
        max-width: 85%;
    }

    .how-to-get h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .student-banner-section .step-list {
        gap: 6px;
        margin-bottom: 15px;
    }

    .student-banner-section .step-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .student-banner-section .step-item p {
        font-size: 11px;
    }

    .student-cta-btn {
        padding: 8px;
        font-size: 13px;
        margin: 12px 0 8px;
    }

    .jnx-logo {
        width: 45px;
    }

    .exclusive-offer {
        font-size: 7px;
    }

    .powered-by {
        font-size: 10px;
        margin-top: 8px;
    }
}

@media screen and (max-width: 480px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .student-banner-section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .student-banner {
        min-height: 30vh;
        padding: 10px;
        background-position: 35% center;
        overflow: hidden !important;
        width: 100%;
        max-width: 100%;
    }

    .student-discount-box {
        max-width: 200px;
        padding: 12px;
        margin-right: 4%;
        border-radius: 12px;
    }

    .discount-header {
        margin-bottom: 8px;
        padding-bottom: 0;
    }

    .student-discount-box h2 {
        font-size: 10px;
        max-width: 80%;
        margin-bottom: 4px;
    }

    .how-to-get h3 {
        font-size: 8px;
        margin-bottom: 6px;
    }

    .student-banner-section .step-list {
        gap: 4px;
        margin-bottom: 10px;
    }

    .student-banner-section .step-item {
        gap: 6px;
    }

    .student-banner-section .step-number {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .student-banner-section .step-item p {
        font-size: 7px;
    }

    .student-cta-btn {
        padding: 6px;
        font-size: 9px;
        margin: 8px 0 5px;
    }

    .jnx-logo {
        width: 28px;
        border-radius: 6px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    }

    .exclusive-offer {
        font-size: 5px;
    }

    .powered-by {
        font-size: 6px;
        margin-top: 5px;
    }
}

/* --- Student Discount Banner Section End --- */

/* --- FAQ Section Start --- */
#faq .section-header {
    left: -1.5%;
    position: relative;
}

.faq-section {
    padding: 30px 0;
    border-top: 1px solid rgba(34, 34, 34, 0.3);
}

.faq-container {
    max-width: min(75%, var(--section-max-width));
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 100px;
    margin: 20px auto 0;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    position: relative;
    padding-left: 40px;
}

.faq-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #d64545, #a71c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.faq-icon i {
    font-size: 16px;
    color: white;
}

.faq-item:hover .faq-icon {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(167, 28, 28, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-question:hover h4 {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 24px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

@media (max-width: 1400px) {
    .faq-container {
        max-width: min(85%, var(--section-max-width));
    }
}

@media (max-width: 992px) {
    .faq-container {
        max-width: min(75%, var(--section-max-width));
    }

    #faq.section-header {
        left: 0%;
    }

    .faq-section .section-header, .faq-section .section-header h2::after, .faq-section .section-header p {
        text-align: center;
    }

    .faq-section .section-header p {
        max-width: 100%;
    }

    .faq-section .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .faq-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 480px) {
    .faq-container {
        max-width: min(85%, var(--section-max-width));
    }

    .faq-grid {
        margin-top: 0;
        width: 90%;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-icon i {
        font-size: 16px;
    }

    .faq-item {
        padding-left: 35px;
    }

    .faq-item h4,
    .faq-question i {
        font-size: 12px;
    }

    .faq-answer p {
        font-size: 11px;
    }
}

/* --- FAQ Section End --- */