:root {
    --primary-color: #1f2276;
    --secondary-color: #6c757d;
    --accent-color: #ff6b35;
    --success-color: #28a745;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --font-family-base: 'Jost', sans-serif;
    --gradient-primary: linear-gradient(135deg, #1f2276 0%, #1f2276 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    --transition-standard: all 0.3s ease;
}

.hero-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

.skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.video-loader {
    z-index: 10;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    transition: var(--transition-standard);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-hover-bg {
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
}

.btn-hover-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.blog-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.enhanced-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.enhanced-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.carousel-control-prev,
.carousel-control-next {
    transition: var(--transition-standard);
    opacity: 0.7;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 15px;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    background: var(--primary-color);
}

html {
    scroll-behavior: smooth;
}

.blog-item,
.btn-hover-bg,
.carousel-control-prev,
.carousel-control-next {
    will-change: transform;
    backface-visibility: hidden;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-standard);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.navbar {
    transition: all 0.3s ease;
    background: transparent !important;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link.active {
    color: var(--light-color) !important;
}

.navbar.scrolled .nav-link.active::after {
    background: var(--primary-color);
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link:not(.active):hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar.scrolled .nav-link:not(.active):hover {
    color: var(--light-color) !important;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #1a1a1a !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar.scrolled .brand-text h6 {
    color: var(--primary-color) !important;
    text-shadow: none;
}

.navbar.scrolled .brand-text small {
    color: #666 !important;
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .dropdown-item {
    color: #333;
}

.navbar.scrolled .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar .brand-text h6 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar .brand-text small {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .video-play-btn,
    .carousel-indicators li {
        min-height: 44px;
        min-width: 44px;
    }
    .carousel-indicators li {
        width: 12px;
        height: 12px;
        margin: 0 6px;
        border-radius: 50%;
    }
    .navbar-nav .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .carousel-caption .display-2 {
        font-size: 2rem !important;
    }
    .carousel-caption h4 {
        font-size: 1.1rem !important;
        letter-spacing: 1px !important;
    }
    .carousel-caption .fs-5 {
        font-size: 1rem !important;
    }
    .container-fluid,
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .fact h2 {
        font-size: 1.8rem !important;
    }
    .login-buttons-mobile {
        flex-direction: column;
        gap: 10px;
    }
    .login-buttons-mobile a {
        width: 100%;
        text-align: center;
    }
    .navbar-brand {
        flex-direction: column;
        text-align: center;
    }
    .brand-text {
        margin-left: 0 !important;
        margin-top: 5px;
    }
}

.carousel-item {
    touch-action: pan-y pinch-zoom;
}

.carousel-header {
    touch-action: manipulation;
}

.spinner-container {
    z-index: 9999;
}

#display-100 {
    --card-radius: 16px;
    --card-padding: 0;
    --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-card.highlighted {
    border: 2px solid var(--primary-color);
    position: relative;
}

.video-card.highlighted::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.video-header {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a1a, #2d3748);
    overflow: hidden;
}

.badge {
    position: absolute;
    top: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.badge-highlight {
    left: 12px;
    background: var(--gradient-accent);
    color: white;
}

.badge-video {
    left: 12px;
    background: var(--gradient-primary);
    color: white;
}

.badge-location {
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-location i {
    font-size: 0.7rem;
}

.nav-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-side:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.video-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d3748);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 4rem;
    z-index: 1;
}

.video-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-standard);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.video-player {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.video-card:hover .video-player video {
    filter: brightness(1.05);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.video-card:hover .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.play-btn {
    background: var(--gradient-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--gradient-accent);
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-family: monospace;
    min-width: 100px;
}

.video-stats .views {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.video-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.video-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.video-hashtags {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hashtag {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hashtag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-standard);
    z-index: 2;
}

.play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 30px rgba(31, 34, 118, 0.7);
    transition: transform 0.3s;
}

.play-overlay:hover .play-icon {
    transform: scale(1.1);
    color: white;
}

.video-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-standard);
}

.video-slide:hover .video-controls-overlay {
    opacity: 1;
    transform: translateY(0);
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-standard);
}

.control-btn:hover {
    background: white;
    transform: scale(1.1);
}

.video-slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: white;
    margin: 40px 0;
    min-height: 400px;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.video-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2c3e50, #4a6419);
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.blog-item:hover .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    opacity: 0.9;
    backdrop-filter: blur(5px);
}

.video-play-btn:hover {
    transform: scale(1.1);
    opacity: 1;
    background: var(--gradient-accent) !important;
}

.video-play-btn i {
    font-size: 1.5rem;
    margin-left: 4px;
}

.video-duration .badge {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.featured-video {
    grid-column: span 2;
}

.featured-video .video-thumbnail {
    aspect-ratio: 16/7;
}

.featured-video .video-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.featured-badge .badge {
    background: var(--gradient-accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.video-title {
    color: var(--dark-color);
    font-size: 1.1rem;
    min-height: 3.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.video-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.meta-text {
    color: var(--secondary-color);
}

.video-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-watch {
    flex-grow: 1;
    font-weight: 600;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-share,
.btn-like {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.btn-like {
    position: relative;
}

.like-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.btn-primary {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
}

.empty-state {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.empty-state i {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    border: 2px dashed #cbd5e0;
}

.empty-icon {
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .video-title {
        font-size: 1.1rem;
    }
    .video-content {
        padding: 20px;
    }
}

.skeleton-loading {
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-loading .skeleton-box {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.skeleton-card {
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-video {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 1200px) {
    .featured-video .video-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .featured-video {
        grid-column: span 1;
    }
    .featured-video .video-thumbnail {
        aspect-ratio: 16/9;
    }
    .blog-item {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .video-card {
        margin-bottom: 24px;
    }
    .video-title {
        font-size: 1.2rem;
    }
    .video-description {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.9rem;
    }
    .video-content {
        padding: 16px;
    }
    .video-actions {
        flex-wrap: wrap;
    }
    .video-controls-overlay {
        padding: 15px;
    }
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .play-icon {
        font-size: 60px;
    }
    .btn-watch {
        width: 100%;
        order: 1;
    }
    .btn-share,
    .btn-like {
        order: 2;
    }
    .video-play-btn {
        width: 50px;
        height: 50px;
    }
    .video-info {
        padding: 1.25rem !important;
    }
    .video-meta {
        flex-direction: column;
        gap: 8px;
    }
    .meta-item {
        font-size: 0.85rem;
    }
}

@media (prefers-color-scheme: dark) {
    .video-card {
        background: #1a202c;
        border-color: #2d3748;
    }
    .video-title {
        color: #e2e8f0;
    }
    .video-description {
        color: #a0aec0;
    }
    .meta-text {
        color: #a0aec0;
    }
    .video-meta {
        border-color: #2d3748;
    }
    .empty-state {
        background: #2d3748;
        border-color: #4a5568;
    }
}

.btn:focus,
.nav-link:focus,
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes countUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.section-animate-fade {
    animation: fadeInUp 0.8s ease-out backwards;
}

.section-animate-fade.delay-1 { animation-delay: 0.1s; }
.section-animate-fade.delay-2 { animation-delay: 0.2s; }
.section-animate-fade.delay-3 { animation-delay: 0.3s; }
.section-animate-fade.delay-4 { animation-delay: 0.4s; }

.feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.stat-box {
    animation: countUp 0.6s ease-out backwards;
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    font-weight: 700;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content-item {
    animation: slideInLeft 0.8s ease-out backwards;
}

.about-content-item:nth-child(1) { animation-delay: 0.1s; }
.about-content-item:nth-child(2) { animation-delay: 0.3s; }
.about-content-item:nth-child(3) { animation-delay: 0.5s; }

.carousel-caption {
    animation: fadeInUp 0.8s ease-out;
}

.btn-hover-scale {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.btn-hover-scale:hover {
    transform: scale(1.05);
}

.owl-carousel .owl-item {
    opacity: 0.4;
    transition: all 0.3s ease;
}

.owl-carousel .owl-item.active {
    opacity: 1;
    transform: scale(1.05);
}

.owl-carousel .owl-item.next,
.owl-carousel .owl-item.prev {
    opacity: 0.7;
}

.video-slide {
    animation: fadeInUp 0.6s ease-out;
}

.video-slide:nth-child(odd) {
    animation-name: slideInLeft;
}

.section-divider {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

.text-gradient-animated {
    background: linear-gradient(135deg, #fff, #ff6b35, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.video-card {
    border: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #000;
}

.video-thumb video,
.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.btn-play-circle {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.55);
    border: none;
    color: #fff;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform .12s ease;
}

.btn-play-circle:hover {
    transform: scale(1.06);
}

.video-stats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
    color: #fff;
    font-size: 0.9rem;
}

.views-badge,
.date-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: .25rem .5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.video-info {
    padding: 25px;
    background: white;
}

.video-card:hover .btn-play-circle {
    transform: scale(1.08);
}

@media (max-width: 576px) {
    .video-info .btn {
        width: 100%;
    }
    .video-info {
        padding: 15px;
    }
    .video-meta {
        flex-direction: column;
        gap: 8px;
    }
    .video-controls-overlay {
        padding: 10px;
    }
    .time-display {
        font-size: 0.8rem;
        min-width: 80px;
    }
}

.modal-video video {
    width: 100%;
    height: auto;
    max-height: 70vh;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

.hero-title {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}