@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    text-decoration: none;
}

hr {
    color: aliceblue;
}

body {
    color: white;
    background-color: #111;
}

/* Header + Navbar */

header .navbar{
    background-color: #323232;
    height: 64px;
    display: flex;            
    flex-direction: row;
    justify-content: space-between;
    align-items: center; 
}

.navbar{
    padding: 0 32px 0 32px;
    transition: color 0.8s ease;
}

.navbar:hover {
    color: #940dfc;
}

.links a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    line-height: 24px;
    font-weight: 400;
    margin-left: 24px;
    transition: color 0.3s ease;
    font-weight: 600;  
}
.links a:hover {
    color: #940dfc;
}

.hero {
    background-color: #161616;
    padding: 80px 0;
}

.hero_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
}

.hero_content {
    text-align: center;
    padding-top: 70px;
    max-width: 600px;
    margin: 0 20px;
}

.hero_content h2 {
    font-size: 50px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 1px 3px rgba(255, 8, 218, 0.88);
}

.hero_image {
    width: 150px;
    height: auto;
}

.search_bar {
    display: flex;
    justify-content: center;
    margin: 35px 0 60px 0;
    transition: transform 0.5s;
}

.search_bar:hover {
    transform: scale(1.03);
}

.search_bar input {
    background-color: #323232;
    padding: 12px;
    width: 350px;
    border-radius: 50px;
    border: none;
    margin-right: 10px;
    color: white;
    font-weight: 400;
}

.search_bar button {
    padding: 10px 20px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 600;
}

.search_bar button:hover {
    background-color: #940dfc;
    color: #fff;
}


.discover {
    background-color: #111;
    padding: 50px 0;
    color: white;
    text-align: center;
}

.discover h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-shadow: 0 15px 20px rgba(255, 8, 218, 0.88);
}

/* Cards Section */

.discover_wrapper {
    display: flex; 
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background-color: #171717;
    margin: 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    width: calc(33.33% - 20px); 
    box-shadow: 0 15px 20px rgba(255, 8, 218, 0.88);
    transition: transform 0.3s; 
}

.card:hover {
    transform: scale(1.03); 
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.5;
}

.card_icon {
    width: 230px;
    height: auto;
    margin-bottom: 20px;
}

/* Feedback Section */
.feedback {
    background-color: #111;
    padding: 40px;
    border-radius: 8px;
    margin: 20px auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 6px rgba(255, 8, 218, 0.88);
}

.feedback h2 {
    font-size: 36px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
}

.feedback p {
    font-size: 16px;
    color: #bbb;
    text-align: center;
    margin-bottom: 20px;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    background-color: #323232;
    color: white;
}

textarea {
    resize: vertical;
}

input[type="submit"] {
    background-color: #940dfc;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: white;
    color: #940dfc;
}

/* Footer */

footer {
    background-color: #323232;
    display: flex;
    align-items: center;
    justify-content: center; 
    flex-direction: column; 
    padding: 20px 32px; 
    font-weight: 500;
    text-align: center;
}

.footer_info ul {
    text-transform: capitalize;
    list-style: none; 
    display: flex; 
    gap: 15px;
    justify-content: center; 
    margin-bottom: 10px; 
}

.footer_info ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px; 
    transition: color 0.3s ease;
}

.footer_info ul li a:hover {
    color: #940dfc;
}

.footer_socials {
    display: flex;
    justify-content: center; 
    gap: 15px;
    margin-top: 10px;
}

.footer_socials a i {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer_socials a i:hover {
    color: #940dfc;
}

.footer_copyright {
    color: white;
    margin: 10px 0;
}

/* Responsiveness */

@media (max-width: 768px) {
    .footer_info ul {
        flex-direction: column;
        gap: 10px;
    }
}


@media (max-width: 768px) {
    footer {
        flex-direction: column; 
        align-items: center;
    }

    .footer_info ul {
        flex-direction: column;
        align-items: center;
    }

    .footer_socials {
        margin-top: 10px;
    }
}

@media (max-width: 1024px) {
    .navbar h1 {
        padding-left: 20px;
    }

    .card {
        width: calc(50% - 20apx); 
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%; 
    }

    .hero_content h2 {
        font-size: 36px; 
    }

    .search_bar input {
        width: 100%; 
    }
}
