/* ==========================================================================
   CAREMED SERVICES PAGE - PREMIUM STYLES
   ========================================================================== */

/* Variables & Base Styles */
:root {
    --srv-primary: #2E7D32;
    --srv-primary-hover: #1b5e20;
    --srv-light: #E8F5E9;
    --srv-dark: #1A1A1A;
    --srv-gray: #F8F9FA;
    --srv-text-muted: #6c757d;
    --srv-gradient: linear-gradient(135deg, #2E7D32, #004d40);
    --srv-shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --srv-shadow-hover: 0 15px 50px rgba(46, 125, 50, 0.15);
}

.services-page-wrapper {
    background-color: #ffffff;
    color: var(--srv-dark);
    font-family: 'Outfit', sans-serif;
    /* overflow-x: hidden; */
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.services-hero {
    position: relative;
    padding: 160px 0 100px;
    /* background: linear-gradient(135deg, rgba(232, 245, 233, 0.9), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&q=80&w=2000') center / cover no-repeat; */
    background: linear-gradient(45deg, rgb(4 4 4 / 81%), rgb(67 136 128 / 88%)), url(https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&q=80&w=2000) center / cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
}

.services-hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.srv-blob {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    opacity: 0.5;
    animation: srvFloatBlob 15s linear-in-out infinite alternate;
}

.srv-blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(46, 125, 50, 0.2);
}

.srv-blob-2 {
    bottom: -20%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 77, 64, 0.15);
}

@keyframes srvFloatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.services-hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-pill {
    display: inline-block;
    background: white;
    color: var(--caremed-bluish);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.breadcrumb-pill a {
    color: var(--srv-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-pill a:hover {
    color: var(--srv-primary);
}

.services-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--srv-dark);
    margin-bottom: 20px;
}

.services-hero-title .text-gradient {
    background: var(--srv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-subtitle {
    font-size: 1.2rem;
    color: var(--srv-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 550px;
}

/* Floating Icons */
.srv-floating-icon {
    position: absolute;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    color: var(--srv-primary);
    font-size: 1.8rem;
    z-index: 3;
    animation: srvFloatUpDown 4s linear-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.sfi-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.sfi-2 {
    bottom: 15%;
    left: 48%;
    animation-delay: 1.5s;
}

.sfi-3 {
    top: 42%;
    left: 43%;
    animation-delay: 0.7s;
}

@keyframes srvFloatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   2. INTRO SECTION
   ========================================================================== */
.services-intro-section {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.intro-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--srv-dark);
    margin-bottom: 20px;
}

.intro-paragraph {
    font-size: 1.15rem;
    color: var(--srv-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   3. CATEGORY MENU
   ========================================================================== */
.services-filter-wrapper {
    position: sticky;
    top: 100px;
    /* Below navbar */
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(247, 172, 11, 0.959);
    margin-bottom: 50px;
}

.services-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-pill {
    background: white;
    color: var(--srv-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.filter-pill:hover {
    border-color: var(--caremed-bluish);
    color: var(--caremed-bluish);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.1);
}

.filter-pill.active {
    background: var(--caremed-orange-gradient);
    color: white;
    border-color: var(--caremed-orange);
    box-shadow: 0 5px 15px rgb(255 152 0 / 35%);
}

/* ==========================================================================
   4. SERVICES GRID
   ========================================================================== */
.services-grid-section {
    padding: 0 0 100px;
    background-color: var(--srv-gray);
    min-height: 500px;
}

.srv-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: var(--srv-shadow-soft);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--srv-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.srv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--srv-shadow-hover);
}

.srv-card:hover::before {
    transform: scaleX(1);
}

.srv-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--srv-light);
    color: var(--srv-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.srv-card:hover .srv-icon-wrapper {
    background: var(--srv-gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.srv-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--srv-dark);
}

.srv-card-desc {
    color: var(--srv-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-srv-outline {
    border: 2px solid var(--srv-primary);
    color: var(--srv-primary);
    background: transparent;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-srv-outline:hover {
    background: var(--srv-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.btn-srv-outline i {
    transition: transform 0.3s ease;
}

.btn-srv-outline:hover i {
    transform: translateX(5px);
}


text-decoration: none;
display: inline-block;
}

.btn-srv-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Utility classes for GSAP */
.srv-fade-up {
    opacity: 0;
    transform: translateY(30px);
}