.about_thumb img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* Gallery fixes */
.gallery_area {
    padding: 60px 0;
}

.gallery_area .container {
    max-width: 850px;
    padding: 0 100px;
    margin: 0 auto;
    position: relative;
}

.portfolio-img {
    height: 220px !important;
    width: 100%;
}

/* Override for gallery navigation */
.gallery_area {
    overflow: visible !important;
}

.gallery_carousel {
    position: relative;
    overflow: visible !important;
}

.gallery_carousel .owl-stage-outer {
    overflow: visible !important;
}

.gallery_carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
}

.gallery_carousel .owl-nav button {
    position: absolute;
    width: 40px !important;
    height: 40px !important;
    margin: -20px 0 0 !important;
    background: #ff008c !important;
    border-radius: 50% !important;
    z-index: 10;
}

.gallery_carousel .owl-nav button.owl-prev {
    left: -70px !important;
}

.gallery_carousel .owl-nav button.owl-next {
    right: -70px !important;
}

.owl-carousel .owl-nav button span {
    color: #fff !important;
    font-size: 24px !important;
    line-height: 0 !important;
    position: relative;
    top: -1px;
    display: block !important;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.gallery-nav-container {
    width: 100%;
    max-width: 1300px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    margin-top: -20px;
    pointer-events: none;
    z-index: 100;
}

.gallery-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.custom-prev-btn,
.custom-next-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #ff008c;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    line-height: 36px;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.3s ease;
}

.custom-prev-btn {
    left: -150px;
}

.custom-next-btn {
    right: -150px;
}

.custom-prev-btn:hover,
.custom-next-btn:hover {
    background: #d4007a;
}

/* Remove any existing navigation styles */
.owl-nav {
    display: none !important;
}

/* Contact section spacing fixes */
.footer_top {
    padding: 30px 0;
}

.footer_widget {
    margin-bottom: 20px;
}

.footer_title {
    margin-bottom: 15px;
}

.footer_widget ul li {
    margin-bottom: 8px;
}

.socail_links {
    margin-top: 15px;
}

.footer_widget ul li:last-child {
    margin-bottom: 0;
}
