/* Enhanced Web Development Page Styles */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ed2b29;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --feature-bg: #ffffff;
    --feature-border: #e2e8f0;
    --feature-hover: #f7fafc;
    --feature-selected: #edf2ff;
    --feature-checked: #667eea;
}

/* Header & Navigation */
.header {
    transition: all 0.3s ease;
    z-index: 1000;
    position: fixed;
    width: 100%;
    top: 0;
    background: transparent;
}

.header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.header.sticky .nav-links a {
    color: var(--text-dark);
}

.header.sticky .logo img {
    height: 40px;
    width: auto;
}

/* Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
}

.hero-particles .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Enhanced Website Type Selection Styles */
.calculator-step .feature-option {
    background: var(--feature-bg);
    border: 2px solid var(--feature-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    align-items: center;
    padding: 16px !important;
}

.calculator-step .feature-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.8s ease;
}

.calculator-step .feature-option:hover::before {
    left: 100%;
}

.calculator-step .feature-option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.calculator-step .feature-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.calculator-step .feature-option .d-flex {
    position: relative;
    z-index: 2;
    width: 100%;
}

.calculator-step .feature-option .rounded-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.calculator-step .feature-option .rounded-circle i {
    color: white !important;
    font-size: 16px !important;
    transition: all 0.3s ease;
}

.calculator-step .feature-option:hover .rounded-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.calculator-step .feature-option:hover .rounded-circle i {
    transform: scale(1.1);
}

.calculator-step .feature-option strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.calculator-step .feature-option small {
    font-size: 13px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.calculator-step .feature-option:hover strong {
    color: var(--primary-color);
    transform: translateX(2px);
}

.calculator-step .feature-option:hover small {
    color: var(--secondary-color);
}

/* Selected state */
.calculator-step .feature-option input[type="radio"]:checked + .d-flex {
    position: relative;
}

.calculator-step .feature-option input[type="radio"]:checked + .d-flex::before {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: checkmarkPop 0.4s ease;
    z-index: 3;
}

.calculator-step .feature-option input[type="radio"]:checked + .d-flex .rounded-circle {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.calculator-step .feature-option input[type="radio"]:checked + .d-flex strong {
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-step .feature-option input[type="radio"]:checked ~ .feature-option {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #edf2ff 0%, #ffffff 100%);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

@keyframes checkmarkPop {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Color variations for different website types */
.calculator-step .feature-option:nth-child(1) .rounded-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.calculator-step .feature-option:nth-child(2) .rounded-circle {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
}

.calculator-step .feature-option:nth-child(3) .rounded-circle {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%) !important;
}

.calculator-step .feature-option:nth-child(4) .rounded-circle {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculator-step .feature-option {
        min-height: 100px;
        padding: 20px !important;
    }
    
    .calculator-step .feature-option .rounded-circle {
        width: 50px;
        height: 50px;
    }
    
    .calculator-step .feature-option .rounded-circle i {
        font-size: 18px !important;
    }
    
    .calculator-step .feature-option strong {
        font-size: 16px;
    }
    
    .calculator-step .feature-option small {
        font-size: 13px;
    }
}
.feature-option {
    background: var(--feature-bg);
    border: 2px solid var(--feature-border);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.feature-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-option:hover::before {
    left: 100%;
}

.feature-option:hover {
    border-color: var(--primary-color);
    background: var(--feature-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.feature-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--feature-checked);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.feature-option label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.feature-option i {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.feature-option:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-option input[type="checkbox"]:checked + label {
    color: var(--feature-checked);
    font-weight: 600;
}

.feature-option input[type="checkbox"]:checked + label i {
    color: var(--feature-checked);
    animation: pulse 0.4s ease;
}

.feature-option input[type="checkbox"]:checked ~ .feature-option {
    background: var(--feature-selected);
    border-color: var(--feature-checked);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.bg-gradient-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bg-gradient-success { background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); }
.bg-gradient-info { background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%); }
.bg-gradient-warning { background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%); }
.bg-gradient-danger { background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%); }
.bg-gradient-secondary { background: linear-gradient(135deg, #a0aec0 0%, #718096 100%); }

/* Development Process */
.process-container {
    position: relative;
    padding: 2rem 0;
}

.process-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(102, 126, 234, 0.1);
    z-index: 0;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.02);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--accent-color);
    transform: translateX(-50%) scale(1.1);
}

/* Tech Stack Tabs/Categories */
.tech-category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tech-category-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tech-item {
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-icon {
    width: 100%;
    max-width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.tech-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    margin: 1rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Pricing Cards - Refined */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--primary-color);
    background: white;
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.15) !important;
}

.pricing-card:hover {
    transform: translateY(-15px);
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
}

.accordion-button {
    background: white;
    box-shadow: none !important;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.accordion-button::after {
    filter: grayscale(1) brightness(2);
}

/* Glassmorphism Elements */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

/* Section Transitions */
.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Custom List Styling */
.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-hero { padding: 60px 0; }
    .display-3 { font-size: 2.5rem; }
    .pricing-card.featured { transform: scale(1); margin: 15px 0; }
    .estimate-result-box { padding: 1.5rem; }
}
