:root {
    --primary-color: #2596be;
    --secondary-color: #85cbe1;

    
    --accent-color: #cf8337;
    --accent-color-secondary: #d99c5f;


    --primary-dark: #111111;        /* Dark navbar */
    --secondary-dark: #353535;      
    --text-dark: #1B1F23;           /* General text */
    --text-light: #ffffff;          /* White text */
    --bg-light: #F6F9FC;            /* Light background */
}

/**********************************/
/********** General CSS ***********/
/**********************************/
body {
    color: var(--secondary-dark);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background-color: var(--bg-light);
}

a {
    color: var(--accent-color);
    transition: 0.5s;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: var(--secondary-dark);
    outline: none;
    text-decoration: none;
}

p {
    color: var(--secondary-dark);
    padding: 0;
    margin: 0 0 15px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-dark);
    margin: 0 0 15px 0;
    padding: 0;
}

.back-to-top {
    position: fixed;
    display: none;
    background: var(--secondary-dark);
    color: #ffffff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top:hover {
    background: var(--accent-color);
}

.back-to-top i {
    padding-top: 12px;
    color: #ffffff;
}


/**********************************/
/********* Form Input CSS *********/
/**********************************/
.form-control,
.custom-select {
    width: 100%;
    height: 35px;
    padding: 0 15px;
    color: #666666;
    border: 1px solid var(--secondary-dark);
    border-radius: 0;
    margin-bottom: 15px
}

.form-control:focus,
.custom-select:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.custom-radio,
.custom-checkbox {
    margin-bottom: 15px;
}

.custom-radio .custom-control-label::before,
.custom-checkbox .custom-control-label::before {
    border-color: var(--secondary-dark);
    border-radius: 0;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    color: #ffffff;
    background: var(--accent-color);
}

button.btn {
    color: var(--secondary-dark);
    background: #ffffff;
    border: 1px solid var(--secondary-dark);
    border-radius: 0;
}

button.btn:hover {
    color: #ffffff;
    background: var(--accent-color);
    border-color: var(--accent-color);
}


/**********************************/
/********* Top Header CSS *********/
/**********************************/
.top-header {
    padding: 15px 0;
    background: #ffffff;
}

.top-header .logo {
    text-align: left;
    overflow: hidden;
}

.top-header .logo a img {
    max-width: 100%;
    max-height: 60px;
}


.top-header .social {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
    text-align: right;
}

.top-header .social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 1px 0;
    text-align: center;
    font-size: 22px;
    border: 1px solid var(--primary-color);
}

.top-header .social a:hover {
    background: var(--accent-color-secondary);
    border: 1px solid var(--accent-color-secondary);
}

.top-header .social a i {
    color: var(--primary-color);
}

.top-header .social a:hover i {
    color: var(--text-light);
}

@media (min-width: 768px) {
    .top-header {
        max-height: 90px;
    }
}

@media (max-width: 767.98px) {
    .top-header .logo,
    .top-header .search,
    .top-header .social {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .top-header .social {
        margin-bottom: 0;
    }
}


/**********************************/
/********* Header Nav CSS *********/
/**********************************/
.header {
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.header.header-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header .navbar {
    height: 100%;
    padding: 0;
}
.custom-navbar{
    background-color:  var(--primary-color) !important;
}

.custom-navbar .nav-a {
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: var(--primary-color);
    padding: 10px 10px 8px 10px;
    color: var(--text-light);
}
.custom-navbar .navbar-nav .nav-link{
    border: none;
    border-bottom: 2px solid var(--primary-color);
    padding: 10px 10px 8px 10px;
    color:  var(--text-light);
}
.custom-navbar .navbar-nav .nav-date{
    text-align: center;
    outline: none;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background-color:  var(--primary-color) !important;
    padding: 10px 10px 8px 10px;
    color:  var(--text-light);
}

.custom-navbar .nav-a:hover,
.custom-navbar .navbar-nav .nav-link:focus,
.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active,
.custom-navbar .navbar-nav .nav-date:hover,
.custom-navbar .navbar-nav .nav-date:focus {
    background: rgba(0, 0, 0, .2);
    border-bottom: 2px solid var(--accent-color);
    transition: none;
    box-shadow: none;
    border-color: var(--accent-color);
}



.header .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

@media (min-width: 768px) {
    /* .header,
    .header .navbar {
    } */
    
    .header .navbar-brand {
        display: none;
    }

    .header button.nav-a,
    .header a.nav-link {
        padding: 8px 15px;
        font-size: 15px;
        text-transform: uppercase;
    }
}

@media (max-width: 768px) {   
    /* .header,
    .header .navbar {
    } */
     .header .navbar-brand {
        color: var(--text-light);
    }
    
    .header button.nav-a,
    .header a.nav-link {
        padding: 5px;
    }
    
    .header .dropdown-menu {
        box-shadow: none;
    }
    
    .custom-navbar .navbar-nav .nav-date{
        text-align: left;
    }
}

@media (max-width: 991px) {   
    
    .custom-navbar .navbar-nav .nav-date{
        text-align: left;
    }
}



/**********************************/
/******* Category News CSS ********/
/**********************************/
.cat-news {
    position: relative;
    width: 100%;
    padding: 0;
}

.cat-news .col-md-6 {
    margin-bottom: 30px;
}

.cat-news h2 {
    color: var(--secondary-dark);
    font-size: 25px;
    font-weight: 700;
    margin-left: 5px;
}

.cat-news h2 i {
    position: absolute;
    top: 8px;
    left: 15px;
    font-size: 28px;
}

.cat-news .cn-img {
    position: relative;
    overflow: hidden;
}

.cat-news .cn-img img {
    width: 100%;
}

/* ===== Locked ePaper Pages ===== */
.cn-img.locked {
    position: relative;
    overflow: hidden;
}

.cn-img.locked img {
    filter: blur(3px);
    opacity: 0.5;
}

.cn-img.locked::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2; /* Ensures it's above the dark layer */
    font-weight: 600;
}

.lock-overlay .fa-lock {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--accent-color);
}

/* =========================
   THUMB LOCK OVERLAY
========================= */

.thumb-item.locked {
    position: relative;
}

.thumb-item.locked img {
    filter: blur(2px);
    opacity: 0.55;
}

/* dark overlay */
.thumb-item.locked::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 2px;
}

/* lock icon */
.thumb-item .lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
}

.thumb-item .lock-overlay i {
    font-size: 18px;
    color: #ffc107;
}
/* =========================
   THUMB STRUCTURE FIX
========================= */

.thumb-box {
    position: relative;
    background: #fff;
    border: 1px solid #bdbdbd;
    overflow: hidden;
}

/* image */
.thumb-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* locked state */
.thumb-item.locked .thumb-box img {
    filter: blur(2px);
    opacity: 0.6;
}

.thumb-item.locked .thumb-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* lock icon */
.thumb-box .lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.thumb-box .lock-overlay i {
    font-size: 18px;
    color: #ffc107;
}

/* label spacing */
.thumb-label {
    margin-top: 4px;
}

/* .cat-news .cn-img:hover img {
    filter: blur(5px);
    -webkit-filter: blur(5px);
} */

.cat-news .cn-content {
    position: absolute;
    top: 0; 
    right: 0;
    bottom: 0; 
    left: 0;
    padding: 15px 10px 15px 20px;
    background-image: linear-gradient(rgba(0, 0, 0, .0), rgba(0, 0, 0, .3), rgba(0, 0, 0, .9));
    display: flex;
    align-items: flex-end;
}

.cat-news .cn-content p.cn-date {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    transition: .3s;
    letter-spacing: 1px;
}

.cat-news .cn-content p.cn-date i {
    margin-right: 5px;
}

.cat-news .cn-content p.cn-date:hover {
    color: var(--accent-color);
}

.cat-news .cn-content p.cn-title {
    display: block;
    width: 100%;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 400;
    transition: .3s;
}

.cat-news .cn-content p.cn-title:hover {
    color: #ffffff;
}

.cat-news .cn-content a.cn-title {
    display: block;
    width: 100%;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 400;
    transition: .3s;
}

.cat-news .cn-content a.cn-title:hover {
    color: #ffffff;
}

.cat-news .slick-prev,
.cat-news .slick-next {
    top: -35px;
    width: 28px;
    height: 28px;
    z-index: 1;
    transition: .5s;
    color: var(--text-light);
    background-color: var(--primary-color);
}

.cat-news .slick-prev {
    left: calc(100% - 85px);
}

.cat-news .slick-next {
    right: 14px;
}

.cat-news .slick-prev:hover,
.cat-news .slick-prev:focus,
.cat-news .slick-next:hover,
.cat-news .slick-next:focus {
    color: var(--text-light);
    background: var(--accent-color);
}

.cat-news .slick-prev::before,
.cat-news .slick-next::before {
    font-family: "Font Awesome 5 Free";
    font-size: 18px;
    font-weight: 900;
    color: var(--text-light);
}

.cat-news .slick-prev::before {
    content: "\f104";
}

.cat-news .slick-next::before {
    content: "\f105";
}




/**********************************/
/********* Breadcrumb CSS *********/
/**********************************/
.breadcrumb-wrap {
    position: relative;
    width: 100%;
    background: #ffffff;
}

.breadcrumb-wrap .breadcrumb {
    margin: 25px 0 0 0;
    padding: 0;
    background: none;
}

.breadcrumb-wrap .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--secondary-dark);
}

.breadcrumb-wrap .breadcrumb .breadcrumb-item.active {
    color: var(--secondary-dark);
}


/**********************************/
/********** Footer CSS ************/
/**********************************/
.footer {
    position: relative;
    padding: 40px 0 0 0;
    margin-top: 15px;
    background: var(--secondary-color);
}

@media (min-width: 992px) {
    .footer .container-fluid {
        max-width: 95%;
    }
}

.footer .footer-widget {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
}

.footer .footer-widget h1 {
    color: var(--text-light);
    margin-bottom: 18px; 
}

.footer .footer-widget .title {
    color: var(--text-dark);
    white-space: nowrap;
}

.footer .footer-widget p {
    color: var(--text-dark);
}

.footer .footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .footer-widget ul li {
    margin-bottom: 12px; 
}

.footer .footer-widget ul li:last-child {
    margin-bottom: 0; 
}

.footer .footer-widget ul li a {
    color: var(--text-dark);
    white-space: nowrap;
    display: block;
    line-height: 23px;
}

.footer .footer-widget ul li a::before {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    padding-right: 5px;
}

.footer .footer-widget ul li a:hover {
    padding-left: 10px; 
    color: var(--text-light);
}

.footer .contact-info p {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 16px;
}

.footer .contact-info p i {
    color: var(--text-dark);
    margin-right: 5px;
}

.footer .social {
    position: relative;
    width: 100%;
}

.footer .social a {
    display: inline-block;
    margin: 10px 5px 0 0;
    width: 35px;
    height: 35px;
    padding: 2px 0;
    text-align: center;
    font-size: 18px;
    background: var(--primary-color);
    border: 1px solid #ffffff;
}

.footer .social a i {
    color: var(--text-light);
}

.footer .social a:hover {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.footer .newsletter {
    position: relative;
    width: 100%;
}

.footer .newsletter form {
    position: relative;
    width: 100%;
}

.footer .newsletter input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ffffff;
}

.footer .newsletter .btn {
    position: absolute;
    width: 80px;
    height: 40px;
    top: 0;
    right: 0;
    padding: 0 15px;
    border: none;
    background: var(--secondary-dark);
    color: var(--text-light);
    border: 1px solid #ffffff;
}

.footer .newsletter .btn:hover {
    background: var(--accent-color);
}

.footer .newsletter input:focus,
.footer .newsletter .btn:focus {
    box-shadow: none;
}


/**********************************/
/******** Footer Bottom CSS *******/
/**********************************/
.footer-bottom {
    position: relative;
    padding: 25px 0;
    background: var(--primary-color);
}

.footer-bottom .copyright {
    text-align: left;
}

.footer-bottom .template-by {
    text-align: right;
}

.footer-bottom .copyright p,
.footer-bottom .template-by p {
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
}

.footer-bottom .copyright p a,
.footer-bottom .template-by p a {
    color: var(--accent-color-secondary);
    font-weight: 600;
}

.footer-bottom .copyright p a:hover,
.footer-bottom .template-by p a:hover {
    color: var(--text-light);
}

@media (max-width: 768.98px) {
    .footer-bottom .copyright,
    .footer-bottom .template-by {
        text-align: center; 
    } 
}


/**********************************/
/******** Loader CSS *******/
/**********************************/
#loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Background color */
    display: flex;
    align-items: center;
    justify-content: center;
}
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}


/**********************************/
/**** Glass Modal CSS ****/
/**********************************/

.modal-backdrop.show {
    opacity: 0.25;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);

    color: var(--secondary-dark);
}

/* Heading */
.glass-modal h3 {
    color: var(--secondary-dark);
    letter-spacing: 0.4px;
}

/* Labels */
.glass-modal label {
    color: var(--secondary-dark);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Inputs */
.glass-modal .form-control {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    height: 42px;
    color: var(--text-dark);
}

.glass-modal .form-control:focus {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 150, 190, 0.15);
}

/* Button – matches navbar tone */
.glass-modal .btn-dark {
    background: var(--primary-color);
    border: none;
    color: var(--text-light);
    font-weight: 600;
    height: 42px;
    transition: 0.25s;
}

.glass-modal .btn-dark:hover {
    background: var(--accent-color);
}

/* Links */
.glass-modal small {
    color: var(--secondary-dark);
}

.glass-modal a {
    color: var(--text-light);
    font-weight: 600;
}

.glass-modal a:hover {
    color: var(--text-dark);
}

/* Country code */
.glass-modal .custom-input-group .country-code {
    height: 42px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px 0 0 12px;
    color: var(--secondary-dark);
}


/**********************************/
/******** Subscription Card CSS*******/
/**********************************/
 .subscription-card {
    border-radius: 18px;
    border: 1px solid #eee;
    position: relative;
    transition: 0.25s;
}

.subscription-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.subscription-card .discount-badge {
    background: var(--secondary-dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    position: absolute;
    top: 15px;
    right: 15px;
}

.subscription-card .most-popular-badge {
    background: var(--accent-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: bold;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.subscription-card.popular {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(90,45,216,0.15);
}

/* ---- Share Bar ---- */
.share-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    margin-right: 6px;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #212529;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Brand colors */
.share-btn .fa-whatsapp,
.share-btn .fa-facebook-f,
.share-btn .fa-linkedin-in {
    color: #fff;
}

.share-btn[title="WhatsApp"] { background: #25d366; }
.share-btn[title="Facebook"] { background: #3b5998; }
.share-btn[title="Twitter / X"] { background: #000; }
.share-btn[title="LinkedIn"] { background: #0077b5; }
.share-btn[title="Email"] { background: #6c757d; }
.share-btn[title="Copy Link"] { background: #495057; }
.share-btn[title="Download"] { background: #343a40; }
