:root {
    --brand-purple: #6f42c1; /* Exact purple from your logo */
    --brand-purple-darker: #5a37a0; /* Slightly darker purple for hover states */
    --brand-purple-light: #e0d4fc; /* Lighter lavender for MVV section */
    --text-dark: #333;
    --text-muted: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --purple: #6f42c1;
    --purple-dark: #5a37a0;
    --text-main: #221b3a;
    --border-color: #e5e5f0;
    --radius-lg: 18px;
}

.cf-turnstile {
    display: inline-block;
    margin-left: auto; 
    margin-right: 0;
    text-align: right;
    float: right;
    clear: both;
}

.turnstile-container {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0;
    width: 100%;
}

.turnstile-container .cf-turnstile {
    margin: 0;
}

.form-turnstile-wrapper {
    text-align: right;
    margin: 20px 0;
}

/* Force only modal-body to scroll */
.modal-dialog {
    max-width: 900px;
    margin: 1.75rem auto;
}

.modal-content {
    max-height: calc(100vh - 15rem);
    display: flex;
    flex-direction: column;
}

.modal-header,
.modal-footer {
    flex-shrink: 0;
}

.modal-body {
    overflow-y: auto !important;
    padding-right: 15px;
}

.modal-title {
	color: var(--brand-purple);
	font-weight:bold;
}

.btn-secondary{
	background-color: var(--brand-purple);
}

.large-btn {
	margin: 10px 30px 10px 30px !important;
    width: 300px !important;
    height: 100px !important;
}

.hiring-container
{
	text-align:center;
}

.hiring-info-btn {
	display:block;
	margin-top:20pt;
}

/* Label */
.sd-file-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2a2340;
}

/* Wrapper */
.sd-file-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #eceaf3;
    border-radius: 14px;
    padding: 7px 14px;
    position: relative;
}

/* Fake filename text */
.sd-file-name {
    font-size: 0.95rem;
    color: #6f6a87;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 65%;
}

/* Hidden original input */
.sd-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Custom browse button */
.sd-file-btn {
    background: var(--brand-purple);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light); /* Light background for body */
}

.primary-color {
    color: var(--brand-purple);
}

/* Navbar */
.navbar {
    background-color: var(--bg-white) !important;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.navbar-brand svg {
    height: 35px; /* Adjust logo height */
    width: auto;
    margin-right: 10px;
}
.navbar-brand .logo-text {
    color: var(--brand-purple);
    font-weight: 700;
    font-size: 1.6rem;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin-right: 25px;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-purple) !important;
    transform: translateY(-2px);
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--brand-purple);
    border-radius: 2px;
}

/* About Us Section */
.about-section {
    padding: 25px 0;
    background-color: var(--bg-white);
}
.about-section h1 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 30px;
    line-height: 1.2;
}
.about-section p {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}
.about-section .illustration-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.about-section .illustration {
    max-width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}
.about-section .illustration:hover {
    transform: translateY(-5px);
}

/* Mission, Vision, Values Section */
.mvv-section {
    padding: 100px 0;
    background-color: var(--brand-purple-light);
    text-align: center;
}
.mvv-section h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 70px;
}
.mvv-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.mvv-card .icon {
    font-size: 4rem;
    color: var(--brand-purple);
    margin-bottom: 30px;
}
.mvv-card h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brand-purple);
    margin-bottom: 20px;
}
.mvv-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--brand-purple);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 0.95rem;
    text-align: center;
	margin-top: 40px;
}
.footer .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.footer .logo-container svg {
    height: 35px;
    width: auto;
    margin-right: 10px;
}
.footer .logo-container .logo-text {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--bg-white);
}
.footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
}
.footer .footer-nav li {
    margin: 0 15px;
}
.footer .footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer .footer-nav a:hover {
    color: var(--bg-white);
}
.footer .social-icons a {
    color: var(--bg-white);
    font-size: 1.7rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}
.footer .social-icons a:hover {
    color: var(--brand-purple-light);
    transform: translateY(-3px);
}
.footer .copyright {
    margin-top: 40px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

h2 {
    color: var(--brand-purple) !important;
}

.fs-36 {
    font-size: 36px !important;
}

.nav-item {
    font-size: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
}

.careers-page {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

/* LEFT SIDE */

.careers-left h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.careers-left p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 370px;
}

.careers-left .subtitle {
    margin-top: 40px;
    font-size: 36px;
    font-weight: 700;
}

.careers-left .btn-primary {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--purple);
    border-radius: 999px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(108, 74, 242, 0.35);
    transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.careers-left .btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(108, 74, 242, 0.45);
}

.contact-details {
    margin-top: 40px;
    display: grid;
    gap: 18px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--purple);
}

/* RIGHT SIDE */

.careers-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-illustration {
    width: 100%;
    border-radius: 32px;
    background: radial-gradient(circle at top right, #f3e9ff, #f9f7ff 45%, #ffffff 80%);
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder illustration – може да го смениш с <img> */
.hero-figure {
    width: 220px;
    height: 160px;
    border-radius: 28px;
    background: linear-gradient(135deg, #7c5bff, #a36bff);
    position: relative;
    overflow: hidden;
}

.hero-figure::before {
    content: '';
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-figure::after {
    content: '👨‍💼';
    position: absolute;
    right: 18px;
    bottom: 18px;
    font-size: 38px;
}

.careers-right h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 22px 22px 26px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #3b3b52;
}

.form-input,
.form-textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #b0b0c7;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(108, 74, 242, 0.18);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 150px;
    margin-top: 6px;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: var(--purple);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(108, 74, 242, 0.35);
    transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-submit:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(108, 74, 242, 0.45);
}

body {
    background-color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--sd-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.page-wrapper {
    display: flex;
    align-items: center;
    padding: 40px 15px;
}

.careers-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
}

.lead-text {
    color: var(--sd-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.btn-primary-sd {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
    border-radius: 999px;
    padding: 0.8rem 2.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
}

.btn-primary-sd:hover {
    background-color: var(--brand-purple-darker);
    border-color: var(--brand-purple-darker);
    color: var(--bg-white);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
    color: var(--sd-text-dark);
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f0ecff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    color: var(--brand-purple);
    font-size: 1.2rem;
}

.contact-text {
    font-size: 0.95rem;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
}

.contact-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
}

.form-control {
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    border-color: #eceaf3;
}

.form-control:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.2rem rgba(107, 77, 245, 0.15);
}

.btn-submit {
    width: 100%;
    border-radius: 999px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 1rem;
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
}

.btn-submit:hover {
    background-color: var(--brand-purple-darker);
    border-color: var(--brand-purple-darker);
}

.btn-primary-sd-l {
    background-color: var(--bg-white);
    color: black;
    border-radius: 12px;
    width: 100%;
}

@media (max-width: 991.98px) {
    .page-wrapper {
        padding-top: 30px;
    }
    .careers-title {
        font-size: 2.4rem;
    }
    .subtitle {
        font-size: 2rem;
    }
    .contact-title {
        margin-top: 1rem;
    }
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .careers-container {
        grid-template-columns: 1fr;
    }

    .careers-page {
        padding: 24px 16px 40px;
    }

    .careers-left h1 {
        font-size: 40px;
    }

    .careers-left .subtitle {
        margin-top: 30px;
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .careers-left h1 {
        font-size: 32px;
    }

    .careers-left .subtitle {
        font-size: 26px;
    }

    .nav-link.active:after {
        display: none;
    }
}