.footer {
    background: #05081A;
    color: #fff;
    padding: 60px 0 0px;
    font-family: Arial, sans-serif;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 90%;
    right: -25%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 334px;
    background: linear-gradient(180deg, rgba(24, 255, 158, 0) 0%, #0041f5 100%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: auto;
}

/* Top Row */
.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    z-index: 2;
    position: relative;
}

.footer-social h3,
.footer-subscribe h3 {
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 👈 perfect spacing */
}

.social-icons a {
  color: #fff;
  background: #0C1224;
  padding: 10px;
  border-radius: 6px;
  font-size: 18px;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
    background: #0056d2;
    color: #fff;
}

/* Subscribe Bar */
.subscribe-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscribe-box input {
    width: 550px;
    padding: 14px;
    border: 0;
    border-bottom: 2px solid #fff;
    background: none;
    color: #fff;
    outline: none;
    font-size: 14px;
}

.subscribe-box button {
    padding: 12px 28px;
    border-radius: 6px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.subscribe-box button:hover {
    background: #0056d2;
    color: #fff;
}

/* Divider */
.footer-line {
    border: 0;
    border-top: 1px solid #1A2033;
    margin: 40px 0;
}

/* bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo h1 {
    font-size: 32px;
    font-weight: 800;
}

.footer-logo span {
    color: #0056d2;
}

.dubai-logo {
    margin: 25px 0;
    width: auto;
}

/* Links */
.footer-links {
    display: flex;
    gap: 90px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: #fff;
    font-size: 14px;
    opacity: .8;
    transition: .3s;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: #0056d2;
}

/* 📱 Responsive */
@media(max-width:900px) {
    .footer-links {
        gap: 40px;
    }

    .subscribe-box input {
        width: 260px;
    }
}

@media(max-width:700px) {
    .footer-top {
        flex-direction: column;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 25px;
    }
}

@media(max-width:450px) {
    .subscribe-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscribe-box input {
        width: 100%;
        margin-bottom: 5px;
        padding: 5px;
    }

    input[type="email"],
    input[type="tel"] {
        width: 100%;
        height: 50px;
    }

    .subscribe-box button {
        width: 100%;
    }
}

/* 📱 Tablet Fix (600px - 1024px) */
@media (max-width: 900px) and (min-width: 600px) {

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .footer-social {
        width: 100%;
    }

    .footer-subscribe {
        width: 100%;
    }

    .subscribe-box {
        width: 100%;
    }

    .subscribe-box input {
        width: 100%;
    }

    .subscribe-box button {
        width: auto;
        margin-top: 10px;
    }
}

/* CHANGE ORDER ONLY ON MOBILE */
@media(max-width:700px) {

    /* Footer-Top (reverse social + subscribe order) */
    .footer-top {
        display: flex;
        flex-direction: column;
    }

    .footer-subscribe {
        order: 1;
    }

    /* 1st => SUBSCRIBE */
    .footer-social {
        order: 2;
    }

    /* 2nd => SOCIAL */

    /* Footer-Bottom (links then logo) */
    .footer-bottom {
        display: flex;
        flex-direction: column;
    }

    .footer-links {
        order: 1;
    }

    /* 3rd => LINKS */
    .footer-logo {
        order: 2;
    }

    /* 4th => LOGO */
}