 /* الفوتر */
 footer {
    background-color: #1F3652; /* اللون المطلوب */
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
footer .container{
    background-color: #1F3652; /* اللون المطلوب */
    max-width: 1000px;
    margin: 0 auto;
   
    box-shadow:  0px 0px ;

}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffcc00;
    transform: translateY(-5px);
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.copyright a {
    color: #ffcc00;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* تنسيق للأجهزة الصغيرة */
@media (max-width: 767.98px) {
    .social-icons a {
        font-size: 1.2rem;
        margin: 0 8px;
    }

    .footer-links a {
        font-size: 0.9rem;
        margin: 0 5px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}
/* Tools Header */
.tools-header {
    background-color: #f8f9fa; /* اللون المطلوب */
    padding: 20px 0;
    
}

.tool-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tool-switch .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 120px;
    height: 120px;
    background-color: #2c3e50;
    border: none;
    border-radius: 10px;
    color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px;
}

.tool-switch .btn:hover {
    background-color: #34495e;
    color: white;
    transform: translateY(-5px);
}

.tool-switch .btn i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.tool-switch .btn h5 {
    font-size: 0.9rem;
    margin: 0;
}

/* تنسيق للأجهزة الصغيرة */
@media (max-width: 767.98px) {
    .tool-switch .btn {
        width: 100px;
        height: 100px;
    }

    .tool-switch .btn i {
        font-size: 1.5rem;
    }

    .tool-switch .btn h5 {
        font-size: 0.8rem;
    }
}

/* Header Style */

header .container{
    background-color: #1F3652;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

/* الهيدر */
header {
    background-color: #1F3652; /* اللون المطلوب */
    color: #fff;
    padding: 20px 0 0 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Nosifer', sans-serif; /* خط Nosifer */
    font-size: 0.8rem;
    color: #fff !important;
    display: flex;
    align-items: start;
}

.navbar-brand:hover {
    color: #f8f9fa !important;
}

.navbar-brand i {
    margin-left: 10px;
}

.nav-link {
    color: #fff !important;
    font-size: 1.1rem;
    margin-left: 20px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease; /* إضافة انتقال سلس */
}

.nav-link i {
    margin-left: 8px;
}

/* تأثير الهوفر */
.nav-link:hover {
    color: #4B4F58 !important; /* تغيير اللون عند التمرير */
    transform: translateY(-3px); /* تحريك العنصر لأعلى قليلاً */
}

.navbar-toggler {
    border: none;
    color: #fff;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* زر التبديل للأجهزة الصغيرة */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* زر التنقل النشط */
.nav-item.active .nav-link {
    font-weight: bold;
    text-decoration: underline;
}
/* Tools Style */
body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    
}
.container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
}
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
}
button:hover {
    background-color: #0056b3;
}
.toggle-buttons {
    margin-bottom: 20px;
}
.toggle-buttons button {
    background-color: #6c757d;
}
.toggle-buttons button.active {
    background-color: #007bff;
}
#result {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #28a745;
}
#audioPlayer {
    margin-top: 20px;
    width: 100%;
}
.seo-text {
    margin-top: 40px;
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    text-align: right;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Thumbnail Creator */

.card {
    width: 100%;
    
    font-family: 'Tajawal', sans-serif;
    margin: 0 auto;
}

.card-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
}

.card-text {
    font-family: 'Tajawal', sans-serif;
}

.card-body #result {
    display: none;
    font-family: 'Tajawal', sans-serif;
}

.card-body #result img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

.form-select, .form-control {
    font-family: 'Tajawal', sans-serif;
}

.btn {
    font-family: 'Tajawal', sans-serif;
}

.description {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* short-url */


input[type="url"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* QR CODE */
#qrcode {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* KeyWord Analyzer */
.keyword-list {
    list-style-type: none;
    padding: 0;
}

.keyword-list li {
    color:black;  
    background-color: #fff;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Create Certificate */

.certificate {
    background-color: #fff;
    border: 2px solid #000;
    padding: 40px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.certificate h1 {
    font-size: 42px;
    font-weight: bold;
    color: #007BFF;
    margin-bottom: 20px;
}

.certificate h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.certificate p {
    font-size: 24px;
    margin: 10px 0;
}

.certificate .name {
    font-size: 36px;
    font-weight: bold;
    color: #007BFF;
    margin-top: 20px;
}

.certificate .course {
    font-size: 28px;
    color: #555;
}

.certificate .date {
    font-size: 24px;
    color: #777;
}

.certificate .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.certificate .signature {
    max-width: 120px;
    margin-top: 20px;
}

.certificate .qrcode {
    margin-top: 20px;
    max-width: 150px;
}

.certificate .design-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 10px solid #007BFF;
    z-index: -1;
}
/* Image Converter */
#result-container {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#result-container #result{
    display:block;
}

/* Code Editor */


#editor {
    flex: 1;
    width: 100%;
    height: calc(100vh - 200px);
    border: 1px solid #ddd;
    border-radius: 5px;
}
#output {
    width: 100%;
    height: 100px;
    background-color: #1e1e1e;
    color: #fff;
    padding: 10px;
    font-family: monospace;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.buttons {
    display: flex;
    justify-content: center;
    margin: 20px;
}
.buttons button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
}
.buttons button:hover {
    background-color: #0056b3;
}

/* add-text-to-image */

.canvas-container {
    margin: 20px 0;
    text-align: center;
}

canvas {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-check-label {
    font-weight: 500;
    padding-right: 20px;
    color: #444;
    margin-right:0px ;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.form-check-input[type=checkbox] {
    margin-left: 1px;
}

.form-check {
    display: flex;
    align-items: left;
}