/* Reset & base */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #4b5563; /* Neutral gray */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

    a:focus-visible, button:focus-visible {
        outline: 3px solid #2563eb; /* Blue focus */
        outline-offset: 2px;
    }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    color: #111827; /* Darker text */
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: #6b7280;
}
/* Container */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffffcc;
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #111827;
    user-select: none;
}

nav.desktop-nav {
    display: flex;
    gap: 1.5rem;
}

    nav.desktop-nav a {
        font-weight: 600;
        font-size: 1rem;
        color: #374151;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        transition: background-color 0.25s ease, color 0.25s ease;
    }

        nav.desktop-nav a:hover,
        nav.desktop-nav a:focus-visible {
            color: #2563eb;
            background-color: #e0e7ff;
        }
/* Mobile hamburger */
button.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
}

    button.mobile-menu-toggle .material-icons {
        font-size: 2rem;
    }
/* Mobile navigation */
nav.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.1);
    position: absolute;
    top: 60px;
    right: 1rem;
    border-radius: 12px;
    width: 200px;
    height: auto;
}

    nav.mobile-nav.show {
        display: flex;
    }

    nav.mobile-nav a {
        padding: 0.75rem 1rem;
        font-weight: 600;
        color: #374151;
        border-bottom: 1px solid #e5e7eb;
        transition: background-color 0.3s ease;
    }

        nav.mobile-nav a:last-child {
            border-bottom: none;
        }

        nav.mobile-nav a:hover,
        nav.mobile-nav a:focus-visible {
            background-color: #eff6ff;
            color: #2563eb;
        }
/* Hero section */
.hero {
    padding: 6rem 1rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

    .hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        max-width: 700px;
        margin: 0 auto 1rem;
    }

    .hero p {
        font-size: 1.375rem;
        max-width: 600px;
        margin: 0 auto 2rem;
        color: #d1d5db;
    }

.btn-primary {
    background-color: #111827;
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.25s ease;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-primary:hover,
    .btn-primary:focus-visible {
        background-color: #374151;
        transform: translateY(-2px);
    }

    .btn-primary .material-icons {
        font-size: 1.5rem;
    }
/* Section base style */
section {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: #111827;
}
/* Overview content */
.overview-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.7;
}
/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member-card {
    background: #e7e1f8;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem 2rem;
}

.team-member-photo {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0.1);
}

.team-member-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.team-member-role {
    font-weight: 500;
    color: #6b7280;
    font-size: 1rem;
}
/* Institutes/Coporates section */
.institutes-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.institutes-list {
    display: flex;
    gap: 40px;
    animation: scroll 40s linear infinite;
    width: fit-content;
    min-width: 200%; /* <-- Add this line */
}

.institute-logo {
      flex-shrink: 0;
      width: 160px; /* or as needed */
      height: 60px;
      object-fit: contain;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Optional: Pause animation on hover */
.institutes-list:hover {
    animation-play-state: paused;
}

/* Responsive fix: keep horizontal scroll on mobile */
@media (max-width: 767px) {
    .institutes-list {
        flex-direction: row;
        gap: 20px;
    }
    .institute-logo {
        width: 120px;
        height: 40px;
      }
  }

.institutes-list {
      animation: scroll 40s linear infinite;
  }
/* Testimonials slider basic */
.testimonials-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    min-height: 300px;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 2.5rem;
    min-height: 220px;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.testimonial-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #374151;
    margin: 0 0 0.5rem 0;
}

.testimonial-meta {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: #2563eb;
    font-weight: 600;
}

.testimonial-author {
    margin-right: 0.5em;
}

.testimonial-role {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.98em;
}

.testimonial-controls {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background: #2563eb;
}
/* Contact CTA section */
.contact-section {
    background: #2563eb; /* keep your blue background */
    color: white;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

    .contact-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .contact-section p {
        font-size: 1.125rem;
        color: #f2ef8f;
        margin-bottom: 2rem;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

.btn-contact {
    background-color: white;
    color: #2563eb;
    font-weight: 700;
    border-radius: 9999px;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

    .btn-contact:hover,
    .btn-contact:focus-visible {
        background-color: #dbeafe;
        color: #1e40af;
    }

    .btn-contact .material-icons {
        font-size: 1.6rem;
    }
/* Footer */
footer {
    background: #f9fafb;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    color: #6b7280;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 2px solid #e0e7ef; /* subtle divider */
}

    footer p {
        color: #374151;
        /* Removed text-shadow for clarity */
        margin: 0.5rem 0 0 0;
    }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

    .footer-social a {
        color: #644bf3; /* Changed from #2563eb to LearnPaddi brand color */
        background: #f3f4f6;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        text-decoration: none;
        box-shadow: none;
    }

        .footer-social a:hover,
        .footer-social a:focus-visible {
            background: #644bf3; /* Changed from #2563eb to match */
            color: #fff;
            transform: translateY(-2px) scale(1.08);
        }

@media (max-width: 767px) {
    footer {
        padding: 1rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    footer {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 1rem 1rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    nav.desktop-nav {
        display: none;
    }
}

@media (min-width: 768px) {
    button.mobile-menu-toggle {
        display: none;
    }

    nav.mobile-nav {
        display: none !important;
    }

    .contact-section {
        padding: 60px 20px;
        background-color: #6669f0; /* Blue background */
        color: white;
        text-align: center;
    }

    #contact-title {
        font-size: 24px;
        margin-bottom: 20px;
        color: #f5f5f5;
    }

    #contact-form {
        max-width: 500px;
        margin: 0 auto;
        background: #ffffff10;
        padding: 30px;
        border-radius: 10px;
        backdrop-filter: blur(4px);
    }

        #contact-form div {
            text-align: left;
            margin-bottom: 20px;
        }

        #contact-form label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: #fff;
        }

        #contact-form input {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: none;
            border-radius: 5px;
            background-color: #f0f4f8;
        }

            #contact-form input:focus {
                outline: none;
                background-color: #e2e8f0;
            }

    .btn-contact {
        background-color: #644bf3;
        color: white;
        padding: 12px 30px;
        border: none;
        border-radius: 25px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .btn-contact:hover {
            background-color: #f7f7f9;
        }
}
/* --- Mobile Responsive Enhancements --- */
@media (max-width: 767px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        max-width: 100%;
    }

    .header-inner {
        flex-direction: row;
        padding: 0.75rem 0.5rem;
    }

    .logo {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }

    .hero {
        padding: 3rem 0.5rem 2rem;
        min-height: 260px;
    }

        .hero h1 {
            font-size: 1.5rem;
            max-width: 95vw;
        }

        .hero p {
            font-size: 1rem;
            max-width: 95vw;
            margin-bottom: 1.5rem;
        }

    .btn-primary {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
    }

    section {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    h2.section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .overview-text {
        font-size: 1rem;
        padding: 0 0.25rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.25rem;
    }

    .team-member-card {
        padding: 1rem 0.5rem 1.25rem;
    }

    .team-member-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }

    .team-member-name {
        font-size: 1.1rem;
    }

    .team-member-role {
        font-size: 0.95rem;
    }

    .institutes-list {
        gap: 20px;
        /* Keep horizontal flex and animation */
        flex-direction: row;
        align-items: center;
    }

    .institute-logo {
        height: 40px;
        width: 120px;
        max-width: 90vw;
    }

    .testimonials-container {
        gap: 1rem;
        padding: 0 0.25rem;
    }

    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        min-width: unset;
        min-height: unset;
        padding: 0.75rem 0.5rem;
    }

    .testimonial-photo {
        width: 60px;
        height: 66px;
        margin-bottom: 0.25rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .testimonial-role {
        font-size: 0.85rem;
    }

    .contact-section {
        padding: 1.25rem 0.5rem;
        border-radius: 8px;
        margin: 0 0.25rem 1.5rem;
        max-width: 100%;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

        .contact-section h2 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            line-height: 1.2;
            word-break: break-word;
        }

        .contact-section p {
            font-size: 0.98rem;
            margin-bottom: 0.75rem;
            max-width: 98vw;
            color: #f2ef8f;
            line-height: 1.5;
        }

    #contact-form {
        padding: 0.5rem 0.25rem;
        border-radius: 6px;
        max-width: 100%;
        background: #ffffff18;
        box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    }

        #contact-form div {
            margin-bottom: 10px;
        }

        #contact-form label {
            font-size: 0.98rem;
            margin-bottom: 3px;
            color: #fff;
        }

        #contact-form input {
            font-size: 0.98rem;
            padding: 7px;
            border-radius: 4px;
            background: #f0f4f8;
            border: none;
            width: 100%;
            margin-top: 2px;
        }

            #contact-form input:focus {
                background: #e2e8f0;
            }

    .btn-contact {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        border-radius: 18px;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    footer {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .contact-section {
        max-width: 100%;
        padding: 1.2rem 0.8rem;
        border-radius: 8px;
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
    }
}

.programs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card.active .job-details {
    max-height: 500px; /* Adjust as needed for content */
    opacity: 1;
    pointer-events: auto;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.job-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}

.program-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.program-desc {
    color: #4b5563;
    font-size: 1rem;
}

.program-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(38, 99, 235, 0.08), 0 1.5px 4px 0 rgba(0,0,0,0.04);
    border: 1.5px solid #e0e7ef;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.25s, transform 0.2s;
    position: relative;
}

    .program-card:hover, .program-card:focus-within {
        box-shadow: 0 8px 32px 0 rgba(38, 99, 235, 0.16), 0 2px 8px 0 rgba(0,0,0,0.06);
        transform: translateY(-4px) scale(1.02);
        border-color: #2563eb;
    }

.program-title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: #2563eb;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.program-desc {
    margin: 0;
    padding-left: 1.2em;
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.7;
}

    .program-desc li {
        margin-bottom: 0.5em;
        list-style: disc;
    }

/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

    .modal.show {
        display: flex;
    }
/* Modal content */
.modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    position: relative;
    overflow: auto;
    display: flex;
    flex-direction: column;
    width: 95vw;
    max-width: 800px;
    height: 90vh;
    max-height: 95vh;
    padding: 0;
}

    .modal-content iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 12px;
    }

@media (max-width: 600px) {
    .modal-content {
        width: 99vw;
        height: 98vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    z-index: 2;
}

    .close-modal:hover {
        color: #222;
    }

/* Form styling */
#careers-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #222;
}

#careers-form input[type="text"],
#careers-form input[type="email"],
#careers-form input[type="tel"],
#careers-form input[type="file"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #f9fafb;
    transition: border 0.2s;
}

#careers-form input:focus {
    border-color: #3b82f6;
    outline: none;
}

#careers-form button.btn-contact {
    width: 100%;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

    #careers-form button.btn-contact:hover {
        background: #2563eb;
    }

    #careers-form button.btn-contact:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(38, 99, 235, 0.4);
    }

/* Responsive */
@media (max-width: 500px) {
    .modal-content {
        padding: 1rem;
    }
}

.team-member-card .linkedin-link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #0A66C2;
    text-decoration: none;
}

    .team-member-card .linkedin-link:hover {
        text-decoration: underline;
    }

.vision-mission {
    margin-top: 2.5rem;
    background: #f3f4f6;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 6px solid #2563eb;
}

    .vision-mission .section-subtitle {
        margin-bottom: 0.25rem;
        font-size: 1.2rem;
        font-weight: 700;
        color: #2563eb;
        letter-spacing: 0.01em;
    }

    .vision-mission p {
        margin-bottom: 1.2rem;
        font-size: 1.08rem;
        color: #374151;
        line-height: 1.7;
    }

@media (max-width: 767px) {
    .vision-mission {
        padding: 1.2rem 0.8rem;
        max-width: 100%;
        border-radius: 8px;
    }

        .vision-mission .section-subtitle {
            font-size: 1.05rem;
        }
}

.hiring-flash-btn {
    background: #e11d48;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 0.25em 1em;
    font-size: 0.95em;
    margin-left: 0.5em;
    animation: hiring-blink 1s steps(2, start) infinite;
    box-shadow: 0 0 0 0 #e11d48;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s;
    display: inline-block;
}

@keyframes hiring-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hiring-flash-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
}

    .footer-social a {
        color: #644bf3; /* Changed from #2563eb to LearnPaddi brand color */
        background: #f3f4f6;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.7rem;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        text-decoration: none;
        box-shadow: none;
    }

        .footer-social a:hover,
        .footer-social a:focus-visible {
            background: #644bf3; /* Changed from #2563eb to match */
            color: #fff;
            transform: translateY(-2px) scale(1.08);
        }

@media (max-width: 600px) {
    footer {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    .testimonial-card {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        padding: 2.5rem;
        min-height: 220px;
    }

    .testimonial-card.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .testimonial-card footer {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        margin-top: auto;
    }

    .testimonial-photo {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 0;
        margin-left: 0.5rem;
    }

    .testimonial-author,
    .testimonial-role {
        text-align: right;
        margin: 0;
        color: #2563eb;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .testimonial-role {
        color: #6b7280;
        font-size: 0.95rem;
        font-weight: 400;
    }
}

@media (max-width: 767px) {
    .testimonial-slider {
        display: flex;
        flex-direction: row;
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    .testimonial-card {
        min-width: 100%;
        margin: 0;
        transition: transform 0.5s cubic-bezier(.4,0,.2,1);
        position: relative;
        opacity: 1;
        pointer-events: auto;
        left: 0;
        top: 0;
    }
    .testimonial-card:not(.active) {
        display: none;
    }
    .testimonial-controls {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 1.2rem;
        margin-bottom: 0.5rem;
    }
    .testimonial-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #e5e7eb;
        transition: background 0.3s, transform 0.2s;
        cursor: pointer;
    }
    .testimonial-dot.active {
        background: #2563eb;
        transform: scale(1.2);
    }
}
.program-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 16px rgba(38,99,235,0.10);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.program-card:hover .program-illustration,
.program-card:focus-within .program-illustration {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 8px 32px rgba(38,99,235,0.18);
}

.program-illustration .material-icons {
    font-size: 2.5rem;
    color: #2563eb;
    transition: color 0.3s;
}

.program-card {
    position: relative;
    overflow: visible;
    /* Existing styles preserved */
}

@media (max-width: 767px) {
    .program-illustration {
        width: 48px;
        height: 48px;
        margin-bottom: 0.5rem;
    }

        .program-illustration .material-icons {
            font-size: 1.7rem;
        }
}
.program-details {
    display: none;
    margin-top: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 1rem;
    color: #374151;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(38,99,235,0.06);
    transition: max-height 0.3s, opacity 0.3s;
}

.program-card.expanded .program-details {
    display: block;
}

.read-more-btn {
    margin-top: 1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5em 1.5em;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .read-more-btn:hover,
    .read-more-btn:focus {
        background: #644bf3;
        color: #fff;
    }