.logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-switcher a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.3s;
}

.language-switcher a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.language-switcher .lang-item-first a,
.language-switcher li.current-lang a {
  font-weight: 600;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}

.language-switcher img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* Mobile Language Switcher */
.language-switcher-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.language-switcher-mobile li {
  flex: 1;
}

.language-switcher-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.language-switcher-mobile a:hover,
.language-switcher-mobile li.current-lang a {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
}

.language-switcher-mobile img {
  width: 24px;
  height: 18px;
  border-radius: 2px;
}

/* Navbar Dropdown & Language Switcher Styling */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px;
  list-style: none;
  z-index: 1000;
  border: 1px solid var(--border-color);
  /* Removed margin-top to fix hover gap issue */
}

/* Invisible bridge to prevent menu from closing when moving mouse */
.navbar-nav .sub-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

/* Show dropdown on hover */
.navbar-nav .nav-item:hover .sub-menu,
.navbar-nav .nav-item:focus-within .sub-menu {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.navbar-nav .sub-menu li {
  display: block;
  margin: 0;
}

.navbar-nav .sub-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  color: var(--text-primary) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar-nav .sub-menu a:hover {
  background: var(--bg-gray);
  color: var(--primary-purple) !important;
}

/* Style the flags specifically in navbar */
.navbar-nav img {
  width: 20px; /* Smaller flag size */
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-col li a {
  color: unset !important;
}

/* ========================================
   MY ACCOUNT PAGE - MODERN DESIGN
   ======================================== */

.account-page-container {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  min-height: calc(100vh - 200px);
}

.account-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
}

/* ========================================
   SIDEBAR - PREMIUM DESIGN
   ======================================== */

.account-sidebar {
  position: sticky;
  top: 140px;
  height: fit-content;
}

.account-user-info {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.account-user-info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.account-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.account-avatar-wrapper:hover {
  transform: scale(1.05);
}

.account-avatar-img {
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
}

.avatar-upload-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #ffffff;
}

.account-avatar-wrapper:hover .avatar-upload-overlay {
  opacity: 1;
}

.avatar-upload-overlay svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
}

.avatar-upload-overlay span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-user-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.account-user-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
  position: relative;
  z-index: 1;
}

.account-menu {
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.account-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-logout-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.account-logout-btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   CONTENT AREA - MODERN CARDS
   ======================================== */

.account-content {
  background: #ffffff;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.account-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f3f4f6;
}

.account-header h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #111827;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.account-header p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
}

/* ========================================
   FORM SECTIONS
   ======================================== */

.form-section {
  margin-bottom: 48px;
  padding: 32px;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.form-section:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.form-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section h2::before {
  content: "";
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  color: #111827;
  font-family: inherit;
}

.form-input:hover {
  border-color: #d1d5db;
}

.form-input:focus {
  border-color: #7c3aed;
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
}

.form-hint {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 8px;
  font-style: italic;
}

.form-actions {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #f3f4f6;
}

.save-btn {
  padding: 16px 40px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.save-btn:active {
  transform: translateY(0);
}

/* ========================================
   ALERTS - MODERN NOTIFICATIONS
   ======================================== */

.account-alert {
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-alert p {
  margin: 0;
}

.alert-error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border-left: 4px solid #dc2626;
}

.alert-success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #166534;
  border-left: 4px solid #16a34a;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .account-wrapper {
    max-width: 900px;
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }

  .account-content {
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .account-page-container {
    padding-top: 120px;
  }

  .account-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .account-sidebar {
    position: relative;
    top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .account-content {
    padding: 32px 24px;
  }

  .account-header h1 {
    font-size: 28px;
  }

  .form-section {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .account-page-container {
    padding: 100px 16px 60px;
  }

  .account-user-info {
    padding: 32px 24px;
  }

  .account-content {
    padding: 24px 20px;
  }

  .save-btn {
    width: 100%;
  }
}
/* Toggle Switch */
.toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 48px;
  height: 24px;
  background-color: #e5e7eb;
  border-radius: 9999px;
  transition: background-color 0.2s;
  margin-right: 12px;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #7c3aed;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(24px);
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

/* Newsletter Toggle */
.toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background-color: #e5e7eb;
  border-radius: 99px;
  transition: background-color 0.2s ease-in-out;
  margin-right: 12px;
  flex-shrink: 0;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #7c3aed;
}

.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.toggle-switch:hover .toggle-slider {
  background-color: #d1d5db;
}

.toggle-switch input:checked:hover .toggle-slider {
  background-color: #6d28d9;
}

/* ========================================
   MOBILE OFFCANVAS MENU - LANGUAGE SWITCHER
   ======================================== */

/* 1. COMPLETELY HIDE the language switcher that appears inside the menu list */
.offcanvas-body .navbar-nav li:has(> a[href*="pll_switcher"]),
.offcanvas-body .navbar-nav li[class*="pll-parent-menu-item"],
.offcanvas-body .navbar-nav li:has(> a[href="#pll_switcher"]) {
  display: none !important;
}

/* 2. STYLE the separate switcher buttons at the bottom */
.language-switcher-mobile {
  display: flex !important; /* Ensure it's shown */
  gap: 10px;
  margin-bottom: 15px;
  list-style: none !important;
  padding: 0 !important;
}

.language-switcher-mobile li {
  flex: 1;
  list-style: none !important;
}

.language-switcher-mobile li a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px !important;
  background: #f1f5f9 !important; /* Default light gray */
  color: #475569 !important;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

/* 3. HIGHLIGHT the selected language in the bottom switcher */
.language-switcher-mobile li.current-lang a,
.language-switcher-mobile li[class*="current-lang"] a,
.language-switcher-mobile li.current-menu-item a {
  background: #7c3aed !important; /* Purple background */
  color: #ffffff !important; /* White text */
  border-color: #7c3aed !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.language-switcher-mobile li a img {
  width: 20px;
  height: auto;
  border-radius: 2px;
  margin: 0 !important;
}

.agenda-stage-card.agenda-green {
  background: linear-gradient(146deg, #10b981, #059669);
}

.agenda-stage-card.agenda-orange {
  background: linear-gradient(146deg, #f97316, #ea580c);
}

/* ========================================
   EVENTS TAB LAYOUT - With Info Card
   ======================================== */

.events-tab-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

/* Left Info Card */
.events-info-card {
  flex: 0 0 340px;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-card-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 16px;
}

.info-card-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin: 0 0 20px 0;
}

.info-card-description {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 28px 0;
}

.info-card-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
}

.info-card-button:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.info-card-button svg {
  transition: transform 0.3s ease;
}

.info-card-button:hover svg {
  transform: translateX(4px);
}

/* Right Slider Area */
.events-slider-area {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.events-tab-layout .slider-wrapper {
  margin: 0;
}

.events-tab-layout .events-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

.events-tab-layout .events-grid::-webkit-scrollbar {
  display: none;
}

.events-tab-layout .events-grid .event-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .events-info-card {
    flex: 0 0 300px;
  }

  .info-card-title {
    font-size: 24px;
  }
}

@media (max-width: 991px) {
  .events-tab-layout {
    flex-direction: column;
  }

  .events-info-card {
    flex: none;
    width: 100%;
  }

  .events-slider-area {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .events-info-card {
    padding: 32px 24px;
  }

  .info-card-title {
    font-size: 22px;
  }

  .info-card-description {
    font-size: 14px;
  }

  .events-tab-layout .events-grid .event-card {
    flex: 0 0 260px;
    min-height: 300px;
  }
}

/* ========================================
   PARTNERS TAB - Category Cards Layout
   (Similar to WEF Centres design)
   ======================================== */

.partners-tab-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  --partners-card-height: auto;
}

.partners-categories-slider {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  scroll-behavior: smooth;
  touch-action: pan-x;
}

.partners-categories-slider::-webkit-scrollbar {
  display: none;
}

.partners-info-card {
  flex: 0 0 290px;
  height: var(--partners-card-height);
  margin-left: 56px;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
}

.partners-info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 14px;
}

.partners-info-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin: 0 0 16px;
}

.partners-info-description {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin: 0 0 24px;
}

.partners-info-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  padding: 12px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
}

.partners-info-button:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.partners-info-button svg {
  transition: transform 0.3s ease;
}

.partners-info-button:hover svg {
  transform: translateX(4px);
}

.partner-category-card {
  flex: 0 0 210px;
  height: var(--partners-card-height);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: block;
}

.partner-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.partner-category-image {
  width: 100%;
  height: 100%;
  background-color: #1e293b;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.partner-category-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.partner-category-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.4) 40%,
    rgba(15, 23, 42, 0.1) 100%
  );
}

/* Fallback gradients (used if image fails to load) */
.partner-category-card:nth-of-type(1) .partner-category-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.partner-category-card:nth-of-type(2) .partner-category-image {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.partner-category-card:nth-of-type(3) .partner-category-image {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.partner-category-card:nth-of-type(4) .partner-category-image {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.partner-category-card:nth-of-type(5) .partner-category-image {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.partner-category-card:nth-of-type(6) .partner-category-image {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.partner-category-card:nth-of-type(7) .partner-category-image {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.partner-category-name {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.partners-slider-nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-right: 4px;
}

.partners-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #334155;
}

.partners-nav-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.partners-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1200px) {
  .partners-tab-container {
    --partners-card-height: 250px;
  }

  .partners-info-card {
    flex: 0 0 270px;
    margin-left: 40px;
    padding: 30px 24px;
    height: 100%;
  }

  .partners-info-title {
    font-size: 21px;
  }

  .partner-category-card {
    flex: 0 0 180px;
    height: auto;
  }
}

@media (max-width: 991px) {
  .partners-tab-container {
    --partners-card-height: 250px;
  }

  .partners-info-card {
    flex: 0 0 345px;
    margin-left: 24px;
    padding: 28px 24px;
  }

  .partner-category-card {
    flex: 0 0 185px;
  }

  .partners-info-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .partners-info-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .partners-info-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .partners-tab-container {
    --partners-card-height: 205px;
  }

  .partners-info-card {
    margin-left: 16px;
    border-radius: 16px;
    height: 100%;
    flex-basis: calc(100vw - 140px);
    padding: 18px 16px;
  }

  .partners-info-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .partners-info-description {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .partners-info-button {
    padding: 8px 14px;
    font-size: 12px;
    gap: 8px;
  }

  .partner-category-card {
    flex: 0 0 min(44vw, 170px);
    border-radius: 14px;
    height: auto;
  }

  .partner-category-name {
    font-size: 12px;
  }

  .partners-slider-nav {
    justify-content: center;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .partners-tab-container {
    --partners-card-height: 185px;
  }

  .partners-categories-slider {
    gap: 12px;
  }




  .partners-nav-btn {
    width: 36px;
    height: 36px;
  }
}
