* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 20px;
}

header {
    background: transparent;
    padding: 15px 0;
    border-bottom: none;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 50px;
    width: auto;
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    height: 26px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
}

.btn-header {
    padding: 10px 20px;
    font-size: 14px;
    margin: 0;
    border-radius: 0;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.header-link:hover {
    opacity: 0.7;
}

.page-title {
    text-align: center;
}

.page-description {
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 20px;
}

.ukraine-colors {
    background: linear-gradient(to bottom, #0057B7 50%, #FFD700 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

h1 {
    font-size: 40px;
    color: #FFEC00;
    margin-bottom: 20px;
}

h2 {
    font-size: 30px;
    color: #FFFFFF;
    margin: 30px 0 15px;
}

h3 {
    font-size: 24px;
    color: #5EA6FF;
    margin: 20px 0 10px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 62px;
    color: #FFEC00;
    font-weight: bold;
}

.stat-label {
    font-size: 30px;
    color: #fff;
}

.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

@media (max-width: 980px) {
    .projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects {
        grid-template-columns: 1fr;
    }
}

.project {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.status-active {
    background: #5EA6FF;
    color: #fff;
}

.status-completed {
    background: #666;
    color: #fff;
}

.status-new {
    background: #FF6B35;
    color: #fff;
}

.project-description {
    font-size: 16px;
    color: #ccc;
    margin: 15px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 0;
    margin: 10px 10px 0 0;
    font-weight: normal;
    transition: all 0.3s;
    border: 1px solid #fff;
}

.btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.project-link {
    display: inline-block;
    color: #5EA6FF;
    text-decoration: none;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.project-link:hover {
    opacity: 0.7;
}

.project-link-completed {
    display: inline-block;
    color: #999;
    text-decoration: none;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.05em;
    transition: opacity 0.3s;
}

.project-link-completed:hover {
    opacity: 0.7;
}

.btn-donate {
    background: #5EA6FF;
    color: #FFEC00;
    border-color: #5EA6FF;
    font-weight: bold;
    border-radius: 8px;
    margin: 0;
}

.btn-donate:hover {
    background: transparent;
    color: #5EA6FF;
    border-color: #5EA6FF;
}

.voice-section {
    text-align: center;
    padding: 60px 0;
}

.voice-section h1 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.video-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.video-vertical {
    grid-column: span 2;
}

.video-horizontal {
    grid-column: span 3;
}

@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .video-vertical {
        grid-column: span 2;
    }
    
    .video-horizontal {
        grid-column: span 4;
    }
}

@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-vertical,
    .video-horizontal {
        grid-column: span 1;
    }
}

.video-thumbnail-link {
    position: relative;
    display: block;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.video-vertical .video-thumbnail-link {
    aspect-ratio: 9 / 16;
}

.video-horizontal .video-thumbnail-link {
    aspect-ratio: 16 / 9;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s;
    object-fit: cover;
}

.linkedin-logo {
    width: 32px;
    height: 32px;
    display: inline-block;
    transition: opacity 0.3s;
}

.social-link:hover .linkedin-logo {
    opacity: 0.7;
}

.video-thumbnail-link:hover .video-thumbnail {
    opacity: 0.8;
}

.play-button {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #0057B7;
    background: rgba(255, 215, 0, 0.9);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    transition: all 0.3s;
}

.video-thumbnail-link:hover .play-button {
    background: #FFD700;
    color: #0057B7;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    font-size: 18px;
    color: #fff;
    margin: 0;
    line-height: 32px;
}

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.facebook-logo {
    width: 32px;
    height: 32px;
    display: inline-block;
    transition: opacity 0.3s;
}

.social-link:hover .facebook-logo {
    opacity: 0.7;
}

.social-link {
    display: inline-block;
    margin: 0;
    color: #5EA6FF;
    text-decoration: none;
}

footer {
    background: transparent;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    /*border-top: 1px solid #333;*/
    font-size: 12px;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

footer a:hover {
    opacity: 0.7;
}

/* About Us Page Styles */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-description a {
    color: #5EA6FF;
    text-decoration: underline;
}

.about-description a:hover {
    color: #FFEC00;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-icon {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 1;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin: 50px 0 30px;
    letter-spacing: 0.05em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.team-name {
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    margin: 0;
    line-height: 32px;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Page Styles */
.project-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.project-two-column {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.project-title-column {
    /* position: sticky; */
    top: 100px;
}

.project-title-column h1 {
    font-size: 42px;
    color: #FFEC00;
    line-height: 1.2;
    margin: 0;
}

.project-content-column {
    max-width: 800px;
}

.project-subtitle {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
}

.project-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-description {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 40px;
}

.fundraising-goal {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.goal-label {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 10px;
}

.goal-amount {
    font-size: 48px;
    color: #FFEC00;
    font-weight: bold;
}

.project-actions-single {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.btn-back {
    background: transparent;
    color: #5EA6FF;
    border-color: #5EA6FF;
}

.btn-back:hover {
    background: #5EA6FF;
    color: #fff;
}

/* Responsive for project pages */
@media (max-width: 1024px) {
    .project-two-column {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }
    
    .project-title-column h1 {
        font-size: 36px;
    }
    
    .project-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .project-two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-title-column {
        position: static;
    }
    
    .project-title-column h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .goal-amount {
        font-size: 36px;
    }
    
    .project-actions-single {
        flex-direction: column;
    }
    
    .project-actions-single .btn {
        width: 100%;
        text-align: center;
    }
}

/* Donorbox widget styling */
.donorbox-widget {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.donorbox-widget dbox-widget {
    max-width: 100%;
}

/* Widget loading indicator */
.widget-loading {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #5EA6FF;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.widget-loading p {
    font-size: 16px;
    color: #ccc;
}

/* Donate page sections */
.donate-section {
    margin: 40px 0;
}

.donate-info p {
    margin: 10px 0;
    color: #ccc;
}

.donate-description {
    color: #ccc;
    line-height: 1.8;
    margin: 10px 0;
}

.donate-description a {
    color: #5EA6FF;
    text-decoration: none;
}

.donate-description a:hover {
    opacity: 0.7;
}
