@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #fdfdfd;
    background: linear-gradient(135deg, #e8f0fe 0%, #ffffff 100%);
    min-height: 100vh;
    color: #1a2b4c;
    overflow-x: hidden;
    padding-top: 0;
}

/* Header */
.site-header {
    background: #ffffff;
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 100px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .site-logo {
    transform: scale(1.02);
}

/* Background Decoration */
.bg-circle {
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.bg-circle-1 {
    width: 500px;
    height: 500px;
    background: #c2e0ff;
    top: -100px;
    left: -100px;
    opacity: 0.6;
}

.bg-circle-2 {
    width: 600px;
    height: 600px;
    background: #e6e6fa;
    bottom: -150px;
    right: -100px;
    opacity: 0.5;
}

/* Layout */
.app-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 1);
    height: fit-content;
    position: sticky;
    top: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.sidebar-header h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.8rem;
    color: #1a2b4c;
    font-weight: 700;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.95rem;
}

.filter-group label i {
    margin-right: 8px;
    color: #3a7bd5;
}

.filter-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1a2b4c;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #fff;
}

.filter-group select option {
    background: #fff;
    color: #1a2b4c;
}

/* Statistics Widget */
.stats-container {
    margin-top: 2rem;
    padding-top: 1rem;
}

.stat-item {
    margin-bottom: 1.2rem;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 600;
}

.stat-bar-bg {
    width: 100%;
    height: 6px;
    background: #edf2f7;
    border-radius: 6px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 6px;
    width: 0%;
    transition: width 1s ease-out;
}

.stat-count {
    color: #3b82f6;
    font-weight: 700;
}

/* Main Content */
.main-content {
    flex-grow: 1;
}

/* Brand Header Styling */
.main-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.brand-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1a2b4c;
    border: none;
    box-shadow: none;
    background: none;
    text-shadow: none;
    padding: 0;
}

.brand-title .highlight {
    color: #3b82f6;
    background: none;
    text-shadow: none;
    font-style: normal;
    -webkit-text-fill-color: initial;
}

.main-header p {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 400;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

.country-pill {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f1f5f9;
    color: #1e293b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

.country-pill img,
.country-pill i {
    margin-right: 5px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card .logo-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 3px solid #fff;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card .logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .logo-placeholder {
    font-size: 2rem;
    color: #94a3b8;
    font-weight: bold;
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a2b4c;
}

.card .badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: inline-block;
    border: 1px solid #bae6fd;
}

.card .description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card .meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

.card .meta i {
    color: #3b82f6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.social-btn {
    text-decoration: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.social-btn.instagram:hover {
    color: #E1306C;
    border-color: #E1306C;
    background: #fff0f5;
}

.social-btn.facebook:hover {
    color: #1877F2;
    border-color: #1877F2;
    background: #eff6ff;
}

/* Responsive */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        padding: 1.5rem;
    }

    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 1rem;
    }

    .brand-title {
        font-size: 2.2rem;
    }
}