/* ===================================
   SERVICES PAGE STYLES
   =================================== */

:root {
    --primary-purple: #6C5CE7;
    --primary-cyan: #00BCD4;
    --text-dark: #2D3436;
    --text-gray: #636E72;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===================================
   SERVICES HERO SECTION
   =================================== */

.services-hero {
    padding: 8rem 0 5rem;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: transparent;
    border-radius: 50%;
}

.services-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.services-hero-left {
    display: flex;
    justify-content: center;
}

.services-hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(108, 92, 231, 0.2));
}

.services-hero-right {
    padding-left: 2rem;
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.services-main-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ===================================
   SERVICE SECTIONS
   =================================== */

.service-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.service-section.dark {
    background: linear-gradient(135deg, #3D2F5B 0%, #2D1F4B 100%);
}

.service-section.light {
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EBF0 50%, #F5F7FA 100%);
}

.service-section.cyan {
    background: linear-gradient(135deg, #4ECDC4 0%, #00D9FF 100%);
}

.service-section.purple {
    background: linear-gradient(135deg, #8B7EF0 0%, #6C5CE7 100%);
}

.service-section.gray {
    background: linear-gradient(135deg, #E8E6F2 0%, #DDD9EE 100%);
}

.service-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.service-content > * {
    flex: 1;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    padding: 2rem;
}

.service-section.dark .service-text,
.service-section.cyan .service-text,
.service-section.purple .service-text {
    color: white;
}

.service-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-section.dark .service-title,
.service-section.cyan .service-title,
.service-section.purple .service-title {
    color: white;
}

.service-section.light .service-title,
.service-section.gray .service-title {
    color: var(--text-dark);
}

.service-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.service-section.light .service-description,
.service-section.gray .service-description {
    color: var(--text-gray);
}

.service-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-section.dark .service-btn {
    background: linear-gradient(135deg, #00D9FF 0%, #4ECDC4 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.3);
}

.service-section.light .service-btn,
.service-section.gray .service-btn {
    background: linear-gradient(135deg, #6C5CE7 0%, #8B7EF0 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

.service-section.cyan .service-btn {
    background: white;
    color: #00D9FF;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.service-section.purple .service-btn {
    background: white;
    color: var(--primary-purple);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.service-content.reverse .service-image {
    justify-content: flex-end;
}

/* Laptop Mockup Styles */
.laptop-mockup {
    position: relative;
    width: 100%;
    max-width: 650px;
}

@media screen and (max-width: 768px) {
    .laptop-mockup {
        max-width: 100%;
    }
}

.laptop-frame {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.laptop-screen {
    position: absolute;
    top: 6.5%;
    left: 15%;
    width: 70%;
    height: 77.5%;
    object-fit: cover;
    z-index: 0;
    border-radius: 6px 6px 0 0;
}

.laptop-mockup:hover .laptop-frame {
    transform: scale(1.05);
}

.laptop-mockup:hover .laptop-screen {
    transform: scale(1.05);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media screen and (max-width: 968px) {
    .services-hero-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .service-content.reverse {
        flex-direction: column;
    }
    
    .services-hero-left {
        order: 2;
    }
    
    .services-hero-right {
        padding-left: 0;
        text-align: center;
        order: 1;
    }
    
    .services-main-title {
        font-size: 2.75rem;
    }
    
    .service-text {
        text-align: center;
        padding: 1rem;
    }
    
    .service-title {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .services-hero {
        padding: 6rem 0 4rem;
    }
    
    .services-main-title {
        font-size: 2.25rem;
    }
    
    .service-section {
        padding: 4rem 0;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .service-image img {
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .services-hero {
        padding: 5rem 0 3rem;
    }
    
    .services-main-title {
        font-size: 2rem;
    }
    
    .service-section {
        padding: 3rem 0;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
    
    .service-subtitle {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-btn {
        width: 100%;
        text-align: center;
    }
}
