/* Tabbed Slider Styles */
.tabbed-slider-section {
    position: relative;
    overflow: hidden;
  }
  
  /* Tab Navigation */
  .tabbed-slider-nav {
    position: relative;
    z-index: 10;
  }
  .tab-images{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .tab-buttons {
    display: inline-flex;
    border-radius: 8px;
    margin-top: 50px !important;
    border: 1px solid white;
    justify-content: center;
    flex-wrap: wrap;
  }
  .tab-description{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;         /* 20px = 20 / 16 = 1.25rem */
    line-height: 1.2;           /* 120% of font-size */
    letter-spacing: 0;

  }
  .content-image{
    flex: 1;
    width: 50%;
    height: 500px;
  }
  .tab-button,.tab-button:hover {
    background: white;
    color: #1e3a8a !important;
    border: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .tab-button.active {
    border:none !important;

    background: var(--tab-active-bg);
    color:white!important;
    border-color: var(--tab-active-bg);
  }
.tab-buttons,
.tab-button.active,
.container.tab {
  background-size: cover;
  transition: background-image 0.5s ease;
}

/* Tab Content */
  .tabbed-slider-content {
    position: relative;
    min-height: 500px;
  }
  
  .tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
  }
  
  .tab-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
  
  /* Background Media */
  .tab-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .tab-background img,
  .tab-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .tab-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(30, 64, 175, 0.8); */
    z-index: 2;
  }
  
  /* Tab Inner Content */
  .tab-inner.media {
    position: relative;
    z-index: 3;
    color: white;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center

  }
   .tab-inner {
    position: relative;
    z-index: 3;
    color: white;
    width: 100%;
  }

  .tab-text {
    text-align: left;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .tab-cta-buttons{
    display: flex;
    gap: 20px;}
.content-media{
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  height: 300px;
  max-height: 300px;
  border-radius: 10px;
}
  .tab-button-cta{
    background: white;
    padding: 15px;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    color: black;
  }
  .tab-button-cta:last-child{
   background: transparent !important;
    color: white !important;

  }
  .tab-title {

    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.5625rem;       /* 25px / 16 = 1.5625rem */
    line-height: 1.2;           /* 120% of font-size */
    letter-spacing: 0;          /* 0% */

  }
  
  .tab-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* Statistics */
  .tab-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fbbf24;
  }
  
  .stat-label {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 120px;
  }
  
  /* Certifications */
  .tab-certifications {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cert-item img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .cert-item img:hover {
    opacity: 1;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .tab-title {
      font-size: 36px;
    }
  
    .tab-stats {
      gap: 40px;
    }
  
    .stat-number {
      font-size: 28px;
    }
  }
  
  @media (max-width: 768px) {
    .tab-button {
      padding: 10px 20px;
      font-size: 14px;
    }
  
    .tab-content {
      padding: 40px 0;
      min-height: 400px;
    }
  
    .tab-title {
      font-size: 28px;
      margin-bottom: 15px;
    }
  
    .tab-subtitle {
      font-size: 16px;
    }
  
    .tab-stats {
      gap: 30px;
      margin-bottom: 30px;
    }
  
    .stat-number {
      font-size: 24px;
    }
  
    .stat-label {
      font-size: 12px;
    }
  
    .tab-certifications {
      gap: 15px;
      padding: 15px;
    }
  
    .cert-item img {
      height: 40px;
    }
  }
  
  @media (max-width: 480px) {
    .tab-buttons {
      gap: 5px;
    }
  
    .tab-button {
      padding: 8px 16px;
      font-size: 13px;
    }
  
    .tab-title {
      font-size: 24px;
    }
  
    .tab-stats {
      gap: 20px;
    }
  
    .stat-number {
      font-size: 20px;
    }
  
    .tab-certifications {
      gap: 10px;
      padding: 12px;
    }
  }
  
  /* Animation Effects */
  .tab-content.fade-in {
    animation: fadeInUp 0.6s ease forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .stat-item {
    animation: slideInUp 0.6s ease forwards;
  }
  
  .stat-item:nth-child(2) {
    animation-delay: 0.1s;
  }
  
  .stat-item:nth-child(3) {
    animation-delay: 0.2s;
  }
  
  .stat-item:nth-child(4) {
    animation-delay: 0.3s;
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Loading State */
  .tabbed-slider-section.loading {
    opacity: 0.7;
    pointer-events: none;
  }
  
  .tabbed-slider-section.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 100;
  }
  
  @keyframes spin {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }
  