/**
 * Windows-Specific Font Adjustments
 *
 * This file contains CSS adjustments specifically for Windows operating systems,
 * where font rendering can sometimes appear different than on other platforms.
 */

/* Windows font smoothing */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Poppins font optimization for Windows */
html.windows-device body {
    letter-spacing: 0.01em; /* Slightly increase letter spacing for better Poppins readability */
}

/* Windows-specific font adjustments */
@media screen and (max-width: 767px) {
    /* Slight adjustment for font sizes on Windows mobile */
    html.windows-device {
        /* Font size boost for better readability */
        --paragraph-font-size: 15px;
        --footer-font-size: 13px;
    }
    
    /* Slightly thicker font weight for better Windows rendering */
    html.windows-device .feature-card h3,
    html.windows-device .course-title,
    html.windows-device .section-title {
        font-weight: 700;
    }
    
    /* Better line height for Windows rendering */
    html.windows-device p,
    html.windows-device .course-excerpt {
        line-height: 1.7;
    }
    
    /* Optimize Poppins for better mobile display on Windows */
    html.windows-device body,
    html.windows-device p,
    html.windows-device .hero-description,
    html.windows-device .course-excerpt p {
        letter-spacing: 0.015em;
    }
}

/* Windows specific letter-spacing for better readability at small sizes */
@media screen and (max-width: 576px) {
    html.windows-device .footer-widget,
    html.windows-device .footer-menu a,
    html.windows-device .footer-contact-item,
    html.windows-device .site-info {
        letter-spacing: 0.02em;
    }
    
    /* Additional adjustments for Poppins at very small sizes */
    html.windows-device body,
    html.windows-device p {
        word-spacing: 0.05em;
    }
} 