/* Custom CSS for IPL Pro Specifications Page */

:root {
    --primary-color: #20c997;
    --primary-dark: #1ba085;
    --secondary-color: #6c757d;
    --accent-color: #0d6efd;
    --success-color: #198754;
    --warning-color: #fd7e14;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navigation Styles */
.navbar-brand {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.nav-link:hover,
.hover-link:hover {
    background-color: rgba(32, 201, 151, 0.1);
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.active-link {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

/* Page Header */
.divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Cards */
.card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.card-header {
    border-radius: 16px 16px 0 0 !important;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(32, 201, 151, 0.02);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    background: rgba(32, 201, 151, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

.feature-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Technical Specifications Table */
.table-hover tbody tr:hover {
    background-color: rgba(32, 201, 151, 0.05);
}

.table tbody td {
    border-color: rgba(32, 201, 151, 0.1);
    font-size: 1rem;
    vertical-align: middle;
}

/* What's Included */
.included-item {
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    border: 2px solid rgba(32, 201, 151, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.included-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(32, 201, 151, 0.15);
}

.included-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
}

.included-item h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-icon {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .included-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .included-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

.card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.bg-primary-subtle {
    background-color: rgba(32, 201, 151, 0.1) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Utility Classes */
.fw-semibold {
    font-weight: 600 !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}