/* Feature Section - Modern Card Layout */

.feature-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a574 0%, #c99560 50%, #d4a574 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
}

.feature-section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.feature-section-header h2 {
    font-size: 42px;
    color: #2c1810;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
}

.feature-section-header p {
    font-size: 16px;
    color: #888;
    margin: 0;
    font-style: italic;
}

.feature-section-header .section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    margin: 20px auto 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4a574 0%, #c99560 50%, #d4a574 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.15);
    border-color: #d4a574;
}

/* Icon Container */
.feature-icon-container {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #d4a574 0%, #c99560 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-icon-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
}

.feature-card:hover .feature-icon-container {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
}

.feature-icon-container img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-container img {
    filter: brightness(0) invert(1);
    transform: scale(1.15);
}

/* Content */
.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content h3 {
    font-size: 22px;
    color: #2c1810;
    margin: 0 0 15px 0;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
    color: #d4a574;
}

.feature-content p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content p {
    color: #666;
}

/* Feature Number Badge */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #d4a574;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-badge {
    background: #d4a574;
    color: #ffffff;
    transform: scale(1.1);
}

/* Bottom Accent Line */
.feature-bottom-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d4a574;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .feature-bottom-accent {
    width: 60%;
}

/* CTA Section */
.feature-cta-section {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.feature-cta-text {
    font-size: 18px;
    color: #2c1810;
    margin-bottom: 20px;
    font-weight: 500;
}

.feature-cta-text .highlight {
    color: #d4a574;
    font-weight: 700;
}

.feature-cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #d4a574 0%, #c99560 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid #d4a574;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.feature-cta-button:hover {
    background: #2c1810;
    border-color: #2c1810;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .feature-section-header h2 {
        font-size: 36px;
    }

    .feature-icon-container {
        width: 80px;
        height: 80px;
    }

    .feature-icon-container img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 60px 0;
    }

    .feature-section-header {
        margin-bottom: 40px;
    }

    .feature-section-header h2 {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon-container {
        width: 75px;
        height: 75px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .feature-section {
        padding: 40px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-section-header h2 {
        font-size: 24px;
    }

    .feature-icon-container {
        width: 70px;
        height: 70px;
    }

    .feature-icon-container img {
        width: 40px;
        height: 40px;
    }

    .feature-content h3 {
        font-size: 16px;
    }

    .feature-content p {
        font-size: 12px;
    }

    .feature-cta-button {
        padding: 12px 30px;
        font-size: 13px;
    }
}
