/* css/style.css - The "Inter" Update */

/* 1. IMPORT INTER FONT FROM GOOGLE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --gov-green: #006a4e;
    --gov-red: #f42a41;
    --gov-black: #0b0c0c;
    --link-blue: #1d70b8;
    --bg-grey: #f3f2f1;
    --border-grey: #b1b4b6;
    --focus-yellow: #ffdd00;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.2s ease-in-out; /* The secret to "smooth" feel */
}

body {
    font-family: 'Inter', sans-serif; /* The New Font */
    margin: 0;
    padding: 0;
    color: var(--gov-black);
    background-color: white;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Makes font look crisp */
}

/* --- INTERACTIVE HEADER --- */
.header {
    background-color: var(--gov-black);
    color: white;
    padding: 12px 0;
    border-bottom: 5px solid var(--gov-green);
}

.header-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px; /* Tighter tracking for modern look */
    transition: opacity 0.2s;
}

.header-logo:hover {
    opacity: 0.8;
}

/* --- LAYOUTS --- */
.main-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

.grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

/* --- INTERACTIVE COMPONENTS --- */

/* Hero Section */
.hero {
    background-color: var(--gov-green);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

/* Service Cards - NOW INTERACTIVE */
.service-card {
    border-top: 5px solid var(--gov-green);
    padding: 25px;
    background: var(--bg-grey);
    margin-bottom: 25px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition); /* Smooth animation */
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px); /* Lifts up slightly */
    box-shadow: var(--shadow-md); /* Shadow grows */
    background: white;
}

.service-card h3 { margin-top: 0; font-weight: 700; }
.service-card a { font-weight: 600; font-size: 18px; }

/* Buttons - "Tactile" Feel */
.btn-start {
    background-color: var(--gov-green);
    color: white;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 0 #004d38; /* 3D effect */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-start:hover {
    background-color: #00523c;
    transform: translateY(-2px); /* Button presses up */
    box-shadow: 0 6px 0 #003325;
}

.btn-start:active {
    transform: translateY(2px); /* Button presses down */
    box-shadow: 0 1px 0 #003325;
}

/* Inputs - Focus Glow */
.search-wrapper { max-width: 600px; margin: 20px auto; display: flex; }

.search-input {
    flex-grow: 1;
    padding: 14px;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    border: 2px solid var(--gov-black);
    border-radius: 4px 0 0 4px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--gov-green);
    box-shadow: 0 0 0 3px #ffdd00; /* Accessibility Glow */
}

.search-btn {
    width: 60px;
    background: var(--gov-black);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover { background: #333; }

/* --- TYPOGRAPHY & LINKS --- */
h1 { font-size: 48px; font-weight: 800; margin-top: 0; letter-spacing: -1px; }
h2 { font-size: 30px; font-weight: 700; border-bottom: 2px solid var(--gov-green); padding-bottom: 15px; }
h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }

a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: #003078;
    border-bottom-color: #003078; /* Underline grows in */
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-grey);
    padding: 50px 0;
    border-top: 1px solid var(--border-grey);
    margin-top: 80px;
    text-align: center;
    color: #666;
    font-weight: 500;
}

/* --- LOGO STYLING --- */
.gov-seal {
    height: 50px;       /* Sets a nice size for the header */
    width: auto;        /* Keeps the aspect ratio correct */
    margin-right: 15px; /* Adds space between logo and text */
    vertical-align: middle;
    transition: transform 0.3s ease; /* Adds a subtle interaction */
}

/* Interaction: Logo spins slightly or grows when hovered */
.header-container:hover .gov-seal {
    transform: scale(1.1); /* Logo grows 10% larger on hover */
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
    color: #505a5f;
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #505a5f; /* Keep them grey like the text */
    text-decoration: underline;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--gov-green); /* Turn green when hovered */
    text-decoration: none;
}