/* ============================================
   KORRN Aviation - Final UI Polish
   v1.0 Website polish layer (loaded after style.css)
   Brand: Primary #163A70, Accent #D4AF37
   ============================================ */

/* --- Hero polish: animated orbs & glow --- */
.hero-premium {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(212, 175, 55, 0.22), transparent 60%),
        radial-gradient(700px 380px at -8% 108%, rgba(255, 255, 255, 0.07), transparent 55%),
        linear-gradient(135deg, #0f2a50 0%, #163A70 52%, #1e4d8f 100%) !important;
}
.hero-premium::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, transparent 65%);
    top: -140px;
    right: -120px;
    pointer-events: none;
    animation: korrn-float 9s ease-in-out infinite;
}
@keyframes korrn-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-26px, 24px) scale(1.08); }
}
.hero-premium .display-3 {
    background: linear-gradient(120deg, #ffffff 0%, #f0e6c8 75%, #e6c45a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-badge-pill {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}
.hero-card-grid .hero-card-main,
.hero-card-grid .hero-card-sm {
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-card-grid .hero-card-main img,
.hero-card-grid .hero-card-sm img {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}
.hero-card-grid .hero-card-main {
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}
.hero-cta .btn {
    border-radius: 12px;
}
.hero-cta .btn-warning {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.28);
}
.hero-trust-row {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* --- Stats counter bar polish --- */
.stats-bar {
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #163A70 0%, #1e4d8f 100%) !important;
    box-shadow: 0 14px 40px rgba(15, 42, 80, 0.28);
}
.stats-bar .counter-icon {
    font-size: 1.9rem;
    color: var(--bs-warning);
    margin-bottom: 0.35rem;
    display: block;
}
.stats-bar .counter-number {
    color: #fff;
}
.stats-bar .counter-label {
    color: rgba(255, 255, 255, 0.72);
}

/* --- Partner logo strip --- */
.client-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 3rem;
}
.client-wordmark {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #8b95a7;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    user-select: none;
}
.client-wordmark small {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #b3bcc9;
    margin-top: 0.15rem;
}
.client-wordmark:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}
.client-strip-logo {
    height: 44px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.client-strip-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
}
.partner-heading {
    font-size: 0.78rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: #9aa5b5;
    text-transform: uppercase;
}

/* --- Highlight / feature panels (Recruit Pro + Website Dev) --- */
.feature-panel {
    position: relative;
    background: #fff;
    border: 1px solid rgba(22, 58, 112, 0.08);
    border-radius: 20px;
    padding: 2.75rem 2.25rem;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #163A70 0%, #D4AF37 100%);
}
.feature-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(22, 58, 112, 0.16);
}
.feature-panel-gold::before {
    background: linear-gradient(90deg, #D4AF37 0%, #e6c45a 100%);
}
.feature-panel-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.feature-panel-icon.navy {
    background: linear-gradient(135deg, #163A70, #1e4d8f);
    color: #fff;
    box-shadow: 0 12px 28px rgba(22, 58, 112, 0.3);
}
.feature-panel-icon.gold {
    background: linear-gradient(135deg, #D4AF37, #e6c45a);
    color: #163A70;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.34);
}
.feature-panel ul {
    margin-bottom: 1.75rem;
}
.feature-panel ul li {
    padding: 0.3rem 0;
    color: #4b5563;
    font-size: 0.92rem;
}

/* --- Testimonial polish --- */
.testimonial-card {
    position: relative;
    border-top: 4px solid var(--bs-warning);
}
.testimonial-card .testimonial-quote-mark {
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    font-size: 3.2rem;
    line-height: 1;
    color: rgba(22, 58, 112, 0.1);
    font-family: Georgia, serif;
}

/* --- Service card polish --- */
.card-premium.service-card {
    border: 1px solid rgba(22, 58, 112, 0.07);
    overflow: hidden;
    position: relative;
}
.card-premium.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #163A70, #D4AF37);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.card-premium.service-card:hover::after {
    transform: scaleX(1);
}
.card-premium.service-card .service-card-icon {
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(22, 58, 112, 0.12);
}
.card-premium.service-card:hover .service-card-icon {
    box-shadow: 0 10px 26px rgba(22, 58, 112, 0.3);
}
.service-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--bs-primary);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}
.service-arrow-link:hover {
    gap: 0.85rem;
    color: var(--bs-warning);
}

/* --- Careers: modern job cards --- */
.job-card {
    background: #fff;
    border: 1px solid rgba(22, 58, 112, 0.09);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--korrn-shadow-sm);
}
.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(22, 58, 112, 0.14);
    border-color: rgba(212, 175, 55, 0.55);
}
.job-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}
.job-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.job-card-meta i {
    color: var(--bs-primary);
}
.job-card-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.65;
    flex-grow: 1;
}
.job-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
}
.job-type-fulltime { background: rgba(22, 58, 112, 0.1); color: #163A70; }
.job-type-parttime { background: rgba(30, 158, 106, 0.12); color: #147a50; }
.job-type-contract { background: rgba(214, 69, 93, 0.12); color: #b2304a; }
.job-type-remote { background: rgba(46, 125, 209, 0.12); color: #20589c; }
.job-type-internship { background: rgba(212, 175, 55, 0.2); color: #8a6d12; }
.job-type-default { background: #eef1f6; color: #4b5563; }
.job-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e3e8ef;
}
.btn-apply {
    border-radius: 10px;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    box-shadow: 0 6px 18px rgba(22, 58, 112, 0.2);
}
.btn-apply:hover {
    box-shadow: 0 10px 26px rgba(22, 58, 112, 0.32);
}

/* --- Careers: filter pills --- */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e3e8ef;
    color: #4b5563;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.filter-pill:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
}
.filter-pill.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 58, 112, 0.25);
}
.filter-pill.active:hover { color: #fff; }

/* --- Contact page: map + cards + hours --- */
.contact-map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--korrn-shadow-md);
    border: 1px solid #e9ecef;
    line-height: 0;
}
.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}
.contact-card {
    background: #fff;
    border: 1px solid rgba(22, 58, 112, 0.08);
    border-radius: 16px;
    padding: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--korrn-shadow-sm);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(22, 58, 112, 0.14);
}
.contact-card-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #163A70, #1e4d8f);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(22, 58, 112, 0.25);
}
.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--bs-primary);
    margin-bottom: 0.3rem;
}
.contact-card p { margin-bottom: 0.25rem; }
.contact-card p:last-child { margin-bottom: 0; }
.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed #e3e8ef;
    font-size: 0.9rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .hours-day { font-weight: 600; color: #374151; }
.hours-row .hours-time { color: #6c757d; }
.hours-row .hours-closed { color: #b2304a; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Form panel sticky on desktop --- */
.contact-form-panel {
    border: 1px solid rgba(22, 58, 112, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(22, 58, 112, 0.12);
}
@media (min-width: 992px) {
    .contact-form-sticky { position: sticky; top: 110px; }
}

/* --- Footer polish --- */
.footer-brand-block .footer-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}
.footer-heading {
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--bs-warning);
}
.footer-link-grid a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    padding: 0.22rem 0;
}
.footer-link-grid a::before {
    content: '\203A';
    font-weight: 700;
    color: var(--bs-warning);
    opacity: 0;
    margin-left: -12px;
    transition: opacity 0.2s ease, margin-left 0.2s ease;
}
.footer-link-grid a:hover {
    color: #fff;
    padding-left: 14px;
}
.footer-link-grid a:hover::before {
    opacity: 1;
    margin-left: 0;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}
.footer-contact-item:last-child { border-bottom: none; }
.footer-contact-item .fc-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.14);
    color: var(--bs-warning);
    font-size: 0.9rem;
}
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contact-item a:hover { color: var(--bs-warning); }
.footer-contact-item .fc-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.15rem;
}
.footer-socials .social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}
.footer-socials .social-btn:hover {
    background: var(--bs-warning);
    border-color: var(--bs-warning);
    color: var(--bs-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(212, 175, 55, 0.3);
}
.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.28);
}
footer .newsletter-form {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
}
footer .newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #fff;
}
footer .newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
footer .newsletter-form .form-control:focus { box-shadow: none; }

/* --- CTA polish --- */
.cta-premium {
    background:
        radial-gradient(700px 340px at 88% 10%, rgba(212, 175, 55, 0.2), transparent 60%),
        radial-gradient(600px 300px at 5% 100%, rgba(30, 77, 143, 0.9), transparent 55%),
        linear-gradient(135deg, #0f2a50 0%, #163A70 60%, #1e4d8f 100%);
}
.cta-premium .btn-warning {
    box-shadow: 0 12px 34px rgba(212, 175, 55, 0.32);
}

/* --- Recruit Pro landing polish (portal pages) --- */
.k-portal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1199.98px) { .k-portal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .k-portal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .k-portal-grid { grid-template-columns: 1fr; } }
.k-portal-card {
    position: relative;
    border-top: 4px solid var(--kp-primary);
    border-radius: 18px;
}
.k-portal-card-gold {
    border-top-color: var(--kp-accent);
}
.k-portal-card .k-portal-icon {
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(22, 58, 112, 0.18);
}
.k-portal-stats {
    display: flex;
    justify-content: center;
    gap: 1rem 2.5rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}
.k-portal-stat {
    text-align: center;
}
.k-portal-stat .kps-value {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.k-portal-stat .kps-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 0.15rem;
}
.k-portal-feature-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.32rem 0;
    color: var(--kp-ink-2);
    font-size: 0.88rem;
}
.k-portal-feature-list li i {
    color: var(--kp-accent);
}

/* --- Performance helpers --- */
img.lazy-img {
    background: #eef1f6;
}
img[loading="lazy"] {
    background: #eef1f6;
}

/* --- Mobile polish refinements --- */
@media (max-width: 575.98px) {
    .feature-panel { padding: 2rem 1.35rem; }
    .client-strip { gap: 1.25rem 1.75rem; }
    .client-strip-logo { height: 34px; max-width: 110px; }
    .job-card { padding: 1.35rem; }
    .job-card-actions { flex-direction: column; align-items: stretch; }
    .job-card-actions .btn { width: 100%; }
    .contact-card { padding: 1.1rem; }
    .contact-card-icon { width: 44px; height: 44px; font-size: 1rem; border-radius: 12px; }
    .contact-map iframe { height: 220px; }
    .stats-bar .counter-box { padding: 1.1rem 0.25rem; }
    .stats-bar .counter-icon { font-size: 1.4rem; }
    .footer-heading { margin-top: 0.5rem; }
    .hero-premium .display-3 { font-size: 2.15rem; }
    .hero-trust-row .stat-badge { font-size: 0.72rem; padding: 0.35rem 0.65rem; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-premium .display-3 { font-size: 2.6rem; }
}

/* --- Focus ring consistency for new elements --- */
.job-card a:focus-visible,
.contact-card a:focus-visible,
.feature-panel a:focus-visible {
    outline: 3px solid var(--bs-warning);
    outline-offset: 2px;
    border-radius: 4px;
}
