/* Copying the same styles from services-aiml.css */
.services-offered {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.services-offered::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(46, 42, 143, 0.03), rgba(46, 42, 143, 0.06));
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.services-offered::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(46, 42, 143, 0.03), rgba(46, 42, 143, 0.06));
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.services-offered .section-heading {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.services-offered .section-heading::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #2e2a8f, #4f4ac7);
    border-radius: 2px;
}

.services-offered .section-heading h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2e2a8f;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 42, 143, 0.1);
    box-shadow: 0 10px 30px rgba(46, 42, 143, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2e2a8f 0%, #4f4ac7 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 42, 143, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 0.03;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2e2a8f;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: #4f4ac7;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    position: relative;
}

.service-icon {
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(46, 42, 143, 0.1) 0%, rgba(79, 74, 199, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 28px;
    color: #2e2a8f;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2e2a8f 0%, #4f4ac7 100%);
}

.service-card:hover .service-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-offered {
        padding: 70px 0;
    }
    
    .services-offered .section-heading h2 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .services-offered .section-heading h2 {
        font-size: 30px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
}

/* Tech Stack Section Styles */
.tech-stack-section {
    position: relative;
    overflow: hidden;
}

.tech-stack-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(46, 42, 143, 0.03), rgba(46, 42, 143, 0.06));
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.tech-slider {
    padding: 30px 0;
    margin: 0 -15px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 25px 30px;
    margin: 10px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(46, 42, 143, 0.1);
    box-shadow: 0 5px 20px rgba(46, 42, 143, 0.05);
    min-width: 180px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 42, 143, 0.1);
    border-color: rgba(46, 42, 143, 0.2);
}

.tech-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 42, 143, 0.05) 0%, rgba(79, 74, 199, 0.05) 100%);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.tech-item:hover .tech-icon {
    background: linear-gradient(135deg, rgba(46, 42, 143, 0.1) 0%, rgba(79, 74, 199, 0.1) 100%);
}

.tech-icon img {
    max-width: 50px;
    height: auto;
    transition: all 0.4s ease;
}

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

.tech-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #2e2a8f;
    margin: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 5px;
}

.tech-item:hover h4 {
    color: #4f4ac7;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-list-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(46, 42, 143, 0.1);
    box-shadow: 0 5px 20px rgba(46, 42, 143, 0.05);
    transition: all 0.4s ease;
}

.tech-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 42, 143, 0.1);
    border-color: rgba(46, 42, 143, 0.2);
}

.tech-list-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2e2a8f;
    margin-bottom: 10px;
}

.tech-list-item p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Owl Carousel Custom Navigation */
.tech-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.tech-slider .owl-nav button {
    width: 40px;
    height: 40px;
    background: #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(46, 42, 143, 0.1);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.tech-slider .owl-nav button:hover {
    background: #2e2a8f !important;
    color: #ffffff;
}

.tech-slider .owl-nav button span {
    font-size: 24px;
    line-height: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .tech-item {
        min-width: 160px;
        min-height: 160px;
        padding: 20px 25px;
    }
    
    .tech-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .tech-item {
        min-width: 140px;
        min-height: 140px;
        padding: 15px 20px;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .tech-icon img {
        max-width: 40px;
    }
    
    .tech-item h4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tech-item {
        min-width: 120px;
        min-height: 120px;
        padding: 12px 15px;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .tech-icon img {
        max-width: 35px;
    }
    
    .tech-item h4 {
        font-size: 14px;
    }
}

/* Why Choose Section Styles */
.service-block .s-block.wide-sblock {
    background: #ffffff;
    padding: 30px;
    margin: 0;
    position: relative;
    border: 1px solid rgba(46, 42, 143, 0.1);
    border-radius: 8px;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-block .s-block.wide-sblock:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 42, 143, 0.1);
    border-color: rgba(46, 42, 143, 0.2);
}

.service-block .s-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 42, 143, 0.05) 0%, rgba(79, 74, 199, 0.05) 100%);
    border-radius: 10px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-block .s-block.wide-sblock:hover .s-card-icon {
    background: linear-gradient(135deg, rgba(46, 42, 143, 0.1) 0%, rgba(79, 74, 199, 0.1) 100%);
    transform: scale(1.05);
}

.service-block .s-card-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-block .s-block-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-block .s-block-content h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #2e2a8f;
    margin: 0 0 15px 0;
    min-height: 56px;
    display: flex;
    align-items: center;
}

.service-block .s-block-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    flex-grow: 1;
}

.service-block .row.justify-content-center {
    margin: 0 -15px;
}

.service-block .col-lg-4.col-sm-6 {
    padding: 15px;
}

/* CTA Button Styles */
.service-block .-cta-btn {
    margin-top: 60px;
}

.service-block .free-cta-title {
    padding: 30px 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(46, 42, 143, 0.08);
}

.service-block .free-cta-title p {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 0;
    margin-right: 30px;
}

.service-block .free-cta-title p span {
    font-weight: 600;
    color: #2e2a8f;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .service-block .s-block.wide-sblock {
        min-height: 300px;
        padding: 25px;
    }
    
    .service-block .s-block-content h4 {
        font-size: 18px;
        min-height: 50px;
    }
}

@media (max-width: 991px) {
    .service-block .s-block.wide-sblock {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .service-block .s-block.wide-sblock {
        min-height: auto;
        padding: 20px;
    }
    
    .service-block .s-card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-block .s-card-icon img {
        width: 35px;
        height: 35px;
    }
    
    .service-block .s-block-content h4 {
        font-size: 17px;
        min-height: auto;
        margin-bottom: 12px;
    }
    
    .service-block .s-block-content p {
        font-size: 14px;
    }
    
    .service-block .free-cta-title {
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }
    
    .service-block .free-cta-title p {
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 20px;
    }
}
