/** @format */

body {
  --body-font-size: 17px;
}

@media screen and (max-width: 768px) {
  body {
    --body-font-size: 14px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1600px) {
  body {
    --body-font-size: 16px;
  }
}



.slider-extra {
  display: none;
}

h2.slider-title {
  font-size: 54px;
  letter-spacing: -1px;
  line-height: 1.2;
}

/* Equal height for solution cards */
.solution-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-item-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.solution-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

@media screen and (min-width: 1280px) {
  .solution-image img {
    height: 270px;
  }
}


.mega-menu-column ul li a {}

.subtitle.s2 {
  display: none;
}

.sw-caption {
  margin-top: calc(var(--header-height) / 2);
}

div:not(.text-center, .subtitle, .header-block) p,
 p:not(.text-center, .header-block p) {
  text-align: justify !important;
  text-justify: newspaper;
}

.subtitle {
  display: none;
}


.card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Mega Menu Styles */
.mega-menu-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;

  /* Color variables */
  --mega-menu-text-color: #333;
  --mega-menu-text-hover-color: var(--primary-color);
  --mega-menu-bg-color: #fff;
  --mega-menu-shadow-color: rgba(0, 0, 0, 0.15);
  --mega-menu-border-color: #e8e8e8;
  --mega-menu-gradient-start: #667eea;
  --mega-menu-gradient-end: #764ba2;
  --mega-menu-heading-color: #333;
  --mega-menu-link-color: #666;
  --mega-menu-arrow-color: #999;
  --mega-menu-mobile-bg-color: #f8f9fa;
  --mega-menu-mobile-border-color: #eee;




}

.mega-menu-nav>li {
  position: relative;
  margin: 0 10px;
}

.mega-menu-item {
  display: block;
  padding: 15px 0;
  color: var(--mega-menu-text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.3s ease;
}

.mega-menu-item:hover {
  color: var(--mega-menu-text-hover-color);
  text-decoration: none;
}

.mega-menu-dropdown {
  position: relative;
}

.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mega-menu-bg-color);
  box-shadow: 0 10px 40px var(--mega-menu-shadow-color);
  border-radius: 12px;
  padding: 0;
  min-width: 640px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid var(--mega-menu-border-color);
}

.mega-menu-dropdown:hover .mega-menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.mega-menu-container {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
}

.mega-menu-image {
  flex: 0 0 250px;
  background: linear-gradient(135deg, var(--mega-menu-gradient-start) 0%, var(--mega-menu-gradient-end) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 30px 20px; */
  position: relative;
}

.mega-menu-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.3); */
  border-radius: 0;
}

.mega-menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 8px; */
  position: relative;
  z-index: 1;
}

.mega-menu-content {
  flex: 1;
  padding: 30px;
  display: flex;
  gap: 40px;
}

.mega-menu-column {
  flex: 1;
}

.mega-menu-content:has(.mega-menu-column:nth-child(2)) .mega-menu-column {
  min-width: 300px;
}

.mega-menu-column h4 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--mega-menu-heading-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.mega-menu-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-column ul li {
  /* margin: 0 0 12px 0; */
}

.mega-menu-column ul li a {
  color: var(--mega-menu-link-color);
  text-decoration: none;
  font-size: 1rem;
  padding: 5px 0;
  display: block;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding-left: 0;
}

.mega-menu-column ul li a:hover {
  color: var(--mega-menu-text-hover-color);
  text-decoration: none;
  padding-left: 10px;
  /* background: rgba(0, 123, 255, 0.05); */
}

/* Arrow indicator for dropdown items */
.mega-menu-dropdown>.mega-menu-item::after {
  content: "▼";
  font-size: 8px;
  margin-left: 8px;
  color: var(--mega-menu-arrow-color);
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.mega-menu-dropdown:hover>.mega-menu-item::after {
  transform: rotate(180deg);
  color: var(--mega-menu-text-hover-color);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .mega-menu-panel {
    min-width: 500px;
  }

  .mega-menu-content {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .mega-menu-nav>li {
    margin: 0 10px;
  }

  .mega-menu-panel {
    min-width: 400px;
  }

  .mega-menu-image {
    flex: 0 0 150px;
  }

  .mega-menu-content {
    padding: 5px 10px 10px;
  }
}

@media (max-width: 768px) {
  .mega-menu-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .mega-menu-nav>li {
    margin: 0;
    border-bottom: 1px solid var(--mega-menu-mobile-border-color);
  }

  .mega-menu-panel {
    position: static;
    transform: none;
    min-width: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--mega-menu-mobile-bg-color);
    opacity: 0;
    visibility: hidden;
  }

  .mega-menu-container {
    flex-direction: column;
  }

  .mega-menu-image {
    flex: none;
    height: 120px;
  }

  .mega-menu-content {
    flex-direction: column;
    gap: 20px;
  }

  .mega-menu-dropdown:hover .mega-menu-panel {
    transform: none;
  }
}

/* Login Dropdown Styles */
.login-dropdown {
  position: relative;
  display: inline-block;
}

/* Hide mobile login menu on desktop */
@media (min-width: 1025px) {
  .mobile-login-menu {
    display: none !important;
  }
}

.login-dropdown .dropdown-toggle {
  cursor: pointer;
}

.owl-car-img {
  min-height: 50px;
  /* max-height: 50px; */
}

.login-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 120px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding-inline: 10px;
  z-index: 1000;
}

.login-dropdown:hover .dropdown-menu {
  display: block;
}

.login-dropdown .dropdown-item {
  display: block;
  padding: 5px 5px;
  text-align: center;
  transition: all 0.3s ease;
}

.login-dropdown .dropdown-item:hover {
  /* background-color: #f5f5f5; */
  border-radius: 5px;
}

.login-dropdown .dropdown-item img {
  max-width: 100%;
  height: auto;
  max-height: 50px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.submenu-right {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  z-index: 999;
}

.dropdown-submenu:hover>.submenu-right {
  display: block;
}

.dropdown-submenu>a:after {
  content: "▶";
  float: right;
  margin-left: 8px;
  font-size: 12px;
}

/* Styles moved from inline attributes in productivity-management-mobile-app.php */

#subheader {
  z-index: 0;
}

/* Grouping common background styles for elements within #subheader */
#subheader,
#subheader>.container,
#subheader .row.align-items-center,
#subheader .col-lg-8,
#subheader .subtitle.s2,
/* Only background properties moved from here */
#subheader .col-lg-4.text-lg-end,
#subheader .fs-20.fw-600.no-bottom.sm-hide,
#subheader .de-overlay {
  background-size: cover;
  background-repeat: no-repeat;
}

/* Styles for Jarallax container.
   Moving these from inline is generally okay for initial setup,
   but be aware Jarallax might modify them. */
#jarallax-container-0 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -100;
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 100%);
  background-size: cover;
  /* This was also part of its inline style */
  background-repeat: no-repeat;
  /* This was also part of its inline style */
}

/* Styles for Jarallax image.
   Most of these are controlled by Jarallax.
   The 'transform' property MUST remain inline as it's dynamically updated by Jarallax.
   Other properties here are for setup. */
#subheader img.jarallax-img {
  object-fit: cover;
  object-position: 50% 50%;
  max-width: none;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  /* The 'transform' property itself is left inline in the PHP file */
}

/*# sourceMappingURL=custom.css.map */

/* Control Tower Page Styles */
.control-tower-page #subheader {
  z-index: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.control-tower-page #subheader .container,
.control-tower-page #subheader .row.align-items-center,
.control-tower-page #subheader .col-lg-8,
.control-tower-page #subheader .col-lg-4.text-lg-end,
.control-tower-page #subheader .subtitle.s2,
.control-tower-page #subheader .fs-20.fw-600.no-bottom.sm-hide,
.control-tower-page #subheader .de-overlay {
  background-size: cover;
  background-repeat: no-repeat;
}

.control-tower-page #subheader .subtitle.s2 {
  visibility: visible;
  animation-name: fadeInUp;
}

.control-tower-page #jarallax-container-0 {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -100;
  clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 100%);
  background-size: cover;
  background-repeat: no-repeat;
}

.control-tower-page #jarallax-container-0 img.jarallax-img {
  object-fit: cover;
  object-position: 50% 50%;
  max-width: none;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 1915px;
  height: 650.898px;
  overflow: hidden;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
  margin-top: 133.051px;
}

.control-tower-page .hero-section h2 {
  line-height: 1.4;
}

.control-tower-page .bloglist,
.control-tower-page .post-content,
.control-tower-page .post-image,
.control-tower-page .d-tagline,
.control-tower-page .post-text {
  background-size: cover;
  background-repeat: no-repeat;
}

.control-tower-page .benefits-section {
  background: #f8fafc;
}

.control-tower-page .benefits-section .row,
.control-tower-page .benefits-section .col-lg-4,
.control-tower-page .benefits-section .col-md-6,
.control-tower-page .benefits-section>div,
.control-tower-page .benefits-section .pl-80 {
  background-size: cover;
  background-repeat: no-repeat;
}

.control-tower-page .benefits-section .fadeInUp[data-wow-delay=".0s"] {
  visibility: visible;
  animation-delay: 0s;
  animation-name: fadeInUp;
}

.control-tower-page .benefits-section .fadeInUp[data-wow-delay=".2s"] {
  visibility: visible;
  animation-delay: 0.2s;
  animation-name: fadeInUp;
}

.control-tower-page .benefits-section .fadeInUp[data-wow-delay=".4s"] {
  visibility: visible;
  animation-delay: 0.4s;
  animation-name: fadeInUp;
}

.control-tower-page .benefits-section .fadeInUp[data-wow-delay=".6s"] {
  visibility: visible;
  animation-delay: 0.6s;
  animation-name: fadeInUp;
}

.control-tower-page .benefits-section .fadeInUp[data-wow-delay=".8s"] {
  visibility: visible;
  animation-delay: 0.8s;
  animation-name: fadeInUp;
}

.control-tower-page .cta-section,
.control-tower-page .cta-section .container,
.control-tower-page .cta-section .row,
.control-tower-page .cta-section .col-lg-9,
.control-tower-page .cta-section .col-lg-3 {
  background-size: cover;
  background-repeat: no-repeat;
}

/* Pagination Styles */
.pagination-container {
  margin: 40px 0;
}

.pagination-container ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination-container li {
  margin: 0;
}

.pagination-container a,
.pagination-container span {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  border-right: 1px solid #eee;
}

.pagination-container li:last-child a,
.pagination-container li:last-child span {
  border-right: none;
}

.pagination-container a:hover {
  background-color: #f5f5f5;
  color: var(--primary-color);
}

.pagination-container .current {
  background-color: var(--primary-color);
  color: #fff;
}

.pagination-container .current:hover {
  background-color: darken(var(--primary-color), 5%);
}

.pagination-container .dots {
  padding: 10px 5px;
  color: #999;
}

.pagination-container .prev,
.pagination-container .next {
  font-weight: 600;
}

.pagination-container .prev:hover,
.pagination-container .next:hover {
  background-color: #f5f5f5;
}

/* Responsive adjustments for pagination */
@media (max-width: 768px) {
  .pagination-container ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-container li {
    margin: 2px;
  }

  .pagination-container a,
  .pagination-container span {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Post Navigation Styles */
.post-navigation {
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 0 0 48%;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation a {
  display: block;
  padding: 12px 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.post-navigation a:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.post-navigation .nav-title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}

.post-navigation .meta-nav {
  display: block;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

.post-navigation .nav-next .meta-nav {
  text-align: right;
}

/* Responsive adjustments for post navigation */
@media (max-width: 768px) {
  .post-navigation .nav-links {
    flex-direction: column;
    gap: 20px;
  }

  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    flex: 1;
    text-align: left;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .post-navigation .nav-next .meta-nav {
    text-align: left;
  }

  /* Alpine.js Tab Styles */
  .tab-navigation {
    margin-bottom: 1rem;
  }

  .tab-navigation button {
    position: relative;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
  }

  .tab-navigation button:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
  }

  .tab-navigation button.active {
    background-color: var(--primary-color, #007bff);
    border-color: var(--primary-color, #007bff);
    color: white;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.25);
  }

  .tab-navigation button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color, #007bff);
  }

  .tab-content-wrapper {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    min-height: 200px;
  }
}

/* Responsive adjustments for tabs */
@media (max-width: 768px) {
  .tab-navigation button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .tab-content-wrapper {
    padding: 1rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1400px) {

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 7rem;
  }
}


#subheader {
  padding: 26.25rem 0 6.25rem 0;
}

.crumb * {
  color: rgba(255, 255, 255, 1.0) !important;
}

.bloglist {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  height: 100%;

  * {
    color: white !important;
  }
}

.benefit-item {
  background: linear-gradient(80deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;

  * {
    color: white !important;
  }

  p {
    margin-bottom: 0;
  }
}

#contact_form textarea {
  height: 146px !important;
}

@media screen and (max-width: 1024px) {
  .menu-column {
    height: calc(100vh - var(--header-height));
    position: fixed;
    top: var(--header-height);
    width: 100%;
    left: 0;
    justify-content: flex-start !important;
    padding: 1rem;
    align-items: flex-start !important;
    overflow-y: scroll;
    display: block;
  }


  .active.mega-menu-nav,
  .menu-column {
    background: #f8f9fa;
    width: 100%;

  }

  .menu-column {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-column.active {
    opacity: 1;
    visibility: visible;
  }


  .mega-menu-image {
    display: none;
  }



  .mega-menu-column ul li a {
    padding: 2px 0;
    font-size: .9rem;
  }


  .mega-menu-item {
    padding: 8px 0;
    font-size: 1rem;
  }


  .mega-menu-column h4 {
    font-size: 0.9rem;
    padding: 0 0rem .6rem;
  }

  .mega-menu-column h4 {
    font-size: .9rem;
    margin: 0 0 5px 0;
    padding-bottom: 0px;
    border-bottom: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mega-menu-content {
    padding-top: 0 !important;
  }

  .mega-menu-dropdown.active .mega-menu-item:after {
    content: "▲";
    color: var(--mega-menu-text-hover-color);
  }

  #subheader {
    padding: 13.25rem 0 3rem 0;
  }

  .mega-menu-panel {
    display: none;
  }

  .menu-column.active .mega-menu-panel.open {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Login Menu Styles */
  .mobile-login-menu {
    display: block !important; /* Show only on mobile */
  }

  /* Hide desktop login dropdown on mobile */
  .menu_side_area .login-dropdown {
    display: none !important;
  }

  .mobile-login-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-login-item {
    text-align: center;
  }

  .mobile-login-link {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none !important;
  }

  .mobile-login-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding-left: 15px !important; /* Override the default hover padding */
  }

  .mobile-login-img {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
  }

  h1,
  h1.ultra-big,
  h1.ultra-big .text-line,
  h1.ultra-big-2,
  .title-text,
  .de_count h3 span,
  h1.slider-title,
  h2.slider-title {
    font-size: 2.5rem !important;
  }

  .page-id-58 .tab-content-wrapper .section-padding {
    padding: 0rem !important;
  }

  .container .container {
    padding: 0 !important;
  }
}

.our-success-story.section-padding {
  padding-bottom: 0rem !important;
}

@media screen and (max-width: 1280px) {
  .container .container {
    padding: 0 !important;
  }
}

a.btn-main,
a.btn-main:active,
a.btn-main:focus,
a.btn-main:visited,
.btn-main,
input[type=button].btn-main,
a.btn-line,
#mainmenu li ul.mega a.btn-main {
  padding: 10px 25px;
}

/* ===================================
   RSS FEED MODERN STYLING
   =================================== */

.rss-feeds-container {
  margin: 2rem 0 0; 
}

.rss-feed-wrapper {
  margin-bottom: 3rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.rss-feed-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.rss-feed-header {
  padding: 1.5rem 2rem;
  background: #83497f;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rss-feed-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.rss-feed-description {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rss-feed-error,
.rss-feed-empty {
  padding: 2rem;
  text-align: center;
  color: #666;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Grid Layout */
.rss-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* List Layout */
.rss-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.rss-feed-list .rss-feed-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.rss-feed-list .rss-item-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
}

.rss-feed-list .rss-item-content {
  flex: 1;
}

/* Feed Item */
.rss-feed-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rss-feed-grid .rss-feed-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border-color: #83497f;
}

.rss-feed-list .rss-feed-item:hover {
  background: #f8f9fa;
  border-color: #83497f;
}

.rss-item-image {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.rss-feed-grid .rss-item-image {
  height: 200px;
}

.rss-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rss-item-image:hover img {
  transform: scale(1.05);
}

.rss-item-image a {
  display: block;
  height: 100%;
}

.rss-item-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rss-item-title {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

.rss-item-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rss-item-title a:hover {
  color: #83497f;
}

.rss-item-excerpt {
  margin: 0 0 1rem 0;
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

.rss-item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}

.rss-item-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rss-item-meta i {
  font-size: 0.8rem;
  color: #83497f;
}

.rss-item-date,
.rss-item-author {
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rss-feed-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .rss-feed-list {
    padding: 1rem;
  }

  .rss-feed-list .rss-feed-item {
    flex-direction: column;
  }

  .rss-feed-list .rss-item-image {
    width: 100%;
    height: 150px;
  }

  .rss-feed-header {
    padding: 1rem;
  }

  .rss-feed-title {
    font-size: 1.25rem;
  }

  .rss-item-content {
    padding: 1rem;
  }

  .rss-item-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}



/* Loading States */
.rss-feed-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.rss-feed-item.loading .rss-item-image {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* ===================================
   RSS FEED TABBED LAYOUT
   =================================== */

.rss-feeds-tabbed {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.rss-tabs-nav {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.rss-tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.rss-tabs-nav::-webkit-scrollbar-track {
  background: transparent;
}

.rss-tabs-nav::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.rss-tab-btn {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  text-align: center;
}

.rss-tab-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.rss-tab-btn.active {
  background: var(--primary-color, #667eea);
  color: white;
  /* border-bottom-color: #667eea; */
  font-weight: 600;
}

.rss-tab-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  border-radius: 0 0 2px 2px;
}

.rss-tabs-content {
  position: relative;
  min-height: 400px;
}

.rss-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.rss-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tabbed layout specific adjustments */
.rss-feeds-tabbed .rss-feed-wrapper {
  margin-bottom: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.rss-feeds-tabbed .rss-feed-wrapper:hover {
  transform: none;
  box-shadow: none;
}

.rss-feeds-tabbed .rss-feed-header {
  display: none;
  /* Header is replaced by tabs */
}

.rss-feeds-tabbed .rss-feed-meta {
  padding: 1rem 2rem 0;
  background: transparent;
  color: inherit;
  border: none;
}

.rss-feeds-tabbed .rss-feed-meta .rss-feed-description {
  margin: 0;
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
  font-style: italic;
}

.rss-feeds-tabbed .rss-feed-items {
  padding: 2rem;
}

/* Empty state for tabs */
.rss-feeds-tabbed .rss-feed-error,
.rss-feeds-tabbed .rss-feed-empty {
  margin: 2rem;
  padding: 3rem 2rem;
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #dee2e6;
}

.rss-feeds-tabbed .rss-feed-error i,
.rss-feeds-tabbed .rss-feed-empty i {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Loading state for tabs */
.rss-tabs-nav .rss-tab-btn.loading {
  position: relative;
  color: #ccc;
  pointer-events: none;
}

.rss-tabs-nav .rss-tab-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;

  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ===================================
   RSS FEED COMBINED LAYOUT
   =================================== */

.rss-feeds-combined {
  overflow: hidden;
}

.rss-feeds-combined .rss-feed-items {
  padding: 2rem;
}

/* Source attribution styling */
.rss-item-source {
  color: var(--primary-color) !important;
  font-weight: 500;
  font-size: 0.85rem;
}

.rss-item-source i {
  color: #667eea;
  margin-right: 4px;
}

/* Enhanced meta section for combined feeds */
.rss-feeds-combined .rss-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f4;
}

.rss-feeds-combined .rss-item-meta span {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #6c757d;
}

.rss-feeds-combined .rss-item-meta span i {
  margin-right: 4px;
  font-size: 0.8rem;
}

/* Responsive adjustments for combined layout */
@media (max-width: 768px) {
  .rss-feeds-combined .rss-feed-items {
    padding: 1rem;
  }
  
  .rss-feeds-combined .rss-item-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Responsive tabs */
@media (max-width: 768px) {
  .rss-tab-btn {
    min-width: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .rss-feeds-tabbed .rss-feed-items {
    padding: 1rem;
  }

  .rss-feeds-tabbed .rss-feed-meta {
    padding: 0.75rem 1rem 0;
  }

  .rss-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media screen and (min-width: 901px) {

  #testimonial-carousel .owl-stage {
    margin: 0 auto;
  }
}

.de_testi.s2 blockquote{
  padding: 40px;
}

body .header-block.header-block.header-block.header-block *{
  text-align: center !important;

}

.mobile-login-img{
  max-width: 120px;
}