/* ============================================
   FOOTER STYLES - NEW 5 COLUMN DESIGN
   ============================================ */

.footer-new-design {
    background: linear-gradient(135deg, #003A63 0%, #004d7a 100%);
    color: #ffffff;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer-new-design::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-new-design .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Footer Grid - 5 Columns */
.footer-grid-new {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Footer Column */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Column 1: Company Info */
.footer-col-company {
    padding-right: 2rem;
}

.footer-logo-wrapper {
    margin-bottom: 1.5rem;
}

.footer-logo-new {
    height: 50px;
    width: 50px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footer-logo-new:hover {
    transform: scale(1.05);
}

.footer-company-name-new {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.footer-tagline-new {
    font-size: 0.85rem;
    font-weight: 600;
    color: #199C96;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 1rem 0;
}

.footer-description-new {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
}

/* Column Titles */
.footer-col-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #199C96;
}

/* Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.85rem;
    padding-left: 0;
    position: relative;
}

.footer-links-list li::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: #199C96;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-list li:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-links-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
}

.footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 5px;
    transform: translateX(5px);
}

/* Contact Info */
.footer-contact-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item-new {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact-item-new:hover {
    color: #ffffff;
}

.footer-contact-item-new svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: #199C96;
    transition: transform 0.3s ease;
}

.footer-contact-item-new:hover svg {
    transform: scale(1.1);
    color: #199C96;
}

.footer-contact-item-new a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item-new a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-item-new span {
    color: rgba(255, 255, 255, 0.85);
}

/* Social Media */
.footer-social-new {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-social-link-new {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.footer-social-link-new svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social-link-new:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Platform-specific hover colors */
.footer-social-link-new[data-platform="facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
}

.footer-social-link-new[data-platform="twitter"]:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

.footer-social-link-new[data-platform="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #fff;
}

.footer-social-link-new[data-platform="linkedin"]:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.footer-social-link-new[data-platform="youtube"]:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #fff;
}

.footer-social-message-new {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom-new {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    margin-top: 2rem;
}

.footer-copyright-new {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid-new {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
    
    .footer-social-new {
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .footer-grid-new {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        grid-column: span 1;
    }
    
    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-new-design {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-new-design .container {
        padding: 0 20px;
    }
    
    .footer-grid-new {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-col-company {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-logo-new {
        margin: 0 auto;
    }
    
    .footer-company-name-new {
        font-size: 1.75rem;
    }
    
    .footer-col-title {
        font-size: 1.05rem;
    }
    
    .footer-social-new {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-grid-new {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col-company {
        text-align: center;
    }
    
    .footer-company-name-new {
        font-size: 1.5rem;
    }
    
    .footer-col-title {
        font-size: 1rem;
    }
    
    .footer-social-new {
        justify-content: center;
    }
    
    .footer-social-link-new {
        width: 40px;
        height: 40px;
    }
    
    .footer-social-link-new svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   FLOATING BUTTONS - BACK TO TOP & WHATSAPP
   ============================================ */

/* Back to Top Button - Blue circle with white border and arrow */
#backToTop.back-to-top,
button#backToTop,
button.back-to-top,
.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    background: var(--primary-color) !important; /* Deep Navy Blue #003A63 */
    color: white !important;
    border: 4px solid white !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    opacity: 0;
    transform: translateY(20px) !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    top: auto !important;
    direction: ltr !important;
}

/* Show state - must have higher specificity than base styles */
#backToTop.back-to-top.show,
button#backToTop.show,
button.back-to-top.show,
.back-to-top.show {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.back-to-top:hover {
    background: var(--highlight-color) !important; /* Teal #199C96 */
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.back-to-top svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

.back-to-top svg path {
    stroke: white !important;
    fill: none !important;
    stroke-width: 2.5 !important;
}

/* WhatsApp Button - Green circle with white WhatsApp logo */
a.whatsapp-button,
.whatsapp-button {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    background: #25D366 !important;
    color: white !important;
    border: 3px solid white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    top: auto !important;
    direction: ltr !important;
}

.whatsapp-button:hover {
    background: #20BA5A !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.whatsapp-button svg {
    width: 32px !important;
    height: 32px !important;
    fill: white !important;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    #backToTop.back-to-top,
    button#backToTop,
    button.back-to-top,
    .back-to-top {
        bottom: 90px !important;
        right: 20px !important;
        left: auto !important;
        width: 50px !important;
        height: 50px !important;
        border-width: 3px !important;
    }
    
    .back-to-top svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    a.whatsapp-button,
    .whatsapp-button {
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: 50px !important;
        height: 50px !important;
        border-width: 3px !important;
    }
    
    .whatsapp-button svg {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 480px) {
    #backToTop.back-to-top,
    button#backToTop,
    button.back-to-top,
    .back-to-top {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        border-width: 3px !important;
    }
    
    .back-to-top svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    a.whatsapp-button,
    .whatsapp-button {
        bottom: 75px !important;
        right: 15px !important;
        left: auto !important;
        width: 48px !important;
        height: 48px !important;
        border-width: 3px !important;
    }
    
    .whatsapp-button svg {
        width: 26px !important;
        height: 26px !important;
    }
}

/* Force buttons to right side - Final override to prevent any conflicts */
#backToTop,
button#backToTop,
.back-to-top,
a.whatsapp-button,
.whatsapp-button {
    right: 30px !important;
    left: auto !important;
    direction: ltr !important;
}

@media (max-width: 768px) {
    #backToTop,
    button#backToTop,
    .back-to-top,
    a.whatsapp-button,
    .whatsapp-button {
        right: 20px !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    #backToTop,
    button#backToTop,
    .back-to-top,
    a.whatsapp-button,
    .whatsapp-button {
        right: 15px !important;
        left: auto !important;
    }
}
