/* ===== SERVICES PAGE ENHANCED STYLES ===== */

/* Page Title Section */
.page-title {
    text-align: center;
    padding: 1rem 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 0;
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Page Subtitle Section */
.page-subtitle {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.subtitle-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.subtitle-description {
    font-size: 1.2rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Wrapper */
.pricing-wrapper {
    background: #ffffff;
    padding: 2rem 0;
    width: 100%;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 2rem;
    max-width: 1400px; /* Increased for better three-column layout */
    margin: 0 auto;
}

/* Pricing Container - Three columns for desktop, laptop, tablet */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns on larger screens */
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: stretch; /* Make all boxes equal height */
}

/* Content Box Enhancements */
.content-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure equal height */
    min-height: 550px; /* Minimum height for consistency */
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.content-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
}

.content-box > p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.content-box ul {
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
    flex-grow: 1; /* Push pricing and button to bottom */
}

.content-box li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.content-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.content-box strong {
    font-size: 1.4rem;
    color: #2d3748;
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
    flex-shrink: 0;
}

/* Enhanced Button Styles */
.content-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: auto; /* Push button to bottom */
    flex-shrink: 0;
}

.content-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Popular Plan Highlight */
.content-box.popular {
    border: 2px solid #667eea;
    transform: scale(1.02);
}

.content-box.popular::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: #667eea;
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    transform-origin: center;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Devices (768px to 1024px) - Keep 3 columns */
@media (max-width: 1024px) {
    .pricing-section {
        padding: 3rem 1.5rem;
    }

    .pricing-container {
        gap: 1.5rem;
    }

    .content-box {
        padding: 2rem 1.5rem;
        min-height: 520px;
    }

    .content-box h2 {
        font-size: 1.6rem;
    }

    .content-box strong {
        font-size: 1.3rem;
    }
}

/* Mobile Devices (below 768px) - Stack in single column */
@media (max-width: 767px) {
    .page-title h1 {
        font-size: 2.5rem;
    }

    .subtitle-heading {
        font-size: 1.5rem;
    }

    .pricing-section {
        padding: 2rem 1rem;
    }

    .pricing-container {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 2rem;
        max-width: 500px; /* Limit width on mobile */
        margin-left: auto;
        margin-right: auto;
    }

    .content-box {
        min-height: auto; /* Remove fixed height on mobile */
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 400px;
    }

    .content-box.popular {
        transform: none; /* Remove scale on mobile */
    }

    .content-box h2 {
        font-size: 1.7rem;
    }

    .content-box strong {
        font-size: 1.4rem;
    }

    .content-btn {
        width: 100%;
        max-width: 250px;
        margin: 1rem auto 0;
    }
}

/* Small Mobile Devices (below 480px) */
@media (max-width: 480px) {
    .page-title {
        padding: 3rem 1rem 1.5rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .page-subtitle {
        padding: 2rem 1rem;
    }

    .subtitle-heading {
        font-size: 1.3rem;
    }

    .subtitle-description {
        font-size: 1rem;
    }

    .pricing-section {
        padding: 1.5rem 0.5rem;
    }

    .content-box {
        padding: 1.5rem 1rem;
    }

    .content-box h2 {
        font-size: 1.5rem;
    }

    .content-box li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .pricing-container {
        grid-template-columns: 1fr; /* Still single column in landscape */
        max-width: 600px;
    }

    .content-box {
        min-height: auto;
        padding: 1.5rem;
    }

    .content-box ul {
        margin: 1rem 0;
    }
}

/* Large Desktop Screens (1200px and above) */
@media (min-width: 1200px) {
    .pricing-container {
        gap: 3rem;
    }

    .content-box {
        padding: 3rem 2.5rem;
        min-height: 580px;
    }

    .content-box h2 {
        font-size: 2rem;
    }

    .content-box strong {
        font-size: 1.5rem;
    }
}

/* Animation for scroll */
.content-box {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.content-box:nth-child(1) { animation-delay: 0.1s; }
.content-box:nth-child(2) { animation-delay: 0.2s; }
.content-box:nth-child(3) { animation-delay: 0.3s; }

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

/* Additional Services Section (if you keep it) */
.additional-services {
    padding: 4rem 2rem;
    background: #f8fafc;
    text-align: center;
}

.additional-services h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 3rem;
}

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

/* Final CTA Section */
.final-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Mobile responsive for additional sections */
@media (max-width: 767px) {
    .additional-services h2,
    .final-cta h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Trust Signals Styles */
.trust-signals {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trust-signals p {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.5;
}

.trust-signals strong {
    color: #2b6cb0;
}

/* Responsive design */
@media (max-width: 768px) {
    .trust-signals {
        margin: 1.5rem 1rem;
        padding: 0.8rem 1rem;
    }

    .trust-signals p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-signals p {
        font-size: 0.9rem;
    }
}

.best-value {
    background: #ffd700;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 8px;
}

/* test */