/* --- 1. VARIABLES & RESET (Dark Theme) --- */
:root {
    --primary-color: #00bcd4; /* Cyan/Aqua - High-Tech Accent Color */
    --secondary-color: #00796b; /* Dark Teal - Secondary Accent */
    --background-dark: #1e1e1e; /* IDE Dark Background */
    --background-light: #252526; /* Secondary Dark Background for cards */
    --text-light: #f0f0f0; /* Light Text */
    --text-muted: #aaaaaa; /* Muted Secondary Text */
    --font-family: 'Consolas', 'Source Code Pro', monospace, sans-serif; /* Tech-Oriented Font */
    --padding-base: 5%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    scroll-behavior: smooth;
}

/* --- 2. LAYOUT & TYPOGRAPHY --- */
main {
    padding: 2rem var(--padding-base);
    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 188, 212, 0.5); /* Subtle glowing effect */
    margin-bottom: 0.5rem;
}

p.subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- 3. HEADER & NAVIGATION --- */
header {
    background-color: var(--background-light);
    border-bottom: 2px solid var(--secondary-color);
    padding: 1rem var(--padding-base);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s, background-color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 188, 212, 0.1);
    border-radius: 4px;
}

.cta-link {
    background-color: var(--primary-color) !important;
    color: var(--background-dark) !important;
    border-radius: 4px;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
}

/* --- 4. BUTTONS & UTILITIES --- */
.button-primary, .button-secondary, .button-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-dark);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.button-primary:hover, .button-secondary:hover, .button-small:hover {
    background-color: #00e5ff; /* Lighter shade on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.4);
}

/* --- 5. ROLE CARDS (Advanced Styling) --- */
.roles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.role-card {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s;
}

.role-card:hover {
    transform: translateY(-8px);
    border-left: 5px solid var(--primary-color); /* Highlight on hover */
}

.role-card h2 {
    font-size: 1.5rem;
    color: var(--text-light);
}

.role-card p {
    color: var(--text-muted);
}

.qualification {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.skills-list {
    margin-bottom: 1.2rem;
    padding-top: 0.5rem;
}

.skill-tag {
    display: inline-block;
    background-color: rgba(0, 188, 212, 0.1); /* Transparent primary color */
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.3rem 0.6rem;
    margin: 0.2rem 0.2rem 0.2rem 0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* --- 6. IMPORTANT NOTE SECTION (Tech Alert) --- */
.important-note {
    grid-column: 1 / -1;
    background-color: var(--background-light);
    padding: 1.5rem;
    border: 1px solid #ff9800; /* Amber Warning */
    border-radius: 4px;
    margin-top: 2rem;
    color: var(--text-light);
}

.important-note h3 {
    color: #ff9800;
}

/* --- 7. FOOTER --- */
footer {
    background-color: var(--background-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.85rem;
}

/* --- Roles Page Specific Layout --- */
/* Overrides the main roles-container for the full page */
.roles-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.roles-disclaimer {
    grid-column: 1 / -1; /* Ensures the disclaimer spans across all columns */
}

/* --- Application Form Specific Styles (apply.html) --- */

.form-section {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 3px solid var(--secondary-color);
}

.form-section h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-light);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: var(--text-light);
    font-family: var(--font-family);
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea {
    resize: vertical;
}

.file-note {
    font-size: 0.9rem;
    color: #ff9800; /* Warning color for important file info */
    margin-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px; /* Adjust alignment with text */
    min-width: 15px; /* Ensure clickability */
}

.checkbox-group label {
    display: inline;
    font-weight: normal;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.submit-area {
    text-align: center;
    padding: 2rem 0;
}