/* Services Page Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --cyan: #22d3ee;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    padding: 200px 0 120px;
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url('../image/service/Innovative-software.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.92) 0%, 
        rgba(51, 65, 85, 0.88) 50%,
        rgba(30, 41, 59, 0.92) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    background: rgba(59, 130, 246, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #60a5fa;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.hero-section h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.breadcrumb:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--cyan);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    font-weight: 600;
    color: var(--cyan);
}

/* ===========================
   SERVICES INTRO SECTION
   =========================== */
.services-intro-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.intro-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-image-wrapper:hover .intro-image {
    transform: scale(1.05);
}

.intro-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.badge-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 1.8rem;
    color: white;
}

.badge-content {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-line {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.label-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.intro-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
    transform: translateX(5px);
}

.intro-feature i {
    color: var(--cyan);
    font-size: 1.3rem;
}

.intro-feature span {
    font-weight: 600;
    color: var(--dark);
}

/* ===========================
   SERVICES GRID SECTION
   =========================== */
.services-grid-section {
    padding: 100px 0;
    background: white;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    border: 2px solid #e5e7eb;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.4s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--primary);
}

.service-description {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

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

.service-link:hover i {
    transform: translateX(5px);
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */
.why-choose-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.why-features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.why-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.why-feature:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    transform: translateX(10px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon i {
    font-size: 1.5rem;
    color: white;
}

.why-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-10px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.stat-card:hover .stat-icon i {
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: url('../image/service/custom-software.jpg') center/cover no-repeat;
    color: white;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.95) 0%, 
        rgba(51, 65, 85, 0.90) 100%);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 992px) {
    .hero-section {
        padding: 160px 0 100px;
    }
    
    .services-intro-section,
    .services-grid-section,
    .why-choose-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .intro-image {
        height: 400px;
    }
    
    .why-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .why-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .intro-image {
        height: 300px;
    }
    
    .intro-badge {
        bottom: 15px;
        left: 15px;
        padding: 20px;
    }
    
    .why-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}