:root{
    --cc-footer-color: rgba(255, 255, 255, 0.7);
}
.custom-footer {
    z-index: 500;
    position: relative;
    background: black ;
    color: white;
    padding: 2rem 0 0;  
    margin: 0;

}
body{
    background: black;
}

.custom-footer-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-style: italic;
}

.custom-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    border-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent) 1;
   
    border-bottom: 1px solid;
}

.custom-footer-section h3 {
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}


.custom-footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--cc-footer-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--cc-footer-color);
}

.footer-contact i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.footer-contact strong {
    color: var(--cc-footer-color);
    display: block;
    margin-bottom: 0.3rem;
}

.custom-footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.custom-footer-social a {
    color: var(--cc-footer-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.custom-footer-social a:hover {
    color: var(--accent);
    opacity: 1;
    transform: translateY(-3px);
}

.custom-footer-newsletter {
    margin-top: 2rem;
}

.custom-footer-newsletter h4 {
    color: var(--cc-footer-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.custom-footer-newsletter p {
    color: var(--cc-footer-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 0.8rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05) ;
}

.custom-footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem;
    text-align: center;
}

.footer-bottom-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--cc-footer-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.custom-footer-bottom p {
    color: var(--cc-footer-color);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1200px) {
    .custom-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-footer {
        padding: 2rem 0 0;
    }

    .custom-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .custom-footer-bottom {
        margin-top: 2rem;
    }

    .footer-logo {
        height: 50px;
    }
}

@media (max-width: 968px) {
    .custom-timeline-container {
        padding: 1rem;
    }

    .custom-timeline-item {
        flex-direction: column;
    }
    
    .custom-timeline-image-block,
    .custom-timeline-content-block {
        width: 100%;
    }

    .custom-timeline-image-block {
        min-height: 300px;
    }

    .custom-timeline-content-block {
        padding: 2rem;
    }

    .custom-timeline-year-label {
        font-size: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .custom-timeline-content-block h2 {
        font-size: 1.8rem;
    }

    .custom-timeline-navigation {
        padding: 0.5rem;
    }
}