@font-face {
    font-family: 'Poppins 400';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins 600';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Silkscreen';
    src: url('../fonts/Silkscreen-Regular.ttf') format('truetype');
    font-weight: 400;
}


:root {
    /* CSS Custom Properties for consistent spacing */
    --hero-logo-desktop-width: 800px;
    --hero-logo-tablet-width: 500px;
    --hero-card-border-radius: 60px;
    --hero-card-padding: 40px;
    --controller-desktop-width: 681px;
    --controller-tablet-width: 400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid red !important; */
}

body {
    font-family: 'Poppins 400', sans-serif;
    /* color: white; */
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    overflow-x: clip !important;
}

/* ============= HERO WRAPPER WITH GRADIENT ============= */
.hero-wrapper {
    background: linear-gradient(180.7deg, #231F20 7.99%, #953AA4 53.69%, #231F20 99.4%);
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* Smooth transition between hero and other sections */
/* .hero-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #231F20);
    z-index: 1;
} */

/* ============= NAVIGATION STYLES ============= */
.header {
    position: static;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    background: transparent;
    /* Remove any background interference */
}

.nav-container {
    max-width: 1400px;
    margin: 0 0 8px 0;
    padding: 15px 50px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 80px;
    height: 40px;
    background-image: url('../img/MGO Logo-B_W.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.logo-divider {
    border: 1px solid #FFFFFF;
    height: 30px;
}

.logo-text {
    width: 80px;
    height: 40px;
    background-image: url('../img/says tech logo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
}

.nav-links li a {
    font-family: 'Poppins 600', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #FFE500;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.luahan-icon {
    margin: 0 5px 0 0;
    padding: 15px 15px;
    width: 35px;
    background-image: url('../img/luahan-icon.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.luahan-btn {
    background: #EAFF00;
    color: #231F20;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.luahan-btn:hover {
    background: #FFF200;
    transform: translateY(-1px);
    color: #231F20;
}

.share-btn {
    width: 35px;
    height: 35px;
    background-image: url('../img/Button\ Kongsi.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: black;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.language-btn {
    width: 60px;
    height: 35px;
    /* background-image: url('../img/language\ toggle.png'); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* English state - default */
.language-btn[data-lang="en"] {
    background-image: url('../img/language\ toggle.png');
}

/* Bahasa Malaysia state */
.language-btn[data-lang="bm"] {
    background-image: url('../img/eng\ language\ toggle.png');
}

/* Hover effects */
.language-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.language-btn:active {
    transform: scale(0.98);
}

/* Loading state */
.language-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
.language-btn:focus {
    outline: 2px solid #FFE000;
    outline-offset: 2px;
}

/* ============= DESKTOP HERO STYLES ============= */
.main-content {
    /* Remove min-height as it's now handled by hero-wrapper */
}

.hero-section {
    padding: 70px 0 0 0;
    min-height: calc(100vh - 80px);
    /* Adjust for header height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.hero-container {
    position: relative;
    overflow: visible;
}

.hero-main-card {
    border: 7px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--hero-card-border-radius);
    padding: var(--hero-card-padding);
    position: relative;
    background: rgba(149, 58, 164, 0.1);
    backdrop-filter: blur(10px);
    min-height: 580px;
    overflow: visible;
}

.hero-logo-image {
    position: absolute;
    top: -116px;
    left: -63px;
    width: var(--hero-logo-desktop-width);
    max-width: var(--hero-logo-desktop-width);
    height: auto;
    z-index: 3;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
    font-family: 'Silkscreen', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: -5%;
    display: inline-block;
    transform: rotate(-6.1deg);
    position: absolute;
    top: 50%;
    right: 50%;
    z-index: 4;
}

.hero-description-box {
    background: #231f20;
    border: 5px dashed #EAFF00;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 70px;
    padding: 30px;
    position: absolute;
    width: 600px;
    max-width: 600px;
    bottom: 40px;
    left: 40px;
    z-index: 2;
}

.hero-description {
    font-family: 'Poppins 600';
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

.highlight-text {
    color: #FFE500;
    font-weight: 600;
}

.hero-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.controller-image {
    position: absolute;
    top: -37px;
    right: -110px;
    width: var(--controller-desktop-width);
    max-width: var(--controller-desktop-width);
    height: auto;
    z-index: 3;
}

.blue-dots-bg {
    position: absolute;
    right: -94px;
    top: -70px;
    background-image: url('../img/bluedots.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 42rem;
    height: 39rem;
    z-index: 1;
}

/* ============= YOUR EXACT WORKING 768PX DESIGN - RESTORED ============= */
@media (max-width: 768px) {

    /* NAVIGATION - TRANSPARENT BACKGROUND */
    .header {
        background: transparent;
        backdrop-filter: none;
    }

    .nav-links {
        display: none;
        /* Hide nav links on mobile only */
    }

    .nav-container {
        margin: 0 10px;
        padding: 8px 0;
    }

    /* MOBILE LOGO SECTION - MUCH SMALLER */
    .logo-icon {
        width: 60px;
        height: 30px;
    }

    .logo-divider {
        height: 18px;
        border-width: 0.5px;
    }

    .logo-text {
        width: 60px;
        height: 30px;
    }

    .logo-section {
        gap: 8px;
    }

    /* MOBILE NAV BUTTONS - LANGUAGE BUTTON BIGGER */
    .nav-buttons {
        gap: 8px;
        align-items: center;
        flex-wrap: nowrap;
        height: auto;
    }

    .luahan-btn {
        padding: 8px 12px;
        font-size: 11px;
        height: 32px;
        min-width: auto;
        flex-shrink: 0;
        border-radius: 6px;
    }

    .luahan-icon {
        width: 14px;
        height: 14px;
        margin: 0;
        padding: 0;
    }

    .share-btn {
        display: none;
    }

    /* LANGUAGE BUTTON - MUCH BIGGER AS REQUESTED */
    .language-btn {
        width: 60px;
        height: 38px;
        flex-shrink: 0;
        border-radius: 6px;
    }

    /* HERO SECTION - MOBILE FIRST APPROACH */
    .hero-wrapper {
        min-height: 100vh;
        position: relative;
    }

    .hero-section {
        padding: 0;
        min-height: 100px;
        position: relative;
    }

    .hero-container {
        position: relative;
        height: 800px;
        overflow: visible;
    }

    /* MOBILE LOGO - OUTSIDE THE BORDERED CONTAINER */
    .hero-logo-image {
        position: absolute;
        width: 417px;
        height: 281px;
        top: -125px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
        object-fit: contain;
    }

    /* MOBILE CARD STRUCTURE - STARTS BELOW THE TITLE IMAGE */
    .hero-main-card {
        border: 3px solid rgba(255, 255, 255, 0.5);
        border-radius: 25px;
        padding: 20px;
        position: absolute;
        background: rgba(149, 58, 164, 0.1);
        backdrop-filter: blur(10px);
        top: 105px;
        left: 15px;
        right: 15px;
        height: 770px;
        overflow: visible;
        display: block;
    }

    /* MOBILE SUBTITLE - INSIDE THE BORDERED CONTAINER */
    .hero-subtitle {
        position: absolute;
        top: 105px;
        left: 50%;
        font-family: 'Silkscreen', monospace;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: -5%;
        text-align: center;
        color: #FFFFFF;
        padding: 5px 12px;
        border-radius: 12px;
        width: 10rem;
        z-index: 4;
        margin: 0;
    }

    /* MOBILE DESCRIPTION BOX - YOUR PERFECT DESIGN */
    .hero-description-box {
        background-color: transparent !important;
        border: none !important;
        border-top-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        background-image: url(../img/hero-description-box.png) !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        position: absolute;
        top: 160px;
        left: 50%;
        transform: translateX(-50%);
        width: 351px;
        height: 315px;
        padding: 23px;
        z-index: 2;
        overflow: visible;
    }

    .hero-description-box::after {
        display: none !important;
    }

    .hero-description {
        position: relative;
        top: 2%;
        font-size: 13px;
        line-height: 2;
        color: rgba(255, 255, 255, 0.95);
        text-align: left;
        margin: 0;
        height: 100%;
        overflow-y: auto;
    }

    /* MOBILE VISUAL SECTION - REMOVE */
    .mobile-visual-section {
        display: none;
    }

    /* BLUE DOTS - YOUR PERFECT POSITIONING */
    .blue-dots-bg {
        position: absolute;
        width: 25rem;
        height: 422px;
        top: 366px;
        left: -25px;
        background-image: url('../img/bluedots.png');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1;
        opacity: 0.8;
    }

    /* CONTROLLER - YOUR PERFECT POSITIONING */
    .controller-image {
        position: absolute;
        width: 400px;
        height: 341px;
        top: 429px;
        left: -16px;
        z-index: 1;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
        object-fit: contain;
    }

    /* REMOVE BOOTSTRAP INTERFERENCE AND DESKTOP ELEMENTS */
    .hero-main-card .row,
    .hero-main-card .col-12,
    .hero-main-card .col-lg-5,
    .hero-main-card .col-xl-4,
    .hero-visual-container {
        display: none;
    }

    /* ENSURE NO MARGIN/PADDING AT END OF SECTION */
    .hero-section {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .hero-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
        padding-top: 10px;
    }

    /* Hide desktop-only elements */
    .d-none.d-lg-block {
        display: none !important;
    }

    /* Show mobile-only elements */
    .d-block.d-lg-none {
        display: block !important;
    }
}

@media (max-width: 414px) and (min-width: 390px) {
    .nav-buttons {
        flex-shrink: 0;
        gap: 1;
        position: relative;
        left: 0;
    }

    .luahan-btn {
        padding: 8px 8px;
        font-size: 8px;
        height: 36px;
        min-width: auto;
        flex-shrink: 0;
        border-radius: 6px;
    }
}

@media (max-width: 390px) {
    .hero-wrapper {
        height: 100vh;
    }

    /* NAVBAR FIX ONLY - MAKE IT FLEXIBLE */
    .nav-container {
        margin: 5px 8px;
        padding: 6px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo-section {
        flex-shrink: 0;
        gap: 6px;
    }

    .logo-icon,
    .logo-text {
        width: 50px;
        height: 30px;
    }

    .logo-divider {
        height: 26px;
    }

    .nav-buttons {
        flex-shrink: 0;
        gap: 6px;
        position: relative;
        left: 22%;
    }

    .luahan-btn {
        padding: 15px 8px;
        font-size: 9px;
        height: 24px;
        white-space: nowrap;
    }

    .luahan-icon {
        width: 10px;
        height: 10px;
    }

    .language-btn {
        width: 50px;
        height: 32px;
    }

    /* CONTAINER HEIGHT FIX ONLY */
    .hero-container {
        height: 700px;
    }

    /* KEEP ALL YOUR PERFECT POSITIONING BUT SCALE SLIGHTLY */
    .hero-logo-image {
        width: 350px;
        height: 236px;
        top: -110px;
    }

    .hero-main-card {
        top: 90px;
        left: 8px;
        right: 8px;
        height: 650px;
        padding: 18px;
    }

    .hero-subtitle {
        top: 90px;
        left: 48%;
        width: 8rem;
        font-size: 10px;
    }

    .hero-description-box {
        top: 140px;
        width: 300px;
        height: 270px;
        padding: 20px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.8;
    }

    .blue-dots-bg {
        width: 20rem;
        height: 360px;
        top: 320px;
        left: 17px;
    }

    .controller-image {
        width: 269px;
        height: 224px;
        top: 363px;
        left: 11%;
    }
}


/* ============= ONLY FIX NAVBAR BREAKING ON SMALL DEVICES ============= */
@media (max-width: 380px) {
    .hero-wrapper {
        height: 100vh;
    }

    /* NAVBAR FIX ONLY - MAKE IT FLEXIBLE */
    .nav-container {
        margin: 0 8px;
        padding: 6px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo-section {
        flex-shrink: 0;
        gap: 6px;
    }

    .logo-icon,
    .logo-text {
        width: 50px;
        height: 30px;
    }

    .logo-divider {
        height: 26px;
    }

    .nav-buttons {
        flex-shrink: 0;
        gap: 6px;
        position: relative;
        left: 18%;
    }

    .luahan-btn {
        padding: 5px 8px;
        font-size: 9px;
        height: 24px;
        white-space: nowrap;
    }

    .luahan-icon {
        width: 10px;
        height: 10px;
    }

    .language-btn {
        width: 50px;
        height: 32px;
    }

    /* CONTAINER HEIGHT FIX ONLY */
    .hero-container {
        height: 700px;
    }

    /* KEEP ALL YOUR PERFECT POSITIONING BUT SCALE SLIGHTLY */
    .hero-logo-image {
        width: 350px;
        height: 236px;
        top: -110px;
    }

    .hero-main-card {
        top: 90px;
        left: 8px;
        right: 8px;
        height: 650px;
        padding: 18px;
    }

    .hero-subtitle {
        top: 90px;
        left: 48%;
        width: 8rem;
        font-size: 10px;
    }

    .hero-description-box {
        top: 140px;
        width: 300px;
        height: 270px;
        padding: 20px;
    }

    .hero-description {
        font-size: 11px;
        line-height: 1.8;
    }

    .blue-dots-bg {
        width: 20rem;
        height: 360px;
        top: 320px;
        left: 17px;
    }

    .controller-image {
        width: 269px;
        height: 224px;
        top: 363px;
        left: 11%;
    }
}

@media (max-width: 350px) {
    .nav-buttons {
        flex-shrink: 0;
        gap: 6px;
        position: relative;
        left: 12%;
    }
}

/* ============= SECTION 2: CYBERBULLYING IN GAMING ============= */
.cyberbullying-section {
    min-height: 100vh;
    position: relative;
    padding: 0 0;
    background: #231F20;
    /* Solid background to separate from hero gradient */
    overflow: hidden;
}

/* Purple Dots Background Pattern */
.cyberbullying-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/Purple\ squares.png');
    background-position: start;
    background-repeat: no-repeat;
    background-size: contain;
    /* opacity: 20%; */
    z-index: 1;
}

/* DESKTOP LAYOUT */
.cyberbullying-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 40px 20px;
}

/* DESKTOP - Title Box */
.cyberbullying-title-box {
    width: 435px;
    height: 115px;
    background: transparent;
    border: 5px dashed #FFE500;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 60px 0;
    position: relative;
    z-index: 3;
}

.cyberbullying-title {
    font-family: 'Silkscreen', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* DESKTOP - Description Text */
.cyberbullying-description {
    max-width: 800px;
    text-align: center;
    margin: 0 0 60px 0;
    position: relative;
    z-index: 3;
}

.cyberbullying-description p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

/* DESKTOP - Cards Container */
.cyberbullying-cards {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 3;
}

.cyberbullying-cards .row {
    justify-content: center;
    gap: 0;
}

.cyberbullying-card {
    width: 280px;
    height: auto;
    /* border-radius: 15px; */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cyberbullying-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* MOBILE LAYOUT CLASSES */
.cyberbullying-mobile {
    display: none;
    position: relative;
    z-index: 2;
}

.cyberbullying-title-box-mobile {
    background: transparent;
    border: 4px dashed #FFE500;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    padding: 20px 30px;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cyberbullying-title-mobile {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.cyberbullying-description-mobile {
    width: 100%;
    margin: 0 0 40px 0;
}

.cyberbullying-description-mobile p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
    text-align: center;
}

.cyberbullying-cards-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cyberbullying-card-mobile {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cyberbullying-card-mobile:hover {
    transform: translateY(-5px);
}

/* ============= TABLET RESPONSIVE (992px) ============= */
@media (max-width: 992px) {
    .cyberbullying-section {
        padding: 60px 0;
        min-height: auto;
    }

    /* Hide desktop layout */
    .cyberbullying-content {
        display: none;
    }

    /* Show mobile layout */
    .cyberbullying-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 30px;
    }

    .cyberbullying-title-box-mobile {
        max-width: 400px;
        padding: 25px 35px;
        margin: 0 0 35px 0;
        border-width: 4px;
        border-top-right-radius: 55px;
        border-bottom-left-radius: 55px;
    }

    .cyberbullying-title-mobile {
        font-size: 20px;
        letter-spacing: 0.8px;
    }

    .cyberbullying-description-mobile {
        max-width: 500px;
        margin: 0 0 45px 0;
    }

    .cyberbullying-description-mobile p {
        font-size: 15px;
        line-height: 1.6;
    }

    .cyberbullying-cards-mobile {
        gap: 25px;
        max-width: 500px;
    }

    .cyberbullying-card-mobile {
        max-width: 400px;
        border-radius: 15px;
    }
}

/* ============= MOBILE RESPONSIVE (768px) ============= */
@media (max-width: 768px) {
    .cyberbullying-section {
        padding: 50px 0;
    }

    .cyberbullying-mobile {
        padding: 30px 20px;
    }

    .cyberbullying-title-box-mobile {
        max-width: 350px;
        padding: 20px 30px;
        margin: 0 0 30px 0;
        border-width: 4px;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }

    .cyberbullying-title-mobile {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .cyberbullying-description-mobile {
        max-width: 350px;
        margin: 0 0 40px 0;
    }

    .cyberbullying-description-mobile p {
        font-size: 14px;
        line-height: 1.5;
    }

    .cyberbullying-cards-mobile {
        gap: 20px;
        max-width: 350px;
    }

    .cyberbullying-card-mobile {
        max-width: 320px;
        border-radius: 12px;
    }
}

/* ============= SMALL MOBILE RESPONSIVE (330px) ============= */
@media (max-width: 330px) {
    .cyberbullying-section {
        padding: 30px 0;
    }

    .cyberbullying-mobile {
        padding: 20px 12px;
    }

    .cyberbullying-title-box-mobile {
        max-width: 280px;
        padding: 15px 20px;
        margin: 0 0 25px 0;
        border-width: 3px;
        border-top-right-radius: 35px;
        border-bottom-left-radius: 35px;
    }

    .cyberbullying-title-mobile {
        font-size: 14px;
        letter-spacing: 0.3px;
        line-height: 1.1;
    }

    .cyberbullying-description-mobile {
        max-width: 280px;
        margin: 0 0 30px 0;
    }

    .cyberbullying-description-mobile p {
        font-size: 11px;
        line-height: 1.4;
    }

    .cyberbullying-cards-mobile {
        gap: 15px;
        max-width: 280px;
    }

    .cyberbullying-card-mobile {
        max-width: 260px;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

    .cyberbullying-card-mobile:hover {
        transform: translateY(-3px);
    }
}



/* ============= SECTION 3: SHARE STORIES ============= */
.share-stories-section {
    background: linear-gradient(180.7deg, #231F20 7.99%, #953AA4 53.69%, #231F20 99.4%);
    /* min-height: 100vh; */
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Main Container with Border */
.share-stories-container {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    padding: 60px 40px 60px 40px;
    padding-top: 120px;
    /* Extra space for title box overlap */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin-top: 60px;
    /* Space for title box to extend above */
}

/* Title Box - Connected to main border */
.share-title-box {
    width: 620px;
    height: 115px;
    background: #231F20;
    border: 5px dashed #EAFF00;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -57px;
    /* Half of title box height to center on border */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.share-title {
    font-family: 'Silkscreen', cursive;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* Description Text */
.share-description {
    max-width: 800px;
    text-align: center;
    margin: 0 auto 50px auto;
    margin-top: 40px;
    /* Space after title box */
}

.share-description p {
    font-family: 'Poppins 400', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

/* Input Container */
.input-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.input-box-bg {
    width: 600px;
    height: 330px;
    background-image: url('../img/box.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.input-textarea {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: none;
    padding: 80px 80px;
    line-height: 1.5;
    overflow: hidden;
}

.input-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* font-style: italic; */
}

/* Arrow Decorations */
.arrow-top-right {
    position: absolute;
    top: 5%;
    left: 96%;
    width: 170px;
    height: 80px;
    background-image: url('../img/Arrows.png');
    transform: rotate(180deg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.arrow-bottom-left {
    position: absolute;
    bottom: 2%;
    right: 96%;
    width: 170px;
    height: 80px;
    background-image: url('../img/Arrows.png');
    /* Replace with your actual arrow image (rotated version) */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Remove SVG generated background */
    /* background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCA2MCAzMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTU1IDI1TDM1IDE1TDE1IDI1IiBzdHJva2U9IiNGRkU1MDAiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik00NSAxNUwyNSA1TDUgMTUiIHN0cm9rZT0iI0ZGRTUwMCIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==') no-repeat center;
            background-size: contain; */
}

/* Read Responses Link */
.read-responses-container {
    text-align: right;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.read-responses-link {
    color: #FFFFFF;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.read-responses-link:hover {
    color: #FFE500;
}

/* Submit Button */
.submit-container {
    text-align: center;
}

.submit-btn {
    background: #00BCD4;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: #0097A7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* Modal Styles */
.confessions-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.9);
    border: 17px solid #CC00FF;
    border-radius: 30px;
    backdrop-filter: blur(4.3px);
    overflow: hidden;
}


.modal-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid rgba(200, 130, 255, 0.3);
    position: relative;
}

.modal-title {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.confession-item {
    background-image: url('../img/box.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 25px 15px 25px;
    margin-bottom: 15px;
    position: relative;
}

.confession-text {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    padding: 10px 10px 0 10px;
}

.confession-date {
    color: #FFE500;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    text-align: right;
    margin: 0;
}

/* Corner decorations for confession items */
.confession-item::before,
.confession-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('./assets/img/corner-decoration.png');
    /* Replace with your actual corner decoration image */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.confession-item::before {
    top: -10px;
    right: -10px;
}

.confession-item::after {
    bottom: -10px;
    left: -10px;
    transform: rotate(180deg);
}

/* ============= TABLET RESPONSIVE (992px) ============= */
@media (max-width: 991px) {
    .share-stories-section {
        padding: 60px 0;
    }

    .share-stories-container {
        border-radius: 40px;
        padding: 40px 30px 40px 30px;
        padding-top: 100px;
        margin: 0 20px;
        margin-top: 50px;
    }

    .share-title-box {
        width: 500px;
        height: 100px;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
        top: -50px;
    }

    .share-title {
        font-size: 20px;
    }

    .share-description {
        margin-bottom: 40px;
        margin-top: 30px;
    }

    .share-description p {
        font-size: 15px;
    }

    .input-container {
        max-width: 500px;
    }

    .input-box-bg {
        height: 180px;
    }

    .arrow-top-right,
    .arrow-bottom-left {
        width: 50px;
        height: 25px;
    }

    .modal-content {
        max-width: 350px;
        border-width: 12px;
    }
}

/* ============= MOBILE RESPONSIVE (768px) ============= */
@media (max-width: 768px) {
    .share-stories-section {
        padding: 40px 0;
    }

    .share-stories-container {
        border-radius: 30px;
        padding: 30px 20px 30px 20px;
        padding-top: 80px;
        margin: 0 15px;
        margin-top: 40px;
        border-width: 3px;
    }

    .share-title-box {
        width: 100%;
        max-width: 350px;
        height: 90px;
        border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;
        top: -45px;
        border-width: 4px;
    }

    .share-title {
        font-size: 16px;
        letter-spacing: 0.5px;
        line-height: 1.1;
    }

    .share-description {
        margin-bottom: 30px;
        margin-top: 25px;
    }

    .share-description p {
        font-size: 14px;
        line-height: 1.5;
    }

    .input-container {
        max-width: 100%;
        padding: 20px 0;
    }

    .input-box-bg {
        width: 359px;
        height: 230px;
        left: -11px;
        border-radius: 15px;
    }

    .input-textarea {
        font-size: 13px;
        top: 5px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 50px 35px;
    }

    .arrow-top-right,
    .arrow-bottom-left {
        width: 40px;
        height: 20px;
    }

    .arrow-top-right {
        top: -33px;
        width: 100px;
        height: 45px;
        left: 65%;
    }


    .arrow-bottom-left {
        bottom: -43px;
        left: 24px;
        width: 100px;
        height: 45px;
    }

    .read-responses-container {
        margin-bottom: 25px;
    }

    .read-responses-link {
        font-size: 13px;
    }

    .submit-btn {
        padding: 10px 30px;
        font-size: 14px;
        border-radius: 20px;
    }

    .modal-content {
        width: 95%;
        max-width: 320px;
        border-width: 10px;
        border-radius: 20px;
    }

    .modal-title {
        font-size: 16px;
    }

    .confession-text {
        font-size: 11px;
    }

    .confession-date {
        font-size: 9px;
    }
}

@media (max-width: 414px) and (min-width:385px) {
    .input-textarea {
        font-size: 13px;
        top: 5px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 50px 20px;
    }

    .input-box-bg {
        width: 326px;
        height: 234px;
        left: -19px;
        border-radius: 15px;
    }
}

@media (max-width: 380px) {
    /* .input-box-bg {
        width: 300px;
        height: 200px;
        left: -11px;
        border-radius: 15px;
    }

    .input-textarea {
        font-size: 13px;
        top: 5px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 50px 20px;
    } */

    .arrow-top-right {
        top: -33px;
        width: 100px;
        height: 45px;
        left: 57%;
    }
}


@media (max-width: 380px) and (min-width: 361px) {
    .input-textarea {
        font-size: 13px;
        top: 10px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 40px 20px;
    }

    .input-box-bg {
        width: 320px;
        height: 225px;
        left: -15px;
        border-radius: 15px;
    }
}

/* ============= SMALL MOBILE RESPONSIVE (360px) ============= */
@media (max-width: 360px) {
    .share-stories-section {
        padding: 30px 0;
    }

    .share-stories-container {
        border-radius: 25px;
        padding: 25px 15px 25px 15px;
        padding-top: 70px;
        margin: 0 10px;
        margin-top: 35px;
    }

    .share-title-box {
        max-width: 280px;
        height: 80px;
        border-top-right-radius: 35px;
        border-bottom-left-radius: 35px;
        top: -40px;
        border-width: 3px;
    }

    .share-title {
        font-size: 14px;
        letter-spacing: 0.3px;
    }

    .share-description {
        margin-bottom: 25px;
        margin-top: 20px;
    }

    .share-description p {
        font-size: 12px;
        line-height: 1.4;
    }

    .input-container {
        padding: 30px 0;
    }

    .input-box-bg {
        width: 310px;
        height: 217px;
        left: -22px;
        border-radius: 15px;
    }

    .input-textarea {
        font-size: 13px;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 31px 12px;
    }

    .arrow-top-right,
    .arrow-bottom-left {
        width: 40px;
        height: 20px;
    }

    .arrow-top-right {
        top: -33px;
        width: 100px;
        height: 45px;
        left: 53%;
    }


    .arrow-bottom-left {
        bottom: -43px;
        left: 24px;
        width: 100px;
        height: 45px;
    }

    .read-responses-container {
        margin-bottom: 20px;
    }

    .read-responses-link {
        font-size: 12px;
    }

    .submit-btn {
        padding: 8px 25px;
        font-size: 13px;
        border-radius: 18px;
    }

    .modal-content {
        width: 95%;
        max-width: 280px;
        border-width: 8px;
        border-radius: 15px;
    }

    .modal-header {
        padding: 15px 15px 8px 15px;
    }

    .modal-title {
        font-size: 14px;
    }

    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 20px;
        width: 25px;
        height: 25px;
    }

    .modal-body {
        padding: 15px;
        max-height: 400px;
    }

    .confession-item {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .confession-text {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .confession-date {
        font-size: 8px;
    }

    .confession-item::before,
    .confession-item::after {
        width: 15px;
        height: 15px;
    }

    .confession-item::before {
        top: -8px;
        right: -8px;
    }

    .confession-item::after {
        bottom: -8px;
        left: -8px;
    }
}

@media (max-width: 320px) {
    .confession-item {
        padding: 25px 20px 15px 25px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
}



/* ============= SECTION 4: ARTICLES ============= */
.articles-section {
    /* min-height: 100vh; */
    position: relative;
    padding: 80px 0;
    background: #231F20;
    /* Same as section 2 */
    overflow: hidden;
}

/* Purple Squares Background Pattern - Same as Section 2 */
.articles-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/Purple\ squares.png');
    background-position: start;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.articles-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Box */
.articles-title-box {
    background: #231F20;
    border: 5px dashed #EAFF00;
    padding: 20px 40px;
    display: inline-block;
    margin: 0 0 60px 0;
    position: relative;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.articles-title {
    font-family: 'Silkscreen', cursive;
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}

.articles-title-container {
    text-align: center;
    margin-bottom: 60px;
}

/* Articles Grid */
.articles-grid {
    margin-bottom: 50px;
}

.article-card {
    background: #ffffff;
    /* border-radius: 15px; */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    height: 90%;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #953AA4;
    margin: 0 0 10px 0;
    line-height: 1.4;
    text-align: center;
}

.article-author {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #953AA4;
    margin: 0;
    text-align: center;
}

/* Read More Button */
.read-more-container {
    text-align: center;
}

.read-more-btn {
    background: #00BCD4;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: #0097A7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

/* ============= TABLET RESPONSIVE (992px) ============= */
@media (max-width: 991px) {
    .articles-section {
        padding: 60px 0;
    }

    .articles-container {
        padding: 0 30px;
    }

    .articles-title-box {
        padding: 18px 35px;
        margin-bottom: 50px;
        /* border-width: 4px;
        border-radius: 35px; */
    }

    .articles-title {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .articles-title-container {
        margin-bottom: 50px;
    }

    .articles-grid {
        margin-bottom: 40px;
    }

    .article-card {
        margin-bottom: 25px;
    }

    .article-image {
        height: 180px;
    }

    .article-content {
        padding: 18px;
    }

    .article-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .article-author {
        font-size: 11px;
    }

    .read-more-btn {
        padding: 12px 35px;
        font-size: 15px;
        border-radius: 25px;
    }
}

/* ============= MOBILE RESPONSIVE (768px) ============= */
@media (max-width: 768px) {
    .articles-section {
        padding: 50px 0;
    }

    .articles-container {
        padding: 0 20px;
    }

    .articles-title-box {
        padding: 15px 30px;
        margin-bottom: 40px;
        /* border-width: 3px;
        border-radius: 30px; */
    }

    .articles-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .articles-title-container {
        margin-bottom: 40px;
    }

    .articles-grid {
        margin-bottom: 35px;
    }

    .article-card {
        margin-bottom: 20px;
    }

    .article-image {
        height: 160px;
    }

    .article-content {
        padding: 15px;
    }

    .article-title {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .article-author {
        font-size: 11px;
    }

    .read-more-btn {
        padding: 10px 30px;
        font-size: 14px;
        border-radius: 20px;
    }

    /* Mobile: Stack cards vertically */
    .articles-grid .row>div {
        margin-bottom: 20px;
    }
}

/* ============= SMALL MOBILE RESPONSIVE (330px) ============= */
@media (max-width: 330px) {
    .articles-section {
        padding: 40px 0;
    }

    .articles-container {
        padding: 0 15px;
    }

    .articles-title-box {
        padding: 12px 25px;
        margin-bottom: 30px;
        /* border-width: 3px;
        border-radius: 25px; */
    }

    .articles-title {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .articles-title-container {
        margin-bottom: 30px;
    }

    .articles-grid {
        margin-bottom: 30px;
    }

    .article-card {
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .article-image {
        height: 140px;
    }

    .article-content {
        padding: 12px;
    }

    .article-title {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .article-author {
        font-size: 9px;
    }

    .read-more-btn {
        padding: 8px 25px;
        font-size: 13px;
        border-radius: 18px;
    }
}

/* Custom responsive grid for articles */
@media (min-width: 992px) {
    .articles-grid .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .articles-grid .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .articles-grid .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}






























































































/* Purple Squares Background Pattern - Image Asset */
/* .trending-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/Purple\ squares.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
} */

/* ============= TRENDING SECTION - COMPLETE CSS WITH NO OVERLAPPING ============= */

/* Main Trending Section */
.trending-section {
    background: linear-gradient(180.7deg, #231F20 7.99%, #953AA4 53.69%, #231F20 99.4%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 80px 0;
}

/* Main Container with Border + Decorative Arrows */
.trending-stories-container {
    border-top: 7px solid #FFFFFF33;
    border-bottom: 7px solid #FFFFFF33;
    border-radius: 60px;
    padding: 60px 40px 60px 40px;
    padding-top: 120px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
    margin-top: 60px;
    z-index: 2;
    isolation: isolate;
    /* Prevent z-index issues */
}

/* Decorative Arrow Assets - Top Right */
.trending-stories-container::after {
    content: '';
    position: absolute;
    top: 80px;
    right: 40px;
    width: 280px;
    height: 130px;
    background-image: url('../img/Arrows.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
    transform: rotate(180deg);
}

/* Decorative Arrow Assets - Bottom Left */
.decorative-arrows-bottom {
    position: absolute;
    bottom: 35px;
    left: 40px;
    width: 280px;
    height: 130px;
    background-image: url('../img/Arrows.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Title Box */
.trending-title-box {
    background: #231F20;
    border: 5px dashed #EAFF00;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 70px;
    padding: 20px 40px;
    position: absolute;
    top: -57px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    isolation: isolate;
}

.trending-title {
    font-family: 'Silkscreen', monospace;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* Horizontal Slider Container */
.horizontal-slider-container {
    position: relative;
    margin: 90px 0;
    padding: 0 80px;
    overflow: visible;
    /* Changed from hidden to visible to prevent clipping */
    z-index: 3;
}

/* Desktop Navigation Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 229, 0, 0.1);
    border: 3px solid #FFE500;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slide-arrow:hover {
    background: rgba(255, 229, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.arrow-prev {
    left: -90px;
}

.arrow-next {
    right: -90px;
}

.slide-arrow::before {
    content: '';
    width: 12px;
    height: 12px;
    border: 3px solid #FFE500;
    border-bottom: none;
    border-right: none;
    transform: rotate(-45deg);
    margin-right: 3px;
}

.arrow-next::before {
    transform: rotate(135deg);
    margin-right: 0;
    margin-left: 3px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slide-arrow {
        display: none;
    }
}

/* SWIPER CONTAINER */
/* CRITICAL: Fix touch-action conflicts */
.trending-swiper {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 30px 0 80px 0;
    position: relative;
    z-index: 4;

    /* FIXED: Let Swiper handle touch events natively */
    touch-action: auto !important;
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;

    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.trending-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    pointer-events: auto;

    /* FIXED: Remove restrictive touch-action */
    touch-action: auto !important;

    /* Hardware acceleration for smooth transforms */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 5;

    /* Smooth transitions */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trending-swiper .swiper-slide {
    width: 360px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;

    /* FIXED: Allow natural touch behavior */
    touch-action: auto !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: auto;
    user-select: auto;
    z-index: 6;

    /* Hardware acceleration */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Video Card Styling */
.video-card {
    background: rgba(0, 0, 0, 0.9);
    border: 4px solid #C882FF;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    width: 100%;
    height: 420px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    box-shadow:
        0 0 30px rgba(200, 130, 255, 0.6),
        0 15px 45px rgba(0, 0, 0, 0.4);
    pointer-events: auto;

    /* FIXED: Remove touch restrictions */
    touch-action: auto !important;
    isolation: isolate;
    z-index: 7;

    /* Performance optimization */
    will-change: transform;
    transform: translateZ(0);
}

/* Desktop hover effect */
@media (min-width: 769px) {
    /* .video-card:hover {
        transform: translateY(-8px);
        box-shadow:
            0 0 40px rgba(200, 130, 255, 0.7),
            0 20px 50px rgba(0, 0, 0, 0.4);
        z-index: 15;
    } */
}

/* Instagram Embed Container */
/* Instagram Embed Container Optimizations */
.instagram-embed-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    pointer-events: auto !important;
    z-index: 8;

    /* CRITICAL: Allow Instagram touch events */
    touch-action: auto !important;
    -webkit-touch-callout: auto;
    user-select: auto;
}

.instagram-embed-container .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    background: transparent !important;
    margin: 0 !important;
    pointer-events: auto !important;
    z-index: 9;

    /* Allow Instagram interactions */
    touch-action: auto !important;
    user-select: auto;
}

.instagram-embed-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    pointer-events: auto !important;
    z-index: 10;

    /* Critical for video playback */
    touch-action: auto !important;
    user-select: auto;
}

/* Enable Instagram interaction on desktop */
@media (min-width: 769px) {

    .instagram-embed-container,
    .instagram-embed-container .instagram-media,
    .instagram-embed-container iframe {
        pointer-events: auto !important;
        touch-action: auto !important;
    }
}

.instagram-embed-container,
.instagram-embed-container *,
.instagram-embed-container iframe,
.instagram-embed-container .instagram-media {
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

/* SCROLLBAR OPTIMIZATIONS */
.trending-swiper .swiper-scrollbar {
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    width: 300px;
    height: 8px;
    border-radius: 4px;
    margin: 40px auto 0 auto;
    display: block;
    opacity: 1;
    visibility: visible;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Smooth scrollbar interaction */
    touch-action: auto !important;
    pointer-events: auto;
    z-index: 20;
    
    /* Hardware acceleration */
    will-change: transform;
    transform: translateZ(0);
}

.trending-swiper .swiper-scrollbar-drag {
    background: #92278F;
    border-radius: 4px;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    visibility: visible;
    height: 100%;
    width: 80px;
    min-width: 40px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    display: block;
    
    /* Smooth drag interaction */
    touch-action: auto !important;
    pointer-events: auto;
    z-index: 21;
    
    /* Performance */
    will-change: transform;
    transform: translateZ(0);
}

.trending-swiper .swiper-scrollbar-drag:active {
    cursor: grabbing;
    transform: scale(1.05);
}

.trending-swiper .swiper-scrollbar-drag:hover {
    transform: scale(1.02);
}

/* GPU ACCELERATION FOR SMOOTH SCROLLING */
.trending-swiper,
.trending-swiper .swiper-wrapper,
.trending-swiper .swiper-slide,
.video-card {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}
/* Loading States */
.loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b3d 100%);
    color: #FFE500;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 30px;
    pointer-events: none;
    touch-action: pan-x;
    z-index: 5;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 229, 0, 0.2);
    border-left: 4px solid #FFE500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

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

.loading-text {
    font-size: 16px;
    font-weight: 500;
}

/* Error States */
.error-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d1b1b 0%, #3d1b1b 100%);
    color: #ff6b6b;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 30px;
    pointer-events: none;
    touch-action: pan-x;
    z-index: 5;
}

.error-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.error-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Hide default pagination dots */
.trending-swiper .swiper-pagination {
    display: none;
}

/* ============= RESPONSIVE DESIGN ============= */

/* Tablet */
@media (max-width: 991px) {
    .trending-section {
        padding: 60px 0;
    }

    .trending-stories-container {
        border-radius: 40px;
        padding: 40px 30px 40px 30px;
        padding-top: 100px;
        margin: 0 20px;
        margin-top: 50px;
    }

    .trending-stories-container::after {
        top: 60px;
        right: 25px;
        width: 200px;
        height: 100px;
    }

    .decorative-arrows-bottom {
        bottom: 25px;
        left: 25px;
        width: 200px;
        height: 100px;
    }

    .trending-title-box {
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
        top: -50px;
    }

    .trending-title {
        font-size: 20px;
    }

    .horizontal-slider-container {
        padding: 0 60px;
    }

    .video-card {
        height: 380px;
    }

    .trending-swiper .swiper-slide {
        width: 260px;
    }

    .trending-swiper .swiper-scrollbar {
        width: 250px;
        height: 6px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .trending-section {
        padding: 50px 0;
    }

    .trending-stories-container {
        border-radius: 30px;
        padding: 30px 20px 30px 20px;
        padding-top: 80px;
        margin: 0 15px;
        margin-top: 40px;
        border-width: 3px;
    }

    .trending-stories-container::after {
        top: -13px;
        right: -38px;
        width: 194px;
        height: 114px;
    }

    .decorative-arrows-bottom {
        bottom: 20px;
        left: 20px;
        width: 194px;
        height: 114px;
    }

    .horizontal-slider-container {
        padding: 0 20px;
    }

    .trending-swiper {
        padding: 40px 0 90px 0;
    }

    .trending-swiper .swiper-slide {
        width: 240px;
    }

    .video-card {
        height: 340px;
    }

    .trending-swiper .swiper-scrollbar {
        width: 200px;
        height: 5px;
        padding: 2px 0;
        margin: 30px auto 0 auto;
    }

    .trending-swiper .swiper-scrollbar-drag {
        min-height: 5px;
        border-radius: 3px;
    }

    .trending-swiper .swiper-scrollbar-drag:active {
        transform: scaleY(1.3);
    }

    .loading-card {
        padding: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .trending-section {
        padding: 40px 0;
    }

    .trending-stories-container {
        border-radius: 25px;
        padding: 25px 0 25px 0;
        padding-top: 70px;
        margin: 0 10px;
        margin-top: 35px;
    }

    .trending-stories-container::after {
        top: 40px;
        right: 15px;
        width: 120px;
        height: 60px;
    }

    .decorative-arrows-bottom {
        bottom: 15px;
        left: 15px;
        width: 120px;
        height: 60px;
    }

    .horizontal-slider-container {
        padding: 0 15px;
        margin: 60px 0;
    }

    .trending-swiper {
        padding: 35px 0 85px 0;
    }

    .trending-swiper .swiper-slide {
        width: 300px;
    }

    .video-card {
        height: 380px;
    }

    .trending-swiper .swiper-scrollbar {
        width: 180px;
        height: 4px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .trending-stories-container {
        margin: 0 5px;
        padding: 20px 10px 20px 10px;
        padding-top: 60px;
    }

    .trending-title {
        font-size: 12px;
    }

    .trending-swiper .swiper-slide {
        width: 250px;
    }

    .video-card {
        height: 230px;
    }

    .trending-swiper .swiper-scrollbar {
        width: 160px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .video-card {
        border-width: 3px;
        border-color: #FFFFFF;
    }

    .trending-title-box {
        border-color: #FFFFFF;
        background: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .video-card,
    .slide-arrow,
    .trending-swiper .swiper-scrollbar-drag {
        transition: none;
    }

    .loading-spinner {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .trending-section {
        background: white;
        color: black;
    }

    .slide-arrow,
    .play-btn {
        display: none;
    }
}



/* Video Card with Touch Zones */
.video-card {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 4px solid #C882FF;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 9/16;
    width: 100%;
    height: 420px;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow:
        0 0 30px rgba(200, 130, 255, 0.6),
        0 15px 45px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    isolation: isolate;
    z-index: 7;
}

/* Instagram Embed Container */
.instagram-embed-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    pointer-events: auto;
    z-index: 8;
}

.instagram-embed-container .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    background: transparent !important;
    margin: 0 !important;
    pointer-events: auto;
    z-index: 9;
}

.instagram-embed-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    pointer-events: auto;
    z-index: 10;
}

/* Desktop - No Touch Zones Needed */
@media (min-width: 769px) {
    .swipe-zone {
        display: none;
    }
    
    .instagram-embed-container {
        padding: 0; /* No padding needed on desktop */
    }
}








/* ============= SECTION 6: PARTNERS ============= */
.partners-section {
    /* min-height: 100vh; */
    position: relative;
    padding: 80px 0;
    background: #231F20;
    overflow: hidden;
}

/* Purple Squares Background Pattern - Same as Articles Section */
.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/Purple\ squares.png');
    background-position: start;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.partners-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Decorative Arrows Bottom Left */
.decorative-arrows-bottom-left {
    display: none;
    position: absolute;
    bottom: -226px;
    left: -55px;
    width: 340px;
    height: 150px;
    background-image: url('../img/Arrows.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 3;
}

/* Title Box - Same as Articles */
.partners-title-box {
    background: #231F20;
    border: 5px dashed #EAFF00;
    padding: 20px 40px;
    display: inline-block;
    margin: 0 0 60px 0;
    position: relative;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.partners-title {
    font-family: 'Silkscreen', cursive;
    font-weight: 700;
    font-size: 28px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}

.partners-title-container {
    text-align: center;
    margin-bottom: 80px;
}

/* Partners Grid */
.partners-grid {
    margin-bottom: 50px;
}

.partner-card {
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
}

.partner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.partner-link:hover {
    text-decoration: none;
    color: inherit;
}

.partner-link.disabled-link {
    cursor: default;
    pointer-events: none;
}

.partner-image-container {
    width: 245px;
    height: 245px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #953AA4 0%, #C882FF 100%);
    padding: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.partner-image-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: #ffffff;
    border-radius: 50%;
    z-index: 1;
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.garena-logo {
    left: 5%;
}

.partner-card:hover .partner-image-container {
    box-shadow: 0 15px 30px rgba(149, 58, 164, 0.4);
    transform: scale(1.05);
}

.partner-card:hover .partner-image {
    transform: scale(1.1);
}

.partner-name {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: #EAFF00;
}

/* Disabled state for E-Project */
.partner-link.disabled-link .partner-image-container {
    opacity: 0.7;
    background: linear-gradient(135deg, #666666 0%, #999999 100%);
}

.partner-link.disabled-link .partner-name {
    color: #CCCCCC;
}

.partner-link.disabled-link:hover .partner-image-container {
    transform: none;
    box-shadow: none;
}

.partner-link.disabled-link:hover .partner-image {
    transform: none;
}

.partner-link.disabled-link:hover .partner-name {
    color: #CCCCCC;
}

/* ============= TABLET RESPONSIVE (992px) ============= */
@media (max-width: 991px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-container {
        padding: 0 30px;
    }

    .decorative-arrows-bottom-left {
        bottom: 30px;
        left: 30px;
        width: 100px;
        height: 50px;
    }

    .partners-title-box {
        padding: 18px 35px;
        margin-bottom: 50px;
        /* border-width: 4px;
        border-radius: 35px; */
    }

    .partners-title {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .partners-title-container {
        margin-bottom: 60px;
    }

    .partner-image-container {
        width: 130px;
        height: 130px;
        margin-bottom: 15px;
    }

    .partner-name {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .partners-grid {
        margin-bottom: 40px;
    }
}

/* ============= MOBILE RESPONSIVE (768px) ============= */
@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }

    .partners-container {
        padding: 0 20px 140px 20px;
    }

    .decorative-arrows-bottom-left {
        display: block;
        bottom: -20px;
        left: 29%;
        width: 179px;
        height: 119px;
        transform: rotate(90deg);
    }

    .partners-title-box {
        padding: 15px 30px;
        margin-bottom: 40px;
        /* border-width: 3px;
        border-radius: 30px; */
    }

    .partners-title {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .partners-title-container {
        margin-bottom: 50px;
    }

    .partner-image-container {
        width: 160px;
        height: 160px;
        margin-bottom: 12px;
    }

    .partner-name {
        font-size: 20px;
        letter-spacing: 0.6px;
    }

    .partners-grid {
        margin-bottom: 35px;
    }

    .partner-card {
        margin-bottom: 25px;
    }

    /* Mobile: 2x2 grid */
    .partners-grid .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media(max-width: 380px) {
    .partner-image-container {
        width: 130px;
        height: 130px;
    }

    .decorative-arrows-bottom-left {
        left: 25%;
    }
}

/* ============= EXTRA SMALL MOBILE (320px) ============= */
@media (max-width: 330px) {
    .partners-section {
        padding: 30px 0;
    }

    .decorative-arrows-bottom-left {
        left: 20%;
    }

    .partners-title-box {
        padding: 10px 20px;
        margin-bottom: 25px;
        border-width: 2px;
        border-radius: 20px;
    }

    .partners-title {
        font-size: 16px;
        letter-spacing: 0.6px;
    }

    .partners-title-container {
        margin-bottom: 35px;
    }

    .partner-image-container {
        width: 80px;
        height: 80px;
        margin-bottom: 8px;
        padding: 2px;
    }

    .partner-name {
        font-size: 11px;
        letter-spacing: 0.3px;
    }

    .partner-card {
        margin-bottom: 15px;
    }
}

/* Desktop specific grid */
@media (min-width: 769px) {
    .partners-grid .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Hover effects only on desktop */
@media (min-width: 769px) {
    .partner-card:hover {
        transform: translateY(-15px);
    }

    .partner-card:hover .partner-image-container {
        transform: scale(1.1);
        box-shadow: 0 20px 40px rgba(149, 58, 164, 0.5);
    }
}

/* ============= BETTER SOLUTION: USING CSS ONLY ============= */

@media (max-width: 768px) {

    /* Remove the arrow from social section flow */
    .social-follow-section .decorative-arrows-top-left {
        position: fixed;
        top: auto;
        left: 20px;
        width: 120px;
        height: 60px;
        z-index: 1001;
        /* Position it before partners section */
        bottom: calc(100vh - var(--partners-offset, 75vh));
    }

    /* Ensure partners section has lower z-index */
    .partners-section {
        position: relative;
        z-index: 100;
    }

    /* Add top margin to partners for arrow space */
    .partners-container {
        margin-top: 60px;
    }
}

/* ============= SIMPLEST PROFESSIONAL SOLUTION ============= */

@media (max-width: 768px) {

    /* Reposition existing arrow to appear above partners */
    .decorative-arrows-top-left {
        position: absolute;
        top: calc(100vh + 100px);
        /* Move it down to partners area */
        left: 20px;
        width: 120px;
        height: 60px;
        z-index: 1001;
        /* Higher than partners content */
        transform: translateY(-400px);
        /* Adjust this value to position correctly */
    }

    /* Ensure proper stacking context */
    .partners-section {
        position: relative;
        z-index: 100;
    }

    .social-follow-section {
        position: relative;
        z-index: 200;
        /* Higher to contain the arrow */
    }
}














@media (max-width: 768px) {
    .decorative-arrows-top-left {
        /* Remove from social section and reposition */
        position: fixed;
        top: auto;
        left: 50%;
        /* Center horizontally */
        transform: translateX(-50%);
        bottom: 20vh;
        /* Position from bottom of viewport */
        width: 120px;
        height: 60px;
        z-index: 1001;
    }

    /* Create space between partners and footer */
    /* .partners-section {
        margin-bottom: 120px;
    } */

    /* Ensure footer appears below arrows */
    .social-follow-section {
        position: relative;
        z-index: 200;
    }
}

/* Smaller screens adjustment */
@media (max-width: 575px) {
    .decorative-arrows-top-left {
        width: 100px;
        height: 50px;
        bottom: 15vh;
    }

    /* .partners-section {
        margin-bottom: 100px;
    } */
}































/* ============= SECTION 7: SOCIAL FOLLOW ============= */
.social-follow-section {
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180.7deg, #231F20 7.99%, #953AA4 53.69%, #231F20 99.4%);
    overflow: hidden;
}

.social-follow-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Decorative Arrows - OUTSIDE the border */
/* .decorative-arrows-top-left {
    position: absolute;
    top: -180px;
    left: -35px;
    background-image: url('../img/Arrows.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    z-index: 10;
    width: 340px;
    height: 155px;
} */

.decorative-arrows-bottom-right {
    position: absolute;
    bottom: -220px;
    right: -62px;
    width: 340px;
    height: 140px;
    background-image: url('../img/Arrows.png');
    transform: rotate(180deg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 10;
}

/* Main Content Border - Larger and properly positioned */
.social-content-border {
    border: 7px solid #FFFFFF80;
    border-radius: 50px;
    position: relative;
    margin: 100px 0 120px 0;
    min-height: 600px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.social-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: visible;
}

/* Left Section: Social Links */
.social-left-section {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 4;
    max-width: 505px;
}

/* JOM FOLLOW Title Box - Larger to match design */
.jom-follow-box {
    width: 512px;
    height: 125px;
    background: #231F20;
    border: 5px dashed #EAFF00;
    border-top-right-radius: 70px;
    border-bottom-left-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.jom-follow-title {
    font-family: 'Silkscreen', cursive;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
}

/* Social Brand Rows - Two separate sections */
.social-brand-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 25px;
    border-radius: 25px;
    overflow: hidden;
}

.brand-logo {
    /* background: #000000; */
    padding: 20px 30px;
    display: flex;
    align-items: center;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.mgo-logo {
    width: 180px;
    height: 70px;
    background-image: url('../img/MGO Logo-B_W.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.says-logo {
    width: 180px;
    height: 70px;
    background-image: url('../img/says tech logo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.social-icons-group {
    background: #EAFF00;
    padding: 20px 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 22px;
    border: 3.82px solid #1E1E1E
}

.social-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Right Section: Visual Elements - Larger and better positioned */
.social-right-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: 2;
    overflow: visible;
}

/* Blue Dots Background - Larger */
.social-blue-dots {
    position: absolute;
    right: -120px;
    top: -41px;
    background-image: url('../img/bluedots.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 51rem;
    height: 40rem;
    z-index: 1;
}

/* Controller Container - Larger */
.social-controller-container {
    position: absolute;
    top: -77px;
    right: 0;
    z-index: 3;
}

.social-controller-image {
    width: 750px;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.4));
}

/* Main Logo Container - ON the border at bottom right */
.social-main-logo-container {
    position: absolute;
    bottom: -50px;
    right: -80px;
    z-index: 5;
}

.social-main-logo {
    width: 700px;
    max-width: 630px;
    height: auto;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.6));
}

/* Share Now Button - OUTSIDE the border at bottom center */
.share-now-container {
    position: absolute;
    bottom: -170px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.share-now-btn {
    background: #EAFF00;
    color: #231F20;
    border: none;
    padding: 10px 15px;
    border-radius: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.share-now-btn:hover {
    background: #FFF200;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(234, 255, 0, 0.5);
}

.share-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Purple Squares Background End */
.purple-squares-end {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-image: url('../img/Purple\ squares.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* ============= TABLET RESPONSIVE (991px) ============= */
@media (max-width: 991px) {
    .social-follow-section {
        padding: 60px 0;
    }

    .social-follow-container {
        padding: 0 30px;
    }

    .decorative-arrows-top-left,
    .decorative-arrows-bottom-right {
        width: 140px;
        height: 65px;
    }

    .decorative-arrows-top-left {
        top: 30px;
        left: 30px;
    }

    .decorative-arrows-bottom-right {
        bottom: 30px;
        right: 30px;
    }

    .social-content-border {
        margin: 50px 0;
        min-height: 450px;
    }

    .social-content-wrapper {
        min-height: 450px;
    }

    .social-left-section {
        top: 30px;
        left: 30px;
    }

    .jom-follow-box {
        width: 400px;
        height: 100px;
        /* border-width: 4px;
        border-radius: 50px; */
    }

    .jom-follow-title {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .social-brand-row {
        gap: 20px;
        padding: 12px 20px;
        margin-bottom: 20px;
    }

    .mgo-logo,
    .says-logo {
        width: 65px;
        height: 32px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    .social-controller-container {
        top: 40px;
        right: 60px;
    }

    .social-controller-image {
        width: 320px;
        max-width: 320px;
    }

    .social-main-logo-container {
        right: 50px;
    }

    .social-main-logo {
        width: 280px;
        max-width: 280px;
    }

    .social-blue-dots {
        right: -60px;
        top: -50px;
        width: 35rem;
        height: 32rem;
    }

    .share-now-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .share-icon {
        width: 18px;
        height: 18px;
    }
}

/* ============= MOBILE RESPONSIVE (768px) ============= */
@media (max-width: 768px) {
    .social-follow-section {
        padding: 40px 0 100px 0;
    }

    .social-follow-container {
        padding: 0 20px;
    }

    .decorative-arrows-top-left,
    .decorative-arrows-bottom-right {
        width: 100px;
        height: 50px;
    }

    .decorative-arrows-top-left {
        top: 20px;
        left: 20px;
    }

    .decorative-arrows-bottom-right {
        display: none;
        bottom: 20px;
        right: 20px;
    }

    .social-content-border {
        border-width: 3px;
        border-radius: 60px;
        margin: 40px 0;
        min-height: auto;
        padding: 20px;
        height: 780px;
    }

    .social-content-wrapper {
        position: static;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile: Stack sections vertically */
    .social-left-section {
        position: static;
        max-width: 100%;
        order: 1;
    }

    .social-right-section {
        position: static;
        width: 100%;
        height: auto;
        order: 2;
        text-align: center;
        margin: 20px 0;
    }

    .jom-follow-box {
        width: 100%;
        max-width: 285px;
        height: 80px;
        /* border-width: 3px;
        border-radius: 35px; */
        margin: 35px auto 25px auto;
    }

    .jom-follow-title {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .social-brand-row {
        gap: 15px;
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .mgo-logo,
    .says-logo {
        width: 85px;
        height: 50px;
    }

    .social-icons-group {
        gap: 10px;
        padding: 15px 20px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .social-icon img {
        width: 44px;
        height: 28px;
    }

    /* Mobile Visual Elements */
    .social-blue-dots {
        left: -37px;
        position: relative;
        width: 399px;
        height: 375px;
        margin: 0 auto;
        background-size: contain;
    }

    .social-controller-container,
    .social-main-logo-container {
        position: absolute;
        margin: 15px auto;
        text-align: center;
    }

    .social-controller-image {
        width: 331px;
        max-width: 350px;
        position: absolute;
        top: 347px;
        right: -42px;
    }

    .social-main-logo {
        width: 441px;
        height: 198px;
        max-width: 375px;
        position: absolute;
        bottom: 75px;
        right: -75px;
        margin: 0 0 -50px 0;
    }

    .share-now-container {
        position: absolute;
        transform: none;
        text-align: center;
        order: 3;
        bottom: -89px;
        margin-top: 30px;
        left: 30%;
        /* padding: 0 0 0 0; */
    }

    .share-now-btn {
        padding: 10px 20px;
        font-size: 12px;
        border-radius: 20px;
    }

    .share-icon {
        width: 16px;
        height: 16px;
    }

    .purple-squares-end {
        display: none;
    }
}

@media (max-width: 380px) {
        .social-content-border {
        padding: 15px;
    }
    .social-blue-dots {
        left: -37px;
        position: relative;
        width: 338px;
        height: 375px;
        top: -92px;
        margin: 0 auto;
        background-size: contain;
    }


    .social-content-border {
        height: 740px;
    }

    .social-controller-image {
        width: 330px;
        max-width: 350px;
        position: absolute;
        top: 309px;
        right: -70px;
    }

    .social-main-logo {
        bottom: 75px;
        right: -102px;
    }

    .social-brand-row {
        gap: 10px;
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
        margin-left: -25px;
    }
    .social-icons-group {
        gap: 10px;
        padding: 15px 13px;
    }
    .purple-squares-end {
        display: none;
    }
}

@media (max-width: 414px) and (min-width: 390px) {
    .social-content-border {
        padding: 15px;
    }

    .social-blue-dots {
        left: -26px;
        position: relative;
        width: 338px;
        height: 375px;
        top: -92px;
        margin: 0 auto;
        background-size: contain;
    }


    .social-content-border {
        height: 740px;
    }

    .social-controller-image {
        width: 330px;
        max-width: 350px;
        position: absolute;
        top: 309px;
        right: -70px;
    }

    .social-brand-row {
        gap: 10px;
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
        margin-left: -28px;
    }


    .social-main-logo {
        bottom: 75px;
        right: -102px;
    }

    .purple-squares-end {
        display: none;
    }
}

/* ============= SMALL MOBILE RESPONSIVE (330px) ============= */
@media (max-width: 360px) {

    .mgo-logo,
    .says-logo {
        width: 70px;
        height: 44px;
    }

    .social-brand-row {
        gap: 10px;
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 12px;
        margin-left: -32px;
    }

    .social-icons-group {
        gap: 10px;
        padding: 10px 5px;
    }

    .social-blue-dots {
        left: -37px;
        position: relative;
        width: 300px;
        height: 375px;
        top: -92px;
        margin: 0 auto;
        background-size: contain;
    }


    .social-content-border {
        height: 83vh;
    }

    .social-controller-image {
        width: 330px;
        max-width: 350px;
        position: absolute;
        top: 309px;
        right: -70px;
    }

    .social-main-logo {
        bottom: 62px;
        right: -116px;
    }

    .share-now-container {
        left: 23%;
    }

    .purple-squares-end {
        display: none;
    }
}

/* Hover effects only on desktop */
@media (min-width: 769px) {
    .social-icon:hover {
        transform: translateY(-3px);
    }
}








































/* Progress bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #f0f0f0;
    z-index: 9999;
}

.progress-bar {
    height: 100%;
    background-color: black;
    transition: all 0.3s ease;
}

/* progress circle */
.progress-circle-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle {
    width: 80px;
    height: 80px;
}

.progress-circle-bar {
    fill: none;
    stroke: black;
    stroke-width: 5;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transform-origin: center;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-background {
    fill: transparent;
    stroke: #ededed;
    stroke-width: 5;
    stroke-dasharray: none;
}

.scroll-to-top {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: black;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.scroll-to-top svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: white;
    transition: all 0.1s ease;
}