.hero-banner {
    height: 60vh;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.truncate {
  display: inline-block; /* or block */
  max-width: 100%;       /* set a width or use max-width of parent */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate-2 {
     display: -webkit-box;          /* required */
  -webkit-box-orient: vertical;  /* required */
  overflow: hidden;
  -webkit-line-clamp: 2;         /* Chrome, Safari, Edge */
  line-clamp: 2;   
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating elements */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Main Content */
.main-content {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.carousel-container-video {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* YouTube Player Section */
.youtube-player-section {
    width: 50%;
  
    transform: translateX(50%);
}

.youtube-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.youtube-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.video-controls {
   
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.video-info-panel {
    flex: 1;
}

.current-video-title {

    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   

}

.current-video-description {
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.5;
}

.video-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-btn span {
    font-size: 1.1rem;
}
.page-controls {
    display: flex
;
    justify-content: end;
}
.carousel-container {
    position: relative;
    margin-bottom: 4rem;
}
/* .page-button{
    
    background: rgb(78 205 196);
    border-radius: 16px;
    padding: 20px;
    color: white;
    font-size: 1.2rem;
    display: flex;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
} */
.page-button {
    /* Background: Use a subtle linear gradient for depth and visual interest */
    background: linear-gradient(135deg, #4ecdc4 0%, #36a39b 100%);
    border: none; /* Remove default button border for a cleaner look */
    border-radius: 12px; /* Slightly less rounded than 16px, often feels more modern */
     padding: 14px 28px;; /* Adjusted padding for better visual balance */
    color: white;
    font-size: 1rem; /* Slightly smaller for a tighter, polished feel */
    font-weight: 600; /* Make the text bolder for emphasis */
    letter-spacing: 0.5px; /* A little letter spacing improves readability */
    display: inline-flex; /* Use inline-flex for better default sizing and alignment */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* Smoother transition for all properties */
    position: relative;
    margin-right: 10px; /* Maintain spacing between buttons */
    overflow: hidden; /* Important for any inner hover effects */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Soft shadow for a lifted effect */
    outline: none; /* Remove the outline on focus for a cleaner look */
}

/* Hover effect: Button lifts and shadow deepens */
.page-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #36a39b 0%, #2a8a81 100%); /* Slightly darker gradient on hover */
}

/* Active (click) effect: Button presses down */
.page-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #2a8a81 0%, #36a39b 100%); /* Original color or slightly darker */
}

/* Optional: Add a subtle inner "glow" on focus for accessibility */
.page-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.5), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
   /*  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card {
    min-width: 350px;
    margin: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
     color: #fff;
  
}

.video-description {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
      color: #fff;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.nav-button::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.nav-button.prev::after {
    border-right: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translate(-40%, -50%);
}

.nav-button.next::after {
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translate(-60%, -50%);
}

/* Video Player Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.video-player {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Nested Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #4ecdc4;
    transform: scale(1.2);
}
.mobleview{
    display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .video-card {
        min-width: 280px;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .youtube-container {
        padding: 1.5rem;
    }

    .video-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .video-actions {
        width: 100%;
        justify-content: center;
    }

    .action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .youtube-player-section {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

   @media (max-width: 480px) {
    .youtube-player-section{
        width: 100%;
       transform: translateX(0);
    }
.current-video-title {

    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   
}
.video-details {
  padding: 0.8rem 1rem;
  flex: 1;
  display: flex;
  margin-left: 30px;
  color: #050303;
  flex-direction: column;
  justify-content: center;
    
}
.video-meta {
    display: flex
;
    flex-direction: row;
    font-size: 0.85rem;
    color: rgb(14 8 8 / 70%);
    gap: 0.5rem;
    align-items: center;
}
.page-button {
    background: linear-gradient(135deg, #4ecdc4 0%, #36a39b 100%);
    border: none;
    border-radius

: 6px;
    padding: 7px 18px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex
;
margin: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
   
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}
.mobleview{
    display: block;
}
.video-details h3{
    font-size: 1rem;

}
.desktop_View{
    display:  none;
}
.youtube-player-section {
    width: 100%;
  
    transform: none;
}

 .youtube-container {
       width: 100%;
    }

.youtube-container{
    background: none;
    border-radius: none;
    padding: 10px;
    box-shadow: none;
}


   }