/* ================= SERVICES PAGES CSS ================= */
:root {
    --sun-blue: #1f6b9a;
    --sun-orange: #f2643b;
    --dark-navy: #0f2f44;
    --bg-light: #f8f9fa;
}

/* Section Subtitle */
.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sun-orange);
    margin-bottom: 10px;
    position: relative;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--sun-orange);
}

.text-center .section-subtitle::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Service Badge */
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(242, 100, 59, 0.1);
    color: var(--sun-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.service-badge i {
    font-size: 18px;
}

/* Service Grid Preview */
.services-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-preview-card {
    background: white;
    padding: 20px 10px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #eef2f6;
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 100, 59, 0.15);
    border-color: var(--sun-orange);
}

.service-preview-card i {
    font-size: 28px;
    color: var(--sun-orange);
    margin-bottom: 8px;
    display: block;
}

.service-preview-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-navy);
}

@media (max-width: 768px) {
    .services-grid-preview {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
    }
}

/* Service Main Cards */
.service-main-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.service-main-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-main-card:hover::after {
    opacity: 1;
}

.service-main-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(31, 107, 154, 0.15);
}

.service-main-card.popular {
    border: 2px solid var(--sun-orange);
    transform: scale(1.05);
    z-index: 2;
}

@media (max-width: 992px) {
    .service-main-card.popular {
        transform: scale(1);
    }
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sun-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(242, 100, 59, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--sun-orange);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-main-card:hover .service-icon-wrapper {
    background: var(--sun-orange);
    color: #fff;
    transform: rotateY(180deg);
}

.service-main-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.service-main-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.service-feature-list li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-feature-list li i {
    color: var(--sun-orange);
    font-size: 14px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--sun-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--sun-blue);
}

/* Stat Mini */
.stat-mini {
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-mini:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-mini .number {
    font-size: 24px;
    font-weight: 800;
    color: var(--sun-orange);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-mini .label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* Service Highlights */
.service-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark-navy);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--sun-orange);
    color: white;
    transform: translateX(5px);
}

.highlight-item:hover i {
    color: white;
}

.highlight-item i {
    color: var(--sun-orange);
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Feature Detailed Cards */
.feature-detailed-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 35px 25px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-detailed-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-detailed-card:hover::after {
    opacity: 1;
}

.feature-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(242, 100, 59, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--sun-orange);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.feature-detailed-card:hover .feature-icon-large {
    background: var(--sun-orange);
    color: #fff;
    transform: rotateY(180deg);
}

.feature-detailed-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 12px;
}

.feature-detailed-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Process Steps Vertical */
.process-steps-vertical {
    position: relative;
    padding-left: 50px;
}

.process-steps-vertical::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--sun-orange), var(--sun-blue));
}

.process-step-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
}

.step-marker {
    position: absolute;
    left: -50px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(242, 100, 59, 0.3);
    z-index: 2;
}

.step-content-wrapper {
    flex: 1;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.process-step-item:hover .step-content-wrapper {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-content-wrapper h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.step-content-wrapper p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .process-steps-vertical {
        padding-left: 30px;
    }
    
    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 16px;
        left: -30px;
    }
    
    .step-content-wrapper {
        padding: 20px;
    }
}

/* Process Timeline */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: "";
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--sun-orange), transparent);
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 32px;
    box-shadow: 0 15px 30px rgba(242, 100, 59, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 20px 0;
}

.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.step-content p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}

/* Pricing Service Cards */
.pricing-service-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.pricing-service-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-service-card:hover::after {
    opacity: 1;
}

.pricing-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(31, 107, 154, 0.15);
}

.pricing-service-card.popular {
    border: 2px solid var(--sun-orange);
    transform: scale(1.05);
    z-index: 2;
}

@media (max-width: 992px) {
    .pricing-service-card.popular {
        transform: scale(1);
    }
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sun-orange);
    color: white;
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eef2f6;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sun-blue);
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.price span {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}

.pricing-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.pricing-features {
    margin-bottom: 30px;
}

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

.pricing-features li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 16px;
}

.pricing-features li i.bi-check-circle-fill {
    color: var(--sun-orange);
}

.pricing-features li i.bi-x-circle {
    color: #cbd5e1;
}

.pricing-features li.disabled {
    color: #94a3b8;
}

.pricing-footer {
    text-align: center;
}

.btn-service-pricing {
    display: block;
    padding: 14px;
    border-radius: 50px;
    border: 2px solid var(--sun-orange);
    color: var(--sun-orange);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-service-pricing:hover {
    background: var(--sun-orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 100, 59, 0.3);
}

.btn-service-pricing.popular-btn {
    background: var(--sun-orange);
    color: #fff;
}

.btn-service-pricing.popular-btn:hover {
    background: #d94f29;
    border-color: #d94f29;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13, 35, 62, 0.95), rgba(31, 107, 154, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn-portfolio-link {
    transform: translateY(0);
}

.btn-portfolio-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--sun-orange);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease 0.3s;
}

.btn-portfolio-link:hover {
    background: white;
    color: var(--sun-orange);
}

/* Advantage Cards */
.advantage-card {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--sun-orange), var(--sun-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.advantage-card:hover::after {
    opacity: 1;
}

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

.advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(242, 100, 59, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--sun-orange);
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    background: var(--sun-orange);
    color: #fff;
    transform: rotateY(180deg);
}

.advantage-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.advantage-card p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* Service-specific colors (minor differences) */
.service-main-card.web-design .service-icon-wrapper {
    background: rgba(242, 100, 59, 0.15);
}

.service-main-card.ecommerce .service-icon-wrapper {
    background: rgba(31, 107, 154, 0.15);
    color: var(--sun-blue);
}

.service-main-card.software .service-icon-wrapper {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* Responsive */
@media (max-width: 992px) {
    .service-highlights {
        grid-template-columns: 1fr;
    }
    
    .process-step-item {
        flex-direction: column;
    }
    
    .step-marker {
        position: relative;
        left: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .pricing-service-card.popular {
        transform: scale(1);
    }
    
    .service-intro .col-lg-6:last-child {
        margin-top: 40px;
    }
    
    .service-badge {
        margin-bottom: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-main-card,
.feature-detailed-card,
.pricing-service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

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