* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(145deg, #000000, #CF0F47);
    color: #f8fafc;
    line-height: 1.6;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: #f8fafc;
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #f59e0b, #d97706);
}

.section-subtitle {
    color: #f59e0b;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

section {
    padding: 6rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.03), transparent 60%);
    z-index: -1;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(to right, #f59e0b, #d97706);
    color: #f8fafc;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(to right, #d97706, #f59e0b);
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.2rem 0;
    z-index: 100;
    background: rgba(63, 29, 56, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(225, 152, 152, 0.2);
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f8fafc;
    position: relative;
    display: inline-block;
    margin-left: auto;
    margin-right: 0;
}

.logo::after {
    content: '.';
    color: #f59e0b;
    font-size: 2.5rem;
    position: absolute;
    bottom: -5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f59e0b, #d97706);
}

.nav-links a:hover, .nav-links a.active {
    color: #f59e0b;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #f59e0b;
}




/* Contact Section */
.contact .section-subtitle {
    text-align: center;
}

.contact .section-title {
    text-align: center;
    color: #f8fafc;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}



.contact-form {
    background: rgba(30, 41, 59, 0.7);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.1);
    width: 100%;
    max-width: 800px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    color: #f8fafc;
    font-family: inherit;
    resize: none;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #f59e0b;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #B9B4C7;
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(63, 29, 56, 0.5);
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(225, 152, 152, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom center, rgba(245, 158, 11, 0.05), transparent 70%);
    z-index: -1;
}

footer p {
    color: #EFE1D1;
    font-size: 1rem;
}

@media screen and (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1e293b;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: translateY(-150%);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        transform: translateY(0);
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
}


/* Converter Styles */
.converter {
    padding: 6rem 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.7);
    padding: 1rem;
    border-radius: 15px;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select {
    padding: 10px;
    border-radius: 30px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    background: rgba(30, 41, 59, 0.7);
    color: #f8fafc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f59e0b%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .65em auto;
    padding-right: 2.5rem;
}

.select option {
    background: #1e293b;
    color: #f8fafc;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #f59e0b;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    min-height: 300px;
    padding: 20px;
    align-content: flex-start;
    margin-top: 1rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(245, 158, 11, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.drop-zone {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #aaa;
    border: 2px dashed #aaa;
    border-radius: 15px;
    padding: 20px;
    transition: background-color 0.3s;
}

.image-preview {
    position: relative;
    width: 150px;
    height: 150px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.footer {
    margin-top: 20px;
    text-align: right;
}

.converter-title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.converter-subtitle {
    color: #f59e0b;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.converter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.title-underline {
    width: 110px;
    height: 4px;
    background: linear-gradient(to right, #f59e0b, #d97706);
    margin: 0 auto;
    border-radius: 2px;
}


@media screen and (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .converter .header {
        flex-direction: column;
        gap: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1e293b;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
}
