.kanuni-hero {
    background-image: url("../bannera/image.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 751px;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
}

.marquee-container {
    background: rgb(198, 176, 105);
    /* Gold background */
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

/* Marquee Content Animation */
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

/* Text Styling */
.marquee-content span {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 14px;
    color: #0a0a0a;
    /* Dark text */
    padding: 0 50px;
}

/* Animation Keyframes */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.kanuni-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.kanuni-section {
    margin-bottom: 60px;
}

.kanuni-section h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    color: #04091e;
    margin-bottom: 20px;
    border-left: 5px solid rgb(198, 176, 105);
    padding-left: 20px;
}

.kanuni-section p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.kanuni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.kanuni-card {
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 30px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.kanuni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgb(198, 176, 105);
}

.kanuni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.kanuni-card h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    color: #04091e;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kanuni-card h3 i {
    color: rgb(198, 176, 105);
}

.kanuni-card p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #777;
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 40px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgb(198, 176, 105);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: rgb(198, 176, 105);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgb(198, 176, 105);
}

.timeline-item h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    color: #04091e;
    margin-bottom: 10px;
}

.timeline-item p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #666;
}

.quote-box {
    background: #04091e;
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.quote-box::before {
    content: '"';
    font-size: 80px;
    color: rgb(198, 176, 105);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0.3;
}

.quote-box p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.6;
    color: white;
    position: relative;
    z-index: 1;
}

.quote-box .author {
    margin-top: 20px;
    color: rgb(198, 176, 105);
    font-style: normal;
    font-weight: bold;
}

.principles-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.principles-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.principles-list li:hover {
    background: #04091e;
    color: white;
    transform: translateX(10px);
}

.principles-list li i {
    color: rgb(198, 176, 105);
    font-size: 18px;
}

.principles-list li:hover i {
    color: rgb(198, 176, 105);
}

.importance-section {
    background: rgb(198, 176, 105);
    padding: 60px 20px;
    margin: 60px -20px -60px;
}

.importance-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.importance-content h2 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
}

.importance-content p {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 48px;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .kanuni-hero {
        height: auto;
        min-height: 400px;
    }

    .kanuni-section h2 {
        font-size: 28px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -28px;
    }

    .quote-box {
        padding: 30px 20px;
    }

    .quote-box p {
        font-size: 18px;
    }
}