/* premium-services-section.css */

/* Core variables & tokens */
:root {
    --bg-gradient-start: #F8FAFF;
    --bg-gradient-mid: #EEF5FF;
    --bg-gradient-end: #FFFFFF;
    --gold-primary: #D4AF37;
    --gold-soft: #F8F5EE;
    --primary-blue: #2563EB;
    --royal-blue-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --text-dark: #1E1E1E;
    
    /* Shadows */
    --shadow-premium: 0 10px 30px -5px rgba(30, 30, 30, 0.03), 0 4px 12px -2px rgba(30, 30, 30, 0.01);
    --shadow-premium-hover: 0 24px 48px -8px rgba(37, 99, 235, 0.08), 0 8px 20px -4px rgba(37, 99, 235, 0.04);
}

.services-section {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
    padding: 80px 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* Background effects */
.services-bg-glow-1 {
    position: absolute;
    top: 5%;
    left: -10%;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.services-bg-glow-2 {
    position: absolute;
    bottom: 5%;
    right: -10%;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.services-bg-dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 2;
    pointer-events: none;
}

.services-gold-line-decorator-1 {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, var(--gold-primary) 50%, rgba(212, 175, 55, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.services-gold-line-decorator-2 {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, var(--gold-primary) 50%, rgba(212, 175, 55, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.services-container {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Header Area */
.services-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.services-title-area {
    max-width: 600px;
}

.services-label-badge {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    margin-bottom: 18px;
    text-transform: uppercase;
}

.services-main-title {
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

.blue-gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-header-gold-underline {
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    margin-bottom: 18px;
}

.services-main-desc {
    color: #556987;
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}

/* Redesigned Trust Card */
.services-trust-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    padding: 22px 26px;
    min-width: 320px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 300ms ease;
}

.services-trust-card:hover {
    transform: translateY(-5px);
}

.trust-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-stars {
    color: var(--gold-primary);
    font-size: 14px;
    letter-spacing: 1px;
}

.trust-rating-text {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
}

.trust-rating-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score-source {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
}

.gold-rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--gold-primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.gold-badge-icon {
    width: 11px;
    height: 11px;
    fill: var(--white);
}

.trust-avatars-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(30, 30, 30, 0.05);
    padding-top: 12px;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar, .avatar-more {
    width: 26px;
    height: 26px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: var(--white);
    margin-right: -8px;
}

.avatar-more {
    background-color: var(--text-dark);
    margin-right: 0;
}

.avatar-text {
    font-size: 12px;
    color: #444444;
    font-weight: 600;
}

/* Layout Grid: 3 Cols + 1 Col Technician */
.services-main-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Service Card Design */
.service-premium-card {
    background-color: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: var(--shadow-premium);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-inner {
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    height: 290px; /* Increased Height */
    box-sizing: border-box;
    justify-content: space-between;
}

.icon-gold-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-appliance-icon {
    width: 28px;
    height: 28px;
}

.card-meta {
    margin-top: 18px;
    margin-bottom: auto;
}

.card-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
}

.card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.card-description-text {
    font-size: 13px;
    color: #556987;
    line-height: 1.5;
    margin: 0;
}

.card-arrow-btn {
    align-self: flex-start;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.05);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 300ms ease,
                color 300ms ease;
}

.arrow-svg {
    width: 16px;
    height: 16px;
    transition: transform 300ms ease;
}

/* Card Hover Interactions */
.service-premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-premium-hover);
    border-color: var(--gold-primary);
}

.service-premium-card:hover .icon-gold-circle {
    transform: scale(1.08) rotate(5deg);
}

.service-premium-card:hover .card-arrow-btn {
    background-color: var(--gold-primary);
    color: var(--white);
}

.service-premium-card:hover .card-arrow-btn .arrow-svg {
    transform: translateX(4px);
}

/* Technician Column Card */
.technician-column-wrapper {
    height: 100%;
}

.technician-image-card {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
    height: 100%;
    min-height: 600px;
    background: var(--royal-blue-gradient);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.4) 0%, rgba(0,0,0,0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.tech-card-bg-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.technician-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(7, 26, 51, 0) 50%, rgba(7, 26, 51, 0.6) 100%);
}

/* Floating Badges positioning */
.tech-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 14px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.tech-float-badge span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-dark);
}

.float-badge-icon {
    width: 12px;
    height: 12px;
    color: var(--primary-blue);
}

.badge-certified {
    top: 8%;
    left: 15px;
}

.badge-parts {
    top: 25%;
    right: 15px;
}

.badge-sameday {
    bottom: 25%;
    left: 15px;
}

.badge-years {
    bottom: 8%;
    right: 15px;
}

/* Redesigned Bottom Feature Strip (Premium Blue Gradient) */
.features-premium-strip {
    background: var(--royal-blue-gradient);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.features-premium-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.strip-feature-item {
    display: flex;
    gap: 16px;
    cursor: pointer;
    transition: transform 300ms ease;
    position: relative;
}

/* Thin vertical divider inside strip */
.strip-feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.strip-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 300ms ease, transform 300ms ease;
}

.strip-svg {
    width: 22px;
    height: 22px;
}

.strip-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.strip-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.strip-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    margin: 0;
}

/* Bottom Strip Hover state */
.strip-feature-item:hover {
    transform: translateY(-5px);
}

.strip-feature-item:hover .strip-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible,
.fade-down.visible,
.fade-left.visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Breakpoints */

/* Tablet Layout (2 columns) */
@media (max-width: 1024px) {
    .services-section {
        padding: 80px 0;
    }
    
    .services-main-layout {
        grid-template-columns: 1fr;
    }
    
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .technician-image-card {
        min-height: 450px;
    }
    
    .features-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .strip-feature-item::after {
        display: none !important;
    }
}

/* Mobile Layout (1 column) */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .services-main-title {
        font-size: 36px;
    }
    
    .services-trust-card {
        width: 100%;
        min-width: 0;
    }
    
    .services-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .features-strip-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features-premium-strip {
        padding: 30px 24px;
    }
    
    .tech-float-badge {
        padding: 6px 12px;
    }
    
    .badge-certified { top: 5%; left: 10px; }
    .badge-parts { top: 22%; right: 10px; }
    .badge-sameday { bottom: 22%; left: 10px; }
    .badge-years { bottom: 5%; right: 10px; }
}
