/* Additional Styles for Ayoub Mnafeg Website */

/* Multi-language Font Support */
body[lang="en"], body[lang="en"] * {
    font-family: 'Inter', sans-serif;
    direction: ltr;
}

body[lang="ar"], body[lang="ar"] * {
    font-family: 'Cairo', 'Inter', sans-serif;
    direction: rtl;
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Cairo', sans-serif !important;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--gray-900);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(37, 99, 235, 0.8);
    color: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.6);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

/* RTL adjustments for Arabic */
body[lang="ar"] .language-switcher {
    left: 20px;
    right: auto;
}

body[lang="ar"] .hero {
    text-align: right;
}

body[lang="ar"] .text-center {
    text-align: center !important;
}

body[lang="ar"] .mission-list .badge {
    text-align: right;
}

body[lang="ar"] .card {
    text-align: right;
}


/* Grid layout adjustments for RTL */
body[lang="ar"] .services-grid {
    direction: rtl;
}

body[lang="ar"] .services-grid .card {
    direction: rtl;
}

/* Button alignment for RTL */
body[lang="ar"] .btn {
    direction: ltr;
    display: inline-block;
}

/* Hero Section Specific Styles */
.hero {
    min-height: 97vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #1e3a8a 25%, 
        #1e293b 50%, 
        #2563eb 75%, 
        #0f172a 100%);
    position: relative;
    overflow: hidden;
    animation: heroBackgroundShift 20s ease-in-out infinite;
}

/* Hero section floating background elements */
.hero::before {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.15));
    border-radius: 50%;
    animation: floatingBackground 7s ease-in-out infinite;
    z-index: -1;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(2px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 12%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.12));
    border-radius: 30%;
    animation: floatingBackground 9s ease-in-out infinite reverse;
    z-index: -1;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(2px);
}

/* Hero container positioning for decorative elements */
.hero .container {
    position: relative;
}

/* Additional Hero floating elements */
.hero .container::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 20%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.1));
    border-radius: 50%;
    animation: floatingBackground 12s ease-in-out infinite;
    z-index: -1;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(2px);
}

.hero .container::after {
    content: '';
    position: absolute;
    bottom: 40%;
    right: 25%;
    width: 90px;
    height: 50px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.11));
    border-radius: 25px;
    animation: floatingBackground 10s ease-in-out infinite reverse;
    z-index: -1;
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(37, 99, 235, 0.22);
    backdrop-filter: blur(2px);
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
}

.scroll-indicator:hover {
    color: var(--success);
    transform: translateX(-50%) translateY(-3px);
}

.scroll-indicator .scroll-text {
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
}

.scroll-indicator .scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-8px);
    }
    60% {
        transform: rotate(45deg) translateY(-4px);
    }
}

/* RTL adjustments for scroll indicator */
body[lang="ar"] .scroll-indicator .scroll-text {
    text-align: center;
}

.hero-title {
    font-size: var(--text-6xl);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: var(--font-medium);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* About Section */
#about {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(250, 250, 250, 0.9) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(250, 250, 250, 0.9) 100%);
    overflow: hidden;
}

/* About section floating background elements */
#about::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.04));
    border-radius: 50%;
    animation: floatingBackground 8s ease-in-out infinite;
    z-index: -1;
}

#about::after {
    content: '';
    position: absolute;
    bottom: 25%;
    left: 8%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
    border-radius: 30%;
    animation: floatingBackground 10s ease-in-out infinite reverse;
    z-index: -1;
}

/* About title animation */
#about h2 {
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    color: var(--gray-900);
}

#about.animated h2 {
    animation: aboutTitleReveal 0.8s ease forwards;
}

@keyframes aboutTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--success);
    border-radius: var(--radius-full);
    opacity: 0;
}

#about.animated h2::after {
    animation: underlineExpand 0.8s ease 0.8s forwards;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.about-content p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    color: var(--gray-600);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-base);
}

/* Staggered paragraph animations */
#about.animated .about-content p:nth-child(1) {
    animation: aboutTextReveal 0.8s ease 0.4s forwards;
}

#about.animated .about-content p:nth-child(2) {
    animation: aboutTextReveal 0.8s ease 0.7s forwards;
}

#about.animated .about-content p:nth-child(3) {
    animation: aboutTextReveal 0.8s ease 1s forwards;
}

#about.animated .about-content p:nth-child(4) {
    animation: aboutTextReveal 0.8s ease 1.3s forwards;
}

@keyframes aboutTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About section decorative gradient */
#about .container::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.015) 0%, transparent 70%);
    animation: rotateDecor 25s linear infinite;
    z-index: -1;
}

/* Mission Section */
.mission-content {
    max-width: 600px;
    margin: 0 auto;
}

.mission-list {
    display: flex;
    flex-direction: row;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.mission-list .badge {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    min-width: 220px;
    max-width: 300px;
    flex: 1;
    justify-content: flex-start;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--transition-base);
    text-align: center;
}

.mission-list .badge:hover {
    transform: scale(1.05) translateX(0);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
}

.mission-list .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mission-list .badge:hover::before {
    left: 100%;
}

/* Mission Badge Icon Animation */
.mission-list .badge svg {
    transition: all var(--transition-base);
}

.mission-list .badge:hover svg {
    transform: scale(1.2) rotate(360deg);
}

/* Mission Section Animations */
@keyframes missionTitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes missionSubtitleTypewriter {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes missionBadgeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes missionBadgeSlideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes checkmarkDraw {
    from {
        stroke-dasharray: 0 16;
    }
    to {
        stroke-dasharray: 16 16;
    }
}

@keyframes floatingBackground {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes heroBackgroundShift {
    0% {
        background: linear-gradient(135deg, 
            #1a1a1a 0%, 
            #1e3a8a 25%, 
            #1e293b 50%, 
            #2563eb 75%, 
            #0f172a 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            #0f172a 0%, 
            #2563eb 25%, 
            #1e40af 50%, 
            #1e293b 75%, 
            #1a1a1a 100%);
    }
    100% {
        background: linear-gradient(135deg, 
            #1a1a1a 0%, 
            #1e3a8a 25%, 
            #1e293b 50%, 
            #2563eb 75%, 
            #0f172a 100%);
    }
}

@keyframes missionBadgePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Mission section animated state classes */
#mission.animated h2 {
    animation: missionTitleFadeIn 0.8s ease forwards;
}

#mission.animated .mission-content > p {
    animation: missionSubtitleTypewriter 1s ease 0.5s forwards;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--gray-400);
    width: 0;
    margin: 0 auto var(--space-8);
}

#mission.animated .mission-list .badge:nth-child(1) {
    animation: missionBadgeSlideIn 0.6s ease 1s forwards;
}

#mission.animated .mission-list .badge:nth-child(2) {
    animation: missionBadgeSlideInRight 0.6s ease 1.3s forwards;
}

#mission.animated .mission-list .badge:nth-child(3) {
    animation: missionBadgeSlideIn 0.6s ease 1.6s forwards;
}

/* Checkmark animation */
#mission.animated .mission-list .badge svg path {
    stroke-dasharray: 16;
    stroke-dashoffset: 16;
    animation: checkmarkDraw 0.5s ease forwards;
    animation-delay: 2s;
}

/* Background floating elements */
#mission::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 50%;
    animation: floatingBackground 6s ease-in-out infinite;
    z-index: -1;
}

#mission::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
    border-radius: 30%;
    animation: floatingBackground 8s ease-in-out infinite reverse;
    z-index: -1;
}

#mission {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.95) 50%, 
        rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Additional decorative elements */
#mission .container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, transparent 70%);
    animation: rotateDecor 20s linear infinite;
    z-index: -1;
}

@keyframes rotateDecor {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced mission title styling */
#mission h2 {
    position: relative;
    font-size: var(--text-5xl);
    color: var(--gray-900);
    text-align: center;
    opacity: 0;
}

#mission h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--success);
    border-radius: var(--radius-full);
    opacity: 0;
}

#mission.animated h2::after {
    animation: underlineExpand 0.8s ease 0.8s forwards;
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Enhanced subtitle styling */
#mission .mission-content > p {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--gray-600);
    position: relative;
}

#mission.animated .mission-content > p::after {
    animation: blinkCursor 1s steps(2, start) infinite;
    animation-delay: 1.5s;
}

@keyframes blinkCursor {
    to {
        visibility: hidden;
    }
}

/* Enhanced badge styling with minimal blue accents */
.mission-list .badge {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.mission-list .badge:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: var(--success);
}

/* Add subtle animation to checkmark SVGs */
.mission-list .badge svg {
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.2));
    color: var(--success);
}

/* RTL (Arabic) specific animations */
body[lang="ar"] #mission.animated .mission-list .badge:nth-child(1) {
    animation: missionBadgeSlideInRight 0.6s ease 1s forwards;
}

body[lang="ar"] #mission.animated .mission-list .badge:nth-child(3) {
    animation: missionBadgeSlideInRight 0.6s ease 1.6s forwards;
}

body[lang="ar"] #mission.animated .mission-content > p {
    border-left: 2px solid var(--gray-400);
    border-right: none;
    animation: missionSubtitleTypewriterRTL 1s ease 0.5s forwards;
}

@keyframes missionSubtitleTypewriterRTL {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Responsive enhancements for animations */
@media (max-width: 768px) {
    #mission h2 {
        font-size: var(--text-4xl);
    }
    
    #mission .mission-content > p {
        font-size: var(--text-lg);
    }
    
    .mission-list {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .mission-list .badge {
        min-width: 250px;
        max-width: 100%;
        flex: none;
    }
    
    /* Reduce floating animations on mobile for performance */
    #mission::before,
    #mission::after {
        animation-duration: 12s;
    }
    
    /* Mobile RTL adjustments */
    body[lang="ar"] .mission-list .badge {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mission-list .badge {
        min-width: auto;
        width: 100%;
    }
    
    #mission h2 {
        font-size: var(--text-3xl);
    }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    #mission *,
    #mission *::before,
    #mission *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    #mission.animated h2,
    #mission.animated .mission-content > p,
    #mission.animated .mission-list .badge {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    #mission::before,
    #mission::after {
        animation: none !important;
    }
}

/* Performance: Use will-change for animated elements */
#mission h2,
#mission .mission-content > p,
#mission .mission-list .badge {
    will-change: transform, opacity;
}

#mission.animated h2,
#mission.animated .mission-content > p,
#mission.animated .mission-list .badge {
    will-change: auto;
}

/* Services Section */
.services-grid {
    margin-top: var(--space-12);
}

#services {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(250, 250, 250, 0.8) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(250, 250, 250, 0.8) 100%);
    overflow: hidden;
}

/* Services title animation */
#services h2 {
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    color: var(--gray-900);
}

#services.animated h2 {
    animation: servicesTitleReveal 0.8s ease forwards;
}

@keyframes servicesTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced service cards */
.services-grid .card {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-2xl);
}

.services-grid .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.services-grid .card:hover::before {
    left: 100%;
}

.services-grid .card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Staggered card entrance animations */
#services.animated .services-grid .card:nth-child(1) {
    animation: serviceCardSlideInLeft 0.6s ease 0.2s forwards;
}

#services.animated .services-grid .card:nth-child(2) {
    animation: serviceCardSlideInUp 0.6s ease 0.4s forwards;
}

#services.animated .services-grid .card:nth-child(3) {
    animation: serviceCardSlideInRight 0.6s ease 0.6s forwards;
}

#services.animated .services-grid .card:nth-child(4) {
    animation: serviceCardSlideInLeft 0.6s ease 0.8s forwards;
}

#services.animated .services-grid .card:nth-child(5) {
    animation: serviceCardSlideInUp 0.6s ease 1s forwards;
}

#services.animated .services-grid .card:nth-child(6) {
    animation: serviceCardSlideInRight 0.6s ease 1.2s forwards;
}

@keyframes serviceCardSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes serviceCardSlideInUp {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes serviceCardSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Enhanced service icons */
.service-icon {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    color: var(--gray-700);
    transition: all var(--transition-base);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
}

#services.animated .service-icon {
    animation: serviceIconReveal 0.8s ease forwards;
    /* Ensure icon stays visible after animation completes */
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.services-grid .card:nth-child(1) .service-icon { animation-delay: 0.6s; }
.services-grid .card:nth-child(2) .service-icon { animation-delay: 0.8s; }
.services-grid .card:nth-child(3) .service-icon { animation-delay: 1s; }
.services-grid .card:nth-child(4) .service-icon { animation-delay: 1.2s; }
.services-grid .card:nth-child(5) .service-icon { animation-delay: 1.4s; }
.services-grid .card:nth-child(6) .service-icon { animation-delay: 1.6s; }

@keyframes serviceIconReveal {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gray-400), var(--gray-500), var(--gray-600));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card:hover .service-icon {
    background: var(--gray-900) !important;
    color: var(--white) !important;
    transform: scale(1.15) rotate(5deg) !important;
    animation: serviceIconFloat 2s ease-in-out infinite;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--gray-700) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.card:hover .service-icon::after {
    opacity: 1;
}

@keyframes serviceIconFloat {
    0%, 100% {
        transform: scale(1.15) rotate(5deg) translateY(0);
    }
    50% {
        transform: scale(1.15) rotate(5deg) translateY(-5px);
    }
}

/* Service icon SVG animations */
.service-icon svg {
    transition: all var(--transition-base);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    fill: currentColor;
}

.card:hover .service-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.5));
    fill: var(--white) !important;
}

.card:hover .service-icon svg path {
    fill: var(--white) !important;
}

/* Enhanced service text */
.services-grid .card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-3);
    color: var(--gray-900);
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: -0.02em;
    line-height: 1.4;
}

#services.animated .services-grid .card h3 {
    animation: serviceTextReveal 0.6s ease forwards;
}

.services-grid .card:nth-child(1) h3 { animation-delay: 0.8s; }
.services-grid .card:nth-child(2) h3 { animation-delay: 1s; }
.services-grid .card:nth-child(3) h3 { animation-delay: 1.2s; }
.services-grid .card:nth-child(4) h3 { animation-delay: 1.4s; }
.services-grid .card:nth-child(5) h3 { animation-delay: 1.6s; }
.services-grid .card:nth-child(6) h3 { animation-delay: 1.8s; }

@keyframes serviceTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid .card p {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    opacity: 0;
    transform: translateY(20px);
}

#services.animated .services-grid .card p {
    animation: serviceTextReveal 0.6s ease forwards;
}

.services-grid .card:nth-child(1) p { animation-delay: 1s; }
.services-grid .card:nth-child(2) p { animation-delay: 1.2s; }
.services-grid .card:nth-child(3) p { animation-delay: 1.4s; }
.services-grid .card:nth-child(4) p { animation-delay: 1.6s; }
.services-grid .card:nth-child(5) p { animation-delay: 1.8s; }
.services-grid .card:nth-child(6) p { animation-delay: 2s; }

/* Service Details */
.service-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

#services.animated .service-details {
    animation: serviceTextReveal 0.6s ease forwards;
}

.services-grid .card:nth-child(1) .service-details { animation-delay: 1.2s; }
.services-grid .card:nth-child(2) .service-details { animation-delay: 1.4s; }
.services-grid .card:nth-child(3) .service-details { animation-delay: 1.6s; }
.services-grid .card:nth-child(4) .service-details { animation-delay: 1.8s; }
.services-grid .card:nth-child(5) .service-details { animation-delay: 2s; }
.services-grid .card:nth-child(6) .service-details { animation-delay: 2.2s; }

.service-benefit {
    color: var(--success);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    position: relative;
    padding-left: var(--space-4);
}

.service-benefit::before {
    content: '↗';
    position: absolute;
    left: 0;
    top: 0;
    font-size: var(--text-lg);
    color: var(--success);
    animation: benefitArrowBounce 2s ease-in-out infinite;
}

@keyframes benefitArrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.service-timeline {
    color: var(--gray-500);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    position: relative;
    padding-left: var(--space-4);
}

.service-timeline::before {
    content: '⏱';
    position: absolute;
    left: 0;
    top: 0;
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.service-deliverable {
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    position: relative;
    padding-left: var(--space-4);
}

.service-deliverable::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: var(--font-bold);
}

/* Services background effects */
#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 0, 0, 0.015) 0%, transparent 50%);
    z-index: -1;
    animation: servicesBackgroundPulse 15s ease-in-out infinite;
}

@keyframes servicesBackgroundPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Animated grid pattern */
#services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Enhanced hover effects for service cards */
.services-grid .card {
    cursor: pointer;
}

.services-grid .card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Service card glow effect */
.services-grid .card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--gray-400), 
        var(--gray-500), 
        var(--gray-600), 
        var(--gray-400));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
    filter: blur(10px);
}

.services-grid .card:hover::after {
    opacity: 0.3;
    animation: cardGlowRotate 2s linear infinite;
}

@keyframes cardGlowRotate {
    0% {
        filter: blur(10px) hue-rotate(0deg);
    }
    100% {
        filter: blur(10px) hue-rotate(360deg);
    }
}

@keyframes serviceCelebrationPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive and mobile enhancements */
@media (max-width: 1024px) {
    .services-grid .card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

@media (max-width: 768px) {
    #services h2 {
        font-size: var(--text-4xl);
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .services-grid .card h3 {
        font-size: var(--text-lg);
    }
    
    .services-grid .card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    /* Reduce background animations on mobile */
    #services::before,
    #services::after {
        animation-duration: 30s;
    }
}

@media (max-width: 480px) {
    .service-icon {
        width: 48px;
        height: 48px;
    }
    
    .services-grid .card {
        padding: var(--space-4);
    }
    
    .services-grid .card h3 {
        font-size: var(--text-base);
    }
    
    .service-benefit::before,
    .service-timeline::before,
    .service-deliverable::before {
        display: none;
    }
    
    .service-benefit,
    .service-timeline,
    .service-deliverable {
        padding-left: 0;
    }
}

/* RTL (Arabic) specific enhancements for services */
body[lang="ar"] #services.animated .services-grid .card:nth-child(1),
body[lang="ar"] #services.animated .services-grid .card:nth-child(4) {
    animation: serviceCardSlideInRight 0.6s ease forwards;
}

body[lang="ar"] #services.animated .services-grid .card:nth-child(3),
body[lang="ar"] #services.animated .services-grid .card:nth-child(6) {
    animation: serviceCardSlideInLeft 0.6s ease forwards;
}

body[lang="ar"] #services.animated .services-grid .card:nth-child(1) { animation-delay: 0.2s; }
body[lang="ar"] #services.animated .services-grid .card:nth-child(3) { animation-delay: 0.6s; }
body[lang="ar"] #services.animated .services-grid .card:nth-child(4) { animation-delay: 0.8s; }
body[lang="ar"] #services.animated .services-grid .card:nth-child(6) { animation-delay: 1.2s; }

body[lang="ar"] .service-benefit {
    padding-right: var(--space-4);
    padding-left: 0;
    text-align: right;
}

body[lang="ar"] .service-benefit {
    color: var(--success);
}

body[lang="ar"] .service-benefit::before {
    right: 0;
    left: auto;
    color: var(--success);
}

body[lang="ar"] .service-timeline {
    padding-right: var(--space-4);
    padding-left: 0;
    text-align: right;
}

body[lang="ar"] .service-timeline::before {
    right: 0;
    left: auto;
}

body[lang="ar"] .service-deliverable {
    padding-right: var(--space-4);
    padding-left: 0;
    text-align: right;
}

body[lang="ar"] .service-deliverable::before {
    right: 0;
    left: auto;
    color: var(--success);
}

/* RTL (Arabic) specific animations for Hero section */
body[lang="ar"] .hero::before {
    right: 8%;
    left: auto;
}

body[lang="ar"] .hero::after {
    left: 12%;
    right: auto;
}

body[lang="ar"] .hero .container::before {
    right: 20%;
    left: auto;
}

body[lang="ar"] .hero .container::after {
    left: 25%;
    right: auto;
}


/* RTL (Arabic) specific animations for About section */
body[lang="ar"] #about::before {
    left: 10%;
    right: auto;
}

body[lang="ar"] #about::after {
    right: 8%;
    left: auto;
}


/* RTL (Arabic) specific animations for Contact section */
body[lang="ar"] #contact::before {
    left: 15%;
    right: auto;
}

body[lang="ar"] #contact::after {
    right: 10%;
    left: auto;
}

/* Accessibility: Respect reduced motion preferences for services */
@media (prefers-reduced-motion: reduce) {
    #services *,
    #services *::before,
    #services *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #services.animated h2,
    #services.animated .services-grid .card,
    #services.animated .service-icon,
    #services.animated .services-grid .card h3,
    #services.animated .services-grid .card p,
    #services.animated .service-details {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        visibility: visible !important;
    }
    
    .card:hover .service-icon {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1.15) rotate(5deg) !important;
    }
    
    #services::before,
    #services::after {
        animation: none !important;
    }
}

/* Accessibility: Respect reduced motion preferences for hero section */
@media (prefers-reduced-motion: reduce) {
    .hero *,
    .hero *::before,
    .hero *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .hero::after {
        animation: none !important;
    }
    
    .hero .container::before,
    .hero .container::after {
        animation: none !important;
    }
    
}

/* Accessibility: Respect reduced motion preferences for about section */
@media (prefers-reduced-motion: reduce) {
    #about *,
    #about *::before,
    #about *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #about.animated h2,
    #about.animated .about-content p {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    #about::before,
    #about::after {
        animation: none !important;
    }
}


/* Accessibility: Respect reduced motion preferences for contact section */
@media (prefers-reduced-motion: reduce) {
    #contact *,
    #contact *::before,
    #contact *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #contact.animated h2,
    #contact.animated p,
    #contact.animated .btn,
    #contact.animated .container {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        filter: none !important;
        visibility: visible !important;
    }
    
    #contact .btn:hover {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }
    
    #contact::before,
    #contact::after {
        animation: none !important;
    }
}


/* Contact Section */
#contact {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.9) 0%, 
        rgba(255, 255, 255, 0.95) 50%, 
        rgba(248, 250, 252, 0.9) 100%);
    overflow: hidden;
}

/* Contact section floating background elements */
#contact::before {
    content: '';
    position: absolute;
    top: 25%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border-radius: 50%;
    animation: floatingBackground 10s ease-in-out infinite;
    z-index: -1;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 10%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.04));
    border-radius: 30%;
    animation: floatingBackground 8s ease-in-out infinite reverse;
    z-index: -1;
}

/* Contact title animation */
#contact h2 {
    position: relative;
    opacity: 0;
    transform: translateY(-30px);
    color: var(--gray-900);
}

#contact.animated h2 {
    animation: contactTitleReveal 0.8s ease forwards;
}

@keyframes contactTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--success);
    border-radius: var(--radius-full);
    opacity: 0;
}

#contact.animated h2::after {
    animation: underlineExpand 0.8s ease 0.8s forwards;
}

#contact p {
    opacity: 0;
    transform: translateY(20px);
}

#contact.animated p {
    animation: contactTextReveal 0.8s ease 0.5s forwards;
}

@keyframes contactTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced contact button animations */
#contact .btn {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    position: relative;
    overflow: hidden;
}

#contact.animated .btn {
    animation: contactButtonReveal 0.8s ease 0.8s forwards;
    /* Ensure button stays visible after animation completes */
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes contactButtonReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#contact .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

#contact .btn:hover::before {
    left: 100%;
}

#contact .btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3) !important;
    opacity: 1 !important;
    animation: contactButtonPulse 2s ease-in-out infinite;
    /* Ensure button stays visible and positioned correctly */
    visibility: visible !important;
    display: inline-flex !important;
    z-index: 10;
}

@keyframes contactButtonPulse {
    0%, 100% {
        box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
    }
}

/* Contact background decorative gradient */
#contact .container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, transparent 70%);
    animation: rotateDecor 20s linear infinite;
    z-index: -1;
}

/* Call-to-action emphasis animation */
#contact .container {
    position: relative;
}

#contact.animated .container {
    animation: contactContainerGlow 3s ease-in-out infinite;
}

@keyframes contactContainerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.1));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.2));
    }
}

/* Footer */
.footer {
    padding: var(--space-8) 0;
}

.footer p {
    margin: 0;
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
a:focus {
    outline: 2px solid var(--success);
    outline-offset: 2px;
}

/* Responsive Design Enhancements */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: var(--space-8) 0;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
        margin-bottom: var(--space-4);
    }
    
    .hero-subtitle {
        font-size: var(--text-lg);
        margin-bottom: var(--space-6);
    }
    
    /* Mobile Hero section adjustments */
    .hero::before,
    .hero::after {
        animation-duration: 12s;
    }
    
    .hero .container::before,
    .hero .container::after {
        animation-duration: 15s;
    }
    
    .about-content p {
        font-size: var(--text-base);
    }
    
    /* Mobile About section adjustments */
    #about h2 {
        font-size: var(--text-4xl);
    }
    
    #about::before,
    #about::after {
        animation-duration: 15s;
    }
    
    .mission-list .badge {
        min-width: auto;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .services-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    
    /* Mobile Contact section adjustments */
    #contact h2 {
        font-size: var(--text-4xl);
    }
    
    #contact::before,
    #contact::after {
        animation-duration: 12s;
    }
    
    #contact .btn {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-6);
    }
    
    /* Mobile RTL adjustments */
    body[lang="ar"] .mission-list .badge {
        text-align: center;
    }
    
    
    /* Language switcher mobile adjustments */
    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
    
    body[lang="ar"] .language-switcher {
        left: 10px;
        right: auto;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-base);
    }
    
    .card {
        padding: var(--space-4);
    }
    
    .section {
        padding: var(--space-10) 0;
    }
}

/* Animation for smooth loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading skeleton animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-text {
    height: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-card {
    height: 200px;
    border-radius: var(--radius-xl);
    margin-bottom: 1rem;
}

/* Page loading overlay */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(37, 99, 235, 0.1) 50%, 
        rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid var(--success);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }

/* Print Styles */
@media print {
    .hero {
        background: none;
        color: var(--primary);
        min-height: auto;
        page-break-after: always;
    }
    
    .btn {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--gray-300);
        break-inside: avoid;
    }
}