/* Services Page Styles */
.services-page {
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    color: #fff;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.services-page .container {
    width: 100%;
    max-width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .services-page .container {
        max-width: 1920px;
        padding: 0 4rem;
    }
}

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 80vh;
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0f1f 0%, #111827 100%);
    overflow: hidden;
    text-align: center;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/header2.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
    filter: brightness(0.7);
}

.services-hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    text-align: center;
}

/* Hero grid layout: main content + highlights column */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: center;
}

.hero-content {
    text-align: right; /* keep RTL flow */
}

.hero-content h1 {
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.primary-cta { /* WhatsApp primary */
    background: linear-gradient(135deg, #16a34a 0%, #10b981 100%);
    border: none;
    color: #fff;
}

.secondary-cta { /* Booking */
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.12);
}

/* Hero highlights column */
.hero-highlights {
    display: flex;
    flex-direction: row; /* side-by-side on wide screens */
    gap: 1rem;
    align-items: stretch;
    justify-content: space-between;
}

.hero-highlights .highlight-item.small {
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.04);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hero-highlights .highlight-item.small i {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-highlights .highlight-item.small h3 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
}

/* Ensure existing .highlight-item styles don't conflict on large hero */
.hero-highlights .highlight-item.small .sr-only { display:none; }

/* Responsive: stack columns on small screens */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content { text-align: center; }
    /* stack highlights on smaller screens */
    .hero-highlights { flex-direction: column; justify-content: center; align-items: center; }
    .hero-highlights .highlight-item.small { min-width: 240px; max-width: 420px; width: 100%; }
}

.services-hero h1 {
    font-size: 4.5rem;
    margin: 0 auto 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, #fff 0%, #e6e6e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-align: center;
    width: auto;
    padding: 0;
    position: relative;
    display: block;
    max-width: 100%;
    direction: rtl;
}

.services-hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-orange);
    margin: 2rem auto 0;
    border-radius: 2px;
}

.services-hero h2 {
    font-size: 1.8rem;
    margin: 2rem 0 2.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-hero h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 3px;
}

.services-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    text-align: center;
    width: 100%;
}

/* Specific hero description class for better control */
.services-hero .hero-desc {
    max-width: 820px; /* slightly wider for better readability */
    padding: 0 1rem;
    margin: 1rem auto 3.5rem;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .services-hero .hero-desc {
        font-size: 1.05rem;
        padding: 0 1.25rem;
        max-width: 100%;
    }
}

/* Service Highlights */
.service-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem auto;
    width: 100%;
    padding: 0 1rem;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .service-highlights {
        max-width: 1400px;
        padding: 0 2rem;
    }
}

.highlight-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8a4d);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, rgba(20, 30, 60, 0.8) 0%, rgba(30, 30, 60, 0.9) 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.highlight-item:hover::before {
    height: 6px;
    opacity: 1;
}

.highlight-item i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.highlight-item h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0 0;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.highlight-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0.8rem 0 0;
    line-height: 1.6;
    display: none;
}

.highlight-item:hover i {
    transform: scale(1.1);
}

.highlight-item:hover p {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@media (max-width: 992px) {
    .highlight-item {
        flex: 1 1 calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .highlight-item {
        flex: 1 1 100%;
    }
}

/* Services Grid */
.services-grid {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1a1a2e 100%);
    width: 100%;
    margin: 0;
}

.services-grid .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

@media (min-width: 1400px) {
    .services-grid .container {
        padding: 0 4rem;
    }
}

.services-grid .container > h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
    padding-bottom: 1rem;
}

.services-grid .container > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7) 0%, rgba(26, 26, 46, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), #ff8a4d);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
    height: 8px;
    opacity: 1;
}

.service-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h2 i {
    margin-left: 0.8rem;
    font-size: 1.5rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.team-member.recovery-card {
    background: rgba(26, 32, 44, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.recovery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), #ff6b6b);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.recovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #0a0f1f 0%, #1f1f3d 100%);
}

.team-member.recovery-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.recovery-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.recovery-card:hover i {
    transform: scale(1.1);
}

.team-member.recovery-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.team-member h4 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

/* Card Type Colors */
.recovery-card {
    background: linear-gradient(135deg, #0a0f1f 0%, #1a1a2e 100%);
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.recovery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), #ff6b6b);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.recovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #0a0f1f 0%, #1f1f3d 100%);
}

.recovery-card:hover::before {
    height: 5px;
    opacity: 1;
}

.recovery-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary-orange), #ff6b6b);
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gym Equipment Cards */
.team-member.equipment-card {
    background: rgba(45, 35, 20, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(245, 158, 11, 0.2) !important;
    background: linear-gradient(135deg, #1a0f00 0%, #3d2800 100%) !important;
}

.team-member.equipment-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.equipment-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.equipment-card:hover i {
    transform: scale(1.1);
}

.team-member.equipment-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Accounting System Cards */
.team-member.system-card {
    background: rgba(31, 15, 61, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.system-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    background: linear-gradient(135deg, #0f0a1a 0%, #1f0f3d 100%) !important;
}

.team-member.system-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.system-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.system-card:hover i {
    transform: scale(1.1);
}

.team-member.system-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Medical Team Cards */
.team-member.medical-card {
    background: rgba(61, 10, 31, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(236, 72, 153, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.medical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899, #db2777);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.medical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(236, 72, 153, 0.2) !important;
    background: linear-gradient(135deg, #1a0a12 0%, #3d0a1f 100%) !important;
}

.team-member.medical-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.medical-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.medical-card:hover i {
    transform: scale(1.1);
}

.team-member.medical-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* In-Gym Follow-up Cards */
.team-member.followup-card {
    background: rgba(10, 50, 20, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.followup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.followup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    background: linear-gradient(135deg, #0a1a12 0%, #0a3d1f 100%) !important;
}

.team-member.followup-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.followup-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.followup-card:hover i {
    transform: scale(1.1);
}

.team-member.followup-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Free Health Consultation Cards */
.team-member.consult-card {
    background: rgba(31, 15, 61, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff !important;
    border-radius: 12px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.team-member.consult-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.team-member.consult-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    background: linear-gradient(135deg, #0f0a1a 0%, #1f0f3d 100%) !important;
}

.team-member.consult-card:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member.consult-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member.consult-card:hover i {
    transform: scale(1.1);
}

.team-member.consult-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Update the service card heading for consultations */
.service-card h2[style*="color: #8b5cf6"] {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.5rem 0;
}

/* Update the paragraph text color */
.service-card p[style*="color: #4b5563"] {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Animation for card content */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card content styling */
.service-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.service-card h2 i {
    margin-left: 1rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Team member cards */
.team-member {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.team-member:hover {
    transform: translateY(-5px);
    background: rgba(20, 30, 60, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.team-member:hover::before {
    height: 5px;
    opacity: 1;
}

.team-member i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

.team-member h4 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.team-member p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0.5rem 0 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .service-card h2 {
        font-size: 1.8rem;
    }
    
    .service-card p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 0;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        border-left: none;
        border-right: none;
    }
    
    .service-card h2 {
        font-size: 1.6rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d46a00 100%);
    color: #fff;
    margin-top: 1.5rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e66a00 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 96, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button i {
    margin-right: 0.5rem;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 3.5rem;
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        min-height: 70vh;
        padding: 4rem 1rem;
    }
    
    .services-hero h1 {
        font-size: 2.8rem;
        margin: 0 auto 1.5rem;
        padding: 0;
    }
    
    .services-hero h1::after {
        width: 80px;
        margin-top: 1.5rem;
    }
    
    .services-hero h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .services-hero p {
        font-size: 1.1rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-hero {
        padding: 6rem 1rem;
    }
    
    .services-grid {
        padding: 3rem 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero h2 {
        font-size: 1.5rem;
    }
    
    .service-card h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-card h2 i {
        margin-left: 0;
    }
}
