/* Custom CSS for Fiddler on the Roof Project - Warm Theme */

:root {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --primary-color: #8B4513; /* Saddle brown */
    --secondary-color: #D2691E; /* Chocolate */
    --accent-color: #CD853F; /* Peru */
    --success-color: #8B4513; /* Brown instead of green */
    --warning-color: #D2691E; /* Chocolate instead of yellow */
    --dark-color: #654321; /* Dark brown */
    --light-color: #F5F5DC; /* Beige */
    --text-dark: #2F2F2F; /* Dark gray */
    --text-light: #FFFFFF; /* White */
    --background-light: #FAFAFA; /* Light gray */
    --border-color: #DEB887; /* Burlywood */
    --card-bg: #FFFFFF; /* White */
    --section-bg: #F8F8F8; /* Very light gray */
}

/* Global Styles */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.display-4 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.navbar-brand {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stone-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><rect width="20" height="20" fill="rgba(139,115,85,0.05)"/><circle cx="10" cy="10" r="2" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23stone-pattern)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Overlay - Lighter */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(210, 105, 30, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-overlay h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: 400;
}

.hero-overlay p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: 400;
}

.hero-overlay .btn {
    text-shadow: none;
    font-weight: 400;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.1);
    margin: 2rem 0;
}

.hero-image-placeholder:hover {
    transform: scale(1.02);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Content Sections - Increased Spacing */
.content-section {
    padding: 8rem 0;
    background-color: var(--card-bg);
}

.content-section:nth-child(even) {
    background-color: var(--section-bg);
}

/* Typography Improvements */
.display-4 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* Cards - More Relaxed */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background-color: var(--card-bg);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.08);
    margin-bottom: 3rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.12) !important;
}

.card-body {
    padding: 3rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 3rem;
}

/* Buttons */
.btn {
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 1rem 2.5rem;
    border: 2px solid transparent;
    font-size: 1rem;
}

/* Button Colors - Fix Blue Issues */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Progress Bar */
.progress {
    border-radius: 15px;
    background-color: var(--section-bg);
    overflow: hidden;
    border: none;
    height: 25px;
    margin: 2rem 0;
}

.progress-bar {
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

/* Forms */
.form-control {
    border-radius: 15px;
    border: 2px solid var(--border-color);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.15);
    background-color: var(--text-light);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 3rem 0;
}

footer a {
    transition: color 0.3s ease;
    color: var(--light-color);
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* Language Switcher */
.btn-group .btn {
    border-radius: 10px;
    margin: 0 3px;
    background-color: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
}

.btn-group .btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

/* Image Placeholder Styles (for backward compatibility) */
.image-placeholder {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 15px;
    border: 2px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
}

.image-placeholder.large {
    min-height: 400px;
    padding: 3rem;
}

.image-placeholder.medium {
    min-height: 250px;
    padding: 2rem;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--section-bg) 0%, var(--light-color) 100%);
}

/* Image Styles and Modal */
.img-fluid {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.img-fluid:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
}

.shadow {
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1) !important;
}

/* Location and Visualization Images */
.location-image, .viz-image, .permission-doc {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.location-maps .map-item, .visualization-images .viz-item {
    margin-bottom: 2rem;
}

/* Image Modal - Better Magnification */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.modal-caption {
    text-align: center;
    margin-top: 15px;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 400;
}

/* Author Section */
.author-content {
    line-height: 1.8;
}

.author-intro p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.author-education h5, .author-exhibitions h5, .author-current h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.author-education ul li, .author-exhibitions ul li {
    margin-bottom: 0.8rem;
    padding-left: 0;
    font-size: 1.1rem;
}

.author-education ul li strong {
    color: var(--dark-color);
}

.author-current p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Visualization Details */
.visualization-details {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.visualization-details h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.viz-descriptions .viz-desc-item h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.viz-descriptions .viz-desc-item p.small {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

/* Location Details */
.location-details {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.location-details h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.location-details ul li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Permission Content */
.permission-content {
    line-height: 1.8;
}

.permission-text h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.permission-text ul li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.permission-image {
    margin-top: 2rem;
}

/* Progress Bar Colors */
.progress-bar {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color)) !important;
}

/* Success Icons */
.text-success {
    color: var(--success-color) !important;
}

/* Progress Timeline - Simplified */
.timeline {
    position: relative;
    padding: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
}

/* Progress Timeline Colors */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 55%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 25px;
    height: 25px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    box-shadow: 0 0 0 3px var(--border-color);
}

.timeline-item:nth-child(odd)::before {
    right: -65px;
}

.timeline-item:nth-child(even)::before {
    left: -65px;
}

.timeline-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.1);
    border: 1px solid var(--border-color);
}

.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Schedule Items */
.schedule-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.schedule-items-single {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-item {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.1);
}

.schedule-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.schedule-item ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Work Progress Section */
.work-progress {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.expense-schedule {
    background: var(--section-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Badge Colors */
.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
    color: white !important;
}

.badge.bg-secondary {
    background-color: var(--dark-color) !important;
}

/* Info Icons */
.fas.fa-info-circle {
    color: var(--primary-color) !important;
}

.fas.fa-check {
    color: var(--success-color) !important;
}

/* Organization Info */
.organization-info {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 25px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
}

.bank-details {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.08);
}

.bank-details h4 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.bank-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
}

.bank-details .detail-row:last-child {
    border-bottom: none;
}

.bank-details .label {
    font-weight: 600;
    color: var(--dark-color);
}

.bank-details .value {
    color: var(--text-dark);
    font-family: 'Courier New', monospace;
    font-weight: 500;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 1.2s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 1.2s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-image-placeholder {
        margin-top: 2rem;
        padding: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        margin-bottom: 2rem;
    }
    
    .timeline-item::before {
        left: -30px !important;
        right: auto !important;
    }
    
    .organization-info {
        padding: 2rem;
    }
    
    .bank-details {
        padding: 2rem;
    }
    
    .bank-details .detail-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .image-placeholder {
        padding: 2rem;
    }
    
    .image-placeholder.large {
        min-height: 300px;
    }
    
    .image-placeholder.medium {
        min-height: 200px;
    }

    .display-4 {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-close {
        top: 5px;
        right: 15px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .organization-info {
        padding: 1.5rem;
    }
    
    .bank-details {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 15px 35px rgba(139, 115, 85, 0.1);
}

.border-radius-custom {
    border-radius: 20px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 3px solid rgba(139, 115, 85, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Messages */
.alert-success {
    background: linear-gradient(45deg, var(--success-color), #32CD32);
    border: none;
    color: white;
    border-radius: 15px;
}

/* Error Messages */
.alert-danger {
    background: linear-gradient(45deg, #DC143C, #B22222);
    border: none;
    color: white;
    border-radius: 15px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .text-white {
        color: black !important;
    }
}

/* Project Features */
.project-features {
    margin-top: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.1);
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Donation Buttons */
.btn-paypal {
    background-color: #0070ba;
    border-color: #0070ba;
    color: white;
}

.btn-paypal:hover {
    background-color: #005ea6;
    border-color: #005ea6;
    color: white;
}

.btn-contrebee {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.btn-contrebee:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    color: white;
}

.btn-jewcer {
    background-color: #8b4513;
    border-color: #8b4513;
    color: white;
}

.btn-jewcer:hover {
    background-color: #654321;
    border-color: #654321;
    color: white;
}

.online-payments {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.online-payments .btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.online-payments .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
}

/* Center Images */
.text-center img {
    margin: 0 auto;
    display: block;
}

.location-image, .viz-image, .permission-doc {
    margin: 0 auto;
    display: block;
}

/* Budget Items */
.budget-item {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--section-bg) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.budget-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.1);
}

.budget-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.budget-item .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.budget-item.total {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
}

.budget-item.total h4,
.budget-item.total .amount {
    color: white;
}

/* Text Colors - Fix Blue Issues */
.text-primary {
    color: var(--primary-color) !important;
}

/* Override Bootstrap's default blue */
h1.text-primary, h2.text-primary, h3.text-primary, h4.text-primary, h5.text-primary, h6.text-primary {
    color: var(--primary-color) !important;
}

.card-body h3.text-primary {
    color: var(--primary-color) !important;
}

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .timeline-container {
        max-width: 100%;
    }
    
    .timeline-container::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 50px;
        margin-bottom: 2rem;
    }
    
    .timeline-item::before {
        left: -30px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .budget-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .budget-item h4 {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .schedule-item {
        padding: 1rem;
    }
    
    .schedule-item h6 {
        font-size: 0.9rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .schedule-item ul li {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .hero-overlay h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-overlay p {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .navbar-brand {
        font-size: 1rem;
word-wrap: break-all !important;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .modal-image {
        max-width: 100%;
        height: auto;
    }
}

/* Font Standardization - Better Fonts */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Bank Details Section Fixes */
.bank-details {
    font-family: 'Georgia', 'Times New Roman', serif;
}

.bank-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.detail-row .label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    margin-right: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.detail-row .value {
    flex: 1;
    word-break: break-word;
    line-height: 1.4;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Budget Section Fixes */
.budget-breakdown h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.budget-item h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.budget-item .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Organization Info Improvements */
.organization-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.organization-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.organization-info p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.organization-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Project Features */
.project-features .feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.project-features .feature-item p {
    margin-bottom: 0;
    line-height: 1.6;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Timeline Content */
.timeline-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Schedule Items */
.schedule-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.schedule-item ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Author Section */
.author-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.author-content h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.author-content p {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
}

.author-content ul li {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.5rem;
}

/* Card Headers */
.card-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Location Details */
.location-details h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.location-details ul li {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.5rem;
}

/* Permission Content */
.permission-text h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.permission-text ul li {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.5rem;
}


