:root { --primary: #4361ee; --secondary: #3a0ca3; --accent: #f72585; --light: #f8f9fa; --dark: #212529; --success: #4cc9f0; --gradient: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%); --shadow: 0 5px 15px rgba(0, 0, 0, 0.05); --border: 1px solid rgba(67, 97, 238, 0.1); } /* Global Styles */ * { box-sizing: border-box; margin: 0; padding: 0; } body { background: #f8f9fa; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; min-height: 100vh; display: flex; flex-direction: column; line-height: 1.6; color: #333; } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } /* Typography */ h1, h2, h3, h4, h5, h6 { color: var(--secondary); font-weight: 700; margin-bottom: 1rem; line-height: 1.3; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } p { margin-bottom: 1rem; } a { color: var(--primary); text-decoration: none; transition: all 0.3s ease; } a:hover { color: var(--accent); } /* Navigation */ .navbar { background: white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); padding: 0.8rem 1.5rem; top: 0; left: 0; right: 0; z-index: 1000; } .navbar-brand { display: flex; align-items: center; } .navbar-brand img { max-height: 50px; } .navbar-item { color: white !important; font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 4px; } .navbar-item:hover { background-color: rgba(255, 255, 255, 0.1) !important; color: white; } .navbar-item.is-active { background-color: rgba(255, 255, 255, 0.2); } .navbar-burger { color: white; height: auto; width: auto; } .navbar-menu { background: transparent; box-shadow: none; } /* Hero Section */ .hero { background: var(--gradient); color: white; padding: 7rem 1.5rem 4rem; border-radius: 0 0 20px 20px; margin-bottom: 2rem; text-align: center; } .hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: white; } .hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; max-width: 700px; margin-left: auto; margin-right: auto; } .cta-button { background-color: var(--accent); color: white; border: none; border-radius: 50px; padding: 1rem 2rem; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 14px rgba(247, 37, 133, 0.4); display: inline-block; cursor: pointer; } .cta-button:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(247, 37, 133, 0.5); color: white; } /* Section Styles */ .section { padding: 3rem 0; } .section-title { text-align: center; margin-bottom: 3rem; color: var(--secondary); font-weight: 700; position: relative; padding-bottom: 1rem; } .section-title:after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--accent); border-radius: 2px; } /* Feature Cards */ .feature-card { background: white; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; box-shadow: var(--shadow); height: 100%; border: var(--border); } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } .feature-icon { background: var(--gradient); width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: white; font-size: 1.8rem; } .feature-content { padding: 2rem; } .feature-title { color: var(--secondary); font-weight: 700; margin-bottom: 1rem; text-align: center; } .feature-description { color: #6c757d; line-height: 1.6; text-align: center; } /* Tool Cards */ .tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; } .tool-card { background: white; border-radius: 12px; padding: 1.5rem; text-align: center; transition: all 0.3s ease; box-shadow: var(--shadow); border: var(--border); } .tool-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .tool-icon { color: var(--primary); font-size: 2.5rem; margin-bottom: 1rem; } .tool-title { color: var(--secondary); font-weight: 600; margin-bottom: 0.5rem; } .tool-description { color: #6c757d; font-size: 0.9rem; margin-bottom: 1rem; } .tool-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; } .tool-link:hover { color: var(--accent); } /* Compressor Styles */ .compressor-container { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; } .upload-card { background: white; border-radius: 12px; padding: 2.5rem; box-shadow: var(--shadow); margin-bottom: 2rem; border: var(--border); } .file-info { text-align: center; color: #6c757d; margin-bottom: 1.5rem; font-size: 0.9rem; } .file-upload { margin-bottom: 2rem; } .file-cta { background: var(--gradient); color: white; border: none; } .file-name { border-color: #dbdbdb; } .preview-section { background: #f8f9fa; border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; text-align: center; } .preview-image { max-width: 100%; max-height: 300px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .size-control { background: #f8f9fa; border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; } .slider-container { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; } .slider { flex-grow: 1; height: 8px; -webkit-appearance: none; appearance: none; background: #ddd; outline: none; border-radius: 4px; } .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } output { font-weight: 600; color: var(--primary); min-width: 40px; text-align: right; } .submit-btn { background: var(--gradient); color: white; border: none; border-radius: 50px; padding: 1rem 2rem; font-weight: 600; width: 100%; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 14px rgba(67, 97, 238, 0.4); } .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(67, 97, 238, 0.5); } /* SEO Content */ .seo-content { background: white; border-radius: 12px; padding: 2.5rem; margin: 2rem 0; box-shadow: var(--shadow); border: var(--border); } .seo-title { color: var(--secondary); margin-bottom: 1.5rem; font-weight: 700; } .seo-text { color: #444; line-height: 1.7; margin-bottom: 1.5rem; } .benefits-list { list-style-type: none; margin-bottom: 1.5rem; } .benefits-list li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; } .benefits-list li:before { content: '✓'; color: var(--success); position: absolute; left: 0; font-weight: bold; } /* Footer */ .footer { background: var(--dark); color: white; padding: 3rem 1.5rem; margin-top: auto; } .footer-title { color: white; font-weight: 600; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.5rem; } .footer-title:after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent); } .footer-links a { color: #ddd; display: block; margin-bottom: 0.8rem; transition: all 0.3s ease; } .footer-links a:hover { color: white; transform: translateX(5px); } .social-icons { margin-bottom: 1.5rem; } .social-icons a { display: inline-block; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; text-align: center; line-height: 40px; color: white; margin-right: 0.5rem; transition: all 0.3s ease; } .social-icons a:hover { background: var(--accent); transform: translateY(-3px); } .copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; margin-top: 3rem; text-align: center; color: #aaa; font-size: 0.9rem; } /* Utility Classes */ .has-text-centered { text-align: center; } .has-text-weight-semibold { font-weight: 600; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.5rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.5rem; } .mr-2 { margin-right: 0.5rem; } /* Responsive Styles */ @media (max-width: 768px) { .hero { padding: 6rem 1.5rem 3rem; } .hero-title { font-size: 2rem; } .hero-subtitle { font-size: 1rem; } .upload-card { padding: 1.5rem; } .slider-container { flex-direction: column; align-items: stretch; gap: 0.5rem; } .tools-grid { grid-template-columns: 1fr; } .seo-content { padding: 1.5rem; } .navbar-menu { background: var(--gradient); padding: 1rem; } } /* Animation Keyframes */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.6s ease forwards; } /* Form Elements */ .label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--secondary); } .help { display: block; font-size: 0.85rem; margin-top: 0.25rem; color: #6c757d; } /* File Input Styling */ .file { display: flex; justify-content: center; align-items: center; } .file-input { display: none; } .file-label { cursor: pointer; display: flex; flex-direction: column; align-items: center; } .file-cta { padding: 1.5rem 2rem; border-radius: 8px; margin-bottom: 1rem; } .file-name { max-width: 100%; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Columns Layout */ .columns { display: flex; flex-wrap: wrap; margin-left: -0.75rem; margin-right: -0.75rem; margin-top: -0.75rem; } .column { display: block; flex-basis: 0; flex-grow: 1; flex-shrink: 1; padding: 0.75rem; } .is-multiline { flex-wrap: wrap; } .is-4 { flex: none; width: 33.3333%; } /* Responsive Column Adjustments */ @media screen and (max-width: 769px) { .column.is-4 { width: 100%; } } /* Additional Helper Classes */ .is-fullwidth { width: 100%; } .is-centered { justify-content: center; text-align: center; } .has-text-white { color: white !important; } .has-background-warning { background-color: #ffdd57 !important; } .has-background-danger { background-color: #f14668 !important; } .has-text-light { color: #f5f5f5 !important; }
/* Add this to your existing styles.css file */

/* Enhanced Navbar Styles */
.navbar {
    background: var(--gradient) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand .ml-2 {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-menu {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-item {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.navbar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-item:hover::before {
    left: 100%;
}

.navbar-item:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.navbar-item.is-active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-weight: 600;
}

.navbar-item.is-active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.navbar-burger {
    color: white !important;
    height: 3rem;
    width: 3rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-burger span {
    height: 2px;
    width: 20px;
    left: calc(50% - 10px);
    background-color: white;
}

.navbar-burger:hover span {
    background-color: white;
}

/* Mobile menu styles */
@media screen and (max-width: 1023px) {
    .navbar-menu {
        background: var(--gradient) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    }
    
    .navbar-item {
        margin: 0.2rem 0;
        text-align: center;
        border-radius: 6px;
    }
    
    .navbar-item:hover {
        background-color: rgba(255, 255, 255, 0.15) !important;
    }
}

/* Enhanced responsive design */
@media screen and (max-width: 768px) {
    .navbar-brand .ml-2 {
        font-size: 1.3rem !important;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
}

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Loading animation for navbar */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideInDown 0.5s ease-out;
}

/* Enhanced focus states for accessibility */
.navbar-item:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.navbar-burger:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}