


.main-footer {
    background: linear-gradient(180deg, #1a252f 0%, #0f1419 100%);
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}


.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}


.footer-newsletter {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 50%, #ffa876 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: diagonalMove 20s linear infinite;
}

@keyframes diagonalMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h3 {
    font-size: 32px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInLeft 0.8s ease-out;
}

.newsletter-text h3 i {
    font-size: 40px;
    animation: bounce 2s ease-in-out infinite;
}

.newsletter-text p {
    font-size: 18px;
    opacity: 0.95;
    animation: fadeIn 1s ease-out 0.3s both;
}

.newsletter-form {
    flex: 1;
    max-width: 600px;
    animation: slideInRight 0.8s ease-out;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.newsletter-input-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.newsletter-input-group i {
    color: var(--primary-color);
    margin-left: 20px;
    margin-right: 10px;
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 15px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.newsletter-input-group input::placeholder {
    color: #999;
}

.newsletter-input-group button {
    border-radius: 50px;
    padding: 15px 35px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-group button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.newsletter-input-group button i {
    margin: 0;
    animation: none;
    transition: transform 0.3s ease;
}

.newsletter-input-group button:hover i {
    transform: translateX(5px);
}


.footer-content {
    padding: 80px 20px 40px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 50px;
}


.footer-column {
    opacity: 0;
    transform: translateY(30px);
}

.footer-column.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer-column:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo i {
    font-size: 42px;
    color: var(--primary-color);
    animation: fireFlicker 3s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
    50% {
        transform: scale(0.95);
        filter: brightness(0.9);
    }
    75% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

.footer-logo h3 {
    font-size: 28px;
    margin: 0;
    background: linear-gradient(135deg, white 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column > p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}


.footer-column h3 {
    margin-bottom: 30px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    border-radius: 2px;
}

.footer-column h3 i {
    color: var(--primary-color);
    font-size: 22px;
}


.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 14px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    position: relative;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-column a:hover::before {
    width: 100%;
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-column a i.fa-chevron-right {
    font-size: 10px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-column a:hover i.fa-chevron-right {
    transform: translateX(5px);
}


.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact i {
    margin-top: 4px;
    color: var(--primary-color);
    font-size: 18px;
    min-width: 24px;
    text-align: center;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.footer-contact li:nth-child(1) i { animation-delay: 0s; }
.footer-contact li:nth-child(2) i { animation-delay: 0.2s; }
.footer-contact li:nth-child(3) i { animation-delay: 0.4s; }
.footer-contact li:nth-child(4) i { animation-delay: 0.6s; }

.ml-4 {
    margin-left: 38px;
}


.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c5a 100%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-social a:hover::before {
    transform: scale(1);
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a:hover {
    transform: translateY(-8px) rotate(15deg);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.5);
}

.footer-social a:nth-child(1):hover { animation: wobble 0.5s ease; }
.footer-social a:nth-child(2):hover { animation: swing 0.5s ease; }
.footer-social a:nth-child(3):hover { animation: tada 0.5s ease; }
.footer-social a:nth-child(4):hover { animation: jello 0.5s ease; }

@keyframes wobble {
    0%, 100% { transform: translateY(-8px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-10deg); }
    75% { transform: translateY(-8px) rotate(10deg); }
}

@keyframes swing {
    20% { transform: translateY(-8px) rotate(15deg); }
    40% { transform: translateY(-8px) rotate(-10deg); }
    60% { transform: translateY(-8px) rotate(5deg); }
    80% { transform: translateY(-8px) rotate(-5deg); }
}

@keyframes tada {
    0%, 100% { transform: scale(1) translateY(-8px); }
    10%, 20% { transform: scale(0.9) rotate(-3deg) translateY(-8px); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg) translateY(-8px); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg) translateY(-8px); }
}

@keyframes jello {
    0%, 100% { transform: translateY(-8px); }
    11.1% { transform: skewX(-12.5deg) skewY(-12.5deg) translateY(-8px); }
    22.2% { transform: skewX(6.25deg) skewY(6.25deg) translateY(-8px); }
    33.3% { transform: skewX(-3.125deg) skewY(-3.125deg) translateY(-8px); }
    44.4% { transform: skewX(1.5625deg) skewY(1.5625deg) translateY(-8px); }
    55.5% { transform: skewX(-0.78125deg) skewY(-0.78125deg) translateY(-8px); }
}


.footer-bottom {
    background: rgba(0, 0, 0, 0.5);
    padding: 35px 20px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%);
    animation: borderSlide 3s ease-in-out infinite;
}

@keyframes borderSlide {
    0%, 100% { opacity: 0.5; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}


.footer-bottom-center {
    text-align: center;
}

.footer-bottom-center p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin: 0;
    line-height: 1.8;
}

.footer-bottom-center p:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom-center p i {
    color: var(--primary-color);
    animation: rotate 20s linear infinite;
}

.footer-tagline {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
    margin-top: 5px !important;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c5a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.6);
}


@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .newsletter-input-group {
        min-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .newsletter-text h3 {
        font-size: 26px;
    }

    .newsletter-input-group {
        flex-direction: column;
        padding: 15px;
        border-radius: 20px;
    }

    .newsletter-input-group input {
        text-align: center;
        width: 100%;
    }

    .newsletter-input-group button {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-social {
        justify-content: center;
    }
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
