body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 0;
    margin: 0;
    color: #333;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* Header Section */
.header {
    text-align: center;
    
    margin-bottom: 3rem;
    padding: 2rem;
  
    color: black;
    border-radius: 12px;
   
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
     background-color: blue;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    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: 96%;
    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.5rem;
    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: 500;
    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) {

    .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;
    }

    .modal {
        width: 95%;
        margin: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

    .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;
    
    }
}
.site-header {
    background-color: white;
    color: black;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: auto;
    width: auto;
}

.logo i {
    font-size: 24px;
    color: #e2b88f;
}

.logo h2 {
    font-size: 20px;
    font-weight: 600;
}

.logo h2 a {
    color: white;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: black;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.nav-link.active {
    background-color: #e2b88f;
    color: #333;
}

/* Footer Styles */
.site-footer {
    background-color: #333;
    color: #aaa;
    padding: 40px 0 20px 0;
    margin-top: 60px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

.footer-column p {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 20px;
    color: #bbb;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #aaa;
    font-size: 20px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background-color: #444;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: white;
    background-color: #e2b88f;
    transform: translateY(-2px);
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: block;
}

.quick-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-info i {
    color: #e2b88f;
    font-size: 16px;
    margin-top: 2px;
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #888;
}
.copyright p {
    text-align: center;
}

@media (max-width: 768px) {
    .styles-container {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        padding: 15px;
    }
}

  
        .infocontainer {
            max-width: 1140px;
            margin: 0 auto;
            background: rgb(255, 255, 255);
            padding: 40px;
            border-radius: 15px;
           
        }
h2 {
            color: #4a6fa5;
            border-bottom: 2px solid #e0e6ed;
            padding-bottom: 8px;
            text-align: center;
            margin-top: 35px;
            margin-bottom: 20px;
            font-size: 1.5em;
        }
        
        h3 {
            color: #5a7ba5;
            margin-top: 25px;
            margin-bottom: 15px;
            font-size: 1.2em;
        }
        
        p {
            margin-bottom: 15px;
            text-align: justify;
        }
        
        .highlight {
            background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
            border-left: 4px solid #4a6fa5;
        }
          .faq-container {
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
     .faq-container    h2 {
            color: #4f46e5;
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.5em;
        }
        
    .faq-container     h3 {
            color: #4f46e5;
            font-size: 1.3em;
            margin-top: 25px;
            margin-bottom: 10px;
            padding: 10px;
            background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
            border-left: 4px solid #4f46e5;
            border-radius: 5px;
        }
        
     .faq-container    p {
            margin-bottom: 15px;
            padding: 0 10px;
            color: #555;
        }
        
        .highlight {
            background: #fff3cd;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
        }
        
        .intro {
            text-align: center;
            font-size: 1.1em;
            color: #666;
            margin-bottom: 40px;
            padding: 20px;
            background: #f8f9ff;
            border-radius: 8px;
        }
        