/* Footer Styles */
.main-footer {
    background-color: #002633;
    color: #ccc;
    padding: 60px 0 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
}

.footer-links a:hover {
    color: #4caf50;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: #2196f3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #1976d2;
}

.social-link.twitter {
    font-size: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 24px;
    color: #4caf50;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    margin-bottom: 10px;
}

.contact-details p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 5px 0;
}

.contact-details a {
    color: #4caf50;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #45a049;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
}

.design-credit {
    color: #999;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #4caf50;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.scroll-to-top:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top span {
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}
