/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* General body styles */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header styling */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #8864df;
}

ul {
    list-style: none;
    display: flex;
}

ul li {
    margin: 0 15px;
}

ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #8864df;
}

.btn {
    background-color: #8864df;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #6f4baf;
}

/* Hero section styling */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-background.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-top: 60px; /* to account for fixed header */
    background-image: url(b.jpg);
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta {
    background-color: #fff;
    color: #333;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta:hover {
    background-color: #ddd;
    color: #8864df;
}

/* Features section styling */
.features {
    padding: 60px 20px;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    color: #8864df;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #8864df;
}

/* Categories section styling */
.categories {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.categories h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #8864df;
}

.category-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.category-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    margin-bottom: 20px;
}

.category-item h3 {
    color: #333;
}

/* Footer styling */
footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #8864df;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #6f4baf;
}