/*
Theme Name: Zotech
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: IT Solutions & Technology HTML Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

Main Style file-> assets/css/main.css 

All the SCSS File in SCSS Folder of Assets Folder. You can read the doc file also for better understand.

// BASIC
@import 'basic';

// MIXIN
@import 'variables';

// TYPOGRAPHY
@import 'typography';

// MIX
@import 'mix';

// HELPER
@import 'helper';

// ICON FONTS
@import 'icon';

// ANIMATION
@import 'animation';

// Button 
@import 'btn';

// Colors 
@import 'colors';

// Preloader 
@import 'preloader';

/* ----------------------------------
    Template Section Styles
 ------------------------------------*/

 /* // Menu - Header Section 
 @import 'header';
 
 // Hero Slide - Section 
 @import 'hero';
 
 // Section Title - Heading 
 @import 'section';
 
 // About - Section 
 @import 'about';
 
 // Features - Section 
 @import 'features';
 
 // services - Section 
 @import 'services';
 
 // testimonial - Section 
 @import 'testimonial';
 
 // Portfolio - Cases - Section 
 @import 'project';
 
 // Price Table - Section 
 @import 'price';
 
 // Call To Action - Section 
 @import 'cta';
 
 // Content Block - Section 
 @import 'contentblock';
 
 // team - Section 
 @import 'team';
 
 // funfact - Section 
 @import 'funfact';
 
 // Download - Section 
 @import 'carousel';
 
 // FAQ - Section 
 @import 'faq';
 
 // Blog - Section 
 @import 'blog';
 
 // Contact Us - Section 
 @import 'contact';
 
 // footer - Section 
 @import 'footer';n facts */

/* IFAPC: disable custom mouse cursor and back-to-top button */
.scroll-up,
.mouse-cursor {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* IFAPC: main menu — black default, red hover/active */
.header-1 .header-main .main-menu > nav > ul > li > a {
    color: var(--black);
    padding-top: 18px;
    padding-bottom: 18px;
}

.header-1 .header-main .main-menu > nav > ul > li > a:hover,
.header-1 .header-main .main-menu > nav > ul > li:hover > a,
.header-1 .header-main .main-menu > nav > ul > li.active > a {
    color: var(--theme-2) !important;
}

.header-1 .header-main .main-menu ul li .submenu li a {
    color: var(--black);
}

.header-1 .header-main .main-menu ul li .submenu li a:hover,
.header-1 .header-main .main-menu ul li .submenu li:hover > a {
    color: var(--white) !important;
}

/* IFAPC: header logo vertical balance */
.header-1 {
    padding: 14px 0;
}

.header-1 .header-main .header-left .logo {
    padding: 0;
    display: flex;
    align-items: center;
}

.header-1 .header-main .header-left .logo a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.header-1 .header-main .header-left .logo img {
    height: 54px;
    width: auto;
    display: block;
}

/* IFAPC: site-wide responsive — prevent horizontal drift / overflow */
html {
    overflow-x: clip;
}

body,
.page-wrapper {
    overflow-x: clip;
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

/* IFAPC: homepage hero image slider (1920 x 880) */
.ifapc-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ifapc-hero-slider > .container {
    max-width: 100%;
}

.ifapc-hero-slider .hero-slider {
    width: 100%;
    height: auto;
}

.ifapc-hero-slider .swiper-wrapper,
.ifapc-hero-slider .swiper-slide {
    height: auto;
}

.ifapc-hero-slider .ifapc-hero-slide {
    width: 100%;
    aspect-ratio: 1920 / 880;
    height: auto;
    background-position: center center;
    background-size: cover;
    border-radius: 25px;
}

@media (max-width: 767px) {
    .ifapc-hero-slider {
        border-radius: 12px;
    }

    .ifapc-hero-slider .ifapc-hero-slide {
        aspect-ratio: auto;
        min-height: 360px;
        height: 360px;
        border-radius: 12px;
    }
}

.ifapc-hero-slider .swiper-dot {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 5;
    width: auto;
    transform: translateX(-50%);
}

.ifapc-hero-slider .swiper-dot .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.55);
}

.ifapc-hero-slider .swiper-dot .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--theme-2);
}

.ifapc-hero-slider .swiper-dot .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
    border-color: var(--theme-2);
}

/* IFAPC: neutral light gray section backgrounds (replace pink tint) */
:root {
    --white-2: #F9FAFB;
    --bg: #F5F5F5;
    --bg-muted: #f1f1f1;
    --black-2: #222222;
    ---box-shadow: 11px 15px 79.9px 48px rgba(0, 0, 0, 0.05);
}

/* IFAPC: topbar — site red gradient */
.topbar {
    background: linear-gradient(90deg, #DC2626 0%, #B91C1C 100%);
}

.topbar .topbar-inner ul li a {
    background: none !important;
    opacity: 0.9;
}

.topbar .topbar-inner ul li a:hover {
    color: #fff !important;
    opacity: 1;
}

.topbar .topbar-inner ul li i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #fff;
}

.topbar .topbar-inner .social a {
    background: none !important;
}

.topbar .topbar-inner .social a:hover {
    color: #fff !important;
    opacity: 1;
}

/* IFAPC: section labels — solid red, light red pill (no gradient text fringe) */
.section-title .sub-title {
    background: rgba(220, 38, 38, 0.1);
}

.section-title .sub-title.sub-title2 {
    background: rgba(220, 38, 38, 0.1);
}

.section-title .sub-title span {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #DC2626;
}

/* IFAPC: remove template faux underlines / dark-red link decoration */
.topbar a,
.header-1 .header-main .main-menu a,
.single-blog-item .content h3 a,
.single-service-item .content h4 a,
.single-footer-widget .list-area li a {
    background-image: none !important;
    background-size: unset !important;
}

.header-1 .header-main .main-menu > nav > ul > li > a:hover,
.header-1 .header-main .main-menu > nav > ul > li:hover > a,
.header-1 .header-main .main-menu > nav > ul > li.active > a {
    color: var(--theme) !important;
}

.single-blog-item .content h3 a:hover,
.single-service-item .content h4 a:hover {
    color: var(--theme) !important;
}

.blog-1 .blog-inner .single-blog-item .content ul li:first-child {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #DC2626;
}

.link-btn {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #DC2626 !important;
}

.link-btn:hover {
    color: #B91C1C !important;
}

/* IFAPC: homepage about section background */
.about-wrapper.about-1:not(.about-page) {
    background-color: #fff;
}

/* IFAPC: service intro — centered layout (24+ section) */
.service-wrapper.service-1.section-bg {
    background-color: #f1f1f1 !important;
}

.ifapc-service-intro {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 10px;
}

.ifapc-service-intro .countbox {
    display: block !important;
}

.ifapc-service-intro .countbox h3 {
    margin-bottom: 0;
}

.ifapc-service-intro .countbox p {
    padding-top: 10px;
    margin-bottom: 0;
}

.ifapc-service-intro .section-title {
    margin-top: 28px;
    margin-bottom: 24px;
}

.ifapc-service-intro .section-title h2 {
    text-align: center;
}

.ifapc-service-intro__desc {
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
    color: var(--text);
    max-width: 820px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .ifapc-service-intro .countbox h3 {
        font-size: 100px;
        line-height: 90px;
    }

    .ifapc-service-intro .countbox p {
        font-size: 18px;
    }

    .ifapc-service-intro__desc {
        font-size: 16px;
        line-height: 28px;
    }
}

/* IFAPC: service cards — equal white content box height */
.service-1 .service-inner .single-service-item .content {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.service-1 .service-inner .single-service-item .content h4 {
    min-height: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-1 .service-inner .single-service-item .content p {
    flex: 1;
    margin-bottom: 0;
}

/* IFAPC: service section CTA button below cards */
.service-1 .service-inner .ifapc-service-cta {
    margin-top: 50px;
    position: relative;
    top: 30px;
    z-index: 12;
}

.ifapc-service-cta__btn {
    font-size: 20px;
    font-weight: 700;
    padding: 22px 56px;
    max-height: none;
    min-width: 300px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

@media (max-width: 575px) {
    .service-1 .service-inner .ifapc-service-cta {
        margin-top: 36px;
        top: 30px;
    }

    .ifapc-service-cta__btn {
        width: 100%;
        max-width: 360px;
        min-width: 0;
    }
}

/* IFAPC: homepage about-2 bg — full-width panel behind service cards */
.about-wrapper.about-2 {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.about-2 .bg-image,
.about-2 .ifapc-about-2-panel {
    position: absolute !important;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: -580px;
    height: 580px;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
}

@media (max-width: 1199px) {
    .about-2 .bg-image,
    .about-2 .ifapc-about-2-panel {
        top: -440px;
        height: 490px;
    }
}

@media (max-width: 767px) {
    .about-2 .bg-image,
    .about-2 .ifapc-about-2-panel {
        top: -360px;
        height: 430px;
    }
}

/* IFAPC: remove white gap between cards panel and media section */
.service-wrapper.service-1.section-padding {
    padding-bottom: 0;
}

.about-2.section-padding {
    padding: 0;
    margin: 0;
}

.about-2 + .blog-wrapper.blog-1.section-padding {
    padding-top: 80px !important;
    padding-bottom: 90px !important;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner {
    padding-bottom: 0 !important;
}

@media (max-width: 991px) {
    .about-2 + .blog-wrapper.blog-1.section-padding {
        padding-bottom: 70px !important;
    }
}

.about-2 + .blog-wrapper.blog-1.section-bg {
    background-color: var(--bg-muted) !important;
}

/* IFAPC: homepage blog cards — equal height */
.about-2 + .blog-wrapper.blog-1 .blog-inner .row {
    align-items: stretch;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .row > [class*="col-"] {
    display: flex;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item .image {
    flex-shrink: 0;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item .content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item .content h3 {
    min-height: 0;
    margin-bottom: 30px;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item .content p {
    flex: 0 0 auto;
    min-height: 0;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.about-2 + .blog-wrapper.blog-1 .blog-inner .single-blog-item .content .link-btn {
    margin-top: 0;
    padding-top: 0;
}

/* IFAPC: features row — align with container, no horizontal overflow */
.features-1 {
    margin-top: -130px;
}

.features-1 .single-feature-item {
    box-shadow: 0 8px 30px rgba(2, 8, 66, 0.08);
}

.features-1 .row {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1199px) {
    .features-1 {
        margin-top: -90px;
    }
}

@media (max-width: 767px) {
    .features-1 {
        margin-top: -48px;
    }

    .features-1 .single-feature-item {
        height: auto;
    }
}

/* IFAPC: homepage about images — template staggered layout (image-1 + image-2) */
.about-wrapper.about-1:not(.about-page) .about-images {
    position: relative;
    width: 100%;
    max-width: 684px;
    min-height: 523px;
    margin: 0 auto;
    overflow: visible;
}

.about-wrapper.about-1:not(.about-page) .about-images .image-1 {
    position: relative;
    width: 439px;
    max-width: 100%;
    height: 563px;
    margin: 0;
    aspect-ratio: auto;
}

.about-wrapper.about-1:not(.about-page) .about-images .image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-wrapper.about-1:not(.about-page) .about-images .image-2 {
    position: absolute;
    bottom: -40px;
    left: 294px;
    width: 389.5px;
    height: 474px;
    max-width: calc(100% - 80px);
}

.about-wrapper.about-1:not(.about-page) .about-images .image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1399px) {
    .about-wrapper.about-1:not(.about-page) .about-images .image-2 {
        left: 200px;
    }
}

@media (max-width: 1199px) {
    .about-wrapper.about-1:not(.about-page) .about-images {
        transform: scale(0.88);
        transform-origin: top center;
        margin-bottom: -40px;
    }
}

@media (max-width: 991px) {
    .about-wrapper.about-1:not(.about-page) .about-images {
        transform: none;
        margin-bottom: 0;
        min-height: 0;
        max-width: 439px;
    }

    .about-wrapper.about-1:not(.about-page) .about-images .image-1 {
        width: 100%;
        height: auto;
        aspect-ratio: 440 / 564;
    }

    .about-wrapper.about-1:not(.about-page) .about-images .image-2 {
        display: none;
    }
}

@media (max-width: 767px) {
    .about-1 .about-content {
        text-align: center;
    }

    .about-1 .about-content ul {
        text-align: center;
    }

    .about-1 .about-content .about-infu {
        display: flex;
        justify-content: center;
    }
}

/* IFAPC: service cards — allow natural height on narrow screens */
@media (max-width: 767px) {
    .service-1 .service-inner .single-service-item .content {
        min-height: 0;
    }

    .service-1 .service-inner .single-service-item .content h4 {
        min-height: 0;
    }
}

/* IFAPC: template blog section bottom padding on small screens */
@media (max-width: 991px) {
    .blog-1 .blog-inner {
        padding-bottom: 60px !important;
    }
}

/* IFAPC: header / menu stay within viewport */
.header-1 .mega-menu-wrapper,
.header-1 .header-main {
    max-width: 100%;
}

.header-1 .container {
    padding-left: 12px;
    padding-right: 12px;
}

/* IFAPC: contact page — smaller type & tighter spacing */
.contact-us-1 .contact-us-content .infu-box {
    padding-bottom: 16px;
    gap: 14px;
}

.contact-us-1 .contact-us-content .infu-box:last-child {
    padding-bottom: 0;
}

.contact-us-1 .contact-us-content .infu-box .icon {
    font-size: 17px;
    margin-top: 2px;
}

.contact-us-1 .contact-us-content .infu-box .infu p {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
}

.contact-us-1 .contact-us-content .infu-box .infu h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0;
}

/* IFAPC: contact links in info boxes */
.contact-us-content .infu h3 a {
    color: inherit;
    text-decoration: none;
}

.contact-us-content .infu h3 a:hover {
    color: var(--theme, #DC2626);
}

/* IFAPC: footer contact — simple icon + text row (no overlapping circles) */
.ifapc-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ifapc-footer-contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.ifapc-footer-contact-list__item:last-child {
    margin-bottom: 0;
}

.ifapc-footer-contact-list__icon {
    flex-shrink: 0;
    width: 22px;
    margin-top: 3px;
    text-align: center;
    font-size: 17px;
    line-height: 1;
    color: var(--theme, #DC2626);
}

.ifapc-footer-contact-list__body {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
    color: #1a1a1a;
}

.ifapc-footer-contact-list__label {
    color: var(--theme, #DC2626);
    font-weight: 600;
}

.ifapc-footer-contact-list__body a {
    color: inherit;
    text-decoration: none;
}

.ifapc-footer-contact-list__body a:hover {
    color: var(--theme, #DC2626);
}

@media (min-width: 1200px) {
    .ifapc-footer-widgets-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .ifapc-footer-widgets-row > [class*="col-"] {
        flex: 0 0 auto;
        padding-left: 0;
    }

    .ifapc-footer-widgets-row > .ifapc-footer-brand-col,
    .ifapc-footer-widgets-row > .ifapc-footer-link-col {
        padding-right: 30px;
    }

    .ifapc-footer-widgets-row > .ifapc-footer-contact-col {
        padding-right: 0;
    }

    .ifapc-footer-brand-col {
        width: 30%;
        max-width: 30%;
        flex: 0 0 30%;
    }

    .ifapc-footer-link-col {
        width: 20%;
        max-width: 20%;
        flex: 0 0 20%;
        min-width: 0;
    }

    .ifapc-footer-contact-col {
        width: 30%;
        max-width: 30%;
        flex: 0 0 30%;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .ifapc-footer-contact-col .single-footer-widget {
        width: 100%;
        max-width: 100%;
    }

    .ifapc-footer-contact-col .ifapc-footer-contact-list__body {
        flex: 1;
        min-width: 0;
    }

    .ifapc-footer-contact-col .ifapc-footer-contact-list__body,
    .ifapc-footer-contact-col .ifapc-footer-contact-list__body a {
        white-space: nowrap;
    }
}

@media (max-width: 1199px) {
    .ifapc-footer-contact-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .ifapc-footer-contact-list__body a {
        word-break: break-word;
    }
}

/* IFAPC: footer — light gray background, black + red text */
.footer-wrapper {
    background-color: #e2e2e2;
}

.footer-wrapper .footer-widgets-1 {
    background-color: transparent;
}

.footer-wrapper .footer-widgets-1.section-padding {
    padding: 50px 0 !important;
}

.footer-wrapper .footer-bottom {
    padding: 20px 0;
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .widget-head h4 {
    color: var(--theme, #DC2626);
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .footer-content p,
.footer-wrapper .footer-widgets-1 .single-footer-widget .footer-content .ifapc-footer-contact-list__body {
    color: #1a1a1a;
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .list-area li a {
    color: #1a1a1a;
    gap: 0;
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .list-area li:hover a {
    color: var(--theme, #DC2626);
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .footer-content .social-icon a {
    color: #1a1a1a;
}

.footer-wrapper .footer-widgets-1 .single-footer-widget .footer-content .social-icon a:hover {
    color: var(--theme, #DC2626);
}

.footer-wrapper .footer-bottom,
.footer-wrapper .footer-bottom.section-bg-2 {
    background-color: #d6d6d6 !important;
    border-top: 1px solid #cacaca;
}

.footer-wrapper .footer-bottom .footer-bottom-wrapper p {
    color: #1a1a1a;
}

/* Honor advisors – photo + text cards */
.ifapc-advisor-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.ifapc-advisor-card__photo {
    flex: 0 0 130px;
    width: 130px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
}

.ifapc-advisor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ifapc-advisor-card__body h4 {
    margin-bottom: 0.75rem;
}

.ifapc-advisor-card__body p {
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .ifapc-advisor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ifapc-advisor-card__photo {
        flex: 0 0 auto;
        width: 140px;
    }
}

/* Activities page – card grid */
.ifapc-activities {
    padding-top: 60px;
    padding-bottom: 80px;
}

.ifapc-activities__intro {
    max-width: 640px;
    margin: 12px auto 40px;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-activity-grid {
    margin-top: 8px;
}

.ifapc-activity-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ifapc-activity-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.ifapc-activity-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ifapc-activity-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f5;
}

.ifapc-activity-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ifapc-activity-card:hover .ifapc-activity-card__media img {
    transform: scale(1.05);
}

.ifapc-activity-card__date {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--theme, #c8102e);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
}

.ifapc-activity-card__album {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.ifapc-activity-card__body {
    padding: 20px 22px 22px;
}

.ifapc-activity-card__body h3 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.45;
    color: var(--header, #1a1a1a);
    transition: color 0.2s ease;
}

.ifapc-activity-card:hover .ifapc-activity-card__body h3 {
    color: var(--theme, #c8102e);
}

.ifapc-activity-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme, #c8102e);
}

.ifapc-activity-card__more i {
    transition: transform 0.2s ease;
}

.ifapc-activity-card:hover .ifapc-activity-card__more i {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .ifapc-activity-card__body {
        padding: 16px 18px 18px;
    }

    .ifapc-activity-card__body h3 {
        font-size: 16px;
    }
}

/* Columns page — card grid with thumbnails */
.ifapc-columns {
    padding-top: 56px;
    padding-bottom: 80px;
}

.ifapc-columns__intro {
    max-width: 640px;
    margin: 0 auto 36px;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-column-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ifapc-column-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.ifapc-column-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ifapc-column-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef1f5;
}

.ifapc-column-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ifapc-column-card:hover .ifapc-column-card__media img {
    transform: scale(1.05);
}

.ifapc-column-card__body {
    padding: 20px 22px 22px;
}

.ifapc-column-card__meta {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme, #DC2626);
}

.ifapc-column-card__meta span {
    color: rgba(0, 0, 0, 0.45);
    font-weight: 500;
}

.ifapc-column-card__meta span::before {
    content: "·";
    margin: 0 8px;
}

.ifapc-column-card__body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.45;
    color: var(--header, #1a1a1a);
    transition: color 0.2s ease;
}

.ifapc-column-card:hover .ifapc-column-card__body h3 {
    color: var(--theme, #DC2626);
}

.ifapc-column-card__excerpt {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-column-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme, #DC2626);
}

.ifapc-column-card__more i {
    transition: transform 0.2s ease;
}

.ifapc-column-card:hover .ifapc-column-card__more i {
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .ifapc-column-card__body {
        padding: 16px 18px 18px;
    }

    .ifapc-column-card__body h3 {
        font-size: 16px;
    }
}

/* Column article detail */
.ifapc-column-detail {
    padding-top: 48px;
    padding-bottom: 72px;
    background: #fff;
}

.ifapc-column-detail__meta {
    margin: 0 0 24px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 15px;
}

.ifapc-column-detail__meta span::before {
    content: "·";
    margin: 0 8px;
    color: rgba(0, 0, 0, 0.25);
}

.ifapc-column-detail__poster {
    max-width: 760px;
    margin: 0 auto;
}

.ifapc-column-detail__poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ifapc-column-detail__body {
    max-width: 760px;
    margin: 32px auto 0;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.85;
    font-size: 17px;
}

.ifapc-column-detail__body p {
    margin: 0 0 16px;
}

.ifapc-column-detail__back {
    margin: 36px 0 0;
}

.ifapc-column-detail__back a {
    color: var(--theme, #DC2626);
    font-weight: 600;
    text-decoration: none;
}

.ifapc-column-detail__back a:hover {
    text-decoration: underline;
}

/* Activity detail */
.ifapc-activity-detail {
    padding-top: 48px;
    padding-bottom: 72px;
    background: #fff;
}

.ifapc-activity-detail__meta {
    margin: 0 0 24px;
    color: rgba(0, 0, 0, 0.55);
    font-size: 15px;
}

.ifapc-activity-detail__poster {
    max-width: 900px;
    margin: 0 auto;
}

.ifapc-activity-detail__poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ifapc-activity-detail__body {
    max-width: 760px;
    margin: 32px auto 0;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.85;
    font-size: 17px;
}

.ifapc-activity-detail__body p {
    margin: 0 0 16px;
}

.ifapc-activity-detail__back {
    margin: 36px 0 0;
}

.ifapc-activity-detail__back a {
    color: var(--theme, #DC2626);
    font-weight: 600;
    text-decoration: none;
}

.ifapc-activity-detail__back a:hover {
    text-decoration: underline;
}

/* Awards page */
.ifapc-awards {
    padding-top: 56px;
    padding-bottom: 80px;
}

.ifapc-awards__intro {
    max-width: 640px;
    margin: 0 auto 36px;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-award-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ifapc-award-card:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.ifapc-award-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ifapc-award-card__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eef1f5;
}

.ifapc-award-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.ifapc-award-card:hover .ifapc-award-card__media img {
    transform: scale(1.03);
}

.ifapc-award-card__body {
    padding: 18px 20px 20px;
}

.ifapc-award-card__body h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.45;
    color: var(--header, #1a1a1a);
    transition: color 0.2s ease;
}

.ifapc-award-card:hover .ifapc-award-card__body h3 {
    color: var(--theme, #DC2626);
}

.ifapc-award-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme, #DC2626);
}

.ifapc-award-card__more i {
    transition: transform 0.2s ease;
}

.ifapc-award-card:hover .ifapc-award-card__more i {
    transform: translateX(4px);
}

.ifapc-award-detail {
    padding-top: 48px;
    padding-bottom: 72px;
    background: #fff;
}

.ifapc-award-detail__poster {
    max-width: 900px;
    margin: 0 auto;
}

.ifapc-award-detail__poster img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.ifapc-award-detail__back {
    margin: 28px 0 0;
}

.ifapc-award-detail__back a {
    color: var(--theme, #DC2626);
    font-weight: 600;
    text-decoration: none;
}

.ifapc-award-detail__back a:hover {
    text-decoration: underline;
}

.ifapc-award-detail__body {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    color: rgba(0, 0, 0, 0.72);
    line-height: 1.75;
}

.ifapc-award-detail__body p {
    margin: 0 0 14px;
}

.ifapc-award-detail__back-sep {
    color: rgba(0, 0, 0, 0.35);
}

.ifapc-youtube-embed {
    max-width: 960px;
    margin: 28px auto 0;
}

.ifapc-youtube-embed__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.ifapc-youtube-embed__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ifapc-home-awards__featured {
    margin: 28px auto 40px;
}

.ifapc-home-awards__featured-label {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
}

/* Council page */
.ifapc-council {
    padding-top: 56px;
    padding-bottom: 80px;
}

.ifapc-council__intro {
    max-width: 720px;
    margin: 0 0 48px;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-council-section {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ifapc-council-section:last-of-type {
    border-bottom: none;
    margin-bottom: 32px;
}

.ifapc-council-section__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    font-size: 20px;
    font-weight: 700;
    color: var(--header, #1a1a1a);
}

.ifapc-council-section__title--spaced {
    margin-top: 36px;
}

.ifapc-council-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--theme, #DC2626);
    color: #fff;
    font-size: 14px;
}

.ifapc-council-section__title-en {
    font-size: 15px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.45);
}

.ifapc-council-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 24px;
    justify-content: flex-start;
}

.ifapc-council-grid--one .ifapc-council-member {
    max-width: 180px;
}

.ifapc-council-grid--two .ifapc-council-member,
.ifapc-council-grid--three .ifapc-council-member {
    flex: 0 1 160px;
    max-width: 180px;
}

.ifapc-council-grid--grid .ifapc-council-member {
    flex: 0 1 140px;
    max-width: 160px;
}

.ifapc-council-member {
    text-align: center;
}

.ifapc-council-member__photo {
    margin: 0 auto 14px;
    width: 120px;
    max-width: 100%;
    aspect-ratio: 100 / 144;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.ifapc-council-member__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.ifapc-council-member__name-zh {
    margin: 0 0 4px;
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.4;
}

.ifapc-council-member__name-en {
    margin: 0;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #8c8c8c;
    line-height: 1.35;
}

.ifapc-council-extra {
    padding-top: 8px;
}

.ifapc-council-committees,
.ifapc-council-advisers {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 900px;
}

.ifapc-council-committees li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

.ifapc-council-committees__role {
    flex: 0 0 280px;
    font-weight: 600;
    color: var(--header, #1a1a1a);
}

.ifapc-council-advisers li {
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 575px) {
    .ifapc-council-grid--grid .ifapc-council-member {
        flex: 0 1 calc(50% - 12px);
    }

    .ifapc-council-committees__role {
        flex: 1 1 100%;
    }
}
.breadcrumb-wrapper.ifapc-breadcrumb::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.breadcrumb-wrapper.ifapc-breadcrumb {
    aspect-ratio: 1920 / 600;
    width: 100%;
    padding: 0;
    min-height: 220px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.breadcrumb-wrapper.ifapc-breadcrumb .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Legal pages — plain text only */
.ifapc-legal {
    padding: 48px 0 72px;
    background: #fff;
}

.ifapc-legal__content {
    max-width: 800px;
    margin: 0 auto;
}

.ifapc-legal__content h1 {
    margin: 0 0 28px;
    font-size: 28px;
    line-height: 1.35;
    color: #1a1a1a;
    font-weight: 700;
}

.ifapc-legal__content p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.ifapc-legal__content p:last-child {
    margin-bottom: 0;
}

.ifapc-legal__content a {
    color: var(--theme, #DC2626);
    text-decoration: none;
}

.ifapc-legal__content a:hover {
    text-decoration: underline;
}

/* Media page — text list (images on detail page) */
.ifapc-media {
    padding-top: 56px;
    padding-bottom: 80px;
}

.ifapc-media__intro {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

.ifapc-media-list {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
}

.ifapc-media-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ifapc-media-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ifapc-media-item__link {
    display: block;
    padding: 18px 0;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.ifapc-media-item__link:hover {
    padding-left: 8px;
}

.ifapc-media-item__link h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.45;
    color: var(--header, #1a1a1a);
    transition: color 0.2s ease;
}

.ifapc-media-item__link:hover h3 {
    color: var(--theme, #DC2626);
}

.ifapc-media-item__meta {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--theme, #DC2626);
}

.ifapc-media-item__excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

@media (max-width: 575px) {
    .ifapc-media-item__link {
        padding: 14px 0;
    }

    .ifapc-media-item__link h3 {
        font-size: 16px;
    }

    .ifapc-media-item__excerpt {
        font-size: 14px;
    }
}

/* Home feature detail pages (3 service cards) */
.ifapc-feature-page {
    padding-top: 56px;
    padding-bottom: 80px;
}

.ifapc-feature-page__inner {
    max-width: 900px;
    margin: 0 auto;
}

.ifapc-feature-page__title {
    margin: 0 0 28px;
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
}

.ifapc-feature-page__media {
    margin-bottom: 28px;
}

.ifapc-feature-page__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ifapc-feature-page__media--gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 767px) {
    .ifapc-feature-page__media--gallery {
        grid-template-columns: 1fr;
    }
}

.ifapc-feature-page__text {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.72);
    text-align: center;
}

/* Floating ad — bottom-right square widget */
.ifapc-floating-ad {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 340px;
    max-width: calc(100vw - 32px);
}

.ifapc-floating-ad__box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.ifapc-floating-ad__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(0, 0, 0, 0.55);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ifapc-floating-ad__close:hover {
    color: #000;
}

.ifapc-floating-ad__media {
    display: block;
    aspect-ratio: 1 / 1;
}

.ifapc-floating-ad__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ifapc-floating-ad__footer {
    padding: 12px 14px 14px;
}

.ifapc-floating-ad__btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(84deg, #DC2626 0%, #B91C1C 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ifapc-floating-ad__btn:hover {
    color: #fff;
    opacity: 0.92;
}

@media (max-width: 575px) {
    .ifapc-floating-ad {
        right: 16px;
        bottom: 16px;
        width: 260px;
    }
}
