.header-text {
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.header-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.header-subtitle {
    font-size: 14px;
    color: #666;
}

/* Provinces Dropdown Specific Styles */
.main-menu ul li ul.dropdown-padding li .dropdown-padding,
.main-menu ul li ul.dropdown-padding li .sub-dropdown {
    visibility: hidden;
    opacity: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    position: absolute;
    background: var(--ztc-text-text-1);
    top: 0;
    left: 100%;
    width: 225px;
    z-index: 1;
    transition: all 0.4s ease;
    border-radius: 5px;
    padding: 15px;
}

.main-menu ul li ul.dropdown-padding li:hover>.dropdown-padding,
.main-menu ul li ul.dropdown-padding li:hover>.sub-dropdown,
.main-menu ul li ul.dropdown-padding li:focus-within>.sub-dropdown {
    visibility: visible;
    opacity: 1;
    z-index: 9;
    pointer-events: auto;
}

/* ensure sub-dropdown is not interactable when hidden */
.main-menu ul li ul.dropdown-padding li .sub-dropdown {
    pointer-events: none;
}

/* Provinces menu items styling */
.main-menu ul li ul.dropdown-padding li.main-small-menu {
    position: relative;
}

.main-menu ul li ul.dropdown-padding li.main-small-menu:hover>a {
    transition: all 0.4s;
    padding-left: 5px;
    color: var(--ztc-text-text-4);
}

.main-menu ul li ul.dropdown-padding li.main-small-menu:hover>a::after {
    background: var(--ztc-text-text-4);
    transition: all 0.4s;
    visibility: visible;
    opacity: 1;
}

.main-menu ul li ul.dropdown-padding li a {
    font-family: var(--ztc-family-font1);
    font-weight: var(--ztc-weight-medium);
    transition: all 0.4s;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-radius: 4px;
    color: var(--ztc-text-text-3);
    white-space: nowrap;
    text-decoration: none;
}

.main-menu ul li ul.dropdown-padding li a::after {
    position: absolute;
    content: "";
    height: 25px;
    width: 3px;
    transition: all 0.4s;
    z-index: -1;
    left: -10px;
    top: 20%;
    border-radius: 4px;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    background: var(--ztc-text-text-3);
}

.main-menu ul li ul.dropdown-padding li a:hover {
    padding-left: 25px;
    color: var(--ztc-text-text-4);
}

.main-menu ul li ul.dropdown-padding li a:hover::after {
    border-radius: 4px;
    visibility: visible;
    transition: all 0.4s;
    opacity: 1;
    left: 0;
}

/* Font Awesome icons for provinces */
.main-menu ul li ul.dropdown-padding li a .fa-solid {
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.main-menu ul li ul.dropdown-padding li:hover>a .fa-solid {
    transform: rotate(-90deg);
}

/* Ensure provinces list items have proper spacing */
.main-menu ul li ul.dropdown-padding li .dropdown-padding li {
    margin: 0;
}

.main-menu ul li ul.dropdown-padding li .dropdown-padding li a {
    padding: 8px 12px;
    display: block;
}

.main-menu ul li ul.dropdown-padding li .dropdown-padding li a:hover {
    background: rgba(251, 212, 89, 0.1);
    color: var(--ztc-text-text-4);
}

.vision-content {
    line-height: 1.8;
}

.vision-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.vision-points .icon-list-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.vision-points .icon-list-box ul li span {
    margin-right: 1rem;
    color: #e42527;
    margin-top: 0.2rem;
}

.vl-vission-tab2 .nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    margin-right: 1rem;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
}

.vl-vission-tab2 .nav-pills .nav-link.active {
    background: #e42527;
    color: white;
    border-color: #e42527;
}

.tab-content .para {
    font-size: 1rem;
    line-height: 1.7;
}

/* Mission Section Styles */
.mission-statement {
    line-height: 1.8;
}

.mission-highlight {
    font-size: 1.2rem;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #e42527;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.mission-statement .para {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* Vision Section Styles */
.vision-content {
    line-height: 1.8;
}

.vision-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.vision-points .icon-list-box ul li,
.mission-content .icon-list-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.vision-points .icon-list-box ul li span,
.mission-content .icon-list-box ul li span {
    margin-right: 1rem;
    color: #e42527;
    margin-top: 0.2rem;
}

/* Tab Styles */
.vl-vission-tab2 .nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    margin-right: 1rem;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
}

.vl-vission-tab2 .nav-pills .nav-link.active {
    background: #e42527;
    color: white;
    border-color: #e42527;
}

.tab-content .para {
    font-size: 1rem;
    line-height: 1.7;
}

/* Mission Icons */
.mission-content .icon-list-box ul li span i {
    font-size: 2.1rem;
}

/* Leadership Styles */
.vl-leadership-tabs .nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    margin: 0 0.5rem;
    border-radius: 10px;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vl-leadership-tabs .nav-pills .nav-link.active {
    background: #e42527;
    color: white;
    border-color: #e42527;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.vl-leadership-tabs .nav-pills .nav-link:hover:not(.active) {
    border-color: #e42527;
    color: #e42527;
}

/* Leader Card Styles */
.single-leader-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.single-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.leader-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.single-leader-card:hover .leader-thumb img {
    transform: scale(1.05);
}

.leader-avatar-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-leader-card:hover .leader-overlay {
    opacity: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #e42527;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c3e50;
    color: white;
    transform: scale(1.1);
}

.leader-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.leader-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.leader-badge.national {
    background: #e74c3c;
}

.leader-badge.provincial {
    background: #3498db;
}

.leader-badge.local {
    background: #e42527;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.leader-position {
    font-size: 1rem;
    font-weight: 600;
    color: #e42527;
    margin-bottom: 0.25rem;
}

.leader-department {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.leader-province {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 1rem;
}

.leader-bio {
    font-size: 0.9rem;
    color: #5d6d7e;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.leader-tenure {
    border-top: 1px solid #ecf0f1;
    padding-top: 1rem;
    margin-top: auto;
}

/* Organizational Chart */
.org-chart-container {
    text-align: center;
    padding: 2rem 0;
}

.org-level {
    margin-bottom: 2rem;
}

.org-level h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.org-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: all 0.3s ease;
}

.org-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.org-item.advisory {
    border-top: 4px solid #e74c3c;
}

.org-item.executive {
    border-top: 4px solid #3498db;
}

.org-item.management {
    border-top: 4px solid #e42527;
}

.org-item.provincial {
    border-top: 4px solid #f39c12;
}

.org-item.local {
    border-top: 4px solid #9b59b6;
}

.org-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.org-item span {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.org-connector {
    width: 2px;
    height: 40px;
    background: #bdc3c7;
    margin: 0 auto 2rem;
    position: relative;
}

.org-connector::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #bdc3c7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .vl-leadership-tabs .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .org-row {
        gap: 1rem;
    }

    .org-item {
        min-width: 150px;
    }
}

/* Professional Color Palette & Typography */
:root {
    --primary-color: #003366;
    /* Deep Corporate Blue */
    --accent-color: #C07C00;
    /* Rich Gold/Orange */
    --light-bg: #f7f7f7;
    --text-color: #333333;
    --secondary-text-color: #555555;
}

/* Header Text Styles */
.header-text {
    font-family: Arial, sans-serif;
    line-height: 1.4;
}

.header-title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.header-subtitle {
    font-size: 14px;
    color: #666;
}

/* Provinces Dropdown Specific Styles */
.main-menu ul li ul.dropdown-padding li .dropdown-padding {
    visibility: hidden;
    opacity: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    position: absolute;
    background: var(--ztc-text-text-1);
    top: 0;
    left: 100%;
    width: 225px;
    z-index: 1;
    transition: all 0.4s ease;
    border-radius: 5px;
    padding: 15px;
}

.main-menu ul li ul.dropdown-padding li:hover .dropdown-padding {
    visibility: visible;
    opacity: 1;
    z-index: 9;
}

/* Provinces menu items styling */
.main-menu ul li ul.dropdown-padding li.main-small-menu {
    position: relative;
}

.main-menu ul li ul.dropdown-padding li.main-small-menu:hover>a {
    transition: all 0.4s;
    padding-left: 5px;
    color: var(--ztc-text-text-4);
}

.main-menu ul li ul.dropdown-padding li.main-small-menu:hover>a::after {
    background: var(--ztc-text-text-4);
    transition: all 0.4s;
    visibility: visible;
    opacity: 1;
}

.main-menu ul li ul.dropdown-padding li a {
    font-family: var(--ztc-family-font1);
    font-weight: var(--ztc-weight-medium);
    transition: all 0.4s;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    border-radius: 4px;
    color: var(--ztc-text-text-3);
    white-space: nowrap;
    text-decoration: none;
}

.main-menu ul li ul.dropdown-padding li a::after {
    position: absolute;
    content: "";
    height: 25px;
    width: 3px;
    transition: all 0.4s;
    z-index: -1;
    left: -10px;
    top: 20%;
    border-radius: 4px;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
    background: var(--ztc-text-text-3);
}

.main-menu ul li ul.dropdown-padding li a:hover {
    padding-left: 25px;
    color: var(--ztc-text-text-4);
}

.main-menu ul li ul.dropdown-padding li a:hover::after {
    border-radius: 4px;
    visibility: visible;
    transition: all 0.4s;
    opacity: 1;
    left: 0;
}

/* Font Awesome icons for provinces */
.main-menu ul li ul.dropdown-padding li a .fa-solid {
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.main-menu ul li ul.dropdown-padding li:hover>a .fa-solid {
    transform: rotate(-90deg);
}

/* Ensure provinces list items have proper spacing */
.main-menu ul li ul.dropdown-padding li .dropdown-padding li {
    margin: 0;
}

.main-menu ul li ul.dropdown-padding li .dropdown-padding li a {
    padding: 8px 12px;
    display: block;
}

.main-menu ul li ul.dropdown-padding li .dropdown-padding li a:hover {
    background: rgba(251, 212, 89, 0.1);
    color: var(--ztc-text-text-4);
}

/* Vision & Mission Styles */
.vision-content,
.mission-statement {
    line-height: 1.8;
}

.vision-content p,
.mission-statement .para {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.vision-points .icon-list-box ul li,
.mission-content .icon-list-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.vision-points .icon-list-box ul li span,
.mission-content .icon-list-box ul li span {
    margin-right: 1rem;
    color: #e42527;
    margin-top: 0.2rem;
}

.mission-highlight {
    font-size: 1.2rem;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #e42527;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* Tab Styles */
.vl-vission-tab2 .nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    margin-right: 1rem;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    border: 1px solid #dee2e6;
}

.vl-vission-tab2 .nav-pills .nav-link.active {
    background: #e42527;
    color: white;
    border-color: #e42527;
}

.tab-content .para {
    font-size: 1rem;
    line-height: 1.7;
}

/* Mission Icons */
.mission-content .icon-list-box ul li span i {
    font-size: 2.1rem;
}

/* Leadership Styles */
.vl-leadership-tabs .nav-pills .nav-link {
    background: #f8f9fa;
    color: #333;
    margin: 0 0.5rem;
    border-radius: 10px;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vl-leadership-tabs .nav-pills .nav-link.active {
    background: #e42527;
    color: white;
    border-color: #e42527;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.vl-leadership-tabs .nav-pills .nav-link:hover:not(.active) {
    border-color: #e42527;
    color: #e42527;
}

/* Leader Card Styles */
.single-leader-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.single-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.leader-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.leader-thumb {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.single-leader-card:hover .leader-thumb img {
    transform: scale(1.05);
}

.leader-avatar-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 204, 113, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-leader-card:hover .leader-overlay {
    opacity: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #e42527;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2c3e50;
    color: white;
    transform: scale(1.1);
}

.leader-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.leader-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #e74c3c;
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.leader-badge.national {
    background: #e74c3c;
}

.leader-badge.provincial {
    background: #3498db;
}

.leader-badge.local {
    background: #e42527;
}

.leader-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.leader-position {
    font-size: 1rem;
    font-weight: 600;
    color: #e42527;
    margin-bottom: 0.25rem;
}

.leader-department {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.leader-province {
    font-size: 0.85rem;
    color: #95a5a6;
    margin-bottom: 1rem;
}

.leader-bio {
    font-size: 0.9rem;
    color: #5d6d7e;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.leader-tenure {
    border-top: 1px solid #ecf0f1;
    padding-top: 1rem;
    margin-top: auto;
}

/* Organizational Chart */
.org-chart-container {
    text-align: center;
    padding: 2rem 0;
}

.org-level {
    margin-bottom: 2rem;
}

.org-level h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.org-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.org-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    transition: all 0.3s ease;
}

.org-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.org-item.advisory {
    border-top: 4px solid #e74c3c;
}

.org-item.executive {
    border-top: 4px solid #3498db;
}

.org-item.management {
    border-top: 4px solid #e42527;
}

.org-item.provincial {
    border-top: 4px solid #f39c12;
}

.org-item.local {
    border-top: 4px solid #9b59b6;
}

.org-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.org-item span {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.org-connector {
    width: 2px;
    height: 40px;
    background: #bdc3c7;
    margin: 0 auto 2rem;
    position: relative;
}

.org-connector::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #bdc3c7;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .vl-leadership-tabs .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .org-row {
        gap: 1rem;
    }

    .org-item {
        min-width: 150px;
    }
}

/* History Page Specific Styles */
.vl-history-section {
    background: var(--light-bg);
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
}

.vl-section-title-center {
    text-align: center;
}

.vl-section-subtitle {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.vl-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.vl-section-text {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    max-width: 700px;
    margin: 0 auto;
}

.history-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.history-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.history-intro-text {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* Timeline Structure */
.vl-timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.vl-timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 3px;
}

.vl-timeline-break {
    position: relative;
    z-index: 10;
    background-color: var(--light-bg);
    padding-top: 20px;
    padding-bottom: 20px;
}

.vl-timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.vl-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 150px;
    text-align: center;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(192, 124, 0, 0.4);
    border: 4px solid var(--light-bg);
}

.timeline-content {
    flex: 0 0 calc(50% - 100px);
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    position: relative;
    margin: 0 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: translateY(-50%) rotate(45deg);
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    z-index: 1;
}

.vl-timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
}

.vl-timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
    border: 3px solid white;
}

.timeline-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.gospel-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.gospel-point {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.gospel-icon {
    font-size: 1.2rem;
    margin-right: 10px;
}

.vl-history-conclusion {
    background: var(--primary-color);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    color: white;
}

.vl-history-conclusion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-color);
}

.conclusion-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.conclusion-icon img {
    width: 40px;
    height: 40px;
    filter: none;
}

.conclusion-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.conclusion-text {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: #e0e0e0;
}

/* Confession of Faith Page Styles */
.vl-confession-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.confession-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--bismark);
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(7, 85, 147, 0.08);
    border-left: 4px solid var(--alizarin-crimson);
    position: relative;
}

.confession-intro-text::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 60px;
    color: var(--old-gold);
    font-family: serif;
    line-height: 1;
}

.vl-faith-points {
    max-width: 1000px;
    margin: 0 auto;
}

.faith-point-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(7, 85, 147, 0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ghost);
}

.faith-point-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--alizarin-crimson), var(--venice-blue));
}

.faith-point-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(7, 85, 147, 0.15);
    border-color: var(--old-gold);
}

.faith-point-number {
    flex: 0 0 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--alizarin-crimson), var(--venice-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 30px;
    box-shadow: 0 8px 20px rgba(228, 37, 39, 0.3);
    border: 3px solid white;
}

.faith-point-content {
    flex: 1;
    margin-right: 30px;
}

.faith-point-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--venice-blue);
    margin-bottom: 15px;
    position: relative;
}

.faith-point-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--old-gold);
}

.faith-point-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bismark);
    margin: 0;
}

.faith-point-icon {
    flex: 0 0 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--alizarin-crimson), var(--venice-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(7, 85, 147, 0.3);
    border: 3px solid white;
}

.faith-point-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.vl-confession-closing {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(7, 85, 147, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ghost);
}

.vl-confession-closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--alizarin-crimson), var(--venice-blue));
}

.closing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--alizarin-crimson), var(--venice-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(7, 85, 147, 0.3);
    border: 3px solid white;
}

.closing-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.closing-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--venice-blue);
    margin-bottom: 15px;
}

.closing-text {
    font-size: 18px;
    color: var(--bismark);
    line-height: 1.6;
    font-style: italic;
}

/* Color accents for different sections */
.faith-point-item:nth-child(odd) .faith-point-number {
    background: linear-gradient(135deg, var(--alizarin-crimson), var(--persian-red));
}

.faith-point-item:nth-child(even) .faith-point-number {
    background: linear-gradient(135deg, var(--venice-blue), var(--bismark));
}

.faith-point-item:nth-child(3n) .faith-point-number {
    background: linear-gradient(135deg, var(--old-gold), var(--sandal));
}

/* Additional color variables for confession page */
:root {
    --alizarin-crimson: #e42527;
    --persian-red: #ce3731;
    --venice-blue: #075593;
    --sandal: #a8a06f;
    --chestnut-rose: #ca5755;
    --ghost: #cbd1d8;
    --old-gold: #d2aa4c;
    --bismark: #436985;
    --tonys-pink: #e6a19f;
}

/* Responsive Design */
@media (max-width: 991px) {
    .vl-timeline-wrapper::before {
        left: 30px;
    }

    .vl-timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }

    .timeline-year {
        flex: 0 0 100px;
        margin-right: 20px;
        margin-bottom: 0;
        font-size: 1rem;
    }

    .timeline-content {
        flex: 1;
        margin: 0;
    }

    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }

    .timeline-icon {
        margin-left: 0;
    }

    .faith-point-item {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .faith-point-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .faith-point-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .faith-point-icon {
        margin-top: 20px;
    }

    .faith-point-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .vl-history-section,
    .vl-confession-section {
        padding: 80px 0;
    }

    .vl-section-title {
        font-size: 2rem;
    }

    .history-section-title {
        font-size: 1.75rem;
    }

    .timeline-content {
        padding: 30px 20px;
        border-left: 4px solid var(--primary-color);
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .faith-point-title {
        font-size: 20px;
    }

    .faith-point-item {
        padding: 25px 20px;
    }

    .confession-intro-text {
        padding: 30px 20px 30px 40px;
        font-size: 16px;
    }

    .confession-intro-text::before {
        left: 15px;
        top: 15px;
        font-size: 40px;
    }
}

@media (max-width: 576px) {

    .vl-history-section,
    .vl-confession-section {
        padding: 60px 0;
    }

    .vl-section-title {
        font-size: 1.8rem;
    }

    .timeline-year {
        flex: 0 0 60px;
        padding: 8px 10px;
        font-size: 0.9rem;
        margin-right: 10px;
        border-width: 2px;
    }

    .timeline-content {
        margin-left: 10px;
    }

    .timeline-icon {
        width: 45px;
        height: 45px;
    }

    .timeline-icon img {
        width: 25px;
        height: 25px;
    }

    .gospel-points {
        grid-template-columns: 1fr;
    }

    .faith-point-number {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .faith-point-icon {
        width: 60px;
        height: 60px;
    }

    .faith-point-icon img {
        width: 30px;
        height: 30px;
    }

    .vl-confession-closing {
        padding: 40px 20px;
    }

    .closing-icon {
        width: 60px;
        height: 60px;
    }

    .closing-icon img {
        width: 30px;
        height: 30px;
    }
}

/* Pagination Styles */
.theme-pagination {
    margin-top: 40px;
}

.theme-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.theme-pagination ul li {
    margin: 0;
}

.theme-pagination ul li a,
.theme-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: white;
    color: var(--venice-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--iron);
}

.theme-pagination ul li a:hover {
    background: var(--venice-blue);
    color: white;
    border-color: var(--venice-blue);
    transform: translateY(-2px);
}

.theme-pagination ul li.active span {
    background: var(--venice-blue);
    color: white;
    border-color: var(--venice-blue);
}

.theme-pagination ul li.disabled span {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.theme-pagination ul li a i,
.theme-pagination ul li span i {
    font-size: 0.9rem;
}

/* Responsive Pagination */
@media (max-width: 576px) {

    .theme-pagination ul li a,
    .theme-pagination ul li span {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Footer */
.vl-footer-bg-1 {
    flex-shrink: 0;
    margin-top: auto;
}

/*Year Planner Page*/
/* Year Planner Specific Styles */
.year-planner-filters {
    background: var(--ztc-text-text-1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.year-planner-filters select,
.year-planner-filters input {
    border: 1px solid var(--ztc-border-border-1);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--ztc-text-text-3);
    transition: all 0.3s ease;
}

.year-planner-filters select:focus,
.year-planner-filters input:focus {
    border-color: var(--ztc-text-text-6);
    box-shadow: 0 0 0 3px rgba(6, 85, 148, 0.1);
    outline: none;
}

/* FullCalendar Customization */
.fc {
    font-family: var(--ztc-family-font1);
}

.fc-toolbar-title {
    font-size: 1.5rem !important;
    font-weight: var(--ztc-weight-bold) !important;
    color: var(--ztc-text-text-3) !important;
}

.fc-button {
    background: var(--ztc-text-text-1) !important;
    border: 1px solid var(--ztc-border-border-1) !important;
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-weight-semibold) !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.fc-button:hover {
    background: var(--ztc-text-text-6) !important;
    color: var(--ztc-text-text-1) !important;
    border-color: var(--ztc-text-text-6) !important;
}

.fc-button-primary:not(:disabled).fc-button-active {
    background: var(--ztc-text-text-6) !important;
    color: var(--ztc-text-text-1) !important;
    border-color: var(--ztc-text-text-6) !important;
}

.fc-daygrid-day-number {
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-weight-semibold) !important;
}

.fc-col-header-cell {
    background: var(--ztc-bg-bg-4) !important;
    padding: 10px 0 !important;
}

.fc-col-header-cell-cushion {
    color: var(--ztc-text-text-3) !important;
    font-weight: var(--ztc-weight-bold) !important;
    text-decoration: none !important;
}

.fc-day-today {
    background: rgba(6, 85, 148, 0.05) !important;
}

/* Event Cards */
.calendar-event-item {
    border-radius: 4px;
    padding: 4px 6px;
    margin: 2px 0;
    font-size: 12px;
    font-weight: var(--ztc-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid var(--ztc-text-text-6);
}

.calendar-event-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.event-type-event {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.event-type-project {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.event-type-announcement {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.event-type-sermon {
    border-left-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.event-type-meeting {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Month View Grid */
.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    min-height: 120px;
    border: 1px solid var(--ztc-border-border-1);
    border-radius: 6px;
    padding: 8px;
    background: var(--ztc-text-text-1);
    transition: all 0.3s ease;
}

.calendar-day:hover {
    background: var(--ztc-bg-bg-4);
    border-color: var(--ztc-text-text-6);
}

.calendar-day.today {
    background: rgba(6, 85, 148, 0.05);
    border-color: var(--ztc-text-text-6);
}

.calendar-day.empty {
    background: var(--ztc-bg-bg-4);
    border: 1px dashed var(--ztc-border-border-1);
}

.day-header {
    text-align: center;
    font-weight: var(--ztc-weight-bold);
    color: var(--ztc-text-text-3);
    padding: 8px 0;
    border-bottom: 1px solid var(--ztc-border-border-1);
}

.day-number {
    font-size: 14px;
    font-weight: var(--ztc-weight-bold);
    color: var(--ztc-text-text-3);
    margin-bottom: 4px;
}

.day-events {
    margin-top: 4px;
}

.day-event {
    font-size: 11px;
    padding: 2px 4px;
    margin: 2px 0;
    border-radius: 3px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-event:hover {
    opacity: 0.9;
    transform: translateX(2px);
}

/* View Toggle Buttons */
.view-toggle-group {
    display: inline-flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ztc-border-border-1);
}

.view-toggle-btn {
    padding: 8px 16px;
    background: var(--ztc-text-text-1);
    color: var(--ztc-text-text-3);
    border: none;
    font-weight: var(--ztc-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-toggle-btn:hover {
    background: var(--ztc-bg-bg-4);
}

.view-toggle-btn.active {
    background: var(--ztc-text-text-6);
    color: var(--ztc-text-text-1);
}

/* Event Tooltip */
.event-tooltip {
    position: absolute;
    background: var(--ztc-text-text-1);
    border: 1px solid var(--ztc-border-border-1);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-width: 300px;
    min-width: 250px;
}

.event-tooltip h4 {
    color: var(--ztc-text-text-3);
    font-size: 14px;
    font-weight: var(--ztc-weight-bold);
    margin-bottom: 8px;
}

.event-tooltip p {
    color: var(--ztc-text-text-2);
    font-size: 12px;
    margin-bottom: 4px;
}

.event-tooltip .event-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: var(--ztc-weight-bold);
    margin-top: 8px;
}

/* Loading States */
.loading-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ztc-border-border-1);
    border-top-color: var(--ztc-text-text-6);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ztc-text-text-2);
}

.empty-state i {
    font-size: 48px;
    color: var(--ztc-border-border-1);
    margin-bottom: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .month-grid {
        gap: 4px;
    }

    .calendar-day {
        min-height: 80px;
        padding: 4px;
    }

    .fc-toolbar {
        flex-direction: column;
        gap: 10px;
    }

    .fc-toolbar-title {
        font-size: 1.2rem !important;
    }

    .view-toggle-group {
        width: 100%;
    }

    .view-toggle-btn {
        flex: 1;
        text-align: center;
    }
}

/* Print Styles */
@media print {

    .year-planner-filters,
    .view-toggle-group {
        display: none;
    }

    #calendarView {
        display: block !important;
    }

    .fc {
        max-width: 100%;
    }
}

/* Color Scheme Matching Your Theme */
.filter-btn {
    background: var(--ztc-text-text-6);
    color: var(--ztc-text-text-1);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: var(--ztc-weight-semibold);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--ztc-text-text-3);
    transform: translateY(-1px);
}

.clear-filters-btn {
    background: var(--ztc-bg-bg-4);
    color: var(--ztc-text-text-3);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: var(--ztc-weight-semibold);
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: var(--ztc-border-border-1);
}

.vl-blog-lar-thumb-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vl-blog-lar-thumb-bg .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.vl-blog-lar-thumb-bg .vl-section-title-1 {
    position: relative;
    z-index: 1;
}

.placeholder-avatar {
    width: 100%;
    height: 250px;
    /* Adjust based on your design */
    background: linear-gradient(135deg, #003366 0%, #C07C00 100%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    border-radius: 4px;
}

.placeholder-avatar .initials {
    line-height: 1;
}

/* Provinces submenu override: force hidden until parent hovered/focused
   This block intentionally uses higher specificity and !important to
   avoid being overridden by other theme rules. */
.main-menu ul li.main-small-menu.has-submenu>.sub-dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    width: 225px !important;
    z-index: 9999 !important;
    transition: opacity 0.18s ease, visibility 0.18s ease !important;
}

.main-menu ul li.main-small-menu.has-submenu:hover>.sub-dropdown,
.main-menu ul li.main-small-menu.has-submenu:focus-within>.sub-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Ensure nested list items stay relative to submenu */
.main-menu ul li.main-small-menu.has-submenu {
    position: relative !important;
}