cap{
    text-transform:capitalize;
}

footer{
    background-color: #121212;
    color: white;
}
.footer-copyright {
    color: #ffffff;
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: calc(100% - 300px);
    margin: auto;
    padding-block: 24px;
    align-items: center;
}
.footer-copyright, .footer-copyright p{
    font-size: 14px;
}
.footer-copyright .footer-menu{
    justify-self: end;
}
.footer-copyright .footer-menu ul{
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-content-container {
    max-width: calc(100% - 300px);
    margin: auto;
    padding-block: 40px;
    border-bottom: 2px solid #96969680;
    color: #ffffff;
    font-weight: 500;
}
.footer-content-container>h3{
    margin-bottom: 12px;
    line-height: 1.5;
    text-transform: capitalize;
}
.footer-links-grid{
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.footer-content-container.company-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
}
.footer-content-container.company-info h3{
    font-family: "TLP", sans-serif;
    color: white;
}
.footer-content-container .company-contact{
    display: flex;
    gap: 12px;
    flex-direction: column;
}
.footer-content-container .company-contact .icon-btn a{
    display: flex;
    gap: 12px;
    align-items: center;
}
@media (max-width:1024px) {
    .footer-content-container, .footer-copyright{
        max-width: calc(100% - 40px);
    }
    .footer-copyright {
        display: flex;
        gap: 30px;
        flex-direction: column-reverse;
        text-align: center;
        padding-bottom: 45px;
    }
    .footer-copyright .footer-menu ul{
        gap: 10px;
        justify-content: center;
    }
    .footer-links-grid{
        display: flex;
        flex-direction: column;
        max-height: 200px;
        overflow-x: scroll;
    }
    .footer-content-container.company-info{
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 30px;
    }
}

.ct-social-box {
    display: flex;
    flex-direction: var(--items-direction, row);
    flex-wrap: var(--wrap, wrap);
    gap: var(--items-spacing, 15px);
}

    .ct-social-box a {
        color:#ccc;
        display: flex;
        align-items: center;
    }

.ct-icon, .ct-icon-container svg {
    width: var(--theme-icon-size, 15px);
    height: var(--theme-icon-size, 15px);
    fill: #939393;
    transition: var(--theme-icon-transition, fill 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955));
}

.ct-icon, .ct-icon-container svg:hover{
    fill:#f5f5f5ff;
}

.pagination li.active {
    background-color: black;
    color: white;
    outline: -webkit-focus-ring-color auto 1px;
}

#adPopupOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    animation: adFadeIn 0.3s ease;
}

    #adPopupOverlay.show {
        display: flex;
    }

@keyframes adFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ad-popup-wrap {
    position: relative;
    display: flex;
    width: 860px;
    max-width: 95vw;
    max-height: 92vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    animation: adSlideUp 0.4s cubic-bezier(.22,.68,0,1.15);
}

@keyframes adSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---- Left: Ad Image ---- */
.ad-img-side {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: #111;
    min-height: 480px;
}

    .ad-img-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.ad-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.75) 100%);
}

.ad-img-badge {
    position: absolute;
    bottom: 26px;
    left: 22px;
    right: 22px;
    z-index: 2;
    color: #fff;
}

    .ad-img-badge .ad-tag {
        display: inline-block;
        background: linear-gradient(90deg,#c8a84b,#f0d878);
        color: #1a1000;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        padding: 4px 12px;
        border-radius: 20px;
        margin-bottom: 9px;
    }

    .ad-img-badge h4 {
        font-size: 21px;
        font-weight: 800;
        margin: 0 0 5px;
        line-height: 1.2;
        text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    }

    .ad-img-badge p {
        font-size: 12.5px;
        margin: 0;
        opacity: 0.88;
        text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    }

/* ---- Right: Form / Bullet side ---- */
.ad-form-side {
    flex: 1 1 55%;
    background: #fff;
    padding: 36px 34px 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .ad-form-side .ad-logo-img {
        height: 36px;
        width: auto;
        margin-bottom: 18px;
        object-fit: contain;
    }

    .ad-form-side h3 {
        font-size: 20px;
        font-weight: 800;
        color: #1a1a1a;
        margin: 0 0 5px;
    }

    .ad-form-side .ad-subtext {
        font-size: 13px;
        color: #666;
        margin: 0 0 14px;
        line-height: 1.5;
    }
/* Bullet points */
.ad-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

    .ad-bullets li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 12.5px;
        color: #444;
        margin-bottom: 7px;
        line-height: 1.45;
    }

        .ad-bullets li::before {
            content: '';
            flex-shrink: 0;
            margin-top: 4px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: linear-gradient(135deg,#c8a84b,#f0d878);
            box-shadow: 0 1px 4px rgba(200,168,75,0.4);
        }
/* Form inputs */
.ad-lead-form select,
.ad-lead-form input[type="text"],
.ad-lead-form input[type="email"],
.ad-lead-form input[type="tel"] {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #e4e4e4;
    border-radius: 8px;
    font-size: 13.5px;
    color: #333;
    background: #fafafa;
    margin-bottom: 10px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

    .ad-lead-form select:focus,
    .ad-lead-form input:focus {
        border-color: #c8a84b;
        background: #fff;
    }

.ad-lead-form .iti {
    width: 100%;
    margin-bottom: 10px;
}

    .ad-lead-form .iti input {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

.ad-form-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg,#c8a84b,#f0d878);
    color: #1a1000;
    font-size: 14.5px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: opacity 0.2s, transform 0.15s;
    margin-top: 2px;
}

    .ad-form-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

.ad-privacy {
    font-size: 10.5px;
    color: #bbb;
    text-align: center;
    margin-top: 10px;
}

/* Close button */
#adPopupClose {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s;
    line-height: 1;
}

    #adPopupClose:hover {
        background: #fff;
    }
@media (max-width: 640px) {
    .ad-popup-wrap {
        flex-direction: column;
    }

    .ad-img-side {
        flex: 0 0 190px;
        min-height: 190px;
    }

    .ad-form-side {
        padding: 24px 20px 20px;
    }

    .ad-img-badge h4 {
        font-size: 16px;
    }
}