/* JPG to PDF Plus - Updated Modern Theme CSS for All Pages */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #E6E6FA 0%, #DDA0DD 100%); /* Light shiny purple gradient - Default for all pages */
    min-height: 100vh;
}

/* Blog-specific background if needed (light green) */
body.blog-page {
    background: linear-gradient(135deg, #F0FFF0 0%, #90EE90 100%); /* Light shiny green for blog */
}

header {
    background: linear-gradient(135deg, #87CEEB, #5F9EA0); /* Clean sky blue gradient */
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(135, 206, 235, 0.3); /* Soft glow shadow */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Modern hover scale */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* For home page nav */
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #87CEEB;
    transform: translateY(-2px);
}

main {
    margin-top: 90px; /* Account for fixed header */
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 90px auto 0;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white over purple/green bg */
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(135, 206, 235, 0.2); /* Shiny shadow */
    backdrop-filter: blur(10px); /* Glassmorphism shine */
}

h1, h2, h3 {
    color: #5F9EA0; /* Complementary to sky blue */
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    list-style-type: none;
}

ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

ul li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #87CEEB;
}

button, .btn {
    background: linear-gradient(135deg, #87CEEB, #5F9EA0);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
}

button:hover, .btn:hover {
    background: linear-gradient(135deg, #5F9EA0, #87CEEB);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
}

footer {
    background: rgba(135, 206, 235, 0.1); /* Translucent sky blue tint */
    color: #5F9EA0;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(95, 158, 160, 0.3);
}

footer a {
    color: #87CEEB;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #5F9EA0;
}

/* SEO Keywords Integration */
.keyword-highlight {
    font-weight: 700;
    color: #87CEEB;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Form Styling (for Contact Page) */
form {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #DDA0DD; /* Purple tint for forms */
    border-radius: 10px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: #87CEEB;
    outline: none;
}

/* Blog Page Icon Cards (Light Purple Bg) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: linear-gradient(135deg, #E6E6FA, #DDA0DD); /* Light purple shiny gradient for cards */
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(135, 206, 235, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(221, 160, 221, 0.3);
    text-align: center;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(135, 206, 235, 0.4);
}

.blog-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-title {
    color: #5F9EA0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-decoration: none;
    display: block;
}

.blog-title:hover {
    color: #87CEEB;
}

.blog-summary {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: left;
}

.read-more {
    background: linear-gradient(135deg, #87CEEB, #5F9EA0);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: linear-gradient(135deg, #5F9EA0, #87CEEB);
    transform: scale(1.05);
}

/* Responsive Design - Mobile & Computer Friendly */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.8rem;
        justify-content: center;
        position: static;
        background: none;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    main {
        padding: 1rem;
        margin-top: 100px;
        border-radius: 15px;
    }
    
    nav {
        flex-direction: row;
        gap: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) {
    main {
        max-width: 1000px;
    }
}

/* Fast Loading: Minimal, optimized rules */