/* ===== Professional Home Page Styles ===== */
:root {
    --primary: #0c2f86;
    --accent: #9aa3b5;
    --dark: #0a1628;
    --light: #f8f9fc;
    --white: #ffffff;
    --text: #1a202c;
    --muted: #718096;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(12, 47, 134, 0.08);
    --shadow-md: 0 4px 16px rgba(12, 47, 134, 0.12);
    --shadow-lg: 0 8px 32px rgba(12, 47, 134, 0.16);
    --gradient-primary: linear-gradient(135deg, #0c2f86 0%, #1a47b8 100%);
    --gradient-accent: linear-gradient(135deg, #8f97a8 0%, #c2c7d3 100%);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 700px;
    color: var(--white);
    text-align: right;
}

.hero .badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero .lead {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 22px;
    color: var(--white);
}

.hero .actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
}

/* الزر الأول - طلب/عرض عقار - الأزرق الأساسي */
.hero .cta:nth-child(1) {
    background: linear-gradient(135deg, #0c2f86 0%, #1647b8 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(12, 47, 134, 0.4);
    border: 2px solid transparent;
}

.hero .cta:nth-child(1):hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(12, 47, 134, 0.5);
    background: linear-gradient(135deg, #0a2568 0%, #1338a0 100%);
}

/* الزر الثاني - تصفح المشاريع - الرمادي المزرق */
.hero .cta:nth-child(2) {
    background: linear-gradient(135deg, #8f97a8 0%, #a8b0c0 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(143, 151, 168, 0.4);
    border: 2px solid transparent;
}

.hero .cta:nth-child(2):hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(143, 151, 168, 0.5);
    background: linear-gradient(135deg, #7d8595 0%, #959dae 100%);
}

/* الزر الثالث - تواصل معنا - الأبيض مع حدود زرقاء */
.hero .cta.ghost {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(12, 47, 134, 0.3);
    color: #0c2f86 !important;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.hero .cta.ghost:hover {
    transform: translateY(-4px) scale(1.03);
    background: rgba(255, 255, 255, 1);
    border-color: #0c2f86;
    box-shadow: 0 12px 32px rgba(12, 47, 134, 0.3);
}

/* تأثير Ripple للأزرار */
.hero .cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero .cta:hover::before {
    width: 300px;
    height: 300px;
}

.hero .cta span,
.hero .cta i {
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .hero {
        padding: 50px 0;
    }

    .hero .actions {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
    }

    .hero .cta {
        flex: 1 1 0;
        padding: 12px 10px;
        font-size: 13px;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
    }
}

/* ===== Features Dock ===== */
.features-dock-wrap {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.features-dock {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 50px;
    box-shadow: 0 20px 60px rgba(12, 47, 134, 0.15);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.features-dock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c2f86, #1647b8, #8f97a8, #0c2f86);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0c2f86, #1647b8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(12, 47, 134, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(12, 47, 134, 0.4);
}

.feature-item:hover .feature-icon::before {
    left: 100%;
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #8f97a8, #a8b0c0);
    box-shadow: 0 8px 20px rgba(143, 151, 168, 0.3);
}

.feature-item:nth-child(2):hover .feature-icon {
    box-shadow: 0 12px 30px rgba(143, 151, 168, 0.4);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #0c2f86, #1647b8);
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #8f97a8, #a8b0c0);
    box-shadow: 0 8px 20px rgba(143, 151, 168, 0.3);
}

.feature-item:nth-child(4):hover .feature-icon {
    box-shadow: 0 12px 30px rgba(143, 151, 168, 0.4);
}

.feature-content {
    flex: 1;
    text-align: right;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.feature-content p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-dock {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 35px 40px;
    }
    
    .feature-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-dock-wrap {
        margin-top: -40px;
        padding: 0 15px;
    }
    
    .features-dock {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
        border-radius: 20px;
    }
    
    .feature-item::after {
        display: none !important;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .feature-content h3 {
        font-size: 15px;
    }
    
    .feature-content p {
        font-size: 12px;
    }
}

.search-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(12, 47, 134, 0.3);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(12, 47, 134, 0.4);
}

.field {
    position: relative;
}

.field-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
    background: var(--white);
    font-weight: 600;
    color: var(--text);
}

.field-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(12, 47, 134, 0.1);
}

.field-input::placeholder {
    color: var(--muted);
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
    background: var(--light);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.section h2 {
    font-size: 36px;
    color: var(--text);
    font-weight: 800;
    margin: 0 0 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-head a {
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.section-head a:hover {
    transform: translateX(-5px);
}

.view-all-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 24px;
    background:#0c2f86;
    color:#fff;
    font-size:15px;
    font-weight:700;
    border-radius:10px;
    text-decoration:none;
    transition:all 0.3s ease;
    box-shadow:0 2px 8px rgba(12,47,134,0.2);
}
.view-all-btn:hover{
    background:#0a2568;
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(12,47,134,0.3);
}
.view-all-btn svg{
    transition:transform 0.3s ease;
}
.view-all-btn:hover svg{
    transform:translateX(-3px);
}

/* ===== Projects Grid ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-hero img {
    transform: scale(1.1);
}

.project-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 6, 20, 0.2) 0%, rgba(3, 6, 20, 0.6) 100%);
}

.project-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.status-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.status-complete {
    background: var(--accent);
    color: #0f1c42;
}

.status-progress {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

.title-overlay {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: var(--white);
}

.title-overlay h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.title-overlay .muted {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.project-body {
    padding: 25px;
}

.project-actions {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
}

.ghost-btn, .primary-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.ghost-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.primary-btn {
    background: var(--gradient-accent);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(54, 19, 183, 0.3);
}

.ghost-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 170, 27, 0.4);
}

/* ===== Stats Section ===== */
.stats {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    font-size: 40px;
    font-weight: 900;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-card small {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0.9;
}

/* ===== Services Showcase Modern ===== */
.services-showcase-modern {
    position: relative;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    overflow: hidden;
    padding: 80px 0;
}

.services-showcase-modern::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(12, 47, 134, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.services-showcase-modern::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(143, 151, 168, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.08), rgba(143, 151, 168, 0.08));
    border: 1px solid rgba(12, 47, 134, 0.15);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-badge i {
    font-size: 18px;
}

.services-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    gap: 30px;
}

.services-head > div {
    text-align: right;
}

.services-head h2 {
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.services-head .underline {
    margin: 10px 0;
}

.services-subtitle {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 600;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(12, 47, 134, 0.08);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0c2f86, #1647b8, #8f97a8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(12, 47, 134, 0.15);
    border-color: rgba(12, 47, 134, 0.1);
}

.service-hover-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.03), rgba(143, 151, 168, 0.03));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card-modern:hover .service-hover-effect {
    opacity: 1;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0c2f86, #1647b8);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 20px rgba(12, 47, 134, 0.25);
}

.service-card-modern:nth-child(even) .service-icon {
    background: linear-gradient(135deg, #8f97a8, #a8b0c0);
    box-shadow: 0 8px 20px rgba(143, 151, 168, 0.25);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card-modern:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card-modern:hover .service-icon::before {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.service-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.1), rgba(143, 151, 168, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all 0.5s ease;
}

.service-card-modern:hover .service-number {
    background: linear-gradient(135deg, rgba(12, 47, 134, 0.25), rgba(143, 151, 168, 0.25));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.service-content {
    text-align: right;
}

.service-title-modern {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-title-modern {
    color: var(--primary);
}

.service-description-modern {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-weight: 500;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-head h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .services-showcase-modern {
        padding: 60px 0;
    }
    
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-head h2 {
        font-size: 28px;
    }
    
    .service-card-modern {
        padding: 28px 22px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .service-number {
        font-size: 40px;
    }
    
    .service-title-modern {
        font-size: 18px;
    }
    
    .service-description-modern {
        font-size: 13px;
    }
}

/* Services View All Button */
.view-all-services-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #0c2f86, #1647b8);
    color: white;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(12, 47, 134, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-all-services-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.view-all-services-btn:hover::before {
    width: 400px;
    height: 400px;
}

.view-all-services-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(12, 47, 134, 0.4);
}

.view-all-services-btn span,
.view-all-services-btn i {
    position: relative;
    z-index: 1;
}

.view-all-services-btn i {
    font-size: 18px;
    transition: transform 0.4s ease;
}

.view-all-services-btn:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .services-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .view-all-services-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: reveal 0.8s ease forwards;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        min-height: 60vh;
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 38px;
    }
    
    .search-dock {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero .lead {
        font-size: 15px;
    }
    
    .section h2 {
        font-size: 32px;
    }
    
    .projects-grid,
    .stats-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .view-all-btn{
        width:100%;
        justify-content:center;
        padding:14px 24px;
    }
}

/* ===== Header & Footer Styles - REMOVED (Using header.css instead) ===== */
/* Old header styles commented out - now using header.css */

/* Footer Styles */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand img {
    height: 50px;
}

.footer-brand .brand h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(-5px);
}

.footer-links a i {
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== Auctions Section ===== */
.auctions-section{
    background:#FFFFFF;
    padding: 60px 0;
}
.auctions-section .muted{
    color:#7F8C8D;
    margin-top:6px;
}

/* Auctions Grid */
.auctions-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top:40px;
    padding: 0 20px;
}

/* Epic Auction Card */
.auction-card{
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.auction-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #4A90E2, #357ABD, #F39C12);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.auction-card:hover::before {
    opacity: 1;
}

.auction-card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.25);
}

/* Card Image */
.auction-thumb{
    position: relative;
    height: 220px;
    overflow: visible;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border-radius: 24px 24px 0 0;
}

.auction-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(243, 156, 18, 0.2));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.auction-card:hover .auction-thumb::before {
    opacity: 1;
}

.auction-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
}

.auction-card:hover .auction-thumb img {
    transform: scale(1.15) rotate(2deg);
}

.auction-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.3) 70%,
        transparent 100%);
    z-index: 2;
    border-radius: 24px 24px 0 0;
}

/* Card Badges */
.auction-thumb .auction-card__header{
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    gap: 10px;
}

.auction-type{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.auction-type::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.auction-type:hover::before {
    width: 300px;
    height: 300px;
}

.auction-type.infath{
    background: linear-gradient(135deg, #E74C3C, #C0392B, #A93226);
    color: white;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

.auction-type.private{
    background: linear-gradient(135deg, #4A90E2, #357ABD, #2E6BA8);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
}

.auction-status{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.auction-status.live{
    background: linear-gradient(135deg, #27AE60, #229954, #1E8449);
    color: white;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
    animation: pulseGlow 2s infinite;
}

.auction-status.live::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
    animation: blinkDot 1.5s infinite;
}

.auction-status.upcoming{
    background: linear-gradient(135deg, #F39C12, #E67E22, #D68910);
    color: white;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6);
}

.auction-status.ended{
    background: rgba(127, 140, 141, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(39, 174, 96, 0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 35px rgba(39, 174, 96, 0.9), 0 0 20px rgba(39, 174, 96, 0.5);
        transform: scale(1.05);
    }
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Countdown Timer - Circular Design */
.auction-countdown-overlay{
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 95%;
}

.auction-countdown-overlay .countdown-status{
    color: white;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
    text-align: center;
    text-shadow: 0 3px 12px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.auction-countdown-overlay .countdown-grid{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: transparent;
    padding: 0;
}

.auction-countdown-overlay .cd-box{
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* الدائرة الخلفية */
.auction-countdown-overlay .cd-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4),
                0 0 0 3px rgba(255, 255, 255, 0.3),
                inset 0 2px 8px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    z-index: 1;
}

/* الدائرة المتحركة (الحدود الملونة) */
.auction-countdown-overlay .cd-box::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2, #357ABD, #F39C12);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    animation: rotateCircle 3s linear infinite;
}

.auction-countdown-overlay .cd-box:hover::after {
    opacity: 1;
}

.auction-countdown-overlay .cd-box:hover::before {
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.6),
                0 0 0 3px rgba(74, 144, 226, 0.4),
                inset 0 2px 8px rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.auction-countdown-overlay .cd-box:hover {
    transform: translateY(-8px) scale(1.1);
}

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

/* تأثير النبض للدوائر */
@keyframes pulseCircle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }
}

.auction-countdown-overlay .cd-box:nth-child(1)::after {
    animation: rotateCircle 3s linear infinite, pulseCircle 2s ease-in-out infinite;
}

.auction-countdown-overlay .cd-box:nth-child(2)::after {
    animation: rotateCircle 3s linear infinite 0.5s, pulseCircle 2s ease-in-out infinite 0.5s;
}

.auction-countdown-overlay .cd-box:nth-child(3)::after {
    animation: rotateCircle 3s linear infinite 1s, pulseCircle 2s ease-in-out infinite 1s;
}

.auction-countdown-overlay .cd-box:nth-child(4)::after {
    animation: rotateCircle 3s linear infinite 1.5s, pulseCircle 2s ease-in-out infinite 1.5s;
}

.auction-countdown-overlay .cd-value{
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 3px;
    position: relative;
    z-index: 2;
}

.auction-countdown-overlay .cd-label{
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: #7F8C8D;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

/* Card Body */
.auction-card__body{
    padding: 75px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, white, #fafbfc);
}

.auction-card__body h3{
    font-size: 1.3rem;
    font-weight: 900;
    color: #2C3E50;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    background: linear-gradient(135deg, #2C3E50, #34495E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
    margin: 0 0 10px 0;
}

.auction-card:hover .auction-card__body h3 {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auction-desc{
    font-size: 13px;
    color: #7F8C8D;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
    margin: 0 0 16px 0;
}

/* Card Info Grid */
.auction-info-details{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.auction-info-details .info-item{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8f9fa, #e8edf2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #2C3E50;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.auction-info-details .info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.auction-info-details .info-item:hover::before {
    left: 100%;
}

.auction-info-details .info-item:hover {
    background: linear-gradient(135deg, #e8edf2, #d5dce3);
    border-color: #4A90E2;
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.auction-info-details .info-item svg{
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
    padding: 6px;
}

.auction-info-details .info-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Card Footer */
.auction-card__footer{
    display: flex;
    gap: 10px;
    padding: 0 24px 24px;
    background: linear-gradient(to bottom, #fafbfc, white);
    margin-top: auto;
    border-top: none;
}

.auction-card__footer a{
    text-decoration: none;
}

.btn-primary,
.btn-secondary,
.btn-disabled{
    flex: 1;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 13px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary{
    background: linear-gradient(135deg, #27AE60, #229954, #1E8449);
    color: white;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-primary:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.6);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary{
    background: white;
    color: #4A90E2;
    border: 3px solid #4A90E2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.btn-secondary:hover{
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
}

.btn-disabled{
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-disabled:hover{
    transform: none;
    box-shadow: none;
}

/* Empty State */
.empty-state{
    text-align: center;
    padding: 80px 20px;
    background: #F8F9FA;
    border-radius: 20px;
    border: 2px dashed #E8EDF2;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C3E50;
}

/* Responsive */
@media (max-width: 1200px) {
    .auctions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .auctions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 10px;
    }
    
    .auction-thumb {
        height: 200px;
    }
    
    .auction-countdown-overlay {
        bottom: -55px;
        width: 100%;
    }
    
    .auction-countdown-overlay .countdown-grid {
        gap: 8px;
    }
    
    .auction-countdown-overlay .cd-box {
        width: 60px;
        height: 60px;
    }
    
    .auction-card__body {
        padding: 70px 18px 18px;
    }
    
    .auction-info-details {
        grid-template-columns: 1fr;
    }
    
    .auction-countdown-overlay .cd-value {
        font-size: 1.3rem;
    }
    
    .auction-countdown-overlay .cd-label {
        font-size: 8px;
    }
    
    .auction-card__body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .auction-card__footer {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-disabled {
        width: 100%;
    }
    
    .auction-countdown-overlay .countdown-grid {
        gap: 6px;
    }
    
    .auction-countdown-overlay .cd-box {
        width: 52px;
        height: 52px;
    }
    
    .auction-countdown-overlay .cd-value {
        font-size: 1.2rem;
    }
    
    .auction-countdown-overlay .cd-label {
        font-size: 7px;
    }
    
    .auction-card__body h3 {
        font-size: 1.1rem;
    }
    
    .auction-countdown-overlay {
        bottom: -50px;
        width: 100%;
    }
    
    .auction-card__body {
        padding: 65px 16px 16px;
    }
}

.pagination-wrapper{
    margin-top:40px;
    display:flex;
    justify-content:center;
}
.pagination-wrapper nav{
    display:inline-flex;
    gap:8px;
}
.pagination-wrapper .pagination{
    display:flex;
    gap:8px;
    list-style:none;
    padding:0;
    margin:0;
}
.pagination-wrapper .page-item{
    display:inline-block;
}
.pagination-wrapper .page-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:8px 12px;
    background:#fff;
    color:#6b7280;
    border:1px solid #e5e7eb;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:all 0.2s ease;
}
.pagination-wrapper .page-link:hover{
    background:#f9fafb;
    color:#0c2f86;
    border-color:#0c2f86;
}
.pagination-wrapper .page-item.active .page-link{
    background:#0c2f86;
    color:#fff;
    border-color:#0c2f86;
}
.pagination-wrapper .page-item.disabled .page-link{
    background:#f9fafb;
    color:#d1d5db;
    cursor:not-allowed;
    pointer-events:none;
}

@media(max-width:768px){
    .auction-status-tabs{
        gap:4px;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .auction-status-tabs::-webkit-scrollbar{
        display:none;
    }
    .auction-status-tabs .status-tab{
        padding:10px 16px;
        font-size:13px;
        white-space:nowrap;
    }
    .auctions-grid{
        grid-template-columns:1fr;
        gap:16px;
    }
    .auction-card{
        max-width:100%;
    }
    .auction-thumb{
        height:240px;
        margin-bottom:70px;
    }
    .auction-countdown-overlay{
        bottom:-55px;
        left:16px;
        right:16px;
    }
    .auction-countdown-overlay .countdown-status{
        font-size:11px;
        padding:8px 16px;
    }
    .auction-countdown-overlay .countdown-grid{
        gap:0;
        padding:12px 16px;
    }
    .auction-countdown-overlay .cd-value{
        font-size:20px;
    }
    .auction-countdown-overlay .cd-label{
        font-size:10px;
    }
    .auction-card__body{
        padding:20px 16px 12px;
    }
    .auction-card__body h3{
        font-size:18px;
    }
    .auction-info-details{
        grid-template-columns:1fr;
        gap:10px;
        margin-top:0;
        padding-top:0;
    }
    .auction-info-details .info-item{
        font-size:11px;
    }
    .auction-card__footer{
        flex-direction:column;
        gap:10px;
        padding:0 16px 20px;
    }
    .btn-primary,
    .btn-secondary{
        padding:12px 20px;
    }
    .pagination-wrapper{
        margin-top:32px;
    }
    .pagination-wrapper .page-link{
        min-width:36px;
        height:36px;
        padding:6px 10px;
        font-size:13px;
    }
}

@media(min-width:769px) and (max-width:1024px){
    .auctions-grid{
        grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
        gap:16px;
    }
}

@media(min-width:1400px){
    .auctions-grid{
        grid-template-columns:repeat(3,1fr);
        max-width:1200px;
        margin-left:auto;
        margin-right:auto;
    }
}

.filter-pills{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.pill{
    display:inline-flex;
    align-items:center;
    padding:10px 14px;
    border-radius:12px;
    background:#eef1f7;
    color:#0c2f86;
    font-weight:800;
    text-decoration:none;
    transition:var(--transition);
}
.pill:hover{
    background:#e1e6f3;
}
.pill.active{
    background:#0c2f86;
    color:#fff;
}
