/* Modern Footer Styles */
.footer-gray-1 .footer-top {
    background-color: #1a1a1a;    
}

.footer-gray-1 .footer-bottom {
    background-color: #101010;
    padding: 25px 0;
    display: flex;
    text-align: center;
}

.footer-gray-1 .widget h6 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.footer-gray-1 .widget h6:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.footer-gray-1 .list-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-gray-1 .list-2 li {
    width: auto;
    margin: 0 15px 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    float: none;
    text-align: center;
}

.footer-gray-1 .list-2 li a {
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
}

.footer-gray-1 .list-2 li a:hover {
    transform: translateY(-5px);
    color: var(--color-primary) !important;
}

.footer-gray-1 .icon-bx-wraper.bx-style-1 {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.footer-gray-1 .icon-bx-wraper.bx-style-1:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.footer-gray-1 .icon-bx-wraper.bx-style-1 h5 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-gray-1 .icon-bx-wraper.bx-style-1 ul.list-unstyled li {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-gray-1 .icon-bx-wraper.bx-style-1 ul.list-unstyled li i {
    margin-right: 10px;
    font-size: 18px;
}

.footer-gray-1 .footer-bottom .text-white {
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* Resize columns */
.footer-gray-1 .widget.border-0 {
    margin: 0 auto;
    max-width: 800px;
}

.footer-gray-1 .subscribe-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 48px;
    padding: 10px 20px;
    border-radius: 4px 0 0 4px !important;
    color: #fff;
}

.footer-gray-1 .subscribe-form .site-button {
    height: 48px;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0 !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-gray-1 .list-inline.m-a0 li {
    display: inline-block;
    margin-right: 5px;
}

.footer-gray-1 .list-inline.m-a0 li a {
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: block;
    text-align: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-gray-1 .list-inline.m-a0 li a:hover {
    background: var(--color-primary);
    color: #fff !important;
}

/* Service Box 4 styling */
.service-box-4 {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-box-4:hover {
    transform: translateY(-10px);
}

.service-box-4 .service-images {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 20px;
    height: 250px;
}

.service-box-4 .service-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-box-4 .service-images i {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

.service-box-4:hover .service-images i {
    background-color: #fff;
    color: var(--color-primary);
}

.service-box-4 .service-content {
    padding: 0 15px;
}

.service-box-4 .service-content h6.title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-box-4 .service-content p {
    margin-bottom: 0;
    color: #666;
}

/* Custom Footer Styles */
.site-footer {
    background: #1a1a1a;
    color: #ffffff;
    padding-top: 70px;
}

.footer-logo-wrapper {
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #9a9a9a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #9a9a9a;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 12px;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: #9a9a9a;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .footer-logo {
        height: 50px;
    }
}