
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    position: relative;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.header-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--active-teal), transparent);
    margin: 0 auto 30px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--active-teal);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.tag-icon {
    font-size: 1.2rem;
    animation: arrowMove 2s ease-in-out infinite;
}

@keyframes arrowMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.title-word {
    color: var(--light-slate);
    display: inline-block;
}

.title-word.highlight {
    color: var(--active-teal);
    background: linear-gradient(135deg, var(--active-teal), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 210, 211, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--active-teal), var(--secondary-blue));
    width: 0%;
    transition: width 0.1s ease;
}

/* Service Container */
.service-container {
    margin-bottom: 150px;
    position: relative;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-container.reverse .service-row {
    direction: rtl;
}

.service-container.reverse .service-row>* {
    direction: ltr;
}

/* Service Content */
.service-content {
    position: relative;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-number {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--active-teal), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--active-teal), transparent);
}

/* Magnetic Icon */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 30px;
    cursor: pointer;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--active-teal), var(--secondary-blue));
    border-radius: 16px;
    transform: rotate(45deg);
    transition: var(--transition);
}

.service-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--bg-dark);
    z-index: 1;
}

.service-icon-wrapper:hover .icon-background {
    transform: rotate(45deg) scale(1.1);
}

/* Service Text */
.service-title {
    font-size: 2.5rem;
    color: var(--light-slate);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-description {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tech-item {
    background: rgba(0, 210, 211, 0.08);
    border: 1px solid rgba(0, 210, 211, 0.2);
    color: var(--active-teal);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.tech-item:hover {
    background: rgba(0, 210, 211, 0.15);
    border-color: var(--active-teal);
    transform: translateY(-2px);
}

/* Service Features */
.service-features {
    list-style: none;
    margin-bottom: 40px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-color-secondary);
    font-size: 1rem;
}

.feature-bullet {
    width: 8px;
    height: 8px;
    background: var(--active-teal);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--active-teal);
}

/* Service Button */
.service-btn {
    background: transparent;
    border: 2px solid var(--active-teal);
    color: var(--active-teal);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 100%;
    background: var(--active-teal);
    border-radius: 50px;
    transition: width 0.4s ease;
    z-index: -1;
}

.service-btn:hover::before {
    width: 100%;
}

.service-btn:hover {
    color: var(--bg-dark);
}

.btn-icon {
    transition: var(--transition);
}

.service-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Service Visuals */
.service-visuals {
    position: relative;
    height: 550px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    width: 260px;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, rgba(0, 210, 211, 0.05) 100%);
    border: 1px solid rgba(0, 210, 211, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 211, 0.15), transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: var(--transition);
}

.floating-card:hover {
    border-color: var(--active-teal);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 210, 211, 0.3);
}

.floating-card:hover .card-glow {
    opacity: 1;
}

.floating-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--active-teal), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.floating-card h4 {
    color: var(--light-slate);
    font-size: 1.2rem;
    font-weight: 600;
}

.floating-card p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    text-align: center;
}

/* Card Positions */
.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.card-2 {
    top: 180px;
    left: 0;
    z-index: 2;
}

.card-3 {
    top: 180px;
    right: 0;
    z-index: 1;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 100px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 210, 211, 0.05), rgba(53, 162, 199, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 211, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--active-teal), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-color-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-container.reverse .service-row {
        direction: ltr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .service-title {
        font-size: 2rem;
    }

    .badge-number {
        font-size: 3.5rem;
    }

    .floating-card {
        width: 220px;
        height: 180px;
        padding: 25px;
    }

    .card-2,
    .card-3 {
        top: 160px;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}