h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

p.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #6b7280;
    max-width: 600px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    perspective: 1000px;
}

.card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    cursor: pointer;
    justify-content: space-between;
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card:hover, .card.touch-active {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent
    );
    transition: 0.5s;
    pointer-events: none;
}

.card:hover:before, .card.touch-active:before {
    left: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 20px;
    height: 150px;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    /* margin-right: 1rem; */
    color: #fff;
    box-shadow: 0 4px 12px rgba(138, 75, 175, 0.2);
}

.joinlio .logo {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.g9asia .logo {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.aadil .logo {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.tech .logo {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.title h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
    text-align: center;
}

.title p {
    font-size: 0.875rem;
    color: #6b7280;
}
.title h2{
    line-height: 20px;
}

/* .card-content {
    margin-bottom: 1.5rem;
} */

.objective, .solution, .impact {
    margin-bottom: 1rem;
}

.label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.objective .label {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.solution .label {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.impact .label {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.metric {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
    color: #374151;
}

.metric i {
    margin-right: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    padding-left: 0px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    background: #6366f1;
    border: 1px solid #6366f1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background: #4f46e5;
    transform: translateY(-px);
}

.button i {
    margin-left: 0.5rem;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.5);
    pointer-events: none;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s ease-out, height 0.2s ease-out;
    z-index: 9999;
    opacity: 0;
}

.cursor-shadow {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s ease-out, height 0.3s ease-out;
    z-index: 9998;
    opacity: 0;
}

/* For smaller screens */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
}

/* Special effects */
.glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    filter: blur(30px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .glow, .card.touch-active .glow {
    opacity: 1;
}