/* assets/css/membership.css */

:root {
    --primary-color: #293857;
    --secondary-color: #f4d03f;
    --accent-color: #2c3e50;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
	background:#e9e9e9
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url('../images/67eff37139379ae25002ddb5.jpg') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}

.hero-image-container {
    position: relative;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(60, 72, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

/* Introduction Section */
.intro-section {
   
}

.section-title {
    color: var(--primary-color);
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.intro-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 auto;
}

/* Membership Plans Section */
.membership-plans {
   
}

.membership-card {
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.plan-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-img {
    width: 100%;
    transition: transform 0.3s ease;
}

.membership-card:hover .icon-img {
    transform: scale(1.1);
}

.plan-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.plan-description {
    color: var(--primary-color);
    font-size: 1.3rem;
   
    margin-bottom: 1rem;
    text-align: justify;
}

.additional-text {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.btn-plan {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
	margin-top:20px
}

.btn-plan:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4);
}

.btn-plan:focus {
    box-shadow: 0 0 0 0.25rem rgba(60, 72, 99, 0.25);
}

.handshake-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.handshake-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.membership-card:hover .handshake-img {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .membership-card {
        margin-bottom: 2rem;
        min-height: 350px;
    }
    
    .plan-title {
        font-size: 1.9rem;
        text-align: center;
    }
    
    .plan-description, .additional-text {
        font-size: 1rem;
        text-align: centr;
    }
    
 
 
    
    .membership-card .row {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .membership-card {
        padding: 2rem !important;
        min-height: 300px;
    }
    
    .plan-title {
        font-size: 1.4rem;
    }
    
   
    
    .btn-plan {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Animation Effects */
.membership-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.membership-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section reveal animation */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    opacity: 1;
    transform: none;
}

/* Image loading animation */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Focus states for accessibility */
.btn-plan:focus {
    outline: none;
}

/* Card content hover effects */
.membership-card:hover .plan-title {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.membership-card:hover .plan-description,
.membership-card:hover .additional-text {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Icon animation */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.membership-card:hover .icon-img {
    animation: iconFloat 2s ease-in-out infinite;
}

/* Button loading state */
.btn-plan.loading {
    position: relative;
    color: transparent;
}

.btn-plan.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
    animation: button-loading 1.2s linear infinite;
}

@keyframes button-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Staggered animation */
.membership-card:nth-child(1) {
    animation-delay: 0.2s;
}

.membership-card:nth-child(2) {
    animation-delay: 0.4s;
}

/* Print styles */
@media print {
    .hero-section {
        height: auto;
        page-break-inside: avoid;
    }
    
    .hero-overlay {
        background: transparent;
    }
    
    .hero-title {
        color: var(--text-dark) !important;
        text-shadow: none;
    }
    
    .membership-card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .btn-plan {
        display: none;
    }
}