@font-face {
    font-family: 'CustomFont1';
    src: url('fonts/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CustomFont2';
    src: url('fonts/u-4i0qWljRw-PfU81xCKCpdpbgZJl6Xvqdns.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'ResponseFont';
    src: url('fonts/main-forn.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "ResponseFont", "CustomFont1", "CustomFont2", "PMingLiU", "MingLiU", "Georgia", serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.8;
}

body {
    font-family: "ResponseFont", "CustomFont1", "CustomFont2", "PMingLiU", "MingLiU", "Georgia", serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.8;
}

/* Navigation */
nav {
    background-color: #ffffff;
    padding: 30px 40px; /* Increased padding */
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align bottom to match logo text baseline approx */
    max-width: 1000px; /* Constrain width more like screenshot */
    margin: 0 auto;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
}

.logo-container {
    width: 80px;
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%; /* Circular logo in screenshot */
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0; /* Adjust to align with logo */
    display: flex;
    gap: 25px;
}

.main-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 20px; /* Increased again */
    font-weight: 800; /* Extra Bold */
    font-family: "Microsoft JhengHei", sans-serif;
    transition: color 0.3s ease;
}

.main-menu li a:hover {
    color: #1e7145;
    text-decoration: none;
}

.main-menu li a.active {
    color: #1e7145;
    font-weight: 900;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px;
}

.main-title {
    font-size: 64px; /* Increased again */
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

.registration-info {
    font-size: 18px; /* Increased again */
    color: #555; /* Slightly darker for boldness */
    margin-top: 5px;
    font-family: sans-serif;
    font-weight: 500; /* Increased weight */
}

/* Main Content */
.content-wrapper {
    max-width: 960px; /* Match content width */
    margin: 0 auto;
    padding: 0 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 60px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 42px; /* Increased again */
    font-weight: 900;
    color: #000; /* Pure black for max contrast */
    margin-bottom: 30px;
}

p {
    margin-bottom: 25px;
    text-align: justify;
    font-size: 22px; /* Increased again */
    line-height: 1.8;
    font-weight: 600; /* Semi-bold for body */
    color: #222; /* Darker text */
}

/* Tribute Section Images */
.tribute-images {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 30px 0;
}

.tribute-figure {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.tribute-figure img {
    width: 100%;
    height: 280px; /* Consistent height */
    object-fit: cover;
    object-position: top center;
    display: block;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.tribute-figure figcaption {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-top: auto; /* Push to bottom if needed */
}

/* Overview Page Specific Styles */
.overview {
    margin-bottom: 40px;
}

.content-wrapper .share-section {
    margin: 40px 0 20px 0;
    padding: 0;
}

.content-wrapper .share-section .share-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: block;
    font-family: sans-serif;
}

.content-wrapper .share-section .share-buttons {
    display: flex;
    gap: 8px;
}

.like-section {
    margin: 30px 0 50px 0;
    width: 100%;
}

/* Courses Gallery Styles */
.courses-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    margin-bottom: 50px;
}

.course-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.course-caption {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0;
    font-weight: 400;
    font-family: "Microsoft JhengHei", sans-serif;
}

/* Cases Gallery Styles */
.cases-intro {
    margin-bottom: 30px;
}

.cases-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    margin-bottom: 60px;
}

.case-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #1e7145;
}

.case-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(30, 113, 69, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: sans-serif;
    z-index: 10;
    letter-spacing: 1px;
}

.case-content {
    padding: 25px 20px;
}

.case-title {
    font-size: 20px;
    font-weight: 800;
    color: #222;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-family: "Microsoft JhengHei", sans-serif;
}

.case-description {
    font-size: 15px !important;
    line-height: 1.7;
    color: #555 !important;
    margin-bottom: 18px !important;
    text-align: left !important;
    font-weight: 400 !important;
}

.case-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
    width: 100%;
}

.case-images-three {
    grid-template-columns: repeat(2, 1fr);
}

.case-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-images-three img:not(.full-width) {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.case-images img.full-width {
    grid-column: 1 / -1;
    height: auto;
}

.case-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.case-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9f4 0%, #e6f5ec 100%);
    color: #1e7145;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #1e7145;
    font-family: sans-serif;
    margin-top: 10px;
}

/* Student Feedback Section */
.student-feedback {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 3px solid #e8e8e8;
}

.feedback-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feedback-item {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #e8e8e8;
    background: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feedback-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Photo Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 15px;
    margin-bottom: 50px;
}

.photo-item {
    width: 100%;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.02);
}

/* Special styling for photo items 4 and 5 to have equal height */
.photo-item.equal-height {
    height: 350px;
}

.photo-item.equal-height img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Contact Page Styles */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-card-header {
    background: linear-gradient(135deg, #1e7145 0%, #2a9d5f 100%);
    padding: 30px;
    text-align: center;
}

.contact-card-header h2 {
    color: white;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 10px 0;
}

.contact-card-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.contact-card-body {
    padding: 40px 30px;
}

.qrcode-container {
    text-align: center;
    margin-bottom: 35px;
}

.qrcode-image {
    width: 280px;
    height: 280px;
    border-radius: 12px;
    border: 3px solid #1e7145;
    box-shadow: 0 4px 16px rgba(30, 113, 69, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.qrcode-image:hover {
    transform: scale(1.02);
}

.qrcode-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.wechat-icon {
    font-size: 24px;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.contact-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.wechat-btn {
    background: linear-gradient(135deg, #09BB07 0%, #1AAD19 100%);
    color: white;
    border-color: #09BB07;
}

.wechat-btn:hover {
    background: linear-gradient(135deg, #1AAD19 0%, #09BB07 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 187, 7, 0.3);
}

.douyin-btn {
    background: linear-gradient(135deg, #FF004F 0%, #00F5FF 100%);
    color: white;
    border-color: #FF004F;
}

.douyin-btn:hover {
    background: linear-gradient(135deg, #00F5FF 0%, #FF004F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 79, 0.3);
}

.disclaimer-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.disclaimer-header {
    background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
    padding: 20px 30px;
    border-bottom: 2px solid #e8e8e8;
}

.disclaimer-header h3 {
    color: #1e7145;
    font-size: 24px;
    font-weight: 800;
    margin: 0;
}

.disclaimer-body {
    padding: 30px;
}

.disclaimer-body p {
    font-size: 16px !important;
    line-height: 1.9;
    color: #555 !important;
    margin-bottom: 20px !important;
    text-align: justify !important;
    font-weight: 400 !important;
}

.disclaimer-body p:last-child {
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    max-width: 960px;
    margin: 80px auto 40px;
    padding: 0 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align bottom */
    border-top: 1px solid transparent; /* Optional visual separator */
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.share-section {
    margin-bottom: 30px;
}

.share-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    display: block;
    font-family: sans-serif;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    background: #fff;
    font-family: sans-serif;
}

.share-btn img {
    height: 12px;
    width: 12px;
    margin-right: 6px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.social-icons a {
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icons a:hover {
    opacity: 1;
}

.wordpress-credit {
    color: #aaa;
    font-size: 12px;
    font-family: sans-serif;
}

.footer-right {
    text-align: right;
    padding-bottom: 4px; /* Align with text baseline */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.footer-links li a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-family: "Microsoft JhengHei", sans-serif;
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Navigation Adjustments */
    nav {
        flex-direction: row; /* Keep horizontal layout */
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px; /* Smaller padding */
        position: relative; /* For absolute positioning of menu */
        border-bottom: none;
    }
    
    .logo-container {
        width: 70px;
    }

    /* Menu Button (Hamburger) */
    .menu-toggle {
        display: flex; /* Show on mobile */
        align-items: center;
        gap: 8px;
        background-color: #1e7145; /* Green matching screenshot */
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        font-family: sans-serif;
        font-weight: bold;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.2s;
    }

    .menu-toggle:hover {
        background-color: #165e38;
    }
    
    .menu-toggle .icon {
        font-size: 18px;
        line-height: 1;
        font-weight: normal;
    }
    
    .menu-toggle .text {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    /* Dropdown Menu */
    .main-menu {
        display: none; /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        background-color: #ffffff;
        flex-direction: column;
        margin: 10px 0 0 0;
        padding: 10px 0;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        gap: 0;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu li {
        width: 100%;
        border: none;
    }

    .main-menu li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px; /* Larger font for mobile menu */
        color: #333;
        font-family: "Microsoft JhengHei", sans-serif;
        font-weight: bold;
        transition: color 0.3s ease;
    }
    
    .main-menu li a:hover {
        background-color: #f5f5f5;
        color: #1e7145;
        text-decoration: none;
    }
    
    .main-menu li a.active {
        color: #1e7145;
        font-weight: 900;
    }
    
    /* Header Adjustments */
    header {
        padding: 30px 20px;
        text-align: center;
    }

    .main-title {
        font-size: 42px; /* Increased to match target bold look */
        font-weight: 900; /* Extra bold */
        text-align: center;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .registration-info {
        text-align: center;
        font-size: 13px;
        color: #666;
        font-weight: 300; /* Slightly thinner if supported */
    }

    /* Content Adjustments */
    .content-wrapper {
        padding: 0 20px;
    }

    .hero-image {
        margin-bottom: 40px;
    }

    section {
        margin-bottom: 50px;
    }

    h2 {
        font-size: 32px; /* Significantly larger for section titles */
        font-weight: 900; /* Extra bold */
        margin-bottom: 20px;
        color: #222;
    }

    p {
        font-size: 18px; /* Larger body text */
        line-height: 1.8;
        text-align: justify;
        font-weight: 400; /* Normal weight but larger size adds visual weight */
        color: #333;
    }

    /* Tribute Images Stack */
    .tribute-images {
        flex-direction: column;
        gap: 25px;
    }

    .tribute-figure img {
        height: auto;
        max-height: none;
        width: 100%;
    }
    
    /* Courses Gallery Mobile */
    .courses-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .course-caption {
        font-size: 15px;
    }

    /* Cases Gallery Mobile */
    .cases-gallery {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .case-card {
        border-radius: 10px;
    }

    .case-number {
        top: 12px;
        right: 12px;
        padding: 5px 12px;
        font-size: 12px;
    }

    .case-content {
        padding: 20px 18px;
    }

    .case-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .case-description {
        font-size: 15px !important;
        line-height: 1.7;
        margin-bottom: 15px !important;
    }

    .case-images {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 15px 0;
    }

    .case-images-three {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .case-images-three img:not(.full-width) {
        height: auto;
        object-fit: initial;
    }

    .case-images-three .img-order-1 {
        order: 1;
    }

    .case-images-three .img-order-2 {
        order: 2;
    }

    .case-images-three .img-order-3 {
        order: 3;
    }

    .case-images img {
        border-radius: 6px;
    }

    .case-images img.full-width {
        grid-column: 1;
    }

    .case-tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Student Feedback Mobile */
    .student-feedback {
        margin-top: 50px;
        padding-top: 40px;
    }

    .feedback-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feedback-item {
        border-radius: 6px;
    }
    
    /* Photo Gallery Mobile */
    .photo-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .photo-item.equal-height {
        height: auto;
    }
    
    .photo-item.equal-height img {
        height: auto;
        object-fit: contain;
    }
    
    /* Contact Page Mobile */
    .contact-container {
        padding: 0;
    }

    .contact-card {
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .contact-card-header {
        padding: 25px 20px;
    }

    .contact-card-header h2 {
        font-size: 26px;
    }

    .contact-card-header p {
        font-size: 14px;
    }

    .contact-card-body {
        padding: 30px 20px;
    }

    .qrcode-image {
        width: 240px;
        height: 240px;
        border-radius: 10px;
    }

    .qrcode-label {
        font-size: 14px;
        flex-direction: column;
        gap: 8px;
    }

    .wechat-icon {
        font-size: 20px;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }

    .contact-link-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .btn-icon {
        width: 20px;
        height: 20px;
    }

    .disclaimer-card {
        border-radius: 10px;
    }

    .disclaimer-header {
        padding: 18px 20px;
    }

    .disclaimer-header h3 {
        font-size: 20px;
    }

    .disclaimer-body {
        padding: 25px 20px;
    }

    .disclaimer-body p {
        font-size: 15px !important;
        line-height: 1.8;
    }
    
    /* Footer Stack */
    footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 30px;
        margin-top: 40px;
        padding-bottom: 40px;
    }
    
    .footer-left {
        align-items: flex-start;
        width: 100%;
    }
    
    .footer-right {
        text-align: left;
        width: 100%;
        padding-bottom: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .footer-links li a {
        display: block;
        padding: 0;
        font-weight: normal; 
        font-size: 15px;
    }
}

/* Lineage Section Styles */
.lineage {
    margin-bottom: 60px;
}

.lineage-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.lineage-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.lineage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #1e7145;
}

.lineage-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 25px 20px 25px;
    background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
}

.lineage-avatar {
    flex-shrink: 0;
}

.lineage-avatar img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    border: 3px solid #1e7145;
    box-shadow: 0 4px 12px rgba(30, 113, 69, 0.2);
    transition: transform 0.3s ease;
}

.lineage-card:hover .lineage-avatar img {
    transform: scale(1.05);
}

.lineage-title {
    flex: 1;
}

.lineage-title h3 {
    font-size: 24px;
    font-weight: 900;
    color: #1e7145;
    margin: 0 0 8px 0;
    font-family: "Microsoft JhengHei", sans-serif;
}

.lineage-years {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.lineage-role {
    display: inline-block;
    background: linear-gradient(135deg, #1e7145 0%, #2a9d5f 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
}

.lineage-body {
    padding: 20px 25px 25px 25px;
}

.lineage-body p {
    font-size: 15px !important;
    line-height: 1.8;
    color: #555 !important;
    margin-bottom: 18px !important;
    text-align: left !important;
    font-weight: 400 !important;
}

.lineage-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f9f4 0%, #e6f5ec 100%);
    color: #1e7145;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #1e7145;
    margin-top: 10px;
}

.lineage-timeline {
    text-align: center;
    font-size: 20px;
    margin-top: 50px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #1e7145 0%, #2a9d5f 100%);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.8;
    box-shadow: 0 4px 12px rgba(30, 113, 69, 0.2);
}

/* Instructor Section Styles */
.instructor {
    margin-bottom: 60px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.instructor:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.instructor-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.instructor-image {
    flex: 0 0 280px;
    text-align: center;
}

.instructor-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 5px solid #1e7145;
    box-shadow: 0 8px 24px rgba(30, 113, 69, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(30, 113, 69, 0.3);
}

.instructor-text {
    flex: 1;
}

.instructor-text h3 {
    font-size: 32px;
    font-weight: 900;
    color: #1e7145;
    margin: 0 0 10px 0;
}

.instructor-title {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    margin-bottom: 25px;
    font-style: italic;
}

.instructor-credentials {
    background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
    border: 2px solid #1e7145;
    border-radius: 10px;
    padding: 25px 30px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(30, 113, 69, 0.1);
}

.instructor-credentials p {
    font-size: 16px;
    line-height: 1.8;
    color: #1e7145;
    margin-bottom: 12px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-left: 25px;
}

.instructor-credentials p:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1e7145;
    font-weight: bold;
    font-size: 18px;
}

.instructor-credentials p:last-child {
    margin-bottom: 0;
}

.lineage-text {
    text-align: center;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 25px 0 !important;
    padding: 15px 25px;
    background: linear-gradient(135deg, #1e7145 0%, #2a9d5f 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(30, 113, 69, 0.2);
}

.instructor-info h4 {
    font-size: 22px;
    font-weight: 800;
    color: #222;
    margin: 30px 0 15px 0;
    padding: 12px 0 12px 18px;
    border-left: 5px solid #1e7145;
    background: linear-gradient(to right, #f0f9f4, transparent);
    border-radius: 4px;
}

.instructor-info p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 400;
}

.instructor-info ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.instructor-info ul li {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.instructor-info ul li:before {
    content: "◆";
    position: absolute;
    left: 0;
    color: #1e7145;
    font-weight: bold;
    font-size: 16px;
}

.mission-quote {
    background: linear-gradient(135deg, #f0f9f4 0%, #e6f5ec 100%);
    border: 2px solid #1e7145;
    border-left: 5px solid #1e7145;
    padding: 20px 25px;
    margin-top: 25px;
    font-style: italic;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #1e7145 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(30, 113, 69, 0.1);
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
    .lineage-cards {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 0;
    }

    .lineage-card {
        border-radius: 10px;
    }

    .lineage-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px 20px 20px;
        gap: 15px;
    }

    .lineage-avatar img {
        width: 120px;
        height: 120px;
        border-radius: 15px;
    }

    .lineage-title h3 {
        font-size: 22px;
    }

    .lineage-years {
        font-size: 13px;
    }

    .lineage-role {
        font-size: 11px;
        padding: 3px 10px;
    }

    .lineage-body {
        padding: 20px 20px 25px 20px;
    }

    .lineage-body p {
        font-size: 15px !important;
        text-align: justify !important;
    }

    .lineage-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(30, 113, 69, 0.9);
        color: white;
        padding: 5px 12px;
        border-radius: 15px;
        font-size: 11px;
        font-weight: 700;
        border: none;
        z-index: 10;
        margin-top: 0;
        box-shadow: 0 2px 8px rgba(30, 113, 69, 0.3);
    }

    .lineage-timeline {
        font-size: 17px;
        margin-top: 35px;
        padding: 18px 20px;
        border-radius: 8px;
        line-height: 1.7;
    }

    .instructor {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .instructor-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .instructor-image {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .instructor-image img {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        border-width: 4px;
    }
    
    .instructor-credentials {
        padding: 20px 20px;
        border-radius: 8px;
    }
    
    .instructor-credentials p {
        font-size: 14px;
        padding-left: 20px;
        text-align: left;
    }
    
    .instructor-credentials p:before {
        font-size: 16px;
    }
    
    .lineage-text {
        font-size: 17px !important;
        padding: 12px 20px !important;
    }

    .instructor-text h3 {
        font-size: 26px;
        text-align: center;
    }

    .instructor-title {
        font-size: 15px;
        text-align: center;
    }

    .instructor-info h4 {
        font-size: 19px;
        padding-left: 15px;
        margin-top: 25px;
    }

    .instructor-info p,
    .instructor-info ul li {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .instructor-info ul li {
        padding-left: 25px;
    }
    
    .instructor-info ul li:before {
        font-size: 14px;
    }

    .mission-quote {
        font-size: 17px !important;
        padding: 15px 18px;
        border-radius: 6px;
    }
}

