/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #134F78;
    --accent-green: #59B997;
    --detail-yellow: #FFDC5B;
    --bg-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --gray-bg: #F5F7FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 5%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjust based on actual logo aspect ratio */
    width: auto;
}

/* Hero Section */
.hero {
    color: white;
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.5);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(19, 79, 120, 0.8) 0%, rgba(89, 185, 151, 0.6) 100%);
    z-index: 1;
}

/* Existing decorative circle removed for cleaner hero with image background */

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Jobs Grid */
.jobs-section {
    padding: 4rem 5%;
    background-color: var(--gray-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-green);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.job-icon-container {
    width: 48px;
    height: 48px;
    background-color: rgba(89, 185, 151, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
}

.job-icon-container i {
    width: 24px;
    height: 24px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(19, 79, 120, 0.08); /* Colored shadow */
    border-color: rgba(89, 185, 151, 0.3);
}

.job-title {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.job-meta {
    margin-bottom: 1rem;
    display: flex;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-exp {
    background-color: rgba(89, 185, 151, 0.1);
    color: var(--accent-green); /* Using darker green for text readability */
    /* If contrast is low, we might need a darker variant of the green */
}

/* Special styling for experience badge text for better contrast if needed, 
   but using the primary green works well on light bg usually. */

.job-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes content to fill space */
}

.apply-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-green);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.apply-btn:hover {
    background-color: #48a585; /* Slightly darker green */
    transform: scale(1.02);
}

.apply-btn:active {
    transform: scale(0.98);
}

/* Subtle Yellow Accent - maybe for a "New" badge or decorative dot?
   Keeping it minimal as requested. */
.decoration-dot {
    width: 8px;
    height: 8px;
    background-color: var(--detail-yellow);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}


/* Footer */
footer {
    background-color: #0a2d45; /* Slightly darker than primary blue for depth */
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Make logo white if it's dark */
}

.footer-col p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.contact-info i {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.social-links a:hover {
    background-color: var(--accent-green);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Requirements Section */
.requirements-section {
    padding: 5rem 5%;
    background-color: white;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.requirements-section h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.conditions-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.req-list {
    list-style: none;
}

.req-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.req-list i {
    color: var(--accent-green);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 5%;
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
