:root {
    --apc-green: #147a32;
    --apc-green-dark: #0d5b24;
    --apc-blue: #1e4d86;
    --apc-navy: #17355c;
    --apc-gold: #de8f34;
    --apc-text: #25313f;
    --apc-muted: #6f7c8f;
    --apc-bg: #f3f6f9;
    --apc-white: #ffffff;
    --apc-shadow: 0 12px 30px rgba(14, 38, 67, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--apc-text);
    background: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)), url('../images/page-texture.jpg') center top/cover fixed no-repeat;
}

img {
    max-width: 100%;
    display: block;
}

.top-flag-bar {
    height: 25px;
    background: linear-gradient(90deg, var(--apc-green) 0%, var(--apc-green) 23%, #ffffff 23%, #ffffff 77%, var(--apc-green) 77%, var(--apc-green) 100%);
}

.main-navbar {
    padding: .85rem 0;
}

.logo-img {
    width: 100px;
    height: 55px;
}

.navbar .nav-link {
    color: #27364a;
    font-weight: 500;
    margin: 0 .55rem;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--apc-blue);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: .2rem;
    right: .2rem;
    bottom: -.25rem;
    height: 2px;
    background: var(--apc-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.btn-register-now,
.hero-btn,
.news-body .btn,
.btn-success {
    background: linear-gradient(180deg, #209244 0%, var(--apc-green) 100%);
    border-color: var(--apc-green);
    box-shadow: 0 10px 18px rgba(20, 122, 50, 0.2);
}

.btn-register-now:hover,
.hero-btn:hover,
.news-body .btn:hover,
.btn-success:hover {
    background: linear-gradient(180deg, #1a833d 0%, var(--apc-green-dark) 100%);
    border-color: var(--apc-green-dark);
}

.hero-section {
    min-height: 560px;
    background: url('../images/hero-bg.jpg') center center/cover no-repeat; 
    position: relative; 
    padding: 3rem 0 3rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 82, 42, 0.5) 0%, rgba(11, 52, 102, 0.5) 55%, rgba(18, 76, 130, 0.5) 100%);
}

.hero-content {
    z-index: 2;
}

.hero-people {
    flex: 1;
    height: 470px;
    /* object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.12));  */
    background: url('../images/hero-people.jpg') center center/cover no-repeat; 
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
    mask-image: radial-gradient(circle, black 40%, transparent 100%);
    filter: brightness(1.05);
}

.hero-text {
    flex: 1;
    padding: 20px;
    max-width: 640px;
    margin-left: auto;
}

.world-map{
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
    mask-image: radial-gradient(circle, black 40%, transparent 100%);
    filter: brightness(1.05);
    width:100%;height:400px;
}

.eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.88);
    color: var(--apc-green);
    font-weight: 700;
    padding: .45rem .85rem;
    border-radius: 999px;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.3rem);
    line-height: 1.04;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(8, 28, 52, 0.5);
    margin-bottom: 1rem;
}

.hero-text p {
    color: #f3f6fb;
    font-size: 1.1rem;
    max-width: 620px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(8, 28, 52, 0.4);
}

.hero-btn-outline {
    color: var(--apc-navy);
    border: none;
    box-shadow: 0 10px 20px rgba(20, 31, 56, .14);
}

.steps-wrapper {
    margin-top: -1px;
    position: relative;
    z-index: 3;
}

.steps-board {
    background: rgba(246,241,238,1);
    border-radius: 1rem;
    padding: .1rem 0;
}

.step-item {
    padding: 2rem 1.3rem 1.3rem;
    position: relative;
    height: 80%;
}

.step-item.with-divider::after {
    content: '\203A';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    color: rgba(30, 77, 134, 0.32);
    font-weight: 300;
}

.step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(180deg, #f1ad5d 0%, var(--apc-gold) 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(222, 143, 52, .28);
    margin: -3.6rem auto 1rem;
}

.step-badge-2 {
    background: linear-gradient(180deg, var(--apc-navy) 0%, var(--apc-text) 100%);
}

.step-icon {
    min-width: 58px;
    width: 58px;
    height: 58px;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(20,122,50,.1) 0%, rgba(30,77,134,.08) 100%);
    color: var(--apc-blue);
    font-size: 1.8rem;
}

.step-item h3,
.benefit-card h3,
.news-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--apc-navy);
}

.step-item p,
.benefit-card p,
.section-title p,
.news-body p,
.stat-card p,
.cta-section p {
    color: var(--apc-muted);
}

.section-padding {
    padding: 6rem 0;
}

.section-title h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    color: var(--apc-navy);
    font-weight: 900;
    margin-bottom: .8rem;
}

/* .community-map-card {
    background: rgba(255,255,255,0.88);
    border-radius: 1.6rem;
    padding: .8rem;
    box-shadow: var(--apc-shadow);

    background-image: url('image.jpg');
    background-size: cover;       
    background-position: center; 
    background-repeat: no-repeat;

} */

.community-section {
    margin-top: -50px;
    /* position: relative; */
    overflow: hidden;
    box-shadow: var(--apc-shadow);
    background: url('../images/world-map2.jpg') center/cover no-repeat;
}
@media (max-width: 767.98px) {
    .community-section {
    padding-top: 100px;
    margin-top: 0;
    }
}

.community-map-card::before {
    content: "";
    position: absolute;
    inset: 0;

    
    filter: brightness(0.6); /* darkens image */

    z-index: 0;
}

.community-map-card * {
    position: relative;
    z-index: 1;
    padding: 15px;
}

.stats-row > div {
    min-width: 0;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    border-radius: 1rem;
    padding: 1rem 1rem .85rem;
    box-shadow: var(--apc-shadow);
}

.flag {
    font-size: 1.7rem;
}

.stat-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f304c;
    margin-bottom: .1rem;
}

.stat-card h4 span {
    color: var(--apc-green);
}

.benefit-card,
.news-card {
    background: rgba(255,255,255,0.96);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--apc-shadow);
}

.benefit-card {
    padding: 2rem 1.4rem;
}

.benefit-icon {
    width: 84px;
    height: 84px;
    border-radius: 1.4rem;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    color: var(--apc-green);
    margin-bottom: 1rem;
    background: linear-gradient(180deg, rgba(20,122,50,.12) 0%, rgba(30,77,134,.06) 100%);
}

.gallery-section .carousel,
.news-card {
    box-shadow: var(--apc-shadow);
}

.gallery-image {
    height: 520px;
    object-fit: cover;
    filter: brightness(.78);
}

.carousel-caption {
    left: 7%;
    right: 7%;
    bottom: 2.5rem;
    background: linear-gradient(180deg, rgba(11, 22, 37, 0) 0%, rgba(11, 22, 37, 0.82) 100%);
    padding: 4rem 1.2rem 1rem;
    border-radius: 1rem;
}

.carousel-caption h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

.news-image {
    height: 220px;
    object-fit: cover;
}

.news-body {
    padding: 1.5rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--apc-muted);
    font-size: .95rem;
    margin-bottom: .8rem;
}

.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(to bottom,rgba(10, 77, 36, 1),rgba(10, 77, 36, 1),rgba(10, 77, 36, 1),rgba(10, 77, 36, 1),rgba(10, 77, 36, 1), rgba(10, 77, 36, 0.8),#fff);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: .8rem;
}

.footer-section {
    background: #10263f !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: all .7s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 2rem;
        min-height: auto;
    }

    .hero-text {
        margin: 0 auto;
    }

    .steps-wrapper {
        margin-top: -20px;
    }

    .step-item.with-divider::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .logo-img {
        width: 74px;
        
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .gallery-image {
        height: 350px;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .step-item {
        padding: 1.6rem 1rem 1rem;
    }
}
.logo-image{
    height:150px; width:200px
}

/* .country-box {
    display: inline-flex;  
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #ddd;
}

.flagg {
    width: 30px;
    height: 20px;
    object-fit: cover;
}

.details {
    display: flex;
    flex-direction: column;
}

.topp {
    display: flex;
    gap: 8px;
    align-items: center;
} */

.country {
    white-space: nowrap;
}
 
.count {
    color: green;
}
/*
.bottom {
    font-size: 12px;
    color: #64748b;
} */
 .bgred{
    background:red;
 }
/* Apply to your scroll container */
.country-scroll {
    /* overflow-x: auto; */
    /* scrollbar-width: thin; /* Firefox */
    /*scrollbar-color: #28a745 #f1f1f1; */
    white-space: nowrap;
    padding:20px 10px;
    animation: scroll 30s linear infinite;
}

/* Chrome, Edge, Safari */
/* .country-scroll::-webkit-scrollbar {
    height: 8px;
}

.country-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #008753, #ffffff, #008753);
    border-radius: 10px;
}

.country-scroll::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

.country-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #218838, #17a2b8);
} */

/* Animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.carousel-caption2 {
      bottom: 0;
      background: #fff;
      width: 100%;
      left: 0;
      right: 0;
      padding: 10px;
    }
.ccaption-title{
  background:#0A4D24;color:#fff;padding:10px 15px;border-radius:10px;margin-top:10px;
}