/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #fff8f4;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 50px;
}

.nav-center .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links li a:hover {
    color: #d96d6f;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #d96d6f;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-cart {
    position: relative;
}

.cart-link {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    position: relative;
}

.cart-count {
    background-color: #d96d6f;
    color: white;
    font-size: 0.8rem;
    border-radius: 50%;
    padding: 2px 7px;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 30px 40px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #d96d6f;
}

.footer-logo img {
    height: 40px;
}

.footer-socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: #d96d6f;
}

/* Responsive Footer & Navbar */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }
}

/* Survey Form */
.survey-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.survey-container h2 {
    text-align: center;
    color: #E54E6D;
    margin-bottom: 30px;
}

.survey-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.survey-container select,
.survey-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 25px;
    border: 2px solid #E54E6D;
    border-radius: 5px;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #E54E6D;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #c33c58;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: #ddd;
    height: 8px;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background-color: #E54E6D;
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive Styles for Phone Screens */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        padding: 15px 20px;
    }

    .logo img {
        height: 40px;
    }

    .nav-center .nav-links {
        display: none;
        /* Hide nav-links on mobile */
    }

    .navbar.toggle .nav-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .nav-links li a {
        font-size: 1rem;
    }

    .nav-cart .cart-link {
        font-size: 1.3rem;
    }

    .cart-count {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    /* Survey Form */
    .survey-container {
        margin: 20px 15px;
        padding: 20px;
    }

    .survey-container h2 {
        font-size: 1.5rem;
    }

    .survey-container label {
        font-size: 1rem;
    }

    .survey-container select,
    .survey-container input {
        padding: 8px;
        margin-bottom: 15px;
    }

    /* Submit Button */
    .submit-btn {
        padding: 10px;
        font-size: 16px;
    }

    /* Progress Bar */
    .progress-container {
        height: 6px;
    }

    .progress-bar {
        height: 100%;
    }

    /* Footer */
    .footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-socials {
        gap: 10px;
    }

    .footer-socials a {
        font-size: 1.3rem;
    }
}

/* For very small screens */
@media (max-width: 480px) {

    /* Navbar */
    .navbar {
        padding: 10px 15px;
    }

    .logo img {
        height: 35px;
    }

    /* Survey Form */
    .survey-container {
        margin: 20px 10px;
        padding: 15px;
    }

    .survey-container h2 {
        font-size: 1.2rem;
    }

    .survey-container label {
        font-size: 0.9rem;
    }

    .survey-container select,
    .survey-container input {
        padding: 6px;
        margin-bottom: 10px;
    }

    /* Submit Button */
    .submit-btn {
        padding: 8px;
        font-size: 14px;
    }

    /* Progress Bar */
    .progress-container {
        height: 5px;
    }

    .progress-bar {
        height: 100%;
    }

    /* Footer */
    .footer {
        padding: 15px 10px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-socials a {
        font-size: 1.1rem;
    }
}