/* ========================================
   FOOTER PROFESSIONAL STYLES WITH EFFECTS
   ======================================== */

/* Import Font Awesome for social icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

.footer-professional {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2a3f5f 50%, #1a2332 75%, #0f1419 100%);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Background - Multiple Layers */
.footer-professional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    animation: moveGradient 25s ease-in-out infinite;
    z-index: 0;
}

/* Animated Wave Effect - Multiple Waves */
.footer-professional::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(243,156,18,0.08)"></path></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="rgba(52,152,219,0.06)"></path></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" fill="rgba(155,89,182,0.05)"></path></svg>');
    background-size: 200% 100%, 250% 100%, 300% 100%;
    background-position: 0 0, 50% 0, 100% 0;
    animation: wave 25s linear infinite, wave2 18s linear infinite reverse, wave3 30s linear infinite;
    opacity: 1;
    z-index: 0;
}

/* Grid Pattern Overlay */
.footer-professional .grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    display: none;
}

/* Spotlight Effect */
.footer-professional .spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, transparent 70%);
    animation: spotlightMove 30s ease-in-out infinite;
    z-index: 0;
    filter: blur(40px);
}

/* Aurora/Northern Lights Effect */
.footer-professional .aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            transparent 0%, 
            rgba(243, 156, 18, 0.1) 20%, 
            rgba(52, 152, 219, 0.1) 40%, 
            rgba(155, 89, 182, 0.1) 60%, 
            rgba(231, 76, 60, 0.1) 80%, 
            transparent 100%);
    animation: aurora 15s ease-in-out infinite;
    opacity: 0.6;
    filter: blur(50px);
    z-index: 0;
}

/* Floating Particles Effect */
.footer-professional .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    display: none;
}

.footer-professional .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-up 15s infinite ease-in;
}

/* Geometric Shapes Background */
.footer-professional .geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    display: none;
}

.footer-professional .shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: rotate-shape 20s infinite linear;
}

.footer-professional .shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    border-radius: 50%;
    animation-duration: 25s;
}

.footer-professional .shape-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation-duration: 30s;
    animation-direction: reverse;
}

.footer-professional .shape-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 50%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation-duration: 35s;
}

/* Main Footer */
.footer-professional .main-footer {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-professional .footer-widget {
    margin-bottom: 30px;
}

.footer-professional .footer-widget h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-professional .footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    border-radius: 2px;
}

.footer-professional .footer-widget p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* About Widget */
.footer-professional .about-widget img {
    transition: transform 0.3s ease;
}

.footer-professional .about-widget img:hover {
    transform: scale(1.05);
}

/* Social Links with Advanced Effects */
.footer-social-links {
    margin-top: 20px;
}

.footer-social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.footer-social-links a:hover::before {
    width: 80px;
    height: 80px;
}

.footer-social-links a:hover {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    border-color: #f39c12;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.5);
}

.footer-social-links a i {
    position: relative;
    z-index: 1;
}

/* Links List with Glow Effect */
.footer-professional .links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-professional .links-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
    transition: all 0.3s ease;
}

.footer-professional .links-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #f39c12;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.footer-professional .links-list li:hover::before {
    left: 5px;
    transform: scale(1.3);
    text-shadow: 0 0 20px rgba(243, 156, 18, 1);
}

.footer-professional .links-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    display: inline-block;
}

.footer-professional .links-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    transition: width 0.4s ease;
}

.footer-professional .links-list li a:hover {
    color: #f39c12;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.footer-professional .links-list li a:hover::after {
    width: 100%;
}

/* Contact Widget with Pulse Effect */
.footer-professional .contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.footer-professional .contact-info-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.footer-professional .contact-info-list li:hover {
    transform: translateX(5px);
}

.footer-professional .contact-info-list li i {
    color: #f39c12;
    font-size: 18px;
    margin-right: 15px;
    min-width: 20px;
    margin-top: 3px;
    animation: pulse-icon 2s infinite;
}

.footer-professional .contact-info-list li:hover i {
    animation: pulse-icon-fast 0.5s infinite;
}

.footer-professional .contact-info-list li span {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-professional .contact-info-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-professional .contact-info-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f39c12;
    transition: width 0.3s ease;
}

.footer-professional .contact-info-list li a:hover {
    color: #f39c12;
}

.footer-professional .contact-info-list li a:hover::after {
    width: 100%;
}

/* Footer CTA Button with Advanced Effects */
.footer-cta {
    margin-top: 20px;
}

.btn-footer-cta {
    display: inline-block;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
    z-index: -1;
}

.btn-footer-cta:hover::before {
    left: 100%;
}

.btn-footer-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-footer-cta:hover::after {
    width: 300px;
    height: 300px;
}

.btn-footer-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.6);
    color: #ffffff;
    letter-spacing: 2px;
}

.btn-footer-cta:active {
    transform: translateY(-1px) scale(1.02);
}

/* Bottom Footer */
.footer-professional .bottom-footer {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-professional .footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-professional .footer-copyright strong {
    color: #f39c12;
    font-weight: 600;
}

.footer-professional .footer-bottom-links {
    text-align: right;
}

.footer-professional .footer-bottom-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-professional .footer-bottom-links ul li {
    display: inline-block;
    margin-left: 20px;
    position: relative;
}

.footer-professional .footer-bottom-links ul li::before {
    content: '|';
    position: absolute;
    left: -12px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-professional .footer-bottom-links ul li:first-child::before {
    display: none;
}

.footer-professional .footer-bottom-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-professional .footer-bottom-links ul li a:hover {
    color: #f39c12;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer-professional .main-footer {
        padding: 50px 0 30px;
    }
    
    .footer-professional .footer-widget {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .footer-professional .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-professional .footer-widget h3 {
        font-size: 16px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .footer-professional .footer-bottom-links {
        text-align: center;
        margin-top: 15px;
    }
    
    .footer-professional .footer-bottom-links ul li {
        margin: 0 10px;
    }
    
    .footer-professional .footer-copyright {
        text-align: center;
    }
}

/* Animation for footer entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.33%); }
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

@keyframes moveGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(5%, -5%) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translate(-5%, 5%) scale(0.95);
        opacity: 0.9;
    }
    75% {
        transform: translate(3%, 3%) scale(1.05);
        opacity: 0.85;
    }
}

@keyframes wave {
    0% { 
        background-position-x: 0, 50%, 100%; 
    }
    100% { 
        background-position-x: 1200px, 1450px, 1800px; 
    }
}

@keyframes wave2 {
    0% { 
        transform: translateY(0) scaleX(1);
    }
    50% { 
        transform: translateY(-10px) scaleX(1.05);
    }
    100% { 
        transform: translateY(0) scaleX(1);
    }
}

@keyframes wave3 {
    0% { 
        opacity: 0.8;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        opacity: 0.8;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes spotlightMove {
    0%, 100% {
        top: -20%;
        left: -10%;
    }
    25% {
        top: 20%;
        left: 70%;
    }
    50% {
        top: 50%;
        left: 10%;
    }
    75% {
        top: 10%;
        left: 80%;
    }
}

@keyframes aurora {
    0%, 100% {
        transform: translateX(-100%) skewX(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translateX(0%) skewX(-5deg);
        opacity: 0.7;
    }
    50% {
        transform: translateX(100%) skewX(0deg);
        opacity: 0.5;
    }
    75% {
        transform: translateX(50%) skewX(5deg);
        opacity: 0.6;
    }
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(100%) scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

@keyframes rotate-shape {
    0% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 0.6;
    }
    100% { 
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes pulse-icon-fast {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(243, 156, 18, 0.5), 0 0 10px rgba(243, 156, 18, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.8), 0 0 30px rgba(243, 156, 18, 0.5);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(243, 156, 18, 0));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(243, 156, 18, 0.3));
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.footer-professional .footer-widget {
    animation: fadeInUp 0.8s ease-out both;
}

.footer-professional .footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-professional .footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-professional .footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-professional .footer-widget:nth-child(4) { animation-delay: 0.4s; }
.footer-professional .footer-widget:nth-child(5) { animation-delay: 0.5s; }

/* Hover effect on widget title */
.footer-professional .footer-widget h3 {
    position: relative;
    transition: all 0.3s ease;
}

.footer-professional .footer-widget:hover h3 {
    transform: translateX(5px);
    color: #f39c12;
}

.footer-professional .footer-widget h3::after {
    transition: all 0.4s ease;
}

.footer-professional .footer-widget:hover h3::after {
    width: 80px;
    background: linear-gradient(90deg, #f39c12, #e74c3c, #3498db);
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Logo hover effect */
.footer-professional .about-widget img {
    transition: all 0.5s ease;
    filter: brightness(1);
}

.footer-professional .about-widget img:hover {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(243, 156, 18, 0.5));
}
