/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Content Block */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.content-block ul {
    margin: 20px 0;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}

.feature-list li i {
    color: var(--secondary);
    font-size: 20px;
}

/* Mission Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(27, 73, 101, 0.15);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.mv-card p {
    color: #555;
    font-size: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--secondary);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
    z-index: 1;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

/* What We Do Grid */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wwd-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.wwd-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(27, 73, 101, 0.12);
}

.wwd-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.wwd-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 20px;
}

.wwd-card p {
    color: #555;
    font-size: 14px;
}

/* Partnerships */
.partnerships-intro {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partners-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.partner-category {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.partner-category h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.partner-tags span {
    background: var(--light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
    border: 1px solid var(--accent);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(27, 73, 101, 0.15);
}

.team-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 60px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.team-info p {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
}

.team-info span {
    display: block;
    color: #888;
    font-size: 13px;
    margin-top: 8px;
}

/* Focus Areas Page */
.focus-areas-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.focus-areas-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.focus-areas-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.focus-area-section {
    padding: 60px 0;
}

.focus-area-section:nth-child(even) {
    background: var(--light);
}

.fa-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.fa-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.fa-icon-box i {
    font-size: 60px;
    margin-bottom: 20px;
}

.fa-icon-box h3 {
    font-size: 22px;
}

.fa-content h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 15px;
}

.fa-content p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.fa-content ul {
    list-style: none;
    margin-top: 20px;
}

.fa-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    margin-bottom: 10px;
}

.fa-content ul li i {
    color: var(--secondary);
}

/* News Page */
/* Legacy news styles removed - now use premium global styles in style.css */

/* Publications Page */
.publication-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 25px;
    align-items: center;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(27, 73, 101, 0.12);
}

.pub-icon, .pub-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    overflow: hidden;
    flex-shrink: 0;
}

.pub-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-info h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 8px;
}

.pub-info p {
    color: #555;
    font-size: 14px;
    margin-bottom: 5px;
}

.pub-info span {
    font-size: 13px;
    color: #888;
}

/* Videos Page */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px);
}

.video-thumbnail {
    height: 200px;
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.video-info span {
    font-size: 13px;
    color: #888;
}

/* Gallery Page */
.gallery-masonry {
    columns: 4;
    column-gap: 20px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-masonry-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.gallery-masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 73, 101, 0.9));
    color: var(--white);
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-masonry-item:hover .gallery-caption {
    opacity: 1;
}

/* Industry Watch */
.initiative-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary);
}

.initiative-card h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

.initiative-card p {
    color: #444;
    margin-bottom: 15px;
}

.initiative-card .tag {
    display: inline-block;
    background: var(--light);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--primary);
    margin-right: 8px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.case-card h4 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 10px;
}

.case-card p {
    color: #555;
    font-size: 14px;
}

.case-card .case-date {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

/* Call to Action */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-banner .btn {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    font-size: 16px;
}

.cta-banner .btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1024px) {
    .mission-vision-grid,
    .what-we-do-grid,
    .partners-showcase,
    .team-grid,
    .news-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 50px !important;
    }
    
    .fa-card {
        grid-template-columns: 1fr;
    }
    
    .gallery-masonry {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .mission-vision-grid,
    .what-we-do-grid,
    .partners-showcase,
    .team-grid,
    .news-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .pub-icon {
        margin: 0 auto;
    }
    
    .gallery-masonry {
        columns: 1;
    }
    
    .cta-banner {
        padding: 40px 20px;
    }
    
    .cta-banner h2 {
        font-size: 24px;
    }
}

/* Publications Page */
.pub-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 120px 0 50px;
    text-align: center;
}

.pub-page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.pub-header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #27AE60, #2ECC71);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.pub-page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.pub-filter-section {
    background: var(--white);
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 70px;
    z-index: 50;
}

.pub-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pub-search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.pub-search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.pub-search-box input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.pub-search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.pub-filter-dropdown select {
    padding: 14px 40px 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 15px;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.pub-filter-dropdown select:focus {
    outline: none;
    border-color: var(--primary);
}

.pub-grid-section {
    background: var(--light);
    padding: 50px 0;
}

.pub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.pub-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e8e8e8;
}

.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.pub-card-image {
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.pub-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pub-card:hover .pub-card-image img {
    transform: scale(1.05);
}

.pub-card-content {
    padding: 25px;
}

.pub-card-content h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.pub-card-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pub-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.pub-date {
    color: #888;
    font-size: 13px;
}

.pub-date i {
    margin-right: 6px;
    color: var(--secondary);
}

.pub-download-btn {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.pub-download-btn:hover {
    color: var(--primary);
}

.pub-download-btn i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .pub-filter-bar {
        flex-direction: column;
    }
    
    .pub-search-box {
        max-width: 100%;
        width: 100%;
    }
    
    .pub-filter-dropdown {
        width: 100%;
    }
    
    .pub-filter-dropdown select {
        width: 100%;
    }
    
    .pub-grid {
        grid-template-columns: 1fr;
    }

    /* Disable translateX hover transforms that cause overflow on mobile */
    .publication-item:hover {
        transform: none;
    }

    .sidebar-post-item:hover {
        transform: none;
    }
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

/* Video Modal */
.video-modal-content {
    max-width: 900px;
    width: 95%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.video-modal-content .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
}

.video-modal-content .modal-close:hover {
    opacity: 1;
}

.video-container {
    width: 100%;
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
    max-height: 70vh;
}

.video-modal-content h3 {
    color: #fff;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    background: rgba(0,0,0,0.8);
}

/* News Detail Layout */
.news-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .news-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

.news-article-header {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.news-date-badge {
    background: var(--light);
    border: 1px solid #eee;
    padding: 8px 12px;
    text-align: center;
    border-radius: 4px;
    min-width: 65px;
}

.news-date-badge span {
    display: block;
    line-height: 1.2;
}

.news-date-badge .day {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.news-date-badge .month {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary);
}

.news-article-meta {
    flex: 1;
}

.news-article-meta h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-meta-row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta-item i {
    color: var(--secondary);
}

.news-content-body {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.news-content-body p {
    margin-bottom: 25px;
}

/* Sidebar Latest Posts */
.sidebar-title {
    font-size: 20px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}

.latest-posts-carousel {
    position: relative;
    overflow: hidden;
}

.latest-posts-list {
    transition: transform 0.4s ease;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.sidebar-post-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.sidebar-post-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-info .date {
    font-size: 13px;
    color: #888;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
}