body{
    background: #ecede2 !important;
}
/* Create keyframes for the loader animation */
          @keyframes loader {
              0% {
                transform: rotate(0deg);
              }
              100% {
                transform: rotate(360deg);
              }
            }
        
        /* Styling for the loader container */
        .loader {
          border: 4px solid #f3f3f3; /* Light grey border */
          border-top: 4px solid #3498db; /* Blue top border */
          border-radius: 50%;
          width: 50px;
          height: 50px;
          animation: loader 1s linear infinite; /* Apply the loader animation */
        }
        
        /* Center the loader */
        .loader-container {
          display: flex;
          justify-content: center;
          align-items: center;
          height: 100vh; /* Adjust the height as needed */
        }
        .urdu-txt{
	font-family: 'Noto Naskh Arabic', serif;
	text-align: right;
	}
/* main page div animation */
.service-card {
            perspective: 1000px;
            height: 400px;
        }

        .service-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            cursor: pointer;
        }

        .service-card:hover .service-card-inner {
            transform: rotateY(180deg);
        }

        .service-card-front,
        .service-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 15px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .service-card-front {
            background: linear-gradient(45deg, #6366f1, #8b5cf6);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 2rem;
        }

        .service-card-back {
            background: white;
            color: #1f2937;
            transform: rotateY(180deg);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .icon-wrapper {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

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

        .feature-list li {
            padding: 0.5rem 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .feature-list li:last-child {
            border-bottom: none;
        }

        .hover-lift {
            transition: transform 0.2s;
        }

        .hover-lift:hover {
            transform: translateY(-5px);
        }
/* ─── First-row cards: equal height ─── */
#app .container > .row {
    display: flex;
    flex-wrap: wrap;
}

#app .container > .row > [class*="col-"] {
    display: flex;
}

#app .container > .row > [class*="col-"] > .card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#app .container > .row > [class*="col-"] > .card > .card-body {
    flex: 1 1 auto;
}

/* ─── Card hover border flash effect ─── */
#app .container > .row > [class*="col-"] > .card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: box-shadow 0.35s ease, transform 0.3s ease;
    z-index: 0;
}

#app .container > .row > [class*="col-"] > .card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 30%,
        rgba(99, 102, 241, 0.6) 45%,
        rgba(168, 85, 247, 0.7) 50%,
        rgba(99, 102, 241, 0.6) 55%,
        transparent 70%,
        transparent 100%
    );
    background-size: 300% 300%;
    background-position: 100% 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#app .container > .row > [class*="col-"] > .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

#app .container > .row > [class*="col-"] > .card:hover::after {
    opacity: 1;
    animation: borderFlash 1.2s ease forwards;
}

@keyframes borderFlash {
    0%   { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Inner card mask to keep the flash only on the border edge */
#app .container > .row > [class*="col-"] > .card::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: #fff;
    border-radius: inherit;
    z-index: -1;
}

/* Glow pulse on card header during hover */
#app .container > .row > [class*="col-"] > .card:hover > .card-header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #fff !important;
    transition: background 0.4s ease, color 0.3s ease;
}

#app .container > .row > [class*="col-"] > .card > .card-header {
    transition: background 0.4s ease, color 0.3s ease;
}

/* card body */