/* ==========================================================================
  Contents:
   1. Font Faces
   2. Reset & Base Styles
   3. Layout & Container
   4. Navigation
      4.1 Navbar
      4.2 Hamburger Menu
      4.3 Submenu
   5. Components
      5.1 Buttons
      5.2 Carousel
      5.3 Tab Panels
      5.4 Course Grid
      5.5 Explore Section
      5.6 My Sony Academy
      5.7 Rewards Section
   6. Animations
   ========================================================================== */

/* 1. Font Faces
   ========================================================================== */
@font-face {
    font-family: 'sst-medium';
    src: url('../fonts/SSTMedium.TTF') format('truetype');
}

@font-face {
    font-family: 'sst-light';
    src: url('../fonts/SSTLight.TTF') format('truetype');
}

@font-face {
    font-family: 'sst-roman';
    src: url('../fonts/SST-Roman.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-heavy';
    src: url('../fonts/SST-Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'sst-bold';
    src: url('../fonts/SSTBold.TTF') format('truetype');
}

/*Added By Amit on :09-July-2025 ---- FONT FACE STRAT----- */

@font-face {
    font-family: 'SSTVN';
    src: url('../fonts/SSTVietnamese-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'SSTVN';
    src: url('../fonts/SSTVietnamese-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'SSTVN';
    src: url('../fonts/SSTVietnamese-Light.ttf') format('truetype');
}


/*---- END----- */
/* 2. Reset & Base Styles
     ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'sst-roman', sans-serif;
}

.sst-light {
    font-family: 'sst-light', sans-serif;
}

.sst-roman {
    font-family: 'sst-roman', sans-serif;
}

.sst-medium {
    font-family: 'sst-medium', sans-serif;
}

.sst-heavy {
    font-family: 'sst-heavy', sans-serif;
}

.sst-bold {
    font-family: 'sst-bold', sans-serif;
}

.green-text {
    color: rgb(0, 128, 0) !important;
}

.black-text {
    color: rgb(0, 0, 0) !important;
}

.white-text {
    color: rgb(255, 255, 255) !important;
}

.list-style-none {
    list-style: none;
}

.padding-top10 {
    padding-top: 10px;
}

:root {
    --primary-color: #000;
    --secondary-color: #666;
    --background-light: #f8f8f8;
    --background-white: #fff;
    --border-radius-sm: 5px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 20px;
    --spacing-xl: 24px;
    --font-family-base: 'sst-roman', sans-serif;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition-default: all 0.2s ease;
}
/* 3. Layout & Container
     ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    text-align: center;
    font-size: 1.5rem;
}

    .title h1 {
        font-size: 2.25rem !important;
        font-weight: normal;
        font-family: 'sst-medium', sans-serif;
    }

/* 4. Navigation
     ========================================================================== */
/* 4.1 Navbar */
.navbar {
    padding: 16px;
    background: black;
    position: relative;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

    .nav-brand img {
        max-width: 100px;
        max-height: 70px;
        width: auto;
        display: block;
        object-fit: contain;
    }

.nav-menu {
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

    .nav-menu ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
    }

    .nav-menu a {
        text-decoration: none;
        color: white;
        font-size: 1rem;
    }

    .nav-menu ul li {
        margin-bottom: 10px;
    }

/* 4.2 Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.profile-icon img {
    max-width: 100px;
    max-height: 21px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* 4.3 Submenu */
.explore-menu {
    margin-bottom: 0px !important;
}

.explore-submenu {
    list-style: none;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    position: absolute;
    height: 0;
    overflow: hidden;
    gap: 0 !important;
    z-index: 1001;
    background: black;
}

    .explore-submenu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        height: auto;
    }

/* 5. Components
     ========================================================================== */
/* 5.1 Buttons */
.back-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
}

.user-button {
    cursor: pointer;
    z-index: 1000;
}

    .user-button img {
        max-width: 100px;
        max-height: 21px;
        width: auto;
        display: block;
        object-fit: contain;
    }

/* 5.2 Carousel */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: auto;
    position: relative;
}

    .carousel-slide img {
        width: 100%;
        height: 599px;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: clamp(0.5rem, 2vw, 1rem);
        letter-spacing: 1px;
        font-family: 'sst-roman';
        font-weight: normal;
    }

    .slide-content p {
        font-size: 1.125rem;
        max-width: 800px;
        margin: 0 auto;
        display: unset;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: unset;
    }
/* Sticky Tab Container */
.tab-container {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 998;
    transition: all 0.3s ease;
    width: 100%;
}

    .tab-container.sticky {
        padding: 0 !important;
    }

.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-btn {
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: clamp(30px, 5vw, 40px);
    height: clamp(30px, 5vw, 40px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    object-fit: contain;
}

    .carousel-btn img {
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.carousel-dot {
    width: 15px;
    height: 5px;
    border: none;
    background: white;
    cursor: pointer;
    padding: 0;
}

    .carousel-dot.active {
        background: orange;
    }

/* Additional Carousel Styles */
.carousel-wrapper,
.carousel2-wrapper {
    display: flex;
    transition: transform 0.5sease-in-out;
    margin: auto;
    margin-top: 10px;
    width: 80%;
    gap: 30px;
}

.explore-submenu {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
    will-change: transform;
    touch-action: pan-y pinch-zoom;
}

    .explore-submenu.active {
        transform: translateX(0);
    }

.dots-container,
.dots2-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    z-index: 1;
}

.dot,
.dot2 {
    width: 15px;
    height: 5px;
    border: none;
    background: silver;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

    .dot.active,
    .dot2.active {
        background-color: rgb(248, 121, 2);
    }

.swiper-wrapper {
    padding-bottom: 30px;
}



/* 5.3 Tab Panels */


/* 5.4 Course Grid */


/* 5.5 Explore Section */
#explore {
    padding: 50px 0 0 0;
}

.explore {
    max-width: 1200px;
    margin: 0 auto;
}

.without-slider {
    padding: 0 0 30px 0;
}

.explore-content {
    display: flex;
    flex-wrap: wrap;
}

.explore-item {
    position: relative;
    flex: 1 1 calc(50% - 1rem);
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer; /*Added by Amit on 19-May-2025*/
}

    .explore-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .explore-item:hover img {
        transform: scale(1.1);
    }

.explore-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    text-align: center;
}

    .explore-text h2 {
        margin: 0;
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .explore-text p {
        margin: 0;
        font-size: 1rem;
        opacity: 0.9;
        color: white;
    }

/* 5.6 My Sony Academy */
#my-sony-academy {
    padding: 50px 0 0 0;
}

.my-sony-academy-content {
    position: relative;
}

.my-sony-academy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-sony-academy-logo {
    width: 40%;
    object-fit: cover;
}

.my-sony-rewards-logo {
    width: 24%;
    object-fit: cover;
}

.workshops-content img {
    width: 45%;
    object-fit: cover;
    height: auto;
}

.my-sony-academy-description {
    position: absolute;
    top: 21%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .my-sony-academy-description a {
        text-decoration: none;
        color: white;
    }

    .my-sony-academy-description h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .my-sony-academy-description p {
        font-size: 1rem;
    }

/* 5.7 Rewards Section */
#reward {
    padding: 50px 0 0 0;
}

.reward-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.reward-container {
    position: relative;
    max-width: 1200px;
    margin: 5px auto 0;
    overflow: hidden;
}

.reward-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

    .reward-btn.prev {
        left: -40px;
    }

    .reward-btn.next {
        right: -40px;
    }

    .reward-btn img {
        width: 30px;
        height: auto;
        transition: transform 0.3s ease;
    }

    .reward-btn:hover img {
        transform: scale(1.1);
    }

.reward-slide {
    position: relative;
    min-width: 100%;
    box-sizing: border-box;
}

.swiper-pagination {
    position: unset !important;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 5px !important;
    border-radius: 0px !important;
}

.swiper-pagination-bullet-active {
    background: rgb(248, 121, 2) !important;
}

.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: unset !important;
    top: -25px !important;
}

.reward-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reward-slide-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    width: 80%;
}

    .reward-slide-description h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-family: var(--font-family-base);
        font-weight: normal;
        letter-spacing: 1px;
    }

    .reward-slide-description p {
        font-size: 1rem;
        font-family: var(--font-family-base);
        font-weight: normal;
        letter-spacing: 1px;
    }

/* Support Section */
#support {
    padding: 50px 0 0 0;
}

/*rewrite pagination*/
.support-container {
    position: relative;
    max-width: 100%;
    margin-top: 5px;
    overflow: hidden;
}

.support-slide {
    position: relative;
    min-width: 100%;
    box-sizing: border-box;
}

.swiper-pagination {
    position: unset !important;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 5px !important;
    border-radius: 0px !important;
}

.swiper-pagination-bullet-active {
    background: rgb(248, 121, 2) !important;
}

.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: unset !important;
    top: -25px !important;
}

.support-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-slide-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    width: 80%;
}

    .support-slide-description h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-family: var(--font-family-base);
        font-weight: normal;
        letter-spacing: 1px;
    }

    .support-slide-description p {
        font-size: 1rem;
        font-family: var(--font-family-base);
        font-weight: normal;
        letter-spacing: 1px;
    }

.swiper-pagination2 {
    position: unset;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination3 {
    position: unset;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

/* 6. Animations
     ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*landing page*/
.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.my-sony-academy-description {
    position: absolute;
    top: 21%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .my-sony-academy-description h2 {
        font-size: 2rem;
        font-family: var(--font-family-base);
        font-weight: normal;
        letter-spacing: 1px;
    }

.landing-title h1 {
    padding: 15px 30px;
    border: none;
    background: transparent;
    font-size: 2.5rem !important;
    transition: var(--transition-default);
    position: relative;
    text-decoration: none !important;
    color: var(--primary-color);
    font-family: var(--font-family-base);
    letter-spacing: 1px;
    font-weight: normal;
}

.container-landing {
    max-width: 100%;
    margin: 0 auto;
}

.explore, .reward, .support {
    max-width: 1200px;
    margin: 0 auto;
}

#my-sony-academy {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    position: relative;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: auto;
    position: relative;
}

.banner-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
    padding: 20px;
}

    .banner-content h2 {
        font-size: 2.5rem;
        margin-bottom: clamp(0.5rem, 2vw, 1rem);
        letter-spacing: 1px;
        font-family: 'sst-roman';
        font-weight: normal;
        line-height: 1.3;
    }

    .banner-content p {
        font-size: 1.125rem;
        max-width: 800px;
        margin: 0 auto;
    }

.reward-container .swiper-wrapper {
    padding-bottom: 0 !important;
}

.reward-container .swiper-wrapper, .support-container .swiper-wrapper {
    padding-top: 15px !important;
}

.reward-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.reward-btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-default);
    display: flex;
    align-items: center;
    justify-content: center;
}



.with-logo {
    text-align: center;
}

.reward-slide-image-container img {
    width: 100px;
}

.alpha-id {
    width: 75% !important;
}


/* ==========================================================================
   Promotions Section
   ========================================================================== */
.promotions {
    padding: 50px 0 0 0;
}

.promotions-container {
    position: relative;
    max-width: 1200px;
    margin: 5px auto 0;
    overflow: hidden;
}

.promotions-swiper {
    width: 100%;
    position: relative;
    padding: 0;
}

.promotions-slide {
    background: var(--background-white);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition-default);
}

    .promotions-slide:hover {
        transform: translateY(-5px);
    }

.promotions-slide-image {
    width: 100%;
    object-fit: cover;
}

.promotions-slide-description {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--background-white);
    color: var(--primary-color);
}

    .promotions-slide-description h2 {
        margin: 0 0 5px 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--primary-color);
        line-height: 1.4;
        font-family: 'sst-medium', sans-serif;
    }

    .promotions-slide-description p {
        font-size: 1rem;
        color: var(--secondary-color);
        font-family: 'sst-light';
        line-height: 1.4;
    }

.promotions .title h1 {
    padding: 15px 30px;
    border: none;
    background: transparent;
    font-size: 2.5rem !important;
    transition: var(--transition-default);
    position: relative;
    text-decoration: none !important;
    color: var(--primary-color);
    font-family: var(--font-family-base) !important;
    letter-spacing: 1px;
    font-weight: normal;
}

.promotions-slide a {
    text-decoration: none;
}

.promotions-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.promotions-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 10px;
}

    .promotions-btn.next {
        right: -40px;
        display: none;
    }

    .promotions-btn.prev {
        left: -40px;
        display:none;
    }

    .promotions-btn img {
        width: 25px;
        height: auto;
        transition: transform 0.3s ease;
    }

    .promotions-btn:hover img {
        transform: scale(1.1);
    }

.promotions-container .swiper-wrapper {
    padding-top: 15px !important;
}

/* Responsive adjustments for promotions */
@media (max-width: 768px) {
    .promotions {
        padding: calc(var(--spacing-lg)) 0 0 0;
    }

        .promotions .title {
            padding-bottom: 0px !important;
        }

            .promotions .title h1 {
                font-size: 1.5rem !important;
                padding: 5px 30px;
            }

    .promotions-swiper {
        padding: 0;
    }

    .promotions-slide-description {
        padding: var(--spacing-md);
    }

        .promotions-slide-description h2 {
            font-size: 0.875rem;
            line-height: 1.3;
        }

    .promotions-btn {
        display: none;
    }
}


@media screen and (max-width: 768px) {
    .banner-content {
        width: 90%;
        max-width: 100%;
    }

    .reward-slide-image-container img {
        width: 80px;
    }

    .reward-btn {
        display: none;
    }
}

/*Adding Amit Singh Start */
html[lang="vi-VN"] body {
    font-family: 'SSTVN', sans-serif !important;
}
html[lang="vi-VN"] .slide-content h2 {
    font-family: 'SSTVN', sans-serif !important;
}
html[lang="vi-VN"] .banner-content h2 {
    font-family: 'SSTVN', sans-serif !important;
}
:root:lang(vi-VN) {
    --font-family-base: 'SSTVN', sans-serif !important;
}
html[lang="vi-VN"] .title h1 {
    font-family: 'SST W01 Medium', sans-serif !important;
}
html[lang="vi-VN"] .promotions-slide-description h2 {
    font-family: 'SST W01 Medium', sans-serif !important;
}
/*End*/