/* body {
            font-family: 'Jost', sans-serif;
            background-color: #f4f4f9;
            color: #333;
            margin: 0;
            padding: 0;
        }
        h2 {
            font-weight: 600;
            text-align: center;
            color: #222;
            margin: 30px 0;
        } */

.activity-card {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    position: relative;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Auto-adjust height */
}

.activity-card.expanded {
    max-height: none !important;
    height: auto !important;
}

.activity-card:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Smooth shadow */
}

.activity-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.activity-header {
    border-bottom: 2px solid #004aad;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.activity-header h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #004aad;
}

.activity-subtitle {
    color: #555;
    font-size: 1rem;
}

.activity-body p {
    font-size: 1rem;
    color: #333;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-body p i {
    color: #0078d4;
    font-size: 1.2rem;
}

.join-btn {
    margin-top: 15px;
    background: #004aad;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    transition: all 0.3s;
}

.join-btn:hover {
    background: #00327c;
}

.activity-footer {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative; /* Ensure positioning doesn't hide content */
}

.see-more {
    font-size: 1rem;
    color: #004aad;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 10px 0; /* Add padding to increase touch area */
}

.see-more:hover {
    text-decoration: underline;
}

.extra-details {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #555;
    display: none; /* Hide initially */
    transition: all 0.3s ease-in-out;
}

.activity-card.expanded .extra-details {
    display: block;
}

@media (max-width: 768px) {
    .activity-card {
        padding: 15px;
        max-height: 500px; /* Slightly smaller height on smaller screens */
    }

    .activity-image img {
        height: 200px; /* Smaller image on mobile */
    }

    .activity-header h4 {
        font-size: 1.4rem; /* Smaller header */
    }

    .activity-body p {
        font-size: 0.9rem; /* Smaller text for body */
    }

    .join-btn {
        font-size: 1rem; /* Smaller button text */
    }

    .see-more {
        font-size: 0.9rem; /* Smaller "See More" text */
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 10px;
        max-height: 450px; /* Even smaller on very small screens */
    }

    .activity-image img {
        height: 150px; /* Image height for mobile */
    }

    .activity-header h4 {
        font-size: 1.2rem; /* Smaller header on mobile */
    }

    .activity-body p {
        font-size: 0.85rem; /* Smaller body text */
    }

    .join-btn {
        font-size: 0.95rem; /* Adjust button text */
        padding: 8px 16px; /* Adjust button padding */
    }

    .see-more {
        font-size: 0.85rem; /* Adjust see more text */
    }
}

.join-us {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #000000de; /* Black background */
    padding: 20px;
}

.form-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: 0.3s ease;
}

.input-group input:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 0.85rem;
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    background: linear-gradient(135deg, #fff, #ccc);
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ccc, #fff);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 500px) {
    .form-container {
        padding: 30px;
    }

    h2 {
        font-size: 1.6rem;
    }

    .input-group input,
.input-group textarea {
        padding: 10px;
    }

    .submit-btn {
        padding: 12px;
    }
}
