﻿/* --- GENERAL STYLES --- */
:root {
    --primary-dark: #2A3B4C;
    --primary-blue: #008CBA;
    --accent-red: #D9534F;
    --light-gray: #f4f7f6;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
header {
    background-color: #fff;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo span {
        color: var(--accent-red);
    }

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

    nav a:hover, nav a.active {
        color: var(--primary-blue);
    }

.btn-login {
    background-color: #3b5975;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* --- PAGE HEADER --- */
.page-header {
    background: linear-gradient(rgba(42, 59, 76, 0.8), rgba(42, 59, 76, 0.8)), url('https://images.unsplash.com/photo-1576201836106-db1758fd1c97?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

    .page-header h1 {
        font-size: 42px;
        margin: 0;
    }

/* --- SERVICES SECTIONS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-bottom: 3px solid var(--accent-red);
    }

.icon-box {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

    .btn-cta:hover {
        background-color: #c9302c;
    }

footer {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
