/* gbs-programs.css - Styling for GIFT Business School Programs Page */

/* Full-width Slider Styles */
.fullwidth-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    width: 100%;
    position: relative;
    max-height: 600px;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
    stroke: #333;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Responsive Slider Styles */
@media (max-width: 768px) {
    .slider-container {
        max-height: 400px;
    }

    .slide img {
        max-height: 400px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-nav svg {
        width: 20px;
        height: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots {
        bottom: 15px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        max-height: 300px;
    }

    .slide img {
        max-height: 300px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .slider-nav svg {
        width: 18px;
        height: 18px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }
}

/* Banner Section */
.banner {
    width: 100%;
    overflow: hidden;
}

.gbs-programs-banner,
.sfada-programs-banner {
    width: 100%;
    overflow: hidden;
}

.gbs-programs-banner img,
.sfada-programs-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-text {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.gbs-intro-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.gbs-intro-section .section-text {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
    
    
}

/* Programs Section */
.gbs-programs-section {
    padding: 2rem 0 4rem 0;
    background-color: #f8f9fa;
}

/* Filter Navigation */
.program-level-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.level-filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.level-filter-btn:hover,
.level-filter-btn.active {
    background-color: #862C91;
    color: white;
    border-color: #862C91;
}

/* Search Container */
.program-search-container {
    max-width: 400px;
    margin: 0 auto 3rem auto;
}

.program-search-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.program-search-input:focus {
    outline: none;
    border-color: #862C91;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

/* Program Category */
.program-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: #862C91;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFC107;
    border-radius: 2px;
}

/* Programs Grid */
.programs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Program Card */
.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 580px;
    position: relative;
    flex-basis: 300px;
    flex-grow: 1;
    max-width: 380px;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Program Image */
.program-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image {
    transform: scale(1.05);
}

/* Badges */
.program-level-badge,
.program-duration-badge {
    position: absolute;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-level-badge {
    top: 12px;
    left: 12px;
    background-color: #862C91;
    color: white;
}

.program-duration-badge {
    top: 12px;
    right: 12px;
    background-color: #FFC107;
    color: #862C91;
}

/* Content */
.program-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #862C91;
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: center; /* Added for text centering */
}

.program-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    min-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    text-align: center; /* Added for text centering */
}

/* Footer */
.program-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

/* Read More Button */
.read-more-btn {
    background-color: #862C91;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
}

.read-more-btn:hover {
    background-color: #15294d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 60, 114, 0.3);
}

.read-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(30, 60, 114, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4b5563;
}

/* CTA Section */
.gbs-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #862C91 0%, #2a5298 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background-color: #FFC107;
    color: #862C91;
    border: 2px solid #FFC107;
}

.btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-primary:hover {
    background-color: white;
    color: #862C91;
    transform: translateY(-2px);
}