/* ======================================== */
/* FEATURES SECTION - WARM THEME */
/* ======================================== */

.features-section {
    background-color: #f5efe6 !important;
    padding: 0;
    overflow: visible !important;
}

.features-content {
    padding: 80px 12%;
}

.feature-heading {
    font-size: 3.2rem;
    font-weight: 700;
    color: #4A3228 !important;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Feature Subtitle */
.feature-subtitle {
    color: #8B6B4A !important;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Feature Description */
.feature-description {
    color: #5A4A3A !important;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 30px;
}

/* ======================================== */
/* ✅ FIXED: 4 ICONS - NO CUTTING */
/* ======================================== */

.features-grid {
    width: 100%;
    overflow: visible !important;
}

.features-grid .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -6px !important;
    overflow: visible !important;
}

.features-grid .col-6,
.features-grid .col-sm-6,
.features-grid .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 6px !important;
    margin-bottom: 12px;
    overflow: visible !important;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid rgba(196, 154, 108, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 95px;
    width: 100%;
    overflow: visible !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: #C49A6C;
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.12);
}

/* ✅ FIXED: WiFi icon - laptop not cutting */
.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 2px solid #C49A6C;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: visible !important;
    margin-bottom: 6px;
    padding: 10px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    display: block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08);
    border-color: #8B6B4A;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.15);
}

.feature-item h6 {
    color: #4A3228 !important;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.feature-item:hover h6 {
    color: #8B6B4A !important;
}

/* ======================================== */
/* RIGHT SIDE IMAGE - FIXED */
/* ======================================== */

.feature-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 550px;
    max-height: 700px;
    position: relative;
    overflow: hidden;
    background: #3D2D22;
}

.feature-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ======================================== */
/* BUTTON */
/* ======================================== */

.btn-more-about {
    text-decoration: none;
    color: #8B6B4A !important;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border: 2px solid #8B6B4A !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
    margin-top: 10px;
}

.btn-more-about:hover {
    background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 115, 85, 0.3);
    border-color: #6B5544 !important;
}

.btn-more-about .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-more-about:hover .arrow {
    transform: translateX(5px);
}

/* ======================================== */
/* ANIMATIONS */
/* ======================================== */

.reveal-down {
    opacity: 0;
    transform: translateY(-80px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-left-slide {
    opacity: 0;
    transform: translateX(150px);
    transition: all 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.is-active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media (max-width: 1024px) {
    .features-content {
        padding: 60px 8%;
    }

    .feature-heading {
        font-size: 2.8rem;
    }

    .feature-image-wrapper {
        min-height: 450px;
        max-height: 600px;
    }
}

@media (max-width: 991px) {
    .feature-image-wrapper {
        min-height: 380px;
        max-height: 480px;
    }
}

@media (max-width: 768px) {
    .features-content {
        padding: 40px 6%;
    }

    .feature-heading {
        font-size: 2.2rem;
    }

    .feature-image-wrapper {
        min-height: 320px;
        max-height: 400px;
        margin-top: 20px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        padding: 8px;
    }

    .feature-icon img {
        max-width: 24px;
        max-height: 24px;
    }

    .feature-item {
        min-height: 80px;
        padding: 10px 6px;
        border-radius: 10px;
    }

    .feature-item h6 {
        font-size: 0.8rem;
    }

    .features-grid .col-6,
    .features-grid .col-sm-6,
    .features-grid .col-md-6 {
        padding: 0 5px !important;
        margin-bottom: 10px;
    }

    .features-grid .row {
        margin: 0 -5px !important;
    }
}

@media (max-width: 576px) {
    .features-content {
        padding: 30px 4%;
    }

    .feature-heading {
        font-size: 1.6rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .feature-image-wrapper {
        min-height: 220px;
        max-height: 300px;
    }

    .feature-item {
        min-height: 70px;
        padding: 8px 4px;
        border-radius: 8px;
        border-width: 1.5px;
    }

    .feature-item h6 {
        font-size: 0.7rem;
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-width: 1.5px;
        padding: 6px;
        margin-bottom: 4px;
    }

    .feature-icon img {
        max-width: 20px;
        max-height: 20px;
    }

    .features-grid .col-6,
    .features-grid .col-sm-6,
    .features-grid .col-md-6 {
        padding: 0 4px !important;
        margin-bottom: 8px;
    }

    .features-grid .row {
        margin: 0 -4px !important;
    }

    .btn-more-about {
        padding: 8px 18px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
}

/* ======================================== */
/* DARK MODE */
/* ======================================== */

@media (prefers-color-scheme: dark) {
    .features-section {
        background: linear-gradient(135deg, #2A1F18 0%, #3D2D22 100%) !important;
    }

    .feature-heading {
        color: #F5E6D3 !important;
    }

    .feature-description {
        color: #D4C5B5 !important;
    }

    .feature-item {
        background: rgba(61, 45, 34, 0.8) !important;
        border-color: rgba(139, 115, 85, 0.3) !important;
    }

    .feature-item:hover {
        border-color: #C49A6C !important;
        box-shadow: 0 6px 20px rgba(196, 154, 108, 0.1);
    }

    .feature-item h6 {
        color: #F5E6D3 !important;
    }

    .feature-icon {
        background: #3D2D22 !important;
        border-color: #8B6B4A !important;
    }

    .feature-item:hover .feature-icon {
        border-color: #C49A6C !important;
    }

    .feature-item:hover h6 {
        color: #C49A6C !important;
    }

    .btn-more-about {
        color: #C49A6C !important;
        border-color: #8B6B4A !important;
    }

    .btn-more-about:hover {
        background: linear-gradient(135deg, #6B5544 0%, #8B6B4A 100%) !important;
        color: #FFFFFF !important;
    }

    .feature-image-wrapper {
        background: #2A1F18;
    }
}