/* ==============================
   GLOBAL RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: #F8FAFC;
    color: #0F172A;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* ==============================
   TOP IMAGE / BANNER
================================ */

.top-image {
    width: 100%;
    max-width: 100%;
    background: #FFFFFF;
    margin: 5px 0;
    padding: 0 8px;
}

.top-image img {
    width: 100%;
    height: clamp(120px, 20vw, 260px);
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* ==============================
   MOBILE HEADER DEFAULT
================================ */

.mobile-header,
.hamburger {
    display: none;
}

#menuToggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ==============================
   MENU
================================ */

.menu {
    width: 100%;
    background: #FFFFFF;
    padding: 14px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
    position: relative;
    z-index: 999;
}

.menu a {
    color: #0F172A;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 4px;
    position: relative;
}

.menu a:hover,
.menu a.active {
    color: #2563EB;
}

.menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 3px;
    background: #2563EB;
    border-radius: 10px;
}

.dropdown-content a::after {
    display: none !important;
}

/* ==============================
   DROPDOWN
================================ */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 190px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-content a {
    color: #0F172A;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #E2E8F0;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #F8FAFC;
    color: #2563EB;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ==============================
   SEARCH
================================ */

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    outline: none;
    font-family: inherit;
}

.search-box input:focus {
    border-color: #2563EB;
}

#searchResults {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    background: #FFFFFF;
    padding: 10px;
    border: 1px solid #E2E8F0;
    width: 240px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .12);
    z-index: 2000;
}

#searchResults div {
    padding: 6px;
}

#searchResults div:hover {
    background: #EFF6FF;
    cursor: pointer;
}

/* ==============================
   HEADER SOCIAL ICONS
================================ */

.header-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 12px;
}

.header-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    transition: .25s ease;
}

.header-social svg {
    width: 23px;
    height: 23px;
    display: block;
}

.header-social svg path {
    fill: currentColor;
}

.header-social .facebook {
    color: #1877F2;
}

.header-social .instagram {
    color: #E4405F;
}

.header-social .x {
    color: #000000;
}

.header-social .youtube {
    color: #FF0000;
}

.header-social a:hover {
    transform: translateY(-2px) scale(1.12);
    opacity: .85;
}

/* ==============================
   MAIN HOMEPAGE LAYOUT
   70% LEFT SCROLL + 30% RIGHT FIXED
================================ */

.main-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    padding: clamp(12px, 2vw, 28px);
    align-items: flex-start;
    background: #F8FAFC;
}

/* LEFT SIDE: 70% AND SCROLLABLE */
.left-column {
    width: calc(70% - 14px);
    flex: 0 1 calc(70% - 14px);
    max-width: calc(70% - 14px);
    min-width: 0;

    height: clamp(420px, 72vh, 760px);
    max-height: clamp(420px, 72vh, 760px);
    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

/* Chrome / Edge scrollbar */
.left-column::-webkit-scrollbar {
    width: 6px;
}

.left-column::-webkit-scrollbar-track {
    background: transparent;
}

.left-column::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 20px;
}

.left-column::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* RIGHT SIDE: 30% FIXED / STICKY */
.right-column {
    width: calc(30% - 14px);
    flex: 0 1 calc(30% - 14px);
    max-width: calc(30% - 14px);
    min-width: 0;

    position: sticky;
    top: 12px;
    align-self: flex-start;

    height: clamp(420px, 72vh, 760px);
    max-height: clamp(420px, 72vh, 760px);
    overflow: hidden;
}

/* ==============================
   CARD GRID
================================ */

.card-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.card {
    width: 100%;
    min-width: 0;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
    transition: .3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, .14);
}

.card img {
    width: 100%;
    height: clamp(150px, 13vw, 210px);
    object-fit: cover;
    display: block;
}

.card h3 {
    margin: 14px 16px 8px;
    color: #0F172A;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.3;
    font-weight: 400;
    word-break: break-word;
}

.card p {
    color: #475569;
    font-size: clamp(13px, 1vw, 14px);
    line-height: 1.6;
    margin: 0 16px 10px;
}

.btn {
    display: inline-block;
    margin: 8px 16px 16px;
    padding: 10px 20px;
    background: #2563EB;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.btn:hover {
    background: #1D4ED8;
}

/* ==============================
   MUST READ
================================ */

.marquee-box {
    width: 100%;
    height: clamp(260px, 42vh, 420px);
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    padding: 10px;
    position: relative;
}

.must-read-marquee {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: mustReadScroll 22s linear infinite;
}

.marquee-box:hover .must-read-marquee {
    animation-play-state: paused;
}

@keyframes mustReadScroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, -50%, 0);
    }
}

.must-read-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin: 8px 0;
    text-decoration: none;
    background: #FFFFFF;
    border-radius: 10px;
    color: #0F172A;
    transition: background .2s ease;
}

.must-read-link:hover {
    background: #EFF6FF;
}

.must-read-link:hover strong {
    color: #2563EB;
}

.must-read-link img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.must-read-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.must-read-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
}

.must-read-text span {
    font-size: 11px;
    color: #64748B;
    margin-top: 4px;
}

/* ==============================
   SOCIAL BOX
================================ */

.follow-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 14px;
}

.social-box {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
}

.social-card {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1 1 120px;
    min-width: 120px;
    text-decoration: none;
    background: #F8FAFC;
    border-radius: 10px;
    padding: 9px;
    transition: .25s ease;
}

.social-card:hover {
    transform: translateY(-2px);
    background: #EFF6FF;
}

.social-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.social-icon svg {
    width: 25px;
    height: 25px;
    display: block;
}

.social-icon svg path {
    fill: currentColor;
}

.social-box .facebook {
    background: #1877F2;
}

.social-box .instagram {
    background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-box .twitterx {
    background: #000000;
}

.social-box .youtube {
    background: #FF0000;
}

.social-box .facebook:hover {
    background: #166FE5;
}

.social-box .instagram:hover {
    filter: brightness(.95);
}

.social-box .twitterx:hover {
    background: #222222;
}

.social-box .youtube:hover {
    background: #D90000;
}

.social-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.social-text strong {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.social-text span {
    font-size: 10px;
    color: #6B7280;
}

/* ==============================
   PAGINATION
================================ */

.pagination-wrap {
    margin-top: 24px;
}

/* ==============================
   TOP MARQUEE OPTIONAL
================================ */

.top-marquee {
    width: 100%;
    overflow: hidden;
}

.top-marquee p {
    margin: 0;
}

/* ==============================
   FOOTER
================================ */

.footer {
    width: 100%;
    background: #0B1120;
    color: #F8FAFC;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 600;
}

.footer-text {
    text-align: center;
}

.footer-visits {
    text-align: right;
    color: #CBD5E1;
}

/* ==============================
   TABLET
================================ */

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .left-column,
    .right-column {
        width: 100%;
        flex: 0 1 100%;
        max-width: 100%;
    }

    .left-column {
        height: auto;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .right-column {
        position: static;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marquee-box {
        height: 340px;
    }
}

/* ==============================
   MOBILE MENU + MOBILE LAYOUT
================================ */

@media (max-width: 768px) {
    .top-image {
        padding: 0 6px;
    }

    .top-image img {
        height: clamp(110px, 28vw, 180px);
    }

    .mobile-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
        background: #FFFFFF;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
        position: relative;
        z-index: 9999;
    }

    .mobile-logo {
        font-size: 22px;
        font-weight: 800;
        color: #0F172A;
        text-decoration: none;
    }

    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        background: #0F172A;
        color: #FFFFFF !important;
        font-size: 32px;
        font-weight: 700;
        line-height: 1;
        border-radius: 10px;
        cursor: pointer;
        z-index: 10000;
    }

    .menu {
        display: none !important;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
        padding: 12px 18px;
        background: #FFFFFF;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
        position: relative;
        z-index: 9998;
    }

    #menuToggle:checked ~ .menu {
        display: flex !important;
    }

    .menu a {
        width: 100%;
        padding: 12px 0;
        font-size: 15px;
        color: #0F172A;
        border-bottom: 1px solid #E2E8F0;
    }

    .menu a.active::after {
        display: none;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown > a {
        font-weight: 700;
    }

    .dropdown-content {
        display: block !important;
        position: static !important;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding-left: 15px;
        background: #F8FAFC;
    }

    .dropdown-content a {
        padding: 10px 0;
        font-size: 14px;
        border-bottom: 1px solid #E2E8F0;
        white-space: normal;
    }

    .search-box {
        width: 100%;
        margin-top: 12px;
        position: relative;
    }

    .search-box input {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid #CBD5E1;
        outline: none;
    }

    #searchResults {
        width: 100%;
        left: 0;
        right: auto;
        top: 45px;
        z-index: 10001;
    }

    .header-social {
        width: 100%;
        justify-content: center;
        margin: 16px 0 8px;
        gap: 24px;
    }

    .header-social a {
        width: 40px;
        height: 40px;
        border-bottom: none;
    }

    .header-social svg {
        width: 28px;
        height: 28px;
    }

    .main-container {
        padding: 14px;
        gap: 20px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .card img {
        height: clamp(140px, 32vw, 190px);
    }

    .card h3 {
        font-size: 16px;
        margin: 12px 12px 6px;
    }

    .card p {
        margin: 0 12px 10px;
    }

    .btn {
        margin: 8px 12px 14px;
    }

    .marquee-box {
        height: 300px;
    }

    .social-box {
        flex-direction: column;
    }

    .social-card {
        width: 100%;
    }
}

/* ==============================
   SMALL MOBILE
================================ */

@media (max-width: 576px) {
    .main-container {
        padding: 10px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .top-image {
        padding: 0 5px;
    }

    .top-image img {
        height: clamp(100px, 30vw, 140px);
    }

    .card img {
        height: clamp(180px, 48vw, 220px);
    }

    .marquee-box {
        height: 280px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        padding: 16px 12px;
    }

    .footer-visits {
        text-align: center;
    }

    .top-marquee {
        height: 20px;
        margin: 5px 0;
        padding: 3px;
    }

    .top-marquee p {
        margin: 1px;
        line-height: 14px;
        font-size: 12px;
    }
}

/* ==============================
   EXTRA SMALL MOBILE
================================ */

@media (max-width: 380px) {
    .main-container {
        padding: 8px;
    }

    .mobile-logo {
        font-size: 18px;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }

    .card h3 {
        font-size: 15px;
    }

    .card p {
        font-size: 13px;
    }

    .must-read-link img {
        width: 62px;
        height: 46px;
    }
}

/* ==============================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {
    .card,
    .social-card,
    .header-social a,
    .must-read-marquee {
        transition: none;
        animation: none;
    }
}



/* ==============================
   SMART TV / LARGE SCREEN
================================ */

@media (min-width: 1600px) {
    .main-container {
        gap: 34px;
        padding: 32px;
    }

    .left-column,
    .right-column {
        height: clamp(760px, 78vh, 900px);
        max-height: clamp(760px, 78vh, 900px);
    }

    .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .card img {
        height: clamp(210px, 13vw, 280px);
    }

    .card h3 {
        font-size: 22px;
    }

    .card p {
        font-size: 15px;
    }

    .marquee-box {
        height: clamp(420px, 50vh, 560px);
    }

    .top-image img {
        height: clamp(260px, 16vw, 360px);
    }
}

/* 4K TV / Very Large Display */
@media (min-width: 2500px) {
    .main-container {
        padding: 44px;
        gap: 44px;
    }

    .left-column,
    .right-column {
        height: clamp(900px, 78vh, 1250px);
        max-height: clamp(900px, 78vh, 1250px);
    }

    .card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 34px;
    }

    .card img {
        height: clamp(260px, 11vw, 360px);
    }

    .card h3 {
        font-size: 26px;
    }

    .card p {
        font-size: 17px;
    }

    .marquee-box {
        height: clamp(560px, 52vh, 720px);
    }

    .top-image img {
        height: clamp(340px, 14vw, 480px);
    }
}

/* ==============================
   CONTACT PAGE RESPONSIVE
================================ */

.contact-page {
    width: 100%;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    background: #F8FAFC;
}

.contact-card {
    width: 100%;
    max-width: 600px;
    background: #FFFFFF;
    padding: clamp(20px, 4vw, 36px);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .10);
    border: 1px solid #E2E8F0;
}

.contact-card h2 {
    font-size: clamp(24px, 3vw, 34px);
    color: #0F172A;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info p {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    color: #334155;
    word-break: break-word;
}

.contact-info strong {
    color: #0F172A;
}

/* Mobile */
@media (max-width: 576px) {
    .contact-page {
        align-items: flex-start;
        padding: 18px 12px;
        min-height: auto;
    }

    .contact-card {
        border-radius: 14px;
        padding: 20px 16px;
    }

    .contact-card h2 {
        text-align: left;
    }
}

/* Smart TV / large screen */
@media (min-width: 1600px) {
    .contact-card {
        max-width: 760px;
        padding: 48px;
    }

    .contact-card h2 {
        font-size: 42px;
    }

    .contact-info p {
        font-size: 22px;
    }
}