/* Knowledge Page Styles */

/* Hero Section */
.knowledge-hero {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
}

/* Hero Background Animation */
.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.hero-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: 10%;
    animation-delay: 0s;
}

.hero-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 15%;
    animation-delay: 5s;
}

.hero-circle.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 80%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50px) translateX(30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-100px) translateX(-20px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(40px) scale(1.05);
        opacity: 0.6;
    }
}

/* Hero Wave Bottom */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    height: 60px;
}

.hero-wave-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-wave-bottom path {
    animation: wave 10s infinite ease-in-out;
    transform-origin: center;
}

@keyframes wave {
    0%, 100% {
        d: path("M0,60 Q300,90 600,60 T1200,60 L1200,120 L0,120 Z");
    }
    50% {
        d: path("M0,60 Q300,30 600,60 T1200,60 L1200,120 L0,120 Z");
    }
}

.knowledge-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.knowledge-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.knowledge-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Video Section */
.video-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.video-section .container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

.video-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    text-align: center;
}

.video-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* YouTube Channel Section */
.youtube-channel-section {
    padding: 80px 0;
    background: white;
}

.youtube-channel-section .container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

.channel-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.channel-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.4);
}

.channel-icon i {
    font-size: 3.5rem;
    color: white;
}

.channel-card h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.channel-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.channel-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.channel-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
}

.channel-link-btn i:first-child {
    font-size: 1.5rem;
}

.channel-link-btn i:last-child {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-section .container,
    .youtube-channel-section .container {
        padding: 0 20px;
    }

    .knowledge-title {
        font-size: 2.5rem;
    }

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

    .video-container {
        padding: 20px;
    }

    .video-info h2 {
        font-size: 1.8rem;
    }

    .video-info p {
        font-size: 1rem;
    }

    .channel-card {
        padding: 30px 20px;
    }

    .channel-icon {
        width: 100px;
        height: 100px;
    }

    .channel-icon i {
        font-size: 3rem;
    }

    .channel-card h3 {
        font-size: 1.8rem;
    }

    .channel-card p {
        font-size: 1rem;
    }

    .channel-link-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-section .container,
    .youtube-channel-section .container {
        padding: 0 15px;
    }

    .knowledge-hero {
        padding: 40px 0 60px;
        min-height: 300px;
    }

    .knowledge-title {
        font-size: 2rem;
    }

    .knowledge-subtitle {
        font-size: 1rem;
    }

    .video-container {
        padding: 15px;
    }

    .video-info h2 {
        font-size: 1.5rem;
    }

    .video-info p {
        font-size: 0.9rem;
    }

    .channel-card {
        padding: 25px 15px;
    }

    .channel-icon {
        width: 80px;
        height: 80px;
    }

    .channel-icon i {
        font-size: 2.5rem;
    }

    .channel-card h3 {
        font-size: 1.5rem;
    }

    .channel-card p {
        font-size: 0.9rem;
    }

    .channel-link-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
        gap: 8px;
    }
}
