/* Enhanced WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.whatsapp-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    color: white;
    font-size: 2rem;
    z-index: 3;
    position: relative;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

.whatsapp-float:hover .whatsapp-ripple {
    width: 100px;
    height: 100px;
}

.whatsapp-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: whatsappPulse 2s infinite;
    z-index: 2;
}

@keyframes whatsappPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Click animation */
.whatsapp-float:active {
    transform: scale(0.95);
}

/* Responsive design */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        font-size: 1.4rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .whatsapp-float:hover {
        transform: none;
    }
    
    .whatsapp-float:active {
        transform: scale(0.9);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-pulse {
        animation: none;
    }
    
    .whatsapp-float:hover {
        transform: none;
    }
}

/* Enhanced Footer Styles */
.enhanced-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 30px;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(93, 57, 145, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-2px);
    color: #F7931E;
}

.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F7931E;
    margin: 0;
}

.brand-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.social-link.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #0d6efd);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-link.twitter:hover {
    background: linear-gradient(135deg, #1da1f2, #0ea5e9);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #0ea5e9);
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #f77737);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-title-f {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F7931E;
    margin: 0;
    position: relative;
}

.section-title-f::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #F7931E, #5d3991);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(247, 147, 30, 0.3);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #F7931E, #5d3991);
    transform: translateY(-50%);
    transition: width 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(247, 147, 30, 0.4);
}

.footer-link:hover {
    color: #F7931E;
    transform: translateX(20px);
    font-weight: 600;
}

.footer-link:hover::before {
    width: 15px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.15), rgba(93, 57, 145, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7931E;
    font-size: 1.2rem;
    border: 2px solid rgba(247, 147, 30, 0.3);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.25);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-icon:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.25), rgba(93, 57, 145, 0.25));
    box-shadow: 0 6px 20px rgba(247, 147, 30, 0.35);
    border-color: rgba(247, 147, 30, 0.5);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    line-height: 1.3;
}

/* WhatsApp CTA */
.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-cta i {
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin-bottom: 30px;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright, .credits {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.copyright strong, .credits strong {
    color: #F7931E;
}

/* Enhanced Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5d3991, #F7931E);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(93, 57, 145, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(93, 57, 145, 0.4);
    background: linear-gradient(135deg, #F7931E, #5d3991);
    color: white;
    text-decoration: none;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover .back-to-top-icon {
    transform: translateY(-2px);
}

.back-to-top-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 1;
}

.back-to-top-btn:hover .back-to-top-ripple {
    width: 100px;
    height: 100px;
}

/* Pulse Animation */
@keyframes backToTopPulse {
    0% {
        box-shadow: 0 8px 25px rgba(93, 57, 145, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(93, 57, 145, 0.5), 0 0 0 10px rgba(93, 57, 145, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(93, 57, 145, 0.3);
    }
}

.back-to-top-btn.pulse {
    animation: backToTopPulse 2s infinite;
}

/* Click and Success States */
.back-to-top-btn.clicked {
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.back-to-top-btn.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.back-to-top-btn.touch-active {
    transform: scale(0.95);
}

/* Progress Indicator */
.back-to-top-btn[data-progress]::after {
    content: attr(data-progress) '%';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Active Navigation Styles */
.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link:hover {
    color: #F7931E !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #F7931E !important;
    font-weight: 700 !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #F7931E, #5d3991);
    border-radius: 2px;
    animation: activeTabSlide 0.3s ease-out;
}

@keyframes activeTabSlide {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 30px;
        opacity: 1;
    }
}

/* Active tab hover effect */
.navbar-nav .nav-link.active:hover {
    transform: translateY(-1px);
}

/* Simplified Navbar Styles */
#mainNavbar {
    background: linear-gradient(135deg, #5D3991 0%, #7c4db8 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(93, 57, 145, 0.2);
    transition: all 0.3s ease;
    padding: 15px 0;
}

#mainNavbar.scrolled {
    background: rgba(93, 57, 145, 0.95);
    padding: 10px 0;
}

/* Logo */
.navbar-logo {
    height: 50px;
    transition: all 0.3s ease;
}

.logo-container:hover .navbar-logo {
    transform: scale(1.05);
}

/* Navigation Links */
.navbar-nav .nav-link {
    padding: 12px 20px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #F7931E !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #F7931E !important;
    background: rgba(247, 147, 30, 0.15);
    font-weight: 700 !important;
}

/* Enhanced Mobile Toggler */
.custom-toggler {
    border: none;
    padding: 8px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-toggler:hover {
    background: rgba(247, 147, 30, 0.2);
    transform: scale(1.05);
}

.custom-toggler:focus {
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.3);
    outline: none;
}

.toggler-container {
    position: relative;
    width: 20px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.toggler-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #F7931E;
    border-radius: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.toggler-line-1 {
    transform: translateY(0);
}

.toggler-line-2 {
    opacity: 1;
    transform: scaleX(1);
}

.toggler-line-3 {
    transform: translateY(0);
}

/* Active state animations */
.custom-toggler[aria-expanded="true"] .toggler-line-1 {
    transform: translateY(7px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .toggler-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.custom-toggler[aria-expanded="true"] .toggler-line-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Language Dropdown */
.btn-language {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background: rgba(247, 147, 30, 0.2);
    color: #F7931E;
    transform: translateY(-1px);
}

.dropdown-arrow- {
    transition: transform 0.3s ease;
}

.btn-language[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    background: rgba(93, 57, 145, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    margin-top: 10px;
}

.language-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.language-item:hover {
    background: rgba(247, 147, 30, 0.2);
    color: #F7931E;
}

.language-flag {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .enhanced-footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .brand-container {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .section-title-f::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        transform: none;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .enhanced-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .back-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .whatsapp-float:hover {
        transform: none;
    }
    
    .whatsapp-float:active {
        transform: scale(0.9);
    }
    
    .back-to-top-btn:hover {
        transform: none;
    }
    
    .back-to-top-btn:active {
        transform: scale(0.95);
    }
    
    .custom-toggler:hover {
        transform: none;
    }
    
    .custom-toggler:active {
        transform: scale(0.95);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-pulse {
        animation: none;
    }
    
    .whatsapp-float:hover {
        transform: none;
    }
    
    .back-to-top-btn {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .back-to-top-btn:hover {
        transform: none;
    }
    
    .back-to-top-ripple {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .back-to-top-btn {
        background: linear-gradient(135deg, #7c4db8, #F7931E);
        box-shadow: 0 8px 25px rgba(124, 77, 184, 0.4);
    }
    
    .back-to-top-btn:hover {
        background: linear-gradient(135deg, #F7931E, #7c4db8);
        box-shadow: 0 12px 35px rgba(124, 77, 184, 0.5);
    }
}

/* Responsive navbar */
@media (max-width: 991px) {
    .navbar-nav {
        background: rgba(93, 57, 145, 0.95);
        border-radius: 15px;
        padding: 20px;
        margin-top: 15px;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        margin: 5px 0;
        border-radius: 10px;
    }

    .language-dropdown {
        margin-top: 15px;
        text-align: center;
    }

    .btn-language {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .navbar-logo { height: 40px; }
    .navbar-nav .nav-link { padding: 12px 15px !important; font-size: 0.95rem; }
    .btn-language { padding: 6px 12px; font-size: 0.85rem; }
} 