/* ==================================================
   Services Page Specific Styles
   ================================================== */
:root {
    --primary-color: #0e2c63;
    --primary-dark: #0a2149;
    --accent-color: #c01f24;
    --secondary-color: #6f3a3b;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --gradient-primary: linear-gradient(135deg, #0e2c63 0%, #2a5298 100%);
    --gradient-accent: linear-gradient(135deg, #c01f24 0%, #e74c3c 100%);
    --gradient-secondary: linear-gradient(135deg, #6f3a3b 0%, #9b59b6 100%);
    --gradient-light-red: linear-gradient(135deg, #ff6b6b 0%, #ff9f9f 100%);
    --gradient-dark-red: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
    --gradient-5: linear-gradient(135deg, #2980b9 0%, #6dd5fa 100%);
    --gradient-6: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-7: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --gradient-8: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    --gradient-9: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    --gradient-10: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --gradient-11: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}
/* Services Hero Section */
.services-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #6f3a3b 0%, #9b59b6 100%);
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:  url('../images/bg3.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.services-hero .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services Overview Section */
.services-overview {
    background: var(--light-color);
}

.overview-content .lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-highlights {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 20px;
}

.highlight-item span {
    font-weight: 500;
    color: var(--dark-color);
}

.overview-image {
    position: relative;
}

.overview-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow-hover);
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    box-shadow: var(--box-shadow);
}

/* Featured Services Section */
.featured-services {
    background: white;
}

.featured-service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: "Public Sans", sans-serif;
}

.featured-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.featured-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.featured-service-card .service-icon {
    width: 70px;
    height: 70px;
    background: rgba(14, 44, 99, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.featured-service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    min-height: 80px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 14px;
}

.service-features li i {
    color: var(--accent-color);
    font-size: 12px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.service-cta:hover {
    color: var(--accent-color);
    gap: 15px;
}

/* Specialized Services Section */
.specialized-services {
    background: var(--light-color);
}

.specialized-service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.specialized-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.specialized-service-card .service-icon {
    width: 70px;
    height: 70px;
    background: rgba(14, 44, 99, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
}

.specialized-service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

.specialized-service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.specialized-service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.specialized-service-card .tag {
    background: rgba(14, 44, 99, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
}

/* Service Process Section */
.service-process {
    background: white;
}

.process-content .lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: -30px;
    width: 2px;
    background: rgba(14, 44, 99, 0.1);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--gray-color);
    font-size: 14px;
    margin: 0;
}

.process-image {
    position: relative;
}

.process-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow-hover);
}

.process-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 200px;
}

.process-badge i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.process-badge h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.process-badge p {
    color: var(--gray-color);
    font-size: 12px;
    margin: 0;
}

/* Responsive Styles for Services Page */
@media (max-width: 992px) {
   
    .featured-service-card p {
        min-height: auto;
    }
    
    .process-step::before {
        left: 25px;
    }
}

@media (max-width: 768px) {
    
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .featured-service-card {
        padding: 30px 20px;
    }
    
    .service-card-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-badge {
        align-self: flex-start;
    }
    
    .process-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-step::before {
        display: none;
    }
    
    .process-badge {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 1.8rem;
    }
    
    .services-tech-stack .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .specialized-service-card {
        padding: 25px 20px;
    }
}

/* Service Section IDs for Smooth Scrolling */
#ai, #web, #mobile, #data, #consulting, #seo {
    scroll-margin-top: 100px;
}

/* Service Card Colors */
.featured-service-card:nth-child(1)::before {
    background: var(--gradient-primary);
}

.featured-service-card:nth-child(2)::before {
    background: var(--gradient-accent);
}

.featured-service-card:nth-child(3)::before {
    background: var(--gradient-secondary);
}

.featured-service-card:nth-child(4)::before {
    background: var(--gradient-5);
}

.featured-service-card:nth-child(5)::before {
    background: var(--gradient-6);
}

.featured-service-card:nth-child(6)::before {
    background: var(--gradient-7);
}

/* Specialized Service Card Colors */
.specialized-service-card:nth-child(1) .service-icon {
    background: rgba(14, 44, 99, 0.1);
    color: var(--primary-color);
}

.specialized-service-card:nth-child(1):hover .service-icon {
    background: var(--gradient-primary);
}

.specialized-service-card:nth-child(2) .service-icon {
    background: rgba(192, 31, 36, 0.1);
    color: var(--accent-color);
}

.specialized-service-card:nth-child(2):hover .service-icon {
    background: var(--gradient-accent);
}

.specialized-service-card:nth-child(3) .service-icon {
    background: rgba(111, 58, 59, 0.1);
    color: var(--secondary-color);
}

.specialized-service-card:nth-child(3):hover .service-icon {
    background: var(--gradient-secondary);
}

.specialized-service-card:nth-child(4) .service-icon {
    background: rgba(41, 128, 185, 0.1);
    color: #2980b9;
}

.specialized-service-card:nth-child(4):hover .service-icon {
    background: var(--gradient-5);
}