    *,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #111827;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */

.site-header {
    background: #0f172a;
    color: #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    /* Replace background with your image */
    background: url('../assets/images/logo.png') no-repeat center center;
    background-size: cover; /* Ensures the image covers the circle */
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white; /* This color will only be visible if you still use text */
}

.brand-title {
    font-weight: 700;
    font-size: 18px;
}

.brand-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
}

/* HERO */

.hero {
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
    color: white;
    padding: 32px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.hero p {
    font-size: 15px;
    max-width: 420px;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.1s ease;
}

.btn.primary {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(56, 189, 248, 0.3);
}

.btn.ghost {
    background: transparent;
    color: white;
    border-color: rgba(148, 163, 184, 0.7);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
}

.hero-card {
    background: rgba(15, 23, 42, 0.92);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.hero-card h2 {
    font-size: 18px;
    margin-top: 0;
}

.hero-field {
    margin-top: 10px;
}

.hero-field label {
    font-size: 12px;
    opacity: 0.8;
    display: block;
    margin-bottom: 4px;
}

.hero-field input[type="text"],
.hero-field input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

.hero-note {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
}

/* CHIPS */

.region-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    border-radius: 999px;
    border: 1px solid #1e293b;
    font-size: 12px;
    padding: 4px 10px;
    background: #020617;
    color: #e5e7eb;
    cursor: pointer;
    opacity: 0.85;
}

.chip.active {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
    opacity: 1;
}

/* SECTIONS */

.section {
    margin-top: 32px;
    padding: 24px 0;
}

.section-alt {
    background: #e5e7eb;
    border-radius: 16px;
    padding: 24px 18px;
}

.section h2 {
    margin-top: 0;
    font-size: 22px;
}

.section-subtitle {
    font-size: 13px;
    color: #6b7280;
}

/* GRID SYSTEM */

.cards-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.cards-grid.three {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* COUNTRY CARDS */

.country-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.country-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.country-thumb {
    height: 130px;
    background-size: cover;
    background-position: center;
}

.country-thumb.placeholder {
    background: linear-gradient(135deg, #c4b5fd, #38bdf8);
}

.country-content {
    padding: 12px 14px 14px;
}

.country-content h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.country-region {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.country-description {
    font-size: 13px;
    margin: 8px 0 10px;
    color: #4b5563;
}

.country-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: #e0f2fe;
    color: #0369a1;
}

.badge.outline {
    background: #eff6ff;
    color: #1d4ed8;
}

/* ========================= */
/*   TOP CITIES SECTION      */
/* ========================= */

.city-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
}

.city-thumb {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.city-card h3 {
    margin: 12px 0 4px;
    padding: 0 14px;
}

.city-card p {
    padding: 0 14px 10px;
    font-size: 13px;
    color: #4b5563;
}

/* ========================= */
/*  BUDGET CALCULATOR        */
/* ========================= */

.calculator {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculator select,
.calculator input {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.calc-result {
    margin-top: 6px;
    font-weight: 600;
    color: #1d4ed8;
}

/* ========================= */
/*        FUN FACTS          */
/* ========================= */

.fun-facts {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 14px;
}

.fun-facts li {
    margin-bottom: 6px;
}

/* ========================= */
/*         NEWS BOX          */
/* ========================= */

.news-box {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.news-box article {
    background: white;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.news-box h3 {
    margin: 0 0 6px;
}

.news-box p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

/* FOOTER */

.site-footer {
    margin-top: 32px;
    padding: 18px 0 28px;
    background: #0f172a;
    color: #9ca3af;
}

.footer-inner {
    text-align: center;
    font-size: 13px;
}

.footer-small {
    font-size: 11px;
    opacity: 0.85;
}
