/* Enhanced Modern Mobile Footer Styles */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


#ast-scroll-top {display: none!important;}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Poppins', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Footer Container */
.mobile-footer {
    background: linear-gradient(180deg, #222222 0%, #1a1a1a 50%, #111111 100%);
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

/* Brand Hero Section - Enhanced */
.brand-hero {
    background: linear-gradient(135deg, #F51D24 0%, #d1191f 50%, #b01519 100%);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.05) 20px,
        rgba(255, 255, 255, 0.05) 40px
    );
    z-index: 1;
}

.brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.brand-logo-wrapper {
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.brand-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.logo-jan {
    color: #ffffff;
}

.logo-vani {
    color: #FFD700;
}

.logo-24 {
    color: #ffffff;
    font-size: 0.7em;
    vertical-align: super;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 15px;
}

.channel-about {
    max-width: 380px;
    margin: 0 auto;
}

.about-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 8px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 70px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item i {
    color: #FFD700;
    font-size: 1.1rem;
}

.stat-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.2;
}

/* Hero Decoration - Enhanced */
.hero-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.circle-2 {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.2);
    top: 60px;
    right: 80px;
    animation-delay: 2s;
}

.circle-3 {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    top: 100px;
    right: 40px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Expandable Sections - Enhanced */
.expandable-sections {
    padding: 25px 20px;
}

.section-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 29, 36, 0.1), transparent);
    transition: left 0.6s;
}

.section-card:hover::before {
    left: 100%;
}

.section-card.expanded {
    background: rgba(245, 29, 36, 0.08);
    border-color: rgba(245, 29, 36, 0.3);
    box-shadow: 0 8px 25px rgba(245, 29, 36, 0.15);
}

.section-header {
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}



.section-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-icon {
    color: #F51D24;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.section-card.expanded .section-icon {
    color: #FFD700;
    transform: scale(1.1);
}

.section-title {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
}

.toggle-icon {
    color: #888888;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.section-card.expanded .section-content {
    max-height: 500px;
}

/* Links Grid - Enhanced */
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px 18px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link i {
    color: #F51D24;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover, .nav-link:active {
    background: rgba(245, 29, 36, 0.15);
    color: #ffffff;
    border-color: rgba(245, 29, 36, 0.3);
    transform: translateX(5px);
}

.nav-link:hover i {
    color: #FFD700;
    transform: scale(1.1);
}

/* Category specific colors */
.category-politics:hover { border-left: 3px solid #FF6B6B; }
.category-sports:hover { border-left: 3px solid #4ECDC4; }
.category-business:hover { border-left: 3px solid #45B7D1; }
.category-entertainment:hover { border-left: 3px solid #F7931E; }
.category-tech:hover { border-left: 3px solid #9B59B6; }
.category-health:hover { border-left: 3px solid #2ECC71; }

/* Services Grid */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 18px 18px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(245, 29, 36, 0.3);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, #F51D24, #d1191f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    color: #ffffff;
    font-size: 1.1rem;
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.service-info p {
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-bottom: 8px;
}

.service-btn {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(245, 29, 36, 0.2);
    color: #F51D24;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245, 29, 36, 0.3);
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: #F51D24;
    color: #ffffff;
}

/* Newsletter Form - Enhanced */
.newsletter-card .section-content {
    padding: 0 18px 18px;
}

.newsletter-form {
    width: 100%;
}

.form-container {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.form-container:focus-within {
    border-color: #F51D24;
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    outline: none;
    color: #333;
    background: transparent;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background: linear-gradient(145deg, #F51D24, #d1191f);
    border: none;
    padding: 14px 18px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.newsletter-form button:hover {
    background: linear-gradient(145deg, #d1191f, #b01519);
}

.newsletter-form button:active {
    transform: scale(0.95);
}

.newsletter-text {
    color: #aaaaaa;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 12px;
}

.newsletter-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #cccccc;
}

.feature i {
    color: #28a745;
    font-size: 0.7rem;
}

/* Social Media Bar - Enhanced */
.social-bar {
    margin: 25px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #F51D24, #FFD700, #F51D24);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.social-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-title-wrapper i {
    color: #F51D24;
    font-size: 1rem;
}

.social-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.social-count {
    background: rgba(245, 29, 36, 0.2);
    color: #F51D24;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(245, 29, 36, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-count i {
    font-size: 0.75rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.social-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: #cccccc;
    transition: color 0.3s ease;
}

/* Social icon specific styles */
.social-icon.facebook i { color: #1877f2; }
.social-icon.twitter i { color: #1da1f2; }
.social-icon.instagram i { color: #e4405f; }
.social-icon.youtube i { color: #ff0000; }
.social-icon.whatsapp i { color: #25d366; }
.social-icon.telegram i { color: #0088cc; }

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon:hover .social-name {
    color: #ffffff;
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Contact Info - Enhanced */
.contact-info {
    margin: 25px 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #F51D24;
    font-weight: 600;
    font-size: 1rem;
}

.contact-header i {
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.contact-item i {
    color: #F51D24;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.8rem;
    color: #FFD700;
    font-weight: 600;
}

.contact-text span:last-child {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.4;
}

/* Trust Badges - Enhanced */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 25px 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 29, 36, 0.1), transparent);
    transition: left 0.6s;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.trust-badge.verified i { color: #28a745; }
.trust-badge.award i { color: #FFD700; }
.trust-badge.support i { color: #17a2b8; }
.trust-badge.iso i { color: #6f42c1; }

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(245, 29, 36, 0.3);
}

.trust-badge:hover i {
    transform: scale(1.1);
}

/* Footer Bottom - Enhanced */
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-top: 2px solid rgba(245, 29, 36, 0.3);
    position: relative;
}

.copyright {
    text-align: center;
    margin-bottom: 15px;
}

.copyright p {
    color: #aaaaaa;
    font-size: 0.85rem;
    font-weight: 500;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.legal-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
}

.legal-links a i {
    font-size: 0.75rem;
    color: #F51D24;
}

.legal-links a:hover {
    color: #F51D24;
    background: rgba(245, 29, 36, 0.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #F51D24, #d1191f);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(245, 29, 36, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(145deg, #d1191f, #b01519);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 29, 36, 0.5);
}

/* Animation Classes */
.slide-in {
    animation: slideInUp 0.4s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Touch Active States */
.touch-active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive adjustments for very small screens */
@media (max-width: 320px) {
    .brand-hero { padding: 25px 15px; }
    .expandable-sections { padding: 20px 15px; }
    .social-bar, .contact-info, .trust-badges { margin: 20px 15px; }
    .links-grid { grid-template-columns: 1fr; }
    .social-icons { grid-template-columns: repeat(2, 1fr); }
    .trust-badges { grid-template-columns: 1fr; }
    .quick-stats { gap: 15px; }
    .stat-item { min-width: 60px; padding: 10px 6px; }
}

/* Performance Optimizations */
.mobile-footer * {
    will-change: transform;
}

.mobile-footer *:hover {
    will-change: transform, background-color;
}