.fourseasons-philosophy-quality-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #F8F8F8;
}

.philosophy-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: #F8F8F8;
}

.philosophy-section .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    min-height: 80vh;
}

/* Text Left, Image Right (Default) */
.philosophy-section.text-left .container {
    grid-template-columns: 1fr 1fr;
}

.philosophy-section.text-left .section-content {
    order: 1;
}

.philosophy-section.text-left .section-image {
    order: 2;
}

/* Text Right, Image Left */
.philosophy-section.text-right .container {
    grid-template-columns: 1fr 1fr;
}

.philosophy-section.text-right .section-content {
    order: 2;
}

.philosophy-section.text-right .section-image {
    order: 1;
}

/* Text Content */
.section-content {
    background: #FFFFFF;
    padding: 100px 80px;
    border-radius: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #555452, #8D8B88, #555452);
}

.section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #555452;
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 50px;
}

.section-text p {
    margin-bottom: 25px;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* Button */
.section-button {
    display: inline-block;
    background: linear-gradient(135deg, #555452, #333333);
    color: #FFFFFF;
    padding: 18px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 20px rgba(85, 84, 82, 0.3);
    position: relative;
    overflow: hidden;
}

.section-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.section-button:hover::before {
    left: 100%;
}

.section-button:hover {
    background: linear-gradient(135deg, #333333, #555452);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(85, 84, 82, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

/* Image */
.section-image {
    position: relative;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #F8F8F8;
}

.section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
}

.section-image:hover img {
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #CCCCCC;
    border-radius: 0;
    position: relative;
    z-index: 2;
}

.image-placeholder span {
    font-size: 48px;
    font-weight: bold;
    color: #999999;
    opacity: 0.5;
}

/* Animation classes */
.philosophy-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.philosophy-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .section-content {
        padding: 90px 70px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-text {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .section-content {
        padding: 80px 60px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-text {
        font-size: 17px;
    }
    
    .section-button {
        padding: 16px 20px;
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .philosophy-section {
        min-height: 70vh;
    }
    
    .section-content {
        padding: 70px 50px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .section-text {
        font-size: 16px;
        margin-bottom: 45px;
    }
    
    .section-button {
        padding: 15px 18px;
        font-size: 14px;
    }
}

@media (max-width: 752px) {
    .philosophy-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .philosophy-section .container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 25px;
        max-width: 100%;
    }
    
    /* Mobile: Image always on top, text always below */
    .philosophy-section.text-left .section-content,
    .philosophy-section.text-right .section-content {
        order: 2;
    }
    
    .philosophy-section.text-left .section-image,
    .philosophy-section.text-right .section-image {
        order: 1;
    }
    
    .section-content {
        padding: 50px 35px;
        text-align: left;
        height: auto;
        margin: 0;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        background: #FFFFFF;
        position: relative;
        margin-top: -20px;
        z-index: 2;
    }
    
    .section-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #555452, #8D8B88, #555452);
        border-radius: 16px 16px 0 0;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 30px;
        text-align: left;
        line-height: 1.1;
        font-weight: 800;
    }
    
    .section-text {
        font-size: 18px;
        margin-bottom: 40px;
        text-align: left;
        line-height: 1.7;
        color: #333333;
    }
    
    .section-image {
        height: 400px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        margin-bottom: 0;
        overflow: hidden;
    }
    
    .section-button {
        padding: 18px 35px;
        font-size: 16px;
        width: auto;
        text-align: center;
        display: inline-block;
        border-radius: 50px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

@media (max-width: 640px) {
    .philosophy-section {
        padding: 50px 0;
    }
    
    .philosophy-section .container {
        padding: 0 20px;
    }
    
    .section-content {
        padding: 45px 30px;
        border-radius: 12px;
        margin-top: -15px;
    }
    
    .section-content::before {
        height: 3px;
        border-radius: 12px 12px 0 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .section-text {
        font-size: 17px;
        margin-bottom: 35px;
    }
    
    .section-image {
        height: 350px;
        border-radius: 12px;
    }
    
    .section-button {
        padding: 16px 30px;
        font-size: 15px;
        border-radius: 40px;
    }
}

@media (max-width: 480px) {
    .philosophy-section {
        padding: 40px 0;
    }
    
    .philosophy-section .container {
        padding: 0 18px;
    }
    
    .section-content {
        padding: 40px 25px;
        border-radius: 10px;
        margin-top: -12px;
    }
    
    .section-content::before {
        height: 3px;
        border-radius: 10px 10px 0 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 22px;
    }
    
    .section-text {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .section-image {
        height: 300px;
        border-radius: 10px;
    }
    
    .section-button {
        padding: 15px 25px;
        font-size: 14px;
        border-radius: 30px;
    }
}

@media (max-width: 400px) {
    .philosophy-section {
        padding: 35px 0;
    }
    
    .philosophy-section .container {
        padding: 0 15px;
    }
    
    .section-content {
        padding: 35px 22px;
        border-radius: 8px;
        margin-top: -10px;
    }
    
    .section-content::before {
        height: 2px;
        border-radius: 8px 8px 0 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .section-text {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .section-image {
        height: 260px;
        border-radius: 8px;
    }
    
    .section-button {
        padding: 14px 22px;
        font-size: 13px;
        border-radius: 25px;
    }
}

@media (max-width: 360px) {
    .philosophy-section {
        padding: 30px 0;
    }
    
    .philosophy-section .container {
        padding: 0 12px;
    }
    
    .section-content {
        padding: 30px 18px;
        border-radius: 6px;
        margin-top: -8px;
    }
    
    .section-content::before {
        height: 2px;
        border-radius: 6px 6px 0 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    
    .section-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .section-image {
        height: 240px;
        border-radius: 6px;
    }
    
    .section-button {
        padding: 13px 20px;
        font-size: 12px;
        border-radius: 20px;
    }
}

@media (max-width: 320px) {
    .philosophy-section {
        padding: 25px 0;
    }
    
    .philosophy-section .container {
        padding: 0 10px;
    }
    
    .section-content {
        padding: 25px 15px;
        border-radius: 4px;
        margin-top: -6px;
    }
    
    .section-content::before {
        height: 2px;
        border-radius: 4px 4px 0 0;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .section-text {
        font-size: 13px;
        margin-bottom: 22px;
    }
    
    .section-image {
        height: 220px;
        border-radius: 4px;
    }
    
    .section-button {
        padding: 12px 18px;
        font-size: 11px;
        border-radius: 15px;
    }
}
