/* --- Base Variables & Reset --- */
:root {
    --primary: #7a2b2b;
    --primary-hover: #5c1f1f;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #ffffff;
    --bg-light: #fdfaf5;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary);
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--bg-main);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

/* --- Buttons --- */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-small {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--primary);
    text-decoration: none;
    transition: 0.3s;
    margin-top: auto;
}

.btn-outline-small:hover {
    background: var(--primary);
    color: white;
}

/* --- Hero Section --- */
.hero-section {
    height: 500px;
    background: linear-gradient(rgba(122, 43, 43, 0.85), rgba(122, 43, 43, 0.85)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1200&q=80') center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.search-container input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.search-container button {
    padding: 18px 30px;
    border: none;
    background: #d8c3a5;
    color: #2c2c2c;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: 0.3s;
}

.search-container button:hover {
    background: #cbb494;
}

/* --- Generic Layouts --- */
.section {
    padding: 80px 8%;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Cards --- */
.card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Option Cards */
.option-card { text-align: center; }
.card-blue { border-bottom: 4px solid #3498db; }
.card-yellow { border-bottom: 4px solid #f1c40f; }
.card-red { border-bottom: 4px solid #e74c3c; }

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.blue-bg { background: #ebf5fb; color: #3498db; }
.yellow-bg { background: #fef9e7; color: #f1c40f; }
.red-bg { background: #fdedec; color: #e74c3c; }

.option-card h3 { color: var(--text-main); margin-bottom: 15px; }
.option-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Job Cards */
.job-card {
    border-top: 5px solid var(--primary);
    padding: 30px;
    align-items: flex-start;
}

.job-card h3 { color: var(--text-main); font-size: 1.25rem; margin-bottom: 5px; }
.job-meta { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 15px; }
.job-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; }

/* --- Tags (Industries) --- */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.tag {
    padding: 12px 25px;
    background: white;
    border-radius: 50px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* --- Vision Section --- */
.vision-section {
    padding: 80px 20px;
    background: var(--primary);
    color: white;
    text-align: center;
}

.vision-content {
    max-width: 700px;
    margin: 0 auto;
}

.vision-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #222;
    color: #888;
    font-size: 0.9rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 20px; padding: 20px; }
    .hero-content h1 { font-size: 2.2rem; }
    .search-container { flex-direction: column; border-radius: 0; box-shadow: none; gap: 10px; }
    .search-container input, .search-container button { border-radius: 8px; width: 100%; }
    .section { padding: 50px 20px; }
}