/* ========================================
   Services Page - Minimalist Styling
   Pure Black & White Design
   ======================================== */

* {
    outline: none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Page Hero Section */
.page-hero {
    background: #ffffff;
    padding: 140px 0 80px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1c1c1e;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.page-hero-description {
    font-size: 1.125rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #000000;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper i {
    font-size: 1.75rem;
    color: #ffffff;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li i {
    color: #000000;
    font-size: 0.75rem;
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #000000;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: #f8f8f8;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* Connector Line Background - visible only on desktop */
@media (min-width: 992px) {
    .process-grid::before {
        content: '';
        position: absolute;
        top: 45px; /* Aligns with circle center (2.5rem padding + 25px radius approx) */
        left: 12%; 
        right: 12%; 
        height: 2px;
        background-image: linear-gradient(to right, #ddd 50%, rgba(255,255,255,0) 0%);
        background-position: bottom;
        background-size: 15px 1px;
        background-repeat: repeat-x;
        z-index: 0;
    }
}

.process-step {
    background: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1; /* Above the line */
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.process-number {
    width: 50px;
    height: 50px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 0 0 8px #f8f8f8; /* Creates gap/mask effect around circle against line */
    transition: transform 0.3s ease, background 0.3s ease;
}

/* On hover of the card, animate the number */
.process-step:hover .process-number {
    transform: scale(1.1);
    background: #000;
}

.process-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.process-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

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

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2.25rem;
    }
}

/* Technologies Section */
.technologies-section {
    padding: 80px 0;
    background: #ffffff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.tech-item {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #000000;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    opacity: 0.8;
}

.tech-item:hover .tech-icon {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

/* ========================================
   CTA SECTION - MATCHING HOME PAGE
   ======================================== */

.cta-section {
    padding: 5rem 0;
    background: #fafafa !important;
}

.cta-card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: #000000 !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.cta-icon i {
    font-size: 2.5rem;
    color: #ffffff !important;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000 !important;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.15rem;
    color: #666666 !important;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.05rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666666 !important;
    font-size: 0.95rem;
}

.cta-feature i {
    color: #000000 !important;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border-color: #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE FOR CTA
   ======================================== */

@media screen and (max-width: 768px) {
    .cta-card {
        padding: 3rem 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .cta-title {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .process-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-section,
    .process-section,
    .technologies-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 1.75rem;
    }
    
    .section-title,
    .cta-title {
        font-size: 1.5rem;
    }
    
    .service-card,
    .process-step,
    .tech-item {
        padding: 1.5rem;
    }
}
