/* General & Reusable Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    padding: 0 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1565c0;
    text-align: center;
}

.section-highlight {
    background: #f5f5f5;
}

.alert {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1565c0;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
    margin: 0.5rem;
}
.cta-button i {
    margin-right: 0.5rem;
}


header {
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: opacity 0.3s;
    white-space: nowrap;
}

nav a:hover {
    opacity: 0.8;
}

footer {
    background: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a i {
    margin-right: 0.4rem;
}

.footer-credit {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.feature-card h3 i, .screenshot-caption h3 i {
    margin-right: 0.75rem;
    color: #1e88e5;
    width: 24px; /* Ensures alignment */
    text-align: center;
}


/* Shared Responsive Styles */
@media (max-width: 768px) {
    header .header-content {
        flex-direction: column;
    }
    nav {
        margin-top: 1rem;
        text-align: center;
    }
    nav a {
        margin: 0 0.3rem;
        font-size: 85%;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    .hide-on-mobile {
        display: none;
    }
    .container {
        padding: 2rem 0.8rem;
    }
}

/* Library Link Styles */
.nav-library-link {
    background-color: #ffc107;
    color: #333 !important;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.nav-library-link:hover {
    background-color: #ffca2c;
    transform: translateY(-1px);
}
.nav-library-link i {
    margin-right: 6px;
}

/* Video Styles */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 1000px;
    width: 100%;
    margin: 2rem auto 0;
}
.video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
