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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    cursor: crosshair;
    position: relative;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 10px;
}

nav li {
    margin-right: 15px;
    flex-shrink: 0;
}

nav li:last-child {
    margin-right: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #dc3545;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    transform: translateZ(0);
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    transition: opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-position 0.3s ease;
    opacity: 1;
    will-change: background-position;
    transform: translateZ(0);
}

#bg-layer-1 {
    background-image: url('landscape.jpg');
}

#bg-layer-2 {
    background-image: url('duskscape.jpg');
    opacity: 0;
}

#bg-layer-3 {
    background-image: url('nightscape.jpg');
    opacity: 0;
}

.foreground-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.montage-video {
    width: 60%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    border: 8px solid white;
}

.main-content {
    text-align: center;
    color: #000;
    text-shadow: none;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
}

.hero-title {
    font-size: 3.1em;
    margin: 0;
    font-weight: bold;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: white;
    text-shadow: none;
    background: #000;
    padding: 16px 20px;
    border-radius: 2px;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    opacity: 1;
    text-shadow: none;
    line-height: 1.4;
    font-weight: 400;
    background: #000;
    padding: 12px 16px;
    border-radius: 2px;
    display: inline-block;
    max-width: 600px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #dc3545;
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    backdrop-filter: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-secondary:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
}

.content-section {
    background: none;
    padding: 80px 20px;
    min-height: auto;
}

.decision-tree {
    max-width: 1200px;
    margin: 0 auto 100px;
    text-align: center;
}

.decision-tree h2 {
    color: #000;
    font-size: 3.1em;
    margin-bottom: 40px;
    text-shadow: none;
    font-weight: bold;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.tree-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 2px;
    padding: 40px;
    border: none;
    box-shadow: none;
}

.tree-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tree-step.active {
    display: block;
}

.tree-step h3 {
    color: #000;
    font-size: 1.6rem;
    margin-bottom: 28px;
    font-weight: 400;
    text-shadow: none;
}

.options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    padding: 24px;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    backdrop-filter: blur(4px);
}

.option-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.option-btn strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: inherit;
    font-weight: 500;
}

.option-btn span {
    opacity: 0.8;
    line-height: 1.4;
}

.selected-path {
    text-align: center;
    padding: 30px;
}

.selected-path h3 {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 20px;
}

#pathSummary {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    color: white;
}

.btn-apply {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.4);
}

.tree-navigation {
    margin-top: 30px;
    text-align: center;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.final-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.content-details {
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
}

.content-details section {
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 2px;
    padding: 40px;
    border: none;
    box-shadow: none;
}

.content-details h2 {
    font-size: 3.1em;
    margin-bottom: 24px;
    color: #000;
    font-weight: bold;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.content-details h3 {
    font-size: 1.4rem;
    margin: 24px 0 12px;
    color: #000;
    font-weight: 400;
}

.content-details p {
    line-height: 1.6;
    margin-bottom: 18px;
    color: #000;
    opacity: 0.85;
}

.minimum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.minimum-item {
    background: rgba(220, 53, 69, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.method-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.method-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.personal-note {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(200, 35, 51, 0.2)) !important;
}

.note-content {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

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

/* Apply Page Styles */
.apply-page {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    min-height: 100vh;
}

.apply-container {
    padding: 100px 20px;
}

.apply-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.apply-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #dc3545;
}

.apply-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(135deg, #dc3545, #c82333);
    height: 100%;
    width: 33.33%;
    transition: width 0.3s ease;
}

.progress-text {
    display: block;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

.apply-form {
    max-width: 100%;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-step h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #dc3545;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #dc3545;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group small {
    display: block;
    margin-top: 5px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    max-width: 200px;
}

.btn-prev {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.btn-prev:hover,
.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.warning-text {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.form-success {
    text-align: center;
    padding: 50px;
}

.success-content h2 {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 20px;
}

.success-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}


/* Desktop - ensure mobile controls are hidden */
@media (min-width: 769px) {
    .slideshow-controls-mobile {
        display: none !important;
    }
    
    .slideshow-controls-nav {
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Force mobile viewport on all browsers */
    html {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    body {
        min-width: 320px;
        cursor: default;
    }
    
    nav ul {
        padding: 10px 15px;
        gap: 5px;
        justify-content: space-between;
    }
    
    nav li {
        margin-right: 8px;
    }
    
    nav a {
        font-size: 14px;
        padding: 5px 8px;
        border-radius: 8px;
        white-space: nowrap;
    }
    
    /* Hide desktop slideshow controls, show mobile ones */
    .slideshow-controls-nav {
        display: none !important;
    }
    
    .slideshow-controls-mobile {
        display: flex;
    }
    
    /* Ensure language switcher is always visible */
    .lang-switcher {
        display: flex !important;
        gap: 4px;
        margin-left: auto;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 30px;
    }
    
    /* Adjust social footer layout */
    .social-footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .montage-video {
        width: 90%;
        border: 5px solid white;
    }
    
    .hero-text-container {
        padding: 25px;
        margin: 0 15px 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .content-section {
        padding: 50px 10px;
    }
    
    .decision-tree h2 {
        font-size: 2rem;
    }
    
    .tree-container {
        padding: 30px 20px;
    }
    
    .options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .option-btn {
        padding: 20px;
        text-align: center;
    }
    
    .content-details section {
        padding: 30px 20px;
    }
    
    .content-details h2 {
        font-size: 1.8rem;
    }
    
    .method-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .minimum-grid {
        grid-template-columns: 1fr;
    }
    
    /* Removed duplicate nav styles - handled above */
    
    
    /* Apply page mobile styles */
    .apply-container {
        padding: 80px 15px;
    }
    
    .apply-content {
        padding: 30px 20px;
    }
    
    .apply-content h1 {
        font-size: 2rem;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    nav ul {
        padding: 8px 10px;
        gap: 3px;
        flex-wrap: wrap;
    }
    
    nav li {
        margin-right: 5px;
    }
    
    nav li a {
        font-size: 0.85rem;
        padding: 4px 6px;
    }
    
    .slide-btn {
        font-size: 0.7rem;
        padding: 4px 6px;
        margin: 0 1px;
    }
    
    .lang-btn {
        font-size: 0.75rem !important;
        padding: 4px 6px !important;
        min-width: 35px !important;
    }
    
    .slideshow-controls-nav {
        gap: 2px;
    }
    
    .hero-text-container {
        padding: 20px;
        margin: 0 10px 25px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tree-container {
        padding: 20px 15px;
    }
    
    .decision-tree h2 {
        font-size: 1.5rem;
    }
    
    .content-details section {
        padding: 20px 15px;
    }
    
    .apply-content {
        padding: 20px 15px;
    }
    
    .apply-content h1 {
        font-size: 1.8rem;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .foreground-content {
        padding: 20px 0;
    }
    
    .montage-video {
        width: 40%;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-buttons {
        margin-top: 20px;
    }
    
}

/* Contact Page Styles */
.contact-page {
    background-image: url('portrait.JPG');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px 0;
}

.contact-content {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #dc3545;
    font-weight: 700;
}

.contact-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Form Structure */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #dc3545;
    margin: 0;
}

/* Input Styles */
.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input[type="email"]:focus,
.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #dc3545;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

/* Card Grid Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.selection-card {
    position: relative;
}

.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px;
    position: relative;
}

.card-content:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

.selection-card input[type="radio"]:checked + .card-content {
    background: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.card-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
    line-height: 1.2;
}

/* Submit Button */
.form-actions {
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Status */
.form-status {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    margin-top: 16px;
}

.form-status.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.form-status.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Services Page Styles */
.services-page {
    background-image: url('landscape.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.services-content {
    padding: 120px 20px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h1 {
    font-size: 3.1em;
    font-weight: bold;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: white;
    background: #000;
    padding: 16px 20px;
    border-radius: 2px;
    display: inline-block;
    margin-bottom: 16px;
}

.services-header p {
    font-size: 1.2rem;
    color: white;
    background: #000;
    padding: 12px 16px;
    border-radius: 2px;
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* Services Table */
.services-table-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 2px;
    padding: 40px;
    margin-bottom: 60px;
    overflow-x: auto;
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.services-table th {
    background: #000 !important;
    color: white !important;
    padding: 20px 15px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #dc3545;
}

.services-table th.service-name {
    text-align: left;
}

.services-table td {
    padding: 24px 15px;
    vertical-align: top;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-row.premium {
    background: rgba(220, 53, 69, 0.05);
    border-left: 4px solid #dc3545;
}

.service-row.popular {
    background: rgba(40, 167, 69, 0.05);
    border-left: 4px solid #28a745;
}

.service-row.free {
    background: rgba(255, 193, 7, 0.05);
    border-left: 4px solid #ffc107;
}

/* Service Name */
.service-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    text-align: left;
}

/* Feature columns */
.amount {
    font-size: 1.4rem;
    font-weight: bold;
    color: #dc3545;
}

.commission-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rate {
    font-weight: 600;
    color: #000;
}

.commission-info small {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
}

.control-level {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.control-level.high {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.control-level.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.control-level.full {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.withdrawal-info {
    font-weight: 600;
    color: #000;
}

.best-for {
    font-weight: 600;
    color: #dc3545;
}

.feature-col small {
    display: block;
    margin-top: 4px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.85rem;
}

.feature-col.check {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
}

.feature-col:not(.check) {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.3);
}

/* Action buttons */
.btn-service {
    display: inline-block;
    padding: 12px 20px;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    min-width: 100px;
}

.btn-service:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-service.free {
    background: #28a745;
}

.btn-service.free:hover {
    background: #218838;
}

/* Services Footer */
.services-footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 2px;
    padding: 40px;
    text-align: center;
}

.service-note h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 16px;
}

.service-note p {
    font-size: 1.1rem;
    color: #000;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.next-steps h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.next-steps .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.contact-info p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

/* Full-width testimonials and footer on contact page */
.contact-page .testimonials-band {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 60px;
}

.contact-page .social-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}

/* Contact Page Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-page {
        padding: 15px 15px 0;
        padding-top: 80px;
    }
    
    .contact-content {
        padding: 30px 20px;
        max-width: 100%;
        margin: 0;
    }
    
    .contact-header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-form {
        gap: 24px;
    }
    
    .form-section {
        gap: 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .card-content {
        padding: 16px;
        text-align: center;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-subtitle {
        font-size: 0.85rem;
    }
    
    .contact-form input[type="email"],
    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    .submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .contact-info {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .contact-info h4 {
        font-size: 1.1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .contact-header h1 {
        font-size: 1.75rem;
    }
    
    .contact-header p {
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .contact-form input[type="email"],
    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 12px 14px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-subtitle {
        font-size: 0.8rem;
    }
    
    .submit-btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* Testimonials mobile fixes */
    .testimonials-scroll {
        padding: 0 5px;
        gap: 10px;
    }
    
    .testimonial-item {
        width: 120px;
        height: 100px;
    }
    
    .testimonials-header h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-header p {
        font-size: 0.85rem;
    }
    
    .contact-page .testimonials-band {
        margin-top: 30px;
    }
}

@media (max-width: 360px) {
    .contact-page {
        padding: 10px 10px 0;
        padding-top: 70px;
    }
    
    .contact-content {
        padding: 15px 12px;
    }
    
    .contact-header h1 {
        font-size: 1.5rem;
    }
    
    .form-section {
        gap: 16px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .contact-form input[type="email"],
    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 10px 12px;
    }
    
    /* Extra small screen testimonials fixes */
    .testimonials-scroll {
        padding: 0 3px;
        gap: 8px;
    }
    
    .testimonial-item {
        width: 100px;
        height: 80px;
    }
    
    .testimonials-header h3 {
        font-size: 1.1rem;
    }
    
    .testimonials-header p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .contact-page .testimonials-band {
        margin-top: 25px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .contact-page {
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .contact-content {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .contact-header h1 {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-section {
        gap: 16px;
    }
}

/* Language styles */
.lang-switcher {
    display: flex !important;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
    align-items: center;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Hide Korean content by default */
[data-lang="ko"] {
    display: none !important;
}

/* Hide English content when Korean is selected */
body.lang-ko [data-lang="en"] {
    display: none !important;
}

/* Show Korean content when Korean is selected */
body.lang-ko [data-lang="ko"] {
    display: block !important;
}

/* Show inline Korean content when Korean is selected */
body.lang-ko [data-lang="ko"].inline {
    display: inline !important;
}

/* Force hide Korean when NOT in Korean mode (backup rule) */
body:not(.lang-ko) [data-lang="ko"] {
    display: none !important;
}

/* Force show English when NOT in Korean mode (backup rule) */
body:not(.lang-ko) [data-lang="en"] {
    display: inline !important;
}

/* Remove blur from background layers */
.background-layer {
    filter: none;
}

/* Apply backdrop blur only to containers that need it */
.tree-container,
.content-details section {
    backdrop-filter: blur(10px);
}

/* Navigation flexbox is already handled above */

/* Slideshow controls in navigation */
.slideshow-controls-nav {
    display: flex;
    gap: 15px;
    margin: 0 auto;
}

.slideshow-controls-nav .slide-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-size: 10px;
}

.slideshow-controls-nav .slide-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.slideshow-controls-nav .slide-btn.active {
    background: rgba(220, 53, 69, 0.8);
    border-color: #dc3545;
}

/* Social footer styles */
.social-footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Mobile slideshow controls - hidden by default on desktop */
.slideshow-controls-mobile {
    display: none;
    gap: 15px;
    justify-content: flex-end;
    width: 100%;
}

.slideshow-controls-mobile .slide-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-size: 10px;
}

.slideshow-controls-mobile .slide-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.slideshow-controls-mobile .slide-btn.active {
    background: rgba(220, 53, 69, 0.8);
    border-color: #dc3545;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

.social-icon {
    font-size: 1.2rem;
}

.social-text {
    font-weight: 500;
}

/* Bottom CTA buttons */
.bottom-cta-buttons {
    text-align: center;
    padding: 60px 20px 40px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-apply-large,
.btn-signals-large {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 35px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 280px;
    text-align: center;
}

.btn-apply-large {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: 2px solid transparent;
}

.btn-signals-large {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(220, 53, 69, 0.7);
}

.btn-apply-large:hover,
.btn-signals-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-apply-large:hover {
    box-shadow: 0 15px 30px rgba(220, 53, 69, 0.4);
}

.btn-signals-large:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

@media (max-width: 768px) {
    .bottom-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 15px 30px;
    }
    
    .btn-apply-large,
    .btn-signals-large {
        width: 100%;
        max-width: 350px;
        font-size: 1.1rem;
        min-width: unset;
    }
    
    /* Services page mobile styles */
    .services-content {
        padding: 100px 15px 40px;
    }
    
    .services-header h1 {
        font-size: 2.4em;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .services-table-container {
        padding: 20px 15px;
        overflow-x: auto;
    }
    
    .services-table {
        min-width: 900px;
    }
    
    .services-table th,
    .services-table td {
        padding: 16px 8px;
        font-size: 0.9rem;
    }
    
    .service-name {
        font-size: 1rem;
    }
    
    .feature-col.check {
        font-size: 1.3rem;
    }
    
    .services-footer {
        padding: 30px 15px;
    }
    
    .service-note h3 {
        font-size: 1.6rem;
    }
    
    .next-steps .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Testimonials Band */
.testimonials-band {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    padding: 30px 0;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.testimonials-container {
    position: relative;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.testimonials-nav:hover {
    background: rgba(220, 53, 69, 0.8);
    border-color: #dc3545;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

.testimonials-nav.prev {
    left: 20px;
}

.testimonials-nav.next {
    right: 20px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 0 20px;
}

.testimonials-header h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.testimonials-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.testimonials-scroll {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    transition: transform 0.5s ease;
}

.testimonials-scroll.auto-scroll {
    animation: scroll-testimonials 60s linear infinite;
}

.testimonials-scroll.auto-scroll:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-item {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.testimonial-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.testimonial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-item:hover img {
    transform: scale(1.1);
}

/* Modal for enlarged images */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.testimonial-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
}

.modal-close:hover {
    color: #dc3545;
}

/* Mobile responsive testimonials */
@media (max-width: 768px) {
    .testimonials-band {
        overflow-x: hidden;
        width: 100%;
    }
    
    .testimonials-scroll {
        padding: 0 10px;
        gap: 15px;
    }
    
    .testimonial-item {
        width: 150px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .testimonials-header {
        padding: 0 20px;
        text-align: center;
    }
    
    .testimonials-header h3 {
        font-size: 1.5rem;
    }
    
    .testimonials-header p {
        font-size: 0.9rem;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .testimonials-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonials-nav.prev {
        left: 10px;
    }
    
    .testimonials-nav.next {
        right: 10px;
    }
    
    /* Contact page testimonials already full-width */
    .contact-page .testimonials-band {
        margin-top: 40px;
    }
}