/* Global styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: white;
    height: 100vh;
}

/* Container for responsive layout */
.container {
    width: 85%;
    margin: 0 auto;
}

/* Header Section */
.header {
    padding: 20px 0;
    background-color: #0d1f33;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.help-center {
    margin-left: 10px;
    font-size: 18px;
}

.header-right {
    display: flex;
    align-items: center;
}

.dashboard-link {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language-selector span {
    margin-left: 5px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.title {
    font-size: 28px;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
}

.search-input {
    width: 50%;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    background-color: #1c2b44;
    color: white;
    outline: none;
}

.search-input::placeholder {
    color: #c3c3c3;
}

/* Category Cards Section */
.categories {
    text-align: center;
    margin-top: 40px;
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background-color: white;
    color: #0d1f33;
    width: 200px;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.card p {
    font-size: 14px;
    color: #666;
}


/* Ensure the entire card is clickable */
.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card {
    transform: scale(1.05);
}








.popular-articles {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .popular-articles h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
  }
  
  .articles-list {
    list-style-type: none;
    padding: 0;
  }
  
  .articles-list li {
    margin: 10px 0;
  }
  
  .articles-list a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 18px;
  }
  
  .articles-list a:hover {
    text-decoration: underline;
  }
  





     /* Basic reset */
     * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, sans-serif;
    }

    /* Header styling */
    .header {
        background-color: #2c3e50; /* Dark background similar to screenshot */
        height: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Logo text */
    .header h1 {
        color: white;
        font-size: 36px;
        font-weight: bold;
        letter-spacing: 0.1em;
    }

    /* Adjust logo color to match screenshot */
    .header h1 span {
        color: #f1c40f;
    }