:root {
    --primary: #c28a74;
    --primary-dark: #8e4b36;
    --primary-light: rgba(243, 225, 217, 0.3);
    --secondary: rgba(255, 255, 255, 0.85);
    --dark: #ffffff;
    --light: rgba(255, 255, 255, 0.1);
    --gray: rgba(255, 255, 255, 0.6);
    --shadow: 0 25px 45px -12px rgba(0,0,0,0.3);
    --shadow-hover: 0 35px 55px -15px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(194, 138, 116, 0.3);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: url('/images/pdx.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    color: var(--dark);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 0;
}

.en-container {
    font-family: 'Poppins', 'Playfair Display', sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 60px 30px 60px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    margin-bottom: 1rem;
}

.logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2));
    transition: var(--transition-bounce);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 10px;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.3));
    background: rgba(255,255,255,0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle i {
    margin: 0 8px;
    color: var(--primary);
    transition: var(--transition);
}

.hero-subtitle i:hover {
    transform: scale(1.2);
    color: #fff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    transition: var(--transition);
    cursor: default;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Poppins', monospace;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.language-switch {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lang-btn {
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.en-container .lang-btn {
    font-family: 'Poppins', sans-serif;
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow);
    border: none;
    position: relative;
    overflow: hidden;
}

.lang-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.price-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 48px 24px 48px 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.card-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(194, 138, 116, 0.15), rgba(142, 75, 54, 0.08));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition-bounce);
    animation: iconRing 2s infinite;
    box-shadow: 0 0 20px rgba(194,138,116,0.3);
}

@keyframes iconRing {
    0% { box-shadow: 0 0 0 0 rgba(194,138,116,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(194,138,116,0); }
    100% { box-shadow: 0 0 0 0 rgba(194,138,116,0); }
}

.header-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.header-icon i {
    font-size: 2rem;
    color: white;
}

.card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.en-container .card-header h2 {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-weight: 600;
}

.price-section {
    padding: 1.5rem 2rem 2rem;
}

.service-group {
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: var(--transition);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subgroup-title {
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    border-right: 4px solid var(--primary);
    padding-right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(194, 138, 116, 0.15);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    backdrop-filter: blur(4px);
}

.subgroup-title:hover {
    transform: translateX(-5px);
    background: rgba(194, 138, 116, 0.3);
    border-right-width: 6px;
}

.en-container .subgroup-title {
    border-right: none;
    border-left: 4px solid var(--primary);
    padding-right: 1rem;
    padding-left: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.en-container .subgroup-title:hover {
    transform: translateX(5px);
}

.subgroup-title i {
    color: var(--primary);
    font-size: 1rem;
}

.service-divider {
    text-align: center;
    padding: 1rem 0;
    margin: 1rem 0 0.8rem 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: 50px;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.en-container .service-divider {
    font-family: 'Playfair Display', 'Poppins', serif;
    font-weight: 500;
}

.service-divider i {
    font-size: 1rem;
    color: var(--primary);
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.service-divider:hover i {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.service-divider::before,
.service-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), var(--primary), rgba(255,255,255,0.3), transparent);
    max-width: 80px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    gap: 1rem;
    flex-wrap: nowrap;
    cursor: pointer;
}

.service-item:hover {
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
    padding: 0.9rem 1rem;
    margin: 0 -1rem;
    border-radius: 20px;
    border-bottom-color: transparent;
}

.service-name {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    transition: var(--transition);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.service-item:hover .service-name {
    color: #fff;
    font-weight: 700;
}

.en-container .service-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.service-name i {
    font-size: 0.35rem;
    color: var(--primary);
    vertical-align: middle;
    flex-shrink: 0;
    display: none;
}

.service-price {
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    color: #fff;
    white-space: nowrap;
    font-family: 'Poppins', monospace;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255,255,255,0.2);
}

.service-item:hover .service-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: none;
}

.price-range {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.highlight {
    background: linear-gradient(90deg, rgba(194, 138, 116, 0.15), transparent);
    border-radius: 20px;
    margin: 4px 0;
    position: relative;
    border-left: 3px solid var(--primary);
}

.en-container .highlight {
    border-left: none;
    border-right: 3px solid var(--primary);
}

.highlight .service-price {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    animation: priceGlow 1.5s infinite;
    border: none;
}

@keyframes priceGlow {
    0%, 100% { box-shadow: 0 2px 8px rgba(194,138,116,0.3); }
    50% { box-shadow: 0 4px 20px rgba(194,138,116,0.6); }
}

.footnote {
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Tajawal', 'Cairo', sans-serif;
}

.en-container .footnote {
    font-family: 'Poppins', sans-serif;
}

.footnote i {
    margin: 0 6px;
    transition: var(--transition);
}

.footnote:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.info-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-box {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    font-family: 'Tajawal', 'Cairo', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.en-container .info-box {
    font-family: 'Poppins', sans-serif;
}

.info-box i {
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.info-box:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: var(--shadow-glow);
    border-color: rgba(194,138,116,0.3);
}

.info-box:hover i {
    transform: scale(1.2);
    color: #fff;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: scale(1.15);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 850px) {
    .container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .price-section {
        padding: 1rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .info-footer {
        gap: 1rem;
    }
    
    .info-box {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    .scroll-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        left: 20px;
    }
    
    .service-divider {
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .service-divider i {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .service-divider::before,
    .service-divider::after {
        max-width: 40px;
    }
}

@media (max-width: 550px) {
    .service-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .service-price {
        margin-right: auto;
    }
    
    .en-container .service-price {
        margin-right: 0;
        margin-left: auto;
    }
    
    .service-name {
        white-space: normal;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .subgroup-title {
        font-size: 1rem;
    }
}