/* Footer Styles */
.site-footer {
    background-color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 11;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* Background Illustration */
.footer-bg-illustration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30rem;
    height: 20rem;
    z-index: 1;
    pointer-events: none;
}

.footer-bg-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Container */
.container {
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
}

/* Main Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
}

.footer-tagline {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: var(--color-accent);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #e55a2b;
}

.social-icon img {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(0) invert(1);
}

/* Footer Titles */
.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem 0;
    font-family: 'Arial', sans-serif;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Newsletter Column */
.footer-newsletter {
    max-width: 18rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #f8f9fa;
    color: #333;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: white;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: #e55a2b;
}

.newsletter-disclaimer {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Copyright Section */
.footer-copyright {
    margin-top: 2rem;
}

.copyright-separator {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.copyright-text {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 64rem) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 1rem;
    }
    
    .footer-bg-illustration {
        display: none;
    }
}

@media (max-width: 48rem) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 30rem) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .social-icon img {
        width: 1rem;
        height: 1rem;
    }
}
/* Footer CTA Section */
.footer-cta {
    padding: 4rem 0;
    background-color: #fff;
}

.footer-cta__content {
    text-align: center;
}

.footer-cta__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.footer-cta__description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.footer-cta__button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.footer-cta__button:hover {
    background-color: rgba(3, 148, 71, 0.9);
}

/* Fixed Contact Icons */
.fixed-contact-icons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon:active {
    transform: scale(0.95);
}

.icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(3, 148, 71, 0.3);
	background:transparent;
	border:1px solid #039447
}
icon-circle.icon-circle--progress {
	border:none !important;
}
.icon-circle img {
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
}
.icon-circle--progress {
    background-color: transparent;
    box-shadow: none;
	border:none;
}
.icon-circle--progress > svg {
	overflow:visible;
}
.icon-img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.backtop-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.progress-circle {
    stroke-dasharray: 172.508;
    stroke-dashoffset: 172.508;
    transition: stroke-dashoffset 0.1s ease;
    transform: rotate(-90deg);
    transform-origin: 28px 28px;
    stroke: var(--color-accent);
}

/* Initial state: empty circle at top */
.contact-icon--backtop .progress-circle {
    stroke-dashoffset: 172.508;
}

.contact-icon--backtop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-icon--backtop.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .fixed-contact-icons {
        right: 1rem;
        bottom: 1rem;
        gap: 0.75rem;
    }
	.footer-logo img { 
		height:5rem;
	}
    .contact-icon {
        width: 3rem;
        height: 3rem;
    }
	.footer-newsletter {
		max-width:100%;
	}
    .icon-img {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .fixed-contact-icons {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }
	.icon-circle img {
		width:1.5rem;
		height:1.5rem;
	}
    .contact-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .icon-img {
        width: 1.125rem;
        height: 1.125rem;
    }
}

/* Newsletter Success Popup */
.newsletter-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.newsletter-success-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.newsletter-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.25rem);
}

.newsletter-success-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    max-width: 31.25rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.newsletter-success-popup.active .newsletter-success-content {
    transform: scale(1);
}

.newsletter-success-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent, #039447) 0%, #20c997 100%);
    border-radius: 50%;
    color: #fff;
    animation: newsletterSuccessIconPop 0.5s ease;
}

@keyframes newsletterSuccessIconPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.newsletter-success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.newsletter-success-message {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 2rem;
}

.newsletter-success-close {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent, #039447) 0%, #20c997 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem rgba(3, 148, 71, 0.3);
}

.newsletter-success-close:hover {
    background: linear-gradient(135deg, #20c997 0%, #039447 100%);
    box-shadow: 0 0.375rem 1rem rgba(3, 148, 71, 0.4);
    transform: translateY(-0.0625rem);
}

.newsletter-success-close:active {
    transform: translateY(0);
}

/* Newsletter Form Error Styles */
.newsletter-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.newsletter-input.has-error {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.newsletter-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}

.newsletter-message-success {
    background: #d4edda;
    color: #155724;
    border: 0.0625rem solid #c3e6cb;
}

.newsletter-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 0.0625rem solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-success-content {
        padding: 2.5rem 2rem;
        max-width: 90%;
    }

    .newsletter-success-title {
        font-size: 1.5rem;
    }

    .newsletter-success-message {
        font-size: 0.9375rem;
    }
}

