/* IMA Corporate Color Palette */
:root {
    --ima-blue: #004a99; /* Deep, professional blue */
    --ima-light-blue: #007bff; /* Accent blue */
    --ima-grey: #495057;
    --ima-light-grey: #f8f9fa;
    --ima-white: #ffffff;
}

/* Global Reset and Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--ima-grey);
    background-color: var(--ima-light-grey);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styling */
.main-header {
    background-color: var(--ima-blue);
    color: var(--ima-white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid var(--ima-light-blue);
}

.main-header h1 {
    font-weight: 700;
    font-size: 2.5em;
    margin-bottom: 5px;
}

.main-header p {
    font-weight: 300;
    font-size: 1.1em;
}

.logo {
    /* Placeholder for a real logo image */
    width: 60px; 
    height: 60px;
    background-color: var(--ima-light-blue);
    border-radius: 50%;
    margin-bottom: 10px;
    display: inline-block;
}

/* Hero Section (The Main Invitation) */
.hero {
    background-color: var(--ima-white);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.hero .pre-heading {
    color: var(--ima-light-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 3.2em;
    color: var(--ima-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

.job-card {
    background-color: var(--ima-light-grey);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 40px;
    border-left: 5px solid var(--ima-light-blue);
    text-align: left;
}

.job-card .job-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--ima-blue);
    margin-bottom: 10px;
}

.job-detail {
    margin: 5px 0;
    font-weight: 400;
}

/* Call to Action Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
}

#accept-btn {
    background-color: #28a745; /* Green for acceptance */
    color: var(--ima-white);
}

#accept-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.secondary-button {
    background-color: var(--ima-grey);
    color: var(--ima-white);
}

.secondary-button:hover {
    background-color: #343a40;
    transform: translateY(-2px);
}

/* Details and Next Steps Sections */
.details-section, .next-steps-section {
    padding: 60px 0;
}

.details-section {
    background-color: var(--ima-white);
}

h3 {
    text-align: center;
    color: var(--ima-blue);
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--ima-light-blue);
    margin: 10px auto 0;
}

.grid-layout {
    display: flex;
    gap: 30px;
}

.feature-box {
    flex: 1;
    padding: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}

.feature-box:hover {
    box-shadow: 0 10px 20px rgba(0, 74, 153, 0.1); /* Subtle IMA blue shadow */
}

.feature-box h4 {
    color: var(--ima-blue);
    margin: 15px 0 10px;
}

.feature-box i {
    /* Placeholder for icons, would use Font Awesome in a real scenario */
    font-size: 30px;
    color: var(--ima-light-blue);
}

.next-steps-section ol {
    list-style-type: decimal;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 20px;
    font-size: 1.1em;
}

.next-steps-section li {
    background-color: var(--ima-white);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--ima-light-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Footer Styling */
footer {
    background-color: var(--ima-grey);
    color: var(--ima-white);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Modal Styling (for the acceptance/rejection) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: var(--ima-white);
    margin: 15% auto; /* 15% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.modal-content h2 {
    color: var(--ima-blue);
    margin-bottom: 20px;
}

.modal-message {
    font-size: 1.2em;
    color: var(--ima-blue);
    font-weight: 700;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.footnote {
    margin-top: 20px;
    font-style: italic;
    font-size: 0.9em;
    color: var(--ima-grey);
}