/* Join Hero Section */
.join-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 300px;
    background-image: url('https://storage.googleapis.com/objects.ucausa.org/join/join1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-family: "Archivo Black", sans-serif;
    font-size: 4rem;
    margin: 0;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Membership Section */
.membership-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.membership-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.membership-container h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #333;
}

.section-intro {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.membership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .membership-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.membership-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #9e2c74; /* UCA Red */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.membership-card h3 {
    font-size: 1.6rem;
    color: #9e2c74;
    margin-bottom: 10px;
}

.membership-card .tagline {
    font-style: italic;
    font-weight: bold;
    color: #444;
    margin-bottom: 15px;
}

.membership-card p, .membership-card ul {
    line-height: 1.6;
    margin-bottom: 15px;
}

.membership-card ul {
    list-style: none;
    padding: 0;
}

.join-cta {
    margin-top: 40px;
}

.join-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.join-now-btn {
    display: inline-block;
    background-color: #9e2c74;
    color: #ffffff;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.join-now-btn:hover {
    background-color: #811459;
    transform: scale(1.05);
}

/* Founding Members Letter Section */
.founding-members-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.founding-members-container {
    max-width: 800px;
    margin: 0 auto;
}

.founding-members-container h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 2.5rem;
    color: #000065;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.letter-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
}

.letter-body p {
    margin-bottom: 20px;
}

.letter-signature {
    margin-top: 50px;
}

.signature-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #9e2c74;
    margin: 10px 0;
}

/* Founding Member List Slider */
.founding-list-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.founding-list-container {
    max-width: 1000px;
    margin: 0 auto;
}

.founding-list-container h2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    height: auto;
}

.slider-btn {
    background: rgba(158, 44, 116, 0.8); /* UCA Red/Purple transparent */
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 15px;
    border-radius: 50%;
    transition: background 0.3s;
    line-height: 1;
}

.slider-btn:hover {
    background: rgba(158, 44, 116, 1);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .slider-btn {
        padding: 10px;
        font-size: 1.2rem;
    }
    .prev-btn { left: 0; }
    .next-btn { right: 0; }
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
}

.dot.active, .dot:hover {
    background-color: #9e2c74;
}
