
footer {
    margin-top: 50px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ff0000; 
}

.footer-section {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    color: white;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: red;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateX(5px);
}

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

.contact-item:hover .contact-icon {
    background-color: red;
}

.contact-info {
    flex: 1;
}

.contact-info .label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 2px;
}

.contact-info .value {
    display: block;
    font-size: 1.1rem;
}


.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

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

.social-icon:hover {
    background-color: red;
    transform: translateY(-5px);
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding-left: 5px;
    transition: color 0.3s, transform 0.3s;
}


.quick-links a:hover {
    color: red;
    transform: translateX(5px);
}


.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #999;
}

@media (max-width: 992px) {
    .footer-container {
        gap: 30px;
    }
    
    .footer-column {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
        text-align: center;
    }
    
    .footer-column h3 {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .quick-links {
        padding-left: 0;
        text-align: center;
    }
    
    .quick-links li {
        margin-bottom: 15px;
    }
    
    .quick-links a {
        display: inline-block;
        padding: 8px 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .copyright {
        font-size: 0.85rem;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .footer-section {
        padding: 40px 0 25px;
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .footer-column h3::after {
        width: 30px;
        height: 2px;
    }
    
    .footer-column p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .contact-item {
        margin-bottom: 10px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .contact-info .label {
        font-size: 0.7rem;
    }
    
    .contact-info .value {
        font-size: 0.85rem;
    }
    
    .quick-links a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-column h3::after {
        width: 25px;
        height: 2px;
    }
    
    .copyright {
        font-size: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
   
    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-column {
        flex-basis: calc(50% - 20px);
        margin-bottom: 25px;
    }
    
    .footer-column:last-child {
        flex-basis: 100%;
        text-align: center; 
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column:first-child .btn-alt {
        margin: 10px auto;
        display: block;
        width: fit-content;
    }
    
    .footer-column:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-column:last-child .contact-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-top: 15px;
    }
    
    .footer-column:last-child .contact-item {
        width: 32%; 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0;
    }
    

    .contact-icon {
        margin: 0 auto 10px;
    }
    
    .contact-info {
        width: 100%;
        text-align: center;
    }
    
    .contact-info .value {
        font-size: 0.95rem;
        word-break: break-word;
    }
    
    .footer-column h3 {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column p {
        text-align: center;
    }
    
    .footer-column .btn-alt {
        margin: 10px auto;
        display: block;
        width: fit-content;
    }
    
    .quick-links {
        text-align: center;
        padding-left: 0;
    }
    
    .footer-section {
        padding: 50px 0 35px;
    }
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .contact-info .value {
        font-size: 0.9rem;
        word-break: break-word;
    }
    
    .contact-wrapper {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 30%;
        margin-bottom: 15px;
        padding: 0;
        border: none;
    }
    
    .contact-icon {
        margin: 0 auto 10px;
        width: 50px;
        height: 50px;
    }
    
    .contact-info {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info .label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .contact-info .value {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 0 20px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .footer-column h3::after {
        width: 30px;
        height: 2px;
        bottom: -5px;
    }
    
    .contact-info .label {
        font-size: 0.75rem;
    }
    
    .contact-info .value {
        font-size: 0.85rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }
    
    .contact-icon .material-icons {
        font-size: 18px;
    }
    
    .footer-column .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .quick-links li {
        margin-bottom: 8px;
    }
    
    .contact-item {
        width: 30%; 
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .contact-icon .material-icons {
        font-size: 20px;
    }
    
    .contact-info .value {
        font-size: 0.8rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
