/* pages.css - Additional styles for individual pages */

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #00AEEF 0%, #0077b6 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Page Styles */
.about-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.about-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--gray-color);
    font-weight: 500;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.vision-card,
.mission-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.vision-card i,
.mission-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.why-choose h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.our-team {
    margin: 60px 0;
}

.our-team h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.our-team > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.member-img {
    width: 120px;
    height: 120px;
    background-color: var(--light-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img i {
    font-size: 3rem;
    color: var(--primary-color);
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.team-member .role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.founder-message {
    margin: 60px 0;
}

.founder-message h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.message-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.founder-img {
    width: 200px;
    height: 200px;
    background-color: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-img i {
    font-size: 5rem;
    color: var(--primary-color);
}

.message-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.message-content .title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.message-content blockquote {
    font-style: italic;
    margin: 20px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.signature {
    font-weight: 600;
    color: var(--dark-color);
    margin-top: 20px;
    text-align: right;
}






/* Services Page Styles */
.services-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.services-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.services-details {
    margin: 40px 0;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.service-icon {
    width: 100px;
    height: 100px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--accent-color);
}

/* ===============================
   SERVICE PROCESS – FIXED VERSION
   (Perfect alignment like image)
================================= */
/* ======================================
   SERVICE PROCESS - PROFESSIONAL DESIGN
   (Without Numbers - With Icons)
   
/* ======================================
   SERVICE PROCESS - FIXED VERSION
   (No overlapping, clean layout)
====================================== */

.service-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    /* font-family removed: this declared 'Inter','Poppins',sans-serif, but no
       webfont is loaded anywhere on this site (zero @font-face rules, zero
       Google Fonts links) and neither face is a system font — so it fell all
       the way to generic sans-serif and rendered this one section in Arial
       while every other section was Segoe UI. Measured: 872px vs 878px for
       the same string, across 7 elements. Inheriting the body stack now.
       If Inter is ever actually loaded site-wide, it belongs in style.css's
       body rule, not on a single component. */
    position: relative;
    overflow: hidden;
}

/* Background decorative elements */
.service-process::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.service-process::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0077b6;
    background: rgba(0, 119, 182, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.service-process h2 {
    font-size: 2.5rem;
    color: #0a1a2c;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Process Steps Container - FIXED */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    position: relative;
    margin: 30px -15px 0;
    gap: 30px 0;
}

/* Connecting Line - Only visible on large screens */
@media screen and (min-width: 1200px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 60px;
        right: 60px;
        height: 3px;
        background: linear-gradient(90deg, 
            rgba(0, 119, 182, 0.1) 0%,
            rgba(0, 119, 182, 0.3) 30%,
            rgba(0, 119, 182, 0.5) 50%,
            rgba(0, 119, 182, 0.3) 70%,
            rgba(0, 119, 182, 0.1) 100%);
        z-index: 1;
        border-radius: 3px;
    }
}

/* Individual Step - FIXED dimensions */
.process-step {
    flex: 0 0 calc(20% - 20px);
    min-width: 200px;
    max-width: 240px;
    margin: 0 10px 30px;
    position: relative;
    z-index: 2;
    text-align: center;
    transition: all 0.4s ease;
}

.process-step:hover {
    transform: translateY(-8px);
}

/* Step Icon */
.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #00AEEF, #0077b6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.15);
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.step-icon svg {
    width: 35px;
    height: 35px;
    color: white;
}

.process-step:hover .step-icon {
    background: linear-gradient(145deg, #0077b6, #00AEEF);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.25);
    transform: scale(1.08);
    border-color: #f0f4ff;
}

/* Step Content - FIXED height for consistency */
.step-content {
    background: white;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 119, 182, 0.1);
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover .step-content {
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.1);
    border-color: rgba(0, 119, 182, 0.2);
    background: #ffffff;
}

/* Step Title */
.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1a2c;
    margin-bottom: 12px;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.step-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #0077b6;
    border-radius: 2px;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.process-step:hover .step-content h4::after {
    opacity: 1;
    width: 45px;
}

/* Step Description - FIXED scrolling if needed */
.step-content p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    overflow-y: auto;
    flex: 1;
    padding: 0 5px;
}

/* Hide scrollbar for cleaner look */
.step-content p::-webkit-scrollbar {
    width: 3px;
}

.step-content p::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.step-content p::-webkit-scrollbar-thumb {
    background: #0077b6;
    border-radius: 3px;
}

/* Arrow for connecting steps - adjusted position */
.step-arrow {
    position: absolute;
    top: 40px;
    right: -25px;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #0077b6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #0077b6;
    box-shadow: 0 3px 8px rgba(0, 119, 182, 0.15);
}

.step-arrow::after {
    content: '→';
    font-weight: bold;
}

.process-step:hover .step-arrow {
    opacity: 1;
    transform: scale(1.1) translateX(3px);
    background: #0077b6;
    color: white;
    border-color: white;
}

/* Hide arrow on last step */
.process-step:last-child .step-arrow {
    display: none;
}

/* Responsive Design - FIXED for all devices */

/* Desktop large */
@media screen and (max-width: 1200px) {
    .process-step {
        flex: 0 0 calc(25% - 20px);
        max-width: 220px;
    }
    
    .process-steps::before {
        display: none;
    }
}

/* Desktop medium */
@media screen and (max-width: 992px) {
    .process-step {
        flex: 0 0 calc(33.333% - 20px);
        max-width: 240px;
    }
    
    .service-process h2 {
        font-size: 2.2rem;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    .process-step {
        flex: 0 0 calc(50% - 20px);
        max-width: 260px;
    }
    
    .service-process {
        padding: 70px 0;
    }
    
    .service-process h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .step-arrow {
        display: none;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .process-step {
        flex: 0 0 100%;
        max-width: 300px;
        margin: 0 auto 25px;
    }
    
    .service-process {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .service-process h2 {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .step-content {
        height: auto;
        min-height: 160px;
        padding: 18px 15px;
    }
}

/* Small mobile */
@media screen and (max-width: 380px) {
    .process-step {
        max-width: 260px;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
}








/* Study Abroad Page Styles */
.study-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.study-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.country-navigation {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin: 40px 0;
    padding-bottom: 10px;
}

.country-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: white;
    border-radius: 10px;
    min-width: 120px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.country-nav-item.active {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.country-nav-item .flag-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.country-details {
    margin: 40px 0;
}

.country-detail {
    display: none;
}

.country-detail.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.country-header {
    text-align: center;
    margin-bottom: 40px;
}

.country-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.country-header .flag-icon {
    margin-right: 10px;
}

.country-tagline {
    font-size: 1.2rem;
    color: var(--gray-color);
}

.country-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.country-image .image-placeholder {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.country-image .image-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.country-benefits {
    list-style: none;
    margin: 20px 0;
}

.country-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.country-benefits li i {
    color: var(--accent-color);
    margin-top: 3px;
}

.country-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.university-list,
.college-list {
    margin-top: 20px;
}

.university-item,
.college-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 5px;
    margin-bottom: 10px;
}

.university-item i,
.college-item i {
    color: var(--primary-color);
}

.europe-countries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.europe-country {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 5px;
}

.application-cta {
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.application-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.application-cta .btn-apply {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
}

.application-cta .btn-apply:hover {
    background-color: #d34513;
}

/* Courses Page Styles */
.courses-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.courses-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.course-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.category-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card.active {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.course-section {
    display: none;
    margin: 40px 0;
}

.course-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-header h3 i {
    margin-right: 10px;
}

.mbbs-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.mbbs-benefits .benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.mbbs-benefits .benefit i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.mbbs-countries .country-list {
    margin-top: 20px;
}

.mbbs-countries .country-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 5px;
    margin-bottom: 10px;
}

.country-item i {
    color: var(--primary-color);
}

.universities-list h4 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.university-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.university-card h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.university-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.university-card i {
    margin-right: 8px;
    color: var(--primary-color);
}

.courses-filter {
    margin: 30px 0;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: white;
    min-width: 200px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.course-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.course-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    min-height: 60px;
}

.course-level,
.course-duration,
.course-countries {
    margin-bottom: 10px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.btn-course-details {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-course-details:hover {
    background-color: #0077b6;
}

.engineering-specializations {
    margin: 40px 0;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.specialization {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.specialization i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.specialization h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.business-programs .program-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.program {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.program h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.course-inquiry {
    text-align: center;
    background-color: var(--light-color);
    padding: 60px 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.course-inquiry h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.course-inquiry .btn-inquiry {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
}

.course-inquiry .btn-inquiry:hover {
    background-color: #d34513;
}

/* Contact Page Styles */
.contact-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-card.highlight {
    border-left: 5px solid var(--secondary-color);
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-card.highlight .info-icon {
    background-color: #25D366;
}

.info-card.highlight .info-icon i {
    color: white;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-content p {
    margin-bottom: 5px;
    color: var(--gray-color);
}

.office-hours {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.office-hours h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hours-grid {
    display: grid;
    gap: 15px;
}

.hours-grid .day {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.social-contact {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.social-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form .checkbox input {
    width: auto;
}

.contact-form .checkbox label {
    margin-bottom: 0;
}

.btn-submit {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-submit:hover {
    background-color: #1da851;
}

.form-note {
    margin-top: 15px;
    padding: 15px;
    background-color: #e8f4ff;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.form-note i {
    color: var(--primary-color);
    margin-right: 10px;
}

.departments-section {
    margin: 60px 0;
}

.departments-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.department-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.department-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.department-card p {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.department-card i {
    margin-right: 8px;
    color: var(--primary-color);
}

.location-section {
    margin: 60px 0;
}

.location-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.location-info h4 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.location-info > p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details {
    margin: 30px 0;
}

.location-details h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.location-details ul {
    list-style: none;
}

.location-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details li i {
    color: var(--primary-color);
}

.appointment-cta {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.appointment-cta h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.btn-appointment {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-appointment:hover {
    background-color: #0077b6;
}

.location-map .map-placeholder {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.location-map .map-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-faq {
    margin: 60px 0;
}

.contact-faq h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1500px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container,
    .location-container,
    .country-info,
    .mbbs-info {
        grid-template-columns: 1fr;
    }
    
    .message-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-img {
        margin: 0 auto;
    }
    
    .service-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .filter-options select {
        min-width: 100%;
    }
    
    .country-navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .country-nav-item {
        min-width: 100px;
    }
}


/* 
page frnceee */
/* ============= FRANCHISE PAGE STYLES ============= */

/* Franchise Intro */
.franchise-intro h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.franchise-intro > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Franchise Section */
.franchise-section {
    margin: 60px 0;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Industry Profile */
.industry-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: #e9ecef;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h4 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.industry-highlights {
    margin: 30px 0;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.highlight i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.highlight h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

/* Why I.E.S */
.why-ies-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .why-ies-content {
        grid-template-columns: 1fr;
    }
}

.why-image .image-placeholder {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why-image .image-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.benefit-content h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

/* For Whom */
.candidate-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.candidate-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.candidate-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.candidate-icon {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--primary-color);
}

.candidate-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.candidate-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.candidate-card ul {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.candidate-card li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    position: relative;
    padding-left: 25px;
}

.candidate-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.requirements {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 5px solid var(--secondary-color);
}

.requirement-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: var(--light-color);
    border-radius: 5px;
}

.requirement i {
    color: var(--accent-color);
}




/* Process Flow */
.process-timeline {
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

@media (min-width: 768px) {
    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

@media (min-width: 768px) {
    .process-step:nth-child(odd) {
        flex-direction: row-reverse;
        text-align: right;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0 20px;
    z-index: 1;
}

.step-content {
    flex: 1;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 10px;
}

.step-content h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.support-item {
    text-align: center;
    padding: 25px 15px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.support-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-item h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Franchise Form */
.franchise-inquiry {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.inquiry-header {
    text-align: center;
    margin-bottom: 40px;
}

.inquiry-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.franchise-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .franchise-form .form-row {
        grid-template-columns: 1fr;
    }
}

.franchise-form .form-group {
    margin-bottom: 20px;
}

.franchise-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.franchise-form input,
.franchise-form select,
.franchise-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.franchise-form input:focus,
.franchise-form select:focus,
.franchise-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.franchise-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.franchise-form .checkbox input {
    width: auto;
    margin-top: 5px;
}

.btn-submit-franchise {
    width: 100%;
    background: linear-gradient(135deg, #00AEEF 0%, #0077b6 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-submit-franchise:hover {
    background: linear-gradient(135deg, #0077b6 0%, #00AEEF 100%);
    transform: translateY(-3px);
}

/* FAQ Styles (Specific to franchise page) */
.faq-section .faq-list {
    max-width: 100%;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--light-color);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
    border-radius: 0 0 10px 10px;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1500px;
    border: 1px solid var(--light-color);
    border-top: none;
}

.faq-answer ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 25px;
}

.faq-answer li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .franchise-section {
        padding: 30px 20px;
    }
    
    .section-header h3 {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .industry-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
    
    .candidate-types {
        grid-template-columns: 1fr;
    }
    
    .requirement-list {
        grid-template-columns: 1fr;
    }
    
    .franchise-inquiry {
        padding: 30px 20px;
    }
}



/* eng frnceee */
@media (max-width: 576px) {
    .stats-grid,
    .features-grid,
    .team-grid,
    .departments-grid,
    .specialization-grid {
        grid-template-columns: 1fr;
    }
    
    .country-stats {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    /* MOBILE ONLY: single-column stat cards so the 4-up industry stats fit a
       phone screen (2-up overflowed ~13px at 375px). Desktop/tablet unchanged. */
    .industry-stats {
        grid-template-columns: 1fr;
    }
}
















/* ============= CAREERS PAGE STYLES ============= */

/* Careers Intro */
.careers-intro {
    margin: 40px 0;
    text-align: center;
}

.careers-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.careers-intro > p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Job Filters */
.job-filters {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary-color);
}

.search-box {
    display: flex;
    min-width: 300px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Job Listings */
.job-listings {
    margin: 40px 0;
}

/* ── Job / internship card ────────────────────────────────────────────────────
   Two columns: a tinted meta rail (type badge + department / location / posted) and
   the content. The two actions sit on the TITLE'S line, top right, which is what
   makes the card short -- the old shape spent a full header band and a full footer
   band on six values, so the same content ran roughly twice the height.
   New class names are jc-*: none of them ends in "-card", "-panel" or "-box", so
   none is caught by responsive.css's substring rules (§20.1). .job-card itself does
   match [class*="-card"] and is handled in the mobile block at the end. */
.job-card {
    /* Shared so .detail-head's spacer below is exactly one label line tall and cannot
       drift if the label size changes. */
    --jc-lbl-size: 10.5px;
    --jc-lbl-lh: 1.2;
    --jc-detail-icon: 13px;
    display: flex;
    align-items: stretch;
    background-color: #fff;
    border: 1px solid #e6edf3;
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 42, 67, .05), 0 6px 18px rgba(16, 42, 67, .06);
    margin-bottom: 18px;
    overflow: hidden;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: 0 4px 10px rgba(16, 42, 67, .08), 0 14px 34px rgba(16, 42, 67, .10);
}

/* ---- left rail ---- */
.jc-rail {
    flex: 0 0 232px;
    padding: 20px 22px;
    background-color: #f4f8fb;
    border-right: 1px solid #e6edf3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jc-rail .job-type { align-self: flex-start; }

.jc-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.jc-lbl {
    font-size: var(--jc-lbl-size);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #7d8ea0;
    line-height: var(--jc-lbl-lh);
}

.jc-val {
    font-size: 14px;
    font-weight: 700;
    color: #16273a;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.job-type {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}
/* .job-type.fulltime / .parttime / .internship / .contract / .remote colours live in
   the page's own <style> block -- Careers-only, kept there to avoid a ?v= bump. */

/* ---- right side ---- */
.jc-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 22px;
}

.jc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.jc-head h4 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    color: #14243a;
    text-wrap: balance;
}

.jc-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

/* Clamped so one oversized paste cannot stretch a card past its neighbours. The full
   text is one click away in View Details, which renders the description in its own
   markup (ceBlock) rather than through this class -- so nothing is hidden without a
   path to it. THREE lines, which is a no-op on correctly sized copy: the four job rows
   are 122-197 chars and render in 2 lines at 1440. It is the two internship rows
   holding a whole pasted posting (1455 and 1662 chars, 10 and 12 lines) that clamp. */
.job-description {
    margin: 0 0 13px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #4d6070;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* ---- qualifications / experience / languages ---- */
.job-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    gap: 11px 22px;
    margin: 0 0 13px;
    padding: 0;
    background: none;
    border-radius: 0;
}

/* TOP-aligned, so every cell's label sits on the same line no matter how long the value
   beside it is. The alternative -- equal-width columns so nothing wraps -- cannot work
   here: the longest value ("Undergraduate or postgraduate student") needs 266px on one
   line, while an equal quarter-column is 223px at 1440, 157px at 760 and 62px at 375. It
   would still wrap, and at the narrow end far worse.
   A cell whose data carries no "Label:" prefix still emits an EMPTY .detail-head, so the
   label row is reserved in every cell and the values line up too. Its icon travels with
   the value rather than being left stranded alone on the label line. */
.detail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    min-width: 0;
}

.detail-head {
    display: flex;
    align-items: center;
    gap: 7px;
    /* The label row is reserved in EVERY cell, including the ones whose data carries no
       "Label:" prefix, so the values line up as well as the labels. Sized from the LARGER
       of the icon and the label: a populated head is as tall as its icon (13px), not its
       label (12.6px), so matching the label alone left the empty heads 0.41px short and
       their values a rounded pixel high. */
    min-height: max(var(--jc-detail-icon), calc(var(--jc-lbl-size) * var(--jc-lbl-lh)));
}

.detail-head i,
.detail-solo i {
    width: auto;
    font-size: var(--jc-detail-icon);
    /* Pinned so the icon's line box is exactly its font-size, which is what the empty
       head's min-height below is matched against. */
    line-height: 1;
    color: var(--primary-color);
}

.detail-val {
    padding-left: 20px;           /* icon 13px + gap 7px: value lines up under the label */
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    color: #16273a;
    overflow-wrap: anywhere;
}

/* A detail with no "Label:" prefix in the data has nothing to head it, so icon and
   value sit on one line instead of leaving a stranded icon above the value. */
.detail-solo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    /* Same line box as .detail-val, or this flex row resolves 1px taller than the plain
       block beside it and its text sits a pixel above the labelled values. */
    line-height: 1.4;
    color: #16273a;
    min-width: 0;
}

.detail-solo i { line-height: 1.4; }

/* ---- skills ---- */
.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.skill-tag {
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #dbe5ee;
    border-radius: 6px;
    color: #47596b;
    font-size: 12.5px;
    font-weight: 600;
}

/* ---- actions ----
   One shared box for both buttons: same padding, font, line-height and border box, so
   the filled and outlined variants cannot drift apart in size. font-family: inherit is
   load-bearing -- a <button> takes the UA button face otherwise, and .btn-apply-job is
   an <a> (§20.29). */
.btn-apply-job,
.btn-view-details,
.btn-apply-internship {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-apply-job i,
.btn-view-details i,
.btn-apply-internship i { font-size: 12px; }

.btn-apply-job,
.btn-apply-internship {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-apply-job:hover,
.btn-apply-internship:hover { background-color: #005f92; color: #fff; }

.btn-view-details {
    background-color: #fff;
    color: #14243a;
    border-color: #d3dfe9;
}

.btn-view-details:hover {
    background-color: #f2f7fb;
    border-color: #b9cbd9;
    color: #14243a;
}

/* ---- narrow: the title keeps the row, the actions take their own ----
   Below 900 there is no longer room for a title and two buttons on one line without
   squeezing the title to a couple of words per line, so the actions wrap to a full
   width row of their own directly beneath it and split that row evenly. */
@media (max-width: 900px) {
    .jc-head { flex-wrap: wrap; }
    .jc-actions { flex: 1 1 100%; }
    .jc-actions > * { flex: 1 1 0; min-width: 0; }
}

@media (max-width: 768px) {
    /* responsive.css sets [class*="-card"] { padding: 12px !important } at 768 and 10px
       at 480, which .job-card matches on the literal "-card" (§20.1). That padding insets
       the tinted rail from the card edge and breaks the two-tone block.
       The selector is #current-openings-scoped ON PURPOSE: responsive.css is linked AFTER
       pages.css, so at equal specificity ITS !important wins and a plain .job-card rule
       here is silently ignored -- measured, the card still read padding:12px at 760. An id
       plus a class outranks a single attribute selector, so this one actually applies. */
    #current-openings .job-card {
        flex-direction: column;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    .jc-rail {
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 20px;
        padding: 13px 16px;
        border-right: 0;
        border-bottom: 1px solid #e6edf3;
    }

    .jc-main { padding: 16px; }

    /* responsive.css:294 forces h4 { font-size: 13.5px !important } on bare elements,
       which would render the job title smaller than its own field values. */
    .jc-head h4 { font-size: 18px !important; }

    /* FIVE lines below 768, not three. A correct 197-char description wraps to 5 lines at
       375, so a 3-line clamp there would truncate a healthy row -- worse than the density
       it would save. This width clamps only the oversized ones (32 and 38 lines at 375). */
    .job-description {
        -webkit-line-clamp: 5;
        line-clamp: 5;
    }

    .btn-apply-job,
    .btn-view-details,
    .btn-apply-internship { padding: 10px 12px; }
}


/* Internships Section */
.internship-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.internship-positions h4 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.internship-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.internship-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

/* Pins the button row to the bottom of the card. The grid already stretched all three
   cards to equal height, but the buttons sat directly after the last <p>, so the card
   whose "For:" line fits on one line put its buttons 25.6px above its neighbours'.
   STACKED, not split 50/50, and that is deliberate: an internship card is 370px wide at
   1440 where a job card is 1240px, so half of its 320px content box less the gap is
   152.5px while "Apply for Internship" needs ~174px -- a 50/50 split wraps at 1440 and
   badly at 375 (~100px a side). Stacking full-width is exactly what .job-footer itself
   does at <=992px, so this is the same pattern keyed on card width instead of viewport
   width, not a second design. */
.internship-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.internship-item h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.internship-item p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-color);
}

.internship-item i {
    color: var(--primary-color);
    width: 20px;
}

.internship-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
}

.internship-cta h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.btn-send-cv {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-send-cv:hover {
    background-color: #d34513;
}

/* CV Form */
.cv-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.cv-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .cv-form .form-row {
        grid-template-columns: 1fr;
    }
}

.cv-form .form-group {
    margin-bottom: 20px;
}

.cv-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.cv-form input,
.cv-form select,
.cv-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.cv-form input:focus,
.cv-form select:focus,
.cv-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.cv-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* File Upload */
.file-upload-section {
    margin: 30px 0;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
}

.file-upload-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-upload-box {
    margin-top: 20px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.file-types {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.file-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.file-info button {
    margin-left: auto;
    padding: 6px 12px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Terms Section */
.terms-section {
    margin: 30px 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

/* Submit Button */
.btn-submit-cv {
    background: linear-gradient(135deg, #00AEEF 0%, #0077b6 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
    margin-top: 20px;
}

.btn-submit-cv:hover {
    background: linear-gradient(135deg, #0077b6 0%, #00AEEF 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.3);
}

/* Why Work Section */
.why-work-section .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
}

.benefit-item i {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}


/* ===== APPLICATION PROCESS - MODERN STYLE ===== */
/* ===== RECRUITMENT PROCESS - MODERN STYLE ===== */

.application-process {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    
}

.application-process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.application-process h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Process Steps Grid */
.application-process .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    max-width: 1600;
    margin: 0 auto;
    position: relative;
}

/* Individual Step Card */
.application-process .process-step {
    background: white;
    padding: 35px 25px 25px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    position: relative;
    counter-increment: step-counter;
}

/* Add step numbers */
.application-process .process-steps {
    counter-reset: step-counter;
}

.application-process .process-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
    border: 3px solid white;
    z-index: 10;
}

/* Hover Effect */
.application-process .process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.15);
    border-color: var(--primary-color);
}

/* Step Title - H4 */
.application-process .process-step h4 {
    font-size: 1.3rem;
    margin: 20px 0 15px 0;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: block;
    clear: both;
}

/* Step Description - P */
.application-process .process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin: 10px 0 0 0;
    display: block;
    clear: both;
    font-weight: normal;
}

/* Add a light background or border to separate */
.application-process .process-step p::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gray-color);
    margin: 10px auto 15px auto;
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .application-process {
        padding: 60px 15px;
    }
    
    .application-process h2 {
        font-size: 2rem;
    }
    
    .application-process .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .application-process .process-step {
        padding: 40px 20px 25px;
    }
    
    .application-process .process-step h4 {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .application-process .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation on scroll */
.application-process .process-step {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.application-process .process-step:nth-child(1) { animation-delay: 0.1s; }
.application-process .process-step:nth-child(2) { animation-delay: 0.2s; }
.application-process .process-step:nth-child(3) { animation-delay: 0.3s; }
.application-process .process-step:nth-child(4) { animation-delay: 0.4s; }

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


/* Contact HR */
.contact-hr h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-color);
}

.modal-close:hover {
    color: var(--dark-color);
}

#modalJobContent h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

#modalJobContent h4 {
    color: var(--dark-color);
    margin: 25px 0 15px;
}

#modalJobContent ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#modalJobContent li {
    margin-bottom: 10px;
}

.modal-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-apply-modal {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn-apply-modal:hover {
    background-color: #0077b6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .job-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .modal-content {
        width: 90%;
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .internship-list {
        grid-template-columns: 1fr;
    }
    
    .why-work-section .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .application-process .process-steps {
        grid-template-columns: 1fr;
    }
    
    .application-process .process-steps::before {
        display: none;
    }
    
    .cv-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .filter-buttons {
        justify-content: center;
    }
    
    .internship-benefits {
        grid-template-columns: 1fr;
    }
    
    .contact-details p {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}




















/* =========================================== */
/* ===== TESTIMONIALS SECTION - COMPLETE ===== */
/* =========================================== */

.testimonials {
    padding: 40px 0 30px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.testimonials > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0,119,182,0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,119,182,0.12);
    border-color: var(--primary-color);
}

/* Verified Student Badge */
.testimonial-card::after {
    content: '✓ Verified Student';
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(0,119,182,0.1);
    color: var(--primary-color);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
    opacity: 0.7;
    z-index: 5;
}

/* ===== TESTIMONIAL IMAGES ===== */
.testimonial-img {
    width: 77px;
    height: 77px;
    min-width: 77px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color) !important; /* BLUE for all */
    box-shadow: 0 5px 15px rgba(0,119,182,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-img {
    transform: scale(1.05);
    border-width: 3px;
    border-color: var(--primary-color) !important; /* BLUE on hover */
}

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

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

.testimonial-img i {
    font-size: 2.2rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* ALL IMAGES BORDERS ARE BLUE NOW - REMOVED OTHER COLORS */
/* This overrides any previous color assignments */

/* ===== TESTIMONIAL CONTENT ===== */
.testimonial-content {
    flex: 1;
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    opacity: 0.15;
    margin-bottom: 5px;
}

.testimonial-content p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-author h4 {
    color: #222;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.testimonial-author p {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-style: normal;
}

.rating {
    color: #FFD700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.rating i {
    margin-right: 2px;
}

.testimonial-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 9px 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,119,182,0.2);
}

/* ===== FEATURED TESTIMONIAL (ASER) ===== */
.testimonial-featured {
    position: relative;
    overflow: hidden;
    color: white !important;
    border: none !important;
    padding: 0 !important;
    min-height: 350px;
    grid-column: span 2;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 1;
}

.testimonial-featured:hover .testimonial-bg {
    transform: scale(1.08);
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,119,182,0.85), rgba(0,45,85,0.95));
    z-index: 2;
}

.testimonial-content-wrapper {
    position: relative;
    z-index: 3;
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.testimonial-quote-icon {
    color: rgba(255,255,255,0.2);
    font-size: 3.3rem;
    margin-bottom: 15px;
}

.testimonial-quote-icon i {
    font-size: 3.3rem;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text p {
    color: white !important;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.testimonial-author-info h4 {
    color: white !important;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.testimonial-author-info p {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.testimonial-author-info .rating {
    color: #FFD700;
    font-size: 0.95rem;
}

/* Special style for Aser's card */
.testimonial-card:first-child {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(to right, rgba(0,119,182,0.02), white);
}

/* ===== OUR TEAM SECTION ===== */
.our-team {
    padding: 30px 0 60px 0;
    background: white;
}

.our-team h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.our-team > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        gap: 15px;
    }
    
    .testimonial-featured {
        grid-column: span 1;
    }
    
    .testimonial-content-wrapper {
        padding: 25px;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 30px 0 20px 0;
    }
    
    .testimonials h2 {
        font-size: 1.6rem;
    }
    
    .testimonial-card {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-card::after {
        font-size: 0.6rem;
        padding: 2px 6px;
        bottom: 5px;
        right: 10px;
    }
    
    .testimonial-img {
        width: 88px;
        height: 88px;
        min-width: 88px;
        margin-bottom: 5px;
        border-color: var(--primary-color) !important; /* BLUE on mobile */
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .quote-icon {
        display: none;
    }
    
    .testimonial-cta {
        margin-top: 20px;
    }
    
    .testimonial-content-wrapper {
        padding: 20px;
        min-height: 280px;
    }
    
    .testimonial-text p {
        font-size: 0.95rem;
    }
    
    .our-team {
        padding: 20px 0 40px 0;
    }
}

@media (max-width: 576px) {
    .testimonials {
        padding: 25px 0 15px 0;
    }
    
    .testimonials h2 {
        font-size: 1.4rem;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-img {
        width: 77px;
        height: 77px;
        min-width: 77px;
        border-color: var(--primary-color) !important; /* BLUE on small mobile */
    }
    
    .testimonial-img i {
        font-size: 2rem;
    }
    
    .testimonial-content-wrapper {
        padding: 18px;
    }
    
    .testimonial-quote-icon {
        font-size: 2.2rem;
    }
    
    .testimonial-quote-icon i {
        font-size: 2.2rem;
    }
    
    .testimonial-author-info h4 {
        font-size: 1.2rem;
    }
    
    .our-team {
        padding: 15px 0 30px 0;
    }
}


/* Hero + catalogue design system (.ch-* / .ccx-* / .tah-modal-*) MOVED to css/browse-catalog.css
   (the single source shared by pages/courses.html + the student/counselor/ambassador portal browse
   pages, so the four surfaces can never drift). Edit catalogue styling there. */
