/* 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-fullwidth * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth {
    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-fullwidth .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .elementor-element,
.elementor-widget-fourseasons-operating-philosophy-fullwidth .elementor-section,
.elementor-widget-fourseasons-operating-philosophy-fullwidth .elementor-column {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Main section - fullwidth like hero-fullwidth */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 500px;
    background-color: #303030;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Inner container - 80% of philosophy-section */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-container {
    width: 80%;
    max-width: 80%;
    background-color: #303030;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
}

/* Content wrapper - dark background, 100% width */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-content-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: #303030;
    border-radius: 0;
    padding: 60px 40px;
    box-shadow: none;
    position: relative;
    margin: 0 auto;
}

/* Content layout */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .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-fullwidth .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-fullwidth .philosophy-circle {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    pointer-events: none;
    z-index: 5;
}

/* Hover areas - positioned over the circle */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-area {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    /* background-color: rgba(255, 0, 0, 0.3); 
    border: 2px solid rgba(255, 0, 0, 0.8);  */
    pointer-events: auto;
}

/* Position hover areas - precise positioning based on actual icon locations */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-top-left {
    top: 15%;
    left: 15%;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-top-right {
    top: 10%;
    right: 15%;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-bottom-center {
    bottom: 10%;
    left: 40%;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-bottom-left {
    bottom: 35%;
    left: 05%;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-bottom-right {
    bottom: 35%;
    right: 5%;
    top: auto;
    left: auto;
}

/* Hover content - Fixed positioned text boxes */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content {
    position: absolute !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 248, 0.98)) !important;
    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: 999999 !important;
    pointer-events: none;
    /* border: 2px solid rgba(0, 255, 0, 0.5); Debug: Green border */
    top: 0;
    left: 0;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    display: block !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
}

/* Debug: Always show first hover content for testing */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content:first-child {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.98), rgba(255, 255, 0, 0.98)) !important;
    /* border: 3px solid #ff0000 !important; */
}

/* ========================================
   CARD TEXT POSITIONS - CUSTOMIZE HERE
   ======================================== */

/* Card 1: Top-Left Icon - Customer-Centric Access */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.philosophy-hover-top-left {
    top: 0%;
    left: -5%;
    bottom: auto;
    right: auto;
}

/* Card 2: Top-Right Icon - Synergy-Driven Access */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.philosophy-hover-top-right {
    top: 5%;
    right: -7%;
    left: auto;
    bottom: auto;
}

/* Card 3: Bottom-Left Icon - Systematic Access */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .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-fullwidth .philosophy-hover-content.philosophy-hover-bottom-center {
    bottom: 5%;
    left: 55%;
    top: auto;
    right: auto;
}

/* Card 5: Bottom-Right Icon - Quality Excellence */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.philosophy-hover-bottom-right {
    bottom: 5%;
    right: 5%;
    top: auto;
    left: auto;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #2B2B2B !important;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 999999 !important;
    position: relative;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-korean {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 8px;
    color: #666666 !important;
    font-style: italic;
    z-index: 999999 !important;
    position: relative;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-description {
    font-size: 12px;
    line-height: 1.4;
    color: #555555 !important;
    text-align: left;
    z-index: 999999 !important;
    position: relative;
}

/* Curved arrows connecting icons to text boxes */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .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-fullwidth .philosophy-arrow.active {
    opacity: 1;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #999;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Right side - Text content */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
    color: #ffffff;
    line-height: 1.2;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-description {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
    color: #ffffff;
    max-width: 100%;
}

/* Hover effects */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .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-fullwidth .philosophy-hover-area:active {
    transform: scale(1.02);
    transition: all 0.1s ease;
}

/* Animations */
@keyframes hoverContentAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes descriptionSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes koreanSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.active {
    animation: hoverContentAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.active .philosophy-hover-title {
    animation: titleSlideIn 0.3s ease-out 0.1s both;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.active .philosophy-hover-korean {
    animation: koreanSlideIn 0.3s ease-out 0.2s both;
}

.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content.active .philosophy-hover-description {
    animation: descriptionSlideIn 0.3s ease-out 0.3s both;
}

/* Smooth transitions */
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-area,
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-hover-content,
.elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-arrow {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design - like hero-fullwidth */
@media (max-width: 1200px) {
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-container {
        max-width: 1137px;
        padding: 0 2rem;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-content {
        gap: 50px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-circle {
        max-width: 400px;
        height: 400px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-title {
        font-size: 28px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-section {
        min-height: 80vh;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-container {
        max-width: 1137px;
        padding: 0 1.5rem;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-circle {
        max-width: 350px;
        height: 350px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-title {
        font-size: 24px;
        text-align: center;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-description {
        font-size: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-section {
        min-height: 70vh;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-container {
        max-width: 1137px;
        padding: 0 1rem;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-title {
        font-size: 20px;
    }
    
    .elementor-widget-fourseasons-operating-philosophy-fullwidth .philosophy-description {
        font-size: 14px;
    }
}
