#main_home {
	background-image: url('../../IMG/home.jpeg');
	background-size: cover; 
	background-position: center center;
	background-repeat: no-repeat;
	position: relative;
	color: white;
	padding: 150px 0;
	z-index: 1;
}





.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c80ff 0%, #1a5fd8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    transition: all 0.3s ease;
}

.service-card:hover .icon-circle {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(44, 128, 255, 0.3);
}

.service-title {
    color: #1a5fd8;
    font-weight: 700;
}

.service-desc,.page-desc {
    color: #555;
    line-height: 1.7;
	white-space: normal;
    text-align: justify;
    line-height: 1.7;
	margin-bottom: 1rem;
}

.service-desc {
    text-align-last: center;
}

.read-more {
    color: #2c80ff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.read-more:hover {
    color: #1a5fd8;
    border-bottom-color: #1a5fd8;
}

@media (max-width: 768px) {
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }
}

.icon-circle i[class^="bi-"] {
    font-size: 40px;
    opacity: 0.9;
}

.project-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
    background: #f8f9fa;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-preview:hover img {
    transform: scale(1.05);
}

.preview-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 10px;
    font-size: 0.8rem;
    border-top-left-radius: 5px;
}

.client-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

.tech-badge, .duration-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0 0.2rem 0.2rem 0;
}

.tech-badge {
    background: rgba(44, 128, 255, 0.1);
    color: #2c80ff;
    border: 1px solid rgba(44, 128, 255, 0.2);
}

.duration-badge {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

/* Slide In Index */
.logos-slider {
    overflow: hidden;
    padding: 20px 0;
    background: white;
    white-space: nowrap;
    position: relative;
}

.logos-slider::before,
.logos-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}
.logos-slider::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logos-slider::after { right: 0; background: linear-gradient(to left, white, transparent); }

.logos-track {
    display: flex;
    width: calc(250px * 20);
    animation: scroll-loop 40s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    width: 200px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 120px;
    filter: grayscale(100%);
    transition: 0.3s;
    opacity: 0.6;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 10)); } 
}

[dir="rtl"] .logos-track {
    animation: scroll-loop-rtl 40s linear infinite;
}

@keyframes scroll-loop-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(250px * 10)); }
}