
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    background: #062749 !important;
    min-width: 300px;

}

/* ── HERO WRAPPER ── */
.hero-wrapper {
    position: relative;
    width: 100%;
    /* margin-top: 90px; */
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* ── BACKGROUND ── */

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/storage/assets/images/Hirin-gpage-image.png');
    background-size: cover;
    background-repeat: no-repeat;
    /* margin-top: -70px; */
    background-position: center;
    opacity: 0.45;
    z-index: 0;
}

.hero-bg,
.hero-bg-placeholder {
    overflow: hidden;
    border-radius: 0;
}
.about-section,
.positions-section,
.qualif-section,
.demo-section,
.comp-section,
.section-work {
    padding-left: 0;
    padding-right: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1320px !important;
    width: 100%;
    margin: 0 auto;
    padding-top: clamp(40px, 5vw, 70px);
    padding-bottom: clamp(40px, 5vw, 70px);
    margin-top: 50px;
    padding-left: 12px;
    padding-right: 12px;
}


/* ── CONTENT ── */

.hero-subtitle-tag {
    font-size: clamp(12px, 1.4vw, 16px);
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 75px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 clamp(20px, 3vw, 45px);
}

.hero-desc {
    font-size: clamp(13px, 1.5vw, 17px);
    color: #fff;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-highlight {
    font-size: clamp(13px, 1.5vw, 17px);
    color: #fff;
    line-height: 1.7;
    margin-bottom: 12px;
}

.hero-highlight strong {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #ffffff;
}

.hero-note {
    font-size: clamp(13px, 1.5vw, 17px);
    color: #fff;
    line-height: 1.6;
    margin-bottom: clamp(24px, 3vw, 36px);
}

/* ── BUTTONS ── */
.hero-cta-row {
    display: flex;
    gap: clamp(10px, 1.5vw, 16px);
    flex-wrap: wrap;
}

.btn-primary {
    background: #4a9ede;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 600;
    padding: clamp(10px, 1vw, 12px) clamp(20px, 2vw, 28px);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #2e88cc;
}

.btn-outline {
    background: transparent;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 600;
    padding: clamp(20px, 1vw, 20px) clamp(20px, 2vw, 28px);
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: border-color 0.2s;
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: #fff;
}

/* ── AVATARS ARC ── */

.av-slot {
    position: relative;
}

.av-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.35);
}

.av-img--featured {
    filter: brightness(1);
}

.av-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.av-person-svg {
    width: 75%;
    height: 75%;
}

.avatars-row {
    position: relative;
    z-index: 2;
    padding: 20px 0 clamp(40px, 5vw, 60px);
    /* overflow: visible; */
    /* max-width: 1320px;
     */
}

.avatars-row img{
    width: 100%;
}


.bg-note {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 5;
    pointer-events: none;
}
@media (max-width: 1100px) {
    .av-slot {
        width: clamp(40px, 13vw, 85px);
        height: clamp(52px, 17vw, 110px);
        border-radius: clamp(20px, 6.5vw, 44px);
    }
    .av-slot.near {
        transform: translateY(clamp(5px, 1.5vw, 14px));
    }
    .av-slot.far {
        transform: translateY(clamp(10px, 3vw, 28px));
    }
    .avatars-row {
        gap: clamp(3px, 1vw, 8px);
    }
}

@media (max-width: 500px) {
    .avatars-row {
        gap: clamp(3px, 1.5vw, 6px);
    }
    .av-slot {
        width: clamp(44px, 16vw, 70px);
        height: clamp(56px, 20vw, 88px);
        border-radius: clamp(16px, 7vw, 32px);
    }
    .av-slot.near {
        transform: translateY(clamp(4px, 1.5vw, 8px));
    }
    .av-slot.far {
        transform: translateY(clamp(6px, 2vw, 12px));
    }
}

@media (max-width: 360px) {
    .avatars-row {
        gap: 3px;
    }
    .av-slot {
        width: clamp(36px, 14vw, 54px);
        height: clamp(46px, 17vw, 66px);
        border-radius: clamp(14px, 6vw, 26px);
    }
    .av-slot.near {
        transform: translateY(3px);
    }
    .av-slot.far {
        transform: translateY(6px);
    }
}

/* ── ABOUT SECTION ── */
.about-section .container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    min-height: 280px;
}

.about-text {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 560px;
}

.about-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: clamp(16px, 2vw, 28px);
}

.about-intro {
    font-size: clamp(12px, 1.3vw, 15px);
    color: #ccd8e0;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-list {
    list-style: none;
    margin-bottom: 16px;
    position: relative;
    right: 30px;
}

.about-list li {
    font-size: clamp(12px, 1.3vw, 15px);
    color: #ccd8e0;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.about-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ccd8e0;
}

.about-closing {
    font-size: clamp(12px, 1.3vw, 15px);
    color: #ccd8e0;
    line-height: 1.7;
}

.about-image-wrap {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(160px, 28vw, 250px);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: contain;

    filter: drop-shadow(0 10px 20px rgba(0, 180, 200, 0.4));
}

.about-img-placeholder {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.about-img-placeholder svg {
    width: clamp(80px, 15vw, 160px);
    height: auto;
}

/* ── RESPONSIVE ── */

/* Tablet: 900px */

@media (max-width: 640px) {
    .about-section .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-image-wrap {
        width: 100%;
        max-width: 150px;
        align-self: center;
    }
}

@media (max-width: 400px) {
    .about-title {
        margin-bottom: 14px;
    }
}

/* ── POSITIONS SECTION ── */
.positions-section {
    width: 100%;
    padding: clamp(40px, 5vw, 70px) 0;
}

.positions-title {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: clamp(14px, 2vw, 24px);
}

.positions-sub {
    font-size: clamp(20px, 2vw, 35px);
    color: #fff;
    margin-bottom: clamp(20px, 3vw, 36px);
    font-weight: 500;
}

/* ── GRID ── */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 40px);
    margin-bottom: clamp(24px, 3vw, 40px);
}

.pos-card:nth-child(3) {
    grid-column: 1;
}

/* ── CARD ── */
.pos-card {
    background: rgba(255, 182, 193, 0.925);
    border-radius: 16px;
    width: 100%; 
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    min-height: 140px;
}

.pos-img-wrap {
    flex-shrink: 0;
    width: clamp(90px, 15vw, 160px);
    height: 100%;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

.pos-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pos-img-ph {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 140px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
}

.pos-body {
    flex: 1;
    padding: clamp(12px, 2vw, 22px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pos-title {
    font-size: clamp(13px, 1.8vw, 22px);
    font-weight: 800;
    color: #111;
    line-height: 1.35;
}

.pos-btn {
    background: #111;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s;
    white-space: nowrap;
    z-index: 999;
}

.pos-btn:hover {
    background: #333;
}

/* ── Footer note ── */
.positions-footer {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(14px, 2vw, 25px);
    color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 940px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }
    .pos-card:nth-child(3) {
        grid-column: 1;
    }
    .pos-card {
        min-height: 130px;
    }
    .positions-footer {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .pos-img-wrap {
        width: clamp(80px, 28vw, 120px);
    }
}

/* ── QUALIFICATIONS SECTION ── */
.qualif-section {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.qualif-title {
    font-size: clamp(32px, 5.5vw, 72px);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    margin-bottom: clamp(10px, 1.5vw, 18px);
    text-align: center;
}

.qualif-sub {
    font-size: clamp(13px, 1.5vw, 27px);
    color: #fff;
    margin-bottom: clamp(28px, 4vw, 52px);
    font-weight: 400;
    text-align: center;
}

.qualif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 48px) clamp(16px, 4vw, 60px);
    margin-bottom: clamp(28px, 4vw, 52px);
    text-align: left;
}

.qualif-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(10px, 1.5vw, 18px);
}

.qualif-num {
    font-size: clamp(42px, 6vw, 90px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px #2ab8c8;
    line-height: 1;
    flex-shrink: 0;
    background: linear-gradient(160deg, #3dd6e8 0%, #1a7a8a 20%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(45, 180, 200, 0.25));
}

.qualif-text {
    font-size: clamp(12px, 1.3vw, 22px);
    color: #fff;
    line-height: 1.45;
    padding-top: clamp(6px, 1vw, 14px);
}

.qualif-text strong {
    font-weight: 700;
    color: #fff;
}

.qualif-footer {
    font-size: clamp(12px, 1.3vw, 25px);
    color: #fff;
    text-align: center;
}

/* ── RESPONSIVE ── */

/* @media (max-width: 900px) {

} */

/* Tablet 680px: 2 columns */
@media (max-width: 680px) {
    .qualif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(16px, 3vw, 32px) clamp(12px, 3vw, 28px);
    }
}

@media (max-width: 440px) {
    .qualif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(14px, 3vw, 24px);
    }
    .qualif-section {
        padding: 36px 6% 0px;
    }
}

@media (max-width: 300px) {
    .qualif-section {
        padding: 28px 5% 28px;
    }
    .qualif-title {
        font-size: 28px;
    }
    .qualif-num {
        font-size: 36px;
    }
    .qualif-text {
        font-size: 11px;
    }
    .qualif-footer {
        font-size: 11px;
    }
}

/* DEMO SECTION*/

.demo-section {
    width: 100%;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5vw, 18px);
}

/* ── Base card ── */
.demo-card {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: clamp(12px, 1.8vw, 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Pink card */
.demo-card--pink {
    background: rgba(255, 182, 193, 0.88);
    border: none;
}

/* Plain (no border) */
.demo-card--plain {
    border: none;
    background: transparent;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

.demo-card-title {
    font-size: clamp(11px, 1.2vw, 15px);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.demo-card-title span {
    font-weight: 500;
}

.demo-card--pink .demo-card-title {
    color: #111;
}

.demo-card-body {
    font-size: clamp(12px, 1vw, 16px);
    color: #fff;
    line-height: 1.5;
}

.demo-card--pink .demo-card-body {
    color: #222;
}

.demo-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.demo-card-list li {
    font-size: clamp(12px, 1vw, 16px);
    color: #fff;
    padding-left: 14px;
    position: relative;
    right: 30px;
    line-height: 1.5;
}

.demo-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ccd8e4;
}

.demo-card-cols {
    display: flex;
    gap: 14px;
}

.demo-apply-btn {
    background: #111;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(11px, 1.1vw, 12px);
    font-weight: 600;
    padding: 5px 17px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 4px;
    transition: background 0.2s;
}
.demo-apply-btn:hover {
    background: #333;
}

.demo-icon {
    margin-bottom: 4px;
}

/* COMPENSATION SECTION */
.comp-section {
    width: 100%;
}

.comp-title {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: clamp(14px, 2vw, 40px);
}

.comp-intro {
    font-size: clamp(14px, 1.5vw, 20px);
    color: #fff;
    margin-bottom: clamp(14px, 2vw, 22px);
}

.comp-list {
    list-style: none;
    margin-bottom: clamp(20px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-list li {
    font-size: clamp(13px, 1.4vw, 18px);
    color: #fff;
    padding-left: 18px;
    position: relative;
    right: 30px;
    line-height: 1.6;
}

.comp-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

.comp-list-indent {
    padding-left: 20px !important;
}
.comp-list-indent::before {
    content: "" !important;
}

.comp-notes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 680px;
}

.comp-notes p {
    font-size: clamp(14px, 1.4vw, 19px);
    color: #fff;
    line-height: 1.7;
    text-align: justify;
}

/* ── RESPONSIVE ── */

@media (max-width: 820px) {
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .demo-grid {
        grid-template-columns: 1fr;
    }
    .demo-section {
        padding: clamp(24px, 4vw, 40px) 6%;
    }
    .comp-section {
        padding: clamp(24px, 4vw, 40px) 6%;
    }
}

@media (max-width: 300px) {
    .demo-section {
        padding: 20px 5%;
    }
    .comp-section {
        padding: 20px 5%;
    }
    .comp-title {
        font-size: 24px;
    }
    .demo-card-title {
        font-size: 11px;
    }
    .demo-card-body {
        font-size: 10px;
    }
}

.section-work {
    width: 100% !important;
    color: #fff;
}

.title-work {
    line-height: 1.08;
    margin-bottom: clamp(18px, 2vw, 40px);
}
.title-work h2 {
    font-size: clamp(32px, 5.5vw, 80px);
    font-weight: 700;
}

.list-work {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 48px) clamp(16px, 4vw, 60px);
}

.list-work li {
    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 500;
    list-style: none;
}

.section-work p {
    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 500;
    margin-bottom: clamp(18px, 3vw, 30px);
}

/* start of aplication form */

.apply-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.apply-modal-overlay.open {
    display: flex !important;
}

/* ── MODAL BOX ── */
.apply-modal {
    background: #3a4352d0;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    max-height: 95vh;
    overflow-y: auto;
    overflow-x: visible;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.9);
    animation: popupSlide 0.4s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── TITLE ── */
.apply-modal-title {
    color: #fff;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ── INPUTS ── */
.apply-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
}
.apply-input::placeholder {
    color: #999;
}

.apply-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ── PHONE ROW ── */
.apply-phone-row {
    position: relative;
    /* مش overflow: hidden */
}

.apply-phone-row .iti {
    width: 100%;
}

.apply-phone-row input {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 8px;
    padding: 12px 16px 12px 100px;
    font-size: 14px;
    color: #333;
    outline: none;
}

/* ── ITI DROPDOWN ── */
.iti__dropdown-content {
    width: 280px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    z-index: 9999999 !important;
    font-size: 13px !important;
}

.iti__country {
    padding: 8px 12px !important;
}

/* ── 2-COL ROWS ── */
.apply-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.apply-row-2 .apply-input {
    min-width: 0;
}

/* ── UPLOAD ── */
.apply-upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.apply-upload-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 140px;
}
.apply-row-2,
.apply-upload-row {
    align-items: start;
}

.apply-upload-label {
    font-size: 12px;
    color: #ccc;
    margin: 0;
    font-family: Arial, sans-serif;
}

.apply-upload-area {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.apply-upload-area:hover {
    background: #fff;
}

/* ── TEXTAREA ── */
.apply-textarea {
    resize: none;
    min-height: 80px;
}

/* ── SUBMIT ── */
.apply-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.apply-submit-btn {
    background: #01c2be;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 5px 40px;
    border-radius: 8px;
    margin-bottom: -20px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.apply-submit-btn:hover {
    background: #019e9a;
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
    /* .apply-row-2    { grid-template-columns: 1fr; }
  .apply-upload-row { grid-template-columns: 1fr; } */
}

/* File drop */
.file-drop {
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    transition:
        border 0.2s,
        background 0.2s;
    text-align: center;
}
.file-drop:hover {
    border-color: #2563eb;
    background: #eff6ff;
}
.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.file-drop-icon {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.file-drop span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.file-drop small {
    font-size: 11px;
    color: #94a3b8;
}
/* Select2 override */
.select2-container .select2-selection--multiple {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    min-height: 44px !important;
    padding: 4px 8px !important;
}
.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 2px 8px !important;
}
.error-msg {
    font-size: 12px;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    min-height: 16px;
}
.form-card-footer {
    padding: 18px 28px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.btn-submit {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.18s;
}
.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-cancel {
    background: #fff;
    color: #ef4444;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s;
}
.btn-cancel:hover {
    background: #fef2f2;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 70px;
}
.field-group label {
    font-size: 13px;
    font-weight: 600;
    color: white;
}
.field-group .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #0f172a;
    background: #f8fafc;
    transition:
        border 0.18s,
        box-shadow 0.18s,
        background 0.18s;
}
.field-group .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    outline: none;
}
.field-group textarea.form-control {
    min-height: 110px;
    resize: vertical;
    line-height: 1.65;
}

.top-alert {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: #fff;
    padding: 10px 40px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 600;
    z-index: 999999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease;
    min-width: 350px;
    text-align: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -50px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@media (max-width: 519px) {
    .about-section .container,
    .positions-section .container,
    .qualif-section .container,
    .demo-section .container,
    .comp-section .container,
    .section-work .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-section,
    .positions-section,
    .qualif-section,
    .demo-section,
    .comp-section,
    .section-work {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }
}
