/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header-top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 0;
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e3c72;
}

.org-name h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
}

/* Navigation */
.main-nav {
    background: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.nav-menu li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #094872;
}



/* Section Styles */
.section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #3498db;
}

/* Home Grid Layout */
.home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Make cards equal height */
.home-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.home-card:hover {
    transform: translateY(-5px);
}

.home-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-card .read-more-link,
.home-card .org-toggle {
    margin-top: auto;
}

.card-icon {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 20px;
}

.home-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 20px;
}



.history-list {
    list-style: none;
    margin-top: 15px;
}

.history-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #3498db;
    width: 20px;
}

/* Organogram */
.org-chart {
    text-align: center;
}

.org-level {
    padding: 15px;
    margin: 10px 0;
    background: #f0f4f8;
    border-radius: 5px;
    font-weight: bold;
}

.level-1 {
    background: #1e3c72;
    color: white;
}

.level-2 {
    background: #2a5298;
    color: white;
}

.level-3 {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.level-3 span {
    flex: 1;
    padding: 10px;
    background: #e9ecef;
    border-radius: 5px;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.program-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.program-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.program-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 22px;
}

.program-features {
    list-style: none;
    margin: 20px 0;
}

.program-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.fair-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Careers Grid */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.career-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.career-category:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.career-category h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 24px;
}

.career-list {
    list-style: none;
    margin-bottom: 20px;
}

.career-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.career-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Role Models Grid */
.role-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.role-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.role-category h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-card {
    text-align: center;
    margin-bottom: 20px;
}

.role-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #3498db;
}

.role-card h4 {
    color: #1e3c72;
    margin-bottom: 5px;
}

.role-card .quote {
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.product-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.product-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.product-features span {
    background: #f0f4f8;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.btn-subscribe {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-subscribe:hover {
    background: #2980b9;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.partner-card h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.partner-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
}

/* Buttons and Links */
.read-more, .view-full, .explore-link, .btn-learn {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover, .view-full:hover, .explore-link:hover, .btn-learn:hover {
    color: #1e3c72;
}

.view-all {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
footer {
    background: #1e3c72;
    color: white;
    padding-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu li a {
        padding: 10px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .org-name h1 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .home-grid,
    .programs-grid,
    .careers-grid,
    .role-models-grid,
    .products-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .level-3 {
        flex-direction: column;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}

/* Foreword Styling */
.foreword-preview {
    margin: 15px 0;
    line-height: 1.6;
}

.foreword-preview p {
    margin-bottom: 10px;
    color: #555;
}

.foreword-preview .signature-line {
    font-style: italic;
    color: #1e3c72;
    margin-top: 15px;
    font-weight: 500;
}

.foreword-full {
    margin: 15px 0;
    animation: fadeIn 0.5s ease-out;
}

.foreword-full p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.foreword-signature {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid #3498db;
}

.signature-name {
    font-weight: bold;
    color: #1e3c72;
    font-size: 18px;
    margin-bottom: 5px;
}

.signature-title {
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

.read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    background-color: #f0f8ff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateX(5px);
}

/* History Section Styling */
.history-preview {
    margin: 15px 0;
    line-height: 1.6;
}

.history-preview p {
    margin-bottom: 10px;
    color: #555;
}

.history-preview .signature-line {
    font-style: italic;
    color: #1e3c72;
    margin-top: 15px;
    font-weight: 500;
}

.history-full {
    margin: 15px 0;
    animation: fadeIn 0.5s ease-out;
}

.history-full p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

.history-list {
    list-style: none;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.history-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #1e3c72;
}

.history-list li:last-child {
    border-bottom: none;
}

.history-list li strong {
    color: #3498db;
    margin-right: 10px;
}

.history-read-more {
    margin-top: 15px;
}

/* Program Card Styling */
.program-preview {
    margin: 15px 0;
    line-height: 1.6;
}

.program-preview p {
    margin-bottom: 15px;
    color: #555;
}

.program-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.stat-badge {
    background: #f0f4f8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #1e3c72;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stat-badge i {
    color: #3498db;
}

.program-full {
    margin: 15px 0;
    animation: fadeIn 0.5s ease-out;
}

.program-full p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* Program Images Gallery */
.program-images {
    margin: 25px 0 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.program-images h4 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.img-caption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Program Features */
.program-features {
    list-style: none;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.program-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.program-features li:last-child {
    border-bottom: none;
}

.program-features i {
    color: #3498db;
    font-size: 16px;
}

/* Read More Link */
.program-read-more {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    background-color: #f0f8ff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.program-read-more:hover {
    background-color: #3498db;
    color: white;
    transform: translateX(5px);
}

/* Fair and Resource Details */
.fair-details, .resource-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.fair-details p, .resource-details p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fair-details i, .resource-details i {
    color: #3498db;
    width: 20px;
}

/* Program Steps Styling */
.preview-steps {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.preview-steps li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.preview-steps i {
    color: #3498db;
    font-size: 14px;
}

.program-steps {
    margin: 20px 0;
    padding-left: 20px;
}

.program-steps li {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
}

.program-steps li strong {
    color: #1e3c72;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.program-steps li ul {
    margin-top: 10px;
    margin-left: 20px;
    list-style-type: disc;
}

.program-steps li ul li {
    margin-bottom: 5px;
    color: #666;
}

.important-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.important-note p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
}

.important-note i {
    font-size: 20px;
    color: #856404;
}

/* Schools Gallery Section */
.schools-gallery-section {
    margin-top: 0;
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
    animation: pulse 3s infinite;
}

.gallery-title {
    font-size: 32px;
    margin-bottom: 25px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
}

.gallery-badge {
    background: #1e3c72;
    font-size: 14px;
    padding: 5px 15px;
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* Schools Grid */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.school-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.school-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.school-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.school-card:hover .school-image {
    transform: scale(1.1);
}

.school-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px 15px;
}

.visit-date {
    font-size: 14px;
    margin: 0;
}

.visit-date i {
    margin-right: 5px;
}

.school-info {
    padding: 20px;
}

.school-info h4 {
    color: #1e3c72;
    margin-bottom: 8px;
    font-size: 18px;
}

.school-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.school-location i {
    color: #3498db;
}

.school-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.school-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.school-stats i {
    color: #3498db;
}

/* Gallery Preview */
.school-gallery-preview {
    display: flex;
    gap: 8px;
    align-items: center;
}

.school-gallery-preview img {
    width: 150px;   /* increase width */
    height: auto;   /* keep aspect ratio */
    max-height: 120px; /* optional to prevent very tall images */
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.school-gallery-preview img:hover {
    transform: scale(1.1);
    border-color: #3498db;
}

.more-photos {
    width: 50px;
    height: 50px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #1e3c72;
    cursor: pointer;
}

/* View All Button */
.view-all-schools {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #1e3c72;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.btn-view-all:hover {
    background: #3498db;
    transform: translateY(-2px);
}

/* Lightbox Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image-container {
    max-width: 100%;
    max-height: 80vh;
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.modal-prev, .modal-next {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover, .modal-next:hover {
    background: rgba(255,255,255,0.4);
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #3498db;
}

/* Enhanced Modal Caption */
.modal-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.6);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.modal-caption strong {
    color: #3498db;
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

/* Image counter in modal */
.modal-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* Hover effect for gallery preview images */
.school-gallery-preview img {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.school-gallery-preview img:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

/* "More photos" badge */
.more-photos {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.more-photos:hover {
    background: #1e3c72;
}

/* Organogram Styling */
.org-preview {
    text-align: center;
    padding: 15px;
}

.org-arrow {
    font-size: 20px;
    color: #3498db;
    margin: 5px 0;
}

.org-note {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

.org-note i {
    color: #3498db;
}

/* Full Organogram Tree */
.org-full {
    padding: 15px;
    animation: fadeIn 0.5s ease-out;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.org-node {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    min-width: 180px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.org-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.org-position {
    font-size: 14px;
    font-weight: 600;
    color: #1e3c72;
    line-height: 1.4;
}

/* Special styling for different levels */
.board .org-position {
    background: #1e3c72;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin: -10px;
}

.executive .org-position {
    background: #2a5298;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin: -10px;
}

.director .org-position {
    background: #3498db;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin: -10px;
}

.volunteer .org-position {
    background: #27ae60;
    color: white;
    padding: 8px;
    border-radius: 6px;
    margin: -10px;
}

.org-connector {
    font-size: 20px;
    color: #3498db;
    margin: 5px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* Toggle link styling */
.org-toggle {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: #f0f8ff;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.org-toggle:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
}

/* Add a "Featured" ribbon */
.schools-gallery-section::before {
    content: '📸 Latest Updates';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #e74c3c;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Responsive adjustments for organogram */
@media (max-width: 768px) {
    .org-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .org-node {
        min-width: 150px;
        width: 100%;
        max-width: 250px;
    }
    
    .org-connector {
        flex-direction: column;
        gap: 5px;
    }
    
    .org-connector span {
        transform: rotate(90deg);
    }
}

/* ===== EXPANDED CARD STYLES (FULL SCREEN) ===== */

/* Full-screen expanded card */
.home-card.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: white !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    padding: 40px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}

/* Body state when expanded */
body.card-expanded {
    overflow: hidden !important;
}

/* Hide all other content when expanded */
body.card-expanded header,
body.card-expanded .main-nav,
body.card-expanded footer,
body.card-expanded .section:not(.home-card.expanded) {
    display: none !important;
}

/* Close button - ONLY appears inside expanded cards */
.home-card.expanded .expanded-close {
    position: fixed !important;
    top: 20px !important;
    right: 30px !important;
    background: #3498db !important;
    color: white !important;
    border: none !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    font-size: 32px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    transition: all 0.3s !important;
    z-index: 1000000 !important;
}

.home-card.expanded .expanded-close:hover {
    background: #e74c3c !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Expanded card content */
.home-card.expanded .card-content {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    background: white !important;
    color: #333 !important;
    display: block !important;
}

.home-card.expanded h3 {
    font-size: 36px !important;
    margin-bottom: 30px !important;
    color: #1e3c72 !important;
    border-bottom: 4px solid #3498db !important;
    padding-bottom: 15px !important;
    display: block !important;
}

.home-card.expanded .card-img {
    width: 250px !important;
    height: 250px !important;
    border-radius: 50% !important;
    float: left !important;
    margin: 0 40px 20px 0 !important;
    shape-outside: circle() !important;
    border: 5px solid #3498db !important;
    display: block !important;
}

.home-card.expanded .foreword-full,
.home-card.expanded .history-full {
    display: block !important;
    background: white !important;
    color: #333 !important;
}

.home-card.expanded .foreword-full p,
.home-card.expanded .history-full p {
    font-size: 18px !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    color: #333 !important;
    display: block !important;
}

.home-card.expanded .foreword-signature {
    clear: both !important;
    text-align: right !important;
    margin-top: 50px !important;
    padding: 30px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 15px !important;
    border-left: 6px solid #3498db !important;
    display: block !important;
}

.home-card.expanded .history-list {
    margin: 30px 0 !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 12px !important;
    display: block !important;
}

.home-card.expanded .history-list li {
    font-size: 18px !important;
    padding: 12px 0 !important;
    display: block !important;
}

/* Custom scrollbar */
.home-card.expanded::-webkit-scrollbar {
    width: 8px;
}

.home-card.expanded::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.home-card.expanded::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
}

.home-card.expanded::-webkit-scrollbar-thumb:hover {
    background: #1e3c72;
}

/* Animation */
@keyframes fadeInExpand {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1); }
    50% { box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3); }
    100% { box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1); }
}

/* Mobile responsive for expanded cards */
@media (max-width: 768px) {
    .home-card.expanded {
        padding: 20px !important;
    }
    
    .home-card.expanded h3 {
        font-size: 28px !important;
    }
    
    .home-card.expanded .card-img {
        width: 180px !important;
        height: 180px !important;
        float: none !important;
        display: block !important;
        margin: 0 auto 30px !important;
    }
    
    .home-card.expanded .foreword-full p,
    .home-card.expanded .history-full p {
        font-size: 16px !important;
    }
    
    .home-card.expanded .expanded-close {
        top: 10px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 28px !important;
    }
}

/* Make the nav bar fixed */
.main-nav {
    position: fixed; /* fixes it to the viewport */
    top: 0;          /* sticks it to the top */
    left: 0;
    width: 100%;     /* full width */
    background-color: #1e3c72; /* optional: ensure it has a background */
    z-index: 9999;   /* make sure it stays above other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optional shadow for depth */
}
/* Adjust for fixed header/nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Push content down so header doesn't overlap */
main {
    margin-top: 180px; /* Increase this slightly if logo is still hidden */
}

.gallery-caption {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 15px 0 10px 0;
    text-align: left; /* optional */
    color: #333;
}

.school-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.school-gallery-preview img {
    width: 100px; /* adjust size */
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
}

/* limit preview gallery images */
.school-gallery-preview img {
    display: none;
}

/* show only first 3 images initially */
.school-gallery-preview img:nth-child(-n+3) {
    display: block;
}

/* when expanded show everything */
.school-gallery-preview.expanded img {
    display: block;
}

/* style for see more */
.more-photos {
    cursor: pointer;
    color: #cddae7;
    font-weight: bold;
}

/* FULLSCREEN IMAGE VIEWER */
.image-viewer{
    display:none;
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    justify-content:center;
    align-items:center;
}

.image-viewer img{
    max-width:90%;
    max-height:85%;
    border-radius:6px;
}

/* close button */
.close-viewer{
    position:absolute;
    top:20px;
    right:40px;
    color:white;
    font-size:40px;
    cursor:pointer;
}

/* navigation buttons */
.viewer-controls{
    position:absolute;
    width:100%;
    display:flex;
    justify-content:space-between;
    top:50%;
}

.viewer-controls button{
    background:rgba(255,255,255,0.3);
    border:none;
    color:white;
    font-size:40px;
    padding:10px 20px;
    cursor:pointer;
}

/* ===== UPDATED CAREERS SECTION STYLES ===== */

/* Careers Grid - matches your existing grid pattern */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Career Category Cards - matches your program-card style */
.career-category {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: fit-content;
}

.career-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Expanded Category (Accounting & Financial) */
.career-category.expanded-category {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #3498db;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

.career-category.expanded-category::before {
    content: '📊 Featured Career Path';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #e74c3c;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Category Icons */
.category-icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.expanded-category .category-icon {
    color: #1e3c72;
}

/* Category Headings */
.career-category h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.expanded-category h3 {
    font-size: 32px;
    color: #1e3c72;
    border-bottom: 3px solid #3498db;
    margin-bottom: 30px;
}

/* Career List - for simple categories */
.career-list {
    list-style: none;
    margin-bottom: 20px;
}

.career-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
    color: #555;
    transition: padding-left 0.3s;
}

.career-list li:hover {
    padding-left: 30px;
    color: #1e3c72;
}

.career-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Detailed Career List - for expanded category */
.career-list.detailed {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 20px;
    margin-bottom: 30px;
}

/* Custom scrollbar for detailed list */
.career-list.detailed::-webkit-scrollbar {
    width: 8px;
}

.career-list.detailed::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.career-list.detailed::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
}

.career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #1e3c72;
}

/* Career Items in detailed list */
.career-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s, box-shadow 0.3s;
}

.career-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.expanded-category .career-item {
    background: white;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.career-item h4 {
    color: #1e3c72;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.career-item p {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Stats badges - matching your program stats */
.career-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.stat-badge {
    background: #f0f4f8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #1e3c72;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stat-badge i {
    color: #3498db;
}

/* Explore Link - matches your read-more style */
.explore-link {
    display: inline-block;
    margin-top: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 20px;
    background-color: #f0f8ff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.explore-link:hover {
    background-color: #3498db;
    color: white;
    transform: translateX(5px);
}

.expanded-category .explore-link {
    background-color: #1e3c72;
    color: white;
    padding: 10px 30px;
    font-size: 16px;
}

.expanded-category .explore-link:hover {
    background-color: #3498db;
    transform: translateX(5px);
}

/* Career Category Note */
.career-note {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 5px;
}

.career-note i {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 992px) {
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .careers-grid {
        grid-template-columns: 1fr;
    }
    
    .career-category.expanded-category {
        padding: 25px;
    }
    
    .expanded-category h3 {
        font-size: 24px;
    }
    
    .career-item {
        padding: 15px;
    }
    
    .career-item h4 {
        font-size: 18px;
    }
    
    .career-item p {
        font-size: 14px;
    }
    
    .career-category.expanded-category::before {
        font-size: 12px;
        padding: 5px 30px;
        top: 15px;
        right: -30px;
    }
}

/* Animation for career items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.career-item {
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

/* Stagger animation for career items */
.career-item:nth-child(1) { animation-delay: 0.1s; }
.career-item:nth-child(2) { animation-delay: 0.2s; }
.career-item:nth-child(3) { animation-delay: 0.3s; }
.career-item:nth-child(4) { animation-delay: 0.4s; }
.career-item:nth-child(5) { animation-delay: 0.5s; }
.career-item:nth-child(6) { animation-delay: 0.6s; }
.career-item:nth-child(7) { animation-delay: 0.7s; }
.career-item:nth-child(8) { animation-delay: 0.8s; }
.career-item:nth-child(9) { animation-delay: 0.9s; }
.career-item:nth-child(10) { animation-delay: 1s; }
.career-item:nth-child(11) { animation-delay: 1.1s; }
.career-item:nth-child(12) { animation-delay: 1.2s; }
.career-item:nth-child(13) { animation-delay: 1.3s; }
.career-item:nth-child(14) { animation-delay: 1.4s; }
.career-item:nth-child(15) { animation-delay: 1.5s; }
.career-item:nth-child(16) { animation-delay: 1.6s; }
.career-item:nth-child(17) { animation-delay: 1.7s; }
.career-item:nth-child(18) { animation-delay: 1.8s; }
.career-item:nth-child(19) { animation-delay: 1.9s; }
.career-item:nth-child(20) { animation-delay: 2s; }
.career-item:nth-child(21) { animation-delay: 2.1s; }
.career-item:nth-child(22) { animation-delay: 2.2s; }

/* Print styles */
@media print {
    .career-category {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .career-list.detailed {
        max-height: none;
        overflow: visible;
    }
    
    .explore-link {
        display: none;
    }
}

/* Additional styles for Administrative Support Careers */
.career-category.expanded-category:nth-of-type(2)::before {
    content: '📋 Administrative Support';
    background: #27ae60; /* Green color to differentiate from Accounting's red */
}

.career-category.expanded-category:nth-of-type(2) .category-icon {
    color: #27ae60;
}

.career-category.expanded-category:nth-of-type(2) h3 {
    border-bottom-color: #27ae60;
}

.career-category.expanded-category:nth-of-type(2) .career-item {
    border-left-color: #27ae60;
}

.career-category.expanded-category:nth-of-type(2) .career-item:hover {
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

.career-category.expanded-category:nth-of-type(2) .explore-link {
    background-color: #27ae60;
}

.career-category.expanded-category:nth-of-type(2) .explore-link:hover {
    background-color: #1e8449;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(2) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #27ae60;
}

.career-category.expanded-category:nth-of-type(2) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #1e8449;
}

/* Stats badges for administrative careers */
.career-category.expanded-category:nth-of-type(2) .stat-badge i {
    color: #27ae60;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .career-category.expanded-category:nth-of-type(2)::before {
        font-size: 12px;
        padding: 5px 30px;
    }
}

/* Additional styles for Agricultural Careers */
.career-category.expanded-category .agricultural::before,
.career-category.expanded-category:nth-of-type(3)::before {
    content: '🌱 Agriculture & Farming';
    background: #f39c12; /* Orange color to differentiate from Accounting (red) and Admin (green) */
}

.career-category.expanded-category:nth-of-type(3) .category-icon {
    color: #f39c12;
}

.career-category.expanded-category:nth-of-type(3) h3 {
    border-bottom-color: #f39c12;
}

.career-category.expanded-category:nth-of-type(3) .career-item {
    border-left-color: #f39c12;
}

.career-category.expanded-category:nth-of-type(3) .career-item:hover {
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
}

.career-category.expanded-category:nth-of-type(3) .explore-link {
    background-color: #f39c12;
    color: #1e3c72;
}

.career-category.expanded-category:nth-of-type(3) .explore-link:hover {
    background-color: #e67e22;
    color: white;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(3) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #f39c12;
}

.career-category.expanded-category:nth-of-type(3) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* Stats badges for agricultural careers */
.career-category.expanded-category:nth-of-type(3) .stat-badge i {
    color: #f39c12;
}

/* Additional styles for Construction Careers */
.career-category.expanded-category:nth-of-type(4)::before {
    content: '🏗️ Construction & Trades';
    background: #e74c3c; /* Red color to differentiate from others */
}

.career-category.expanded-category:nth-of-type(4) .category-icon {
    color: #e74c3c;
}

.career-category.expanded-category:nth-of-type(4) h3 {
    border-bottom-color: #e74c3c;
}

.career-category.expanded-category:nth-of-type(4) .career-item {
    border-left-color: #e74c3c;
}

.career-category.expanded-category:nth-of-type(4) .career-item:hover {
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.career-category.expanded-category:nth-of-type(4) .explore-link {
    background-color: #e74c3c;
    color: white;
}

.career-category.expanded-category:nth-of-type(4) .explore-link:hover {
    background-color: #c0392b;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(4) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #e74c3c;
}

.career-category.expanded-category:nth-of-type(4) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}

/* Stats badges for construction careers */
.career-category.expanded-category:nth-of-type(4) .stat-badge i {
    color: #e74c3c;
}

/* Optional: Add a construction-themed pattern to the background */
.career-category.expanded-category:nth-of-type(4) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 3px solid #e74c3c;
}

/* Additional styles for Creative Careers */
.career-category.expanded-category:nth-of-type(5)::before {
    content: '🎨 Creative Arts & Media';
    background: #9b59b6; /* Purple color to differentiate from others */
}

.career-category.expanded-category:nth-of-type(5) .category-icon {
    color: #9b59b6;
}

.career-category.expanded-category:nth-of-type(5) h3 {
    border-bottom-color: #9b59b6;
}

.career-category.expanded-category:nth-of-type(5) .career-item {
    border-left-color: #9b59b6;
    background: linear-gradient(to right, #ffffff, #f8f0ff);
}

.career-category.expanded-category:nth-of-type(5) .career-item:hover {
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.2);
    background: linear-gradient(to right, #ffffff, #f3e5ff);
}

.career-category.expanded-category:nth-of-type(5) .explore-link {
    background-color: #9b59b6;
    color: white;
}

.career-category.expanded-category:nth-of-type(5) .explore-link:hover {
    background-color: #8e44ad;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(5) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #9b59b6;
}

.career-category.expanded-category:nth-of-type(5) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #8e44ad;
}

/* Stats badges for creative careers */
.career-category.expanded-category:nth-of-type(5) .stat-badge i {
    color: #9b59b6;
}

/* Optional: Add a creative pattern to the background */
.career-category.expanded-category:nth-of-type(5) {
    background: linear-gradient(135deg, #fcf4ff 0%, #ffffff 100%);
    border-top: 3px solid #9b59b6;
}

/* Add some artistic flair to creative career items */
.career-category.expanded-category:nth-of-type(5) .career-item h4 {
    color: #8e44ad;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.career-category.expanded-category:nth-of-type(5) .career-item p {
    font-style: italic;
}

/* Additional styles for Education and Teaching Careers */
.career-category.expanded-category:nth-of-type(6)::before {
    content: '📚 Education & Teaching';
    background: #1abc9c; /* Turquoise color to differentiate from others */
}

.career-category.expanded-category:nth-of-type(6) .category-icon {
    color: #1abc9c;
}

.career-category.expanded-category:nth-of-type(6) h3 {
    border-bottom-color: #1abc9c;
}

.career-category.expanded-category:nth-of-type(6) .career-item {
    border-left-color: #1abc9c;
    background: linear-gradient(to right, #ffffff, #f0f9f7);
}

.career-category.expanded-category:nth-of-type(6) .career-item:hover {
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.2);
    background: linear-gradient(to right, #ffffff, #e6f3f0);
}

.career-category.expanded-category:nth-of-type(6) .explore-link {
    background-color: #1abc9c;
    color: white;
}

.career-category.expanded-category:nth-of-type(6) .explore-link:hover {
    background-color: #16a085;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(6) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #1abc9c;
}

.career-category.expanded-category:nth-of-type(6) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #16a085;
}

/* Stats badges for education careers */
.career-category.expanded-category:nth-of-type(6) .stat-badge i {
    color: #1abc9c;
}

/* Career subcategories styling */
.career-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
}

.subcategory-tag {
    background: #f0f4f8;
    color: #1e3c72;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.subcategory-tag:hover {
    background: #1abc9c;
    color: white;
    transform: translateY(-2px);
}

/* Optional: Add a scholarly pattern to the background */
.career-category.expanded-category:nth-of-type(6) {
    background: linear-gradient(135deg, #f0f9f7 0%, #ffffff 100%);
    border-top: 3px solid #1abc9c;
}

/* Add some academic flair to education career items */
.career-category.expanded-category:nth-of-type(6) .career-item h4 {
    color: #16a085;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(6) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Qualification badges */
.qualification-badge {
    display: inline-block;
    background: #1abc9c;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 5px;
    margin-top: 8px;
}

/* Additional styles for Healthcare Careers */
.career-category.expanded-category:nth-of-type(7)::before {
    content: '🏥 Healthcare & Medicine';
    background: #e67e22; /* Orange color to differentiate from others */
}

.career-category.expanded-category:nth-of-type(7) .category-icon {
    color: #e67e22;
}

.career-category.expanded-category:nth-of-type(7) h3 {
    border-bottom-color: #e67e22;
}

.career-category.expanded-category:nth-of-type(7) .career-item {
    border-left-color: #e67e22;
    background: linear-gradient(to right, #ffffff, #fff4e6);
}

.career-category.expanded-category:nth-of-type(7) .career-item:hover {
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
    background: linear-gradient(to right, #ffffff, #ffedd9);
}

.career-category.expanded-category:nth-of-type(7) .explore-link {
    background-color: #e67e22;
    color: white;
}

.career-category.expanded-category:nth-of-type(7) .explore-link:hover {
    background-color: #d35400;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(7) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #e67e22;
}

.career-category.expanded-category:nth-of-type(7) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

/* Stats badges for healthcare careers */
.career-category.expanded-category:nth-of-type(7) .stat-badge i {
    color: #e67e22;
}

/* Healthcare institution tags */
.healthcare-institution {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 5px;
    margin-top: 8px;
}

/* Optional: Add a medical pattern to the background */
.career-category.expanded-category:nth-of-type(7) {
    background: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
    border-top: 3px solid #e67e22;
}

/* Add some healthcare flair to career items */
.career-category.expanded-category:nth-of-type(7) .career-item h4 {
    color: #d35400;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(7) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Additional styles for IT & Telecommunication Careers */
.career-category.expanded-category:nth-of-type(8)::before {
    content: '💻 IT & Telecommunications';
    background: #3498db; /* Bright blue for technology */
}

.career-category.expanded-category:nth-of-type(8) .category-icon {
    color: #3498db;
}

.career-category.expanded-category:nth-of-type(8) h3 {
    border-bottom-color: #3498db;
}

.career-category.expanded-category:nth-of-type(8) .career-item {
    border-left-color: #3498db;
    background: linear-gradient(to right, #ffffff, #ebf5ff);
}

.career-category.expanded-category:nth-of-type(8) .career-item:hover {
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
    background: linear-gradient(to right, #ffffff, #d4e6ff);
}

.career-category.expanded-category:nth-of-type(8) .explore-link {
    background-color: #3498db;
    color: white;
}

.career-category.expanded-category:nth-of-type(8) .explore-link:hover {
    background-color: #2980b9;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(8) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #3498db;
}

.career-category.expanded-category:nth-of-type(8) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Stats badges for IT careers */
.career-category.expanded-category:nth-of-type(8) .stat-badge i {
    color: #3498db;
}

/* Optional: Add a technology pattern to the background */
.career-category.expanded-category:nth-of-type(8) {
    background: linear-gradient(135deg, #ebf5ff 0%, #ffffff 100%);
    border-top: 3px solid #3498db;
}

/* Add tech flair to career items */
.career-category.expanded-category:nth-of-type(8) .career-item h4 {
    color: #2980b9;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(8) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Code snippet styling for tech careers */
.code-badge {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    font-family: 'Courier New', monospace;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 5px;
}

/* Additional styles for Legal Careers */
.career-category.expanded-category:nth-of-type(9)::before {
    content: '⚖️ Legal & Justice';
    background: #8e44ad; /* Deep purple for legal/justice theme */
}

.career-category.expanded-category:nth-of-type(9) .category-icon {
    color: #8e44ad;
}

.career-category.expanded-category:nth-of-type(9) h3 {
    border-bottom-color: #8e44ad;
}

.career-category.expanded-category:nth-of-type(9) .career-item {
    border-left-color: #8e44ad;
    background: linear-gradient(to right, #ffffff, #f8f0ff);
}

.career-category.expanded-category:nth-of-type(9) .career-item:hover {
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.2);
    background: linear-gradient(to right, #ffffff, #f3e5ff);
}

.career-category.expanded-category:nth-of-type(9) .explore-link {
    background-color: #8e44ad;
    color: white;
}

.career-category.expanded-category:nth-of-type(9) .explore-link:hover {
    background-color: #732d91;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(9) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #8e44ad;
}

.career-category.expanded-category:nth-of-type(9) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #732d91;
}

/* Stats badges for legal careers */
.career-category.expanded-category:nth-of-type(9) .stat-badge i {
    color: #8e44ad;
}

/* Judicial hierarchy styling */
.judicial-hierarchy {
    background: rgba(142, 68, 173, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px dashed #8e44ad;
}

/* Optional: Add a legal pattern to the background */
.career-category.expanded-category:nth-of-type(9) {
    background: linear-gradient(135deg, #f8f0ff 0%, #ffffff 100%);
    border-top: 3px solid #8e44ad;
}

/* Add legal flair to career items */
.career-category.expanded-category:nth-of-type(9) .career-item h4 {
    color: #732d91;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(9) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Legal institution badges */
.legal-institution {
    display: inline-block;
    background: #8e44ad;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin: 3px;
}

/* Court level indicators */
.court-level {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.court-level:last-child {
    border-bottom: none;
}

.court-level i {
    color: #8e44ad;
    width: 20px;
}

/* Additional styles for Medical Sciences Careers */
.career-category.expanded-category:nth-of-type(10)::before {
    content: '🔬 Medical Sciences';
    background: #16a085; /* Teal color to differentiate from Healthcare (orange) */
}

.career-category.expanded-category:nth-of-type(10) .category-icon {
    color: #16a085;
}

.career-category.expanded-category:nth-of-type(10) h3 {
    border-bottom-color: #16a085;
}

.career-category.expanded-category:nth-of-type(10) .career-item {
    border-left-color: #16a085;
    background: linear-gradient(to right, #ffffff, #e8f8f5);
}

.career-category.expanded-category:nth-of-type(10) .career-item:hover {
    box-shadow: 0 5px 15px rgba(22, 160, 133, 0.2);
    background: linear-gradient(to right, #ffffff, #d0f0ea);
}

.career-category.expanded-category:nth-of-type(10) .explore-link {
    background-color: #16a085;
    color: white;
}

.career-category.expanded-category:nth-of-type(10) .explore-link:hover {
    background-color: #0e7c66;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(10) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #16a085;
}

.career-category.expanded-category:nth-of-type(10) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #0e7c66;
}

/* Stats badges for medical sciences careers */
.career-category.expanded-category:nth-of-type(10) .stat-badge i {
    color: #16a085;
}

/* Optional: Add a scientific pattern to the background */
.career-category.expanded-category:nth-of-type(10) {
    background: linear-gradient(135deg, #e8f8f5 0%, #ffffff 100%);
    border-top: 3px solid #16a085;
}

/* Add medical science flair to career items */
.career-category.expanded-category:nth-of-type(10) .career-item h4 {
    color: #0e7c66;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(10) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Imaging specialty tags */
.imaging-specialty {
    display: inline-block;
    background: #16a085;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 5px;
    margin-top: 8px;
}

/* Equipment icons for visual appeal */
.med-equipment {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    color: #16a085;
    font-size: 20px;
}

.med-equipment i {
    background: #e8f8f5;
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s;
}

.med-equipment i:hover {
    background: #16a085;
    color: white;
    transform: scale(1.1);
}

/* Additional styles for Repair and Maintenance Careers */
.career-category.expanded-category:nth-of-type(12)::before {
    content: '🔧 Repair & Maintenance';
    background: #f39c12; /* Orange/yellow for tools/maintenance */
}

.career-category.expanded-category:nth-of-type(12) .category-icon {
    color: #f39c12;
}

.career-category.expanded-category:nth-of-type(12) h3 {
    border-bottom-color: #f39c12;
}

.career-category.expanded-category:nth-of-type(12) .career-item {
    border-left-color: #f39c12;
    background: linear-gradient(to right, #ffffff, #fff4e0);
}

.career-category.expanded-category:nth-of-type(12) .career-item:hover {
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.2);
    background: linear-gradient(to right, #ffffff, #ffebcc);
}

.career-category.expanded-category:nth-of-type(12) .explore-link {
    background-color: #f39c12;
    color: white;
}

.career-category.expanded-category:nth-of-type(12) .explore-link:hover {
    background-color: #e67e22;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(12) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #f39c12;
}

.career-category.expanded-category:nth-of-type(12) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* Stats badges for repair careers */
.career-category.expanded-category:nth-of-type(12) .stat-badge i {
    color: #f39c12;
}

/* Optional: Add a tools pattern to the background */
.career-category.expanded-category:nth-of-type(12) {
    background: linear-gradient(135deg, #fff4e0 0%, #ffffff 100%);
    border-top: 3px solid #f39c12;
}

/* Add repair flair to career items */
.career-category.expanded-category:nth-of-type(12) .career-item h4 {
    color: #e67e22;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(12) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Tool badges for specializations */
.tool-badge {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 5px;
    margin-top: 8px;
}

/* Equipment icons row */
.equipment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    color: #f39c12;
}

.equipment-row i {
    font-size: 20px;
    background: #fff4e0;
    padding: 8px;
    border-radius: 5px;
}

/* Additional styles for Sales and Marketing Careers */
.career-category.expanded-category:nth-of-type(13)::before {
    content: '📈 Sales & Marketing';
    background: #e67e22; /* Orange for sales/marketing */
}

.career-category.expanded-category:nth-of-type(13) .category-icon {
    color: #e67e22;
}

.career-category.expanded-category:nth-of-type(13) h3 {
    border-bottom-color: #e67e22;
}

.career-category.expanded-category:nth-of-type(13) .career-item {
    border-left-color: #e67e22;
    background: linear-gradient(to right, #ffffff, #fff1e0);
}

.career-category.expanded-category:nth-of-type(13) .career-item:hover {
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
    background: linear-gradient(to right, #ffffff, #ffe4cc);
}

.career-category.expanded-category:nth-of-type(13) .explore-link {
    background-color: #e67e22;
    color: white;
}

.career-category.expanded-category:nth-of-type(13) .explore-link:hover {
    background-color: #d35400;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(13) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #e67e22;
}

.career-category.expanded-category:nth-of-type(13) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #d35400;
}

/* Stats badges for sales careers */
.career-category.expanded-category:nth-of-type(13) .stat-badge i {
    color: #e67e22;
}

/* Optional: Add a marketing pattern to the background */
.career-category.expanded-category:nth-of-type(13) {
    background: linear-gradient(135deg, #fff1e0 0%, #ffffff 100%);
    border-top: 3px solid #e67e22;
}

/* Add sales flair to career items */
.career-category.expanded-category:nth-of-type(13) .career-item h4 {
    color: #d35400;
    font-weight: 600;
}

.career-category.expanded-category:nth-of-type(13) .career-item p {
    font-size: 15px;
    line-height: 1.7;
}

/* Marketing specialization tags */
.marketing-tag {
    display: inline-block;
    background: #e67e22;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 5px;
    margin-top: 8px;
}

/* Sales metrics styling */
.sales-metrics {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    color: #e67e22;
    font-size: 14px;
    font-weight: 500;
}

.sales-metrics i {
    background: #fff1e0;
    padding: 8px;
    border-radius: 50%;
}

/* Additional styles for Other Professional Careers */
.career-category.expanded-category:nth-of-type(11)::before {
    content: '📌 Other Professions';
    background: #7f8c8d; /* Gray color for miscellaneous category */
}

.career-category.expanded-category:nth-of-type(11) .category-icon {
    color: #7f8c8d;
}

.career-category.expanded-category:nth-of-type(11) h3 {
    border-bottom-color: #7f8c8d;
}

.career-category.expanded-category:nth-of-type(11) .career-item {
    border-left-color: #7f8c8d;
    background: linear-gradient(to right, #ffffff, #f5f5f5);
}

.career-category.expanded-category:nth-of-type(11) .career-item:hover {
    box-shadow: 0 5px 15px rgba(127, 140, 141, 0.2);
    background: linear-gradient(to right, #ffffff, #ececec);
}

.career-category.expanded-category:nth-of-type(11) .explore-link {
    background-color: #7f8c8d;
    color: white;
}

.career-category.expanded-category:nth-of-type(11) .explore-link:hover {
    background-color: #5a6b6c;
}

/* For the scrollbar */
.career-category.expanded-category:nth-of-type(11) .career-list.detailed::-webkit-scrollbar-thumb {
    background: #7f8c8d;
}

.career-category.expanded-category:nth-of-type(11) .career-list.detailed::-webkit-scrollbar-thumb:hover {
    background: #5a6b6c;
}

/* Stats badges for other professions */
.career-category.expanded-category:nth-of-type(11) .stat-badge i {
    color: #7f8c8d;
}

/* Optional: Add a neutral pattern to the background */
.career-category.expanded-category:nth-of-type(11) {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-top: 3px solid #7f8c8d;
}

/* ===== CAREERS INTRODUCTION STYLES ===== */

/* Careers Intro Section */
.careers-intro {
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

.intro-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.intro-icon {
    font-size: 60px;
    margin-bottom: 20px;
    text-align: center;
}

.intro-icon i {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.intro-card h3 {
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.intro-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #3498db;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Intro Stats */
.intro-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #ffd700;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Intro Tags */
.intro-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tag {
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.tag:hover {
    background: #3498db;
    transform: translateY(-2px);
}

.tag i {
    font-size: 14px;
}

/* Career Navigation Pills */
.career-nav {
    margin: 40px 0;
    text-align: center;
}

.career-nav h4 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 20px;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--pill-color);
    border-radius: 40px;
    color: var(--pill-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.category-pill i {
    font-size: 16px;
}

.category-pill:hover {
    background: var(--pill-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Career Note Box */
.career-note-box {
    background: #f0f8ff;
    border-left: 5px solid #3498db;
    padding: 20px 30px;
    border-radius: 10px;
    margin: 40px 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(52,152,219,0.1);
}

.career-note-box i {
    font-size: 40px;
    color: #3498db;
}

.career-note-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
}

.career-note-box strong {
    color: #1e3c72;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-card {
        padding: 30px 20px;
    }
    
    .intro-card h3 {
        font-size: 24px;
    }
    
    .intro-content p {
        font-size: 16px;
    }
    
    .intro-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 20px;
        min-width: 120px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .tag {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .category-pill {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .career-note-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .career-note-box i {
        margin-bottom: 10px;
    }
}

/* Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.intro-card {
    animation: slideInLeft 1s ease-out;
}

/* Print styles */
@media print {
    .careers-intro {
        break-inside: avoid;
    }
    
    .category-pills,
    .career-note-box {
        display: none;
    }
}

/* ===== PARTNERS SECTION STYLES ===== */

/* Partners Content Area - Two Column Layout */
.partners-content-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Left Column - Content Writing Area */
.partners-content {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.partners-content h3 {
    color: #1e3c72;
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-content h3 i {
    color: #3498db;
}

.partners-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

/* Partners Highlights */
.partners-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.highlight-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52,152,219,0.15);
}

.highlight-item i {
    font-size: 24px;
    color: #3498db;
    width: 40px;
    height: 40px;
    background: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-item span {
    font-weight: 600;
    color: #1e3c72;
}

/* Partners Message */
.partners-message {
    background: #1e3c72;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.partners-message h4 {
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-message h4 i {
    color: #ffd700;
}

.partners-message p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-style: italic;
}

/* Right Column - Images Area */
.partners-images {
    padding: 40px;
    background: white;
}

.partners-images h3 {
    color: #1e3c72;
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-images h3 i {
    color: #3498db;
}

/* Image Upload Area */
.image-upload-area {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

.featured-partner {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-image:hover {
    transform: scale(1.05);
}

.image-caption {
    padding: 12px;
    background: white;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.image-caption i {
    color: #3498db;
}

/* Thumbnail Gallery */
.partner-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail.add-more {
    background: linear-gradient(135deg, #3498db, #1e3c72);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    text-align: center;
}

.thumbnail.add-more i {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52,152,219,0.15);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #1e3c72);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid #3498db;
}

.partner-icon {
    font-size: 40px;
    color: #3498db;
}

.partner-card h3 {
    color: #1e3c72;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.partner-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.partner-details {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.partner-details h4 {
    color: #1e3c72;
    font-size: 16px;
    margin-bottom: 10px;
}

.partner-details ul {
    list-style: none;
    padding-left: 0;
}

.partner-details ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    color: #555;
}

.partner-details ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3498db;
}

.partner-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.partner-link:hover {
    color: #1e3c72;
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .partners-content-area {
        grid-template-columns: 1fr;
    }
    
    .partner-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .partners-content,
    .partners-images {
        padding: 30px 20px;
    }
    
    .partners-content h3,
    .partners-images h3 {
        font-size: 24px;
    }
    
    .partners-highlights {
        grid-template-columns: 1fr;
    }
    
    .partner-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .partner-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

/* Stagger animation */
.partner-card:nth-child(1) { animation-delay: 0.1s; }
.partner-card:nth-child(2) { animation-delay: 0.2s; }
.partner-card:nth-child(3) { animation-delay: 0.3s; }
.partner-card:nth-child(4) { animation-delay: 0.4s; }
.partner-card:nth-child(5) { animation-delay: 0.5s; }
.partner-card:nth-child(6) { animation-delay: 0.6s; }
.partner-card:nth-child(7) { animation-delay: 0.7s; }
.partner-card:nth-child(8) { animation-delay: 0.8s; }
.partner-card:nth-child(9) { animation-delay: 0.9s; }
.partner-card:nth-child(10) { animation-delay: 1s; }
.partner-card:nth-child(11) { animation-delay: 1.1s; }
.partner-card:nth-child(12) { animation-delay: 1.2s; }
.partner-card:nth-child(13) { animation-delay: 1.3s; }
.partner-card:nth-child(14) { animation-delay: 1.4s; }
.partner-card:nth-child(15) { animation-delay: 1.5s; }
.partner-card:nth-child(16) { animation-delay: 1.6s; }
.partner-card:nth-child(17) { animation-delay: 1.7s; }

/* ===== EXPANDED PRODUCTS SECTION ===== */

/* Products Introduction */
.products-intro {
    margin-bottom: 50px;
    animation: fadeIn 1s ease-out;
}

/* Products Detailed Grid */
.products-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Product Detailed Card */
.product-detailed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52,152,219,0.15);
}

.product-header {
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.product-header[style*="background: linear-gradient(135deg, #3498db"] {
    background: linear-gradient(135deg, #3498db, #1e3c72) !important;
}

.product-header[style*="background: linear-gradient(135deg, #e67e22"] {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
}

.product-header[style*="background: linear-gradient(135deg, #27ae60"] {
    background: linear-gradient(135deg, #27ae60, #1e8449) !important;
}

.product-header[style*="background: linear-gradient(135deg, #9b59b6"] {
    background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
}

.product-header[style*="background: linear-gradient(135deg, #e74c3c"] {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

.product-header[style*="background: linear-gradient(135deg, #1abc9c"] {
    background: linear-gradient(135deg, #1abc9c, #16a085) !important;
}

.product-icon-large {
    font-size: 60px;
    margin-bottom: 15px;
    display: block;
}

.product-header h3 {
    font-size: 24px;
    margin: 0;
    color: white;
    font-weight: 600;
}

.product-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Product Features Detailed */
.product-features-detailed {
    margin: 15px 0;
}

.product-features-detailed h4 {
    color: #1e3c72;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.product-features-detailed ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-detailed li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
    border-bottom: 1px dashed #f0f0f0;
}

.product-features-detailed li:last-child {
    border-bottom: none;
}

.product-features-detailed i {
    color: #27ae60;
    font-size: 16px;
    width: 20px;
}

/* Product Specifications */
.product-specs {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #1e3c72;
    font-size: 14px;
}

.spec-value {
    color: #666;
    font-size: 14px;
}

/* Product Gallery */
.product-gallery {
    margin: 20px 0;
}

.product-gallery h4 {
    color: #1e3c72;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.sample-thumbnails,
.book-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sample-thumbnails img,
.book-thumbnails img {
    width: 70px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    cursor: pointer;
}

.sample-thumbnails img:hover,
.book-thumbnails img:hover {
    transform: scale(1.05);
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

/* Video Thumbnails */
.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.video-thumb {
    text-align: center;
}

.video-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    cursor: pointer;
}

.video-thumb img:hover {
    transform: scale(1.05);
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

.video-thumb span {
    font-size: 11px;
    color: #555;
    display: block;
    line-height: 1.3;
}

/* Testimonial Mini */
.testimonial-mini {
    background: #f0f8ff;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
    position: relative;
}

.testimonial-mini i {
    color: #3498db;
    font-size: 20px;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-mini p {
    margin: 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    padding-left: 25px;
    font-size: 14px;
}

/* Webinar Schedule */
.webinar-schedule {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.webinar-schedule h4 {
    color: #1e3c72;
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.webinar-schedule ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.webinar-schedule li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    font-size: 14px;
}

.webinar-schedule li:last-child {
    border-bottom: none;
}

.webinar-schedule li strong {
    color: #3498db;
    margin-right: 10px;
}

/* School Pricing */
.school-pricing {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.school-pricing p {
    margin: 0;
    color: #856404;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.school-pricing i {
    color: #856404;
    font-size: 16px;
}

/* Product Pricing */
.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e0e0e0;
    flex-wrap: wrap;
    gap: 15px;
}

.price-tag {
    text-align: left;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: #1e3c72;
    display: block;
    line-height: 1.2;
}

.price-note {
    font-size: 12px;
    color: #666;
    display: block;
}

/* Product Buttons */
.btn-subscribe-large,
.btn-learn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-learn-large {
    background: #1e3c72;
}

.btn-subscribe-large:hover,
.btn-learn-large:hover {
    background: #2980b9;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

.btn-learn-large:hover {
    background: #2c3e50;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-learn {
    display: inline-block;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-learn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Bulk Order Section */
.bulk-order-section {
    margin-top: 50px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 2px dashed #3498db;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bulk-order-content h3 {
    color: #1e3c72;
    font-size: 28px;
    margin-bottom: 15px;
}

.bulk-order-content h3 i {
    color: #e67e22;
    margin-right: 10px;
}

.bulk-order-content p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

/* Responsive Design for Products */
@media (max-width: 992px) {
    .products-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header h3 {
        font-size: 22px;
    }
    
    .product-icon-large {
        font-size: 50px;
    }
    
    .product-body {
        padding: 20px;
    }
    
    .price {
        font-size: 24px;
    }
    
    .btn-subscribe-large,
    .btn-learn-large {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .bulk-order-section {
        padding: 30px 20px;
    }
    
    .bulk-order-content h3 {
        font-size: 24px;
    }
    
    .bulk-order-content p {
        font-size: 15px;
    }
    
    .video-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn-learn {
        width: 100%;
        text-align: center;
    }
    
    .sample-thumbnails img,
    .book-thumbnails img {
        width: 60px;
        height: 80px;
    }
}

/* Product Card Animation */
.product-detailed-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-detailed-card:nth-child(1) { animation-delay: 0.1s; }
.product-detailed-card:nth-child(2) { animation-delay: 0.2s; }
.product-detailed-card:nth-child(3) { animation-delay: 0.3s; }
.product-detailed-card:nth-child(4) { animation-delay: 0.4s; }
.product-detailed-card:nth-child(5) { animation-delay: 0.5s; }
.product-detailed-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Role Models Detailed Grid */
.role-model-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.role-detailed-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.role-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52,152,219,0.15);
}

.role-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.role-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.role-detailed-card:hover .role-image-container img {
    transform: scale(1.1);
}

.role-social {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.3s;
}

.role-detailed-card:hover .role-social {
    bottom: 0;
}

.role-social a {
    color: white;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
}

.role-social a:hover {
    color: #3498db;
    transform: translateY(-3px);
}

.role-info {
    padding: 20px;
    flex: 1;
}

.role-info h4 {
    color: #1e3c72;
    font-size: 22px;
    margin-bottom: 5px;
}

.role-title {
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.role-institution {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    font-style: italic;
}

.role-quote {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    border-left: 4px solid #3498db;
}

.role-quote i {
    color: #3498db;
    font-size: 20px;
    opacity: 0.3;
    margin-right: 5px;
}

.role-quote p {
    margin: 0;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.role-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.achievement-badge {
    background: #f0f4f8;
    color: #1e3c72;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.role-mentoring h5 {
    color: #1e3c72;
    font-size: 14px;
    margin-bottom: 8px;
}

.mentoring-tag {
    display: inline-block;
    background: #e1f0fa;
    color: #1e3c72;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    margin: 0 3px 3px 0;
}

/* Role Category Full */
.role-category-full {
    margin-bottom: 50px;
}

.category-header {
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.category-header i {
    font-size: 40px;
}

.category-header h3 {
    margin: 0;
    font-size: 24px;
}

.category-description {
    color: #666;
    margin-bottom: 25px;
    padding: 0 10px;
    line-height: 1.8;
}

/* Role Model CTA */
.role-model-cta {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 15px;
    padding: 50px;
    margin-top: 50px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-content h3 i {
    margin-right: 10px;
    color: #ffd700;
}

.cta-content p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #ffd700;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Responsive for Role Models */
@media (max-width: 768px) {
    .role-model-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .category-header h3 {
        font-size: 20px;
    }
    
    .role-model-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Fix paragraph spacing in bio-full */
.bio-full p {
    margin-bottom: 1.2em;  /* Adds space between paragraphs */
    line-height: 1.6;       /* Improves readability */
}

.bio-full p:last-child {
    margin-bottom: 0;       /* Removes margin from last paragraph */
}

/* Also fix for quote-full if needed */
.quote-full p {
    margin-bottom: 1.2em;
    line-height: 1.6;
}

.quote-full p:last-child {
    margin-bottom: 0;
}

/* Ensure all role model images are consistent */
.role-image-container {
    width: 100%;
    height: 250px; /* Fixed height for all images */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0; /* Fallback color */
}

.role-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the area without distortion */
    object-position: center; /* Centers the image */
    transition: transform 0.3s ease;
}

/* For images that are too tall/wide, this ensures they fit */
.role-image-container img[src*="Mpomba"] {
    object-fit: cover; /* Force cover for this specific image */
    object-position: center 20%; /* Adjust vertical position if needed */
}

/* If you want to maintain aspect ratio but show whole image */
.role-image-container.img-contain img {
    object-fit: contain;
    background-color: #f8f9fa; /* Background for letterboxing */
}

/* Program Overview Cards */
.program-overview-card {
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52,152,219,0.2);
}

.program-view-full {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.program-view-full:hover {
    background: #1e3c72;
    transform: translateX(5px);
}

.program-view-full i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.program-view-full:hover i {
    transform: translateX(5px);
}

/* Program Detail Pages */
.program-detail-page {
    padding: 60px 0;
    min-height: 80vh;
}

.program-detail-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.back-to-programs {
    position: absolute;
    left: 0;
    top: 20px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-programs:hover {
    color: #1e3c72;
    transform: translateX(-5px);
}

.program-detail-icon {
    font-size: 80px;
    color: #3498db;
    margin-bottom: 20px;
}

.program-detail-title {
    font-size: 42px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.program-detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-detail-section {
    margin-bottom: 40px;
}

.program-detail-section h2,
.program-detail-section h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.program-detail-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.program-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(52,152,219,0.1);
}

.stat-card i {
    font-size: 40px;
    color: #3498db;
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #1e3c72;
    line-height: 1.2;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

.program-detail-list,
.program-detail-steps {
    list-style: none;
    padding-left: 0;
}

.program-detail-list li,
.program-detail-steps li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.program-detail-list li i {
    color: #27ae60;
    margin-top: 3px;
}

.program-detail-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.program-detail-steps li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    border-bottom: none;
    padding-left: 50px;
    position: relative;
}

.program-detail-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.program-detail-steps li strong {
    display: block;
    color: #1e3c72;
    margin-bottom: 5px;
    font-size: 18px;
}

.program-detail-steps li p {
    margin: 0;
    color: #666;
}

.program-detail-gallery {
    margin: 40px 0;
}

.program-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.program-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.program-gallery-grid img:hover {
    transform: scale(1.05);
}

.program-cta {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.program-cta h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 28px;
}

.program-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    font-size: 16px;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #ffd700;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fair-showcase {
    margin: 40px 0;
}

.fair-showcase h3 {
    color: #1e3c72;
    margin-bottom: 20px;
}

.fair-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.fair-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.fair-gallery img:hover {
    transform: scale(1.05);
}

.fair-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .back-to-programs {
        position: relative;
        display: block;
        margin-bottom: 20px;
        text-align: left;
    }
    
    .program-detail-title {
        font-size: 32px;
    }
    
    .program-detail-content {
        padding: 30px 20px;
    }
    
    .fair-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== CARD IMAGE STYLES ===== */

/* Base style for all card images */
.card-img {
    width: 100%;
    max-width: 250px;   /* keeps portrait size reasonable */
    height: auto;       /* prevents head cropping */
    display: block;
    margin: 15px auto;  /* centers image horizontally */
    object-fit: contain;
    border-radius: 8px;
    border: 3px solid #3498db;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Role Models Page Styles */
.role-models-page {
    padding: 60px 0;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.back-to-page {
    position: absolute;
    left: 0;
    top: 0;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-to-page:hover {
    color: #1e3c72;
    transform: translateX(-5px);
}

.page-title {
    font-size: 42px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,126,34,0.3);
}

.view-all-btn i {
    transition: transform 0.3s;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .back-to-page {
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-description {
        font-size: 16px;
    }
}

/* Specific fix for Geoffrey Taumbe image */
.role-image-container img[alt="Geoffrey Taumbe"] {
    object-fit: cover;
    object-position: center 5%;
}


