/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    padding-bottom: 100px;
}




/* Product Tabs */
.product-tabs {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    padding: 0 1rem;
}

.product-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 1rem 2rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.product-tabs .nav-link.active {
    color: #495057;
    background-color: transparent;
    border-bottom-color: #007bff;
}

.product-tabs .nav-link:hover {
    border-color: transparent;
    color: #007bff;
}

/* Product Gallery */
.product-gallery {
    position: relative;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    z-index: 1;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefits-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .benefits-title {
        font-size: 2rem;
    }
}

/* Compatibility Section */
.compatibility-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.compatibility-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
}

.skin-tone-badge {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.compatibility-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tone-row {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.tone-sample {
    width: 40px;
    height: 30px;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.hair-types {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hair-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hair-sample {
    width: 40px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.compatibility-cell {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 12px;
    flex-shrink: 0;
}

.compatibility-cell.compatible {
    background-color: #d4edda;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

.compatibility-cell.incompatible {
    background-color: #f8d7da;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8841a 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-outline-dark {
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.compatibility-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .compatibility-card {
        padding: 1.5rem;
    }
    
    .tone-sample,
    .compatibility-cell {
        width: 35px;
    }
    
    .tone-sample {
        height: 25px;
    }
    
    .compatibility-cell {
        height: 25px;
        font-size: 10px;
    }
    
    .features-section {
        padding: 2rem 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tone-sample,
    .compatibility-cell {
        width: 28px;
    }
    
    .tone-sample {
        height: 20px;
    }
    
    .compatibility-cell {
        height: 20px;
    }
    
    .hair-sample {
        width: 28px;
        height: 15px;
    }
}


#product{
    padding-top: 5rem;
}

#order{
    background:  linear-gradient(135deg, #e91e63 0%, #ff9800 100%);
}