﻿/* Page Background */
.Serv-page {
    position: relative;
    min-height: 100vh;
    padding: 60px 0;
}

.Serv-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.Serv-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px), repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    opacity: 0.4;
}

/* Container */
.Serv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.Serv-header {
    text-align: center;
    margin-bottom: 60px;
}

.Serv-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.Serv-subtitle {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Grid */
.Serv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Card */
.Serv-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.3);
}

    .Serv-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s ease;
    }

    .Serv-card:hover::before {
        left: 100%;
    }

    .Serv-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    }

/* Card Icon */
.Serv-card-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s ease;
}

    .Serv-card-icon img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        transition: transform 0.4s ease;
    }


.Serv-card:hover .Serv-card-icon {
    transform: scale(1.1) rotate(5deg);
}

    .Serv-card:hover .Serv-card-icon img {
        transform: scale(1.15);
    }

/* Icon Colors */
.Serv-tools {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.Serv-video {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.4);
}

.Serv-rules {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.Serv-about {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4);
}

/* Card Title */
.Serv-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.Serv-card:hover .Serv-card-title {
    color: #667eea;
}

/* Card Description */
.Serv-card-desc {
    font-size: 1.3rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Card Arrow */
.Serv-card-arrow {
    font-size: 1.5rem;
    color: #667eea;
    font-weight: 700;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.Serv-card:hover .Serv-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .Serv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .Serv-page {
        padding: 40px 0;
    }

    .Serv-title {
        font-size: 2.2rem;
    }

    .Serv-subtitle {
        font-size: 1rem;
    }

    .Serv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .Serv-card {
        padding: 30px 20px;
    }

    .Serv-card-icon {
        width: 80px;
        height: 80px;
    }

        .Serv-card-icon svg {
            width: 40px;
            height: 40px;
        }

    .Serv-card-title {
        font-size: 1.4rem;
    }

    .Serv-card-desc {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .Serv-title {
        font-size: 1.8rem;
    }

    .Serv-card {
        padding: 25px 15px;
    }

    .Serv-card-icon {
        width: 70px;
        height: 70px;
    }

        .Serv-card-icon svg {
            width: 35px;
            height: 35px;
        }

    .Serv-card-title {
        font-size: 1.3rem;
    }
}
