/* COMPLETE SERVICES PAGE CSS - FULLY RESPONSIVE WITH VERTICAL SCROLL TECH SECTION */
/* BASE STYLES - MOBILE FIRST */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* BANNER */
.services-banner {
    background-image: url('https://i.pinimg.com/originals/b5/36/6e/b5366e76dd1d77389dc35e5dc3a6e238.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #448AFF;
    text-align: center;
    padding: 80px 20px 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.services-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.heading {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.icon-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.services-banner h2 {
    font-size: 4em;
    margin: 0 0 20px 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.services-banner p {
    font-size: 1.4em;
    opacity: 0.95;
    margin: 0;
}

/* HIGHLIGHTS */
.services-highlights {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.highlights-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.highlight-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.card-image {
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.highlight-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 35px;
    position: relative;
}

.card-content h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    opacity: 0.1;
}

/* TECH SECTION - VERTICAL AUTO-SCROLL IMAGES */
.tech-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, #39b49b 0%, #448AFF 100%);
    color: white;
}

.tech-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
    text-align: center;
}

.tech-text h3 {
    font-size: 3em;
    margin-bottom: 30px;
    font-family: 'Times New Roman', Times, serif;
}

.tech-text p {
    font-size: 1.3em;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.tech-text ul {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto;
}

.tech-text li {
    font-size: 1.2em;
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    display: inline-block;
}

.tech-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #39b49b;
    font-weight: bold;
    font-size: 1.4em;
}

/* VERTICAL SCROLLING IMAGES CONTAINER */
.tech-images {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

.tech-images::before,
.tech-images::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-images::before {
    top: 0;
    background: linear-gradient(180deg, rgba(57,180,155,0.8) 0%, transparent 100%);
}

.tech-images::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(57,180,155,0.8) 0%, transparent 100%);
}

/* SCROLLING TRACK */
.tech-images-track {
    display: flex;
    flex-direction: column;
    height: 1200px;
    animation: scrollVertical 20s linear infinite;
    gap: 30px;
    padding: 100px 20px;
    will-change: transform;
}

@keyframes scrollVertical {
    0% { 
        transform: translateY(0); 
    }
    100% { 
        transform: translateY(-50%); 
    }
}

.tech-img {
    width: 100%;
    max-width: 450px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    margin: 0 auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.tech-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.tech-images:hover .tech-images-track {
    animation-play-state: paused;
}

/* FEATURES SLIDER */
.features-slider-section {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.slider-title {
    text-align: center;
    font-size: 3em;
    color: #333;
    margin-bottom: 60px;
    font-family: 'Times New Roman', Times, serif;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-slider {
    overflow: hidden;
    border-radius: 0;
}

.slider-track {
    display: flex;
    height: 320px;
    animation: slide-features 25s linear infinite;
    gap: 25px;
    padding: 0 20px;
}

.feature-slide {
    flex: 0 0 380px;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.feature-slide.feature-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.feature-slide.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(68, 138, 255, 0.05), rgba(57, 180, 155, 0.05));
    z-index: 0;
}

.feature-slide.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 40px 100px rgba(0,0,0,0.25);
}

.feature-slide img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 20px 0 20px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    z-index: 1;
    position: relative;
}

.feature-slide.feature-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.feature-content {
    padding: 40px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.feature-content h4 {
    color: #333;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
}

.feature-content h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #448AFF, #39b49b);
    border-radius: 2px;
}

.feature-content p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

.features-slider:hover .slider-track {
    animation-play-state: paused;
}

@keyframes slide-features {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* MOBILE (≤480px) */
@media (max-width: 480px) {
    .services-banner {
        padding: 110px 10px;
        height: 400px;
    }
    
    .services-highlights,
    .tech-section {
        padding: 60px 15px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-images {
        height: 450px;
    }
    
    .tech-images-track {
        height: 900px;
        padding: 60px 15px;
        gap: 20px;
    }
    
    .tech-img {
        height: 200px;
        max-width: 320px;
    }
    
    .services-banner h2,
    .tech-text h3,
    .slider-title {
        font-size: 2.2em;
    }
    
    .slider-track {
        height: 280px;
        gap: 15px;
        padding: 0 15px;
    }
    
    .feature-slide {
        flex: 0 0 320px;
    }
    
    .feature-slide img {
        width: 130px;
        height: 130px;
    }
    
    .feature-content {
        padding: 25px;
    }
    
    .feature-content h4 {
        font-size: 20px;
    }
}

/* TABLET (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .tech-images {
        height: 500px;
    }
    
    .tech-images-track {
        height: 1000px;
        gap: 25px;
    }
    
    .slider-track {
        height: 300px;
    }
    
    .feature-slide {
        flex: 0 0 360px;
    }
}

/* SMALL DESKTOP (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .tech-content {
        gap: 50px;
    }
    
    .feature-slide {
        flex: 0 0 400px;
    }
}

/* LARGE DESKTOP (1025px+) */
@media (min-width: 1025px) {
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    
    .tech-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        text-align: left;
    }
    
    .tech-text ul {
        max-width: none;
        margin: 0;
    }
    
    .tech-text li {
        display: block;
    }
    
    .tech-images {
        height: 650px;
        display: flex;
        justify-content: center;
    }
    
    .tech-images-track {
        height: 1300px;
        padding: 120px 30px;
    }
    
    .tech-img {
        height: 320px;
        max-width: none;
        width: 100%;
    }
    
    .features-slider-section {
        padding: 120px 0;
    }
    
    .features-slider {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0 40px;
    }
    
    .slider-track {
        height: 340px;
        gap: 30px;
        padding: 0 40px;
    }
    
    .feature-slide {
        flex: 0 0 450px;
    }
    
    .feature-slide img {
        width: 200px;
        height: 200px;
    }
}
