.main-footer-v3 {
    position: relative;
    background-color: #421065;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.main-footer-v3::before {
    content: '';
    position: absolute;
    top: -160px;
    left: 0;
    width: 100%;
    height: 160px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 200'%3E%3Cpath d='M0,100 C250,200 350,0 500,100 C650,200 750,0 1000,100 L1000,201 L0,201 Z' fill='%23421065'%3E%3C/path%3E%3C/svg%3E");
    background-size: 1000px 200px;
    background-repeat: repeat-x;
    animation: animate-wave 15s linear infinite;
}

.footer-top {
    padding-bottom: 60px;
}

.footer-content-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    justify-content: end;
    width: 100%;
}

.footer-logo img {
    height: 50px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-image: var(--color-gradient);
    border-radius: 2px;
}

.footer-col.about p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 24px;
    max-width: 300px;
}

.footer-col.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col.links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-col.links a:hover {
    color: var(--color-white);
}

.subscribe-wrapper {
    margin-bottom: 35px;
}

.subscribe-form {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 6px;
}

.subscribe-form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(138, 77, 171, 0.2);
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 20px;
    color: var(--color-white);
}

.subscribe-form button {
    background-image: var(--color-gradient);
    color: var(--color-white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: opacity 0.3s;
    border-radius: 8px;
}

.subscribe-form button:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    font-size: 1rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 10px;
}

.footer-logo::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-image: var(--color-gradient);
    border-radius: 2px;
    margin-top: 15px;
}
.footer-contact-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1rem;
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

.contact-item span {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.5;
}

.custom-toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slide-in 0.5s forwards;
}

.custom-toast-notification.success {
    background-color: #28a745;
}

.custom-toast-notification.error {
    background-color: #dc3545;
}

.custom-toast-notification .toast-icon {
    font-size: 1.5rem;
}

.custom-toast-notification.fade-out {
    animation: slide-out 0.5s forwards;
}

.main-footer-v3 .container {
    position: relative;
    z-index: 2;
}

.footer-map-bg, .footer-map-pins {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 555px;
    height: 480px;
    z-index: 1;
    pointer-events: none;
}

.footer-map-bg {
    background-image: url('../img/home/world_map.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
}

.pin {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-white);
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.7);
    opacity: 0.3;
}

.pin.is-pulsing::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border-radius: 50%;
    animation: pulse 1.5s ease-out infinite;
    top: 0;
    left: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(8);
        opacity: 0;
    }
}

.pin-1 { top: 55%; left: 57%; }
.pin-2 { top: 33%; left: 65%; }
.pin-3 { top: 40%; left: 25%; }
.pin-4 { top: 64%; left: 56%; }
.pin-5 { top: 41%; left: 68%; }

@keyframes slide-in {
    from {
        transform: translateX(120%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slide-out {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(120%);
    }
}

@keyframes animate-wave {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -1000px;
  }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(8);
        opacity: 0;
    }
}
.footer-content-wrapper > .footer-col:last-child {
    min-width: 320px;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top, .footer-bottom {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .footer-content-wrapper {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .footer-top {
        justify-content: center;
    }
    .footer-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
}
.footer-col.about {
    margin-right: 20px;
    margin-left: 30px;
}
@keyframes fadeInFooter {
    to {
        opacity: 1;
    }
}
.footer-content-wrapper > .footer-col.links:nth-child(2),
.footer-content-wrapper > .footer-col.links:nth-child(3) {
    padding-top: 92px;
}