
/*=========================================
            FOOTER
=========================================*/

.footer {

    background: linear-gradient(135deg, #0f172a, #111827, #1e293b);

    color: #fff;

    position: relative;

    overflow: hidden;

    padding-top: 80px;

}

/* Background Glow */

.footer::before {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background: rgba(244, 67, 54, .08);

    top: -120px;
    left: -120px;

    filter: blur(40px);

}

.footer::after {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background: rgba(79, 195, 247, .08);

    right: -100px;
    bottom: -100px;

    filter: blur(40px);

}

/*=========================================
            Wrapper
=========================================*/

.footer-wrap {

    width: min(1300px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr 1.4fr;

    gap: 60px;

    position: relative;

    z-index: 2;

}

/*=========================================
            Columns
=========================================*/

.footer-column h3 {

    font-size: 24px;

    margin-bottom: 28px;

    position: relative;

}

.footer-column h3::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 45px;
    height: 3px;

    background: #f44336;

    border-radius: 50px;

}

.footer-column p {

    color: #bfc7d5;

    line-height: 1.9;

}

/*=========================================
            Logo
=========================================*/

.footer-logo {

    width: 180px;

    margin-bottom: 25px;

}

.footer-logo img {

    width: 100%;

    display: block;

}

/*=========================================
            Links
=========================================*/

.footer-column ul {

    list-style: none;

}

.footer-column ul li {

    margin: 16px 0;

}

.footer-column ul li a {

    color: #d8dee9;

    text-decoration: none;

    transition: .35s;

    position: relative;

}

.footer-column ul li a::before {

    content: "";

    position: absolute;

    width: 0;

    height: 2px;

    background: #f44336;

    bottom: -4px;

    left: 0;

    transition: .35s;

}

.footer-column ul li a:hover {

    color: #fff;

    padding-left: 8px;

}

.footer-column ul li a:hover::before {

    width: 100%;

}

/*=========================================
            Social
=========================================*/

.social-links {

    display: flex;

    gap: 16px;

    margin-bottom: 40px;

}

.social-links a {

    width: 52px;

    height: 52px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    text-decoration: none;

    backdrop-filter: blur(10px);

    transition: .4s;

}

.social-links a:hover {

    transform: translateY(-8px) rotate(8deg);

    background: #f44336;

    box-shadow: 0 10px 30px rgba(244, 67, 54, .35);

}

/*=========================================
        Visitor Card
=========================================*/

.visitor-card {

    padding: 25px;

    border-radius: 22px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, .08);

}

.visitor-card h4 {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    font-size: 20px;

}

.visitor-card h4 i {

    color: #f44336;

}

/*=========================================
        Counter
=========================================*/

.counter {

    display: flex;

    gap: 8px;

    margin: 25px 0;

}

.digit {

    width: 48px;
    height: 62px;

    border-radius: 12px;

    background: linear-gradient(to bottom,
            #ffffff,
            #ececec);

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 30px;
    font-weight: 700;

    color: #222;

    overflow: hidden;

    position: relative;

    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, .8),
        inset 0 -3px 5px rgba(0, 0, 0, .08),
        0 10px 20px rgba(0, 0, 0, .15);

}

.digit span {

    display: block;

    transition: transform .5s ease;

}

.visitor-card small {

    color: #b8c1ce;

}

/*=========================================
        Bottom Bar
=========================================*/

.footer-bottom {

    margin-top: 70px;

    border-top: 1px solid rgba(255, 255, 255, .08);

    padding: 22px 5%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}

.footer-bottom div {

    color: #b8c1ce;

}

.footer-bottom-links {

    display: flex;

    gap: 30px;

}

.footer-bottom-links a {

    color: #b8c1ce;

    text-decoration: none;

    transition: .3s;

}

.footer-bottom-links a:hover {

    color: #fff;

}

/*=========================================
            Hover Glow
=========================================*/

.visitor-card:hover {

    box-shadow:

        0 20px 40px rgba(244, 67, 54, .15);

}

/*=========================================
        Responsive
=========================================*/
/* 
@media(max-width:1100px) {

    .footer-wrap {

        grid-template-columns: 1fr 1fr;

    }

}

@media(max-width:768px) {

    .footer-wrap {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .footer-column h3::after {

        left: 50%;

        transform: translateX(-50%);

    }

    .footer-logo {

        margin: auto auto 25px;

    }

    .social-links {

        justify-content: center;

    }

    .counter {

        justify-content: center;

    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

    .footer-bottom-links {

        justify-content: center;

    }

}

@media(max-width:500px) {

    .digit {

        width: 38px;

        height: 55px;

        font-size: 24px;

    }

} */


/*=========================================
        FOOTER RESPONSIVE
=========================================*/

/* Laptop */
@media (max-width:1200px){

    .footer-wrap{

        grid-template-columns:repeat(2,1fr);

        gap:50px;

    }

}


/* Tablet */
@media (max-width:992px){

    .footer{

        padding-top:60px;

    }

    .footer-wrap{

        grid-template-columns:1fr 1fr;

        gap:45px;

        width:92%;

    }

    .footer-column h3{

        font-size:22px;

    }

    .visitor-card{

        max-width:420px;

    }

    .counter{

        justify-content:center;

        flex-wrap:wrap;

    }

}


/* Mobile */
@media (max-width:768px){

    .footer{

        padding-top:50px;

    }

    .footer-wrap{

         display:grid;
        grid-template-columns:1fr 1fr;
        gap:30px;

    }
     /* First column */
    .footer-column:nth-child(1){
        grid-column:1 / -1;
    }

    /* Last column */
    .footer-column:nth-child(4){
        grid-column:1 / -1;
    }

    .footer-column{

        display:flex;

        flex-direction:column;

        align-items:center;

    }

    .footer-column h3::after{

        left:50%;

        transform:translateX(-50%);

    }

    .footer-logo{

        width:150px;

        margin:0 auto 20px;

    }

    .social-links{

        justify-content:center;

    }

    .visitor-card{

        width:100%;

        max-width:460px;

        margin:auto;

    }

    .counter{

        justify-content:center;

    }

    .footer-bottom{

        flex-direction:column;

        text-align:center;

        gap:18px;

    }

    .footer-bottom-links{

        justify-content:center;

        flex-wrap:wrap;

        gap:18px;

    }
    

}


/* Small Mobile */
@media (max-width:576px){

    .footer{

        padding-top:40px;

    }

    .footer-wrap{

         display:grid;
        grid-template-columns:1fr 1fr;
        gap:30px;

    }
     /* First column */
    .footer-column:nth-child(1){
        grid-column:1 / -1;
    }

    /* Last column */
    .footer-column:nth-child(4){
        grid-column:1 / -1;
    }

    .footer-column h3{

        font-size:20px;

    }

    .footer-column p{

        font-size:15px;

        line-height:1.8;

    }

    .footer-column ul li{

        margin:12px 0;

    }

    .social-links{

        gap:12px;

    }

    .social-links a{

        width:46px;

        height:46px;

        font-size:18px;

    }

    .visitor-card{

        padding:18px;
        width: 100%;
        max-width: none;

    }

    .visitor-card h4{

        justify-content:center;

        font-size:18px;

    }

    .counter{

        gap:5px;

    }

    .digit{

        width:32px;

        height:44px;

        font-size:18px;

        border-radius:10px;

    }

    .footer-bottom{

        padding:18px 20px;

    }

    .footer-bottom div{

        font-size:14px;

    }

    .footer-bottom-links{

        gap:15px;

    }

}


/* Extra Small Devices */
@media (max-width:380px){

    .digit{

        width:28px;

        height:40px;

        font-size:16px;

    }

    .social-links a{

        width:42px;

        height:42px;

    }

    .footer-column h3{

        font-size:18px;

    }

}