* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #333;
}

.slider-item {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;
    position: relative;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px;
    color: white;
}

.slide-content {
    padding: 80px 80px 80px 200px;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0.9;
}

.slide-content .slider-btn {
    background: #701F27;
    color: white;
    cursor: pointer;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s ease;
}

.slide-content .slider-btn:hover {
    background-color: #ffffff;
    color: #701F27;
    outline: 1px solid #701F27;
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-dot.active {
    background: white;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.left {
    left: 20px;
}

.right {
    right: 20px;
}

@media screen and (max-width: 1088px) {
    .slide-content {
        padding: 80px 80px 80px 80px;
    }
}

.hiw {
    background-color: #2a2a2a;
    color: white;
    padding: 60px 20px;
}

.hiw-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hiw-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.hiw-description {
    font-size: 18px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hiw-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin-top: 60px;
}

.hiw-card {
    background-color: #701F27;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 350px;
    min-height: 300px; /* Aspect ratio kullanma min-height kullan */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.hiw-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    padding: 15px;
}

.hiw-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hiw-card-title {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hiw-card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
    opacity: 0.9;
}

@media (max-width: 800px) {
    .hiw {
        padding: 40px 15px;
    }

    .hiw-title {
        font-size: 36px;
    }

    .hiw-cards-container {
        gap: 20px;
        margin-top: 40px;
    }

    .hiw-card {
        width: 320px;
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hiw-card {
        width: 280px;
        padding: 25px 20px;
    }
}

.projects-hero {
    background-color: #f8f9fa;
    padding: 40px 20px;
}

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

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

.projects-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.projects-header p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.projects-card {
    background: #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 350px;
    flex-shrink: 0;
}

.projects-image {
    width: 100%;
    height: 250px;
    background-color: #701F27;
    border-bottom: 1px solid #e9ecef;
}

.projects-content {
    padding: 25px;
    background-color: #ffffff;
}

.projects-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.projects-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.projects-stats {
    margin-bottom: 20px;
}

.projects-amount {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.projects-percentage {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    float: right;
    margin-top: -32px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #bdc3c7;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #701F27;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.supporters-count {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.support-btn {
    width: 100%;
    padding: 15px;
    background-color: #701F27;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.support-btn:hover {
    background-color: #ffffff;
    color: #701F27;
    outline: 1px solid #701F27;
}

.projects-view-all {
    text-align: center;
    margin-top: 40px;
}

.projects-view-all-link {
    font-size: 18px;
    background-color: #006D76;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid #006D76;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.projects-view-all-link:hover {
    background-color: #ffffff;
    color: #006D76;
}

.projects-arrow {
    font-size: 20px;
}

@media (max-width: 1140px) {
    /* Satir basina iki kart 350px * 2 + 30px gap = 730px */
    .projects-grid {
        max-width: 730px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 760px) {
    /* Satir basina bir kart 350px */
    .projects-grid {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 390px) {
    .projects-card {
        width: 320px;
    }

    .projects-grid {
        max-width: 320px;
    }
}

.news-hero {
    background-color: #2a2a2a;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.news-container {
    max-width: 1200px;
    width: 100%;
}

.news-carousel-container {
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 12px;
    /* 3 kart gosteriyor (350px * 3) + (30px bosluk * 2) = 1110px */
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
}

.news-cards-grid {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    flex-wrap: nowrap;
}

.news-card {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.news-card-image {
    width: 100%;
    height: 250px;
    background: #701F27;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-card-image:hover {
    opacity: 0.9;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-content {
    padding: 24px 24px 0 24px;
    color: #ffffff;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.3;
    height: 52px;
    overflow: hidden;
    position: relative;
}

.news-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 1.3em;
}

.news-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #701F27;
}

.news-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    height: 84px;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
}

.news-card-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 1.5em;
}

.news-card-meta {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 24px 24px 24px;
    margin-top: auto;
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
}

.news-card-date {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.news-navigation {
    text-align: center;
    color: #ffffff;
}

.news-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 14px 28px;
    background: #701F27;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-nav-button:hover {
    background: white;
    color: #701F27;
    outline: 1px solid #701F27;
}

.news-nav-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(139, 38, 53, 0.3);
}

.news-nav-button .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.news-nav-button:hover .arrow {
    transform: translateX(4px);
}

.news-nav-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    transition: background-color 0.3s ease;
}

.news-dot.active {
    background-color: #ffffff;
}

.news-dot:hover {
    background-color: #999;
    cursor: pointer;
}

.news-read-more {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #5e5e5e;
}

@media (max-width: 1200px) {
    .news-container {
        max-width: calc(100vw - 40px);
    }

    .news-carousel-container {
        /* Kucuk ekranlarda 2 kart goster (350px * 2) + (30px bosluk * 1) = 730px */
        max-width: 730px;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 30px 15px;
    }

    .news-card {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .news-card-meta {
        padding: 15px 20px 20px 20px;
    }

    .news-carousel-container {
        /* Mobilde 1 kart goster */
        max-width: 300px;
    }

    .news-card-image {
        height: 200px;
    }

    .news-card-content {
        padding: 20px;
        height: 180px;
    }

    .news-card-title {
        font-size: 18px;
        height: 47px;
    }

    .news-card-text {
        font-size: 13px;
        height: 58.5px;
    }
}

.no-news-container {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 500px;
}

.no-news-container h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.no-news-container p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.news-cards-grid[data-news-count="1"],
.news-cards-grid[data-news-count="2"],
.news-cards-grid[data-news-count="3"] {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    transform: none !important;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .news-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .news-carousel-container {
        max-width: 280px;
        margin-bottom: 40px;
    }

    .news-card-content {
        padding: 18px;
        height: 170px;
    }

    .news-card-meta {
        padding: 0 18px 18px 18px;
    }

    .no-news-container {
        padding: 40px 20px;
    }

    .no-news-container h3 {
        font-size: 1.25rem;
    }

    .no-news-container p {
        font-size: 0.9rem;
    }

    .news-cards-grid[data-news-count="1"],
    .news-cards-grid[data-news-count="2"],
    .news-cards-grid[data-news-count="3"] {
        flex-direction: column;
        align-items: center;
    }
}
