/* =========================================
   Premium Services Page Styling
   ========================================= */

:root {
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(34, 181, 115, 0.15);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 40px 80px rgba(34, 181, 115, 0.15);
}

/* --- Hero Section --- */
.services-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fdfb 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.shape-1 {
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.shape-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    /* Wider for premium feel */
    margin: 0 auto;
    padding: 60px 0;
}

.gradient-text {
    background: linear-gradient(50deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-scroll-indicator {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--tertiary-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* --- Services Grid --- */
.services-grid-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
}

/* --- Premium Service Card --- */
.service-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.4);
    /* Lower opacity for real glass feel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Light border for edge glow */
    border-radius: 30px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s var(--transition-smooth);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card-premium:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(2deg);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(34, 181, 115, 0.3);
}

.card-glass-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.card-icon-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.brand-gradient-icon {
    font-size: 3rem;
    background: linear-gradient(50deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.5s var(--transition-bounce);
}

.service-card-premium:hover .brand-gradient-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-image-fancy {
    height: 180px;
    margin: 0 -40px 30px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.card-image-fancy img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.8s ease;
}

.service-card-premium:hover .card-image-fancy img {
    transform: scale(1.1);
}

.card-body-fancy {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body-fancy h3 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-body-fancy p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--slate);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.btn-brand-outline {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-brand-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(50deg, var(--primary-color), var(--primary-light));
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-brand-outline:hover {
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(34, 181, 115, 0.2);
    border-color: transparent;
}

.btn-brand-outline:hover::before {
    width: 100%;
}

.btn-brand-outline i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .services-hero {
        padding: 120px 0 60px;
    }

    .service-card-premium {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .card-body-fancy h3 {
        font-size: 1.5rem;
    }
}