footer {
    width: 100%;
    margin: 0 auto;
    background-color: #081229;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: white;
    padding: 50px 20px;
    width: 90%;
    margin: 0 auto;
}

.footer-column {
    margin-bottom: 20px;
    text-align: center;
}

.footer-column h3 {
    margin-bottom: 15px;
    color: #ff8c00;
}

.footer-column p,
.footer-column a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    background-color: #081229;
    color: white; 
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-info p,
.footer-info a {
    margin: 5px 0;
    color: white;
    text-decoration: none;
}

.footer-info a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Add this to your existing CSS */
.footer-column form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
}

.footer-column form label {
    text-align: center;
    font-size: 14px;
    color: #ff8c00;
    margin-bottom: -5px;
}

.footer-column form .input-group {
    display: flex;
    width: 100%;
}

.footer-column form input[type="email"] {
    padding: 10px 12px;
    border: 1px solid #444;
    border-radius: 5px 0 0 5px;
    outline: none;
    flex: 1;
    background-color: #1a1a2e;
    color: white;
    font-size: 14px;
    transition: border-color 0.3s;
}

.footer-column form input[type="email"]:focus {
    border-color: #ff8c00;
}

.footer-column form button {
    padding: 10px 15px;
    border: none;
    background-color: #ff8c00;
    color: #000000;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-column form button:hover {
    background-color: #ff9e2c;
    transform: translateY(-1px);
}

/* For mobile responsiveness */
@media only screen and (max-width: 768px) {
    .footer-column form {
        max-width: 100%;
    }
    
    .footer-column form input[type="email"] {
        padding: 12px;
    }
    
    .footer-column form button {
        padding: 12px 20px;
    }
}

/* Social Icons Styling */
.social-icons-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-icons-footer a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.social-icons-footer a:hover {
    color: #fff;
}

/* Copy Icon Styling */
.copy-container {
    cursor: pointer;
    margin-left: 10px;
    color: #ff8c00;
    display: inline-flex;
    align-items: center;
}

.copy-container:hover {
    color: #fff;
}

.copy-icon {
    margin-right: 5px;
}

/* Media Queries for Responsive Design */
@media screen and (min-width: 768px) {
    footer header {
        position: sticky;
        top: 0;
    }

    footer main {
        width: 90%;
    }

    .footer-column {
        width: 45%;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1024px) {
    footer main {
        width: 50%;
    }

    .footer-column {
        width: 20%;
    }
}

@media only screen and (max-width: 768px) {
    .footer-column, form {
        text-align: center;
        justify-content: center;
    }

    .footer-column {
        width: 100%;
    }

    footer nav ul {
        display: block;
    }

    footernav ul li {
        display: block;
        margin: 10px 0;
    }

    footer nav ul li a {
        display: block;
        padding: 10px;
    }

    footer form {
        flex-direction: column;
        align-items: center;
    }

    footer form input[type="email"] {
        border-radius: 5px;
    }

    footer form button {
        border-radius: 5px;
    }
}
    /* Ensure long addresses wrap only on small screens */
    @media only screen and (max-width: 480px) {
    .footer-column p {
        word-wrap: break-word;
        word-break: break-all;
    }
}


/* Add active state for copy-container when clicked */
.copy-container.active {
    color: #00ff00; /* Change to green to indicate success */
}

.copy-container .tooltip {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position the tooltip above */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-container .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.copy-container.active .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Add styling for the 'Copied' state */
.copy-container.copied {
    color: #00ff00; /* Green color for 'Copied' */
}




