/* Footer */
.main-footer {
    padding: 5rem 0 4rem;
    background-color: #FFFFFF;
    color: #0B0B3B;
}

.footer-logo-top {
    margin-bottom: 70px;
}

.footer-logo-top img {
    height: 75px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    margin-bottom: 80px;
}

.footer-left h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.subscribe-form {
    position: relative;
    max-width: 450px;
    margin-bottom: 30px;
}

.subscribe-form .form-control {
    background-color: #fff;
    border: 1px solid rgba(11, 11, 59, 0.3);
    border-radius: 50px;
    padding: 15px 160px 15px 30px;
    color: #0B0B3B;
    height: 64px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.subscribe-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

.subscribe-form .form-control::placeholder {
    color: rgba(11, 11, 59, 0.5);
}

.subscribe-form .btn {
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    min-width: 140px;
    background: var(--gradient-blue);
    border: none;
    border-radius: 50px;
    padding: 0 35px;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    animation: softPulse 2s infinite;
}

.subscribe-form .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(8, 38, 239, 0.4);
    color: #fff;
    animation: none;
}

.subscribe-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.subscribe-form .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8, 38, 239, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: glowPulse 3s infinite;
}

.subscribe-form .btn:hover::before {
    transform: translateX(100%);
}

.subscribe-form .btn:hover::after {
    opacity: 1;
}

@keyframes softPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(8, 38, 239, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(8, 38, 239, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(8, 38, 239, 0.2);
    }
}

@keyframes glowPulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(11, 11, 59, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 100px;
}

.info-block {
    position: relative;
    padding-bottom: 25px;
}

.info-block::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
}

.info-block:nth-child(4)::after,
.info-block:last-child::after {
    display: none;
}

.info-block h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(11, 11, 59, 0.6);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p {
    font-size: 1rem;
    color: #0B0B3B;
    margin: 0 0 10px;
    line-height: 1.6;
}

.info-block p:last-of-type {
    margin-bottom: 0;
}

.info-block .social-links {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.info-block .social-link {
    color: #0B0B3B;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.info-block .social-link:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(11, 11, 59, 0.1);
}

.footer-bottom img {
    height: 400px;
    margin-bottom: 40px;
}

.footer-bottom-content {
    display: inline-block;
    padding: 0 5rem;
}

.back-to-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F0F4F8;
    color: #0B0B3B;
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 12px;
    margin: 0;
    width: 100%;
    transition: background-color 0.3s ease;
}

.back-to-top-bar:hover {
    background-color: #e2e8ef;
}

.back-to-top-bar span {
    font-size: 1rem;
    font-weight: 500;
} 