@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-color-dark: #12121c;
    --card-bg-light: rgba(30, 30, 40, 0.4);
    --card-border-color: rgba(255, 255, 255, 0.05);
    --primary-color: #00e0ff;
    --secondary-color: #8c73ff;
    --text-color: #e0e0e0;
    --gradient-one: #8c73ff;
    --gradient-two: #00e0ff;
    --shadow-color: rgba(0, 0, 0, 0.4);
}


.team-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.team-particles {
    margin-top: 50px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color-dark);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

.custom-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(var(--secondary-color), 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    animation: moveParticles 20s linear infinite;
    z-index: 0;
    opacity: 0.5;
}

@keyframes moveParticles {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100px 100px;
    }
}

.custom-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    perspective: 1000px;
    z-index: 10;
}

.custom-card-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 25px;
    background: var(--card-bg-light);
    border: 1px solid var(--card-border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px) brightness(1.2);
    box-shadow: 0 15px 30px var(--shadow-color);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform-style: preserve-3d;
}

.custom-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            rgba(var(--secondary-color), 0.2) 0%,
            rgba(var(--primary-color), 0.2) 50%,
            transparent 100%);
    animation: background-move 15s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes background-move {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50%, 50%);
    }
}

.custom-card:hover {
    transform: translateY(-15px) rotateX(3deg) rotateY(3deg);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.liquid-wave-unique {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1;
    clip-path: circle(0% at 50% 100%);
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-card:hover .liquid-wave-unique {
    clip-path: circle(150% at 50% 100%);
}

.custom-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

.custom-icon-container .icon-glow-unique {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    filter: blur(20px);
    opacity: 0.8;
}

.custom-card-icon {
    font-size: 3em;
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-card:hover .custom-card-icon {
    transform: scale(1.1);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: scale(1.1) translateX(0);
    }

    25% {
        transform: scale(1.1) translateX(-5px);
    }

    75% {
        transform: scale(1.1) translateX(5px);
    }
}

.custom-card-title {
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    position: relative;
    overflow: hidden;
}

.custom-card-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: text-shine 3s infinite linear;
    animation-delay: 1s;
}

@keyframes text-shine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.custom-card-description {
    font-size: 0.8em;
    text-align: center;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1.2s;
    transition: opacity 0.5s ease;
    padding-bottom: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-read-more-btn {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 10px 20px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: color 0.4s ease;
}

.custom-read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.custom-read-more-btn:hover::before {
    transform: translateX(0);
}

.custom-read-more-btn:hover {
    color: var(--bg-color-dark);
}

.custom-read-more-btn .arrow-unique {
    display: inline-block;
    margin-left: 5px;
    position: relative;
    animation: arrow-move 1s linear infinite;
}

/* Continuous left-right move */
@keyframes arrow-move {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Ripple effect */
.custom-read-more-btn .ripple-unique {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.custom-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.custom-social-links a {
    color: var(--text-color);
    font-size: 1.2em;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
}

.custom-social-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.custom-social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.custom-social-links a:hover::before {
    transform: scaleX(1);
}

.custom-read-more-btn .ripple-unique {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.imp-head {
    color: white;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.impact-section {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;

}

.stats-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
}

.stat-card {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 224, 0.3);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 255, 224, 0.6);
}

.circle-icon {
    background: #0f0f0f;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -70px;
    box-shadow: 0 0 20px rgba(0, 255, 224, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.circle-icon i {
    font-size: 2.5rem;
    color: #00ffe0;
    transition: transform 0.3s, color 0.3s;
}

.circle-icon:hover i {
    transform: rotate(15deg) scale(1.1);
    color: blue;
}

.stat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1.5rem;
}

.stat-desc {
    font-size: 1rem;
    color: #ccc;
    margin-top: 0.5rem;
    max-width: 180px;
}

@media(max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
}

.footer {
    background-color: var(--bg-color-dark);
    color: #e0e0e0;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    border-radius: 15px;

}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.logo-placeholder {
    width: 200px;
    height: 50px;
    background-color: #222222b2;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #00d2ff;
}

.footer-section h3 {
    color: #00d2ff;
    font-weight: 500;
    margin-bottom: 15px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 2px;
    background-color: #00d2ff;
    transition: width 0.3s ease-in-out;
}

.footer-section h3:hover::after {
    width: 100%;
}

.footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section a {
    color: #e0e0e0;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 3px;
    position: relative;
    transition: color 0.3s ease;
}

.footer-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section a:hover::after {
    width: 100%;
}

/* सोशल आइकन्स के लिए स्टाइलिंग */
.social-icons-section ul {
    flex-direction: row;
    /* सोशल आइकन्स को हॉरिजॉन्टल करने के लिए */
    gap: 20px;
    /* हॉरिजॉन्टल गैप */
}

.social-icons-section a {
    font-size: 1.5em;
    /* आइकन्स का साइज़ */
}

.social-icons-section a::after {
    display: none;
    /* आइकन्स पर अंडरलाइन नहीं चाहिए */
}

.social-icons-section a:hover {
    color: #fff;
    transform: scale(1.2);
    /* होवर पर बड़ा होगा */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    font-size: 0.8em;
    color: #888;
}

/* रेस्पॉन्सिव डिज़ाइन */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .footer-section {
        min-width: 100%;
        text-align: center;
        margin-bottom: 30px;
        /* सेक्शन्स के बीच में गैप बढ़ा दें */
    }

    .footer-section h3::after,
    .footer-section a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons-section ul {
        justify-content: center;
    }
}