body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.02em;
}

h2 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a0a0a;
    font-size: 3rem;
}

h2 b {
    color: #3b82f6;
}

h2 small {
    display: block;
    font-size: 0.5em;
    color: #6b7280;
    margin-top: 10px;
    font-weight: 500;
}

h3 {
    font-weight: 600;
    color: #1f2937;
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
    font-size: 1.75rem;
}

.row {
    margin-bottom: 15px;
}

.row:nth-of-type(2) {
    margin-top: 0;
    padding-top: 0;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

video {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 10px 0;
}

img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.text-justify {
    text-align: justify;
    hyphens: auto;
}

.container {
    max-width: 1000px;
}

p {
    margin-bottom: 10px;
}

ul {
    line-height: 1.8;
}

ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add spacing after sections */
.row + .row {
    margin-top: 10px;
}

/* Video Tabs styling */
.video-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: none;
}

.video-tabs li {
    margin: 0;
}

.video-tabs li a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #6b7280;
    background-color: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.video-tabs li a:hover {
    background-color: #e5e7eb;
    color: #1f2937;
    transform: translateY(-2px);
}

.video-tabs li.active a,
.video-tabs li.active a:hover,
.video-tabs li.active a:focus {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.tab-content {
    margin-top: 20px;
}

/* Responsive video wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.video-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.video-nav-buttons .btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: #363636;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.video-nav-buttons .btn:hover:not(:disabled) {
    background-color: #242424;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.video-nav-buttons .btn:disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .video-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .video-tabs li {
        width: 100%;
    }

    .video-tabs li a {
        display: block;
        text-align: center;
    }
}
