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

header {
    background-color: #6a0dad; 
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    padding: 0;
    list-style: none;
    margin-top: 10px;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d1c4e9; 
}

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 0;
}

h2, h3 {
    color: #6a0dad;
}

.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    margin-top: 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #6a0dad;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #4527a0; 
}

.about-preview, .contact-preview {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f3e5f5; 
    border-left: 5px solid #6a0dad;
    border-radius: 5px;
}

.about-preview h3, .contact-preview h3 {
    margin-top: 0;
}

.learn-more, .contact-link {
    color: #6a0dad;
    text-decoration: none;
    font-weight: bold;
}

.learn-more:hover, .contact-link:hover {
    text-decoration: underline;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.product-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.learn-more-button {
    display: inline-block;
    background-color: #6a0dad;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.learn-more-button:hover {
    background-color: #4527a0;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-image {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-top: 0;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-form {
    margin-top: 30px;
    padding: 20px;
    background-color: #f3e5f5;
    border-left: 5px solid #6a0dad;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; 
}

.submit-button, .login-button, .create-account-button {
    display: inline-block;
    background-color: #6a0dad;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover, .login-button:hover, .create-account-button:hover {
    background-color: #4527a0;
}

.copyright-details {
    margin-top: 20px;
    padding: 20px;
    background-color: #f3e5f5;
    border-left: 5px solid #6a0dad;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #6a0dad;
    color: white;
    position: static;
    width: 100%;
}

footer p {
    margin: 0;
}

footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: static;
    width: 100%;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section {
    margin-bottom: 20px;
    text-align: left;
}

.footer-section h3 {
    color: #fff;
    border-bottom: 2px solid #6a0dad;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #6a0dad;
}

.footer-section form input[type="email"] {
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
}

.footer-section form button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: #6a0dad;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-section form button:hover {
    background-color: #4527a0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

.checkout-button {
    display: inline-block;
    background-color: #6a0dad; 
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-button:hover {
    background-color: #4527a0;
}

main section {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

main section h2 {
    color: #6a0dad;
    margin-bottom: 20px;
    text-align: center;
}

main section form label {
    display: block;
    margin-top: 10px;
    color: #555;
}

main section form input[type="text"],
main section form textarea,
main section form select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

main section form input[type="text"]:focus,
main section form textarea:focus,
main section form select:focus {
    border-color: #6a0dad;
    outline: none;
}

main section form input[type="submit"] {
    background-color: #6a0dad;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

main section form input[type="submit"]:hover {
    background-color: #4527a0;
    transform: scale(1.05);
}

main section h3 {
    margin-top: 20px;
    color: #6a0dad;
}

main section p {
    margin-bottom: 10px;
}
