/* header design */

.main-header .navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.main-header .navbar-nav .nav-link {
    color: #000000 !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-link:focus,
.main-header .navbar-nav .nav-link.active {
    color: #004050 !important;
}

.main-header .navbar-nav .submenu ul {
    background-color: #ffffff;
}

.main-header .navbar-nav .submenu ul li a {
    color: #000000 !important;
}

.main-header .navbar-nav .submenu ul li a:hover {
    color: #004050 !important;
}

/* header design end */

.navbar {
    padding: 12px 0 !important;
    align-items: center !important;
}

.btn-default.btn-highlighted {
    padding: 14px 22px;
}

.section-title h1 {
    font-size: 58px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    cursor: none;
}

@media (max-width: 767px) {
    .section-title h1 {
        font-size: 50px;
    }
}

.partners-section {
    background-color: #f2f2f2;
    padding: 10px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

.section-title h2 span {
    color: #00cc61;
}

.partners-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.partner-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background-color: #fff;
    padding: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .partners-logos {
        justify-content: center;
        margin-top: -33px;
    }

    .section-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .partner-logo {
        width: 80px;
        height: 80px;
        padding: 8px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

.btn-default {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1em;
    text-transform: capitalize;
    background: var(--accent-color);
    color: var(--white-color);
    border-radius: 100px;
    padding: 14px 32px 18px 30px;
    border: none;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.page-blog {
    padding: 20px 0;
}

/* Mobile spacing */
@media (max-width: 767px) {
    .hero-content-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content-body .hero-btn {
        margin-bottom: 15px;
        /* space between buttons */
    }

    .hero-content-body .hero-btn:last-child {
        margin-bottom: 0;
        /* remove extra space after last button */
    }
}

.post-featured-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}


/* 🔹 Floating Call Button */
.call-now-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #00cc61;
    color: #fff;
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 204, 97, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.call-now-btn:hover {
    background-color: #00b155;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 204, 97, 0.6);
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(10deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    70% {
        transform: rotate(2deg);
    }

    80% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.call-now-btn:hover i {
    animation: ring 0.6s ease;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #079c4fff;
    color: #fff;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 999;
    display: none;
    box-shadow: 0 6px 15px rgba(0, 204, 97, 0.4);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: #079c4fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 204, 97, 0.6);
}

#scrollToTopBtn i {
    transition: transform 0.3s ease;
}

#scrollToTopBtn:hover i {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .partners-section h2 {
        font-size: 1.5rem !important;
    }

    .partners-section .d-inline-flex {
        gap: 30px !important;
    }

    .partners-section img.partner-logo {
        width: 70px !important;
    }
}

.pro-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.pro-popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

.pro-popup {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(25px);
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.pro-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    color: #333;
}

/* Image */
.popup-image img {
    width: 70px;
    margin-bottom: 18px;
}

/* Headings and Text */
.pro-popup h2 {
    font-size: 22px;
    color: #1b1b1b;
    margin-bottom: 10px;
    font-weight: 700;
}

.pro-popup p {
    color: #555;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
}


.popup-link {
    display: block;
    margin-top: 14px;
    color: #28a745;
    text-decoration: none;
    font-size: 14px;
}

.popup-link:hover {
    text-decoration: underline;
}

/* Disable scroll when popup open */
.no-scroll {
    overflow: hidden;
}

@media (max-width: 480px) {
    .pro-popup {
        padding: 28px 20px;
    }

    .pro-popup h2 {
        font-size: 20px;
    }
}

/* pop up end */

.main-menu .nav-menu-wrapper {
    flex: 1;
    text-align: center;
    margin: 0 5px;
}

footer.main-footer {
    background: url(../images/footer-bg.svg), var(--dark-color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 51px 0 0 0;
}

@media only screen and (max-width: 991px) {
    .post-social-sharing ul {
        text-align: center;
    }
}

.contact-form .form-control {
    border: 1px solid #ccc !important;
    border-radius: 6px;
    background-color: #fff;
    padding: 8px 15px;
    box-shadow: none;
    color: #000;
}

/* ---------- UNIVERSAL CONTAINER FIX FOR DESKTOP/LAPTOP ---------- */
.container {
    max-width: 1200px;   /* limits container width on large screens */
    margin-left: auto;    /* centers container */
    margin-right: auto;   /* centers container */
    padding-left: 15px;   /* default horizontal padding */
    padding-right: 15px;  /* default horizontal padding */
    box-sizing: border-box;
}

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 1199px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.customer-rating-box {
    width: calc(45.33% - 26.67px);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid var(--dark-divider-color);
    border-radius: 10px;
    padding: 10px;
}

.customer-rating-star i {
    color: gold; /* makes the stars golden */
    font-size: 20px; /* optional, adjust size */
    margin-right: 2px; /* optional spacing between stars */
}


.fact-counter-box-list {
    display: flex;
    gap: 30px;
    border-bottom: none !important;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.what-we-do-images {
    position: relative;
    padding: 0 11px 44px 15px;
}

.main-menu ul li a {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3em;
    padding: 15px 20px !important;
    color: var(--white-color);
    opacity: 80%;
    text-transform: capitalize;
    transition: all 0.3s 
ease-in-out;
}

