/* CSS from poe-preview (44).html with sabaat- prefix */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Alexandria", Sans-serif;
    font-weight: 600;
    background: #FFFFFF;
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
    color: #5D6371;
    -webkit-font-smoothing: antialiased;
}
.dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.sabaat-service-card {
    position: relative;
    width: 100%;
    aspect-ratio: 170/400;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.sabaat-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(93, 92, 222, 0.1), rgba(93, 92, 222, 0.3));
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
}
.sabaat-service-card:hover::before {
    opacity: 1;
    transition: opacity 0.6s ease;
}
@media (min-width: 1025px) {
    .sabaat-service-card:hover {
        transform: translateY(-35px) scale(1.25);
        z-index: 10;
        box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
        transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .sabaat-service-card:hover::after {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        background: transparent;
        border-radius: 8px;
        z-index: -1;
        pointer-events: none;
    }
}
.sabaat-card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0 !important;
    opacity: 1 !important;
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.sabaat-service-card:hover .sabaat-card-background {
    transform: scale(1.15);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.sabaat-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(36, 50, 71, 0.1) 0%,
        rgba(36, 50, 71, 0.99) 100%
    );
    z-index: 3;
}
.sabaat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 4;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1025px) {
    .sabaat-service-card:hover .sabaat-card-content {
        transform: translateY(-8px);
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
}
.sabaat-card-title {
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 0.8rem;
    color: #E7AA41;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "Alexandria", Sans-serif;
}
.sabaat-card-description {
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}
.sabaat-card-icon {
    display: none;
}
@media (min-width: 1200px) {
    .dcg-cards-grid {
        gap: 1.5rem;
    }
}
@media (max-width: 1024px) {
    .dcg-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }
    .sabaat-card-title {
        font-size: 1.1rem;
    }
    .sabaat-card-description {
        font-size: 0.75rem;
    }
    .sabaat-card-content {
        padding: 1.2rem;
    }
    .sabaat-service-card:hover {
        transform: translateY(-10px) scale(1.02);
        z-index: 5;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    .sabaat-service-card:hover .sabaat-card-content {
        transform: translateY(-2px);
    }
    .sabaat-service-card:hover .sabaat-card-background {
        transform: scale(1.08);
    }
    /* Disable complex hover effects on tablet */
    .sabaat-service-card:hover::before {
        opacity: 0;
    }
}
@media (max-width: 768px) {
    .dcg-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
        padding: 1rem 0;
    }
    .sabaat-service-card {
        aspect-ratio: 3/4;
        min-height: 280px;
    }
    .sabaat-card-content {
        padding: 1rem;
    }
    .sabaat-card-title {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    .sabaat-card-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    /* Simplify hover effects for mobile */
    .sabaat-service-card:hover {
        transform: translateY(-5px) scale(1.02);
        z-index: 3;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    .sabaat-service-card:hover .sabaat-card-content {
        transform: none;
    }
    .sabaat-service-card:hover .sabaat-card-background {
        transform: scale(1.05);
    }
    .sabaat-service-card:hover .sabaat-card-icon {
        transform: scale(0.8);
    }
}
@media (max-width: 480px) {
    .dcg-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    .sabaat-service-card {
        aspect-ratio: 4/5;
        min-height: 320px;
    }
    .sabaat-card-title {
        font-size: 1.2rem;
    }
    .sabaat-card-description {
        font-size: 0.85rem;
    }
    .sabaat-card-content {
        padding: 1.2rem;
    }
    /* Minimal hover effects for small mobile */
    .sabaat-service-card:hover {
        transform: translateY(-3px) scale(1.01);
        z-index: 2;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    .sabaat-service-card:hover .sabaat-card-background {
        transform: scale(1.03);
    }
}
.dark .sabaat-service-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.dark .sabaat-service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}
.sabaat-service-card {
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}
.sabaat-service-card:nth-child(1) { animation-delay: 0.1s; }
.sabaat-service-card:nth-child(2) { animation-delay: 0.2s; }
.sabaat-service-card:nth-child(3) { animation-delay: 0.3s; }
.sabaat-service-card:nth-child(4) { animation-delay: 0.4s; }
.sabaat-service-card:nth-child(5) { animation-delay: 0.5s; }
.sabaat-service-card:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.header {
    text-align: center;
    margin-bottom: 2rem;
}
.header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #5D6371;
    margin-bottom: 2rem;
    font-family: "Alexandria", Sans-serif;
    line-height: 1.4;
}
.header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.dark .header h1 {
    color: #fff;
}
.dark .header p {
    color: #ccc;
}