/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* Reset và base styles */
.elementor-widget-fourseasons-operating-philosophy * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.elementor-widget-fourseasons-operating-philosophy {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Loại bỏ khoảng trắng từ Elementor wrapper */
.elementor-widget-fourseasons-operating-philosophy .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Loại bỏ khoảng trắng từ parent elements */
.elementor-widget-fourseasons-operating-philosophy .elementor-element,
.elementor-widget-fourseasons-operating-philosophy .elementor-section,
.elementor-widget-fourseasons-operating-philosophy .elementor-column {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Main section - clean layout */
.elementor-widget-fourseasons-operating-philosophy .philosophy-section {
    width: 100%;
    height: auto;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* Inner container - same as outer section */
.elementor-widget-fourseasons-operating-philosophy .philosophy-container {
    width: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
}

/* Content wrapper - white background */
.elementor-widget-fourseasons-operating-philosophy .philosophy-content-wrapper {
    width: 100%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 0 auto;
}

/* Content layout */
.elementor-widget-fourseasons-operating-philosophy .philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Left side - Circle container */
.elementor-widget-fourseasons-operating-philosophy .philosophy-circle-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    width: 100%;
}

/* Circle image */
.elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

/* Hover areas - positioned over the circle */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    background-color: transparent;
    border: none;
    pointer-events: auto;
}

/* Position hover areas - precise positioning based on actual icon locations */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-top-left {
    top: 15%;
    left: 15%;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-top-right {
    top: 15%;
    right: 15%;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-bottom-right {
    bottom: 35%;
    right: 05%;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-bottom-center {
    bottom: 10%;
    left: 40%;
    /* transform: translateX(-50%); */
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-bottom-left {
    bottom: 35%;
    left: 05%;
}

/* Hover content - Fixed positioned text boxes */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.98));
    backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 200px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(0.96);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
    display: none;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    display: block !important;
}

/* Test: Always show hover content for debugging */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
    opacity: 0;
    visibility: hidden;
    display: none;
    background-color: #E9E4DC;
    color: #333;
}

/* ========================================
   CARD TEXT POSITIONS - CUSTOMIZE HERE
   ======================================== */

/* Card 1: Top-Left Icon - Customer-Centric Access */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.philosophy-hover-top-left {
    top: 0%;
    left: -10%;
    bottom: auto;
    right: auto;
}

/* Card 2: Top-Right Icon - Synergy-Driven Access */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.philosophy-hover-top-right {
    top: 5%;
    right: 5%;
    left: auto;
    bottom: auto;
}

/* Card 3: Bottom-Left Icon - Systematic Access */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.philosophy-hover-bottom-left {
    bottom: 5%;
    left: 5%;
    top: auto;
    right: auto;
}

/* Card 4: Bottom-Center Icon - Innovation Focus */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.philosophy-hover-bottom-center {
    bottom: 5%;
    left: 50%;
    /* transform: translateX(-50%); */
    top: auto;
    right: auto;
}

/* Card 5: Bottom-Right Icon - Quality Excellence */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content.philosophy-hover-bottom-right {
    bottom: 5%;
    right: 5%;
    top: auto;
    left: auto;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #2B2B2B;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-korean {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 8px;
    color: #666;
    font-style: italic;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-description {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
    text-align: left;
}

/* Curved arrows connecting icons to text boxes */
.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow {
    position: absolute;
    width: 100px;
    height: 2px;
    background-color: #999;
    opacity: 0;
    transition: all 0.4s ease-out;
    z-index: 15;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow.active {
    opacity: 1;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: #999;
}

/* Arrow positions for each connection */
.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow.arrow-top-right {
    top: 50%;
    right: -60px;
    transform: rotate(0deg);
    width: 100px;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow.arrow-bottom-left {
    bottom: 50%;
    left: -60px;
    transform: rotate(180deg);
    width: 100px;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow.arrow-bottom-right {
    bottom: 50%;
    right: -60px;
    transform: rotate(0deg);
    width: 100px;
}

/* Right side - Text content */
.elementor-widget-fourseasons-operating-philosophy .philosophy-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
    line-height: 1.2;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
    color: #555555;
    max-width: 100%;
}

/* Hover effects */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area:hover {
    background-color: transparent;
    border: none;
    transform: scale(1.05);
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area:active {
    transform: scale(1.02);
    transition: all 0.1s ease;
}

.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive design */
@media (max-width: 1200px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        width: 100%;
        max-width: 100%;
        margin: 0 20px;
        padding: 40px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-content {
        gap: 40px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 400px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-section {
        height: auto;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        margin: 0 15px;
        padding: 30px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-text-content {
        padding-left: 0;
        text-align: center;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 350px;
        height: 350px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area {
        width: 70px;
        height: 70px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
        max-width: 280px;
        min-width: 250px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        margin: 0 12px;
        padding: 25px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-description {
        font-size: 14px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 300px;
        height: 300px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area {
        width: 60px;
        height: 60px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
        max-width: 250px;
        min-width: 220px;
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        margin: 0 10px;
        padding: 20px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-description {
        font-size: 13px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 250px;
        height: 250px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area {
        width: 50px;
        height: 50px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
        max-width: 200px;
        min-width: 180px;
        padding: 15px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-title {
        font-size: 14px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-korean {
        font-size: 12px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-hover-description {
        font-size: 12px;
    }
}

/* Animation cho hover content */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transitions */
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-area,
.elementor-widget-fourseasons-operating-philosophy .philosophy-hover-content,
.elementor-widget-fourseasons-operating-philosophy .philosophy-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-section {
        padding: 80px 0;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        padding: 60px 40px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-content {
        gap: 50px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 400px;
        height: 400px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-title {
        font-size: 28px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-fourseasons-operating-philosophy .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-container {
        padding: 40px 30px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-circle {
        max-width: 350px;
        height: 350px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-title {
        font-size: 24px;
        text-align: center;
    }
    
    .elementor-widget-fourseasons-operating-philosophy .philosophy-description {
        font-size: 16px;
        text-align: center;
    }
}
