/* Programs Page Specific Styles */
.programs-page {
    background: var(--dark-bg);
    min-height: 100vh;
    width: 100%;
    overflow: visible;
}

/* Override global body overflow for programs page */
body.programs-page {
    overflow-x: visible;
    overflow-y: auto;
}

.programs-page * {
    box-sizing: border-box;
}

/* Ensure proper content flow */
.programs-page main {
    overflow: visible;
    width: 100%;
}

.programs-page section {
    overflow: visible;
    width: 100%;
}

/* Programs Hero Section */
.programs-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    margin-top: 80px; /* Account for fixed navbar */
    overflow: visible;
}

.programs-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.programs-hero .hero-glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 1s ease-out;
}

.programs-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.programs-hero .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.programs-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.programs-hero .btn-primary,
.programs-hero .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    min-width: 160px;
}

.programs-hero .btn-primary {
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    color: var(--black);
}

.programs-hero .btn-primary:hover {
    background: linear-gradient(135deg, #00cc33, var(--neon-green));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

.programs-hero .btn-secondary {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.programs-hero .btn-secondary:hover {
    background: var(--neon-green);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
}

.programs-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--neon-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Program Search */
.program-search-container {
    margin-bottom: 2rem;
    text-align: center;
}

.search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 500px;
    width: 100%;
    margin-bottom: 1rem;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    z-index: 2;
}

.program-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.program-search-input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    background: rgba(0, 255, 65, 0.05);
}

.program-search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
}

.search-results-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

#results-count {
    font-weight: 500;
}

.clear-filters-btn {
    background: rgba(0, 255, 65, 0.1);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-filters-btn:hover {
    background: var(--neon-green);
    color: var(--black);
    transform: translateY(-1px);
}

/* Search Highlight */
.search-highlight {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

/* Smooth transitions for search and filter changes */
.program-card {
    transition: all 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.program-card.hidden {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    pointer-events: none;
}

.program-card.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Search input focus animations */
.program-search-input:focus {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    background: rgba(0, 255, 65, 0.05);
    transform: scale(1.02);
}

/* Clear button animations */
.clear-search-btn {
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
    transform: scale(1.1);
}

/* Search results info animations */
.search-results-info {
    animation: fadeInUp 0.3s ease-out;
}

/* No Results Message */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-results-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.no-results-content .btn-primary {
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    color: var(--black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-results-content .btn-primary:hover {
    background: linear-gradient(135deg, #00cc33, var(--neon-green));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Program Tabs */
.program-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--neon-green);
    color: var(--black);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;

}

.program-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-green);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--neon-green);
    color: var(--black);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.program-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.program-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: rgba(0, 255, 65, 0.1);
    color: var(--neon-green);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature i {
    font-size: 0.7rem;
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.enroll-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    color: var(--black);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enroll-btn:hover {
    background: linear-gradient(135deg, #00cc33, var(--neon-green));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: var(--neon-green);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Consultation Lightbox */
.consultation-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.consultation-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.consultation-form label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.consultation-form input,
.consultation-form select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.consultation-form input:focus,
.consultation-form select:focus {
    outline: none;
    border-color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
}

.consultation-form .submit-btn {
    background: var(--neon-green);
    color: var(--black);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consultation-form .submit-btn:hover {
    background: #00cc33;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(0, 255, 65, 0.8), 0 0 40px rgba(0, 255, 65, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .programs-hero {
        min-height: 70vh;
        padding: 1rem 0;
        margin-top: 70px;
    }
    
    .programs-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .programs-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .programs-hero .hero-glass-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .programs-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .programs-hero .btn-primary,
    .programs-hero .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .program-tabs {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 120px;
    }
    
    /* Search responsive styles */
    .program-search-container {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .program-search-input {
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-results-info {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .clear-filters-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* No results message responsive */
    .no-results-message {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .no-results-content i {
        font-size: 2.5rem;
    }
    
    .no-results-content h3 {
        font-size: 1.3rem;
    }
    
    .no-results-content p {
        font-size: 0.9rem;
    }
    
    .no-results-content .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .program-card {
        margin: 0;
        border-radius: 15px;
    }
    
    .program-image {
        height: 180px;
    }
    
    .program-content {
        padding: 1.2rem;
    }
    
    .program-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .program-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .program-features {
        gap: 0.4rem;
        margin-bottom: 1.2rem;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .feature i {
        font-size: 0.65rem;
    }
    
    .program-price {
        margin-bottom: 1.2rem;
    }
    
    .price {
        font-size: 1.8rem;
    }
    
    .price-period {
        font-size: 0.8rem;
    }
    
    .enroll-btn {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .programs-section {
        padding: 3rem 0;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .programs-hero {
        min-height: 60vh;
        margin-top: 60px;
    }
    
    .programs-hero .hero-title {
        font-size: 2rem;
    }
    
    .programs-hero .hero-glass-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .programs-hero .hero-buttons {
        gap: 0.8rem;
    }
    
    .programs-hero .btn-primary,
    .programs-hero .btn-secondary {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        max-width: 240px;
    }
    
    .program-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .tab-btn {
        width: 200px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Search responsive styles for small mobile */
    .program-search-container {
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .program-search-input {
        padding: 0.75rem 1rem 0.75rem 2.25rem;
        font-size: 16px;
        border-radius: 20px;
    }
    
    .search-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .clear-search-btn {
        right: 0.75rem;
        padding: 0.4rem;
    }
    
    .search-results-info {
        flex-direction: column;
        gap: 0.4rem;
        margin-top: 0.5rem;
        font-size: 0.8rem;
    }
    
    .clear-filters-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .programs-grid {
        gap: 1.2rem;
        padding: 0 0.5rem;
    }
    
    /* No results message responsive */
    .no-results-message {
        padding: 1.5rem 0.5rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .no-results-content i {
        font-size: 2rem;
    }
    
    .no-results-content h3 {
        font-size: 1.2rem;
    }
    
    .no-results-content p {
        font-size: 0.85rem;
    }
    
    .no-results-content .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .program-card {
        border-radius: 12px;
    }
    
    .program-image {
        height: 160px;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .program-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .program-features {
        flex-direction: column;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .price-period {
        font-size: 0.75rem;
    }
    
    .enroll-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
} 

/* Filter Animation */
.program-card {
    animation: fadeInUp 0.6s ease-out;
}

.program-card.hidden {
    display: none;
}

.program-card.visible {
    display: block;
    animation: fadeInUp 0.6s ease-out;
} 

/* Image Responsiveness Improvements */
.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .program-image img {
        object-position: center top;
    }
}

/* Ensure proper spacing between sections */
.programs-section + .cta-section {
    margin-top: 0;
}

.cta-section + .testimonials-section {
    margin-top: 0;
}

/* Improve card spacing on mobile */
@media (max-width: 768px) {
    .program-card {
        margin-bottom: 0;
    }
    
    .program-card:last-child {
        margin-bottom: 0;
    }
} 

/* Mobile Image and Content Improvements */
@media (max-width: 768px) {
    /* Ensure images are properly sized and visible */
    .program-image {
        height: 180px;
        overflow: hidden;
        border-radius: 15px 15px 0 0;
    }
    
    .program-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform 0.3s ease;
    }
    
    /* Better content spacing */
    .program-content {
        padding: 1.2rem;
        min-height: auto;
    }
    
    /* Ensure proper text wrapping */
    .program-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .program-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Better feature display */
    .program-features {
        gap: 0.4rem;
        margin-bottom: 1.2rem;
        flex-wrap: wrap;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    /* Ensure price is visible */
    .program-price {
        margin-bottom: 1.2rem;
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .price {
        font-size: 1.8rem;
        line-height: 1;
    }
    
    .price-period {
        font-size: 0.8rem;
        line-height: 1;
    }
    
    /* Better button sizing */
    .enroll-btn {
        padding: 0.9rem;
        font-size: 0.9rem;
        width: 100%;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .program-image {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .program-content p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .program-features {
        flex-direction: column;
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        min-width: auto;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .price-period {
        font-size: 0.75rem;
    }
    
    .enroll-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
} 

/* Additional fixes for content cutoff and spacing */
.programs-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

.programs-page .programs-section {
    padding: 4rem 0;
    overflow: visible;
}

.programs-page .testimonials-section {
    padding: 4rem 0;
    overflow: visible;
}

.programs-page .cta-section {
    padding: 4rem 0;
    overflow: visible;
}

/* Ensure proper grid layout */
.programs-page .programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Better mobile responsiveness */
@media (max-width: 768px) {
    .programs-page .container {
        padding: 0 1rem;
    }
    
    .programs-page .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .programs-page .programs-section,
    .programs-page .testimonials-section,
    .programs-page .cta-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .programs-page .container {
        padding: 0 0.75rem;
    }
    
    .programs-page .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.25rem;
    }
    
    .programs-page .programs-section,
    .programs-page .testimonials-section,
    .programs-page .cta-section {
        padding: 2rem 0;
    }
} 

/* Consultation Lightbox Specific Styles */
.programs-page .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    overflow: auto;
}

.programs-page .lightbox.active {
    display: flex;
}

.programs-page .lightbox-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInUp 0.3s ease-out;
}

.programs-page .close-lightbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.programs-page .close-lightbox:hover {
    color: var(--neon-green);
    background: rgba(0, 255, 65, 0.1);
}

/* Form Styles */
.programs-page .consultation-form {
    margin-top: 1.5rem;
}

.programs-page .consultation-form .form-group {
    margin-bottom: 1.5rem;
}

.programs-page .consultation-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.programs-page .consultation-form input,
.programs-page .consultation-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.programs-page .consultation-form input:focus,
.programs-page .consultation-form select:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 0 2px rgba(0, 255, 65, 0.2);
}

.programs-page .consultation-form .submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--neon-green), #00cc33);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.programs-page .consultation-form .submit-btn:hover {
    background: linear-gradient(135deg, #00cc33, var(--neon-green));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

/* Mobile Lightbox Adjustments */
@media (max-width: 768px) {
    .programs-page .lightbox-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .programs-page .consultation-form input,
    .programs-page .consultation-form select {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .programs-page .lightbox-content {
        width: 98%;
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .programs-page .close-lightbox {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.25rem;
    }
} 