body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Header Styles */
header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo a {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bcd4;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.burger-menu .line1,
.burger-menu .line2,
.burger-menu .line3 {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    margin-bottom: 1rem;
    color: #333;
}

.input-wrapper {
    max-width: 600px;
    width: 100%;
    display: flex;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #00bcd4;
}

/* Thumbnails Section */
.thumbnails-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
}

.thumbnail-item {
    text-align: center;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s;
    width: 800px;
    max-width: 100%;
}

.thumbnail-item:hover {
    transform: scale(1.03);
}

.thumbnail-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    object-position: center;
    margin-bottom: 10px;
}

.download-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.download-link:hover {
    background-color: #1f7a31;
}

.quality-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* FAQ Section */
.faq-section {
    text-align: left;
    max-width: 800px;
    width: 100%;
    margin: 2rem auto;
}

.faq-section h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f0f0f0;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-answer {
    padding: 15px;
    background-color: white;
    display: none;
    border-top: 1px solid #ddd;
    font-size: 1rem;
}

.faq-arrow {
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer Styles */
footer {
    background-color: #222;
    color: white;
    padding: 2rem 0;
    margin-top: 40px;
     text-align: center; /* Center the footer content */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
     padding: 0 2rem;
        text-align: center;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
      display: inline-block; /* Make links horizontal */
}

.legal-links li {
    margin: 0 10px;
     display: inline-block; /* Make links horizontal */
}

.legal-links a{
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #00bcd4;
}

.copyright {
   text-align: center;
    margin-top: 20px;
}
/* Error message */
.error-message {
    color: #e74c3c;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 1rem;
        display: none;
        flex-direction: column;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .container {
        padding: 1rem;
    }

    .input-wrapper input {
        width: calc(100% - 2rem);
    }

    .footer-content {
      padding: 1rem;
           display: block;
           text-align: center
    }
      .footer {
     padding: 1rem 0;
    }
       .legal-links {
           display: block;
           text-align: center;
       }
            .legal-links li {
        margin: 5px 0;
           display: block;
    }


    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .burger-menu.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger-menu.active .line2 {
        opacity: 0;
    }

    .burger-menu.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .thumbnail-item {
       width: 100%;
    }
}

