/* Fixed WhatsApp Icon - Visible on all pages */
.whatsapp-fixed-icon {
    position: fixed;
    bottom: clamp(1.25rem, 2.5vw, 1.875rem);
    right: clamp(1.25rem, 2.5vw, 1.875rem);
    width: clamp(3rem, 4.5vw, 3.75rem);
    height: clamp(3rem, 4.5vw, 3.75rem);
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 0.25rem 0.75rem rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-fixed-icon:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 0.375rem 1rem rgba(37, 211, 102, 0.6);
}

.whatsapp-fixed-icon svg {
    width: clamp(1.5rem, 2.2vw, 1.75rem);
    height: clamp(1.5rem, 2.2vw, 1.75rem);
}

@media (max-width: 48rem) {
    .whatsapp-fixed-icon {
        width: clamp(2.5rem, 3.75vw, 2.75rem);
        height: clamp(2.5rem, 3.75vw, 2.75rem);
        bottom: clamp(0.75rem, 1.5vw, 1rem);
        right: clamp(0.75rem, 1.5vw, 1rem);
    }
    
    .whatsapp-fixed-icon svg {
        width: clamp(1.125rem, 1.7vw, 1.25rem);
        height: clamp(1.125rem, 1.7vw, 1.25rem);
    }
}

@media (max-width: 30rem) {
    .whatsapp-fixed-icon {
        width: clamp(2.25rem, 3.25vw, 2.5rem);
        height: clamp(2.25rem, 3.25vw, 2.5rem);
        bottom: clamp(0.625rem, 1.25vw, 0.75rem);
        right: clamp(0.625rem, 1.25vw, 0.75rem);
    }
    
    .whatsapp-fixed-icon svg {
        width: clamp(1rem, 1.5vw, 1.125rem);
        height: clamp(1rem, 1.5vw, 1.125rem);
    }
    
    .scroll-arrow {
        width: clamp(2.25rem, 3.25vw, 2.5rem);
        height: clamp(2.25rem, 3.25vw, 2.5rem);
    }
    
    .scroll-arrow svg {
        width: clamp(1rem, 1.5vw, 1.125rem);
        height: clamp(1rem, 1.5vw, 1.125rem);
    }
    
    .scroll-arrow-up {
        bottom: clamp(5.5rem, 8vw, 6.5rem);
    }
    
    .scroll-arrow-down {
        bottom: clamp(2.75rem, 4vw, 3.5rem);
    }
}

/* Scroll Navigation Arrows - Fixed position, visible on all pages */
.scroll-arrow {
    position: fixed;
    left: clamp(1.25rem, 2.5vw, 1.875rem);
    width: clamp(3rem, 4.5vw, 3.75rem);
    height: clamp(3rem, 4.5vw, 3.75rem);
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 0.25rem 0.75rem rgba(242, 140, 40, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 0;
}

.scroll-arrow:hover {
    background-color: #e67a1f;
    transform: scale(1.1);
    box-shadow: 0 0.375rem 1rem rgba(242, 140, 40, 0.6);
}

.scroll-arrow:active {
    transform: scale(0.95);
}

.scroll-arrow svg {
    width: clamp(1.5rem, 2.2vw, 1.75rem);
    height: clamp(1.5rem, 2.2vw, 1.75rem);
    stroke-width: 2.5;
}

.scroll-arrow-up {
    bottom: clamp(6.5rem, 9vw, 8rem);
}

.scroll-arrow-down {
    bottom: clamp(3.25rem, 5vw, 4.5rem);
}

@media (max-width: 48rem) {
    .scroll-arrow {
        width: clamp(2.5rem, 3.75vw, 2.75rem);
        height: clamp(2.5rem, 3.75vw, 2.75rem);
        left: clamp(0.75rem, 1.5vw, 1rem);
    }
    
    .scroll-arrow svg {
        width: clamp(1.125rem, 1.7vw, 1.25rem);
        height: clamp(1.125rem, 1.7vw, 1.25rem);
    }
    
    .scroll-arrow-up {
        bottom: clamp(5.5rem, 8vw, 6.5rem);
    }
    
    .scroll-arrow-down {
        bottom: clamp(2.75rem, 4vw, 3.5rem);
    }
}

/* Footer - Fully Responsive */
.footer {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: clamp(2rem, 4vw, 3.75rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    background-color: #0B1622;
    color: #ffffff;
    overflow: visible;
    box-sizing: border-box;
}

.footer .container {
    width: 100%;
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 1.25rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.5fr 1.8fr 1.5fr 2fr;
    gap: clamp(1.5rem, 3vw, 3.75rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

.footer-column:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-column:nth-child(2),
.footer-column:nth-child(3),
.footer-column:nth-child(4) {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: calc(clamp(3.5rem, 5vw, 4.5rem) + 1.25rem);
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.footer-column h4 {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-top: 0;
    color: #ffffff;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 700;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-column h4:hover {
    color: #FFD700;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: auto;
    width: auto;
    max-width: clamp(3.5rem, 5vw, 4.5rem);
    margin-bottom: 1.25rem;
    display: block;
    border-radius: 20%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.footer-logo h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-logo h3:hover {
    color: #FFD700;
}

.footer-slogan {
    color: #FF8A00 !important;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    margin: 0 0 1.5rem 0;
    font-weight: 700;
    line-height: 1.2;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-top: 3.6rem !important;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    transition: color 0.3s ease;
    cursor: pointer;
}

.newsletter-column .footer-description {
    margin-top: 0;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.footer-description:hover {
    color: #FFD700;
}

.footer-social {
    margin-top: auto;
}

.social-label {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    transition: color 0.3s ease;
    cursor: pointer;
}

.social-label:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: clamp(1.25rem, 2vw, 1.5rem);
    height: clamp(1.25rem, 2vw, 1.5rem);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #FFD700;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    white-space: nowrap;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #FFD700;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    width: 100%;
    box-sizing: border-box;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: 1.875rem;
    border: none;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    background-color: #ffffff;
    color: #333;
}

.newsletter-input::placeholder {
    color: #6B7280;
}

.newsletter-input:focus {
    outline: 0.125rem solid #FF8A00;
    outline-offset: 0.125rem;
}

.newsletter-form .btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 1.875rem;
    white-space: nowrap;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    background-color: #FF8A00;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter-form .btn-primary:hover {
    background-color: #e67a1f;
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 3vw, 1.875rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom p {
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-bottom p:hover {
    color: #FFD700;
}

/* Footer Decorative Image - Keys */
.footer-key-image {
    position: absolute;
    top: clamp(-13rem, -23vw, -21rem);
    right: 0;
    width: auto;
    height: auto;
    max-width: clamp(15rem, 35vw, 31.25rem);
    max-height: clamp(15rem, 35vw, 31.25rem);
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.footer-decorative-image {
    width: 100%;
    height: 100%;
    max-width: clamp(15rem, 35vw, 31.25rem);
    max-height: clamp(15rem, 35vw, 31.25rem);
    object-fit: contain;
    transform: rotate(-10deg);
    opacity: 1;
    
}

.newsletter-column {
    position: relative;
    z-index: 1;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}

.footer .cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Footer */
@media (max-width: 64rem) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-key-image {
        top: clamp(-10rem, -18vw, -18rem);
        right: clamp(-1rem, -2vw, -1.875rem);
    }

    .newsletter-column {
        padding-top: 0;
    }
}

@media (max-width: 48rem) {
    .footer {
        padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.25rem, 2.5vw, 1.875rem);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-input {
        width: 100%;
        padding: clamp(0.6875rem, 1.375vw, 0.75rem) clamp(1rem, 2vw, 1.25rem);
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    }

    .newsletter-form .btn-primary {
        width: 100%;
        padding: clamp(0.6875rem, 1.375vw, 0.75rem) clamp(1rem, 2vw, 1.25rem);
        font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    }

    .footer-key-image {
        top: clamp(-8rem, -15vw, -12rem);
        right: clamp(-0.75rem, -1.5vw, -1.25rem);
    }

    .newsletter-column {
        padding-top: 0;
    }

    .footer .cta-row {
        margin-top: auto;
    }
}

@media (max-width: 30rem) {
    .footer-key-image {
        top: clamp(-6rem, -12vw, -10rem);
        right: clamp(-0.5rem, -1vw, -0.625rem);
    }

    .newsletter-column {
        padding-top: 0;
    }
}

/* Large Tablets and Small Desktops */
@media (min-width: 64.0625rem) and (max-width: 90rem) {
    .footer .container {
        max-width: 80rem;
    }
}

/* Large Desktops */
@media (min-width: 90.0625rem) and (max-width: 120rem) {
    .footer .container {
        max-width: 85rem;
    }
}

/* Very Large Screens (4K and above) */
@media (min-width: 120rem) {
    .footer .container {
        max-width: 90rem;
    }
}
