:root {
    --primary-gradient: linear-gradient(135deg, #5e60ce 0%, #4ea8de 100%);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.07);
}

/* body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
} */

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80");
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.message-section {
    padding: 60px 0;
    background: white;
}

.society-logo {
    border-radius: 20px 20px 80px 20px;
    /* width: 500px; */
    box-shadow: var(--card-shadow);
}

.message-content h6 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.message-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.staff-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

/* .staff-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
} */

.staff-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    perspective: 1000px;
    margin: 20px auto;
    cursor: default;
    padding: 10px;
    border: none;
    background: transparent;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover .card-content {
    transform: translateY(-10px) rotateY(2deg) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.3),
        transparent 50%
    );
    pointer-events: none;
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.card:hover .card-glow {
    opacity: 1;
}

.card-info {
    padding: 25px;
    position: relative;
    background: white;
}

.card-name {
    margin: 0 0 8px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.card-title {
    margin: 0 0 20px;
    font-size: 0.85rem;
    color: #5e60ce;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(94, 96, 206, 0.1);
}

.contact-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: rgba(94, 96, 206, 0.3);
    transform: translateX(5px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 500;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    word-break: break-all;
}

.member-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.learn-more-btn {
    background-color: #f4d03f;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    max-width: 150px;
}

.learn-more-btn:hover {
    background-color: #f1c40f;
    color: #2c3e50;
    transform: translateY(-2px);
}

.learn-more-btn::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover::after {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    /* .society-logo {
        width: 380px;
    } */

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .card-image {
        height: 220px;
    }

    .card-info {
        padding: 25px 20px;
    }

    .card-name {
        font-size: 1.4rem;
    }

    .contact-item {
        padding: 10px 14px;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* .society-logo {
        width: 300px;
    } */

    .staff-title {
        font-size: 2rem;
    }
}
