/* membership-styles.css */
:root {
    --primary-color: #002395; /* SA Blue */
    --secondary-color: #e47302; /* Indian Saffron */
    --accent-color: #007A4D; /* SA Green */
    --text-color: #333;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

h1, h2, h3 {
    color: var(--primary-color);
}

/* Hero Section */
#membership-hero {
    background: linear-gradient(rgba(0, 35, 149, 0.8), rgba(0, 35, 149, 0.8)), url('../images/hero.svg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 150px 0;
}

#membership-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Services Section */
.services-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.tab-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane ul {
    list-style-type: none;
    padding: 0;
}

.tab-pane li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.tab-pane li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* CTA Section */
#membership-cta {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
}

#membership-cta h2 {
    color: white;
}

#membership-cta p {
	font-size: x-large;
	text-align: center;
}

#membership-benefits ul {
    list-style-type: none;
    padding: 0;
}

#membership-benefits li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

#membership-benefits li::before {
    content: '\2022';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.membership-tiers {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.tier {
    flex-basis: calc(33.333% - 20px);
    background-color: white;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
	margin-left: 20px;
	transition: transform 0.3s ease;
}

.tier:hover {
    transform: translateY(-10px);
}

.tier h1 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.tier h2 {
	color: var(--primary-color);
}

.tier h3 {
	color: var(--accent-color);
	font-size:x-large;
	margin-bottom: 10px;
}

.tier p {
    margin-bottom: 10px;
	font-size: large;
}

#membership-cta ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

#membership-cta li {
    margin-bottom: 10px;
}

#membership-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

#membership-cta a:hover {
    text-decoration: underline;
}
.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--secondary-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Apply Section */
#apply {
    background-color: var(--light-bg);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.contact-item i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }

	.tier {
        flex-basis: 100%;
    }
}