/* Maintenance Plans Page Styling */

.maintenance-hero {
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/maintenance-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0 4rem;
    text-align: center;
}

.maintenance-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.maintenance-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.maintenance-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
}

.highlight-item i {
    color: #0066ff;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.highlight-item span {
    color: #fff;
    font-weight: 500;
}

/* Content Styling */
.maintenance-content-section {
    padding: 4rem 0;
    background: #111111; /* Darker background to match site theme */
}

.maintenance-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.maintenance-intro h2 {
    color: #fff; /* Changed from #333 to white */
    margin-bottom: 1rem;
}

.maintenance-intro p {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9); /* Added for consistency */
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(17, 17, 17, 0.8); /* Darker background */
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Darker shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.2); /* Blue border accent */
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 102, 255, 0.2); /* Blue glow */
    border-color: rgba(0, 102, 255, 0.4);
}

.benefit-icon {
    background: rgba(0, 102, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    color: #0066ff;
    font-size: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 0.75rem;
    color: #fff; /* Changed from #222 to white */
}

.benefit-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); /* Changed from #555 to light white */
}

/* Plan Requirements */
.plan-requirements {
    background: rgba(0, 102, 255, 0.1); /* Darker blue background */
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.plan-requirements h3 {
    color: #0066ff;
    margin-bottom: 1rem;
}

.requirements-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.requirements-icon {
    font-size: 2.5rem;
    color: #0066ff;
    flex-shrink: 0;
}

.requirements-text p {
    margin-bottom: 0.75rem;
}

.requirements-text p:last-child {
    margin-bottom: 0;
}

/* Plan Cards */
.maintenance-plans {
    margin-bottom: 4rem;
}

.maintenance-plans h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.plans-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.plan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.toggle-label {
    font-weight: 500;
    color: #666;
    cursor: pointer;
}

.toggle-label.active {
    color: #0066ff;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 15px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #0066ff;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    display: none;
}

.plans-grid.active {
    display: grid;
}

.plan-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.gold-plan {
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.platinum-plan {
    border: 1px solid rgba(128, 0, 128, 0.2);
}

.plan-header {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.gold-plan .plan-header {
    background: linear-gradient(135deg, #111111, rgba(0, 102, 255, 0.2));
}

.platinum-plan .plan-header {
    background: linear-gradient(135deg, #111111, rgba(128, 0, 128, 0.2));
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #0066ff;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-bottom-right-radius: 8px;
}

.premium-badge {
    background: #8000ff;
}

.plan-header h3 {
    margin: 1.5rem 0 1rem;
    color: #fff; /* Changed from #222 to white */
}

.plan-pricing {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #0066ff;
}

.platinum-plan .price {
    color: #8000ff;
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.savings-badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.plan-features {
    padding: 1rem 1.5rem;
    background: rgba(17, 17, 17, 0.8); /* Darker background */
    color: rgba(255, 255, 255, 0.9);
}

.plan-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Lighter border */
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: #4caf50;
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.plan-description {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3); /* Darker background */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8); /* Lighter text */
}

.plan-cta {
    padding: 1.5rem;
    text-align: center;
    background: rgba(17, 17, 17, 0.8); /* Darker background */
}

/* FAQ Section */
.maintenance-faq {
    margin-bottom: 3rem;
}

.maintenance-faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover h4 {
    color: #0066ff;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.faq-icon {
    color: #0066ff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.faq-item.active .faq-answer {
    padding: 0 0 1.5rem;
    max-height: 300px; /* Adjust this value as needed for your content */
}

/* CTA Section */
.maintenance-cta {
    text-align: center;
    background: rgba(0, 102, 255, 0.1); /* Blue tinted background */
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.maintenance-cta h2 {
    margin-bottom: 1rem;
    color: #fff; /* White text */
}

.maintenance-cta p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.9); /* Lighter text */
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .benefit-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .maintenance-title {
        font-size: 2rem;
    }
    
    .requirements-content {
        flex-direction: column;
        text-align: center;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-cards {
        gap: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .maintenance-highlights {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .highlight-item {
        width: 100%;
        justify-content: center;
    }
    
    .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .price {
        font-size: 1.7rem;
    }
}
