
/* Enhanced Footer Styles */
footer {
background: linear-gradient(135deg, #002855 0%, #003366 100%);
color: white;
padding: 4rem 1rem 1rem;
position: relative;
overflow: hidden;
}

/* Decorative Element */
footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

/* Wave decoration at the top */
.footer-wave {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 50px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath 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' opacity='.25' fill='%23f8f9fa'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23f8f9fa'%3E%3C/path%3E%3C/svg%3E");
background-size: cover;
background-position: center;
}

.footer-container {
position: relative;
z-index: 1;
max-width: 1200px;
margin: 0 auto;
}

.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}

.footer-col h3 {
font-size: 1.4rem;
margin-bottom: 1.5rem;
position: relative;
padding-bottom: 0.8rem;
display: inline-block;
font-weight: 600;
}

.footer-col h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background-color: var(--secondary);
transition: width 0.3s ease;
}

.footer-col:hover h3::after {
width: 100%;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 1rem;
transition: transform 0.3s ease;
}

.footer-links li:hover {
transform: translateX(5px);
}

.footer-links a {
color: #ddd;
transition: color 0.3s;
display: flex;
align-items: center;
text-decoration: none;
}

.footer-links a i,
.footer-links a span {
margin-right: 8px;
}

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

.social-links {
display: flex;
list-style: none;
margin-top: 1.5rem;
gap: 1rem;
}

.social-links li a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
font-size: 1.2rem;
transition: all 0.3s;
}

.social-links li a:hover {
background-color: var(--secondary);
color: var(--primary);
transform: translateY(-5px);
}

.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
margin-bottom: 0.5rem;
}

.footer-bottom a {
color: var(--secondary);
text-decoration: none;
transition: color 0.3s;
}

.footer-bottom a:hover {
color: white;
}

/* Newsletter Signup Form */
.newsletter-form {
margin-top: 1.5rem;
display: flex;
max-width: 100%;
}

.newsletter-form input {
flex-grow: 1;
padding: 0.8rem 1rem;
border: none;
border-radius: 4px 0 0 4px;
font-family: inherit;
font-size: 0.9rem;
outline: none;
}

.newsletter-form button {
background-color: var(--secondary);
color: var(--primary);
border: none;
padding: 0 1rem;
border-radius: 0 4px 4px 0;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}

.newsletter-form button:hover {
background-color: white;
}

/* Back to top button */
.back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
background-color: var(--secondary);
color: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
cursor: pointer;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
z-index: 999;
opacity: 0;
visibility: hidden;
}

.back-to-top.visible {
opacity: 1;
visibility: visible;
}

.back-to-top:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
.footer-grid {
    gap: 2rem;
}

.newsletter-form {
    flex-direction: column;
}

.newsletter-form input {
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.newsletter-form button {
    border-radius: 4px;
    padding: 0.8rem;
}
}    