@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

/* Platinum Warranty Section Styles */
.platinum-warranty-section {
    margin: 30px auto;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f2f5 0%, #e0e2e5 100%); /* Lighter, more modern background */
    border-radius: 25px; /* More rounded corners */
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2); /* Stronger, softer shadow */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
    position: relative;
    max-width: 950px; /* Slightly wider */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.platinum-warranty-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px; /* Even thicker border */
    background: linear-gradient(90deg, #B8860B, #DAA520, #FFD700, #DAA520, #B8860B); /* Gold gradient */
    background-size: 200% 100%;
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.platinum-warranty-section:hover {
    transform: translateY(-8px) scale(1.02); /* More dynamic hover effect */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.warranty-container {
    padding: 40px; /* More padding */
    max-width: 100%;
}

.warranty-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px; /* Increased gap */
    background: white;
    padding: 40px; /* Increased padding */
    border-radius: 20px; /* More rounded corners */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* Stronger shadow */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.warranty-badge:hover {
    transform: scale(1.005); /* Subtle zoom on inner badge */
}

.warranty-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(218, 165, 32, 0.1) 50%, transparent 100%); /* More prominent overlay */
    pointer-events: none;
}

.warranty-image {
    width: 250px; /* Even larger image size */
    height: auto;
    border-radius: 15px; /* Rounded image corners */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Stronger image shadow */
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
    object-fit: contain;
}

.warranty-image:hover {
    transform: scale(1.1) rotate(3deg); /* More dramatic hover */
}

.warranty-content {
    flex: 1;
    min-width: 0;
}

.warranty-title {
    font-size: 32px; /* Adjusted title size */
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 18px 0;
    background: linear-gradient(135deg, #B8860B, #DAA520, #FFD700); /* Richer gold gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Deeper text shadow */
}

.warranty-description {
    font-size: 18px; /* Adjusted description text */
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px 0;
    text-align: justify;
}

.warranty-features {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increased gap */
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px; /* Increased gap */
    font-size: 16px; /* Adjusted feature text */
    color: #444;
    transition: color 0.3s ease;
}

.feature-item:hover {
    color: #B8860B;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; /* Larger icon */
    height: 28px; /* Larger icon */
    background: linear-gradient(135deg, #B8860B, #DAA520); /* Consistent gradient */
    color: white;
    border-radius: 50%;
    font-size: 16px; /* Larger icon font */
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.5); /* Stronger shadow */
}

/* RTL Support */
[dir="rtl"] .platinum-warranty-section {
    font-family: 'Cairo', sans-serif; /* Apply Cairo font for Arabic */
}

[dir="rtl"] .warranty-badge {
    direction: rtl;
}

[dir="rtl"] .warranty-content {
    text-align: right;
}

[dir="rtl"] .warranty-description {
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
    .warranty-image {
        width: 200px;
    }
    .warranty-title {
        font-size: 28px;
    }
    .warranty-description {
        font-size: 16px;
    }
    .feature-item {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .warranty-badge {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px;
    }
    
    .warranty-image {
        width: 180px;
    }
    
    .warranty-title {
        font-size: 24px;
    }
    
    .warranty-description {
        font-size: 15px;
        text-align: center;
    }
    
    [dir="rtl"] .warranty-description {
        text-align: center;
    }
    
    .warranty-container {
        padding: 25px;
    }
    
    .platinum-warranty-section {
        margin: 25px auto;
    }
}

@media (max-width: 480px) {
    .warranty-features {
        align-items: center;
    }
    
    .feature-item {
        justify-content: center;
        font-size: 14px;
    }
    
    .warranty-title {
        font-size: 20px;
    }
    
    .warranty-description {
        font-size: 14px;
    }
    
    .warranty-image {
        width: 150px;
    }
}

/* Animation for entrance */
.platinum-warranty-section {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles */
@media print {
    .platinum-warranty-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .warranty-badge::before,
    .platinum-warranty-section::before {
        display: none;
    }
}

