/* ========================= */
/*      PREMIUM DARK MODE    */
/* ========================= */

body.dark-mode {

  /* Background layers */
  --white: 222 20% 12%;
  --gray-l-100: 222 18% 16%;

  /* Text */
  --black: 0 0% 95%;
  --gray: 0 0% 70%;

  background: hsl(222 25% 10%);
  color: hsl(0 0% 92%);
}


/* Section Background */
body.dark-mode .dashboard,
body.dark-mode .section,
body.dark-mode .page-wrapper {
    background: hsl(222 25% 10%) !important;
}


/* Cards */
body.dark-mode .card,
body.dark-mode .blog-card,
body.dark-mode .faq-item,
body.dark-mode .plan-item {
    background: hsl(222 20% 14%) !important;
    border: 1px solid hsl(222 18% 22%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}


/* Header */
body.dark-mode .header {
    background: hsl(222 20% 9%) !important;
    border-bottom: 1px solid hsl(222 18% 18%);
}


/* Footer */
body.dark-mode .footer {
    background: hsl(222 20% 8%) !important;
}


/* Text hierarchy */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #ffffff;
}

body.dark-mode p {
    color: hsl(0 0% 75%);
}


/* Buttons */
body.dark-mode .btn--base {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

/* Banner Dark Mode Fix */
body.dark-mode .banner-section {
    position: relative;
}

body.dark-mode .banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 20, 30, 0.95) 0%,
        rgba(15, 20, 30, 0.85) 40%,
        rgba(15, 20, 30, 0.5) 70%,
        rgba(15, 20, 30, 0.2) 100%
    );
    z-index: 1;
}

body.dark-mode .banner-content {
    position: relative;
    z-index: 2;
}

/* ============================= */
/*        BLOG DARK MODE         */
/* ============================= */

body.dark-mode .blog-section {
    background: hsl(222 25% 10%);
}

/* Blog Card Container */
body.dark-mode .blog-section__content {
    background: hsl(222 20% 15%);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid hsl(222 18% 22%);
    transition: all 0.3s ease;
}

/* Hover Effect */
body.dark-mode .blog-section__content:hover {
    transform: translateY(-4px);
    border-color: hsl(var(--base));
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Date Styling */
body.dark-mode .blog-section__date {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Title Styling */
body.dark-mode .blog-section__title {
    color: #ffffff;
    font-weight: 600;
    margin-top: 8px;
    transition: color 0.3s ease;
}

/* Title Hover Accent */
body.dark-mode .blog-section__content:hover .blog-section__title {
    color: hsl(var(--base));
}

/* ============================= */
/*     TESTIMONIAL DARK MODE     */
/* ============================= */

body.dark-mode .testimonial-section {
    background: hsl(222 25% 9%);
}

/* Testimonial Card */
body.dark-mode .testimonial-section__item {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.45);
    transition: all 0.3s ease;
}

/* Hover subtle lift */
body.dark-mode .testimonial-section__item:hover {
    transform: translateY(-5px);
    border-color: hsl(var(--base));
}

/* Name */
body.dark-mode .testimonial-section__name {
    color: #ffffff;
    font-weight: 600;
}

/* Title */
body.dark-mode .testimonial-section__title {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Description */
body.dark-mode .testimonial-section__desc {
    color: rgba(255,255,255,0.75);
    margin-top: 15px;
    line-height: 1.6;
}

/* Stars */
body.dark-mode .testimonial-section__star i {
    color: #f5b301; /* gold */
}

/* Profile Image */
body.dark-mode .testimonial-section__image {
    border: 3px solid hsl(222 18% 25%);
    border-radius: 50%;
}

/* ============================= */
/*        FOOTER DARK MODE       */
/* ============================= */

body.dark-mode .footer-area__footer-top {
    background: hsl(222 28% 8%);
    border-top: 1px solid hsl(222 18% 18%);
}

/* Footer Titles */
body.dark-mode .footer-item__title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Footer Description */
body.dark-mode .footer-item__desc,
body.dark-mode .footer-contact__desc {
    color: rgba(255,255,255,0.65);
}

/* Footer Links */
body.dark-mode .footer-menu__link {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

body.dark-mode .footer-menu__link:hover {
    color: hsl(var(--base));
    padding-left: 5px;
}

/* Social Icons */
body.dark-mode .social-list__link {
    background: hsl(222 20% 15%);
    border: 1px solid hsl(222 18% 22%);
    color: #ffffff;
    transition: all 0.3s ease;
}

body.dark-mode .social-list__link:hover {
    background: hsl(var(--base));
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Icons */
body.dark-mode .footer-contact-menu__item-icon {
    background: hsl(222 20% 15%);
    border: 1px solid hsl(222 18% 22%);
    color: hsl(var(--base));
}

/* Bottom subtle glow */
body.dark-mode .footer-area__footer-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255,255,255,0.03),
        transparent
    );
    pointer-events: none;
}

/* ============================= */
/*    SLICK DARK MODE FIX       */
/* ============================= */

body.dark-mode .testimonial-slider,
body.dark-mode .testimonial-slider .slick-list,
body.dark-mode .testimonial-slider .slick-track,
body.dark-mode .testimonial-slider .slick-slide {
    background: transparent !important;
}

/* ============================= */
/*    SERVICE SECTION DARK FIX  */
/* ============================= */

body.dark-mode .service-section {
    background: hsl(222 25% 10%) !important;
}

body.dark-mode .service-section .container,
body.dark-mode .service-section .row {
    background: transparent !important;
}

/* ============================= */
/*        HEADER DARK MODE       */
/* ============================= */

body.dark-mode .header {
    background: hsl(222 28% 8%);
    border-bottom: 1px solid hsl(222 18% 18%);
}

/* Default Nav Links (Unselected) */
body.dark-mode .navbar .nav-link {
    color: #ffffff !important;
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Hover Effect */
body.dark-mode .navbar .nav-link:hover {
    color: hsl(var(--base)) !important;
    opacity: 1;
}

/* Active Link */
body.dark-mode .navbar .nav-item.active .nav-link,
body.dark-mode .navbar .nav-link.active {
    color: hsl(var(--base)) !important;
    font-weight: 600;
    opacity: 1;
}

/* Dropdown Language */
body.dark-mode .dropdown--lang .dropdown-toggle {
    color: #ffffff !important;
}

/* Cart & Auth Buttons Text */
body.dark-mode .navbar-auth-area .btn {
    color: #ffffff;
}

/* ============================= */
/*        FAQ DARK MODE          */
/* ============================= */

/* Accordion Item */
body.dark-mode .accordion-item {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

/* Accordion Button */
body.dark-mode .accordion-button {
    background: hsl(222 20% 14%);
    color: #ffffff;
    box-shadow: none;
}

/* Hover */
body.dark-mode .accordion-button:hover {
    background: hsl(222 20% 18%);
}

/* Active (Opened) */
body.dark-mode .accordion-button:not(.collapsed) {
    background: hsl(222 22% 18%);
    color: hsl(var(--base));
    box-shadow: none;
}

/* Remove Bootstrap blue glow */
body.dark-mode .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Accordion Body */
body.dark-mode .accordion-body {
    background: hsl(222 20% 13%);
    color: rgba(255,255,255,0.75);
}

/* Remove white collapse area */
body.dark-mode .accordion-collapse {
    background: hsl(222 20% 13%);
}

/* Arrow icon color */
body.dark-mode .accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}

/* ============================= */
/*        ICON LIST DARK MODE    */
/* ============================= */

body.dark-mode .icon-list-item {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

/* Hover effect */
body.dark-mode .icon-list-item:hover {
    background: hsl(222 22% 18%);
    border-color: hsl(var(--base));
    transform: translateY(-3px);
}

/* Title */
body.dark-mode .icon-list-item__title {
    color: #ffffff;
}

/* Icon styling */
body.dark-mode .icon-list-item__icon {
    filter: brightness(0.9) contrast(1.1);
}

/* ============================= */
/*       REFERRAL DARK MODE      */
/* ============================= */

body.dark-mode .refer-section__inner {
    background: hsl(222 25% 10%);
    border-radius: 20px;
    padding: 60px 40px;
}

/* Title */
body.dark-mode .refer-content .section-heading__title {
    color: #ffffff;
}

/* Description */
body.dark-mode .refer-content .section-heading__desc {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
}

/* Referral image soften */
body.dark-mode .refer-thumb {
    filter: brightness(0.95);
}

/* ============================= */
/*      CLIENT SLIDER DARK       */
/* ============================= */

body.dark-mode .client-slider,
body.dark-mode .client-slider .slick-list,
body.dark-mode .client-slider .slick-track,
body.dark-mode .client-slider .slick-slide,
body.dark-mode .client-slider .slick-slide > div {
    background: transparent !important;
}

/* Logo styling */
body.dark-mode .client-slider__logo {
    opacity: 0.8;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
}

body.dark-mode .client-slider__logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2);
}

body.dark-mode .container h6.text-center {
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================= */
/*      WORK PROCESS DARK        */
/* ============================= */

body.dark-mode .wotk-process_item__content {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
}

body.dark-mode .wotk-process_item__content:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: hsl(var(--base));
}

/* DARK MODE FIX */
body.dark-mode .wotk-process_item__count {
    background: hsl(var(--base));
}

body.dark-mode .wotk-process_item__counts {
    color: #ffffff !important;
}


/* Text */
body.dark-mode .wotk-process_item__desc {
    color: #ffffff;
}

/* Number Circle */
.wotk-process_item__count {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Number Text */
.wotk-process_item__counts {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}


/* ===================================================== */
/*               COMPLETE DASHBOARD DARK MODE            */
/* ===================================================== */

/* Page Background */
body.dark-mode .page-wrapper {
    background: hsl(222 28% 8%);
}

/* ================= Sidebar ================= */

body.dark-mode .offcanvas-sidebar--dashboard {
    background: hsl(222 22% 12%);
    border-right: 1px solid hsl(222 18% 20%);
}

body.dark-mode .user-profile__avatar {
    background: hsl(var(--base));
    color: #fff;
}

body.dark-mode .user-profile__name,
body.dark-mode .user-profile__username {
    color: #ffffff;
}

/* Sidebar Links */
body.dark-mode .offcanvas-sidebar-menu__link {
    color: #cbd5e1;
    transition: all 0.3s ease;
}

body.dark-mode .offcanvas-sidebar-menu__link:hover {
    background: hsl(222 22% 18%);
    color: #ffffff;
}

body.dark-mode .offcanvas-sidebar-menu__item.active .offcanvas-sidebar-menu__link {
    background: hsl(var(--base));
    color: #ffffff;
}

/* ================= Dashboard Widgets ================= */

body.dark-mode .dashboard-widget {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    transition: all 0.3s ease;
}

body.dark-mode .dashboard-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

body.dark-mode .dashboard-widget__label {
    color: #94a3b8;
}

body.dark-mode .dashboard-widget__title {
    color: #ffffff;
}

/* ================= Alerts ================= */

body.dark-mode .alert {
    background: hsl(222 20% 16%);
    border: 1px solid hsl(222 18% 22%);
    color: #ffffff;
}

/* ================= Tables ================= */

body.dark-mode .table {
    color: #e2e8f0;
}

body.dark-mode .table thead {
    background: hsl(222 22% 16%);
    color: #ffffff;
}

body.dark-mode .table tbody tr {
    background: hsl(222 20% 14%);
    border-bottom: 1px solid hsl(222 18% 20%);
}

body.dark-mode .table tbody tr:hover {
    background: hsl(222 22% 18%);
}

/* ================= Headings ================= */

body.dark-mode h5,
body.dark-mode h4,
body.dark-mode h6 {
    color: #ffffff;
}
body.dark-mode .esim-plan-tab {
    background: hsl(222 22% 12%);
    padding: 6px;
    border-radius: 10px;
}

/* Default button */
body.dark-mode .esim-plan-tab__btn {
    background: transparent;
    color: #cbd5e1;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Hover */
body.dark-mode .esim-plan-tab__btn:hover {
    background: hsl(222 22% 18%);
    color: #ffffff;
}

/* Active Tab */
body.dark-mode .esim-plan-tab__btn.active {
    background: hsl(var(--base));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ===================================== */
/*        PLAN CARD DARK MODE FIX        */
/* ===================================== */

/* Card background */
body.dark-mode .plan-card .choose-plan-item {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    border-radius: 14px;
    transition: all 0.3s ease;
}

/* Hover */
body.dark-mode .plan-card .choose-plan-item:hover {
    background: hsl(222 22% 18%);
    border-color: hsl(var(--base));
}

/* Capacity text */
body.dark-mode .choose-plan-item__capacity {
    color: #ffffff !important;
}

/* Validity text */
body.dark-mode .choose-plan-item__validity .text {
    color: rgba(255,255,255,0.75) !important;
}

/* Price */
body.dark-mode .choose-plan-item__price {
    color: #ffffff !important;
    font-weight: 600;
}

/* SVG icon color */
body.dark-mode .choose-plan-item__validity svg {
    stroke: #ffffff;
}

/* Badge fix */
body.dark-mode .choose-plan-item .badge {
    background: hsl(var(--base));
    color: #ffffff;
}
/* ======================================= */
/*        PLAN SIDEBAR DARK MODE FIX       */
/* ======================================= */

/* Sidebar container */
body.dark-mode .choose-plan-sidebar {
    background: hsl(222 20% 14%);
    border: 1px solid hsl(222 18% 22%);
    border-radius: 16px;
    color: #ffffff;
}

/* Header */
body.dark-mode .choose-plan-info__title {
    color: #ffffff !important;
}

body.dark-mode .choose-plan-info__desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Feature list labels */
body.dark-mode .choose-plan-feat__item .label {
    color: #fff !important;
}

/* Feature values */
body.dark-mode .choose-plan-feat__item .value {
    color: #ffffff !important;
    font-weight: 500;
}

/* Icons */
body.dark-mode .choose-plan-feat__item i {
    color: hsl(var(--base));
}

/* Meta section */
body.dark-mode .choose-plan-meta__item .label {
    color: rgba(255,255,255,0.7) !important;
}

body.dark-mode .choose-plan-meta__item .value {
    color: #ffffff !important;
}

/* Highlighted total price */
body.dark-mode .choose-plan-meta__item .highlighted {
    color: hsl(var(--base)) !important;
    font-weight: 600;
}

/* Footer button fix */
body.dark-mode .choose-plan-sidebar__footer .btn {
    color: #ffffff;
}

/* =============================== */
/*      BREADCRUMB DARK MODE FIX   */
/* =============================== */

body.dark-mode .breadcrumb__title {
    color: #363333 !important;
}
    