/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    color: #556b2f;
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.nav-logo img {
    width: 150px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d2691e;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d2691e;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #d2691e;
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Navigation Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    position: relative;
}

.dropdown-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon,
.nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Hide dropdown icon button on desktop (hover works via CSS) */
@media (min-width: 769px) {
    .dropdown-icon-btn {
        pointer-events: none;
    }

    .nav-link-wrapper:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.dropdown-item:hover {
    background-color: rgba(210, 105, 30, 0.1);
    color: #d2691e;
    padding-left: 1.5rem;
}

.dropdown-item.active {
    background-color: rgba(210, 105, 30, 0.1);
    color: #d2691e;
    font-weight: 600;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .nav-dropdown {
        display: block;
        width: 100%;
    }

    .nav-link-wrapper {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-toggle {
        flex: 1;
    }

    .dropdown-icon-btn {
        padding: 0.5rem;
        margin-right: -0.5rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: fit-content;
        padding: 0.5rem 0;
        /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    }

    .dropdown-item {
        color: #2c3e50;
        padding: 0.5rem 1rem;
        padding-left: 2rem;
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #d2691e;
        padding-left: 2.25rem;
    }

    .dropdown-item.active {
        background-color: rgba(210, 105, 30, 0.2);
        color: #d2691e;
    }

    /* Adjust dropdown icon for mobile */
    .dropdown-icon {
        stroke: rgba(255, 255, 255, 0.8);
    }

    .nav-dropdown.active .dropdown-icon {
        stroke: #d2691e;
    }
}

/* Ensure dropdown works with existing mobile menu */
@media (max-width: 768px) {
    .nav-menu.active .nav-dropdown {
        display: block;
    }
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background-color: rgba(210, 105, 30, 0.1);
    color: #d2691e;
}

.search-toggle svg {
    display: block;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    padding: 0.75rem 0;
    background: transparent;
    color: #2c3e50;
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #d2691e;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    color: #b8571f;
}

.search-submit svg {
    display: block;
}

.search-close {
    position: absolute;
    top: 0rem;
    right: 0rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #666;
    transition: color 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: #d2691e;
    background-color: rgba(210, 105, 30, 0.1);
}

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

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    width: fit-content;
    border-radius: 10px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 0;
    top: 0;
}

.modal-content img {
    width: 100%;
    height: 100%;
    margin: auto;
    display: block;
}

.image-modal {
    cursor: pointer;
}

/* Botão fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: transparent;
    border: none;
    text-shadow: 0 0 4px black;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.full-width {
    width: 100% !important;
}


@media (max-width: 768px) {
    .modal-content {
        max-width: none;
    }

}

/* Pagination Styles */
.pages {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pages a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid #d2691e;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 45px;
    justify-content: center;
}

.pages a:hover,
.pages a:focus {
    background: #d2691e;
    color: white;
    transform: translateY(-2px);
}

.pages a[selected],
.pages a[selected=""] {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
    pointer-events: none;
}

.pages .next-page {
    padding: 0.5rem 1.75rem;
    min-width: auto;
}

.pages> :not(a) {
    color: #666;
    padding: 0 0.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .pages {
        gap: 0.25rem;
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .pages a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: 40px;
    }

    .pages .next-page {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Page Sections */
.page {
    min-height: 100vh;
    padding-top: 44px;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.page-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(174deg, #02220C 0%, #044e25 100%);
    color: white;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.content-section:nth-child(even) {
    background: white;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse>* {
    direction: ltr;
}

.section-text h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.section-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.section-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Three Images Section */
.three-images-section {
    padding: 4rem 0;
    background: white;
}

.three-images-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.three-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-card {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.image-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.image-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #d2691e, #b8860b);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(210, 105, 30, 0.4);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #d2691e;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.category-link {
    color: #d2691e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #b8860b;
}

/* Timeline */
.timeline-section {
    margin: 4rem 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d2691e;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

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

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

.timeline-year {
    background: #d2691e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -20px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    border-right-color: white;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #666;
}

/* Founders Section */
.founders-section {
    margin: 4rem 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.founder-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-image {
    margin-bottom: 1.5rem;
}

.founder-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d2691e;
}

img.founder-banner-img {
    width: auto;
    height: 480px;
    object-fit: contain;
}

@media (max-width: 768px) {
    img.founder-banner-img {
        width: 100%;
        height: auto;
    }
}

.founder-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.founder-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Media Section */
.media-section {
    margin: 4rem 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-placeholder {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px dashed #ddd;
}

.media-placeholder h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.media-placeholder p {
    color: #666;
}

/* Scholarships Section */
.scholarships-section,
.projects-section {
    margin: 4rem 0;
}

.scholarships-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.scholarship-card,
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-card:hover,
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.scholarship-card h3,
.project-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.scholarship-card p,
.project-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.scholarship-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.amount {
    color: #d2691e;
    font-weight: 600;
}

.deadline {
    color: #666;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-status:contains("Active") {
    background: #d4edda;
    color: #155724;
}

.project-status:contains("Planning") {
    background: #fff3cd;
    color: #856404;
}

.scholarship-link,
.project-link {
    color: #d2691e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.scholarship-link:hover,
.project-link:hover {
    color: #b8860b;
}

/* Submissions Page */
.submission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.submission-info h2,
.submission-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.submission-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.benefits-list,
.requirements-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.benefits-list li,
.requirements-list li {
    margin-bottom: 0.5rem;
    color: #666;
}

.submission-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.submission-form h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d2691e;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-button {
    background: linear-gradient(135deg, #d2691e, #b8860b);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(210, 105, 30, 0.4);
}

/* Footer */
.footer {
    background: #02220C;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d2691e;
}

.footer-image-notice {
    border-top: 1px solid #34495e;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    text-align: center;
}

.footer-image-notice p {
    color: #95a5a6;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.6;
}

.footer-image-notice a {
    color: #d2691e;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.footer-image-notice a:hover {
    color: #e8a87c;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

.show-more-btn {
    background: #d2691e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-more-btn:hover {
    background: #b8571f;
    transform: translateX(3px);
}

.show-more-btn svg {
    transition: transform 0.3s ease;
}

.show-more-btn:hover svg {
    transform: translateX(3px);
}

/* Contributor Modal */
.contributor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.contributor-modal.active {
    display: flex;
}

.modal-backdrop-contributor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content-contributor {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideInUp 0.4s ease;
    z-index: 10000;
}

.modal-close-contributor {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close-contributor:hover {
    background: #f8f9fa;
    color: #2c3e50;
    transform: rotate(90deg);
}

.modal-body-contributor {
    padding: 2.5rem;
}

.modal-contributor-photo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-contributor-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.modal-body-contributor h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.modal-position {
    color: #d2691e;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.modal-section h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-section p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 2rem;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Search Mobile Styles */
    .nav-actions {
        gap: 0.5rem;
    }

    .search-toggle {
        padding: 0.4rem;
    }

    .search-overlay {
        padding-top: 60px;
    }

    .search-container {
        margin: 0 15px;
        max-width: none;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .search-input-wrapper {
        padding: 0.75rem 1rem;
    }

    .modal-content-contributor {
        width: 95%;
        max-height: 90vh;
    }

    .modal-body-contributor {
        padding: 2rem 1.5rem;
    }

    .modal-contributor-photo img {
        width: 150px;
        height: 150px;
    }

    .modal-body-contributor h3 {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .section-content.reverse {
        direction: ltr;
    }

    .three-images-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-year {
        position: absolute;
        left: -10px;
        top: 0;
    }

    .timeline-content {
        margin: 0;
        margin-top: 1rem;
    }

    .timeline-content::before {
        display: none;
    }

    .submission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-button {
        text-align: center;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        flex-direction: column;
        min-height: auto;
    }

    .book-cover {
        width: 100%;
        height: 180px;
    }

    .book-cover::after {
        display: none;
    }

    .book-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contributors-grid {
        grid-template-columns: 1fr;
    }

    .purchase-buttons {
        flex-direction: column;
    }

    .mentorship-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .donation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .amount-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .overview-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-pill {
        width: 200px;
        text-align: center;
    }

    .featured-item {
        flex-direction: column;
        text-align: center;
    }

    .featured-item img {
        width: 150px;
        height: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .programs-section,
    .events-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .image-card,
    .category-card,
    .scholarship-card,
    .project-card {
        padding: 1.5rem;
    }

    .submission-form-container {
        padding: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.cta-button:focus,
.submit-button:focus,
.nav-link:focus {
    outline: 2px solid #d2691e;
    outline-offset: 2px;
}

/* Detail Pages */
.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.detail-main h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.detail-main h2:first-child {
    margin-top: 0;
}

.detail-main h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.detail-main ul,
.detail-main ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.detail-main li {
    margin-bottom: 0.5rem;
    color: #666;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item strong {
    color: #2c3e50;
}

.status-active {
    color: #27ae60;
    font-weight: 600;
}

.status-planning {
    color: #f39c12;
    font-weight: 600;
}

.cta-section {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    color: #d2691e;
    border: 2px solid #d2691e;
}

.cta-button.secondary:hover {
    background: #d2691e;
    color: white;
}

.timeline-simple {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.timeline-step {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #d2691e;
    font-weight: bold;
}

.timeline-step strong {
    color: #2c3e50;
    margin-left: 14px;
}

/* The Idea of Iran Pages */
.books-section {
    margin: 4rem 0;
}

.books-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
}

.section-description {
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.book-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 390px;
    display: flex !important;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.book-cover {
    width: 140px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.book-cover::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #d2691e, #b8860b);
}

.book-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.3);
}

.book-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.book-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.book-blurb {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.book-link {
    color: #d2691e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    padding: 8px 16px;
    border: 2px solid #d2691e;
    border-radius: 25px;
    font-size: 0.9rem;
}

.book-link:hover {
    background: #d2691e;
    color: white;
    transform: translateY(-1px);
}

.series-description {
    margin: 4rem 0;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.series-description h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.series-description p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Book Detail Page */
.book-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 5rem;
}

.book-cover-large {
    margin-bottom: 2rem;
    text-align: center;
}

.book-cover-large img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.book-title-section {
    margin-bottom: 2rem;
    text-align: center;
}

.book-title-section h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.book-title-section h2 {
    color: #d2691e;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
}

.book-description {
    margin-bottom: 3rem;
}

.book-description h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.book-description p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contributors-section {
    margin-bottom: 3rem;
}

.contributors-section h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contributor-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #d2691e;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contributor-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contributor-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.75rem 0;
}

/* Speaker-specific styles */
.speaker-photo,
.contributor-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #d2691e;
}

.speaker-photo img,
.contributor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-info,
.contributor-info {
    flex: 1;
}

.speaker-info h4,
.contributor-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.speaker-info h5,
.contributor-info h5 {
    color: #d2691e;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
}

.speaker-affiliation {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.speaker-description {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.table-of-contents {
    margin-bottom: 3rem;
}

.table-of-contents h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.toc-list {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.toc-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-chapter {
    color: #d2691e;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 80px;
}

.toc-title {
    color: #666;
    flex-grow: 1;
}

.book-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* max-width: 30%; */
}

.book-details-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.book-details-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.detail-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item strong {
    color: #2c3e50;
}

.purchase-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.purchase-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.purchase-section p {
    color: #666;
    margin-bottom: 1.5rem;
}

.purchase-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.purchase-button {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.purchase-button.primary {
    background: linear-gradient(135deg, #d2691e, #b8860b);
    color: white;
}

.purchase-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 105, 30, 0.3);
}

.purchase-button.secondary {
    background: transparent;
    color: #d2691e;
    border: 2px solid #d2691e;
}

.purchase-button.secondary:hover {
    background: #d2691e;
    color: white;
}

.related-books {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-books a {
    text-decoration: none;
}

.related-books h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.related-book-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

/* .related-book-item:last-child {
    margin-bottom: 0;
} */

.related-book-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.related-book-info h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-book-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Overview Page Enhancements */
.overview-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nav-pill {
    background: rgba(210, 105, 30, 0.1);
    color: #d2691e;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-pill:hover {
    background: #d2691e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Content */
.featured-content {
    margin: 3rem 0;
}

.featured-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.featured-item img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.featured-content-text h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.featured-content-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-link {
    color: #d2691e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.featured-link:hover {
    color: #b8860b;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d2691e;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #d2691e 0%, #b8860b 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
}

.cta-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: white;
    color: #d2691e;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: white;
    color: #d2691e;
}

/* Section Spacing */
.programs-section,
.publications-section,
.events-section,
.involvement-section {
    margin: 5rem 0;
    padding: 3rem 0;
}

.programs-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 4rem 2rem;
}

.publications-section {
    background: white;
}

.events-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 4rem 2rem;
}

.involvement-section {
    background: white;
}

/* New Pages Styles */
.program-overview {
    margin: 3rem 0;
    text-align: center;
}

.program-overview h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.program-overview p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mentorship-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d2691e;
}

.mentorship-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.mentorship-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.mentorship-card ul {
    list-style: none;
    padding: 0;
}

.mentorship-card li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.mentorship-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d2691e;
    font-weight: bold;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d2691e, #b8860b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.step-card p {
    color: #666;
}

.become-mentor {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.become-mentor h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.become-mentor p {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.mentor-requirements {
    margin-bottom: 2rem;
}

.mentor-requirements h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.mentor-requirements ul {
    list-style: none;
    padding: 0;
}

.mentor-requirements li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.mentor-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d2691e;
    font-weight: bold;
}

/* Donation Page Styles */
.impact-section {
    margin: 3rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #d2691e;
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.impact-card p {
    color: #666;
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.donation-info h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.donation-info h3 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.giving-options {
    list-style: none;
    padding: 0;
}

.giving-options li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.giving-options li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d2691e;
    font-weight: bold;
}

.donation-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}

.amount-btn:hover,
.amount-btn.selected {
    border-color: #d2691e;
    background: #d2691e;
    color: white;
}

.custom-amount {
    margin-bottom: 2rem;
}

.custom-amount label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.custom-amount input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.donation-type h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
}

.donor-info h4,
.donation-purpose h4,
.tribute-section h4 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donate-button {
    background: linear-gradient(135deg, #d2691e, #b8860b);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(210, 105, 30, 0.4);
}

.other-giving {
    margin: 4rem 0;
}

.other-giving h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.giving-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.giving-method {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.giving-method h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.giving-method p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-link {
    color: #d2691e;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    color: #b8860b;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-method p {
    color: #666;
    margin-bottom: 0.5rem;
}

.office-location {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.office-location h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.office-location address {
    color: #666;
    font-style: normal;
    line-height: 1.6;
}

.faq-section {
    margin: 4rem 0;
}

.faq-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.faq-item a {
    color: #d2691e;
    text-decoration: none;
}

.faq-item a:hover {
    color: #b8860b;
}

/* FAQ page */
#faq .faq-section--accordion {
    margin: 2rem auto 4rem;
    max-width: 880px;
}

#faq .faq-accordion {
    border: 1px solid rgba(44, 62, 80, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

#faq .faq-accordion__item {
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

#faq .faq-accordion__item:last-child {
    border-bottom: none;
}

#faq .faq-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    margin: 0;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    transition: background 0.2s ease;
}

#faq .faq-accordion__trigger:hover {
    background: #faf8f5;
}

#faq .faq-accordion__trigger:focus {
    outline: 2px solid #d2691e;
    outline-offset: -2px;
}

#faq .faq-accordion__title {
    flex: 1;
    line-height: 1.45;
}

#faq .faq-accordion__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(210, 105, 30, 0.1);
    position: relative;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.3s ease, background 0.2s ease;
}

#faq .faq-accordion__icon::before,
#faq .faq-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #d2691e;
    border-radius: 1px;
    transform: translate(-50%, -50%);
}

#faq .faq-accordion__icon::before {
    width: 12px;
    height: 2px;
}

#faq .faq-accordion__icon::after {
    width: 2px;
    height: 12px;
}

#faq .faq-accordion__item.is-open .faq-accordion__icon {
    transform: rotate(45deg);
    background: rgba(210, 105, 30, 0.18);
}

#faq .faq-accordion__content {
    padding: 0 1.35rem 1.35rem 1.35rem;
    color: #555;
    line-height: 1.65;
}

#faq .faq-accordion__content p {
    margin: 0 0 0.85rem;
}

#faq .faq-accordion__content p:last-child {
    margin-bottom: 0;
}

#faq .faq-accordion__content a {
    color: #d2691e;
    text-decoration: none;
}

#faq .faq-accordion__content a:hover {
    color: #b8860b;
}

#faq .faq-empty {
    text-align: center;
    color: #666;
    margin: 2rem 0;
}

/* New About Page Sections */

/* Biography Section */
.biography-section {
    margin: 4rem 0;
}

/* Founder Section */
.founder-section {
    margin: 4rem 0;
}

/* Trustees Section */
.trustees-section {
    margin: 4rem 0;
}

.trustee-image {
    margin-bottom: 1.5rem;
}

.trustee-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d2691e;
}

.trustee-position {
    font-weight: 600;
    color: #d2691e !important;
    margin-bottom: 0.5rem !important;
}

.trustee-description {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Advisors Section */
.advisors-section {
    margin: 4rem 0;
}

.advisor-image {
    margin-bottom: 1.5rem;
}

.advisor-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #b8860b;
}

.advisor-position {
    font-weight: 600;
    color: #b8860b !important;
    margin-bottom: 0.5rem !important;
}

.advisor-description {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Anniversary Section */
.anniversary-section {
    margin: 4rem 0;
}

/* Tabs System for Trustees and Advisors */
.tabs-container {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
    text-align: left;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #d2691e;
}

.tab-button.active {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.tab-button-image {
    flex-shrink: 0;
}

.tab-button-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d2691e;
}

.tab-button.active .tab-button-image img {
    border-color: white;
}

.tab-button-text h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: inherit;
}

.tab-button-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    color: inherit;
}

.tab-button.active .tab-button-text h4,
.tab-button.active .tab-button-text p {
    color: white;
}

.tabs-content {
    position: relative;
}

.tab-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.trustee-detail-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.trustee-detail-image {
    text-align: center;
}

.trustee-detail-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #d2691e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trustee-detail-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.trustee-detail-content .trustee-position {
    font-weight: 600;
    color: #d2691e !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem !important;
}

.trustee-detail-content .advisor-position {
    font-weight: 600;
    color: #b8860b !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem !important;
}

.trustee-section {
    margin-bottom: 1.5rem;
}

.trustee-section h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.trustee-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0 !important;
}

/* Call to Action Buttons */
.cta-section {
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #d2691e;
    color: white;
    border-color: #d2691e;
}

.cta-button.primary:hover {
    background: #b8860b;
    border-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #d2691e;
    border-color: #d2691e;
}

.cta-button.secondary:hover {
    background: #d2691e;
    color: white;
}

/* Enhanced responsive design for new sections */
@media (max-width: 768px) {
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-content.reverse {
        direction: ltr;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }

    .timeline-content {
        margin: 1rem 0 !important;
        max-width: 100%;
    }

    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Tabs responsive design */
    .tabs-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .tab-button {
        min-width: 280px;
        width: 100%;
        max-width: 400px;
    }

    .trustee-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .trustee-detail-image {
        justify-self: center;
    }

    .trustee-detail-image img {
        width: 150px;
        height: 150px;
    }

    .tab-content {
        padding: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000;
        color: #fff;
    }

    .cta-button {
        background: #000;
        border: 2px solid #fff;
    }
}

/* About Our Founder Specific Styles */

/* Universities Tabs Container */
.universities-tabs-container {
    margin-top: 3rem;
}

/* Slider For (Main Content) */
.slider-for {
    margin-bottom: 2rem;
}

.slider-for .university-content-panel {
    outline: none;
}

/* Slider Nav (Tabs Navigation) */
#about-founder .slider-nav {
    margin-top: 5rem;

    .slick-dots {
        bottom: -30px;
    }

    .slick-track {
        margin-top: 1rem;
    }
}

.slider-nav .university-tab-button {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 1rem;
    min-height: 120px;
    outline: none;
}

.slider-nav .university-tab-button:hover,
.slider-nav .slick-current .university-tab-button {
    border-color: #d2691e;
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.2);
    transform: translateY(-2px);
}

.slider-nav .slick-current .university-tab-button {
    background: linear-gradient(135deg, rgba(213, 106, 30, 0.1), rgba(184, 134, 11, 0.1));
}

.endowments-section {
    h2 {
        text-align: center;
    }
}

.university-tab-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-tab-logo img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.university-tab-text {
    flex: 1;
    text-align: center;
}

.university-tab-text h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.university-tab-text p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
}

/* University Content Panels */
.universities-content {
    position: relative;
}

.university-content-panel {
    display: none;
    animation: fadeIn 0.5s ease-in;
    padding: 10px;
}

.university-content-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.university-detail-grid {
    display: grid;
    /* grid-template-columns: 200px 1fr; */
    gap: 3rem;
    align-items: start;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.university-detail-image {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.university-detail-image img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.university-detail-content h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.university-location {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.university-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.university-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.university-section h4 {
    color: #d2691e;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.university-section p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.programs-list li {
    color: #555;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    padding-left: 1.5rem;
}

.programs-list li:before {
    content: "•";
    color: #d2691e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.programs-list li:last-child {
    border-bottom: none;
}

.university-actions {
    margin-top: 1.5rem;
}

.university-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d2691e;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid #d2691e;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.university-link:hover {
    background: #d2691e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
}

.external-icon {
    font-size: 0.8rem;
}

/* Slick Slider Customizations */
.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    color: #d2691e;
    font-size: 12px;
}

.slick-dots li.slick-active button:before {
    color: #d2691e;
}

.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    z-index: 2;
}

.slick-prev:before,
.slick-next:before {
    color: #d2691e;
    font-size: 18px;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.slick-center .university-tab-button {
    transform: scale(1.05);
}

.slider-for .slick-slide {
    outline: none;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.impact-highlights {
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;

    img {
        width: 32px;
        height: 32px;
    }
}

.achievement-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.achievement-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .university-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .university-detail-image {
        order: -1;
        text-align: center;
    }

    .slider-nav .university-tab-button {
        min-height: 100px;
        padding: 1rem;
    }

    .university-tab-logo {
        width: 50px;
        height: 50px;
    }

    .university-tab-logo img {
        max-width: 50px;
        max-height: 50px;
    }

    .university-tab-text h4 {
        font-size: 1rem;
    }

    .university-tab-text p {
        font-size: 0.8rem;
    }

    .slider-nav .slick-prev {
        left: -30px;
    }

    .slider-nav .slick-next {
        right: -30px;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .achievement-icon {
        min-width: auto;
    }

    .cta-section {
        flex-direction: column;
        align-items: center;
    }

    .cta-section .cta-button {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .slider-nav .university-tab-button {
        min-height: 90px;
        padding: 0.75rem;
    }

    .university-detail-content h3 {
        font-size: 1.4rem;
    }

    .slider-nav .slick-prev {
        left: -20px;
    }

    .slider-nav .slick-next {
        right: -20px;
    }
}

/* 10th Anniversary Specific Styles */

#tenth-anniversary {
    padding: 4rem 0;

    .page-header {
        text-align: center;
        margin-bottom: 4rem;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-header h1 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .anniversary-date {
        color: #d2691e;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .header-intro {
        font-size: 1.15rem;
        color: #666;
        line-height: 1.8;
    }

    .mission-quote {
        font-size: 1.2rem;
        font-style: italic;
        color: #2c3e50;
        border-left: 4px solid #d2691e;
        padding-left: 1.5rem;
        margin: 1.5rem 0;
        line-height: 1.6;
    }

    .achievements-highlights {
        margin-top: 2rem;
    }

    /* Override achievement-item styles for anniversary template */
    .achievements-highlights .achievement-item {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: rgba(213, 106, 30, 0.05);
        border-left: 4px solid #d2691e;
        border-radius: 4px;
        display: block;
        box-shadow: none;
    }

    .achievements-highlights .achievement-item h4 {
        color: #d2691e;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .event-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .event-detail-item {
        padding: 1.5rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .event-detail-item h3 {
        color: #d2691e;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .panel-intro {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 2rem;
        text-align: center;
    }

    .speakers-grid {
        margin-top: 2rem;
    }

    .speakers-grid.speakers-slider {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Override speaker-card styles for anniversary template */
    .speakers-grid .speaker-card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        flex: 1 1 300px;
        max-width: calc(33.333% - 20px);
        min-height: 500px;
        margin: 10px;
    }

    .speakers-grid .speaker-card:hover {
        transform: translateY(-5px);
    }

    .speakers-grid .speaker-photo {
        height: 200px;
        overflow: hidden;
        width: 100%;
        border-radius: 0;
        border: none;
    }

    .speakers-grid .speaker-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .speakers-grid .speaker-info {
        padding: 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .speakers-grid .speaker-info h3 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

    .presentation-title {
        color: #d2691e;
        margin-bottom: 0.75rem;
        font-size: 1rem;
        font-weight: 600;
    }

    .speaker-position {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 1rem;
        font-style: italic;
    }

    .speaker-abstract {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .speaker-expertise {
        font-size: 0.9rem;
        color: #555;
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }

    .impact-areas {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .impact-area {
        padding: 1.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .impact-area h4 {
        color: #d2691e;
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .panel-discussion-section {
        padding: 4rem 20px;

        h2 {
            text-align: center;
        }
    }

    .anniversary-event-section {
        background: #f8f9fa;
        padding: 4rem 0;
        margin: 3rem 0;
    }

    .event-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .event-header h2 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .event-description {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 800px;
        margin: 0 auto;
    }

    .event-details-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .event-detail-card {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .detail-icon {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }

    .event-detail-card h3 {
        color: #2c3e50;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .event-detail-card p {
        color: #666;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    /* Program Flyer */
    .program-flyer {
        margin-top: 4rem;
        text-align: center;
    }

    .program-flyer h3 {
        color: #2c3e50;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        font-family: 'Playfair Display', serif;
    }

    .flyer-image {
        margin: 0 auto;
        border-radius: 12px;
        overflow: hidden;
        /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); */
        padding: 0 0 40px 0;
    }

    .flyer-image img {
        width: auto;
        height: auto;
        max-height: 700px;
        margin: auto;
        display: block;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
    }

    /* Panel Speakers Section */
    .panel-speakers-section {
        padding: 5rem 0;
        background: white;
    }

    .panel-header {
        text-align: center;
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .panel-header h2 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .panel-intro {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.7;
    }

    /* Speakers Carousel */
    .speakers-carousel {
        max-width: 1000px;
        margin: 0 auto 3rem;
        position: relative;
    }

    .speaker-slide {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .speaker-card-expanded {
        background: white;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        /* display: grid;
        grid-template-columns: 300px 1fr; */
        /* min-height: 500px; */

        .wrapper {
            display: grid;
            gap: 1rem;
        }
    }

    .speaker-info {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 2rem 0 2rem;
    }

    .speaker-photo-large {
        background: #f8f9fa;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
    }

    .speaker-photo-large img {
        width: 100%;
        /* height: 100%; */
        object-fit: cover;
        max-height: 330px;
    }

    .speaker-details {
        padding: 0.5rem 2.5rem 2rem 2.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .speaker-name {
        color: #2c3e50;
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
        font-family: 'Playfair Display', serif;
    }

    .speaker-title {
        color: #d2691e;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .speaker-affiliation {
        color: #666;
        font-size: 0.95rem;
        font-style: italic;
        margin-bottom: 1rem;
    }

    .panel-subject {
        background: rgba(210, 105, 30, 0.05);
        padding: 1.25rem;
        border-radius: 8px;
        border-left: 4px solid #d2691e;
        margin-bottom: 1rem;
    }

    .panel-subject h4 {
        color: #d2691e;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .panel-subject p {
        color: #555;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .speaker-biography h4 {
        color: #2c3e50;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .bio-content p {
        color: #666;
        line-height: 1.7;
        font-size: 0.95rem;
    }

    .bio-full {
        margin-top: 1rem;
    }

    .read-more-btn {
        background: none;
        border: none;
        color: #d2691e;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        margin-top: 0.75rem;
        padding: 0;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

    .read-more-btn:hover {
        color: #b8571f;
    }

    /* Carousel Navigation */
    .carousel-navigation {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 4rem;
    }

    .carousel-prev,
    .carousel-next {
        background: #d2691e;
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(210, 105, 30, 0.3);
    }

    .carousel-prev:hover,
    .carousel-next:hover {
        background: #b8571f;
        transform: scale(1.1);
        box-shadow: 0 5px 15px rgba(210, 105, 30, 0.4);
    }

    .carousel-prev:disabled,
    .carousel-next:disabled {
        background: #ccc;
        cursor: not-allowed;
        opacity: 0.5;
    }

    /* Slick Carousel Customization */
    .speakers-carousel .slick-dots {
        bottom: -40px;
    }

    .speakers-carousel .slick-dots li button:before {
        color: #d2691e;
        font-size: 12px;
    }

    .speakers-carousel .slick-dots li.slick-active button:before {
        color: #d2691e;
    }

    /* Accomplishments Section */
    .accomplishments-section {
        padding: 5rem 0;
        background: #f8f9fa;
    }

    .accomplishments-header {
        text-align: center;
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .accomplishments-header h2 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .accomplishments-intro {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .accomplishments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .accomplishment-card {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 1.5rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .accomplishment-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: #d2691e;
        opacity: 0.3;
        font-family: 'Playfair Display', serif;
        line-height: 1;
    }

    .accomplishment-content h3 {
        color: #2c3e50;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .accomplishment-content p {
        color: #666;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .accomplishments-visual {
        max-width: 900px;
        margin: 3rem auto 0;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    }

    .accomplishments-visual img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .speaker-card-expanded {
            grid-template-columns: 1fr;
        }

        .speaker-photo-large {
            height: 350px;
        }
    }

    @media (max-width: 768px) {
        #tenth-anniversary .page-header h1 {
            font-size: 2rem;
        }

        .anniversary-date {
            font-size: 1.1rem;
        }

        .event-details-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .speaker-details {
            padding: 1.5rem;
        }

        .speaker-name {
            font-size: 1.5rem;
        }

        .accomplishments-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .panel-header h2,
        .event-header h2,
        .accomplishments-header h2 {
            font-size: 1.6rem;
        }
    }

    @media (max-width: 480px) {
        #tenth-anniversary {
            padding: 2rem 0;
        }

        .speaker-photo-large {
            height: 300px;
        }

        .speaker-details {
            padding: 1.25rem;
        }

        .accomplishment-card {
            flex-direction: column;
            text-align: center;
        }

        .accomplishment-number {
            font-size: 2rem;
        }
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .event-details {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .impact-areas {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .speakers-grid.speakers-slider {
            gap: 10px;
        }

        .speakers-grid .speaker-card {
            flex: 1 1 100%;
            max-width: 100%;
            min-height: auto;
        }
    }
}

/* Projects and Grants Template Styles */

#projects-grants {
    .projects-section {
        margin-bottom: 5rem;
        padding: 3rem 0;
    }

    .projects-section:nth-child(even) {
        background: rgba(210, 105, 30, 0.02);
    }

    .section-header {
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-header h2 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .section-header p {
        color: #666;
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    /* Ensure proper spacing for project cards */
    .project-card {
        margin-bottom: 1rem;
    }

    .project-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 1px solid #f0f0f0;
    }

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

    .card-image {
        height: 200px;
        overflow: hidden;
    }

    .card-image img {
        margin-top: 10px;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

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

    .card-content {
        padding: 1.5rem;
    }

    .card-content h3 {
        color: #2c3e50;
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .card-meta {
        color: #d2691e;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .card-excerpt {
        color: #666;
        line-height: 1.5;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .card-link {
        color: #d2691e;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.3s ease;
    }

    .card-link:hover {
        color: #b8571f;
    }

    .cta-button {
        display: inline-block;
        padding: 1rem 2rem;
        background: #d2691e;
        color: white;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        border: 2px solid #d2691e;
    }

    .cta-button:hover {
        background: transparent;
        color: #d2691e;
        transform: translateY(-2px);
    }

    .cta-button.primary {
        background: #d2691e;
        border-color: #d2691e;
    }

    .cta-button.primary:hover {
        color: white;
    }

    .cta-button.secondary {
        background: transparent;
        color: #d2691e;
        border-color: #d2691e;
    }

    .cta-button.secondary:hover {
        background: #d2691e;
        color: white;
    }

    /* Grants Section Specific Styles */
    .grants-list {
        margin-bottom: 3rem;
    }

    .grant-item {
        background: white;
        border-radius: 10px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #f0f0f0;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .grant-content h3 {
        color: #2c3e50;
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .grant-type {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .grant-status {
        font-weight: 600;
        padding: 0.2rem 0.6rem;
        border-radius: 12px;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .status-active {
        background: rgba(46, 204, 113, 0.1);
        color: #27ae60;
    }

    .grant-description {
        color: #555;
        line-height: 1.6;
        margin: 0;
    }

    /* Slick Slider Styles */
    .publications-slider,
    .exhibitions-slider,
    .cultural-heritage-slider,
    .media-slider,
    .conferences-slider,
    .environmental-slider,
    .grants-slider {
        margin-bottom: 2rem;
    }

    .publications-slider .slick-slide,
    .exhibitions-slider .slick-slide,
    .cultural-heritage-slider .slick-slide,
    .media-slider .slick-slide,
    .conferences-slider .slick-slide,
    .environmental-slider .slick-slide,
    .grants-slider .slick-slide {
        padding: 0 1rem !important;
        margin: 1.15rem 0.5rem !important;
    }

    /* Ensure cards have proper spacing within slides */
    .publications-slider .slick-slide .project-card,
    .exhibitions-slider .slick-slide .project-card,
    .cultural-heritage-slider .slick-slide .project-card,
    .media-slider .slick-slide .project-card,
    .conferences-slider .slick-slide .project-card,
    .environmental-slider .slick-slide .project-card,
    .grants-slider .slick-slide .project-card {
        margin: 0 0.5rem 1.5rem 0.5rem !important;
        box-sizing: border-box;
    }

    /* Additional spacing for better visual separation */
    .publications-slider .slick-track,
    .exhibitions-slider .slick-track,
    .cultural-heritage-slider .slick-track,
    .media-slider .slick-track,
    .conferences-slider .slick-track,
    .environmental-slider .slick-track,
    .grants-slider .slick-track {
        margin: 0;
        padding: 0;
    }

    .publications-slider .slick-list,
    .exhibitions-slider .slick-list,
    .cultural-heritage-slider .slick-list,
    .media-slider .slick-list,
    .conferences-slider .slick-list,
    .environmental-slider .slick-list,
    .grants-slider .slick-list {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .publications-slider .slick-dots,
    .exhibitions-slider .slick-dots,
    .cultural-heritage-slider .slick-dots,
    .media-slider .slick-dots,
    .conferences-slider .slick-dots,
    .environmental-slider .slick-dots,
    .grants-slider .slick-dots {
        bottom: -20px;
    }

    .publications-slider .slick-prev,
    .exhibitions-slider .slick-prev,
    .cultural-heritage-slider .slick-prev,
    .media-slider .slick-prev,
    .conferences-slider .slick-prev,
    .environmental-slider .slick-prev,
    .grants-slider .slick-prev,
    .publications-slider .slick-next,
    .exhibitions-slider .slick-next,
    .cultural-heritage-slider .slick-next,
    .media-slider .slick-next,
    .conferences-slider .slick-next,
    .environmental-slider .slick-next,
    .grants-slider .slick-next {
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }

    .publications-slider .slick-prev,
    .exhibitions-slider .slick-prev,
    .cultural-heritage-slider .slick-prev,
    .media-slider .slick-prev,
    .conferences-slider .slick-prev,
    .environmental-slider .slick-prev,
    .grants-slider .slick-prev {
        left: -25px;
    }

    .publications-slider .slick-next,
    .exhibitions-slider .slick-next,
    .cultural-heritage-slider .slick-next,
    .media-slider .slick-next,
    .conferences-slider .slick-next,
    .environmental-slider .slick-next,
    .grants-slider .slick-next {
        right: -25px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .projects-section {
            margin-bottom: 3rem;
            padding: 2rem 0;
        }

        .section-header h2 {
            font-size: 2rem;
        }

        /* Hide grid layout for mobile, let Slick handle it */
        .projects-grid:not(.slick-slider) {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .project-card {
            margin: 0 auto;
            max-width: 400px;
        }

        .grant-item {
            padding: 1.5rem;
        }

        .grant-content h3 {
            font-size: 1.2rem;
        }

        /* Slick mobile adjustments */
        .publications-slider .slick-prev,
        .exhibitions-slider .slick-prev,
        .cultural-heritage-slider .slick-prev,
        .media-slider .slick-prev,
        .conferences-slider .slick-prev,
        .environmental-slider .slick-prev,
        .grants-slider .slick-prev,
        .publications-slider .slick-next,
        .exhibitions-slider .slick-next,
        .cultural-heritage-slider .slick-next,
        .media-slider .slick-next,
        .conferences-slider .slick-next,
        .environmental-slider .slick-next,
        .grants-slider .slick-next {
            display: none !important;
        }
    }

    @media (max-width: 480px) {
        .card-content {
            padding: 1rem;
        }

        .card-content h3 {
            font-size: 1.1rem;
        }

        .grant-item {
            padding: 1rem;
        }
    }
}

/* ============================================
   PROJECT SINGLE PAGE STYLES
   ============================================ */

.project-single-page {
    padding-top: 2rem;

    .book-detail-content {
        display: flex;
        gap: 1.5rem;
    }

    .book-main {
        width: 70%;
    }

    /* Project Header with Category Badge */
    .project-header {
        margin-bottom: 2rem;
    }

    .project-cover-large {
        position: relative;
        width: 100%;
        max-height: 450px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .project-cover-large img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        cursor: pointer;
    }

    .project-category-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: linear-gradient(135deg, #d2691e, #b8860b);
        color: white;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 5px 15px rgba(210, 105, 30, 0.4);
    }

    /* Project Title Section */
    .project-title-section {
        text-align: center;
        margin: 2rem 0 3rem;
        padding: 2rem 0;
        border-bottom: 2px solid #f0f0f0;
    }

    .project-title-section h1 {
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .project-subtitle {
        font-size: 1.2rem;
        color: #666;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Project Description */
    .project-description {
        margin-bottom: 4rem;
    }

    /* Project Members Section (Separated by Type with Sliders) */
    .project-members-section {
        margin: 4rem 0;
    }

    .project-members-section h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .members-type-section {
        margin-bottom: 4rem;
    }

    .members-type-section:last-child {
        margin-bottom: 0;
    }

    .members-type-title {
        color: #d2691e;
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid rgba(210, 105, 30, 0.2);
        font-family: 'Playfair Display', serif;
    }

    .members-slider {
        position: relative;
    }

    .member-card-wrapper {
        padding: 0 0.75rem;
    }

    .member-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
        min-height: 430px;
        width: min-content;
    }

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

    .member-card-header {
        background: linear-gradient(135deg, rgba(210, 105, 30, 0.05), rgba(184, 134, 11, 0.05));
        padding: 2rem;
        display: flex;
        gap: 1.5rem;
        align-items: center;
        border-bottom: 2px solid #f0f0f0;
    }

    .member-photo {
        flex-shrink: 0;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid #d2691e;
        box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
    }

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

    .member-basic-info {
        flex: 1;
    }

    .member-basic-info h4 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-size: 1.3rem;
    }

    .member-role {
        display: inline-block;
        background: #d2691e;
        color: white;
        padding: 0.35rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .member-role.scholarship-role {
        background: linear-gradient(135deg, #8b4513, #654321);
    }

    .member-position {
        display: block;
        color: #666;
        font-size: 0.95rem;
        font-style: italic;
        margin-top: 0.5rem;
    }

    .member-card-body {
        padding: 2rem;
    }

    .member-detail {
        margin-bottom: 1.5rem;
    }

    .member-detail:last-child {
        margin-bottom: 0;
    }

    .member-detail strong {
        display: block;
        color: #2c3e50;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .member-detail p {
        color: #555;
        line-height: 1.6;
        margin: 0;
    }

    .member-card-actions {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        margin-bottom: 1.5rem;
    }

    .member-card-actions {
        /* margin-top: 1.5rem; */
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        bottom: 0;
        position: absolute;
        margin-bottom: 1.75rem;
    }

    .member-view-profile {
        display: inline-block;
        color: #d2691e;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        padding: 0.5rem 0;
    }

    .member-view-profile:hover {
        color: #b8860b;
        transform: translateX(5px);
    }

    .scholarships-members-card {

        .member-card-header {
            min-height: 200px;
        }

        .member-card-body {
            min-height: 460px;
        }

        .member-card-actions {
            /* margin-top: 1.5rem; */
            padding-top: 1rem;
            border-top: 1px solid #f0f0f0;
            bottom: 0;
            position: absolute;
            margin-bottom: 1.75rem;
        }
    }

    /* Scholarship Member Card Specific Styles */
    .scholarship-member-card .member-card-header {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(101, 67, 33, 0.05));
    }

    .scholarship-member-card .member-photo {
        border-color: #8b4513;
        box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
    }

    /* Gallery Section */
    .project-gallery-section {
        margin: 4rem 0;
    }

    .project-gallery-section h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .gallery-grid {
        display: block;
        margin: 1rem auto;
    }

    .gallery-item {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        margin: 10px;
        height: auto;
    }

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

    .gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    /* Publications Section */
    .project-publications-section {
        margin: 4rem 0;
    }

    .project-publications-section h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .publications-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .publication-item {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 2rem;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

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

    .publication-thumb {
        flex-shrink: 0;
        width: 120px;
        height: 160px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

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

    .publication-info {
        flex: 1;
    }

    .publication-info h4 {
        color: #2c3e50;
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .publication-info p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .publication-link {
        color: #d2691e;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .publication-link:hover {
        color: #b8860b;
    }

    /* Project Program Section */
    .project-program-section {
        margin: 4rem 0;
    }

    .project-program-section h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .program-list {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .program-item {
        background: white;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

    .program-item:hover {
        transform: translateX(10px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .program-number {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #d2691e, #b8860b);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        box-shadow: 0 5px 15px rgba(210, 105, 30, 0.3);
    }

    .program-content h4 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
    }

    .program-content p {
        color: #666;
        line-height: 1.6;
        margin: 0;
    }

    /* Videos Section */
    .project-videos-section {
        margin: 4rem 0;
    }

    .project-videos-section h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .videos-grid {
        display: block;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }

    .video-item {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        margin: 10px
    }

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

    .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
    }

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .video-item h4 {
        padding: 1.5rem;
        color: #2c3e50;
        margin: 0;
        font-size: 1.1rem;
    }

    /* Sidebar Customizations for Projects */
    .project-details-card .category-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .category-tag {
        background: rgba(210, 105, 30, 0.1);
        color: #d2691e;
        padding: 0.35rem 0.85rem;
        border-radius: 15px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .project-action-section {
        background: linear-gradient(135deg, rgba(210, 105, 30, 0.05), rgba(184, 134, 11, 0.05));
    }

    /* Slick Slider Customization for Members
    .members-slider .slick-prev,
    .members-slider .slick-next {
        width: 45px;
        height: 45px;
        z-index: 10;
        background: white;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .members-slider .slick-prev:hover,
    .members-slider .slick-next:hover {
        background: #d2691e;
    }

    .members-slider .slick-prev:before,
    .members-slider .slick-next:before {
        color: #d2691e;
        font-size: 24px;
    }

    .members-slider .slick-prev:hover:before,
    .members-slider .slick-next:hover:before {
        color: white;
    }

    .members-slider .slick-prev {
        left: -55px;
    }

    .members-slider .slick-next {
        right: -55px;
    }

    .members-slider .slick-dots {
        bottom: -15px;
    }

    .members-slider .slick-dots li button:before {
        color: #d2691e;
        font-size: 12px;
    }

    .members-slider .slick-dots li.slick-active button:before {
        color: #d2691e;
    } */

    .slick-track {
        margin: 20px auto 40px auto;
    }

    /* Related Publications Sidebar Style */
    .related-publications {
        background: white;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .related-publications a {
        text-decoration: none;
        color: inherit;
        display: block;
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

    .related-publications a:hover {
        transform: translateX(5px);
    }

    .related-publications a:last-child {
        margin-bottom: 0;
    }

    /* Responsive Design for Projects */
    @media (max-width: 992px) {
        .members-slider .slick-prev {
            left: -35px;
        }

        .members-slider .slick-next {
            right: -35px;
        }
    }

    @media (max-width: 768px) {
        .project-cover-large img {
            height: 300px;
        }

        .project-category-badge {
            top: 10px;
            right: 10px;
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }

        .members-type-title {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
        }

        .member-card-wrapper {
            padding: 0 0.5rem;
        }

        .member-card {
            min-height: 520px;
        }

        .member-card-header {
            flex-direction: column;
            text-align: center;
            padding: 1.5rem;
        }

        .member-photo {
            width: 120px;
            height: 120px;
        }

        .members-slider .slick-prev,
        .members-slider .slick-next {
            display: none !important;
        }

        .members-slider .slick-dots {
            bottom: -35px;
        }

        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
        }

        .publication-item {
            flex-direction: column;
            padding: 1.5rem;
        }

        .publication-thumb {
            width: 100%;
            height: 200px;
        }

        .program-item {
            flex-direction: column;
            gap: 1rem;
            padding: 1.5rem;
        }

        .program-number {
            margin: 0 auto;
        }

        .program-content {
            text-align: center;
        }

        .videos-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .project-single-page {
            padding-top: 60px;
        }

        .project-cover-large img {
            height: 220px;
        }

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

        .project-subtitle {
            font-size: 1rem;
        }

        .member-card-body {
            padding: 1.5rem;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
        }

        .gallery-item img {
            height: 200px;
        }
    }

    .related-content {
        display: grid;
        gap: 2rem;
        width: 100%;
        height: fit-content;
        max-height: 575px;

        .related-list {
            display: grid;
            width: 100%;
            overflow-y: auto;
            overflow-x: hidden;
        }
    }
}

@media (max-width: 768px) {

    .book-detail-content {
        display: flex;
        flex-direction: column;
    }

    .book-main {
        width: 100% !important;
    }

    .book-sidebar {
        max-width: 100% !important;
        width: 100% !important;
    }

    .project-single-page {
        .related-content {
            max-height: unset;
        }
    }
}

/*  Policy Page  */
#image-rights-policy {
    padding: 4rem 0 6rem;
}

.policy-header {
    border-bottom: 2px solid #e5e0d8;
    margin-bottom: 3rem;
    padding: 2rem 0;
    text-align: center;
}

.policy-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.policy-last-updated {
    font-size: 0.9rem;
    color: #888;
}

.policy-content {
    max-width: 100%;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e5e0d8;
}

.policy-section p,
.policy-section address {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.policy-section address {
    font-style: normal;
    background: #f9f7f4;
    border-left: 4px solid #d2691e;
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
}

.policy-section ul {
    margin: 0.75rem 0 1rem 1.5rem;
    list-style: disc;
}

.policy-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 0.4rem;
}

.policy-section a {
    color: #d2691e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-section a:hover {
    color: #b8571f;
}

@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 1.75rem;
    }

    .policy-section h2 {
        font-size: 1.2rem;
    }

    #image-rights-policy {
        padding: 2.5rem 0 4rem;
    }
}


/* Submissions Page */

#submissions .submission-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    #submissions .submission-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


.submission-info h2 {
    margin-bottom: 1rem;
}

.submission-info h3 {
    margin: 1.8rem 0 0.6rem;
}

.benefits-list,
.requirements-list {
    padding-left: 1.4rem;
}

.benefits-list li,
.requirements-list li {
    margin-bottom: 0.4rem;
}

.timeline-simple {
    margin-top: 0.8rem;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    font-size: 0.92rem;
    align-items: center;
}

.timeline-step:last-child {
    border-bottom: none;
}


.submission-form-container {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2.4rem;
    position: relative;
}

.submission-form-container h2 {
    margin-bottom: 1.6rem;
}

.submission-loader {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(2px);
    z-index: 5;
    border-radius: 8px;
}

.submission-loader.is-active {
    display: flex;
}

.submission-loader__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.submission-loader__spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(138, 115, 85, 0.25);
    border-top-color: #8a7355;
    animation: submissionSpin 0.8s linear infinite;
}

.submission-loader__text {
    font-size: 0.92rem;
    color: #2c2c2c;
    font-weight: 500;
}

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


.form-section {
    border: none;
    border-top: 2px solid #f0ece6;
    padding: 1.8rem 0 0.4rem;
    margin: 0 0 0.4rem;
}

.form-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.form-section legend {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a7355;
    padding: 0 0.4rem 0 0;
    float: left;
    width: 100%;
    margin-bottom: 1.2rem;
}


.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: #2c2c2c;
}

.field-hint {
    font-weight: 400;
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 0.15rem;
}

.required {
    color: #c0392b;
    margin-left: 1px;
}


.submission-form input[type="text"],
.submission-form input[type="email"],
.submission-form input[type="tel"],
.submission-form input[type="number"],
.submission-form select,
.submission-form textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.92rem;
    color: #1a1a1a;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.submission-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.4rem;
}

.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
    outline: none;
    border-color: #8a7355;
    box-shadow: 0 0 0 3px rgba(138, 115, 85, 0.12);
    background: #fff;
}

.submission-form input.is-invalid,
.submission-form select.is-invalid,
.submission-form textarea.is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}


.submission-form input[type="file"] {
    padding: 0.4rem;
    background: #fff;
    cursor: pointer;
}

.submission-form input[type="file"]::file-selector-button {
    padding: 0.35rem 0.9rem;
    border: 1px solid #8a7355;
    border-radius: 4px;
    background: transparent;
    color: #8a7355;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    margin-right: 0.8rem;
    transition: background 0.15s, color 0.15s;
}

.submission-form input[type="file"]::file-selector-button:hover {
    background: #8a7355;
    color: #fff;
}


.checkbox-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #8a7355;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.88rem;
    line-height: 1.5;
}


.char-counter {
    display: block;
    font-size: 0.78rem;
    color: #888;
    text-align: right;
    margin-top: 0.3rem;
}

.char-counter #abstractCount.over-limit {
    color: #c0392b;
    font-weight: 600;
}


.field-error {
    display: none;
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.submission-notice {
    padding: 1rem 1.2rem;
    border-radius: 6px;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.submission-notice.notice--success {
    background: #eaf7ef;
    border: 1px solid #82c99d;
    color: #1e5c35;
}

.submission-notice.notice--error {
    background: #fdf0ef;
    border: 1px solid #e8a49d;
    color: #7a1f18;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-required-note {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #8a7355;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}

.submit-button:hover:not(:disabled) {
    background: #6e5c40;
}

.submit-button:active:not(:disabled) {
    transform: translateY(1px);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Spinner animation */
.btn-spinner svg {
    animation: smf-spin 0.9s linear infinite;
}

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


.form-section--declaration {
    background: #faf8f5;
    border-radius: 6px;
    padding: 1.4rem 1.4rem 0.4rem;
    border-top: none;
    border: 1px solid #ede8df;
    margin-top: 1rem;
}

.form-section--declaration legend {
    padding: 0 0.4rem;
}

/* ── Initials Avatar ───────────────────────────── */
.initials-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    user-select: none;
    flex-shrink: 0;
}

.initials-avatar--lg {
    font-size: 3.5rem;
    width: fit-content;
    padding: 1rem;
}

.initials-avatar--md {
    width: 100px;
    height: 100px;
    font-size: 1.8rem;
}

.initials-avatar--sm {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

.initials-avatar--card {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 3rem;
}

.book-cover-large .initials-avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    font-size: 4rem;
}

.member-photo .initials-avatar {
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
}

.contributor-photo .initials-avatar,
.modal-contributor-photo .initials-avatar,
.speaker-photo .initials-avatar {
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    margin: auto;
}

.scholarship-photo .initials-avatar {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    font-size: 4rem;
}

.card-image .initials-avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 2.5rem;
}

.tab-button-image .initials-avatar {
    width: 100%;
    height: 100%;
    font-size: 1rem;
}

.trustee-detail-image .initials-avatar {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    font-size: 3rem;
}