/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove all focus outlines */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

a:focus,
a:active,
a:visited {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #EDF4F9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    max-width: 70%;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: auto;
    height: 30px;
    max-width: 90px;
    object-fit: contain;
    margin-right: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    margin-left: auto;
    margin-right: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    outline: none !important;
    border: none !important;
}

.nav-link:focus,
.nav-link:active,
.nav-link:visited {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.nav-link:hover {
    color: #1D3557;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1D3557;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-box {
    background: white;
    color: #1f2937;
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.contact-box:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.contact-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #1D3557;
}

.contact-number {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #457B9D;
}

.contact-number i {
    font-size: 12px;
    color: #6b7280;
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: -10px;
}

.mobile-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #457B9D;
    font-size: 18px;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-phone-icon:hover {
    background-color: rgba(69, 123, 157, 0.1);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-top: 3px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(69, 123, 157, 0.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #457B9D;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 2px 0;
}

.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px 0;
}

.mobile-nav-list li {
    padding: 10px 0;
}

.mobile-nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #1D3557;
}

.mobile-contact-button {
    background: #f8fafc;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-contact-button:hover {
    background: #457B9D;
    border-color: #457B9D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(69, 123, 157, 0.3);
}

.mobile-contact-button:hover .mobile-contact-text {
    color: white;
}

.mobile-contact-button:hover .mobile-contact-number {
    color: white;
}

.mobile-contact-button:active,
.mobile-contact-button:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    background: #457B9D;
    border-color: #457B9D;
}

.mobile-contact-button:active .mobile-contact-text,
.mobile-contact-button:focus .mobile-contact-text {
    color: white;
}

.mobile-contact-button:active .mobile-contact-number,
.mobile-contact-button:focus .mobile-contact-number {
    color: white;
}

.mobile-contact-text {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 5px;
}

.mobile-contact-number {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero-section {
    padding: 50px 0 60px;
    background: linear-gradient(135deg, #EDF4F9 0%, #dbeafe 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-headline {
    margin-bottom: 30px;
}

.main-title {
    font-size: 40px;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.highlighted-text {
    font-size: 32px;
    font-weight: 700;
    color: #457B9D;
    position: relative;
    display: inline-block;
}

.highlighted-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #A4161A;
    border-radius: 2px;
    animation: underlineGrow 1.5s ease-out 0.5s forwards;
}

.hero-subtitle {
    margin-bottom: 40px;
}

.hero-subtitle p {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

.cta-section {
    margin-bottom: 40px;
    margin-top: 0px;
}

.consultation-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 24px 80px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.3);
    transition: all 0.3s ease;
    text-transform: none;
    width: 320px;
}

.consultation-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(29, 53, 87, 0.4);
    background: #457B9D !important;
}

.consultation-btn:active {
    transform: translateY(-1px);
}

.trust-indicators {
    display: flex;
    gap: 30px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.indicator i {
    color: #1D3557;
    font-size: 16px;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.image-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.legal-docs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.docs-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    filter: blur(2px);
}



/* Special Legal Assistance Section */
.special-assistance {
    padding: 100px 0;
    background: linear-gradient(to bottom, white 0%, white 50%, #1D3557 50%, #457B9D 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-main-title {
    font-size: 36px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(29, 53, 87, 0.1);
}

.highlight-blue {
    color: #457B9D;
}

.premium-service {
    color: #457B9D;
}

.section-description {
    font-size: 18px;
    color: #475569;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
}

.assistance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-top: 80px;
    padding: 0 20px;
}

@media (max-width: 1190px) {
    .assistance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 665px) {
    .section-main-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 16px;
    }
}

@media (max-width: 610px) {
    .assistance-grid {
        gap: 20px;
        padding: 0 10px;
        margin-top: 40px;
    }
    
    .assistance-item {
        padding: 15px;
        min-height: auto;
        height: auto;
    }
    
    .assistance-image {
        width: 140px;
        height: 105px;
        margin: 0 auto 5px;
        border-radius: 0;
        overflow: visible;
    }
    
    .assistance-image img {
        width: 140px;
        height: 105px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .assistance-content {
        margin-top: -35px;
    }
    
    .assistance-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .assistance-content p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .assistance-item::before {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: 0px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .assistance-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        margin-top: 30px;
    }
    
    .assistance-item {
        padding: 20px 15px;
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .assistance-image {
        width: 160px;
        height: 120px;
        margin: -10px auto 0px;
        border-radius: 0;
        overflow: visible;
    }
    
    .assistance-image img {
        width: 160px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .assistance-content {
        margin-top: -35px;
    }
}

/* 450px 초과에서는 줄바꿈 숨김 */
.mobile-break {
    display: none;
}

@media (max-width: 450px) {
    .section-main-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .mobile-break {
        display: inline;
    }
}
        font-size: 14px;
    }
}

.assistance-item {
    position: relative;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.assistance-item:hover {
    background: rgba(29, 53, 87, 0.02);
    transform: translateY(-5px);
}

/* Animation delays removed - now controlled by JavaScript */

.assistance-item::before {
    content: attr(data-number);
    position: absolute;
    top: -5px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #1D3557, #457B9D);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.3);
}

.assistance-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 35px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(29, 53, 87, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.assistance-item:hover .assistance-image {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 50px rgba(29, 53, 87, 0.25);
}

.assistance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.assistance-image svg {
    width: 100%;
    height: 100%;
}

.legal-badge-bg {
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assistance-content {
    background: #1D3557;
    border-radius: 15px;
    padding: 0;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(29, 53, 87, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.assistance-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    padding: 15px 20px;
    background: transparent;
    border-radius: 0;
    display: block;
    box-shadow: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 2px solid #a8dadc;
    text-align: center;
}

.assistance-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    padding: 12px 20px;
    text-align: center;
}

.assistance-item:hover .assistance-content {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(29, 53, 87, 0.3);
}

/* Why Choose STLC Section */
.why-choose {
    padding: 100px 0;
    background: white;
}

.why-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 80px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason-card {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: #1D3557;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 28px;
}

.reason-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.reason-card p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1D3557, #1D3557);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Stage Section */
.stage-section {
    background: #f5f7fa;
    padding: 80px 0;
}

.stage-title {
    text-align: center;
    color: #1D3557;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stage-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: visible;
    flex: 1 1 300px;
    max-width: 360px;
    transition: transform 0.2s ease;
}

.stage-card:hover {
    transform: translateY(-5px);
}

.stage-card-header {
    background-color: #457B9D;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 14px 0;
}

.stage-card-body {
    padding: 20px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-emblem {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.stage-card-list {
    list-style: none;
    padding: 0;
    text-align: left;
    width: 100%;
    flex: 1;
    margin-top: 10px;
}

.stage-card-list li {
    margin-bottom: 12px;
    font-size: 15px;
    position: relative;
    padding-left: 26px;
    line-height: 1.6;
    min-height: 24px;
}

.stage-card-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #457B9D;
    font-weight: bold;
    font-size: 16px;
}

@media (max-width: 1025px) {
    .card-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .stage-card {
        max-width: 600px;
        width: 100%;
        min-height: auto;
    }
    
    .stage-card-body {
        padding: 25px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stage-emblem {
        margin-bottom: 25px;
        max-width: 120px;
        width: 100%;
        flex-shrink: 0;
    }
    
    .stage-card-list {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px 25px;
        text-align: left;
        margin-top: 20px;
        flex: 1;
        align-content: start;
    }
    
    .stage-card-list li {
        margin-bottom: 10px;
        font-size: 15px;
        line-height: 1.6;
        padding-left: 20px;
        min-height: 22px;
    }

    /* Section titles tablet optimization */
    .statistics-title,
    .faq-title,
    .consultation-application-section .section-title {
        font-size: 24px;
    }
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
}

.footer-description {
    color: #d1d5db;
    line-height: 1.6;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1D3557;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d5db;
}

.contact-item i {
    color: #1D3557;
    width: 20px;
}

.footer-disclaimer {
    text-align: left;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-disclaimer p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-policies {
    display: flex;
    gap: 20px;
}

.footer-policies a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: #1D3557;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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



@keyframes underlineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.lawyers-team {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 320px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    background: white;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.lawyers-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lawyers-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lawyers-team-hero {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-team-photo {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 36px;
    }

    .highlighted-text {
        font-size: 24px;
    }

    .trust-indicators {
        justify-content: center;
    }

    .lawyers-team {
        width: 250px;
        height: 140px;
        position: relative;
        margin: 20px auto 0;
        bottom: auto;
        right: auto;
    }
}

@media (max-width: 1025px) {
    .logo-text {
        margin-left: -20px;
    }
}

@media (max-width: 1024px) and (min-width: 481px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .highlighted-text {
        font-size: 26px;
    }

    .hero-subtitle p {
        font-size: 16px;
    }

    .consultation-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .image-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1025px) {
    .nav-menu,
    .contact-box {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .mobile-nav.active {
        display: block;
    }

    .main-content {
        margin-top: 0;
    }
}

@media (max-width: 481px) {
    .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        height: 25px;
        max-width: 75px;
    }
    
    .logo {
        max-width: 60%;
        margin-left: -10px;
    }
    
    .mobile-controls {
        margin-right: -10px;
    }

    .consultation-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .image-container {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Stage section mobile optimization */
    .stage-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .card-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .stage-card {
        max-width: 100%;
        width: 100%;
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    
    .stage-card-body {
        padding: 20px;
        min-height: 300px;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .stage-emblem {
        max-width: 120px;
        width: 100%;
        margin-bottom: 20px;
        flex-shrink: 0;
    }
    
    .stage-card-list {
        flex: 1;
        width: 100%;
        text-align: left;
        margin-top: 15px;
        padding: 0 10px;
        display: block;
        overflow: visible;
    }
    
    .stage-card-list li {
        margin-bottom: 2px;
        font-size: 14px;
        line-height: 1.1;
        padding-left: 20px;
        word-wrap: break-word;
    }

    /* FAQ section mobile optimization */
    .faq-title {
        font-size: 20px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq-card {
        padding: 16px;
    }

    .faq-question, .faq-answer {
        margin-left: 35px;
    }

    .faq-number {
        left: 16px;
        top: 16px;
    }

    /* Statistics section mobile optimization */
    .statistics-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .statistics-container {
        padding: 30px 20px;
    }

    .chart-container {
        height: 250px;
    }

    /* Success cases mobile optimization */
    .success-cases-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Consultation section mobile optimization */
    .consultation-application-section .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .consultation-form {
        padding: 20px;
    }

    .consultation-form .form-group {
        margin-bottom: 20px;
    }

    .consultation-form input,
    .consultation-form textarea {
        font-size: 16px;
        padding: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: left;
    }
    
    .footer-logo-text {
        font-size: 16px;
        line-height: 1.4;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        color: #d1d5db;
        margin-top: 15px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 14px;
        line-height: 1.5;
        color: #d1d5db;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    
    .footer-disclaimer p {
        font-size: 13px;
        line-height: 1.5;
        color: #9ca3af;
    }
    
    .copyright p {
        font-size: 13px;
        line-height: 1.4;
        color: #9ca3af;
    }
    
    .footer-policies a {
        font-size: 13px;
        line-height: 1.4;
        color: #9ca3af;
    }

    /* Hero section mobile improvements */
    .hero-section {
        padding: 60px 0;
    }

    .lawyers-team {
        width: 280px;
        height: 160px;
        position: static;
        margin: 20px auto 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 16px;
    }
    
    .logo-image {
        height: 25px;
        max-width: 75px;
    }
    
    .logo {
        max-width: 50%;
    }
    
    .mobile-controls {
        transform: translateX(10px);
    }
    
    /* Contact box ultra mobile */
    .contact-text {
        font-size: 10px;
        margin-bottom: 0px;
    }
    
    .contact-number {
        font-size: 10px;
        gap: 1px;
    }
    
    .contact-number i {
        font-size: 9px;
    }
    
    .contact-box {
        padding: 4px 8px;
    }

    .hero-section {
        padding: 40px 0 50px;
    }

    .main-title {
        font-size: 22px;
        line-height: 1.2;
    }

    .highlighted-text {
        font-size: 20px;
    }

    .section-title,
    .stage-title,
    .faq-title,
    .success-cases-title,
    .consultation-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .service-card {
        padding: 25px 15px;
    }

    /* Stage cards ultra-mobile */
    .stage-card-header {
        font-size: 16px;
        padding: 12px 0;
    }

    .stage-card-body {
        padding: 15px;
    }

    .stage-emblem {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .stage-card-list li {
        font-size: 15px;
        margin-bottom: 8px;
        padding-left: 22px;
    }

    .stage-card-list li::before {
        font-size: 14px;
    }

    /* FAQ ultra-mobile */
    .faq-card {
        padding: 14px;
    }

    .faq-question {
        font-size: 14px;
        margin-left: 30px;
    }

    .faq-answer {
        font-size: 13px;
        margin-left: 30px;
    }

    .faq-number {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
        left: 14px;
        top: 14px;
    }

    /* Consultation form ultra-mobile */
    .consultation-form {
        padding: 15px;
    }

    .consultation-form input,
    .consultation-form textarea {
        font-size: 16px;
        padding: 10px;
    }

    .consultation-form button {
        padding: 14px 20px;
        font-size: 16px;
    }

    /* Header ultra-mobile */
    .header-content {
        padding: 0 15px;
    }
    
    .mobile-controls {
        padding-right: 0;
    }



    /* Footer ultra-mobile */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .footer-logo-text {
        font-size: 15px;
        line-height: 1.3;
    }

    .footer-description {
        font-size: 13px;
        line-height: 1.5;
        color: #d1d5db;
        margin-top: 12px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 13px;
        line-height: 1.4;
        color: #d1d5db;
    }
    
    .footer-disclaimer p {
        font-size: 12px;
        line-height: 1.4;
        color: #9ca3af;
    }
    
    .copyright p {
        font-size: 12px;
        line-height: 1.3;
        color: #9ca3af;
    }
    
    .footer-policies a {
        font-size: 12px;
        line-height: 1.3;
        color: #9ca3af;
    }

    /* Trust indicators ultra-mobile */
    .trust-indicator {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Success cases ultra-mobile */
    .case-card {
        padding: 15px;
    }

    .case-title {
        font-size: 16px;
    }

    .case-description {
        font-size: 14px;
    }

    .case-date {
        font-size: 12px;
    }

    /* Lawyers team ultra-mobile */
    .lawyers-team {
        width: 240px;
        height: 135px;
        margin: 15px auto 0;
    }
}

/* Touch-friendly improvements */
.consultation-btn,
.mobile-menu-toggle,
.mobile-nav-link,
button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* Mobile form improvements */
input,
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
}

/* Prevent zoom on input focus */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
    }
}

/* Improved click targets for mobile */
@media (max-width: 1026px) {
    .mobile-nav-link {
        padding: 15px 20px;
        display: block;
        min-height: 44px;
        line-height: 1.2;
    }
    
    .consultation-btn {
        min-height: 48px;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-phone-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI / Retina display improvements */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .stage-emblem {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Additional mobile-specific optimizations */
@media (max-width: 1026px) {
    /* Improve touch targets */
    a, button, input, textarea {
        min-height: 44px;
    }
    
    /* Better spacing for mobile */
    .hero-section {
        padding: 80px 0 60px;
    }
    
    /* Mobile-optimized text sizes */
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Center intro page mobile */
    .main-content {
        padding-top: 80px;
    }
    
    .page-title {
        padding: 40px 0;
    }
    
    .page-title h1 {
        font-size: 28px;
    }
    
    /* Contact box mobile optimization */
    .contact-text {
        font-size: 11px;
        margin-bottom: 1px;
        white-space: nowrap;
    }
    
    .contact-number {
        font-size: 11px;
        gap: 2px;
        white-space: nowrap;
    }
    
    .contact-number i {
        font-size: 10px;
    }
    
    .contact-box {
        padding: 6px 12px;
    }
    
    /* Mobile navigation improvements */
    .mobile-nav {
        padding: 20px 0;
    }
    
    .mobile-contact {
        padding: 20px;
        margin-top: 20px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .mobile-contact-text {
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }
    
    .mobile-contact-number {
        font-size: 18px;
        font-weight: 700;
        color: #1D3557;
    }
}

/* Landscape mobile optimization */
@media (max-width: 1026px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .highlighted-text {
        font-size: 18px;
    }
}

/* Accessibility and Focus States */
.consultation-btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #1D3557;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .consultation-btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section {
        background: white;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hero-section {
        background: white;
    }

    .nav-link {
        color: #000;
    }

    .nav-link:hover {
        color: #0000ff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Disclaimer Modal Styles */
.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.disclaimer-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.disclaimer-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
}

.disclaimer-content .modal-header h2 {
    color: #1D3557;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.disclaimer-content .modal-close {
    background: #1D3557;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content .modal-close:hover {
    background: #457B9D;
    transform: scale(1.05);
}

.disclaimer-body {
    padding: 30px;
    line-height: 1.7;
}

.disclaimer-body p {
    color: #374151;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.disclaimer-body p:last-child {
    margin-bottom: 0;
}

.disclaimer-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.disclaimer-footer .ok-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disclaimer-footer .ok-btn:hover {
    background: #457B9D;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Privacy Policy Modal Styles */
.privacy-policy-modal,
.terms-of-service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.privacy-policy-content,
.terms-of-service-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.privacy-policy-content .modal-header,
.terms-of-service-content .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.privacy-policy-content .modal-header h2,
.terms-of-service-content .modal-header h2 {
    color: #1D3557;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.privacy-policy-content .modal-close,
.terms-of-service-content .modal-close {
    background: #1D3557;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-policy-content .modal-close:hover,
.terms-of-service-content .modal-close:hover {
    background: #457B9D;
    transform: scale(1.05);
}

.privacy-policy-body,
.terms-of-service-body {
    padding: 30px;
    line-height: 1.7;
}

.privacy-policy-body p,
.terms-of-service-body p {
    color: #374151;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.privacy-policy-body h3,
.terms-of-service-body h3 {
    color: #1D3557;
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.privacy-policy-body h3:first-child,
.terms-of-service-body h3:first-child {
    margin-top: 0;
}

.privacy-policy-body ul,
.privacy-policy-body ol,
.terms-of-service-body ul,
.terms-of-service-body ol {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-policy-body li,
.terms-of-service-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-policy-body strong,
.terms-of-service-body strong {
    color: #1D3557;
    font-weight: 700;
}

.terms-effective-date {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1D3557;
    margin-top: 30px !important;
}

.privacy-policy-footer,
.terms-of-service-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    position: sticky;
    bottom: 0;
    background: white;
}

.privacy-policy-footer .ok-btn,
.terms-of-service-footer .ok-btn {
    background: #1D3557;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.privacy-policy-footer .ok-btn:hover,
.terms-of-service-footer .ok-btn:hover {
    background: #457B9D;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .disclaimer-content,
    .privacy-policy-content,
    .terms-of-service-content {
        width: 95%;
        margin: 10px;
        max-width: none;
    }
    
    .disclaimer-content .modal-header,
    .disclaimer-body,
    .disclaimer-footer,
    .privacy-policy-content .modal-header,
    .privacy-policy-body,
    .privacy-policy-footer,
    .terms-of-service-content .modal-header,
    .terms-of-service-body,
    .terms-of-service-footer {
        padding: 20px;
    }
    
    .disclaimer-body p,
    .privacy-policy-body p,
    .terms-of-service-body p {
        font-size: 15px;
    }
    
    .privacy-policy-body h3,
    .terms-of-service-body h3 {
        font-size: 16px;
    }
}

/* Premium Service Section */
.premium-service-section {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('../images/bg2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.premium-service-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1D3557;
}

.highlight-premium {
    background: linear-gradient(45deg, #1D3557, #457B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-section {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-box {
    display: flex;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-number {
    width: 36px;
    height: 36px;
    background: #457B9D;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 16px;
    font-size: 15px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: bold;
    color: #1D3557;
    font-size: 17px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.feature-title .star {
    color: red;
    margin-left: 6px;
    font-size: 16px;
}

.feature-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* Mobile Responsiveness for Premium Service */
@media (max-width: 1026px) {
    .premium-service-section {
        padding: 60px 0;
    }

    .premium-service-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .feature-section {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .feature-box {
        flex-direction: row;
        align-items: flex-start;
        padding: 16px;
    }

    .feature-number {
        margin-bottom: 0;
        margin-right: 12px;
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-desc {
        font-size: 12px;
    }
}

/* Enhanced sequential animation for assistance items */
.assistance-item.visible {
    animation: slideInFromBottom 0.6s ease-out forwards;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* FAQ Section */
.faq-section-wrapper {
    padding: 80px 0;
    background: #ffffff;
}

.faq-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1D3557;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .faq-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .faq-title {
        font-size: 24px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.12);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    background-clip: padding-box;
}

.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1D3557 0%, #457B9D 100%);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.faq-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1D3557 0%, #457B9D 50%, #1D3557 100%);
    border-radius: 18px;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: #1D3557;
}

.faq-card:hover::before {
    opacity: 1;
}

.faq-card:hover::after {
    opacity: 0.1;
}

.faq-number {
    background: #1D3557;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    position: absolute;
    top: 25px;
    left: 20px;
    box-shadow: 0 2px 8px rgba(29, 53, 87, 0.3);
    transition: all 0.3s ease;
}

.faq-question {
    font-weight: 700;
    margin-left: 50px;
    margin-bottom: 12px;
    font-size: 17px;
    color: #1D3557;
    transition: color 0.3s ease;
    position: relative;
}

.faq-answer {
    font-size: 15px;
    color: #495057;
    margin-left: 50px;
    line-height: 1.6;
    font-weight: 400;
}

.faq-card:hover .faq-question {
    color: #457B9D;
}

.faq-card:hover .faq-number {
    transform: scale(1.1);
    background: #457B9D;
    box-shadow: 0 4px 15px rgba(29, 53, 87, 0.4);
}

@media (max-width: 1026px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-number {
        left: 16px;
        top: 26px;
    }
    
    .faq-question, .faq-answer {
        margin-left: 36px;
    }
}

/* Consultation Application Section */
.consultation-application-section {
    padding: 80px 0;
    background: #f8fbff;
}

.consultation-application-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 50px;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .consultation-application-section .section-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .consultation-application-section .section-title {
        font-size: 24px;
    }
}

.consultation-wrapper {
    display: flex;
    justify-content: center;
}

.form-wrapper {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 32px 40px;
}



.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 6px;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="tel"],
.form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-wrapper input[type="text"]:focus,
.form-wrapper input[type="tel"]:focus,
.form-wrapper textarea:focus {
    outline: none;
    border-color: #457B9D;
    box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.1);
}

.form-wrapper textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-container {
    margin-bottom: 16px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#captcha-text {
    font-size: 16px;
    font-weight: bold;
    color: #1D3557;
    flex: 1;
}

.captcha-refresh {
    background: #457B9D;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.captcha-refresh:hover {
    background: #1D3557;
}

#captcha-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: monospace;
}

.checkbox {
    display: flex !important;
    align-items: flex-start;
    font-size: 13px;
    margin-bottom: 24px;
    gap: 8px;
    visibility: visible !important;
}

.checkbox input {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
    accent-color: #1D3557;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 3px;
}

.checkbox label {
    line-height: 1.4;
    cursor: pointer;
    color: #374151;
}

.submit-btn {
    width: 100%;
    background: #1D3557;
    color: white;
    font-weight: bold;
    padding: 18px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    transform: scale(1);
}

.submit-btn:hover {
    background: #457B9D;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(69, 123, 157, 0.3);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.quick-contact {
    background: #EAF2FA;
    border-left: 4px solid #1D3557;
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0 10px;
    text-align: center;
    font-size: 14px;
    color: #1D3557;
}

.quick-contact .contact-question {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #1D3557;
}

.quick-contact strong {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    color: #1D3557;
}

.quick-contact .phone-icon {
    font-size: 20px;
    color: #457B9D;
}

.kakao-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FEE500;
    color: #3C1E1E;
    text-align: center;
    font-weight: bold;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 16px;
    font-size: 15px;
    transition: background 0.3s ease;
}

.kakao-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.kakao-btn:hover {
    background: #fdd835;
}

@media (max-width: 1026px) {
    .form-wrapper {
        max-width: 500px;
        padding: 28px 32px;
        margin: 0 20px;
    }
    
    /* Quick contact mobile optimization */
    .quick-contact strong {
        font-size: 18px;
        gap: 6px;
        white-space: nowrap;
    }
    
    .quick-contact .phone-icon {
        font-size: 16px;
    }
    
    /* Captcha input optimization */
    #captcha-input {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 24px 20px;
        margin: 0 15px;
    }
    
    .consultation-application-section {
        padding: 60px 0;
    }
    
    /* Quick contact ultra mobile */
    .quick-contact strong {
        font-size: 16px;
        gap: 4px;
        white-space: nowrap;
    }
    
    .quick-contact .phone-icon {
        font-size: 14px;
    }
    
    /* Captcha input mobile optimization */
    #captcha-input {
        font-size: 13px !important;
    }
}

/* Statistics Section */
.statistics-section {
    padding: 100px 0;
    background: #f8fbff;
}

.statistics-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 60px;
}

/* Tablet responsive */
@media (max-width: 1025px) and (min-width: 769px) {
    .statistics-title {
        font-size: 28px;
    }
}

/* Mobile responsive */  
@media (max-width: 768px) {
    .statistics-title {
        font-size: 24px;
    }
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.chart-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.1);
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #457B9D;
    text-align: center;
    margin-bottom: 30px;
}

/* Horizontal Bar Chart */
.horizontal-chart {
    height: auto;
}

.chart-header {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 15px 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.region-header,
.count-header {
    font-weight: 600;
    color: #1D3557;
    font-size: 14px;
}

.count-header {
    font-weight: bold;
    color: #1D3557;
    text-align: right;
}

.horizontal-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horizontal-bar-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 15px;
}

.region-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.horizontal-bar-container {
    position: relative;
    background: #e2e8f0;
    height: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.horizontal-bar {
    background: linear-gradient(90deg, #457B9D, #6BA3C7);
    height: 100%;
    border-radius: 12px;
    transition: width 0.8s ease;
    position: relative;
}

.horizontal-bar-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #1D3557;
    z-index: 2;
}

.chart-note {
    margin-top: 20px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Line Chart Styles */
.line-chart-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.line-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-line {
    filter: drop-shadow(0 2px 4px rgba(29, 53, 87, 0.2));
    transition: all 0.3s ease;
}

.chart-line:hover {
    stroke-width: 5;
    filter: drop-shadow(0 4px 8px rgba(29, 53, 87, 0.3));
}

.data-point {
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-point:hover {
    r: 12;
    filter: drop-shadow(0 2px 6px rgba(29, 53, 87, 0.4));
}

.axis-text {
    font-size: 12px;
    font-weight: 500;
    fill: #64748b;
    font-family: 'Noto Sans KR', sans-serif;
}

.data-label-value {
    font-size: 14px;
    font-weight: 700;
    fill: #1e293b;
    font-family: 'Noto Sans KR', sans-serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.chart-legend {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.legend-color {
    width: 16px;
    height: 4px;
    background: #1D3557;
    border-radius: 2px;
}

.legend-text {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    font-family: 'Noto Sans KR', sans-serif;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .chart-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 1026px) {
    .chart-title {
        font-size: 1.1rem;
    }

    .horizontal-bars {
        gap: 10px;
    }

    .horizontal-bar-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .chart-header {
        grid-template-columns: 80px 1fr;
    }

    .region-name {
        font-size: 12px;
    }

    /* Line Chart Tablet */
    .line-chart-container {
        height: 350px;
        padding: 15px;
    }

    .data-label-value {
        font-size: 13px;
    }

    .axis-text {
        font-size: 11px;
    }
}

/* 모바일 버전 - 막대그래프 간격 추가 */
@media (max-width: 768px) {
    .horizontal-bars {
        gap: 12px;
    }

    .horizontal-bar-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    .chart-header {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    /* Line Chart Mobile */
    .line-chart-container {
        height: 300px;
        padding: 10px;
    }

    .data-label-value {
        font-size: 11px;
    }

    .axis-text {
        font-size: 10px;
    }

    .legend-item {
        padding: 6px 12px;
    }

    .legend-text {
        font-size: 12px;
    }

    .region-name {
        font-size: 11px;
    }

    .chart-wrapper {
        padding: 25px 15px;
    }

}

/* Main Success Cases Section */
.main-success-cases {
    padding: 60px 0;
    background-color: white;
}

.main-success-cases .section-title {
    text-align: left;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1D3557;
    margin-bottom: 50px;
}

.success-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.success-case-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.success-case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.success-case-card-link:hover .success-case-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.success-case-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.case-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 61%; /* 100:61 비율 */
    position: relative;
    overflow: hidden;
}

.case-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.success-case-card-link:hover .case-thumbnail img {
    transform: scale(1.05);
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1D3557;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    display: inline-block;
    color: #457B9D;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.success-case-card-link:hover .read-more {
    color: #1D3557;
    text-decoration: underline;
}

.case-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.more-cases-wrapper {
    text-align: center;
    margin-top: 40px;
}

.more-cases-btn {
    display: block;
    width: 100%;
    background-color: #1D3557;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.more-cases-btn:hover {
    background-color: #457B9D;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

/* 태블릿 버전 - 한 줄에 하나의 박스 */
@media (max-width: 1026px) and (min-width: 769px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .main-success-cases .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .case-content {
        padding: 25px;
    }
    
    .more-cases-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

/* 모바일 버전 */
@media (max-width: 768px) {
    .success-cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-success-cases .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.5;
        max-height: 3em; /* 2줄 높이 */
    }
    
    .more-cases-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-success-cases .section-title {
        font-size: 1.4rem;
        text-align: left;
    }
}

/* 462px 이하 화면에서 STLC 프리미엄 서비스 제목 폰트 크기 조정 */
@media (max-width: 462px) {
    .premium-service-section .section-title {
        font-size: 24px;
        line-height: 1.3;
    }
}

/* 358px 이하 화면에서 STLC 프리미엄 서비스 제목 폰트 크기 추가 조정 */
@media (max-width: 358px) {
    .premium-service-section .section-title {
        font-size: 20px;
        line-height: 1.3;
    }
}

/* 319px 이하 화면에서 수사부터 재판까지 단계별 POINT 제목 폰트 크기 조정 */
@media (max-width: 319px) {
    .stage-title {
        font-size: 22px;
        line-height: 1.3;
    }
}

/* 태블릿 사이즈에서 푸터 최적화 */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .footer-description {
        font-size: 14px;
        line-height: 1.6;
        max-width: 600px;
        margin: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: left;
    }
    
    .footer-policies {
        justify-content: flex-start;
    }
}

/* Desktop specific hero section spacing optimization */
@media (min-width: 1200px) {
    .hero-section {
        padding: 40px 0 50px;
        min-height: 62vh;
    }
    
    .image-container {
        height: 580px;
    }
    
    .lawyers-team {
        width: 500px;
        height: 500px;
    }
    
    .cta-section {
        margin-bottom: 40px;
        margin-top: 25px;
    }
}

@media (min-width: 1400px) {
    .hero-section {
        padding: 35px 0 45px;
        min-height: 58vh;
    }
    
    .image-container {
        height: 620px;
    }
    
    .lawyers-team {
        width: 500px;
        height: 500px;
    }
    
    .cta-section {
        margin-bottom: 40px;
        margin-top: 30px;
    }
}

/* Font Awesome 아이콘 폰트 강화 - 최우선순위 */
.fas, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
}

/* 전화 아이콘 특별 처리 */
.fas.fa-phone:before,
.fa-phone:before {
    content: "\f095" !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
}

/* 아이콘 로딩 실패 시 Unicode 대체 */
.phone-icon-fallback {
    font-family: system-ui, -apple-system, sans-serif !important;
}
.phone-icon-fallback:before {
    content: "☎" !important;
}

