/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles - Full Width */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
   
    top: 0;
    z-index: 100;
   
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: auto;
    height: auto;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #4f46e5;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(79, 70, 229, 0.1);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* Header Section */
.header {
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
    padding: 2rem;
    
    color: black;
    border-radius: 12px;
   
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background-clip: text;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Input Styles */
.input-container {
    margin-bottom: 2rem;
}

.text-input {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
    transform: translateY(-2px);
}

.text-input::placeholder {
    color: #9ca3af;
}

/* Filter Buttons */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    background-color: white;
    color: #6b7280;
}

.filter-btn:hover {
    background-color: #f8fafc;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* Load More Button */
.load-more-btn {
    display: block;
    margin: 3rem auto;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}

/* Font Style Cards */
/* Font Style Cards */
.styles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
    max-width: 1200px; /* Optional: limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.style-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.style-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: #4f46e5;
}

.style-preview {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border-radius: 8px;
    border: 2px dashed #d1d5db;
    word-break: break-word;
    font-weight: 600;
    line-height: 1.2;
}

.style-name {
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.style-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.copy-btn, .write-more-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn {
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.write-more-btn {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.write-more-btn:hover {
    background: #f8fafc;
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-textarea {
    width: 100%;
    min-height: 200px;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modal-textarea:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.modal-copy-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}

.modal-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    z-index: 2000;
    font-weight: 600;
}

.toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
       

        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .container {
        padding: 1rem;
    }

    .header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .styles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-container {
        padding: 1rem;
        margin-bottom: 2rem;
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        justify-content: center;
        padding: 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        padding: 2rem 1rem 1rem;
    }

    .social-links {
        justify-content: center;
    }

    .modal {
        width: 95%;
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 0.95rem;
    }

    .text-input {
        padding: 1rem;
        font-size: 1rem;
    }

    .style-card {
        padding: 1.25rem;
    }

    .style-preview {
        font-size: 1.5rem;
        min-height: 60px;
        padding: 1rem;
    }

    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .header-content {
        padding: 1.5rem 2rem;
    }

    .container {
        padding: 2rem;
    }

    .header {
        padding: 3rem;
        margin-bottom: 4rem;
    }

    .header h1 {
        font-size: 3.5rem;
    }

    .header p {
        font-size: 1.3rem;
    }

    .styles-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    
    }
}
.article {
            background: white;
            padding: 2rem;
            margin: 2rem 0;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        h1, h2, h3, h4 {
            margin-bottom: 1rem;
            color: #2c3e50;
        }

        h1 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 2rem;
        }

        h2 {
            font-size: 2rem;
            text-align: center;
            margin: 2rem 0 1.5rem;
        }

        h3 {
            font-size: 1.5rem;
            margin-top: 2rem;
        }

        h4 {
            font-size: 1.2rem;
            margin-top: 1.5rem;
        }

        p {
            margin-bottom: 1rem;
            text-align: justify;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }

        .col-md-4 {
            flex: 0 0 33.33%;
            padding: 0 15px;
        }

        .col-md-6 {
            flex: 0 0 50%;
            padding: 0 15px;
        }

        .col-md-8 {
            flex: 0 0 66.67%;
            padding: 0 15px;
        }

        .col-lg-4 {
            flex: 0 0 33.33%;
            padding: 0 15px;
        }

        @media (max-width: 768px) {
            .col-md-4, .col-md-6, .col-md-8, .col-lg-4 {
                flex: 0 0 100%;
                margin-bottom: 1rem;
            }
        }

        .img-fluid {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .step-card {
            display: flex;
            align-items: center;
            background: #f8f9fa;
            padding: 1.5rem;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            border: 1px solid #e9ecef;
            margin-bottom: 1rem;
            transition: transform 0.3s ease;
        }

        .step-card:hover {
            transform: translateY(-5px);
        }

        .step-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
            margin-right: 1.5rem;
            flex-shrink: 0;
        }

        .step-content h5 {
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: #2c3e50;
        }

        .step-content p {
            color: #6c757d;
            margin: 0;
            text-align: left;
        }

        .nav-pills {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .nav-link {
            padding: 0.75rem 1.5rem;
            background: #f8f9fa;
            color: #495057;
            text-decoration: none;
            border-radius: 25px;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .nav-link:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .nav-link.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
        }

        .tab-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin: 1rem 0;
        }

        .tab-pane {
            display: none;
            text-align: center;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .tab-pane.active {
            display: block;
        }

        .accordion {
            margin-top: 2rem;
        }

        .accordion-item {
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            overflow: hidden;
        }

        .accordion-header {
            margin: 0;
        }

        .accordion-button {
            background: #f8f9fa;
            border: none;
            padding: 1rem 1.5rem;
            width: 100%;
            text-align: left;
            font-size: 1.1rem;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
            position: relative;
        }

        .accordion-button:hover {
            background: #e9ecef;
        }

        .accordion-button:after {
            content: '+';
            position: absolute;
            right: 1.5rem;
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .accordion-button.active:after {
            transform: rotate(45deg);
        }

        .accordion-collapse {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .accordion-collapse.show {
            max-height: 500px;
        }

        .accordion-body {
            padding: 1.5rem;
            background: white;
            border-top: 1px solid #dee2e6;
        }

        u {
            text-decoration: underline;
            color: #667eea;
            font-weight: 500;
        }

        b, strong {
            font-weight: 600;
            color: #2c3e50;
        }

        .highlight-box {
            background: linear-gradient(135deg, #667eea10 0%, #764ba220 100%);
            border-left: 4px solid #667eea;
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 5px;
        }

        .featured-image {
            text-align: center;
            margin: 2rem 0;
        }

        .featured-image img {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
.site-footer {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid #e9ecef;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #7c3aed;
}

.separator {
    color: #8b5cf6;
    font-size: 14px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 14px;
}

.footer-copyright a {
    color: #8b5cf6;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #7c3aed;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

        @media (max-width: 768px) {
            .article {
                padding: 1rem;
                margin: 1rem 0;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            .nav-pills {
                flex-direction: column;
                align-items: center;
            }
            
            .step-card {
                flex-direction: column;
                text-align: center;
            }
            
            .step-icon {
                margin-right: 0;
                margin-bottom: 1rem;
            }
        }