/* ========================================
   UNIWORLD PAGE STYLES
   ======================================== */

/* Header Styles */
.uniworld-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.uniworld-header .header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.uniworld-header .logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.uniworld-header .logo i {
    font-size: 1.8rem;
    color: #6a11cb;
}

.uniworld-header .logo span {
    color: #6a11cb;
}

/* Search Bar */
.uniworld-search-wrapper {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.uniworld-search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    transition: all 0.3s;
}

.uniworld-search-bar:focus-within {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.uniworld-search-bar i {
    margin-left: 1rem;
    color: #6c6c8a;
}

.uniworld-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.7rem;
    font-size: 0.95rem;
    outline: none;
}

.uniworld-search-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

/* Search Results */
.uniworld-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.uniworld-search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:hover {
    background: var(--bg-primary);
}

.search-result-item i {
    color: #6a11cb;
    font-size: 1.2rem;
}

.search-no-results {
    text-align: center;
    padding: 1.5rem;
}

.search-no-results i {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.search-suggestions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-suggestion-item:hover {
    background: var(--bg-primary);
}

.search-suggestion-item i {
    color: #6a11cb;
}

/* Header Links */
.uniworld-header-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.uniworld-header-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}
.uniworld-header-links a:last-child{
    background: #6a11cb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.finance-links a:last-child:hover {
    background: #6a11cb;
    color: white;
}

.uniworld-header-links .btn-outline-link {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
}

.uniworld-header-links .btn-outline-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    color: white;
}

/* Hero Section */
.uniworld-hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #FFD700, #FFE66D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Universities Carousel - Image only */
.universities-carousel-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.universities-carousel-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.university-carousel-card {
    text-align: center;
    padding: 1rem;
}

.university-carousel-card img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s;
}

.university-carousel-card img:hover {
    transform: scale(1.05);
}

/* Filterable Courses Section */
.filterable-courses-section {
    padding: 5rem 0;
}

.filterable-courses-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.filterable-courses-section .section-header h2 {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.filter-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: var(--text-primary);
}

.filter-btn:hover {
    background: #6a11cb;
    color: white;
    border-color: #6a11cb;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-color: transparent;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}



.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}


.card-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.card-rating i {
    color: #FFD700;
    margin-right: 0.2rem;
}

.card-rating span {
    color: white;
}

.card-content {
    padding: 1.2rem;
}

.university-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.university-badge img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.university-badge span {
    font-size: 0.75rem;
    color: #6a11cb;
    font-weight: 500;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-meta i {
    margin-right: 0.2rem;
}

.card-instructor {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.card-instructor i {
    margin-right: 0.2rem;
    color: #6a11cb;
}

.card-btn {
    display: block;
    text-align: center;
    background: var(--bg-primary);
    color: #6a11cb;
    padding: 0.6rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.card-btn:hover {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-primary);
    font-weight: 500;
}

.page-btn:hover {
    background: #6a11cb;
    color: white;
}

.page-btn.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-color: transparent;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.page-dots {
    padding: 0.5rem;
    color: var(--text-muted);
}

/* Program Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 2rem;
    color: white;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Admission Process */
.admission-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.step-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.step-arrow {
    position: absolute;
    right: -20px;
    top: 15px;
    color: #6a11cb;
    font-size: 1rem;
}

.step-item:last-child .step-arrow {
    display: none;
}

/* Accreditations */
.accreditations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.accreditation-item {
    text-align: center;
}

.accreditation-item i {
    font-size: 2.5rem;
    color: #6a11cb;
    margin-bottom: 0.5rem;
}

.accreditation-item span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.accreditation-item small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Suggested Degree Programs */
.suggested-degrees-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.suggested-degrees-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.degrees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* CTA Section */
.cta-uniworld {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.cta-uniworld h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-uniworld p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: #6a11cb;
}

/* Icon Colors Fix - Social Icons */
.social-links a .fab {
    color: inherit;
}

.social-links a:hover .fa-linkedin { color: #0077b5; }
.social-links a:hover .fa-twitter { color: #1da1f2; }
.social-links a:hover .fa-facebook-f { color: #1877f2; }
.social-links a:hover .fa-instagram { color: #e4405f; }
.social-links a:hover .fa-youtube { color: #ff0000; }

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
    grid-column: span 2;
}

.no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1200px) {
    .degrees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .filter-container {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .degrees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .uniworld-header .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .uniworld-header .logo {
        width: 100%;
        text-align: center;
    }
    
    .uniworld-header .logo a {
        justify-content: center;
    }
    
    .uniworld-search-wrapper {
        max-width: 100%;
        width: 100%;
        order: 2;
    }
    
    .uniworld-header-links {
        width: 100%;
        justify-content: space-around;
        order: 3;
        gap: 0.5rem;
    }
    
    .uniworld-header-links .btn-outline-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-content .btn {
        display: inline-block;
        margin: 0 auto;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* Filter Container */
    .filter-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .filter-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 0.3rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* Courses Grid */
    .filter-container .universal-courses-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Highlights Grid */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Degrees Grid */
    .degrees-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Admission Steps */
    .admission-steps {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .step-item {
        width: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        position: static;
        margin: 0.5rem 0;
        display: block;
    }
    
    /* Accreditations */
    .accreditations-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .accreditation-item {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: 80px;
    }
    
    /* University Carousel */
    .university-carousel-card img {
        width: 100px;
        height: 100px;
    }
    
    .uni-prev,
    .uni-next {
        width: 35px;
        height: 35px;
    }
    
    /* CTA Section */
    .cta-uniworld {
        padding: 3rem 1rem;
    }
    
    .cta-uniworld h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
    }
    
    .page-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }
    
    /* Section Headers */
    .section-header h2,
    .invest-label {
        font-size: 1.8rem !important;
        padding: 0 0.5rem;
        word-wrap: break-word;
    }
    
    .section-header p {
        padding: 0 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .uniworld-header .header-container {
        padding: 0.8rem;
    }
    
    .uniworld-header .logo a {
        font-size: 1.3rem;
    }
    
    .uniworld-header .logo i {
        font-size: 1.5rem;
    }
    
    .uniworld-search-bar {
        padding: 0.3rem;
    }
    
    .uniworld-search-bar input {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .uniworld-search-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
    
    .uniworld-header-links {
        gap: 0.3rem;
    }
    
    .uniworld-header-links a {
        font-size: 0.85rem;
    }
    
    .uniworld-header-links .btn-outline-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-btn {
        padding: 0.5rem 0.2rem;
        font-size: 0.75rem;
    }
    
    /* Make 5th button full width */
    .filter-btn:nth-child(5) {
        grid-column: span 2;
    }
    
    .highlight-card {
        padding: 1.2rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
    }
    
    .highlight-icon i {
        font-size: 1.5rem;
    }
    
    .highlight-card h3 {
        font-size: 1rem;
    }
    
    .highlight-card p {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .step-item h4 {
        font-size: 0.9rem;
    }
    
    .step-item p {
        font-size: 0.75rem;
    }
    
    .accreditation-item i {
        font-size: 2rem;
    }
    
    .accreditation-item span {
        font-size: 0.8rem;
    }
    
    .accreditation-item small {
        font-size: 0.65rem;
    }
    
    .university-carousel-card img {
        width: 80px;
        height: 80px;
    }
    
    .search-animation-uniworld h2 {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .search-icon-animate {
        font-size: 3.5rem;
    }
    
    /* Card improvements */
    .universal-course-card .card-title {
        font-size: 0.95rem;
    }
    
    .card-meta-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .meta-item {
        font-size: 0.75rem;
    }
    
    .card-instructor-info {
        font-size: 0.75rem;
    }
    
    .card-action-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}
/* ========================================
   HIDE BCU PLATFORM LOGO IN UNIWORLD
   ======================================== */
.main-header .logo {
    display: none !important;
}

/* ========================================
   SEARCH ANIMATION OVERLAY (2 seconds)
   ======================================== */
.search-overlay-uniworld {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay-uniworld.active {
    opacity: 1;
    visibility: visible;
}

.search-animation-uniworld {
    text-align: center;
}

.search-icon-animate {
    font-size: 5rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: searchPulse 0.5s ease infinite;
}

.search-animation-uniworld h2 {
    color: white;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

.search-animation-uniworld .dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.search-animation-uniworld .dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 50%;
    animation: bounce 0.5s ease infinite;
}

.search-animation-uniworld .dot:nth-child(2) { animation-delay: 0.1s; }
.search-animation-uniworld .dot:nth-child(3) { animation-delay: 0.2s; }

@keyframes searchPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   UNIFORM CARD HEIGHT - SUGGESTED DEGREES
   ======================================== */
.degrees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}


/* Ensure all cards in grid have equal height */
.degrees-grid {
    align-items: stretch;
}

/* ========================================
   UNIVERSITIES CAROUSEL - IMAGES ONLY
   ======================================== */
.universities-carousel-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.universities-carousel-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.university-carousel-card {
    text-align: center;
    padding: 1rem;
}

.university-carousel-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s;
}

.university-carousel-card img:hover {
    transform: scale(1.05);
}

/* Swiper Navigation for Universities */
.universities-carousel {
    position: relative;
}

.uni-prev,
.uni-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.uni-prev:after,
.uni-next:after {
    font-size: 1rem;
    color: #6a11cb;
}

.university-pagination {
    bottom: -20px;
}

.university-pagination .swiper-pagination-bullet-active {
    background: #6a11cb;
}

/* ========================================
   FILTERABLE COURSES GRID
   ======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* No Results */
.no-results {
    grid-column: span 2;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
}

.no-results i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE FIXES
   ======================================== */
@media (max-width: 1200px) {
    .degrees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .degrees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .degrees-grid {
        grid-template-columns: 1fr;
    }
    
    .no-results {
        grid-column: span 1;
    }
    
    .university-carousel-card img {
        width: 100px;
        height: 100px;
    }
}
/* Multiple university logos in cards */
.university-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.university-badge img.uni-logo-multiple {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.university-badge span {
    font-size: 0.75rem;
    color: #6a11cb;
    font-weight: 500;
    margin-left: 0.5rem;
}
/* ========================================
   NO COURSES FOUND STATE
   ======================================== */
.no-courses-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: var(--radius-lg);
}

.no-courses-found i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-courses-found p {
    color: var(--text-muted);
    font-size: 1rem;
}

.filter-container .universal-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .filter-container .universal-courses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .filter-container .universal-courses-grid {
        grid-template-columns: 1fr !important;
    }
}

/* No results state for filterable section */
.filter-container .no-courses-found {
    grid-column: span 3;
}

@media (max-width: 1024px) {
    .filter-container .no-courses-found {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .filter-container .no-courses-found {
        grid-column: span 1;
    }
}
.filter-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 200px 1fr;  /* Slightly narrower filter sidebar */
    gap: 2rem;
}
.login-btn{
    background: transparent;
    color: var(--text-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.login-btn:hover{
        background: var(--bg-primary);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}
/* ========================================
   HERO CAROUSEL STYLES
   ======================================== */

.uniworld-hero {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 85vh;
}

.hero-slides-container {
    width: 100%;
    height: 100%;
}

.hero-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 4rem 6rem;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-left {
    color: white;
}

.hero-badge-small {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-main-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle-gradient {
    background: linear-gradient(135deg, #FFD700, #FFE66D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    display: inline-block;
}

.cta-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.cta-course {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.8rem;
}

.cta-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.cta-link:hover {
    color: #FFE66D;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-degree-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.hero-degree-card:hover {
    transform: translateY(-5px);
}

.hero-card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.hero-degree-card h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c6c8a;
    margin-bottom: 0.3rem;
}

.hero-degree-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.hero-card-divider {
    height: 1px;
    background: linear-gradient(90deg, #6a11cb, #2575fc, transparent);
    margin: 1rem 0;
}

.hero-card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4a4a6a;
}

.hero-card-accreditation {
    font-size: 0.8rem;
    color: #6a11cb;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-card-btn {
    display: inline-block;
    color: #6a11cb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.hero-card-btn:hover {
    color: #2575fc;
}

/* Hero Carousel Indicators */
.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 6rem;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-indicator.active {
    width: 30px;
    border-radius: 10px;
    background: white;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    right: 6rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    transition: opacity 0.3s;
}

.hero-scroll-down:hover {
    opacity: 0.8;
}

.hero-scroll-down i {
    animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ========================================
   INDIAN VS ABROAD TOGGLE SWITCH
   ======================================== */

.university-type-toggle-wrapper {
    padding: 1.5rem 0;
    background: var(--bg-primary);
}

.university-type-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.toggle-option {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6c6c8a;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.toggle-option.active {
    color: #6a11cb;
    font-weight: 600;
}

.toggle-switch-label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 30px;
    transition: 0.3s;
}

.toggle-slider-round:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .toggle-slider-round:before {
    transform: translateX(30px);
}

/* ========================================
   FILTER BUTTON - IIT/IIM ADDED
   ======================================== */

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-btn {
    padding: 0.9rem 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #6a11cb;
    color: white;
    border-color: #6a11cb;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-color: transparent;
}

/* ========================================
   RESPONSIVE HERO STYLES
   ======================================== */

@media (max-width: 1024px) {
    .hero-slide-content {
        padding: 3rem 2rem;
        gap: 2rem;
    }
    
    .hero-main-title {
        font-size: 2.2rem;
    }
    
    .hero-carousel-indicators {
        left: 2rem;
    }
    
    .hero-scroll-down {
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-slide-content {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-cta-box {
        display: block;
        width: 100%;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .hero-carousel-indicators {
        left: 50%;
        transform: translateX(-50%);
        bottom: 80px;
    }
    
    .hero-scroll-down {
        display: none;
    }
    
    .university-type-toggle {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .toggle-option {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slide-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
    }
    
    .hero-degree-card {
        padding: 1.2rem;
    }
    
    .hero-degree-card h3 {
        font-size: 1.1rem;
    }
}
/* ========================================
   HERO STACKED CARDS STYLES
   ======================================== */

.hero-right-stacked {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-degree-card-stacked {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
}

.hero-degree-card-stacked:nth-child(1) {
    z-index: 3;
    transform: translateX(0) translateY(0);
}

.hero-degree-card-stacked:nth-child(2) {
    z-index: 2;
    transform: translateX(-30px) translateY(-20px);
    opacity: 0.85;
}

.hero-degree-card-stacked:nth-child(3) {
    z-index: 1;
    transform: translateX(-60px) translateY(-40px);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-degree-card-stacked:nth-child(2) {
        transform: translateX(-15px) translateY(-15px);
    }
    .hero-degree-card-stacked:nth-child(3) {
        transform: translateX(-30px) translateY(-30px);
    }
}

/* ========================================
   SEGMENTED TOGGLE SWITCH
   ======================================== */

.university-type-toggle-wrapper {
    padding: 0.5rem 0 0 0;
    margin-top: 5rem;
    background: transparent;
}

.university-type-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f0f2f5;
    border-radius: 50px;
    padding: 0.3rem;
    max-width: 500px;
    margin: 0 auto;
}

.toggle-option {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: #6c6c8a;
    cursor: pointer;
    padding: 0.7rem 1.5rem;
    text-align: center;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.toggle-option.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

.toggle-option:hover:not(.active) {
    color: #6a11cb;
}

/* Remove old toggle switch styles */
.toggle-switch-label,
.toggle-slider-round,
#universityTypeToggle {
    display: none;
}

/* ========================================
   REDUCED GAP BETWEEN TOGGLE AND HEADING
   ======================================== */

.filterable-courses-section {
    padding: 2rem 0 5rem 0;
}

.filterable-courses-section .section-header {
    margin-bottom: 1.5rem;
}

.filterable-courses-section .invest-label {
    margin-bottom: 0.5rem !important;
}

/* ========================================
   SEARCH SUGGESTIONS (Matching Landing Page)
   ======================================== */

.uniworld-search-results .search-no-results {
    text-align: center;
    padding: 1.5rem 1rem;
}

.uniworld-search-results .search-no-results i {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 0.8rem;
}

.uniworld-search-results .search-suggestions {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-color);
}

.uniworld-search-results .search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0.3rem;
}

.uniworld-search-results .search-suggestion-item:hover {
    background: var(--bg-primary);
}

.uniworld-search-results .search-suggestion-item i {
    color: #6a11cb;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.uniworld-search-results .search-suggestion-item span {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   UNIVERSITIES CAROUSEL (Static Images)
   ======================================== */

.university-carousel-card {
    text-align: center;
    padding: 1rem;
}

.university-carousel-card img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.3s;
    filter: grayscale(0%);
}

.university-carousel-card img:hover {
    transform: scale(1.05);
}

.universities-carousel {
    position: relative;
    padding: 0 40px;
}

.uni-prev,
.uni-next {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #6a11cb;
}

.uni-prev:after,
.uni-next:after {
    font-size: 1rem;
    font-weight: bold;
}

.university-pagination {
    bottom: -10px;
}

.university-pagination .swiper-pagination-bullet-active {
    background: #6a11cb;
}

/* ========================================
   FILTER BUTTONS
   ======================================== */

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.filter-btn {
    padding: 0.9rem 1.2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #f8f5ff;
    border-color: #6a11cb;
    color: #6a11cb;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .university-type-toggle {
        max-width: 90%;
    }
    
    .toggle-option {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .university-carousel-card img {
        width: 100px;
        height: 100px;
    }
    
    .universities-carousel {
        padding: 0 30px;
    }
    
    .filter-btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .toggle-option {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
        white-space: nowrap;
    }
    
    .university-carousel-card img {
        width: 80px;
        height: 80px;
    }
}

/* ========================================
   HERO STACKED CARDS - PRODUCTION READY
   ======================================== */

.hero-right-stacked {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 450px;
    width: 100%;
}

/* Container for stacked cards with proper positioning context */
.hero-cards-stack-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
    margin-left: auto;
}

/* Individual stacked cards - absolute positioning for overlap */
.hero-degree-card-stacked {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, z-index;
}

/* Front card - fully visible */
.hero-degree-card-stacked[data-position="front"] {
    z-index: 10;
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Middle card - partially visible behind front */
.hero-degree-card-stacked[data-position="middle"] {
    z-index: 5;
    opacity: 0.85;
    transform: translateX(-35px) translateY(-25px) scale(0.95);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

/* Back card - barely visible, deep behind */
.hero-degree-card-stacked[data-position="back"] {
    z-index: 1;
    opacity: 0.6;
    transform: translateX(-70px) translateY(-50px) scale(0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

/* Card content styling */
.hero-card-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.hero-degree-card-stacked h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c6c8a;
    margin-bottom: 0.3rem;
}

.hero-degree-card-stacked h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.hero-card-divider {
    height: 1px;
    background: linear-gradient(90deg, #6a11cb, #2575fc, transparent);
    margin: 1rem 0;
}

.hero-card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4a4a6a;
}

.hero-card-accreditation {
    font-size: 0.8rem;
    color: #6a11cb;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-card-btn {
    display: inline-block;
    color: #6a11cb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.hero-card-btn:hover {
    color: #2575fc;
}

/* Left content fade animation */
.hero-left {
    transition: opacity 0.4s ease-in-out;
}

.hero-left.fade-transition {
    opacity: 0;
}

/* Hero slide content background transition */
.hero-slide-content {
    transition: background-image 0.6s ease-in-out;
}

/* Responsive adjustments for stacked cards */
@media (max-width: 1024px) {
    .hero-cards-stack-container {
        max-width: 340px;
        height: 360px;
    }
    
    .hero-degree-card-stacked {
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .hero-degree-card-stacked[data-position="middle"] {
        transform: translateX(-25px) translateY(-20px) scale(0.95);
    }
    
    .hero-degree-card-stacked[data-position="back"] {
        transform: translateX(-50px) translateY(-40px) scale(0.9);
    }
}

@media (max-width: 768px) {
    .hero-right-stacked {
        min-height: 400px;
        align-items: center;
    }
    
    .hero-cards-stack-container {
        max-width: 300px;
        height: 340px;
        margin: 0 auto;
    }
    
    .hero-degree-card-stacked {
        max-width: 280px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .hero-degree-card-stacked[data-position="front"] {
        transform: translateX(50%) translateY(0) scale(1);
    }
    
    .hero-degree-card-stacked[data-position="middle"] {
        transform: translateX(40%) translateY(-20px) scale(0.95);
        opacity: 0.7;
    }
    
    .hero-degree-card-stacked[data-position="back"] {
        transform: translateX(30%) translateY(-40px) scale(0.9);
        opacity: 0.5;
    }
    
    .hero-degree-card-stacked h3 {
        font-size: 1.1rem;
    }
    
    .hero-card-meta {
        gap: 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-cards-stack-container {
        max-width: 260px;
        height: 320px;
    }
    
    .hero-degree-card-stacked {
        max-width: 240px;
        padding: 1.2rem;
    }
    
    .hero-card-icon {
        font-size: 1.5rem;
    }
}

/* Accessibility - Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-degree-card-stacked,
    .hero-left,
    .hero-slide-content {
        transition: none !important;
    }
}
/* ========================================
   TESTIMONIALS SECTION - UNIWORLD
   ======================================== */

.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f5f7fa 100%);
}

.testimonials-carousel {
    position: relative;
    padding: 0 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.testimonial-content {
    flex: 1;
}

.quote-icon {
    font-size: 2rem;
    color: #667eea;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a6a;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    margin-bottom: 0.5rem;
}

.testimonial-author strong {
    display: block;
    color: #1a1a2e;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #6c6c8a;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #667eea;
    transition: all 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.testimonial-prev:after,
.testimonial-next:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.testimonial-pagination {
    bottom: -30px !important;
}

.testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.testimonial-pagination .swiper-pagination-bullet-active {
    background: #667eea;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonials-carousel {
        padding: 0 30px;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .testimonial-image img {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-prev,
    .testimonial-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
}