@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Hind", sans-serif
}

:root {
    --primary-color: #FF0000;
    --bg-color: #e56c0f1a;

    --primary: #FF0000;
    --secondary: #1800AD;

    --text-dark: #111827;
    --text-light: #777777;

    --bg-light: #ffffff;
    --bg-gray: #f3f4f6;
}


/* -----------------------------------
   BASE
----------------------------------- */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* -----------------------------------
   FONT-SIZE UTILITIES (desktop first)
----------------------------------- */
.text12 {
    font-size: 12px;
}

.text14 {
    font-size: 14px;
}

.text16 {
    font-size: 16px;
}

.text15 {
    font-size: 15px;
}

.text18 {
    font-size: 18px;
}

.text20 {
    font-size: 20px;
}



.text30 {
    font-size: 30px;
}

/* Tablet */
@media (max-width: 1024px) {
    .text12 {
        font-size: calc(12px * 0.85);
    }

    .text14 {
        font-size: calc(14px * 0.85);
    }

    .text15 {
        font-size: calc(15px * 0.85);
    }

    .text16 {
        font-size: calc(16px * 0.85);
    }

    .text18 {
        font-size: calc(18px * 0.85);
    }

    .text20 {
        font-size: calc(20px * 0.85);
    }

    .text30 {
        font-size: calc(30px * 0.85);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .text12 {
        font-size: calc(12px * 0.95);
    }

    .text14 {
        font-size: calc(14px * 0.95);
    }

    .text16 {
        font-size: calc(16px * 0.95);
    }

    .text18 {
        font-size: calc(18px * 0.95);
    }

    .text20 {
        font-size: calc(20px * 0.80);
    }

    .text30 {
        font-size: calc(30px * 0.70);
    }
}

/* -----------------------------------
   FONT WEIGHT
----------------------------------- */

.fw500 {
    font-weight: 500;
}

.fw600 {
    font-weight: 600;
}

/* -----------------------------------
   TEXT COLORS
----------------------------------- */
.text-primary {
    color: var(--primary);
}


/* -----------------------------------
   BACKGROUND COLORS
----------------------------------- */
.bg-primary {
    background: var(--primary);
}

.bg-secondary {
    background: var(--secondary);
}

.bg-light {
    background: var(--bg-light);
}

.bg-gray {
    background: var(--bg-gray);
}

/* -----------------------------------
   SPACING
----------------------------------- */

.mt-5 {
    margin-top: 5px;
}

.mt-20 {
    margin-top: 20px;
}

/* -----------------------------------
   FLEX UTILITIES
----------------------------------- */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* -----------------------------------
   SHADOWS
----------------------------------- */
.shadow-sm {
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.spacing {
    padding: 0 20px;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hide-scrollbar {
    /* Firefox */
    scrollbar-width: none;

    /* IE and Edge */
    -ms-overflow-style: none;
}

/* Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* heading css  */
.big-news-container {
    position: relative;
    display: flex;
    align-items: end;
    white-space: nowrap;
    justify-content: space-between;
}

.big-news-text {
    display: flex;
    align-items: center;
    font-size: 25px;
    white-space: nowrap;
    font-weight: 600;
    color: var(--primary);
}

.big-news-link {
    color: var(--secondary);
    font-weight: 500;
}

.big-news-text::before {
    content: "▶";
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 25px;
    rotate: 75deg;
}

.big-news-underline {
    height: 2px;
    background-color: var(--primary-color);
    width: 100%;
}

.no-news-available {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #878787;
}

/* search  */
.pagination-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    border-radius: 4px;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    position: relative;
    display: block;
    padding: 6px 12px;
    line-height: 1.5;
    color: var(--primary);
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: var(--primary);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

/* state navbar  */
.state-navbar {
    display: flex;
    background-color: var(--secondary);
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    box-shadow: none;
    height: 38px;
    position: relative;
}

.state-navbar-fixed {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 7px 14px;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    height: 38px;
    box-sizing: border-box;
}

.state-navbar-scroll {
    display: flex;
    overflow-x: auto;
    padding-left: calc(14px + 14px + 70px);
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.state-navbar-item {
    padding: 7px 14px;
    color: white;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    height: 38px;
    box-sizing: border-box;
}

.state-navbar-scroll::-webkit-scrollbar {
    display: none;
}


/* navbar css  */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: white;
}

.design1 {
    left: 0;
    right: 0;
    background: #f6bfbf;
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
    height: 70px;
    z-index: 1;
}

.design2 {
    left: 20px;
    right: 0;
    top: 0;
    position: absolute;
    background: #DB000040;
    display: flex;
    justify-content: space-between;
    align-items: center;
    clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
    height: 70px;
    z-index: 2;
}

.design3 {
    left: 40px;
    right: 0;
    top: 0;
    position: absolute;
    background: #DB0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
    height: 70px;
    z-index: 3;
}

.border-design1 {
    position: absolute;
    left: 0;
    right: 0;
    background: #f6bfbf;
    height: 7px;
    z-index: 4;
}

.border-design2 {
    position: absolute;
    left: 12%;
    right: 0;
    background: #DB000040;
    height: 7px;
    z-index: 4;
}

.border-design3 {
    position: absolute;
    left: 25%;
    right: 0;
    background: #DB0000;
    height: 7px;
    z-index: 4;
}

.navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 250px;
    object-fit: cover;
}

.menu-items {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-top: 60px;
    gap: 20px;
    overflow: hidden;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: end;
    padding-bottom: 5px;

    /* Horizontal scrolling setup */
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    max-width: 45vw;
    /* Adjust based on your layout */
}

.nav-menu li {
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--primary);
}

.nav-active {
    color: var(--primary) !important;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.search-btn2 {
    display: none;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding: 3px 15px;
    border-radius: 5px;
    background-color: white;
    border: 2px solid var(--primary);
    font-weight: 500;
    flex-shrink: 0;

}

.search-btn p {
    font-weight: 500;
    font-size: 16px;
    margin-top: 2px;
}

.search-btn i {
    color: var(--primary);

}



.right-section {
    position: absolute;
    top: 15px;
    right: 10px;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-time {
    color: white;
    display: flex;
    justify-content: end;
}

.editor-image {
    width: 100%;
    max-width: 453px;
    margin: 10px auto;
}

.editor-image .img-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* makes it perfectly square */
    object-fit: cover;
    /* crop correctly */
    border-radius: 6px;
    /* optional */
}

figcaption {
    font-size: 14px;
    font-style: italic;
}


/* card  */
.second-news {
    border-radius: 5px;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    .logo img {
        width: 230px;
    }


}

@media (max-width: 1024px) {
    .logo {
        padding-top: 15px;
    }

    .logo img {
        width: 200px;
        object-fit: cover;
    }

    .navbar {
        flex-direction: column;
    }

    .menu-items {
        padding-top: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav-menu {
        max-width: calc(100vw - 90px);
    }
}

@media (max-width: 850px) {

    .design1 {
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
        height: 60px;
    }

    .design2 {
        left: 15px;
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
        height: 60px;
    }

    .design3 {
        left: 30px;
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 30% 10%, 0 10%);
        height: 60px;
    }

    .logo img {
        width: 180px;
    }

    .pagination-container {
        margin: 10px auto;
    }
}

@media (max-width: 600px) {
    .design1 {
        left: 40px;
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 28% 10%, 0 10%);
        height: 60px;
    }

    .design2 {
        left: 50px;
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 28% 10%, 0 10%);
        height: 60px;
    }

    .design3 {
        left: 60px;
        clip-path: polygon(0 0, 101% 0, 100% 72%, 34% 72%, 28% 10%, 0 10%);
        height: 60px;
    }

    .logo img {
        width: 170px;
    }
}

@media (max-width: 600px) {
    .logo img {
        width: 130px;
    }

}

@media (max-width: 450px) {
    .mt-5 {
        margin-top: 15px;
    }

    .big-news-text {
        font-size: 20px;
    }

    .big-news-text::before {
        font-size: 20px;
    }

    .right-section {
        top: 12px;
    }

    .logo img {
        width: 120px;
    }

    .logo {
        padding-top: 12px;
    }

    .search-btn {
        gap: 8px;
        margin-bottom: 2px;
        padding: 2px 2px;
        border: none;
        display: none;
    }

    .search-btn2 {
        display: flex;
        align-items: center;
        background-color: transparent;
        border: none;
        font-weight: 500;
        flex-shrink: 0;
    }

    .right-section {
        gap: 5px;
    }

    .search-btn2 i {
        color: white;
    }

    .nav-menu {
        gap: 24px;
        max-width: calc(100vw - 10px);
    }

    .menu-items {
        padding-top: 4px;
    }

    .date-time {
        font-size: 14px !important;
    }

    .pagination-container {
        margin: 6px auto;
    }

    .page-link {
        width: 10px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

}

.page_spacing {

    max-width: 1200px;
    margin: 10px auto;
}

@media only screen and (max-width: 850px) {
    .page_spacing {
        padding: 0 20px;
        margin: 0 auto;
        max-width: 100%;
    }

    .spacing {
        padding: 0 20px;
    }

}

@media only screen and (max-width: 600px) {
    .page_spacing {
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
    }

    .spacing {
        padding: 0 10px;
    }
}


/* Button styles */
.btn {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid black;
    border-radius: 30px;
    font-size: 20px;
    color: black;
    font-weight: 400;
    background-color: transparent;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    color: white;
}



.wcenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center {
    display: flex;
    justify-content: center;
}

.hr-custom {
    border: none;
    height: 0.5px;
    max-height: 0.5px;
    background-color: #00000040;
    /* box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1); */
    margin: 7px 0;
    width: 100%;
}

.vertical-line {
    width: 2px;
    max-width: 2px;
    background-color: #FF00001A;
    margin: 0 10px;
}


.news-container-one {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 100%;
    /* gap: 20px; */
}

.left-container {
    width: 100%;
    flex: 2;
    max-width: 789px;

}

.right-container {
    flex: 1;
    max-width: 349px;

}

@media only screen and (max-width: 1100px) {
    .news-container-one {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-container {
        max-width: 100%;
    }

    .right-container {
        max-width: 100%;
    }

}

.google_ads {
    background: #D9D9D9;
    width: 100%;
    height: 270px;
    margin: 15px 0;
    overflow: hidden;
    /* border: 1px solid rgba(205, 204, 204, 0.8); */
    border-radius: 5px;
}

.google_ads img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clamp-text1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-text2 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shadow-box {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.news-shadow {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: #fff;
}

.hidden {
    display: none;
}

@media only screen and (max-width: 850px) {
    .hidden2 {
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .hidden3 {
        display: none;
    }

    .state-navbar {

        height: 34px;
    }

    .state-navbar-fixed {
        padding: 8px 10px;
        font-size: 14px;
        height: 34px;
    }

    .state-navbar-scroll {
        padding-left: calc(14px + 14px + 43px);
        height: 34px;
    }

    .state-navbar-item {
        padding: 8px 10px;
        font-size: 14px;
        height: 34px;
    }
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


img:hover {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}