body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: black;
    color: white;
}

/* header section */
header {
    background: red;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 2px;
}

nav a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: black;
}

/* the top border content */
.hero {
    padding: 80px 40px;
    background: linear-gradient(135deg, red 50%, black 50%);
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    max-width: 600px;
    font-size: 18px;
}

/* Main content */
main {
    padding: 50px 40px;
    max-width: 900px;
    margin: auto;
}

section {
    margin-bottom: 40px;
}

h3 {
    color: red;
    margin-bottom: 10px;
    font-size: 22px;
}

/* Hover style */
.card {
    background: #111;
    padding: 20px;
    border-left: 5px solid red;
    margin-top: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #111;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px;
}

/* Character cards */
.service-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    margin: 10px;
}

.service-card p {
    padding: 0 10px 15px;
    font-size: 0.9rem;
}


.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}
/* mobile stuff */


@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h2 {
        font-size: 24px;
    }

}
