.subtitle{
display:flex;
align-items:center;
gap:2px;
flex-wrap:nowrap;
white-space:nowrap;
overflow:hidden;
font-size:1.4rem;
color:#dbeafe;
min-height:40px;
font-weight:500;
}
@media (max-width: 768px) {
.subtitle {
flex-wrap: wrap;
white-space: normal; /* 'wrap' is not a valid value */
font-size: 16px;
}
}
#typing-text{
display:inline-block;
}

.cursor{
display:inline-block;
color:#3b82f6;
font-weight:700;
animation:blink .7s infinite;
line-height:1;
}

@keyframes blink{
50%{
opacity:0;
}
}


.hero-container {
display: flex;
flex-direction: row;
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 40px 8%;
align-items: center;
justify-content: space-between;
position: relative;
z-index: 5;
pointer-events: none;
}

.content-left {
flex: 0 0 100%;
max-width: 100%;
pointer-events: none;
}

.content-left .cta-group,
.content-left .cta-group a {
pointer-events: auto;
}

.canvas-container {
position: absolute;
right: 0;
top: 0;
width: 55vw;
height: 100vh;
z-index: 1;
cursor: grab;
max-width: 650px;
max-height: 650px;
min-width: 450px;
min-height: 450px;
z-index: 1;
cursor: grab;
margin-top: 45px;
overflow: visible;
touch-action: none;
}


.badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: #ffffff;
border: 1px solid #e2e8f0;
padding: 6px 14px;
border-radius: 20px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #64748b;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
margin-bottom: 24px;
}

.badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #088cea;
    border-radius: 50%;
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(8, 140, 234, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(8, 140, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(8, 140, 234, 0);
    }
}



h1 {
font-size: clamp(3rem, 6vw, 4.8rem);
font-weight: 800;
color: #000000;
line-height: 0.9;
margin-bottom: 24px;
letter-spacing: -2px;
}

.subtitle {
font-size: clamp(1rem, 2.5vw, 1.25rem);
font-weight: 700;
color: #64748b;
line-height: 1.4;
margin-bottom: 16px;
}

.tagline {
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1.5px;
color: #0284c7;
margin-bottom: 40px;
position: relative;
padding-bottom: 12px;
}

.tagline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background-color: #1d4ed8;
}

.cta-group {
display: flex;
flex-wrap: wrap; 
gap: 16px;
}

.btn {
padding: 14px 28px;
border-radius: 30px;
font-size: 0.85rem;
font-weight: 700;
text-decoration: none;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
text-align: center;
}

.btn-primary {
background-color: #1d4ed8;
color: #ffffff;
box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
background-color: #ffffff;
color: #1e293b;
border: 1px solid #e2e8f0;
}



.canvas-container:active {
cursor: grabbing;
}

#globe-canvas {
width: 60% !important;
height: 60% !important;
display: block;
}


@media (max-width: 768px) {
.canvas-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh; /* Full screen height */
}

#globe-canvas {
width: 90% !important;
height: 90% !important;
display: block;
margin-left: 50px;
}
}

.vignette-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 75% 50%, transparent 25%, rgba(248, 249, 250, 0.95) 75%);
pointer-events: none;
z-index: 2;
}

@media (max-width: 768px) {

    #homedev {
        padding-top: 0px !important;
        margin-bottom: 0px !important;
    }

    #canvas-container2 {
        margin-top: 0px !important;
    }

}




/* POPUP DESIGN INSPIRED BY image_92f726.png Layout Style */
#globe-tooltip {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
#globe-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.popup-header-block {
background-color: #fcfbf7; 
padding: 22px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-bottom: 1px solid #f1f5f9;
text-align: center;
}

.popup-brand-logo {
font-size: 38px;
font-weight: 800;
color: #27272a;
letter-spacing: -1.5px;
line-height: 1;
display: flex;
align-items: center;
gap: 4px;
}

.popup-sub-tag {
font-size: 10px;
text-transform: uppercase;
font-weight: 700;
color: #10b981;
letter-spacing: 0.5px;
margin-top: 8px;
line-height: 1.2;
}

.popup-body-content {
padding: 16px 20px;
}

.popup-meta-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

.popup-region-pill {
font-size: 9px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
color: #64748b;
background: #f1f5f9;
padding: 4px 10px;
border-radius: 12px;
border: 1px solid #e2e8f0;
}

.popup-country-label {
font-size: 13px;
font-weight: 700;
color: #64748b;
}

.popup-association-title {
font-size: 15px;
font-weight: 800;
color: #0f172a;
line-height: 1.3;
}


@media (max-width: 768px) {
.hero-wrapper {
display: flex;
flex-direction: column;
}

.hero-container {
order: 1;
width: 100%;
text-align: center;
margin-top: 0 !important;
min-height: unset;
padding: 30px 6%;
}

.content-left {
max-width: 100%;
width: 100%;
margin-top: 0 !important;
}

.canvas-container {
order: 2;
position: relative !important;
width: 100% !important;
height: 350px !important;
top: auto !important;
right: auto !important;
min-width: unset !important;
min-height: unset !important;
max-width: 100% !important;
}

#globe-canvas {
width: 100% !important;
height: 100% !important;
margin-left: 0 !important;
}

.tagline::after {
left: 50%;
transform: translateX(-50%);
}

.cta-group {
justify-content: center;
}
}

.menu-item-has-children {
position: relative;
}
.lqd-submenu {
position: absolute;
top: 100%;
left: 0;
display: none;
background: #fff;

min-width: 180px;
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
z-index: 999;
}
.menu-item-has-children:hover .lqd-submenu {
display: block;
padding: 15px;
}


.hero-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
}

@media (max-width: 768px) {
.hero-wrapper {
flex-direction: column;
}

.hero-container {
order: 1;
width: 100%;
text-align: center;
}

.canvas-container {
order: 2;
width: 100%;
}

.cta-group {
justify-content: center;
}
}


 /* member card */

	
 /* member card */

	.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 8px 0;
}

.member-card {
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 20px;
    padding: 22px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 220px;

    /* Soft shadow */
    box-shadow:
        0 1px 3px rgba(0,0,0,0.03),
        0 8px 24px rgba(0,0,0,0.04);

    transition: all .3s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.05),
        0 16px 40px rgba(0,0,0,0.08);
    border-color: #e8edf5;
}

.logo-area {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-area img {
    max-width: 100%;
    max-height: 65px;
    object-fit: contain;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.region-pill {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;

    background: #f6f8fb;
    color: #50617f;
    border: none;

    padding: 5px 10px;
    border-radius: 999px;
}

.country-label {
    font-size: 13px;
    color: #667085;
    font-weight: 500;
}

.assoc-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #1f2937;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #f3f4f6;
    padding-top: 14px;
    margin-top: auto;
}

.abbr-label {
    font-size: 13px;
    font-weight: 600;
    color: #0d2159;
}

.visit-link {
    font-size: 13px;
    font-weight: 500;
    color: #667085;
    text-decoration: none;
    transition: color .2s ease;
}

.visit-link:hover {
    color: #0d2159;
    text-decoration: none;
}

.logo-area img {
    max-height: 70px;
    object-fit: contain;
    filter: saturate(0.95);
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 8px;
    }
}

.filter-btn {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn:hover {
    border-color: #1d4ed8;
    color: #1d4ed8;
}
.filter-btn.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
.member-card {
    transition: opacity 0.2s, transform 0.2s;
}
.member-card.hidden {
    display: none;
}

 /* flag section */
 .members-overview {
    padding: 60px 20px;
    background: #fff;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #0d2159;
    line-height: 1;
}

.stat-label {
    margin-top: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.section-label {
    text-align: center;
    margin-bottom: 32px;
    color: #64748b;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}



.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    transition: all .25s ease;
}

.flag-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.flag-item img {
    width: 52px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.flag-item span {
    font-size: 13px;
    color: #475569;
    text-align: center;
    line-height: 1.3;
}
@media (max-width: 768px) {

    .members-overview {
        padding: 40px 16px;
    }

    .stats-row {
        gap: 24px;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 30px;
    }

    .stat-label {
        font-size: 10px;
    }

  

    .flag-item {
        padding: 10px 6px;
    }

    .flag-item img {
        width: 44px;
        height: 30px;
    }

    .flag-item span {
        font-size: 11px;
    }
}

.flags-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px 8px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .flags-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 768px) {

    .stats-row {
        flex-wrap: nowrap !important;
        gap: 16px !important;
        justify-content: space-between !important;
    }

    .stats-row > div {
        flex: 1;
        min-width: 0;
    }

    .stats-row > div > div:first-child {
        font-size: 24px !important;
    }

    .stats-row > div > div:last-child {
        font-size: 9px !important;
        letter-spacing: 0.08em !important;
        line-height: 1.3;
    }
}


/* logo sliders */

.fapra-slider-wrap {
    overflow: hidden;
    position: relative;
    padding: 0;
}
.fapra-slider-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: sliderScroll 20s linear infinite;
}
.fapra-slider-track:hover {
    animation-play-state: paused;
}
.fapra-slide img {
    height: 45px !important;
    width: auto !important;
    max-width: 160px;
    object-fit: contain;
     
    transition: all 0.3s;
}

@keyframes sliderScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    #footpad {      
      padding: 10px !important;
    }
}@media (max-width: 768px) {
    #footpad2 {      
      padding: 10px !important;
    }
}

.member-card{
    position:relative;
    overflow:hidden;
}

.country-flag{
    position:absolute;
    top:12px;
    right:12px;
    width:30px;
    height:20px;
    border-radius:4px;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.5);
    box-shadow:0 4px 10px rgba(0,0,0,.15);
    z-index:5;
}
.member-card:hover .country-flag{
    transform:scale(1.08);
}

.popup-card{
    position:relative;
}

.popup-flag{
    position:absolute;
    top:10px;
    right:10px;
    width:28px;
    height:20px;
    object-fit:cover;
    border-radius:4px;
    border:1px solid rgba(255,255,255,.4);
    box-shadow:0 3px 10px rgba(0,0,0,.15);
    z-index:5;
}


#accordion-services .flex.items-end{
    align-items:stretch;
}

#accordion-services .module-content{
    justify-content:center;
}

#accordion-services figure{
    height:100%;
    margin:0;
}

#accordion-services figure img{
    width:100%;
    height:100%;
    min-height:240px;
    object-fit:cover;
    border-radius:12px;
}

.carousel-item-content p{
    font-size:13px;   
}

.carousel-item-content h4{
    font-size:25px;
    
}



	#aprce-services .aprce-img-col,
	#aprce-services .aprce-img-col * { max-width: 100%; }
	#aprce-services .aprce-img-col figure { margin: 0; }
	#aprce-services .aprce-img-col img {
		display: block;
		width: 100% !important;
		height: auto !important;
	}
	#aprce-services .aprce-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
		margin-top: 1.75em;
	}
	#aprce-services .aprce-card {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		padding: 18px;
		border: 1px solid rgba(0,0,0,0.1);
		border-radius: 14px;
		transition: border-color .2s ease, transform .2s ease;
	}
	#aprce-services .aprce-card:hover {
		border-color: rgba(0,0,0,0.35);
		transform: translateY(-2px);
	}
	#aprce-services .aprce-card-icon {
		flex: none;
		width: 36px;
		height: 36px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: var(--lqd-accent-color, #d09803);
	}
	#aprce-services .aprce-card-icon svg {
		width: 18px;
		height: 18px;
		stroke: #ffffff;
		fill: none;
		stroke-width: 1.6;
		stroke-linecap: round;
		stroke-linejoin: round;
	}
	#aprce-services .aprce-card-text {
		font-size: 15px;
		line-height: 1.35em;
		font-weight: 600;
		margin: 0;
		padding-top: 4px;
	}
	@media (max-width: 767px) {
		#aprce-services .aprce-grid {
			grid-template-columns: 1fr;
			gap: 12px;
		}
		#aprce-services .module-col {
			margin-bottom: 2em;
		}
	}


@media (max-width: 767px) {
    .our-services .module-img-1 {
        width: 100% !important;
    }
}

	#aprce-news { background: #fafafa00; }
	#aprce-news .row { display: flex; flex-wrap: wrap; align-items: stretch; }
	#aprce-news .col-lg-4 { display: flex; }

	#aprce-news article.lqd-lp-style-21 {
		display: flex;
		flex-direction: column;
		width: 100%;
		padding: 0;
		overflow: hidden;
		background: #fff;
		border: none !important;
		box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.10);
        border-radius: 25px;
		transition: transform .25s ease, box-shadow .25s ease;
	}
	#aprce-news article.lqd-lp-style-21:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 40px -16px rgba(0,0,0,.18);
	}

	/* IMAGE: fixed pixel height, not aspect-ratio — avoids fights with theme CSS */
	#aprce-news .lqd-lp-img {
		width: 100%;
		height: 220px;
		flex: none;
		overflow: hidden;
		position: relative;
		border-radius: 10px;
	}
	#aprce-news .lqd-lp-img figure {
		width: 100%;
		height: 100%;
		margin: 0;
		position: relative;
	}
	#aprce-news .lqd-lp-img img {
		position: absolute;
		top: 0; left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		display: block;
		transition: transform .4s ease;
	}
	#aprce-news article.lqd-lp-style-21:hover .lqd-lp-img img {
		transform: scale(1.04);
	}

	/* TEXT BLOCK — flush, full width, no side padding */
	#aprce-news .lqd-lp-contents {
		padding: 1.4rem;
		display: flex;
		flex-direction: column;
		flex: 1;
		width: 100%;
	}
	#aprce-news .lqd-lp-date {
		font-size: 11px;
		text-transform: uppercase;
		letter-spacing: .08em;
		color: #999;
		font-weight: 600;
	}
	#aprce-news .lqd-lp-title {
		margin-top: .5em;
	}
	#aprce-news .lqd-lp-title a {
		font-size: 20px;
		line-height: 1.28em;
		font-weight: 700;
		color: #111;
		text-decoration: none;
		letter-spacing: -.01em;
	}
	#aprce-news .lqd-lp-excerpt {
		margin-top: .6em;
	}
	#aprce-news .lqd-lp-excerpt p {
		font-size: 14px;
		line-height: 2em;
		color: #6b6b6b;
		margin: 0;
		max-height: 5.8em; /* ~4 lines */
		overflow: hidden;
		transition: max-height .25s ease;
	}
	#aprce-news .lqd-lp-excerpt.expanded p {
		max-height: none;
	}
	#aprce-news .lqd-lp-readmore {
		display: none;
		margin-top: .85em;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .06em;
		background: none;
		border: none;
		border-bottom: 1.5px solid #111;
		padding: 0 0 2px;
		cursor: pointer;
		color: #111;
		text-align: left;
		width: fit-content;
		transition: opacity .2s ease;
	}
	#aprce-news .lqd-lp-readmore:hover { opacity: .55; }
	#aprce-news .lqd-lp-readmore.is-visible { display: inline-block; }

	@media (max-width: 991px) {
		#aprce-news .col-lg-4 { flex: 0 0 50%; max-width: 50%; }
	}

	/* MOBILE: revert to original, untouched behavior */
	@media (max-width: 575px) {
		#aprce-news .col-lg-4 { flex: 0 0 100%; max-width: 100%; }
		#aprce-news .lqd-lp-img { height: auto; border-radius: 0; }
		#aprce-news .lqd-lp-img img { position: static; height: auto; }
		#aprce-news .lqd-lp-excerpt p { max-height: none; overflow: visible; }
		#aprce-news .lqd-lp-readmore { display: none !important; }
	}

    .lqd-cf-form-control,
.lqd-cf-form-control input,
.lqd-cf-form-control textarea,
.lqd-cf-form-control select,
.wpcf7-form-control {
    background: #ffffff00 !important; /* change to any color */
    background-color: #ffffff00 !important;
    opacity: 1 !important;
}