/* OUR_PROJECTS */
:root {
    --bg-main: #0b1020;
    --bg-surface: #121833;
    --bg-accent: #1f2a5c;
    --text-primary: #e5e7eb;
    --text-secondary: #a5b4fc;
    --text-muted: #9ca3af;
    --brand: #6366f1;
    --brand-soft: rgba(99, 102, 241, 0.15);
}

.body-projects {
    background: #f3f4f6;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* CTA */
.cta {
    background:
        radial-gradient(1000px 400px at 20% -10%, rgba(99, 102, 241, 0.25), transparent 60%),
        radial-gradient(800px 300px at 90% 10%, rgba(34, 211, 238, 0.25), transparent 60%),
        var(--bg-main);
    color: var(--text-primary);
    padding: 6rem 1rem;
    padding-top: 4rem;
    padding-bottom: 100px;
}

.cta h2 {
    letter-spacing: -0.03em;
}

.cta-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2.75rem 2.25rem;
    height: 100%;
    backdrop-filter: blur(8px);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.cta-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.cta a {
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
}

.cta a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--bg-surface), var(--bg-main));
    color: var(--text-muted);
}

.footer-top {
    padding: 5rem 1rem 3rem;
}

.footer-title {
    color: var(--text-primary);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

footer ul li {
    margin-bottom: .6rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .95rem;
}

footer a:hover {
    color: var(--text-secondary);
}

.footer-brand {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1rem;
    font-size: .85rem;
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    margin-left: .5rem;
    transition: background .25s ease, transform .25s ease;
}

.social a:hover {
    background: var(--brand);
    transform: translateY(-3px);
    color: #fff;
}

.cta-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* NUMRI I RRESHTAVE */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cta-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-left: 12px;
    color: white;
}

.cta-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 70%;
    background: #0d6efd;
    /* ose ngjyra e brand-it */
    border-radius: 2px;
}

.cta-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;

}

.cta-icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover !important;
}

.cta-modal-modern {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    background: #fff;
}

/* HERO IMAGE */
.cta-modal-hero {
    position: relative;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, .15),
            rgba(34, 211, 238, .15));
    padding: 32px;
}

.cta-modal-hero img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    /* KRITIKE */
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    display: block;
    margin: 0 auto;
}

/* CLOSE BUTTON */
.cta-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, .95);
    border-radius: 50%;
    z-index: 2;
}

/* BODY */
.cta-modal-body {
    padding: 24px 28px 12px;
}

.cta-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}

.cta-modal-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    white-space: pre-line;
}

/* MODAL HEADER */
.cta-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
}

.cta-modal-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ICON IMAGE – PA BACKGROUND */
.cta-modal-header-left img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: none;
    /* kjo e heq çdo background */
    box-shadow: none;
    border-radius: 0;
}

/* TITLE */
.cta-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

/* ISO STANDARD */
.iso-wrapper {
    position: relative;
}

.iso-chip-main {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.iso-popover {
    position: absolute;
    top: 130%;
    right: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 999;
}

.iso-popover span {
    display: block;
    font-size: 12px;
    padding: 6px 8px;
    color: #333;
}

.iso-wrapper:hover .iso-popover {
    display: block;
}

.iso-wrapper:hover .iso-popover,
.iso-wrapper.open .iso-popover {
    display: block;
}

/* =========================
   TOP HEADER – RESPONSIVE
   ========================= */
/* =====================================
   TOP HEADER – RESPONSIVE < 991px
   ===================================== */

@media (max-width: 991px) {

    /* Mos u fsheh kurrë */
    .main-header__top {
        display: block !important;
        padding: 8px 12px;
    }

    /* Kthejmë layout në column */
    .main-header__top-inner {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    /* =========================
       RRESHTI 1: Rruga | Email
       ========================= */

    .main-header__top-left {
        width: 100%;
    }

    .main-header__top-address {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .main-header__top-address li {
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
    }

    .main-header__top-address li:first-child {
        justify-content: flex-start;
    }

    .main-header__top-address li:last-child {
        justify-content: flex-end;
    }

    .main-header__top-address .text p,
    .main-header__top-address .text a {
        font-size: 12px;
        margin: 0;
        line-height: 1.3;
        white-space: nowrap;
    }

    /* =========================
       RRESHTI 2: ISO | SOCIAL
       ========================= */

    .main-header__top-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 4px;
    }

    /* ISO majtas */
    .main-header__top-right-text {
        order: 1;
    }

    .iso-chip-main {
        font-size: 11px;
        padding: 5px 10px;
        border-radius: 14px;
        white-space: nowrap;
    }

    /* Social djathtas */
    .main-header__top-right-social {
        order: 2;
        display: flex;
        gap: 10px;
    }

    .main-header__top-right-social a {
        font-size: 14px;
    }

    /* ISO popover – mobile safe */
    .iso-popover {
        right: auto;
        left: 0;
        min-width: 240px;
    }
}


@media(max-width:767px) {
    .main-header__top-left {
        display: none !important;
    }

    .main-header__top-right {
        margin-top: 0px
    }

    .main-menu-wrapper__logo {
        padding-top: 2px !important;
    }
}

/* OUR TEAM */
.boxourteam {
	border-radius: 50px;
	background:#fff;
	position:relative;
	overflow: hidden;
	text-align:center;
    width:100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.team-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.team-row > [class*="col-"] {
    display: flex;
}

.boxourteam .social-team {
    margin-top: auto;   /* 🔥 ky rresht i çon POSHTË */
}
.boxourteam:before {
    position: absolute;
    content: '';
    left: 0px;
    top: 0px;
    width: 0px;
    height: 100%;
    border-radius: 50px;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.30);
    transition: all 0.3s ease;
    background-image: linear-gradient(to right, #3c70a4 0%, #64b2cd 100%);
    cursor:pointer;
}
.boxourteam:hover:before {
    width: 100%;
}
.boxourteam:hover .image-wrapper-our-team {
	padding:0;
}
.boxourteam:hover .box-desc-team {
	color:#fff;
}
.boxourteam:hover .social-team li a {
	background:#fff;
	background-image: none;
	color:#000;
}
.boxourteam:hover .social-team li a:hover {
	background:#1d1d1d;
	color:#fff;
}
.image-wrapper-our-team {
    position: relative;
	width:200px;
    height:200px;
	margin:0 auto;
    overflow: hidden;
    border-radius: 50px;
    padding: 15px;
    display:flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    box-shadow: inset 0px 0px 20px rgba(0,0,0,0.20);
}
.image-wrapper-our-team img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ruan raportin, pret anët */
    display: block;
    border-radius: 50px;
    transition: all 500ms ease;
}
.box-desc-team {
	position:relative;
    line-height:20px !important;
}
ul.social-team {
	padding:0;
}
ul.social-team li {
	display:inline-block;
	list-style-type:none;
}
ul.social-team li a {
	position:relative;
	width: 36px;
    height: 36px;
	background-image: linear-gradient(to right, #3c70a4 0%, #64b2cd 100%);
	display:inline-block;
	line-height:36px;
	border-radius:50%;
	color:#fff;
	transition: all .5s ease;
}
.service-details .row {
    display: flex;
    flex-wrap: wrap;
}
.service-details .col-sm-6 {
    display: flex;
}

@media(max-width:576px){
    .boxourteam{
        width:330px !important;
        margin:0 auto !important;
    }
}