/* NACCIMA Home — Figma-aligned overrides */

/* Hero slider — Swiper horizontal slide */
.hero-swiper.hero-slider-figma {
    min-height: 640px;
    height: 85vh;
    width: 100%;
}

.hero-swiper .swiper-slide {
    height: auto;
}

.hero-slide-inner {
    position: relative;
    min-height: 640px;
    height: 85vh;
    overflow: hidden;
}

.hero-slider-figma .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    animation: none;
    transform: none;
}

.hero-slider-figma .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-slider-figma .hero-content-wrap {
    position: relative;
    z-index: 2;
    padding-bottom: 88px;
}

.hero-slider-figma .hero-content-wrap.container {
    padding-top: 0;
}

.hero-slider-figma .hero-content .hero-title {
    width: auto;
    max-width: 720px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
}

.hero-slider-figma .hero-content .hero-subtitle {
    width: auto;
    max-width: 640px;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.92);
    opacity: 1;
    margin-bottom: 24px;
}

.hero-slider-figma .hero-buttons .btn {
    margin-right: 12px;
    margin-bottom: 0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.hero-slider-figma .hero-join-outline {
    border: 1px solid #fff !important;
    background: transparent !important;
    color: #fff !important;
}

.hero-slider-figma .hero-join-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-color: #fff !important;
}

.hero-swiper-pagination {
	bottom: 28px !important;
	left: auto !important;
	right: 48px !important;
	width: auto !important;
	z-index: 5;
	text-align: right;
}

.hero-swiper-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.75);
	opacity: 1;
	margin: 0 6px !important;
	transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
	background: #fff;
	border-color: #fff;
	transform: none;
}

@media (max-width: 991.98px) {
    .hero-slider-figma .hero-content .hero-title {
        font-size: 32px;
        max-width: 100%;
    }

    .hero-slider-figma .hero-content .hero-subtitle {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-swiper.hero-slider-figma,
    .hero-slide-inner {
        min-height: 520px;
        height: 75vh;
    }

    .hero-slider-figma .hero-content-wrap {
        padding-bottom: 72px;
    }

    .hero-slider-figma .hero-content .hero-title {
        font-size: 26px;
    }

    .hero-slider-figma .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-slider-figma .hero-buttons .btn {
        margin-right: 0;
    }
}

/* President badge — Figma green bar */
.who-portrait-badge {
    display: block;
    background: #00a758;
    border-top: 8px solid #da0001;
    padding: 16px 24px;
    text-align: left;
    width: 100%;
}

.who-badge-left,
.who-badge-right,
.who-badge-divider {
    display: block;
}

.who-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 24px;
}

.who-role {
    font-size: 14px;
    color: #fff;
    margin-top: 4px;
}

.who-honors-line1,
.who-honors-line2 {
    display: none;
}

.who-body p {
    color: #7b7b7b;
    font-size: 18px;
    line-height: 28px;
}

/* What We Offer — 3 cards */
.what-we-offer .offer-card {
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 429px;
}

.what-we-offer .offer-card.membership { background: #f2faf6; }
.what-we-offer .offer-card.events { background: #f9f2f9; }
.what-we-offer .offer-card.trade { background: #f2f7fb; }

.what-we-offer .offer-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #313131;
    padding: 24px 24px 0;
    margin-bottom: 4px;
}

.what-we-offer .offer-card p {
    color: #7b7b7b;
    font-size: 16px;
    line-height: 24px;
    padding: 0 24px 4px;
    margin-bottom: 0;
}

.what-we-offer .offer-card .offer-img-wrap {
    flex: 1;
    padding: 16px;
    display: flex;
    align-items: stretch;
}

.what-we-offer .offer-card .offer-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* Services grid — Figma asymmetric layout */
.services-figma-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services-figma-row1 {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    align-items: start;
}

.services-figma-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.services-figma-right-top {
    display: grid;
    grid-template-columns: 1fr 294px;
    gap: 24px;
}

.services-figma-row3 {
    display: grid;
    grid-template-columns: 718px 1fr;
    gap: 24px;
}

.service-figma-card {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.service-figma-card.policy { background: #fdf2f2; }
.service-figma-card.trade { background: #f2f8f4; }
.service-figma-card.capacity { background: #f2f5fa; }
.service-figma-card.research { background: #f2f7fc; }
.service-figma-card.missions { background: #f5f6f6; }
.service-figma-card.investment { background: #fdf2f2; }

.service-figma-card h5 {
    font-size: 18px;
    font-weight: 600;
    color: #313131;
    margin: 0;
}

.service-figma-card p {
    color: #7b7b7b;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.service-figma-card .service-figma-media {
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
}

.service-figma-card .service-figma-media img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.service-figma-card.policy .service-figma-media {
    min-height: 200px;
}

.service-figma-card.trade .service-figma-media {
    height: 104px;
    max-width: 458px;
}

/* Chamber map */
.chamber-map-section {
    background: #fcfcfc;
}

.chamber-map-section .map-intro {
    max-width: 718px;
}

.chamber-map-section .map-intro p {
    color: #7b7b7b;
    font-size: 16px;
    line-height: 24px;
}

.chamber-map-wrap {
    border: 8px solid #fff;
    border-radius: 16px;
    overflow: visible;
    background: #f7faf8;
}

.chamber-map-wrap img.chamber-map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Event posters — continuous marquee */
.event-posters-marquee {
    overflow: hidden;
    width: 100%;
}

.event-posters-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    gap: 24px;
    animation: event-posters-scroll 40s linear infinite;
    will-change: transform;
}

.event-posters-marquee:hover .event-posters-track {
    animation-play-state: paused;
}

@keyframes event-posters-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 12px));
    }
}

.event-poster-card {
    flex: 0 0 294px;
    width: 294px;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
    position: relative;
}

.event-poster-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.event-poster-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.event-poster-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-poster-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.event-poster-cta {
    color: #8ad7b2;
    font-size: 13px;
    font-weight: 600;
}

.event-poster-card:hover img,
.event-poster-card:focus-within img {
    transform: scale(1.04);
}

.event-poster-card:hover .event-poster-overlay,
.event-poster-card:focus-within .event-poster-overlay {
    opacity: 1;
}

.event-posters-pagination {
    position: relative;
    margin-top: 24px;
}

.event-posters-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d9d9d9;
    opacity: 1;
}

.event-posters-pagination .swiper-pagination-bullet-active {
    background: #00a758;
}

/* Chamber news — Figma dates */
.chamber-news .news-date {
    font-size: 12px;
    font-weight: 500;
    color: #121212;
    margin-top: 4px;
}

.chamber-news .news-feature .card-body,
.chamber-news .news-card .card-body {
    background: #f2f2f2;
}

.chamber-news .col-lg-5 .news-card-media {
    width: 100%;
    height: 135px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #e8e8e8;
}

.chamber-news .col-lg-5 .news-card-media .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Testimonials heading */
.testimonials .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
}

.testimonial .meta strong {
    color: #121212;
    font-weight: 600;
}

.testimonial .meta span {
    color: #8C8C8C;
}

/* CTA register text */
.callout-card p {
    color: #7b7b7b;
}

/* Stats strip — Figma green bg */
.stats-strip {
	background: #e6f6ee !important;
	padding: 56px 0 !important;
	margin-bottom: 0 !important;
	height: auto !important;
}

.stats-strip .stat-number {
    color: #00a758;
    font-size: 48px;
    font-weight: 700;
}

.stats-strip .stat-label {
    color: #7b7b7b;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .services-figma-row1,
    .services-figma-row3,
    .services-figma-right-top {
        grid-template-columns: 1fr;
    }

    .event-posters-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .what-we-offer .offer-card {
        min-height: auto;
    }

    .event-poster-card {
        flex-basis: 260px;
        width: 260px;
        height: 320px;
    }

    .event-posters-track {
        gap: 16px;
        animation-duration: 32s;
    }

    @keyframes event-posters-scroll {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(calc(-50% - 8px));
        }
    }

    .who-body p {
        font-size: 16px;
        line-height: 24px;
    }

    .services-figma-grid .service-figma-card {
        margin-bottom: 0;
    }
}
