@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #060606, #060606, #151515, #02002d, #040048);
    margin: 0;
    padding: 0;
}

header {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: rgb(228, 228, 228);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav a:hover {
    color: #7b91ff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #7b91ff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.logo {
    width: 100px;
    height: auto;
    margin-left: 20px;
}

.active {
    font-weight: bold;
}

/* Modern Footer Styles */
.footer {
    background: linear-gradient(to right, #00002bca, #1b1b1b, #1515156e, #01001462, #121213ca);
    color: #f4f4f4;
}

.footer-top {
    padding: 80px 0 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #007BFF;
    border-radius: 1.5px;
}

.footer-column h4 {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-column p {
    color: #b4b4b4;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.footer-column ul li img.icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.footer-column ul li a {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #007BFF;
}

.footer-column ul li i {
    margin-right: 10px;
    color: #007BFF;
}

.subscribe-form {
    display: flex;
    margin-top: 20px;
}

.subscribe-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 4px 0 0 4px;
}

.subscribe-form button {
    padding: 12px 20px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #0056b3;
}

.social-links {
    display: flex;
    margin-top: 25px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background-color: #007BFF;
    transform: translateY(-3px);
}

.social-icon:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9em;
    color: #b4b4b4;
}

.legal-links {
    list-style: none;
    padding: 0;
    display: flex;
}

.legal-links li {
    margin-left: 20px;
}

.legal-links li a {
    color: #b4b4b4;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.legal-links li a:hover {
    color: #007BFF;
}

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 15px;
    }

    .legal-links li {
        margin: 0 10px;
    }
}