/* =========================================
   PREMIUM DARK FOOTER
   ========================================= */

.footer-premium-dark {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

/* Newsletter Section */
.footer-newsletter-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(239, 174, 46, 0.1);
}

.newsletter-content {
    position: relative;
}

.newsletter-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--tg-heading-font-family);
}

.newsletter-text {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 35px;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: #efae2e;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(239, 174, 46, 0.2);
}

.newsletter-input-group input::placeholder {
    color: #888;
}

.newsletter-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #efae2e 0%, #d49821 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 174, 46, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(239, 174, 46, 0.4);
    background: linear-gradient(135deg, #d49821 0%, #efae2e 100%);
}

/* Main Footer Content */
.footer-main-content {
    padding: 80px 0 60px;
    position: relative;
    z-index: 2;
}

/* Brand Column */
.footer-brand {
    padding-right: 30px;
}

.footer-logo-premium img {
    max-width: 180px;
    filter: brightness(1.2);
}

.footer-brand-text {
    color: #aaa;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Social Icons */
.footer-social-premium {
    display: flex;
    gap: 15px;
}

.social-icon-premium {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon-premium:hover {
    background: linear-gradient(135deg, #efae2e 0%, #d49821 100%);
    border-color: #efae2e;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(239, 174, 46, 0.4);
    color: #fff;
}

/* Footer Headings */
.footer-heading-premium {
    font-size: 20px;
    font-weight: 700;
    color: #efae2e;
    margin-bottom: 25px;
    font-family: var(--tg-heading-font-family);
    position: relative;
    padding-bottom: 15px;
}

.footer-heading-premium::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #efae2e 0%, transparent 100%);
}

/* Footer Links */
.footer-menu-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-premium li {
    margin-bottom: 12px;
}

.footer-menu-premium li a {
    color: #aaa;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-menu-premium li a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #efae2e;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-menu-premium li a:hover {
    color: #efae2e;
    padding-left: 25px;
}

.footer-menu-premium li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   ULTRA-CREATIVE SCROLL TO TOP BUTTON
   ========================================= */

.scroll-to-top-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #efae2e 0%, #d49821 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(239, 174, 46, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    transform: scale(0) rotate(-180deg);
    overflow: visible;
}

.scroll-to-top-premium.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
    animation: morphPulse 3s ease-in-out infinite;
}

.scroll-to-top-premium:hover {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
    box-shadow: 0 15px 45px rgba(239, 174, 46, 0.7);
    animation: none;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Outer Rotating Ring */
.outer-ring {
    position: absolute;
    width: 75px;
    height: 75px;
    border: 2px dashed rgba(239, 174, 46, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-to-top-premium:hover .outer-ring {
    opacity: 1;
}

/* Arrow Icon */
.scroll-to-top-premium i {
    font-size: 22px;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: arrowFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scroll-to-top-premium:hover i {
    animation: arrowShoot 0.8s ease-in-out infinite;
}

/* Progress Ring */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(239, 174, 46, 0.8));
}

/* Sparkles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px #efae2e, 0 0 20px #efae2e;
}

.scroll-to-top-premium.active .sparkle {
    animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkle-1 {
    top: 5px;
    right: 15px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 15px;
    right: 5px;
    animation-delay: 0.5s;
}

.sparkle-3 {
    bottom: 5px;
    left: 15px;
    animation-delay: 1s;
}

.sparkle-4 {
    bottom: 15px;
    left: 5px;
    animation-delay: 1.5s;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(239, 174, 46, 0.3);
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top-premium:active .ripple {
    animation: rippleEffect 0.6s ease-out;
}

/* Animations */
@keyframes morphPulse {

    0%,
    100% {
        border-radius: 50%;
        box-shadow: 0 8px 25px rgba(239, 174, 46, 0.4);
    }

    25% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        box-shadow: 0 10px 30px rgba(239, 174, 46, 0.5);
    }

    50% {
        border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
        box-shadow: 0 12px 35px rgba(239, 174, 46, 0.6);
    }

    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        box-shadow: 0 10px 30px rgba(239, 174, 46, 0.5);
    }
}

@keyframes arrowFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes arrowShoot {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-10px) scale(1.2);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }

    75% {
        transform: translateY(-5px) scale(1.15);
    }
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes sparkleFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-to-top-premium {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top-premium i {
        font-size: 18px;
    }

    .progress-ring {
        width: 50px;
        height: 50px;
    }

    .outer-ring {
        width: 65px;
        height: 65px;
    }

    .sparkle {
        width: 4px;
        height: 4px;
    }
}

/* Contact Items */
.contact-item-premium {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
    /* Changed from flex-start to center */
}

.contact-item-premium i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 174, 46, 0.1);
    border-radius: 8px;
    color: #efae2e;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item-premium div {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.contact-item-premium strong {
    color: #fff;
    display: inline;
    /* Changed from block to inline */
    margin-bottom: 0;
    /* Removed margin */
}

/* Bottom Bar */
.footer-bottom-bar {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.footer-payment-methods img {
    max-width: 250px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-payment-methods img:hover {
    opacity: 1;
}

/* Decorative Elements */
.footer-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.footer-decoration-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 174, 46, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.footer-decoration-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(239, 174, 46, 0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}




/* Responsive */
@media (max-width: 991px) {
    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group input {
        min-width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-main-content {
        padding: 40px 30px;
    }

    .footer-brand {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .footer-heading-premium::after {
        width: 40px;
    }
}

@media (max-width: 767px) {
    .footer-newsletter-section {
        padding: 60px 0;
        text-align: left;
    }

    .newsletter-title {
        font-size: 24px;
        text-align: left;
    }

    .newsletter-text {
        text-align: left;
    }

    .footer-social-premium {
        justify-content: flex-start;
        /* Left Align */
        margin-bottom: 20px;
    }

    .footer-heading-premium {
        text-align: left;
        font-size: 18px;
        /* Slightly smaller for mobile grid */
    }

    .footer-heading-premium::after {
        left: 0;
        transform: none;
    }

    .footer-menu-premium {
        text-align: left;
    }

    .footer-menu-premium li a {
        padding-left: 0;
        font-size: 14px;
    }

    .footer-menu-premium li a::before {
        display: none;
    }

    .contact-item-premium {
        justify-content: flex-start;
        text-align: left;
    }

    /* 2-Column Grid for Links on Mobile */
    /* Targeting the specific columns based on structure */
    .footer-main-content .row>div:nth-child(2),
    .footer-main-content .row>div:nth-child(3) {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    /* Ensure Brand and Contact take full width */
    .footer-main-content .row>div:nth-child(1),
    .footer-main-content .row>div:nth-child(4) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-brand {
        margin-bottom: 30px;
    }

    /* Adjust contact icons for mobile */
    .contact-item-premium i {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}