/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Prevents layout sizing bugs */
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background-color: #f4f7fb;
    color: #333;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f10b0b;
    padding: 20px 10%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #f51616; /* Theme main color */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f08b06;
}

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #ee1304, #f13c04);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Button UI */
.btn {
    display: inline-block;
    background: white;
    color: #be5007;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Main Layout Grid */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.features {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.card {
    background: white;
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: #eb06f3;
    margin-bottom: 12px;
}

/* Footer styling */
.footer {
    background-color: #222;
    color: #bbb;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}

/* Mobile Responsiveness Rules */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        padding: 0;
    }

    .features {
        flex-direction: column; /* Stack cards vertically on phones */
    }
}
