/* =====================================================
   KRADEON CAREERS PAGE CSS
   File: assets/css/careers.css
   ===================================================== */

.careers-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 27, 79, 0.94), rgba(3, 58, 150, 0.88)), url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

.careers-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 28%), radial-gradient(circle at 85% 85%, rgba(122, 15, 46, 0.42), transparent 34%);
    pointer-events: none;
}

.careers-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 430px;
    gap: 60px;
    align-items: center;
}

.careers-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.careers-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--brand-maroon);
    border-radius: 20px;
}

.careers-hero-content h1 {
    color: #ffffff;
    max-width: 780px;
    margin-bottom: 22px;
    font-size: 67px;
    line-height: 1.05;
}

.careers-hero-content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 34px;
}

.careers-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.careers-outline-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.06);
}

.careers-outline-btn:hover {
    background: #ffffff;
    color: var(--brand-blue);
    border-color: #ffffff;
}

.careers-hero-card {
    position: relative;
    padding: 34px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.careers-hero-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(122, 15, 46, 0.09);
}

.hero-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 24px;
}

.careers-hero-card h3 {
    color: var(--brand-blue);
    font-size: 1.55rem;
    margin-bottom: 12px;
}

.careers-hero-card p {
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 26px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-card-stats div {
    padding: 14px 12px;
    border-radius: 14px;
    background: var(--grey-50);
    border: 1px solid rgba(3, 58, 150, 0.08);
    text-align: center;
}

.hero-card-stats strong {
    display: block;
    color: var(--brand-maroon);
    font-size: 0.9rem;
    line-height: 1.2;
}

.hero-card-stats span {
    display: block;
    color: var(--grey-500);
    font-size: 0.78rem;
    margin-top: 4px;
}


/* Intro */

.careers-intro-section {
    padding: 110px 0;
    background: #ffffff;
}

.careers-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 70px;
    align-items: center;
}

.careers-intro-content p {
    color: var(--grey-500);
    line-height: 1.85;
    margin-bottom: 16px;
}

.careers-intro-content .btn {
    margin-top: 14px;
}

.careers-quality-card {
    padding: 38px;
    border-radius: 26px;
    background: linear-gradient(145deg, #ffffff, #f7f9fd);
    border: 1px solid rgba(3, 58, 150, 0.1);
    box-shadow: var(--shadow-md);
}

.careers-quality-card h3 {
    color: var(--brand-blue);
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.careers-quality-card ul {
    display: grid;
    gap: 16px;
}

.careers-quality-card li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--grey-700);
    font-weight: 600;
}

.careers-quality-card i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-maroon);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}


/* Culture / Benefits */

.career-culture-section {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.career-culture-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    left: -180px;
    top: 80px;
    background: rgba(3, 58, 150, 0.06);
}

.career-culture-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    right: -160px;
    bottom: 80px;
    background: rgba(122, 15, 46, 0.06);
}

.career-culture-section .container {
    position: relative;
    z-index: 2;
}

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.career-benefit-card {
    position: relative;
    min-height: 270px;
    padding: 34px 30px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(3, 58, 150, 0.08);
    box-shadow: 0 16px 44px rgba(3, 58, 150, 0.08);
    transition: all 0.35s var(--ease);
    overflow: hidden;
}

.career-benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 58, 150, 0.06), rgba(122, 15, 46, 0.05));
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.career-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(3, 58, 150, 0.15);
    border-color: rgba(3, 58, 150, 0.18);
}

.career-benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(3, 58, 150, 0.08);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transition: all 0.35s var(--ease);
}

.career-benefit-card:hover .benefit-icon {
    background: var(--brand-blue);
    color: #ffffff;
}

.career-benefit-card h3 {
    position: relative;
    z-index: 1;
    color: var(--grey-900);
    font-size: 1.22rem;
    margin-bottom: 12px;
}

.career-benefit-card p {
    position: relative;
    z-index: 1;
    color: var(--grey-500);
    line-height: 1.75;
    font-size: 0.96rem;
}


/* Open Roles */

.careers-roles-section {
    padding: 110px 0;
}

.career-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.career-job-card {
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(3, 58, 150, 0.08);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
}

.career-job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.job-tag {
    display: inline-flex;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(122, 15, 46, 0.08);
    color: var(--brand-maroon);
    font-weight: 700;
    font-size: 0.78rem;
    margin-bottom: 18px;
}

.career-job-card h3 {
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.career-job-card p {
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 24px;
}

.career-job-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 700;
}

.career-job-card a i {
    transition: transform 0.3s var(--ease);
}

.career-job-card a:hover {
    color: var(--brand-maroon);
}

.career-job-card a:hover i {
    transform: translateX(5px);
}


/* CTA */

.career-cta-section {
    padding: 110px 0;
    background: #ffffff;
}

.career-cta-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 50px;
    align-items: center;
    padding: 58px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(6, 27, 79, 0.97), rgba(3, 58, 150, 0.92));
    box-shadow: 0 26px 70px rgba(3, 58, 150, 0.22);
}

.career-cta-box::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    right: -90px;
    top: -120px;
    background: rgba(255, 255, 255, 0.08);
}

.career-cta-box::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    left: -80px;
    bottom: -100px;
    background: rgba(122, 15, 46, 0.32);
}

.career-cta-content,
.career-cta-actions {
    position: relative;
    z-index: 1;
}

.career-cta-content span {
    display: inline-block;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 16px;
    opacity: 0.88;
}

.career-cta-content h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 18px;
}

.career-cta-content p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
    max-width: 780px;
}

.career-cta-actions {
    display: grid;
    gap: 16px;
}

.career-job-btn {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--brand-blue);
    font-weight: 800;
    text-align: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    transition: all 0.32s var(--ease);
}

.career-job-btn i {
    font-size: 1.1rem;
}

.career-job-btn:hover {
    transform: translateY(-4px);
    background: var(--brand-maroon);
    color: #ffffff;
}

.linkedin-btn i {
    color: #0A66C2;
}

.naukri-btn i {
    color: var(--brand-maroon);
}

.career-job-btn:hover i {
    color: #ffffff;
}

.career-email-note {
    text-align: center;
    margin-top: 34px;
}

.career-email-note p {
    color: var(--grey-500);
    font-size: 1rem;
}

.career-email-note a {
    color: var(--brand-blue);
    font-weight: 800;
    border-bottom: 2px solid var(--brand-blue);
}

.career-email-note a:hover {
    color: var(--brand-maroon);
    border-color: var(--brand-maroon);
}


/* Responsive */

@media (max-width: 1100px) {
    .careers-hero-inner,
    .careers-intro-grid,
    .career-cta-box {
        grid-template-columns: 1fr;
    }
    .careers-hero-card {
        max-width: 560px;
    }
    .career-benefits-grid,
    .career-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .career-cta-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .careers-hero {
        min-height: auto;
        padding: 95px 0 80px;
    }
    .careers-hero-content h1 {
        font-size: 2.35rem;
    }
    .careers-hero-content p {
        font-size: 1rem;
    }
    .careers-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .careers-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .careers-hero-card {
        padding: 28px;
        border-radius: 22px;
    }
    .hero-card-stats {
        grid-template-columns: 1fr;
    }
    .careers-intro-section,
    .career-culture-section,
    .careers-roles-section,
    .career-cta-section {
        padding: 75px 0;
    }
    .careers-intro-grid {
        gap: 36px;
    }
    .careers-quality-card {
        padding: 28px;
        border-radius: 22px;
    }
    .career-benefits-grid,
    .career-jobs-grid,
    .career-cta-actions {
        grid-template-columns: 1fr;
    }
    .career-benefit-card,
    .career-job-card {
        padding: 28px;
        min-height: auto;
    }
    .career-cta-box {
        padding: 34px 24px;
        border-radius: 24px;
        gap: 30px;
    }
    .career-cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .careers-hero {
        padding: 80px 0 64px;
    }
    .careers-eyebrow {
        font-size: 11px;
        letter-spacing: 0.12em;
    }
    .careers-hero-content h1 {
        font-size: 2.05rem;
    }
    .hero-card-icon,
    .benefit-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
        border-radius: 18px;
    }
    .career-job-btn {
        font-size: 0.9rem;
        padding: 15px 18px;
    }
}

.careers-hero {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient( 135deg, rgba(var(--inner-hero-overlay-color-1), var(--inner-hero-overlay-opacity-1)), rgba(var(--inner-hero-overlay-color-2), var(--inner-hero-overlay-opacity-2))), var(--career-hero-img);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.careers-hero-bg {
    display: none;
}


/* ================= CAREERS HERO FINAL FIX ================= */

.careers-hero {
    position: relative !important;
    min-height: 620px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    background: linear-gradient( 135deg, rgba(6, 27, 79, 0.70), rgba(3, 58, 150, 0.55)), url("../img/careers1.webp") center center / cover no-repeat !important;
}

.careers-hero::before {
    display: none !important;
}

.careers-hero-bg {
    display: none !important;
}

.careers-hero-inner,
.careers-hero-content,
.careers-hero-card {
    position: relative !important;
    z-index: 2 !important;
}


/* =====================================================
   NEW CAREER CULTURE SECTION - FINAL
   Desktop + Tablet cards, Mobile 3x3 preview grid
   ===================================================== */

.kr-culture-new {
    position: relative;
    padding: 115px 0;
    background: radial-gradient(circle at 10% 10%, rgba(3, 58, 150, 0.08), transparent 28%), radial-gradient(circle at 90% 85%, rgba(122, 15, 46, 0.07), transparent 30%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.kr-culture-new::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -240px;
    top: 80px;
    border-radius: 50%;
    background: rgba(3, 58, 150, 0.06);
    pointer-events: none;
}

.kr-culture-new::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -200px;
    bottom: 50px;
    border-radius: 50%;
    background: rgba(122, 15, 46, 0.06);
    pointer-events: none;
}

.kr-culture-new .container {
    position: relative;
    z-index: 2;
}

.kr-culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.kr-culture-card {
    position: relative;
    min-height: 325px;
    padding: 36px 28px 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(3, 58, 150, 0.09);
    box-shadow: 0 18px 48px rgba(3, 58, 150, 0.09);
    text-align: center;
    overflow: hidden;
    transition: all 0.35s var(--ease);
    font-family: inherit;
    cursor: default;
}

.kr-culture-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3, 58, 150, 0.07), rgba(122, 15, 46, 0.05));
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.kr-culture-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -90px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(3, 58, 150, 0.055);
    transform: translateX(-50%);
    transition: all 0.35s var(--ease);
}

.kr-culture-card:hover {
    transform: translateY(-10px);
    border-color: rgba(3, 58, 150, 0.18);
    box-shadow: 0 30px 70px rgba(3, 58, 150, 0.16);
}

.kr-culture-card:hover::before {
    opacity: 1;
}

.kr-culture-card:hover::after {
    top: -60px;
    background: rgba(122, 15, 46, 0.08);
}

.kr-culture-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-color: rgba(122, 15, 46, 0.18);
    box-shadow: 0 24px 64px rgba(122, 15, 46, 0.12);
}


/* Bigger icons for desktop + tablet */

.kr-culture-icon {
    position: relative;
    z-index: 2;
    width: 122px;
    height: 122px;
    margin: 0 auto 26px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(3, 58, 150, 0.10);
    box-shadow: 0 16px 38px rgba(3, 58, 150, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease);
}

.kr-culture-icon img {
    width: 86px;
    height: 86px;
    object-fit: contain;
    display: block;
}

.kr-culture-card:hover .kr-culture-icon {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 22px 50px rgba(3, 58, 150, 0.17);
}

.kr-culture-card h3 {
    position: relative;
    z-index: 2;
    color: var(--brand-blue);
    font-size: 1.23rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.kr-culture-card p {
    position: relative;
    z-index: 2;
    max-width: 320px;
    margin: 0 auto;
    color: var(--grey-500);
    font-size: 0.95rem;
    line-height: 1.75;
}

.kr-mobile-arrow {
    display: none;
}


/* Desktop creative stagger */

@media (min-width: 1101px) {
    .kr-culture-card:nth-child(2),
    .kr-culture-card:nth-child(5),
    .kr-culture-card:nth-child(8) {
        transform: translateY(18px);
    }
    .kr-culture-card:nth-child(2):hover,
    .kr-culture-card:nth-child(5):hover,
    .kr-culture-card:nth-child(8):hover {
        transform: translateY(6px);
    }
}


/* Tablet - keep as proper cards */

@media (max-width: 1100px) and (min-width: 768px) {
    .kr-culture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .kr-culture-card {
        min-height: 310px;
        padding: 34px 24px;
    }
    .kr-culture-icon {
        width: 112px;
        height: 112px;
        border-radius: 32px;
    }
    .kr-culture-icon img {
        width: 78px;
        height: 78px;
    }
}


/* ================= MOBILE 3x3 ICON GRID ================= */

@media (max-width: 767px) {
    .kr-culture-new {
        padding: 74px 0 82px;
    }
    .kr-culture-new .section-head {
        margin-bottom: 30px;
    }
    .kr-culture-new .section-title {
        font-size: 30px;
        line-height: 1.2;
    }
    .kr-culture-new .section-lead {
        font-size: 0.94rem;
        line-height: 1.65;
    }
    .kr-culture-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .kr-culture-card {
        min-height: 124px;
        padding: 22px 8px 12px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid rgba(3, 58, 150, 0.10);
        box-shadow: 0 10px 26px rgba(3, 58, 150, 0.08);
        cursor: pointer;
        transform: none !important;
    }
    .kr-culture-card::before {
        opacity: 1;
        background: linear-gradient(160deg, rgba(3, 58, 150, 0.045), rgba(122, 15, 46, 0.035));
    }
    .kr-culture-card::after {
        width: 78px;
        height: 78px;
        top: -42px;
        opacity: 0.65;
    }
    .kr-culture-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 16px 34px rgba(3, 58, 150, 0.13);
    }
    .kr-culture-icon {
        width: 58px;
        height: 58px;
        margin: 0 auto 10px;
        border-radius: 18px;
        box-shadow: 0 9px 20px rgba(3, 58, 150, 0.10);
    }
    .kr-culture-icon img {
        width: 42px;
        height: 42px;
    }
    .kr-culture-card h3 {
        font-size: 0.72rem;
        line-height: 1.22;
        margin: 0;
        color: var(--brand-blue);
    }
    .kr-culture-card p {
        display: none;
    }
    .kr-mobile-arrow {
        position: absolute;
        top: 8px;
        right: 8px;
        z-index: 4;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--brand-maroon);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.58rem;
        transform: rotate(-35deg);
        box-shadow: 0 6px 14px rgba(122, 15, 46, 0.22);
    }
}

@media (max-width: 390px) {
    .kr-culture-grid {
        gap: 8px;
    }
    .kr-culture-card {
        min-height: 118px;
        padding: 21px 6px 11px;
        border-radius: 16px;
    }
    .kr-culture-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
    .kr-culture-icon img {
        width: 39px;
        height: 39px;
    }
    .kr-culture-card h3 {
        font-size: 0.68rem;
    }
    .kr-mobile-arrow {
        width: 18px;
        height: 18px;
        font-size: 0.52rem;
    }
}


/* ================= MOBILE PREVIEW MODAL ================= */

.kr-culture-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.kr-culture-modal.active {
    display: flex;
}

.kr-culture-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 16, 42, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.kr-culture-modal-box {
    position: relative;
    z-index: 2;
    width: calc(100% - 28px);
    max-width: 430px;
    margin: 0 14px 16px;
    padding: 28px 24px 26px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.22);
    transform: translateY(22px);
    animation: krModalUp 0.28s ease forwards;
}

@keyframes krModalUp {
    to {
        transform: translateY(0);
    }
}

.kr-culture-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(3, 58, 150, 0.08);
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.kr-culture-modal-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(122, 15, 46, 0.08);
    color: var(--brand-maroon);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.kr-culture-modal-box h3 {
    color: var(--brand-blue);
    font-size: 1.45rem;
    margin: 0 42px 12px 0;
}

.kr-culture-modal-box p {
    color: var(--grey-500);
    font-size: 0.98rem;
    line-height: 1.78;
    margin: 0;
}


/* Hide modal completely on tablet/desktop */

@media (min-width: 768px) {
    .kr-culture-modal {
        display: none !important;
    }
}


/* =====================================================
   CULTURE ICON DIRECT ON TOP SHAPE - FINAL OVERRIDE
   ===================================================== */


/* Make top U / circle shape more useful for icon placement */

.kr-culture-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -92px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(3, 58, 150, 0.055);
    transform: translateX(-50%);
    transition: all 0.35s var(--ease);
    z-index: 1;
}

.kr-culture-card:hover::after {
    top: -72px;
    background: rgba(122, 15, 46, 0.075);
}


/* Remove icon box completely */

.kr-culture-icon {
    position: relative;
    z-index: 3;
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Put image directly on the top shape */

.kr-culture-icon img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 20px rgba(3, 58, 150, 0.16));
    transition: all 0.35s var(--ease);
}

.kr-culture-card:hover .kr-culture-icon {
    transform: translateY(-5px) scale(1.03);
    box-shadow: none !important;
}

.kr-culture-card:hover .kr-culture-icon img {
    transform: scale(1.06);
}


/* Keep title/text clean after bigger icon */

.kr-culture-card h3 {
    margin-top: 2px;
}


/* Tablet */

@media (max-width: 1100px) and (min-width: 768px) {
    .kr-culture-card::after {
        top: -84px;
        width: 190px;
        height: 190px;
    }
    .kr-culture-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 18px;
    }
    .kr-culture-icon img {
        width: 88px;
        height: 88px;
    }
}


/* Mobile 3x3 layout icon direct on top shape */

@media (max-width: 767px) {
    .kr-culture-card::after {
        top: -34px;
        width: 88px;
        height: 88px;
        opacity: 0.95;
        background: rgba(3, 58, 150, 0.06);
    }
    .kr-culture-card:hover::after {
        top: -30px;
    }
    .kr-culture-icon {
        width: 62px;
        height: 62px;
        margin: 0 auto 8px;
        background: transparent !important;
        box-shadow: none !important;
    }
    .kr-culture-icon img {
        width: 50px;
        height: 50px;
        filter: drop-shadow(0 8px 14px rgba(3, 58, 150, 0.15));
    }
    .kr-culture-card h3 {
        font-size: 0.72rem;
        line-height: 1.22;
        margin-top: 0;
    }
}

@media (max-width: 390px) {
    .kr-culture-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 7px;
    }
    .kr-culture-icon img {
        width: 46px;
        height: 46px;
    }
    .kr-culture-card::after {
        width: 82px;
        height: 82px;
        top: -32px;
    }
}


/* =====================================================
   CULTURE ICON IMAGE ROUND + MAROON BORDER
   ===================================================== */


/* Keep image direct on U shape, but make image itself round */

.kr-culture-icon {
    position: relative;
    z-index: 3;
    width: 126px;
    height: 126px;
    margin: 0 auto 18px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Convert square image into round image */

.kr-culture-icon img {
    width: 118px !important;
    height: 118px !important;
    border-radius: 50% !important;
    border: 2px solid #7a0f2e !important;
    object-fit: cover !important;
    object-position: center !important;
    background: #ffffff;
    padding: 4px;
    display: block;
    box-shadow: 0 14px 28px rgba(122, 15, 46, 0.18);
    transition: all 0.35s var(--ease);
}


/* Hover effect */

.kr-culture-card:hover .kr-culture-icon img {
    transform: scale(1.06);
    box-shadow: 0 18px 38px rgba(122, 15, 46, 0.26);
}


/* Tablet */

@media (max-width: 1100px) and (min-width: 768px) {
    .kr-culture-icon {
        width: 116px;
        height: 116px;
    }
    .kr-culture-icon img {
        width: 111px !important;
        height: 111px !important;
        border-width: 2px !important;
    }
}


/* Mobile 3x3 grid */

@media (max-width: 767px) {
    .kr-culture-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 8px;
    }
    .kr-culture-icon img {
        width: 54px !important;
        height: 54px !important;
        border-radius: 50% !important;
        border: 2px solid #7a0f2e !important;
        padding: 2px;
        object-fit: cover !important;
        object-position: center !important;
        box-shadow: 0 8px 16px rgba(122, 15, 46, 0.16);
    }
}

@media (max-width: 390px) {
    .kr-culture-icon {
        width: 60px;
        height: 60px;
    }
    .kr-culture-icon img {
        width: 50px !important;
        height: 50px !important;
        border-width: 3px !important;
    }
}