/* Introduction Section */
.intro-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-content {
    animation: fadeInLeft 1s ease;
}

.intro-badge {
    display: none !important;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 24px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.intro-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content p {
    font-size: 18px;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-box {
    text-align: left;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #667eea;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #718096;
    font-weight: 500;
}

.intro-buttons {
    display: flex;
    gap: 16px;
    margin-top: 36px;
}

.btn {
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #667eea;
    transform: translateY(-3px);
}

.intro-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.intro-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.intro-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    z-index: 1;
}

.intro-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 40px;
    right: -20px;
    width: 200px;
}

.floating-card-2 {
    bottom: 60px;
    left: -30px;
    width: 180px;
}

.floating-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.btn-service:hover {
    background-color: #764ba2;
    color: white;
}

.section-header h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, #7b2ff7 0%, #7b2ff7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.floating-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.floating-card p {
    font-size: 13px;
    color: #718096;
}

/* Services Section */
.services-section {
    background: white;
    padding: 80px 40px;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #667eea;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

/* Service Card */
.service-card-main {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card-main:hover {
    transform: translateY(-8px);
    border-color: #667eea;
    background: white;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.service-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-main:hover .service-image {
    transform: scale(1.15);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon-wrapper {
    position: absolute;
    bottom: -35px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
}

.service-card-main:hover .service-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.service-body {
    padding: 50px 30px 30px;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

}

.service-description {
    font-size: 15px;
    color: #718096;
    line-height: 1.4;
    margin-bottom: 28px;
     display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-action {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.service-action i {
    transition: transform 0.3s ease;
}

.service-card-main:hover .service-action {
    gap: 14px;
}

.service-card-main:hover .service-action i {
    transform: translateX(4px);
}

/* Special Cards */
.service-card-main.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card-main.featured .service-title,
.service-card-main.featured .service-description,
.service-card-main.featured .service-action {
    color: white;
}

.service-card-main.featured .service-icon-wrapper {
    background: white;
    color: #667eea;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .intro-section {
        padding: 60px 30px;
        gap: 60px;
    }

    .intro-content h1 {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .intro-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }

    .intro-content h1 {
        font-size: 36px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .intro-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .intro-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .intro-image img {
        height: 400px;
    }

    .floating-card {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
