/* Import Adobe Fonts */
@import url('https://use.typekit.net/stj0zfx.css');

/* Global Styles */
:root {
    --dark-gray: #323438;
    --light-gray: #d1d1d1;
    --white: #ffffff;
    --font-light: 400;
    --font-regular: 400;
    --font-medium: 400;
    --font-bold: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  "brother-1816", 'Segoe UI', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark-gray);
    line-height: 1.6;
    padding-top: 40px; /* Account for top bar */
    font-weight: var(--font-regular);
    font-size: 16px;
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Animation classes for components */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Top Language Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--dark-gray);
    z-index: 1001;
    height: 40px;
    opacity: 0;
    animation: slideDown 0.5s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

.top-bar .language-selector {
    display: flex;
    align-items: center;
}

.top-bar .lang-link {
    color: var(--light-gray);
    font-size: 0.8rem;
    font-weight: var(--font-regular);
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.top-bar .lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.top-bar .lang-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: var(--font-medium);
}

.top-bar .language-separator {
    color: var(--light-gray);
    margin: 0 8px;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem; /* Increased padding for better spacing */
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    width: 100%;
    top: 40px; /* Position below top bar */
    z-index: 1000;
    transition: background-color 0.3s ease;
    opacity: 0;
    animation: slideDown 0.7s ease 0.2s forwards;
    min-height: 80px; /* Ensure consistent header height */
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

nav ul li:nth-child(1) { animation-delay: 0.5s; }
nav ul li:nth-child(2) { animation-delay: 0.6s; }
nav ul li:nth-child(3) { animation-delay: 0.7s; }
nav ul li:nth-child(4) { animation-delay: 0.8s; }
nav ul li:nth-child(5) { animation-delay: 0.9s; }
nav ul li:nth-child(6) { animation-delay: 1.0s; }

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

nav ul li a {
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    letter-spacing: 1.2px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: #000;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--dark-gray);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--dark-gray);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    font-weight: var(--font-regular);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    padding-left: 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    margin-top: 120px; /* Account for top bar (40px) + header (~80px) */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    text-align: right;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-right: 10%;
    max-width: 600px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 1.2s ease 1s forwards;
}

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: var(--font-medium);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.hero-buttons .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-buttons .btn:first-child {
    animation-delay: 1.5s;
}

.hero-buttons .btn:last-child {
    animation-delay: 1.7s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: rgba(50, 52, 56, 0.7);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-white {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--dark-gray);
}

.btn-white:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content Section */
.main-content {
    padding: 50px 0;
    background-color: var(--white);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quote-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.quote-container h2 {
    color: var(--dark-gray);
    font-size: 2rem;
    font-weight: var(--font-medium);
    margin-bottom: 20px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.quote-container h2.animate {
    opacity: 1;
    transform: translateX(0);
}

blockquote {
    font-style: italic;
    font-weight: var(--font-regular);
    margin-bottom: 20px;
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

blockquote p {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

blockquote p.animate {
    opacity: 1;
    transform: translateY(0);
}

.quote-author {
    text-align: right;
    font-style: italic;
    font-weight: var(--font-regular);
    color: #666;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    letter-spacing: 0.5px;
}

.quote-author.animate {
    opacity: 1;
    transform: translateX(0);
}

.quote-author p {
    margin: 3px 0;
}

.translator {
    font-size: 0.9rem;
    font-weight: var(--font-light);
    color: #888;
    letter-spacing: 0.3px;
}

/* Footer Section */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    padding: 50px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.footer-column.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-column p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: var(--font-regular);
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.footer-column hr {
    width: 80%;
    margin: 15px 0;
    border: none;
    border-top: 1px solid var(--light-gray);
    opacity: 0.5;
}

.footer-nav {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(209, 209, 209, 0.2);
    border-bottom: 1px solid rgba(209, 209, 209, 0.2);
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li {
    margin: 5px 10px;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.footer-nav ul li:nth-child(1) { animation-delay: 0.1s; }
.footer-nav ul li:nth-child(2) { animation-delay: 0.2s; }
.footer-nav ul li:nth-child(3) { animation-delay: 0.3s; }
.footer-nav ul li:nth-child(4) { animation-delay: 0.4s; }
.footer-nav ul li:nth-child(5) { animation-delay: 0.5s; }
.footer-nav ul li:nth-child(6) { animation-delay: 0.6s; }
.footer-nav ul li:nth-child(7) { animation-delay: 0.7s; }
.footer-nav ul li:nth-child(8) { animation-delay: 0.8s; }
.footer-nav ul li:nth-child(9) { animation-delay: 0.9s; }
.footer-nav ul li:nth-child(10) { animation-delay: 1.0s; }
.footer-nav ul li:nth-child(11) { animation-delay: 1.1s; }
.footer-nav ul li:nth-child(12) { animation-delay: 1.2s; }
.footer-nav ul li:nth-child(13) { animation-delay: 1.3s; }

.footer-nav ul li a {
    font-size: 0.8rem;
    font-weight: var(--font-regular);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--white);
}

.site-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.site-info p {
    font-size: 0.8rem;
    font-weight: var(--font-light);
    letter-spacing: 0.5px;
}

.back-to-top {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;  
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.back-to-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.back-to-top.show {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 35px; /* Smaller top bar on mobile */
    }
    
    .top-bar {
        height: 35px;
    }
    
    .top-bar-content {
        padding: 0 1rem;
    }
    
    .top-bar .lang-link {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    header {
        top: 35px; /* Adjust for smaller top bar */
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        margin-top: 140px; /* Adjust for mobile header height - increased */
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
        margin-right: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
}

/*************************************************************************/
/*********************LIFE PAGE****************************************/
/***********************************************************************/

/* Page Banner Styles */
.page-banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-top: 120px; /* Add space for fixed header + top bar */
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--dark-gray);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 1s forwards;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: var(--font-medium);
    margin-bottom: 10px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Article Content Styles */
.article-content {
    padding: 60px 0;
    background-color: var(--white);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease 1s forwards;
}

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

.article-title {
    font-size: 3.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.article-meta {
    color: #666;
    font-size: 1.1rem;
    font-weight: var(--font-regular);
    letter-spacing: 0.5px;
}

.article-date {
    font-style: italic;
}

/* Article Body Styles */
.article-body {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

.content-section {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 25px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.content-section p {
    margin-bottom: 20px;
    text-align: justify;
    letter-spacing: 0.3px;
}

/* Article Quote Styles */
.article-quote {
    background-color: #f8f8f8;
    border-left: 4px solid var(--dark-gray);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
}

.article-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--light-gray);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
}

.article-quote p {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.article-quote cite {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    font-weight: var(--font-medium);
}

/* Article Image Styles */
.article-image-container {
    margin: 40px 0;
    text-align: center;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-image-container.slide-in-left {
    transform: translateX(-30px);
}

.article-image-container.slide-in-right {
    transform: translateX(30px);
}

.article-image-container.animate {
    opacity: 1;
    transform: translateX(0);
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.image-caption {
    margin-top: 15px;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Call to Action Styles */
.article-cta {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.article-cta.animate {
    opacity: 1;
    transform: translateY(0);
}

.article-cta h3 {
    font-size: 2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.article-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.cta-buttons .btn:first-child {
    animation-delay: 0.2s;
}

.cta-buttons .btn:last-child {
    animation-delay: 0.4s;
}

/* Enhanced button styles for CTA */
.article-cta .btn-primary {
    background-color: var(--dark-gray);
    color: var(--white);
    border: 2px solid var(--dark-gray);
}

.article-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--dark-gray);
}

.article-cta .btn-white {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

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

/* Responsive Design for Article */
@media (max-width: 768px) {
    .page-banner {
        height: 150px;
        margin-top: 140px; /* Adjust for mobile header */
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .article-quote {
        padding: 20px;
        margin: 20px 0;
    }
    
    .article-quote::before {
        font-size: 3rem;
        top: -5px;
        left: 5px;
    }
    
    .article-cta {
        padding: 30px 20px;
    }
    
    .article-cta h3 {
        font-size: 1.6rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        min-width: 200px;
    }
    
    .article-image-container {
        margin: 30px 0;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .banner-overlay {
        padding: 15px 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-quote {
        font-size: 1rem;
        padding: 15px;
    }
}

/*************************************************************************/
/*********************BOOKS PAGES (Generic)*****************************/
/***********************************************************************/

/* Books Page Introduction Section */
.books-intro {
    background-color: #f8f8f8;
    padding: 50px 0;
    margin-bottom: 60px;
}

.books-intro .container {
    max-width: 900px;
}

.intro-quote {
    background-color: var(--white);
    border-left: 4px solid var(--dark-gray);
    padding: 40px 50px;
    margin: 0 auto;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-quote.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--light-gray);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.intro-quote p {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    color: #444;
    letter-spacing: 0.3px;
}

.intro-author {
    text-align: right;
    margin-top: 30px;
    font-size: 1rem;
    color: #666;
}

.intro-author p {
    margin: 5px 0;
    font-weight: var(--font-medium);
}

.intro-translator {
    font-size: 0.9rem;
    font-weight: var(--font-light);
    color: #888;
}

/* Books Grid (For books with images) */
.books-grid {
    padding: 60px 0;
}

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.book-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.book-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.book-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #f9f9f9;
}

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

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-content {
    padding: 25px;
    text-align: center;
}

.book-title {
    font-size: 1.3rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Faster stagger animation for book cards */
.book-card:nth-child(1) { transition-delay: 0.05s; }
.book-card:nth-child(2) { transition-delay: 0.1s; }
.book-card:nth-child(3) { transition-delay: 0.15s; }
.book-card:nth-child(4) { transition-delay: 0.2s; }
.book-card:nth-child(5) { transition-delay: 0.25s; }
.book-card:nth-child(6) { transition-delay: 0.3s; }
.book-card:nth-child(7) { transition-delay: 0.35s; }
.book-card:nth-child(8) { transition-delay: 0.4s; }
.book-card:nth-child(9) { transition-delay: 0.45s; }
.book-card:nth-child(10) { transition-delay: 0.5s; }
.book-card:nth-child(11) { transition-delay: 0.55s; }
.book-card:nth-child(12) { transition-delay: 0.6s; }
.book-card:nth-child(13) { transition-delay: 0.65s; }
.book-card:nth-child(14) { transition-delay: 0.7s; }
.book-card:nth-child(15) { transition-delay: 0.75s; }
.book-card:nth-child(16) { transition-delay: 0.8s; }
.book-card:nth-child(17) { transition-delay: 0.85s; }
.book-card:nth-child(18) { transition-delay: 0.9s; }
.book-card:nth-child(19) { transition-delay: 0.95s; }
.book-card:nth-child(20) { transition-delay: 1.0s; }

/* Error state for missing images */
.book-image-error {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

/* Text-only Books Section (For books without images) */
.text-books-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 50px;
    letter-spacing: 1.5px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Changed from 300px to 250px for 3 columns */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-book-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--dark-gray);
}


.text-book-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.text-book-title {
    font-size: 1.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Stagger animation for text book cards */
.text-book-card:nth-child(1) { transition-delay: 0.05s; }
.text-book-card:nth-child(2) { transition-delay: 0.1s; }
.text-book-card:nth-child(3) { transition-delay: 0.15s; }
.text-book-card:nth-child(4) { transition-delay: 0.2s; }
.text-book-card:nth-child(5) { transition-delay: 0.25s; }
.text-book-card:nth-child(6) { transition-delay: 0.3s; }
.text-book-card:nth-child(7) { transition-delay: 0.35s; }
.text-book-card:nth-child(8) { transition-delay: 0.4s; }
.text-book-card:nth-child(9) { transition-delay: 0.45s; }
.text-book-card:nth-child(10) { transition-delay: 0.5s; }
.text-book-card:nth-child(11) { transition-delay: 0.55s; }
.text-book-card:nth-child(12) { transition-delay: 0.6s; }
.text-book-card:nth-child(13) { transition-delay: 0.65s; }
.text-book-card:nth-child(14) { transition-delay: 0.7s; }
.text-book-card:nth-child(15) { transition-delay: 0.75s; }
.text-book-card:nth-child(16) { transition-delay: 0.8s; }
.text-book-card:nth-child(17) { transition-delay: 0.85s; }
.text-book-card:nth-child(18) { transition-delay: 0.9s; }
.text-book-card:nth-child(19) { transition-delay: 0.95s; }
.text-book-card:nth-child(20) { transition-delay: 1.0s; }

/* Books Section with Images (Standard background) */
.books-with-images-section {
    padding: 60px 0;
    background-color: var(--white);
}

/* Responsive Design for Books Pages */
@media (max-width: 768px) {
    .books-intro {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .intro-quote {
        padding: 25px 30px;
        font-size: 1rem;
        margin: 0 1rem;
    }
    
    .intro-quote::before {
        font-size: 3rem;
        top: -5px;
        left: 15px;
    }
    
    .books-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 0 1rem;
    }
    
    .book-image-container {
        height: 350px;
    }
    
    .book-content {
        padding: 20px;
    }
    
    .book-title {
        font-size: 1.1rem;
        min-height: 50px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .text-books-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted for mobile */
        gap: 15px;
        padding: 0 1rem;
    }
    
    .text-book-card {
        padding: 20px;
    }
    
    .text-book-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .intro-quote {
        padding: 20px 25px;
        margin: 0 0.5rem;
    }
    
    .books-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 0.5rem;
    }
    
    .book-image-container {
        height: 320px;
    }
    
    .book-content {
        padding: 15px;
    }
    
    .book-title {
        font-size: 1rem;
        min-height: 45px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .text-books-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 12px;
        padding: 0 0.5rem;
    }
    
    .text-book-card {
        padding: 18px;
    }
    
    .text-book-title {
        font-size: 1rem;
    }
}





/* Additional CSS for new pages - Add this to style.css */

/* Collected Works Publisher Info Card */
.publisher-info-card {
    background-color: var(--white);
    border-left: 4px solid var(--dark-gray);
    padding: 40px 50px;
    margin: 40px auto;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.publisher-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
}

.publisher-details h3 {
    font-size: 1.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.publisher-contact p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
    letter-spacing: 0.2px;
}

.publisher-contact a {
    color: var(--dark-gray);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.publisher-contact a:hover {
    color: #000;
}

/* Writings on Amiyabhushan - Special styling */
.writings-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.writing-item {
    background-color: var(--white);
    border-left: 4px solid var(--dark-gray);
    margin-bottom: 25px;
    padding: 25px 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.writing-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.writing-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.writing-title {
    font-size: 1.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* Research Works */
.research-works {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.research-item {
    background-color: #f8f8f8;
    border-left: 4px solid var(--dark-gray);
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.research-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.research-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    letter-spacing: 0.3px;
    font-style: italic;
}

/* Other Writings Grid for Other-works page */
.other-writings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.writing-category {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.writing-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.writing-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 1.4rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 15px;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-item {
    padding: 12px 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    font-size: 0.95rem;
    color: #333;
    letter-spacing: 0.3px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-left: 3px solid transparent;
}

.category-item:hover {
    background-color: #e8e8e8;
    transform: translateX(5px);
    border-left-color: var(--dark-gray);
}

/* Stagger animation for writing items */
.writing-item:nth-child(1) { transition-delay: 0.1s; }
.writing-item:nth-child(2) { transition-delay: 0.2s; }
.writing-item:nth-child(3) { transition-delay: 0.3s; }
.writing-item:nth-child(4) { transition-delay: 0.4s; }
.writing-item:nth-child(5) { transition-delay: 0.5s; }

.research-item:nth-child(1) { transition-delay: 0.1s; }
.research-item:nth-child(2) { transition-delay: 0.2s; }
.research-item:nth-child(3) { transition-delay: 0.3s; }

.writing-category:nth-child(1) { transition-delay: 0.1s; }
.writing-category:nth-child(2) { transition-delay: 0.2s; }
.writing-category:nth-child(3) { transition-delay: 0.3s; }

/* Responsive adjustments for new components */
@media (max-width: 768px) {
    .publisher-info-card {
        padding: 25px 30px;
        margin: 30px 1rem;
    }
    
    .publisher-details h3 {
        font-size: 1.3rem;
    }
    
    .writings-list {
        padding: 0 1rem;
    }
    
    .writing-item {
        padding: 20px 25px;
        margin-bottom: 20px;
    }
    
    .writing-title {
        font-size: 1.1rem;
    }
    
    .research-works {
        padding: 0 1rem;
    }
    
    .research-item {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .research-description {
        font-size: 1rem;
    }
    
    .other-writings-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }
    
    .writing-category {
        padding: 25px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .publisher-info-card {
        padding: 20px 25px;
        margin: 20px 0.5rem;
    }
    
    .publisher-description {
        font-size: 1rem;
    }
    
    .writings-list {
        padding: 0 0.5rem;
    }
    
    .writing-item {
        padding: 18px 20px;
    }
    
    .writing-title {
        font-size: 1rem;
    }
    
    .research-works {
        padding: 0 0.5rem;
    }
    
    .research-item {
        padding: 20px;
    }
    
    .research-description {
        font-size: 0.95rem;
    }
    
    .other-writings-grid {
        gap: 25px;
        padding: 0 0.5rem;
    }
    
    .writing-category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-item {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}


/******************************************************************/
/******************** PAINTINGS ***********************************/
/******************************************************************/

/* Paintings Page Styles */
.paintings-intro {
    background-color: #f8f8f8;
    padding: 50px 0;
    margin-bottom: 60px;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    letter-spacing: 0.3px;
    font-style: italic;
}

/* Paintings Carousel Section */
.paintings-carousel-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Main Image Display */
.main-image-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.main-painting-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 60px 40px 40px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.main-image-container:hover .image-overlay {
    transform: translateY(0);
}

.painting-info {
    color: var(--white);
    text-align: center;
}

.painting-info h3 {
    font-size: 2rem;
    font-weight: var(--font-medium);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.painting-info p {
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background-color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    padding: 20px;
    gap: 15px;
    background-color: #f8f8f8;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--light-gray) transparent;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background-color: var(--light-gray);
    border-radius: 3px;
}

.thumbnail-item {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-item.active {
    border-color: var(--dark-gray);
    transform: scale(1.05);
}

.thumbnail-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-number {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: var(--font-bold);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Painting Counter */
.painting-counter {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-top: 1px solid #e8e8e8;
    font-size: 1.1rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    letter-spacing: 1px;
}

/* Responsive Design for Paintings */
@media (max-width: 768px) {
    .paintings-intro {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .intro-content {
        padding: 0 1rem;
    }
    
    .intro-content p {
        font-size: 1rem;
    }
    
    .paintings-carousel-section {
        padding: 40px 0 60px;
    }
    
    .carousel-container {
        margin: 0 1rem;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .image-overlay {
        padding: 40px 20px 20px;
    }
    
    .painting-info h3 {
        font-size: 1.5rem;
    }
    
    .painting-info p {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .thumbnail-strip {
        padding: 15px;
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 100px;
        height: 70px;
    }
    
    .painting-counter {
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        margin: 0 0.5rem;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .image-overlay {
        padding: 30px 15px 15px;
    }
    
    .painting-info h3 {
        font-size: 1.2rem;
    }
    
    .painting-info p {
        font-size: 0.9rem;
    }
    
    .carousel-nav {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn i {
        font-size: 0.9rem;
    }
    
    .thumbnail-strip {
        padding: 10px;
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 60px;
    }
}

/* Auto-play indicator */
.auto-play-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.auto-play-indicator.paused {
    opacity: 1;
}

.auto-play-indicator i {
    margin-right: 5px;
}



/* Add this to your style.css file */

/*************************************************************************/
/************************* NEWS & EVENTS PAGE ***************************/
/*************************************************************************/

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--white);
}

.timeline-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-intro.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--light-gray), var(--dark-gray), var(--light-gray));
    transform: translateX(-50%);
    z-index: 0;
}

/* Timeline Item */
.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 2;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

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

/* Timeline Year */
.timeline-year {
    width: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.timeline-year span {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: var(--font-medium);
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 3px solid var(--white);
}

.timeline-year span::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 15px solid var(--dark-gray);
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-year span::before {
    right: auto;
    left: -18px;
    border-left: none;
    border-right: 15px solid var(--dark-gray);
}

/* Timeline Content */
.timeline-content {
    flex: 1;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
    max-width: calc(50% - 10px);
    min-width: 500px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    isolation: isolate;
    z-index: 2;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    border-radius: 10px;
    z-index: -1;
}

/* Timeline Header */
.timeline-header {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #464a50 100%);
    color: var(--white);
    padding: 25px 30px;
    position: relative;
    border: none;
    outline: none;
    margin: 0;
}

.timeline-header h3 {
    font-size: 1.8rem;
    font-weight: var(--font-medium);
    margin-bottom: 10px;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.timeline-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    outline: none;
}

/* Timeline Body */
.timeline-body {
    padding: 30px;
    background-color: var(--white);
    border: none;
    outline: none;
    position: relative;
    z-index: 5;
}

/* News Item */
.news-item {
    border-left: 4px solid var(--dark-gray);
    padding: 25px 30px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.news-item:hover {
    background-color: #f5f5f5;
    transform: translateX(5px);
}

.news-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: var(--font-bold);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.news-content h4 {
    font-size: 1.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.news-source {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.news-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.link-primary, .link-secondary {
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.link-primary {
    background-color: var(--dark-gray);
    color: var(--white);
}

.link-primary:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.link-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.link-secondary:hover {
    background-color: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Category Header */
.category-header {
    text-align: center;
    margin: 40px 0 30px;
    position: relative;
}

.category-header h4 {
    font-size: 1.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    background-color: var(--white);
    padding: 0 20px;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--light-gray);
    transform: translateY(-50%);
}

/* Event Section */
.event-section {
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid var(--dark-gray);
    transition: all 0.3s ease;
}

.event-section:hover {
    background-color: #f5f5f5;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-section.featured {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-left-color: var(--dark-gray);
    border-left-width: 6px;
}

.event-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: var(--font-bold);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.event-content h4 {
    font-size: 1.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.event-organizer, .courtesy {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

/* Exhibition Section */
.exhibition-section {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border: 2px solid var(--light-gray);
    position: relative;
    z-index: 10;
}

.exhibition-section h4 {
    font-size: 1.4rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.exhibition-details {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 15;
    width: 100%;
    clear: both;
}

.image-gallery.small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    text-align: center;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 20;
    display: block;
    visibility: visible;
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 25;
    background-color: var(--white);
    display: block;
    visibility: visible;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 30;
}

.gallery-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 26;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
}

.gallery-photo:hover {
    transform: scale(1.05);
}

/* Force show images - debugging */
.gallery-photo {
    background-color: #f0f0f0;
    min-height: 200px;
    border: 2px solid #ccc;
}

/* Image caption styling */
.image-caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.2px;
    margin: 0;
    padding: 5px;
    display: block;
    visibility: visible;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
    backdrop-filter: blur(10px);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background-color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-close:active {
    transform: scale(0.95);
}

/* Navigation arrows for lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.lightbox-nav:hover {
    background-color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Hide navigation when there's only one image */
.lightbox.single-image .lightbox-nav {
    display: none;
}

/* Mobile responsiveness for lightbox */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-caption {
        font-size: 0.8rem;
        padding: 10px 15px;
        margin-top: 10px;
    }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 0.3px;
}

.image-caption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: 0.2px;
    margin: 0;
}

.news-image {
    margin: 20px 0;
    text-align: center;
}

.news-image .image-placeholder {
    height: 300px;
    max-width: 600px;
    margin: 0 auto;
}

.news-document-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-document-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Stagger animations for timeline items */
.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }
.timeline-item:nth-child(5) { transition-delay: 0.5s; }

.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }
.gallery-item:nth-child(5) { transition-delay: 0.5s; }
.gallery-item:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-section {
        padding: 60px 0;
    }
    
    .timeline-container {
        padding: 0 1rem;
    }
    
    .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 60px;
        margin-bottom: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: -90px;
        top: 0;
        width: auto;
    }
    
    .timeline-year span {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .timeline-year span::before {
        right: -15px;
        left: auto;
        border-right: 15px solid var(--dark-gray);
        border-left: none;
    }
    
    .timeline-content {
        margin: 0;
        max-width: none;
        min-width: auto;
        width: 100%;
    }
    
    .timeline-header {
        padding: 20px 25px;
    }
    
    .timeline-header h3 {
        font-size: 1.5rem;
    }
    
    .timeline-body {
        padding: 25px;
    }
    
    .news-item, .event-section {
        padding: 20px 25px;
    }
    
    .exhibition-section {
        padding: 25px;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .image-gallery.small {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .gallery-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .timeline-intro {
        padding: 0 1rem;
    }
    
    .timeline-container {
        padding: 0 0.5rem;
    }
    
    .timeline-item {
        margin-left: 50px;
        margin-bottom: 50px;
    }
    
    .timeline-year {
        left: -80px;
    }
    
    .timeline-year span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .timeline-header {
        padding: 18px 20px;
    }
    
    .timeline-header h3 {
        font-size: 1.3rem;
    }
    
    .timeline-body {
        padding: 20px;
    }
    
    .news-item, .event-section {
        padding: 18px 20px;
    }
    
    .exhibition-section {
        padding: 20px;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    .news-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .link-primary, .link-secondary {
        text-align: center;
    }
}

/* Larger timeline for big screens - 1.5x original size */
@media (min-width: 1200px) {
    .timeline-container {
        max-width: 1800px; /* 1.5x the current 1200px */
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .timeline-content {
        min-width: 750px; /* 1.5x the current 500px */
        max-width: calc(50% - 15px); /* Maintain 50% but account for larger container */
    }
    
    /* Increase image sizes in timeline */
    .gallery-image {
        height: 300px; /* 1.5x the current 200px */
    }
    
    .news-document-image {
        max-width: 100%;
        height: auto;
        min-height: 225px; /* 1.5x proportional increase */
    }
    
    .news-image {
        margin: 30px 0; /* Increase spacing */
    }
    
    .news-image .image-placeholder {
        height: 450px; /* 1.5x the current 300px */
        max-width: 900px; /* 1.5x increase */
        margin: 0 auto;
    }
    
    /* Adjust image gallery grid for larger images */
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 1.5x the current 250px */
        gap: 30px; /* Increase gap */
    }
    
    .image-gallery.small {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 1.5x the current 200px */
        gap: 22px; /* Proportional increase */
    }
}

/* For extra large screens */
@media (min-width: 1600px) {
    .timeline-container {
        max-width: 2000px; /* Slightly larger for very big screens */
    }
    
    .timeline-content {
        min-width: 800px;
    }
    
    .gallery-image {
        height: 350px; /* Moderate increase for very large screens */
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 35px;
    }
}

/* Ensure images scale properly within their containers */
@media (min-width: 1200px) {
    .gallery-photo, .news-document-image {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Keep full image visible */
        object-position: center;
    }
}

/*************************************************************************/
/************************* AWARDS PAGE ***********************************/
/*************************************************************************/

/* Awards Timeline Section */
.awards-timeline-section {
    padding: 80px 0;
    background-color: var(--white);
}

/* Reuse timeline styles from news-events but customize for awards */
.awards-timeline-section .timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.awards-timeline-section .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ffd700, var(--dark-gray), #ffd700);
    transform: translateX(-50%);
    z-index: 0;
}

/* Award Item Styles */
.award-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #ffd700;
}

.award-item.featured {
    background: linear-gradient(135deg, #fff9e6 0%, var(--white) 100%);
    border-left: 4px solid #ffd700;
    border-left-width: 6px;
}

.award-item.featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 30px solid #ffd700;
    border-left: 30px solid transparent;
    opacity: 0.7;
}

/* Award Icon */
.award-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #464a50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.award-item.featured .award-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--dark-gray);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.award-icon i {
    font-size: 1.5rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.award-item.featured .award-icon i {
    color: var(--dark-gray);
    transform: scale(1.1);
}

.award-item:hover .award-icon {
    transform: scale(1.1) rotate(5deg);
}

.award-item.featured:hover .award-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Award Content */
.award-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.award-content h4 {
    font-size: 1.3rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.award-item.featured .award-content h4 {
    color: #b8860b;
    font-weight: var(--font-bold);
}

.award-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.award-work {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border-left: 3px solid var(--dark-gray);
}

.award-item.featured .award-work {
    background-color: #fffbf0;
    border-left-color: #ffd700;
}

/* Award Meta */
.award-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.award-year {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
}

.award-item.featured .award-year {
    background-color: #ffd700;
    color: var(--dark-gray);
}

.award-type {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
}

/* Award Image */
.award-image {
    margin-top: 20px;
    text-align: center;
}

.award-image img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.award-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Custom timeline categories for awards */
.awards-timeline-section .timeline-category {
    background-color: rgba(255, 215, 0, 0.2);
    color: #b8860b;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Awards Summary Section */
.awards-summary-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.awards-summary {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.awards-summary.animate {
    opacity: 1;
    transform: translateY(0);
}

.awards-summary h2 {
    font-size: 2.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 40px;
    letter-spacing: 1.5px;
}

/* Summary Statistics */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ffd700;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.summary-text {
    background-color: var(--white);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ffd700;
}

.summary-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Responsive Design for Awards */
@media (max-width: 768px) {
    .awards-timeline-section {
        padding: 60px 0;
    }
    
    .awards-timeline-section .timeline-container {
        padding: 0 1rem;
    }
    
    .awards-timeline-section .timeline-line {
        left: 30px;
        transform: none;
    }
    
    .awards-timeline-section .timeline-item {
        flex-direction: column !important;
        margin-left: 60px;
        margin-bottom: 60px;
    }
    
    .awards-timeline-section .timeline-year {
        position: absolute;
        left: -90px;
        top: 0;
        width: auto;
    }
    
    .awards-timeline-section .timeline-year span {
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .awards-timeline-section .timeline-year span::before {
        right: -15px;
        left: auto;
        border-right: 15px solid var(--dark-gray);
        border-left: none;
    }
    
    .awards-timeline-section .timeline-content {
        margin: 0;
        max-width: none;
        min-width: auto;
        width: 100%;
    }
    
    .award-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .award-icon {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .award-content {
        text-align: left;
    }
    
    .award-meta {
        justify-content: center;
    }
    
    .awards-summary-section {
        padding: 40px 0;
    }
    
    .awards-summary {
        padding: 0 1rem;
    }
    
    .awards-summary h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .summary-text {
        padding: 25px 30px;
        margin: 0 1rem;
    }
    
    .summary-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .awards-timeline-section .timeline-item {
        margin-left: 50px;
        margin-bottom: 50px;
    }
    
    .awards-timeline-section .timeline-year {
        left: -80px;
    }
    
    .awards-timeline-section .timeline-year span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .award-item {
        padding: 18px;
    }
    
    .award-icon {
        width: 50px;
        height: 50px;
    }
    
    .award-icon i {
        font-size: 1.2rem;
    }
    
    .award-content h4 {
        font-size: 1.1rem;
    }
    
    .award-description {
        font-size: 0.95rem;
    }
    
    .award-work {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .awards-summary h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .summary-text {
        padding: 20px 25px;
        margin: 0 0.5rem;
    }
    
    .summary-text p {
        font-size: 0.95rem;
    }
}

/* Stagger animations for award items */
.award-item:nth-child(1) { transition-delay: 0.1s; }
.award-item:nth-child(2) { transition-delay: 0.2s; }
.award-item:nth-child(3) { transition-delay: 0.3s; }
.award-item:nth-child(4) { transition-delay: 0.4s; }
.award-item:nth-child(5) { transition-delay: 0.5s; }

/* Special hover effects for featured awards */
.award-item.featured:hover {
    background: linear-gradient(135deg, #fff4cc 0%, #fff9e6 100%);
    transform: translateY(-8px) scale(1.02);
}

.award-item.featured:hover .award-icon {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}




.gallery-intro {
    background-color: #f8f8f8;
    padding: 50px 0;
    margin-bottom: 60px;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    letter-spacing: 0.3px;
    font-style: italic;
}

.gallery-section {
    padding: 60px 0 80px;
    background-color: var(--white);
}

.solitary-section {
    background-color: #f8f8f8;
    margin-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    letter-spacing: 1.5px;
    margin: 0;
    opacity: 1;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--dark-gray);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.gallery-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solitary-item {
    border-radius: 10px;
}

.solitary-item:hover {
    transform: translateY(-8px);
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.solitary-item .gallery-image-container {
    height: 250px;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

.gallery-overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.gallery-overlay-content p {
    font-size: 0.9rem;
    font-weight: var(--font-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.gallery-caption {
    padding: 25px;
    text-align: center;
}

.image-caption {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin: 0;
    font-style: italic;
}

/* Stagger animation for gallery items */
.gallery-item:nth-child(1) { transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.3s; }
.gallery-item:nth-child(4) { transition-delay: 0.4s; }
.gallery-item:nth-child(5) { transition-delay: 0.5s; }
.gallery-item:nth-child(6) { transition-delay: 0.6s; }
.gallery-item:nth-child(7) { transition-delay: 0.7s; }
.gallery-item:nth-child(8) { transition-delay: 0.8s; }
.gallery-item:nth-child(9) { transition-delay: 0.9s; }
.gallery-item:nth-child(10) { transition-delay: 1.0s; }
.gallery-item:nth-child(11) { transition-delay: 1.1s; }
.gallery-item:nth-child(12) { transition-delay: 1.2s; }
.gallery-item:nth-child(13) { transition-delay: 1.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-intro {
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .intro-content {
        padding: 0 1rem;
    }
    
    .intro-content p {
        font-size: 1rem;
    }
    
    .gallery-section {
        padding: 40px 0 60px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }
    
    .gallery-image-container {
        height: 250px;
    }
    
    .gallery-caption {
        padding: 20px;
    }
    
    .image-caption {
        font-size: 0.9rem;
    }
    
    .gallery-overlay-content i {
        font-size: 2rem;
    }
    
    .gallery-overlay-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 25px;
        padding: 0 0.5rem;
    }
    
    .gallery-image-container {
        height: 220px;
    }
    
    .gallery-caption {
        padding: 18px;
    }
    
    .image-caption {
        font-size: 0.85rem;
    }
}




/*************************************************************************/
/************************* SHARE THOUGHTS PAGE **************************/
/*************************************************************************/

/* Main Share Thoughts Section */
.share-thoughts-main {
    padding: 80px 0;
    background-color: var(--white);
}

/* Quote Section */
.quote-section {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.author-quote {
    max-width: 800px;
    background-color: #f8f8f8;
    border-left: 4px solid var(--dark-gray);
    padding: 40px 50px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.author-quote.animate {
    opacity: 1;
    transform: translateY(0);
}

.author-quote h2 {
    font-size: 2.2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-align: center;
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
    text-align: center;
}

.quote-text p {
    margin: 0;
}

.quote-author {
    text-align: right;
    font-style: italic;
    color: #666;
    letter-spacing: 0.5px;
}

.quote-author p {
    margin: 5px 0;
    font-weight: var(--font-medium);
}

.quote-source {
    font-size: 0.9rem;
    font-weight: var(--font-light) !important;
    color: #888 !important;
    letter-spacing: 0.3px;
}

/* Form Section */
.thoughts-form-section {
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.form-container {
    max-width: 800px;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 50px;
    border: 1px solid #e8e8e8;
}

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

.form-title {
    font-size: 2.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Form Styles */
.thoughts-form {
    width: 100%;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'vista-sans', 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    color: var(--dark-gray);
    letter-spacing: 0.2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-gray);
    box-shadow: 0 0 0 3px rgba(50, 52, 56, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.form-actions .btn {
    min-width: 160px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: var(--font-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background-color: var(--dark-gray);
    color: var(--white);
    border: 2px solid var(--dark-gray);
}

.form-actions .btn-primary:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-actions .btn-white {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.form-actions .btn-white:hover {
    background-color: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Readers' Thoughts Section */
.readers-thoughts-section {
    margin-bottom: 80px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Thoughts Grid */
.thoughts-grid {
    display: grid;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.thought-item {
    background-color: var(--white);
    border-left: 4px solid var(--dark-gray);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
}

.thought-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.thought-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.thought-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.reader-name {
    font-size: 1.3rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.3px;
}

.thought-date {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    letter-spacing: 0.2px;
}

.thought-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    letter-spacing: 0.2px;
}

.thought-content p {
    margin: 0;
    text-align: justify;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: var(--font-medium);
    color: var(--dark-gray);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.cta-btn {
    min-width: 200px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: var(--font-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: var(--dark-gray);
    color: var(--white);
    border: 2px solid var(--dark-gray);
    text-decoration: none;
    display: inline-block;
    border-radius: 0;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Stagger animations for thought items */
.thought-item:nth-child(1) { transition-delay: 0.1s; }
.thought-item:nth-child(2) { transition-delay: 0.2s; }
.thought-item:nth-child(3) { transition-delay: 0.3s; }
.thought-item:nth-child(4) { transition-delay: 0.4s; }
.thought-item:nth-child(5) { transition-delay: 0.5s; }

/* Responsive Design for Share Thoughts Page */
@media (max-width: 768px) {
    .share-thoughts-main {
        padding: 60px 0;
    }
    
    .quote-section {
        margin-bottom: 60px;
        padding: 0 1rem;
    }
    
    .author-quote {
        padding: 30px 25px;
        margin: 0;
    }
    
    .author-quote h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .thoughts-form-section {
        margin-bottom: 60px;
        padding: 0 1rem;
    }
    
    .form-container {
        padding: 35px 25px;
        margin: 0;
    }
    
    .form-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .form-subtitle {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .form-actions .btn {
        min-width: 180px;
    }
    
    .readers-thoughts-section {
        margin-bottom: 60px;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .thoughts-grid {
        gap: 30px;
        margin: 0;
    }
    
    .thought-item {
        padding: 25px 20px;
    }
    
    .thought-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .reader-name {
        font-size: 1.2rem;
    }
    
    .thought-content {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 35px 25px;
        margin: 0 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .cta-btn {
        min-width: 180px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .share-thoughts-main {
        padding: 40px 0;
    }
    
    .quote-section {
        margin-bottom: 40px;
        padding: 0 0.5rem;
    }
    
    .author-quote {
        padding: 25px 20px;
    }
    
    .author-quote h2 {
        font-size: 1.6rem;
    }
    
    .quote-text {
        font-size: 0.95rem;
    }
    
    .thoughts-form-section {
        margin-bottom: 40px;
        padding: 0 0.5rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .readers-thoughts-section {
        margin-bottom: 40px;
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .thought-item {
        padding: 20px 18px;
    }
    
    .reader-name {
        font-size: 1.1rem;
    }
    
    .thought-content {
        font-size: 0.95rem;
    }
    
    .cta-section {
        padding: 30px 20px;
        margin: 0 0.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.4rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
}