:root {
    --primary: #00864b;
    --primary-dark: #006035;
    --primary-light: #e6f3ec;
    --accent: #fdc72f;
    --accent-hover: #e5b323;
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-light: #f5f5f5;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.5rem;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 700;
    color: var(--primary);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light) !important;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Utilities - Moved to ensuring override or use !important if needed, but here we will fix specificity/order issues */

/* Header */
.site-header {
    background: var(--bg-white);
    padding: 0.5rem 0;
    /* Reduced from 1rem */
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .logo {
    height: auto;
    max-height: 84px;
    /* Reduced to 70% of 120px */
    max-width: 210px;
    /* Reduced to 70% of 300px */
    margin: 0 auto;
}

/* Visibility Utilities - Placed after other displays to ensure cascade or use !important */
.desktop-only-text {
    display: none !important;
}

.mobile-only-text {
    display: inline-flex !important;
}

/* Using inline-flex to match btn style */

@media (min-width: 768px) {
    .desktop-only-text {
        display: inline-flex !important;
    }

    .mobile-only-text {
        display: none !important;
    }
}


/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: var(--shadow);
    text-align: center;
    line-height: 1.2;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.alert-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.alert-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-body);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
}

.section-light {
    background-color: var(--bg-light);
}

.section-white {
    background-color: var(--bg-white);
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section-dark strong {
    color: var(--accent);
}

/* Evidence Block */
.evidence-image {
    margin: 2rem auto;
    max-width: 800px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.evidence-image figcaption {
    background: #eee;
    padding: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    color: #666;
}

/* Salary Card */
.salary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
    text-align: center;
}

.salary-card .card-title {
    color: var(--accent);
    font-size: 1.5rem;
}

.benefits-list {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefits-list li::before {
    content: "✓";
    color: var(--accent);
    margin-right: 0.5rem;
    font-weight: bold;
}

.salary-total {
    background: var(--accent);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: var(--radius);
    display: inline-block;
    font-weight: 700;
}

.salary-total span {
    display: block;
    font-size: 1.5rem;
}

/* Roles Grid */
.roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.role-card {
    background: var(--bg-white);
    padding: 1rem;
    /* Reduced from 1.5rem */
    border-radius: var(--radius);
    border: 1px solid #e5e5e5;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0px var(--primary-dark);
}

/* Contact Section */
.section-contact {
    text-align: center;
    background: var(--bg-white);
    border-top: 1px solid #eee;
}

/* Footer */
.site-footer {
    background: #111;
    color: #888;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* CTA Containers */
.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* FIXED class name form anime-pulse to animate-pulse */
.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Deskop adjustments */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title .highlight {
        display: inline;
    }

    .roles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .salary-card {
        max-width: 600px;
        margin: 2rem auto;
    }

    .site-header .logo {
        max-height: 120px;
        max-width: 300px;
    }

    .role-card {
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover,
.close-button:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.course-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-body);
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

.course-select:focus {
    outline: none;
    border-color: var(--primary);
}