:root {
    --primary-color: #1295d9;
    --secondary-color: #27f7c6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --dark-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Enhanced Navbar */
.custom-navbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(18, 149, 217, 0.07);
    border-bottom: 1.5px solid #e2e8f0;
    z-index: 9999 !important;
    transition: all 0.3s ease;
}

.navbar-logo {
    height: 38px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
}

.navbar-brand-text {
    font-weight: 800;
    font-size: 1.45rem;
    color: #1295d9 !important;
    letter-spacing: 0.5px;
}

.navbar-toggler {
    border: 2px solid #1295d9 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    background: rgba(18, 149, 217, 0.1) !important;
    z-index: 10000 !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(18, 149, 217, 0.25) !important;
}

.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='%231295d9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 20px !important;
    height: 20px !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #1e293b !important;
    margin: 0 4px;
    font-size: 1.08rem;
    transition: color 0.3s, background 0.3s;
    border-radius: 8px;
    padding: 8px 18px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #27f7c6 !important;
    background: #f0f9ff;
}

.btn-navbar-cta {
    background: linear-gradient(90deg, #1295d9 60%, #27f7c6 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.08rem;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    box-shadow: 0 4px 18px rgba(18, 149, 217, 0.1);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-navbar-cta:hover {
    background: #1295d9;
    color: #fff !important;
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        border-radius: 15px !important;
        margin-top: 15px !important;
        padding: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .btn-navbar-cta {
        width: 100%;
        text-align: center;
        margin-top: 16px;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0 8px 0;
        text-align: center;
    }
}

/* Video Page Hero Section */
.video-hero {
    background: linear-gradient(135deg, rgba(18, 149, 217, 0.9), rgba(39, 247, 198, 0.8)), 
                url('https://cdn.b12.io/client_media/ePiJXRZ1/41a564a0-148b-11f0-a1ec-0242ac110002-jpeg-hero_image.jpeg') center/cover;
    padding: 160px 0 80px;
    color: white;
    position: relative;
    text-align: center;
}

.video-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.video-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out;
}

.video-hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInUp 1s ease-out 0.2s both;
}

.video-hero .author-info {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Section Styling */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Videos Section */
.videos-section {
    background: var(--bg-light);
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    opacity: 0.8;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
    opacity: 0.6;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(18, 149, 217, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.video-card:hover .video-play-btn {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--text-dark);
}

.video-content {
    padding: 25px;
}

.video-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.video-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.9rem;
}

.video-meta .views {
    display: flex;
    align-items: center;
}

.video-meta .views i {
    margin-right: 5px;
    color: var(--primary-color);
}

.video-meta .duration {
    display: flex;
    align-items: center;
}

.video-meta .duration i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.9);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    border: none;
}

.video-modal-close:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.video-modal iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 35px;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    padding: 0 24px;
    min-width: 70px;
    height: 70px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    z-index: 9998 !important;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn i {
    font-size: 2rem;
    margin-right: 12px;
}

.whatsapp-btn-text {
    font-weight: 600;
    font-size: 1.13rem;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.08);
    color: #fff;
}

.whatsapp-btn::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(37, 211, 102, 0.3);
    border-radius: 40px;
    animation: ripple 2s infinite;
    z-index: -1;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section li {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #475569;
    border-radius: 12px;
    background: #334155;
    color: white;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #1ee6b8;
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 40px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #475569;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .video-hero h1 {
        font-size: 2.8rem;
    }

    .video-hero p {
        font-size: 1.1rem;
    }

    .video-modal iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .video-hero {
        padding: 140px 0 60px;
    }

    .video-hero h1 {
        font-size: 2.2rem;
    }

    .video-hero p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .video-modal iframe {
        height: 300px;
    }

    .whatsapp-btn {
        height: 60px;
        padding: 0 16px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-btn i {
        font-size: 1.5rem;
        margin-right: 8px;
    }

    .whatsapp-btn-text {
        font-size: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .video-hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .video-modal iframe {
        height: 200px;
    }
}