@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #474b53;
    --secondary-color: #6c757d;
    --accent-color: #007bff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white-color: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
}

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white-color);
    margin-bottom: 60px;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.5s ease-in-out;
    filter: blur(0.5px) brightness(1) contrast(1.02);
    border-radius: 0;
    -webkit-filter: blur(0.5px) brightness(1) contrast(1.02);
    background-color: transparent;
}

.hero-background:hover {
    transform: scale(1.02);
    filter: brightness(0.95) contrast(1.05);
    -webkit-filter: brightness(0.95) contrast(1.05);
}

/* 글래스 효과용 레이어 */
.glass-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(255,255,255,0.04); /* 투명도 더 높게 (더 투명하게) */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.005) 60%, rgba(0,0,0,0.01) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
    margin: 0 auto;
    max-width: 1200px;
}

/* 아이폰 전용 스타일 */
@media only screen 
and (min-device-width: 320px) 
and (max-device-width: 812px) 
and (-webkit-min-device-pixel-ratio: 2) {
    .glass-bg {
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(8px) saturate(180%);
        -webkit-backdrop-filter: blur(8px) saturate(180%);
    }
    /* .hero-content의 글래스 효과는 제거 */
}

/* 아이패드 전용 스타일 */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (-webkit-min-device-pixel-ratio: 2) {
    .hero-content {
        background: rgba(255,255,255,0.01) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .hero-overlay {
        display: none !important;
    }
    
    .hero-background {
        opacity: 0.98;
        filter: contrast(1.02) brightness(0.98) !important;
        -webkit-filter: contrast(1.02) brightness(0.98) !important;
    }
}

/* iOS 15 이상 아이패드 전용 스타일 */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    @media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 1024px) 
    and (-webkit-min-device-pixel-ratio: 2) {
        .hero-content {
            background: rgba(255,255,255,0.01) !important;
            backdrop-filter: blur(4px) !important;
            -webkit-backdrop-filter: blur(4px) !important;
        }
    }
}

.hero-text h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .lead {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
    color: rgba(255, 255, 255, 0.95);
}

.hero-slogan h2 {
    color: #ffd700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
    font-weight: 600;
}

.logo-shadow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 198px;
    max-height: 198px;
    margin: 5px auto;
    border-radius: 20px !important;
    overflow: visible !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    background: transparent;
}

.hero-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 198px;
    max-height: 198px;
    margin: 0;
    padding: 0;
    border-radius: 20px !important;
    background: none;
    box-shadow: none !important;
    object-fit: contain !important;
}

/* Logo Image Responsive Styles */
.logo-image {
    max-width: 120% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex-shrink: 0;
    transform: scale(1.2);
    border-radius: 20px !important;
}

.logo-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    min-width: 0;
}

/* Force logo to not be clipped */
img[src*="nexcode-logo"], 
img[src*="LogoUrl"] {
    max-width: 120% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    transform: scale(1.2);
    border-radius: 20px !important;
}

/* Background Image Sections */
.section-with-bg {
    position: relative;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease-in-out;
}

.section-with-bg:hover .section-bg-image {
    opacity: 0.1;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glass Effect */
.glass {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.glass-dark {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Text Shadow Utility */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white-color) !important;
}

.navbar-dark {
    background-color: var(--primary-color) !important;
}

.nav-link {
    color: var(--gray-300) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white-color) !important;
}

.nav-link.active {
    color: var(--white-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Loading Spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Footer */
.footer {
    background-color: var(--gray-800);
    color: var(--white-color);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
}

.footer h6 {
    color: var(--white-color) !important;
    font-weight: 600;
}

.footer p {
    color: var(--gray-300) !important;
}

.footer ul li {
    color: var(--gray-300) !important;
}

.footer strong {
    color: var(--white-color) !important;
    font-weight: 600;
}

.footer a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white-color);
}

.footer .text-muted {
    color: var(--gray-300) !important;
}

/* Utility Classes */
.text-primary {
    color: var(--accent-color) !important;
}

.bg-primary {
    background-color: var(--accent-color) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.rounded {
    border-radius: 0.375rem !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Project Detail Hero Section - 중복 제거됨 */

.hero-image-container {
    position: relative;
    z-index: 3;
}

.hero-image-container img {
    transition: transform 0.3s ease;
}

.hero-image-container:hover img {
    transform: scale(1.05);
}

.hero-decoration {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Text Shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Project Gallery Enhancements */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* Breadcrumb Enhancement */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

/* Badge Enhancement */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hero Section Split Layout */
.hero-section-split {
    min-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: row;
    background: none;
    position: relative;
    overflow: hidden;
}
.hero-text-col {
    flex: 1 1 0;
    min-width: 0;
    z-index: 2;
    background: transparent;
}
.hero-image-col {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero-image-full {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0;
}

/* Additional protection for all logo images */
img.img-fluid[src*="logo"],
img.img-fluid[src*="Logo"] {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* Container protection */
.col-lg-6 img,
.col-md-6 img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
}

/* Final override for any logo clipping */
img[src*="nexcode"] {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    min-width: 0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.hero-text-col {
    order: 1;
}

.white-outline {
    color: #fff;
    -webkit-text-stroke: 1.5px #fff;
    text-stroke: 1.5px #fff;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
}

.yellow-outline {
    -webkit-text-stroke: 1.5px #ffc107;
    text-stroke: 1.5px #ffc107;
    text-shadow:
        -1px -1px 0 #ffc107,
         1px -1px 0 #ffc107,
        -1px  1px 0 #ffc107,
         1px  1px 0 #ffc107;
}


.hero-section .col-lg-6.text-white {
    margin-left: 2.5rem;
}

@media (max-width: 768px) {
    .hero-section .col-lg-6.text-white {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-section .col-lg-6.text-white {
        margin-left: 0;
    }
}

.hero-content .row.align-items-center {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .hero-content .row.align-items-center {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-content .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }
}

.hero-content > .d-flex.flex-row {
    flex-direction: row;
    gap: 4rem;
    align-items: center !important;
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        min-height: 320px !important;
        height: min(100vh, 600px) !important;
    }
    .hero-content .d-flex.flex-row,
    .hero-content > .d-flex.flex-row {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1.5rem !important;
    }
    .hero-content {
        align-items: center !important;
        box-sizing: border-box !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        min-height: 320px !important;
        height: min(100vh, 600px) !important;
    }
    .hero-logo {
        max-width: 180px !important;
        width: auto !important;
        height: auto !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius: 20px !important;
        -webkit-border-radius: 20px !important;
        -moz-border-radius: 20px !important;
    }
    .text-info-col,
    .col-12.col-lg-5.text-center {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
}
@media (min-width: 641px) {
    .hero-content .d-flex.flex-row,
    .hero-content > .d-flex.flex-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 4rem !important;
    }
}

/* 이미지 로고와 회사 정보 div의 상하 마진을 5px로 통일 */
.text-info-col,
.col-12.col-lg-5.text-center {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.company-info-row {
  gap: 4rem !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
@media (max-width: 640px) {
  .company-info-row {
    gap: 4rem !important;
    flex-direction: column !important;
    align-items: center !important;
    flex-wrap: wrap !important;
  }
}

/* Company page logo specific styling */
.company-info-row .hero-logo {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 강력한 회사 페이지 로고 둥근 모서리 적용 */
.company-info-row img.hero-logo,
.company-info-row .hero-logo,
.company-info-row img[src*="LogoUrl"],
.company-info-row img[src*="nexcode-logo"] {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* Bootstrap img-fluid 클래스 덮어쓰기 */
.company-info-row .img-fluid {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 최강력 회사 페이지 로고 둥근 모서리 적용 */
.company-info-row img,
.company-info-row img.hero-logo,
.company-info-row img.img-fluid,
.company-info-row img[src*="LogoUrl"],
.company-info-row img[src*="nexcode-logo"],
.company-info-row .hero-logo,
.company-info-row .img-fluid {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 모든 img 태그에 대한 최종 덮어쓰기 */
img[src*="LogoUrl"] {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 홈 페이지 로고 구조에 대한 강력한 선택자 */
.logo-shadow-container .hero-logo,
.logo-shadow-container img,
.logo-shadow-container .hero-logo.rounded,
.logo-shadow-container img.hero-logo,
.logo-shadow-container img.rounded {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 모든 로고 이미지에 대한 최종 강제 적용 */
.hero-logo,
.hero-logo.rounded,
img.hero-logo,
img.hero-logo.rounded,
img[src*="LogoUrl"],
img[src*="nexcode-logo"] {
  border-radius: 20px !important;
  -webkit-border-radius: 20px !important;
  -moz-border-radius: 20px !important;
}

/* 로고 이미지 둥근 모서리 강제 적용 */
.hero-logo,
.logo-shadow-container,
.logo-shadow-container .hero-logo,
.logo-shadow-container img,
img[src*="LogoUrl"],
img[src*="nexcode-logo"],
img.hero-logo,
img.rounded {
    border-radius: 20px !important;
    overflow: visible !important;
}

.hero-content > .d-flex {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-logo,
.logo-shadow-container img,
img[src*="LogoUrl"],
img[src*="nexcode-logo"] {
    border-radius: 20px !important;
    object-fit: contain !important;
    width: 100%;
    height: auto;
    max-width: 198px;
    max-height: 198px;
    background: none;
    box-shadow: none !important;
}