
  .iaf-hero-slide { 
    height: 100vh;
    position: relative; 
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
  }
   
  .iaf-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg, rgba(10,41,70,.65) 0%, rgba(9,41,71,.45) 100%); 
    pointer-events: none; 
    z-index: 1; 
    opacity: 0.6;
  }
  
  .iaf-slide-content { 
    position: relative; 
    z-index: 2; 
  }
  
  /* Progress bar z-index düzeltmesi */
  .carousel-progress {
    z-index: 20;
  }

  /* Carousel container - full width without viewport hacks */
  #iafHeroCarousel {
    position: relative;
    width: 100%;
    margin-left: 0;
  }

  /* Full height card styles - Absolute positioning */
  .slide-card-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 100vh;
    z-index: 5;
     box-shadow: -20px 0 50px rgba(0,0,0,0.4);
  }
  
  .card-right-content {
    background: transparent;
    border: none;
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card-image-section {
    height: 50vh;
    width: 100%;
    flex-shrink: 0;
  }
  
  .card-content-section {
    height: 50vh;
    width: 100%;
    background: rgba(3, 32, 59, 0.95);
    backdrop-filter: blur(15px);
    flex-shrink: 0;
  }

  /* Sol taraftaki içerik alanını daralt */
  .carousel-item .col-lg-8 {
    width: calc(100% - 400px);
    max-width: calc(100% - 400px);
  }
  
  .carousel-item .col-xl-7 {
    width: calc(100% - 450px);
    max-width: calc(100% - 450px);
  }

  /* Card image ve content tam 50-50 düzeltmesi */
  .card-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .card-content-section .p-4 {
    height: 100%;
    padding: 2rem !important;
  }  /* Custom Navigation Buttons - Card'ın üstünde */
  .carousel-control-prev,
  .carousel-control-next {
    width: auto;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 20;
    background: none;
    border: none;
  }
  
  .carousel-control-prev {
    left: 30px;
  }
  
  .carousel-control-next {
    right: 30px; /* Card genişliği + margin */
    position: absolute;
  }
  
  .carousel-nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(10,41,70,0.8);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  }
  
  .carousel-nav-btn i {
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
  }
  
  .carousel-nav-btn:hover {
    background: rgba(10,41,70,1);
    border-color: rgba(255,255,255,0.8);
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(40,167,69,0.4);
  }
  
  .carousel-nav-btn:hover i {
    transform: scale(1.2);
  }

  /* Hide default carousel indicators */
  .carousel-indicators {
    display: none;
  }

  /* Slide-in animations from right */
  @keyframes slideInFromRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInFromLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInFromRightFar {
    from {
      opacity: 0;
      transform: translateX(100px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes pushFromRight {
    from {
      opacity: 0;
      transform: translateX(80px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateX(0) scale(1);
    }
  }

  /* Mobil card animasyonları */
  @keyframes mobileSlideInLeft {
    from {
      opacity: 0;
      transform: translateX(-60px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes mobileSlideInRight {
    from {
      opacity: 0;
      transform: translateX(60px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Mobil optimizasyonları - geliştirilmiş */
  @media (max-width: 768px) {
    .iaf-hero-slide { 
      height: 100vh;
      min-height: 600px; 
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
         margin-top: 80px;
    }
    
    /* Mobil overlay sadece üst kısım için */
    .iaf-overlay { 
      background: linear-gradient(135deg, rgba(10,41,70,.8) 0%, rgba(9,41,71,.6) 100%); 
      height: 20vh;
      bottom: auto;
      top: 0;
    }
    
    .iaf-slide-content {
      padding-top: 0 !important;
      position: relative;
      z-index: 3;
    }
    
    .iaf-slide-content .row {
      padding-top: 0 !important;
    }
    
    /* Mobil card artık normal görünür */
    .mobile-card-horizontal {
      display: none !important; /* Eski mobil card sistem gizli */
    }
  }

  @media (max-width: 576px) {
    .iaf-hero-slide { 
      min-height: 100vh;
      padding: 80px 0 60px 0;
    }
    
    .iaf-hero-slide h1 { 
      font-size: 2rem !important;
      margin-bottom: 1rem !important; 
    }
    
    .iaf-hero-slide .lead { 
      font-size: 1.1rem !important;
      margin-bottom: 1.5rem !important; 
    }
    
    .iaf-hero-slide .btn-lg { 
      padding: 14px 28px !important; 
      font-size: 1rem !important;
    }
    
    .carousel-indicators {
      bottom: 20px !important;
    }
    
    .carousel-indicators [data-bs-target] {
      width: 10px !important;
      height: 10px !important;
      margin: 0 4px !important;
    }
    
    .mobile-card-horizontal {
      margin-top: 1.5rem !important;
    }
    
    .mobile-card-horizontal .card-body {
      padding: 1rem !important;
    }
    
    .mobile-card-horizontal img {
      height: 80px !important;
    }
  }

  /* Carousel indicators mobil iyileştirme */
  .carousel-indicators {
    bottom: 25px;
    padding: 0 20px;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  
  .carousel-indicators [data-bs-target].active {
    background-color: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 5px rgba(40,167,69,0.6);
  }
  
  .carousel-indicators [data-bs-target]:hover {
    background-color: rgba(255,255,255,0.7);
    transform: scale(1.1);
  }
  
  /* Mobil indicators */
  @media (max-width: 768px) {
    .carousel-indicators {
      bottom: 30px;
    }
    
    .carousel-indicators [data-bs-target] {
      width: 14px;
      height: 14px;
      margin: 0 8px;
    }
    
    .carousel-indicators [data-bs-target].active {
      transform: scale(1.4);
    }
  }

  /* Slide kartları için iyileştirmeler */
  .carousel-item .card {
    backdrop-filter: blur(10px);
    border: 10px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
  }
  
  .carousel-item .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }

  /* Buton animasyonları */
  .pulse-btn {
    animation: pulse-glow 2s infinite;
  }
  
  @keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(40,167,69,0.4); }
    50% { box-shadow: 0 0 20px rgba(40,167,69,0.8), 0 0 30px rgba(40,167,69,0.4); }
    100% { box-shadow: 0 0 5px rgba(40,167,69,0.4); }
  }

  /* Slide içerik animasyonları - blink sorunu tamamen çözüldü */
  .slide-title, .slide-text, .slide-btn, .slide-card {
    opacity: 0;
    animation-fill-mode: forwards;
    will-change: auto;
  }
  
  /* Animasyonları sadece aktif slide'da çalıştır - sağdan sola */
  .carousel-item.active .slide-title {
    animation: slideInFromRight 0.8s ease-out 0.1s forwards;
  }
  
  .carousel-item.active .slide-text {
    animation: slideInFromRight 0.8s ease-out 0.3s forwards;
  }
  
  .carousel-item.active .slide-btn {
    animation: slideInFromRight 0.8s ease-out 0.5s forwards;
  }
  
  .carousel-item.active .slide-card {
    animation: pushFromRight 1s ease-out 0.2s forwards;
  }
  
  /* Geçiş sırasında animasyonları tamamen kapat */
  .carousel-inner .carousel-item:not(.active) .slide-title,
  .carousel-inner .carousel-item:not(.active) .slide-text,
  .carousel-inner .carousel-item:not(.active) .slide-btn,
  .carousel-inner .carousel-item:not(.active) .slide-card {
    animation: none !important;
    opacity: 0 !important;
    transition: none !important;
  }

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

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Paralaks efekti için slide background */
  .parallax-slide {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }
  
  @media (max-width: 768px) {
    .parallax-slide {
      background-attachment: scroll;
    }
  }

  /* Progress bar geliştirilmiş */
  .carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background: rgba(255,255,255,0.2);
    z-index: 10;
    width: 100%;
    backdrop-filter: blur(10px);
  }
  
  .carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(40,167,69,0.5);
  }
  
  /* Progress bar geliştirilmiş */
  .carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background: rgba(255,255,255,0.2);
    z-index: 12;
    width: 100%;
    backdrop-filter: blur(10px);
  }
  
  .carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(40,167,69,0.5);
  }
  
  /* Mobil için progress bar */
  @media (max-width: 768px) {
    .carousel-progress {
      height: 4px;
      z-index: 15; /* Mobilde card üstünde */
    }
  }

  /* Mobil card iyileştirmeleri - ekstra stil */
  @media (max-width: 991.98px) {
    .mobile-card-horizontal {
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      border: 2px solid rgba(255,255,255,0.8);
    }
    
    .mobile-card-horizontal:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 15px 40px rgba(0,0,0,0.2) !important;
      border-color: rgba(255,255,255,1);
    }
    
    .mobile-card-horizontal .card-body {
      background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    }
    
    .mobile-card-horizontal .card-title {
      color: #0A2946 !important;
      text-shadow: none;
    }
    
    .mobile-card-horizontal .card-text {
      color: #4a627a !important;
    }
    
    .mobile-card-horizontal .btn {
      border-radius: 25px !important;
      font-weight: 700 !important;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
    }
    
    .mobile-card-horizontal .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
  }

  /* Mobil responsive navigation */
  @media (max-width: 768px) {
    /* Carousel normal boyut mobilde */
    #iafHeroCarousel {
      width: 100%;
      margin-left: 0;
    }
    
    .iaf-hero-slide {
      height: 100vh;
      display: flex;
      flex-direction: column;
      padding: 0;
      margin-top:0;
    }
    
    /* Mobil membership alanı - navigation altında */
    .mobile-membership-bar {
      position: absolute !important;
      top: 100px !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: 50px !important;
      background: rgba(10,41,70,0.95) !important;
      backdrop-filter: blur(15px) !important;
      z-index: 15 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 20px 0 20px !important;
      border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .mobile-membership-bar .membership-text {
      color: #fff !important;
      font-size: 1rem !important;
      font-weight: 600 !important;
      margin: 0 !important;
    }
    
    .mobile-membership-bar .membership-buttons {
      display: flex !important;
      gap: 10px !important;
    }
    
    .mobile-membership-bar .btn-join {
      background: #28a745 !important;
      color: #fff !important;
      border: 1px solid #28a745 !important;
      padding: 6px 12px !important;
      font-size: 0.85rem !important;
      font-weight: 600 !important;
      border-radius: 8px !important;
      text-decoration: none !important;
      transition: all 0.3s ease !important;
    }
    
    .mobile-membership-bar .btn-learn {
      background: transparent !important;
      color: #fff !important;
      border: 1px solid rgba(255,255,255,0.6) !important;
      padding: 6px 12px !important;
      font-size: 0.85rem !important;
      font-weight: 600 !important;
      border-radius: 8px !important;
      text-decoration: none !important;
      transition: all 0.3s ease !important;
    }
    
    .mobile-membership-bar .btn-join:hover {
      background: #20c997 !important;
      border-color: #20c997 !important;
      transform: translateY(-1px) !important;
    }
    
    .mobile-membership-bar .btn-learn:hover {
      background: rgba(255,255,255,0.1) !important;
      border-color: #fff !important;
      transform: translateY(-1px) !important;
    }
    
    /* Sol taraftaki içeriği tamamen gizle mobilde */
    .iaf-slide-content {
      display: none !important;
    }
    
    /* Container'ları da gizle */
    .iaf-slide-content .container,
    .iaf-slide-content .row {
      display: none !important;
    }
    
    /* Sol taraftaki tüm içerikleri gizle */
    .carousel-item .col-lg-8,
    .carousel-item .col-xl-7 {
      display: none !important;
    }
    
    .iaf-hero-slide h1,
    .iaf-hero-slide .lead,
    .iaf-hero-slide .btn-lg {
      display: none !important;
    }
    
    /* Sağ card mobilde full height - membership bar altından başlar */
    .slide-card-right {
      display: block !important; /* Override d-lg-none */
      position: absolute !important;
      bottom: 0 !important;
      right: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: calc(100vh - 100px) !important; /* Full height - navigation - membership */
      z-index: 5;
          
    }
    
    /* Desktop card'ları mobilde gizle */
    .slide-card-right.d-lg-block {
      display: block !important;
    }
    
    /* Mobil card %40 resim %60 içerik */
    .slide-card-right .card-image-section {
      height: 55% !important;
      width: 100%;
      opacity: 0;
      animation-fill-mode: forwards;
    }
    
    .slide-card-right .card-content-section {
      height: 45% !important;
      width: 100%;
      background: rgba(3, 32, 59, 0.95) !important;
      backdrop-filter: blur(15px);
      opacity: 0;
      animation-fill-mode: forwards;
      padding-bottom: 40px;
      padding-top: 20px;
    }
    
    /* Aktif slide'da mobil animasyonları */
    .carousel-item.active .slide-card-right .card-image-section {
      animation: mobileSlideInLeft 0.8s ease-out 0.2s forwards;
    }
    
    .carousel-item.active .slide-card-right .card-content-section {
      animation: mobileSlideInRight 0.8s ease-out 0.5s forwards;
    }
    
    .slide-card-right .card-content-section .p-4 {
      padding: 1.5rem !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
    }
    
    /* Card içindeki butonları görünür yap */
    .slide-card-right .card-content-section .btn {
      display: inline-block !important;
      visibility: visible !important;
      z-index: 10;
      background: #fff !important;
      color: #0A2946 !important;
      border: 2px solid #fff !important;
      padding: 4px 8px !important;
      font-weight: 600 !important;
      text-decoration: none !important;
      border-radius: 10px !important;
      transition: all 0.3s ease !important;
      margin-top: 1rem !important;
      opacity: 1 !important;
    }
    
    .slide-card-right .card-content-section .btn:hover {
      background: transparent !important;
      color: #fff !important;
      border-color: #fff !important;
      transform: translateY(-2px) !important;
    }
    
    /* Card başlık ve text stillerini düzelt */
    .slide-card-right .card-content-section h5 {
      color: #fff !important;
      margin-bottom: 1rem !important;
      font-size: 1.25rem !important;
      font-weight: 600 !important;
      opacity: 1 !important;
    }
    
    .slide-card-right .card-content-section p {
      color: rgba(255,255,255,0.9) !important;
      margin-bottom: 1.5rem !important;
      line-height: 1.5 !important;
      opacity: 1 !important;
    }
    
    /* Eski mobil card'ları gizle */
    .mobile-card-horizontal {
      display: none !important;
    }
    
    /* Navigation mobilde card üstünde */
    .carousel-control-prev {
      left: 15px;
      z-index: 25;
      top: 50%;
    }
    
    .carousel-control-next {
      right: 15px;
      z-index: 25;
      top: 50%;
    }
    
    .carousel-nav-btn {
      width: 40px;
      height: 40px;
      background: rgba(10,41,70,0.9);
    }
    
    .carousel-nav-btn i {
      font-size: 18px;
    }
    
    /* Overlay mobilde gizli çünkü içerik yok */
    .iaf-overlay {
      display: none !important;
    }
    
    /* Mobilde animasyonları düzelt */
    .slide-card-right .slide-card {
      opacity: 1 !important;
      animation: none !important;
    }
    
    /* Card içindeki elementlerin animasyonları */
    .slide-card-right .card-content-section h5 {
      animation-fill-mode: forwards;
    }
    
    .slide-card-right .card-content-section p {
      animation-fill-mode: forwards;
    }
    
    .slide-card-right .card-content-section .btn {
      animation-fill-mode: forwards;
    }
    
    /* Aktif slide'da içerik animasyonları */
    .carousel-item.active .slide-card-right .card-content-section h5 {
      animation: slideInFromRight 0.6s ease-out 0.8s forwards;
    }
    
    .carousel-item.active .slide-card-right .card-content-section p {
      animation: slideInFromRight 0.6s ease-out 1s forwards;
    }
    
    .carousel-item.active .slide-card-right .card-content-section .btn {
      animation: slideInFromRight 0.6s ease-out 1.2s forwards;
    }
    
    /* Aktif olmayan slide'larda animasyonları sıfırla */
    .carousel-inner .carousel-item:not(.active) .slide-card-right .card-image-section,
    .carousel-inner .carousel-item:not(.active) .slide-card-right .card-content-section,
    .carousel-inner .carousel-item:not(.active) .slide-card-right h5,
    .carousel-inner .carousel-item:not(.active) .slide-card-right p,
    .carousel-inner .carousel-item:not(.active) .slide-card-right .btn {
      animation: none !important;
      opacity: 0 !important;
      transition: none !important;
    }
  }

  /* Desktop card hover efektleri - %50-%50 düzeltmeli */
  @media (min-width: 992px) {
    .slide-card-right:hover .card-right-content {
      transform: translateX(-10px);
      box-shadow: -20px 0 50px rgba(0,0,0,0.4);
      transform: scale(1.05);
    }
    
    .slide-card-right .card-image-section img {
      transition: all 0.6s ease;
      height: 50vh;
      width: 100%;
      object-fit: cover;
    }
    
    .slide-card-right:hover .card-image-section img {
      transform: scale(1.00);
    }
    
    .card-right-content {
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* İçerik alanının tam ortada olması için */
    .card-content-section {
      display: flex;
      align-items: center;
    }
    
    .card-content-section .p-4 {
      width: 100%;
    }
  }