/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Color Palette */
:root {
    --primary-blue: #1857b6;
    --primary-blue-dark: #143f7c;
    --accent-orange: #fa9e2c;
    --accent-orange-dark: #ec7a00;
    --white: #ffffff;
    --gray-medium: #edf1f7;
    --text: #1a2340;
    --nav-link: #275fa7;
    --nav-link-hover: #fa9e2c;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--white);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 6px rgba(24,87,182,0.04);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: var(--accent-orange);
    text-shadow: 1px 1px 0 var(--primary-blue-dark);
}

nav a {
    margin-left: 2rem;
    font-size: 1rem;
    color: var(--nav-link);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}

nav a:hover {
    color: var(--accent-orange);
    border-bottom: 2px solid var(--accent-orange);
}

/* Search Section */
.search-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: var(--gray-medium);
}

.search-form {
    width: 100%;
    max-width: 480px;
    background: var(--white);
    border-radius: 2rem;
    box-shadow: 0 4px 24px 0 rgba(24,87,182,0.10);
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-orange);
    transition: box-shadow 0.2s, border 0.2s;
}

.search-form:focus-within {
    box-shadow: 0 8px 32px 0 rgba(24,87,182,0.18);
    border: 2px solid var(--primary-blue);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    outline: none;
    color: var(--text);
}

.search-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 1.5rem;
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s;
    border: 2px solid var(--primary-blue);
}

.search-btn:hover,
.search-btn:focus {
    background: var(--accent-orange);
    color: var(--white);
    border: 2px solid var(--accent-orange-dark);
}

/* Footer */
footer {
    background: var(--primary-blue-dark);
    color: var(--white);
    padding: 1.2rem 0;
    text-align: center;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 600px) {
    .header-container, .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    nav a {
        margin-left: 1.2rem;
        font-size: 0.97rem;
    }
    .search-form {
        flex-direction: column;
        padding: 0.7rem 0.7rem;
        box-shadow: 0 2px 12px rgba(24,87,182,0.14);
    }
    .search-input {
        width: 100%;
        margin-bottom: 0.7rem;
        padding: 0.65rem 0.8rem;
    }
    .search-btn {
        width: 100%;
        padding: 0.65rem 0;
    }
}