/* static/css/home.css */

/* =========================
   General Styles
   ========================= */
   body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc; /* Light gray-white background */
    color: #1e293b; /* Dark slate text */
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* =========================
   Header Styles
   ========================= */
.header {
    background: linear-gradient(to bottom, #e0f7fa, #ffffff); /* Light blue to white gradient */
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%; /* Circular logo */
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #007bff; /* Blue on hover */
}

.nav .cta-button {
    background-color: #ff69b4; /* Pink */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav .cta-button:hover {
    background-color: #ff1493; /* Darker pink */
}

/* =========================
   Hero Section
   ========================= */
.hero-section {
    background: linear-gradient(to bottom, #e0f7fa, #ffffff); /* Matches header gradient */
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #007bff; /* Blue highlight for 'Easiest' */
}

.hero-content p {
    font-size: 1.2rem;
    color: #666666; /* Gray subtext */
    margin-bottom: 30px;
}

.hero-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   Category Browsing Area
   ========================= */
.category-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
}

.category-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.category-section p {
    font-size: 1rem;
    color: #a9a9a9; /* Light gray subtext */
    margin-bottom: 30px;
}

/* =========================
   Job Postings Grid
   ========================= */
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px 0;
}

.job-card {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-10px);
}

.job-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.job-card .content {
    padding: 20px;
}

.job-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.job-card .location {
    font-size: 0.9rem;
    color: #a9a9a9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-card .location::before {
    content: '\1F4CD'; /* Unicode for pin icon */
    font-size: 1rem;
}

.job-card p {
    font-size: 1rem;
    color: #333333;
}

/* =========================
   Footer Section
   ========================= */
.footer {
    background-color: #f5f5f5; /* Light gray */
    padding: 50px 0;
    border-top: 1px solid #e0e0e0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    flex: 1;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.company-info-text {
    display: flex;
    flex-direction: column;
}

.company-info-text span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333333;
}

.company-info-text p {
    font-size: 0.9rem;
    color: #a9a9a9;
    margin: 5px 0 10px 0;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-link {
    color: #333333;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #007bff; /* Blue on hover */
}

.contact-us, .quick-links {
    text-align: center;
}

.contact-us h3, .quick-links h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.contact-us p {
    font-size: 0.9rem;
    color: #a9a9a9;
    margin: 5px 0;
}

.contact-us p a {
    color: #007bff;
    text-decoration: none;
}

.contact-us p a:hover {
    text-decoration: underline;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 5px;
}

.quick-links ul li a {
    font-size: 0.9rem;
    color: #a9a9a9;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-links ul li a:hover {
    color: #007bff;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-images {
        margin-top: 30px;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }
}