body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #fafafa;
    color: #333;
}

header {
    background-color: #3f51b5;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

nav a {
    color: white;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffeb3b;
}

.hero {
    background-color: #3f51b5;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.25rem;
}

.filter-interface {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    padding: 2rem 1rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step {
    flex: 1 1 200px;
    margin: 1rem;
}

.step label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.step select:hover,
.step select:focus {
    border-color: #3f51b5;
}

.pyq-list {
    text-align: center;
    margin: 2rem 0;
}

.pyq-list h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.pyq-list ul {
    list-style: none;
    padding: 0;
}

.pyq-list ul li {
    display: inline-block;
    margin: 1rem;
    text-align: left;
}

.pyq-list ul li input[type="checkbox"] {
    margin-right: 10px;
}

.pyq-list ul li a {
    text-decoration: none;
    color: #3f51b5;
    background-color: #f9f9f9;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pyq-list ul li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #3f51b5;
    color: white;
    padding: 1rem;
    text-align: center;
}

.download-selected {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff9800;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.download-selected:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

/* Modal CSS */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-btn {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}

.pdf-preview {
    width: 100%;
    height: 600px;
    border: none;
}

/* Media Queries */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .filter-interface {
        flex-direction: column;
        padding: 1rem;
    }

    .step {
        margin: 0.5rem 0;
        flex: 1 1 100%; /* Full width on smaller screens */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .pyq-list h2 {
        font-size: 2rem;
    }

    .download-selected {
        width: 100%;
        padding: 1rem;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 1rem;
        font-size: 1.5rem; /* Adjust logo size */
    }

    nav a {
        margin: 0.5rem 0;
        font-size: 0.9rem; /* Adjust nav link size */
    }

    .step select {
        padding: 0.5rem;
    }

    .pyq-list ul li {
        display: block;
        margin: 0.5rem 0;
        width: 100%; /* Full width for list items */
        text-align: center; /* Center-align text */
    }
}

/* Additional responsive styles */
.filter-interface .step {
    margin-bottom: 10px; /* Default spacing */
}

/* Adjust spacing for mobile devices */
@media (max-width: 768px) {
    .filter-interface .step {
        margin-bottom: 5px; /* Reduced spacing on mobile */
    }
}
.download-app-btn {
    display: inline-block;
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: #4CAF50; /* Green background */
    color: white; /* Text color */
    text-decoration: none; /* Remove underline */
    border-radius: 25px; /* Curved corners */
    font-weight: 600; /* Bold text */
    transition: background-color 0.3s; /* Smooth transition */
}

.download-app-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}
