
main {
    flex: 1;
    padding: 20px;
}

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #3498db;
    padding-bottom: 10px;
    border-bottom: 1px solid #34495e;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 8px;
}

.legal-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.legal-links a:hover {
    color: #3498db;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 13px;
    color: #bdc3c7;
}

@media (max-width: 600px) {
    .footer-section {
        flex: 100%;
    }
}
        * {
           margin: 0;
           padding: 0;
           box-sizing: border-box;
           font-family: 'Arial', sans-serif;
       }



       /* Navigation Bar */
       .navbar {
           background-color: #2c3e50;
           position: fixed;
           top: 0;
           width: 100%;
           z-index: 1000;
           box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
       }

       .nav-container {
           display: flex;
           justify-content: space-between;
           align-items: center;
           padding: 15px 20px;
           max-width: 1200px;
           margin: 0 auto;
       }

       .logo {
           color: white;
           font-size: 24px;
           font-weight: bold;
           text-decoration: none;
       }

       .logo span {
           color: #3498db;
       }

       /* Desktop Menu */
       .nav-menu {
           display: flex;
           list-style: none;
       }

       .nav-menu li {
           margin-left: 30px;
       }

       .nav-menu a {
           color: white;
           text-decoration: none;
           font-size: 16px;
           font-weight: 500;
           transition: color 0.3s;
           position: relative;
       }

       .nav-menu a:hover {
           color: #3498db;
       }

       .nav-menu a::after {
           content: '';
           position: absolute;
           width: 0;
           height: 2px;
           background: #3498db;
           bottom: -5px;
           left: 0;
           transition: width 0.3s;
       }

       .nav-menu a:hover::after {
           width: 100%;
       }

       /* Mobile Menu Button */
       .mobile-menu-btn {
           display: none;
           cursor: pointer;
           background: none;
           border: none;
           color: white;
           font-size: 24px;
       }

       /* Mobile Menu */
       @media (max-width: 768px) {
           .mobile-menu-btn {
               display: block;
           }

           .nav-menu {
               position: fixed;
               top: 60px;
               left: -100%;
               width: 100%;
               height: calc(100vh - 60px);
               background-color: #2c3e50;
               flex-direction: column;
               align-items: center;
               padding-top: 30px;
               transition: left 0.3s ease;
           }

           .nav-menu.active {
               left: 0;
           }

           .nav-menu li {
               margin: 15px 0;
           }

           .nav-menu a {
               font-size: 18px;
           }
       }

       /* Main Content (for demo purposes) */
       main {
           padding: 20px;
           max-width: 1200px;
           margin: 0 auto;
       }

       section {
           margin-bottom: 40px;
           padding: 20px;
           background-color: #f9f9f9;
           border-radius: 5px;
       }

       h1 {
           margin-bottom: 10px;
           color: #2c3e50;
           margin-top: 80px;
           font-size: 2.5em;
       }

       p {
           line-height: 1.6;
           color: #555;
       }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #f5f5f5 0%, #ffffff 100%);
    color: #333;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

header {
    background-color: #6c5ce7;
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}




.converter-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 30px;
}


.text-area-wrapper {
    flex: 1 1 45%;
    min-width: 50px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #6c5ce7;
    font-size: 1rem;
}

textarea {
width: 100%;
height: 100px;
padding: 10px 5px; /* Top-bottom: 10px, Left-right: 5px */
border: 1px solid black; /* Black border */
border-radius: 8px;
resize: vertical;
font-size: 16px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
transition: border 0.2s;
}
}

textarea:focus {
    outline: none;
    border-color: #6c5ce7;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0 10px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#convertBtn {
    background-color: #00b894;
    color: white;
}

#convertBtn:hover {
    background-color: #019875;
}

#clearBtn {
    background-color: #d63031;
    color: white;
}

#clearBtn:hover {
    background-color: #c0392b;
}

#copyBtn {
    background-color: #6c5ce7;
    color: white;
}

#copyBtn:hover {
    background-color: #5a4bd2;
}

.info-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h2 {
    color: #6c5ce7;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.4rem;
}



/* Responsive Enhancements */
@media (max-width: 768px) {
    .text-area-container {
        flex-direction: column;
    }

    .text-area-wrapper {
        width: 100%;
    }

    h1 {
        font-size: 2em;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    button {
        width: 100%;
        max-width: 300px;
    }
}
