/* Membership Hero Section */
.membership-hero {
    padding: 10rem 0 6rem;
    background-color: #fff;
}

.membership-hero .container {
    max-width: 90vw;
    margin: 10rem auto;
    padding: 0 1.5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
    padding-right: 2rem;
}

.page-title {
    font-size: 4rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 2rem 0;
    max-width: 100%;
    text-align: left;
}

.hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 300px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.member-button{
    display: inline-block;
    background-color: #072d51;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    border: 2px solid #072d51;
}

.member-button:hover{
    background-color: transparent;
    color: #072d51;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .membership-hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .hero-text {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-title {
        text-align: center;
        font-size: 2.5rem;
    }
    
    .hero-image {
        width: 100%;
        min-height: 250px;
    }
}

/* Membership Tiers */
.membership-plans {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center !important;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.plan-card {
    
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tier-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.tier-line {
    height: 4px;
    width: 50px;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.tier-line.bronze {
    background-color: #cd7f32;
}

.tier-line.silver {
    background-color: #c0c0c0;
}

.tier-line.gold {
    background-color: #ffd700;
}

.tier-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.plan-content {
    padding: 0 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.features li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 1.8rem;
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
}

.features li:last-child {
    border-bottom: none;
}

.features li:before {
    content: "•";
    color: #005293;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .plan-card {
        margin-bottom: 1.5rem;
    }
    
    .chat-icon {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .chat-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #005293 0%, #003366 100%);
    color: #fff;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.cta-section p {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-buttons a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    background-color: #072d51;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.cta-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-buttons a:hover::after {
    left: 100%;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .plan-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
