/* ==========================================================================
   Carternet Multimedia - custom design layer
   Loaded after the theme stylesheets; overrides only. Colours and fonts still
   come from Admin > General Settings (the --main-color-* / --*-font variables).
   ========================================================================== */

:root {
    --cn-radius: 16px;
    --cn-radius-sm: 10px;
    --cn-surface: #f6f7fb;
    --cn-border: #e7e9f0;
    --cn-text: #5b6072;
    --cn-shadow: 0 10px 30px rgba(10, 17, 33, .07);
    --cn-shadow-lg: 0 20px 45px rgba(10, 17, 33, .12);
    --cn-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    color: var(--cn-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
p { color: var(--cn-text); }
img { max-width: 100%; height: auto; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--main-color-two);
    outline-offset: 2px;
}

/* Images whose file is missing collapse into a neutral placeholder (see head.blade.php) */
.cn-img-missing {
    background: linear-gradient(135deg, #eef0f7, #e2e6f3);
    position: relative;
}
.cn-img-missing::after {
    content: "\f03e";
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 34px;
    color: #c2c8da;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* ---------- Section headings ---------- */
.section-title .subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--main-color-one);
    background: rgba(220, 31, 60, .10);
    background: color-mix(in srgb, var(--main-color-one) 10%, transparent);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.section-title .title {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--heading-color);
}
.section-title.padding-bottom-100 { padding-bottom: 80px; }

/* ---------- Buttons ---------- */
.cagency-btn,
.boxed-btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform .25s var(--cn-ease), box-shadow .25s var(--cn-ease), background-color .25s;
}
.cagency-btn {
    padding: 9px 9px 9px 28px;
    box-shadow: 0 10px 22px rgba(220, 31, 60, .30);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--main-color-one) 30%, transparent);
}
.cagency-btn i {
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    margin-left: 14px;
}
.cagency-btn:hover { transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.top-bar-area { font-size: 14px; }
.top-bar-area .social-icons li a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color .2s;
}
.top-bar-area .social-icons li a:hover { background: rgba(255, 255, 255, .14); }
.top-bar-area .btn-wrapper .boxed-btn { border-radius: 0; }

/* ---------- Navigation ---------- */
.navbar-area .nav-container .logo-wrapper img,
.header-style-03.header-variant-08 .navbar-area .nav-container .logo-wrapper img { max-height: 64px; width: auto; }
.navbar-area .nav-container .navbar-collapse .navbar-nav { flex-wrap: nowrap; white-space: nowrap; }
.header-style-03.header-variant-08 .navbar-area.nav-fixed {
    box-shadow: 0 6px 24px rgba(10, 17, 33, .08);
    backdrop-filter: saturate(160%) blur(8px);
    background-color: rgba(255, 255, 255, .94);
}
.navbar-area .nav-container .navbar-collapse .navbar-nav > li > a {
    font-weight: 600;
    color: var(--heading-color);
    transition: color .2s;
}
.navbar-area .nav-container .navbar-collapse .navbar-nav > li > a:hover,
.navbar-area .nav-container .navbar-collapse .navbar-nav > li.current-menu-item > a { color: var(--main-color-one); }
.navbar-area .nav-container .navbar-collapse .navbar-nav li .sub-menu {
    border-radius: var(--cn-radius-sm);
    box-shadow: var(--cn-shadow-lg);
    border: 1px solid var(--cn-border);
    overflow: hidden;
}

/* ---------- Home: hero ---------- */
.cagency-header-static .header-area {
    padding: 110px 0 130px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 0% 0%, color-mix(in srgb, var(--main-color-two) 9%, transparent), transparent 60%),
        radial-gradient(700px 500px at 100% 100%, color-mix(in srgb, var(--main-color-one) 8%, transparent), transparent 60%);
}
.cagency-header-static .header-area .title {
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 800;
    margin-bottom: 22px;
}
.cagency-header-static .header-inner { position: relative; z-index: 2; }
.cagency-header-static .header-inner .description,
.cagency-header-static .header-inner .description p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 0;
}
.cagency-header-static .header-inner .description,
.cagency-header-static .header-inner .description * { text-align: left !important; }
.cagency-header-static .header-inner .description p { display: inline; max-width: none; }
.cagency-header-static .header-inner .description p::after { content: " "; }
.cagency-header-static .header-inner .description br { display: none; }
.cagency-header-static .shape-image { opacity: .5; pointer-events: none; z-index: 0; }
.cagency-header-static .shape-image.shape-03 { display: none; }
.cagency-header-static .header-area .right-image {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 47%;
    max-width: 760px;
}
.cagency-header-static .header-area .right-image > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 40px 0 0 40px;
    box-shadow: var(--cn-shadow-lg);
}
.cagency-header-static .header-area .right-image .shape-04 { bottom: -46px; left: -60px; opacity: .7; }

/* ---------- Home: services ---------- */
.logistics-what-we-offer-area { padding-top: 100px; }
.cagency-single-what-we-cover-item { margin-bottom: 80px; height: calc(100% - 80px); }
.cagency-single-what-we-cover-item .content {
    height: 100%;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    padding: 58px 28px 28px;
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cagency-single-what-we-cover-item:hover .content {
    transform: translateY(-6px);
    box-shadow: var(--cn-shadow-lg);
    border-color: transparent;
}
.cagency-single-what-we-cover-item .icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    font-size: 32px;
    border-radius: 18px;
    top: -36px;
    left: 28px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(10, 17, 33, .14);
    transition: transform .3s var(--cn-ease);
}
.cagency-single-what-we-cover-item:hover .icon { transform: translateY(-6px) rotate(-4deg); }
.cagency-single-what-we-cover-item .content .title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cagency-single-what-we-cover-item .content .title a { color: var(--heading-color); }
.cagency-single-what-we-cover-item .content .title a:hover { color: var(--main-color-one); }
.cagency-single-what-we-cover-item .content p { line-height: 1.7; margin-bottom: 16px; }
.cagency-single-what-we-cover-item .content .readmore {
    font-weight: 700;
    color: var(--main-color-two);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cagency-single-what-we-cover-item .content .readmore i { transition: transform .25s var(--cn-ease); }
.cagency-single-what-we-cover-item:hover .content .readmore i { transform: translateX(5px); }

/* ---------- Home: video + stats ---------- */
.logistic-video-wrap {
    border: 0;
    border-radius: 24px;
    box-shadow: var(--cn-shadow-lg);
}
.logistic-video-wrap > img {
    border-radius: 24px;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    max-height: 600px;
}
.logistic-video-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 17, 33, 0) 40%, rgba(10, 17, 33, .45));
    pointer-events: none;
}
.logistic-video-wrap .video-play-btn {
    z-index: 2;
    width: 88px;
    height: 88px;
    line-height: 88px;
    font-size: 20px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .25);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.logistic-video-wrap .video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .2);
}
.cagency-counterup-area { background-color: var(--cn-surface); padding-bottom: 90px; }
.cagency-counterup-item { margin-bottom: 30px; }
.cagency-counterup-item .number { font-size: 40px; line-height: 1.2; margin-bottom: 14px; position: relative; }
.cagency-counterup-item .number::after { left: 50%; margin-left: -34px; top: -22px; opacity: .9; }
.cagency-counterup-item .title { font-size: 16px; font-weight: 600; color: var(--cn-text); }

/* ---------- Home: work process ---------- */
.creative-agency-work-process-area { padding-top: 100px; padding-bottom: 60px; }
.cagency-work-process-list .single-work-process-item .title { font-size: 17px; font-weight: 700; }
.cagency-work-process-list .single-work-process-item .num-wrap:before { border-bottom-color: #cfd4e3; }

/* ---------- Home: portfolio ---------- */
.creative-agency-project-area { padding-top: 60px; }
.case-studies-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.case-studies-menu li,
.case-studies-menu li + li { margin-left: 0; }
.case-studies-menu.style-01 li {
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid var(--cn-border);
    font-size: 15px;
    transition: all .2s;
}
.case-studies-menu.style-01 li:hover { border-color: var(--main-color-one); color: var(--main-color-one); }
.case-studies-menu.style-01 li.active {
    background: var(--main-color-one);
    border-color: var(--main-color-one);
    color: #fff;
}
.case-studies-masonry .masonry-item { margin-bottom: 30px; }
.single-case-studies-item {
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
}
.single-case-studies-item .thumb { aspect-ratio: 4 / 3; background: var(--cn-surface); }
.single-case-studies-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--cn-ease);
}
.single-case-studies-item:hover .thumb img { transform: scale(1.06); }
.single-case-studies-item:before { display: none; }
.single-case-studies-item:after {
    width: 100%;
    height: 100%;
    visibility: visible;
    background: linear-gradient(180deg, rgba(10, 17, 33, 0) 45%, rgba(10, 17, 33, .8));
    transition: none;
}
.single-case-studies-item .cart-icon,
.single-case-studies-item:hover .cart-icon {
    display: block;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    padding: 18px 20px;
}
.single-case-studies-item .cart-icon .title,
.single-case-studies-item:hover .cart-icon .title {
    text-align: left;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0;
}
.single-case-studies-item .cart-icon .title a { color: #fff; }
.single-case-studies-item .cart-icon .title a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Home: call to action ---------- */
.creative-agency-call-to-action {
    background: var(--cn-surface);
    overflow: hidden;
    margin-top: 40px;
}
.creative-agency-call-to-action .right-image-wrap {
    top: 0;
    bottom: 0;
    width: 46%;
}
.creative-agency-call-to-action .right-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}
.cagency-cta-area-inner .title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; }
.cagency-cta-area-inner .description { font-size: 17px; }

/* ---------- Home: testimonials ---------- */
.creative-agency-testimonial-area { padding-top: 100px; padding-bottom: 100px; }
.creative-agency-testimonial-area .owl-stage { display: flex; }
.creative-agency-testimonial-area .owl-item { display: flex; }
.cagency-single-testimonial-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    padding: 32px 28px;
    text-align: left;
    box-shadow: var(--cn-shadow);
    margin: 6px 0 24px;
}
.cagency-single-testimonial-item > .content { flex: 1; }
.cagency-single-testimonial-item i { font-size: 30px; line-height: 1; margin-bottom: 18px; }
.cagency-single-testimonial-item .description {
    font-size: 16px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cagency-single-testimonial-item .author-details {
    justify-content: flex-start;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--cn-border);
}
.cagency-single-testimonial-item .author-details .thumb { margin-right: 14px; flex: none; }
.cagency-single-testimonial-item .author-details .thumb img { width: 52px; height: 52px; object-fit: cover; }
.cn-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--main-color-one), var(--main-color-two));
}
.logistic-dots .owl-dots div { width: 10px; height: 10px; border-radius: 999px; background-color: #d9dcea; transition: all .25s; }
.logistic-dots .owl-dots div.active { width: 28px; background-color: var(--main-color-one); }

/* ---------- Blog cards ---------- */
.creative-agency-news-area { padding-bottom: 100px; }
.creative-agency-news-area .owl-stage { display: flex; }
.creative-agency-news-area .owl-item { display: flex; }
.single-portfolio-blog-grid.creative-agency-page {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    margin: 6px 0 24px;
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.single-portfolio-blog-grid.creative-agency-page:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); }
.single-portfolio-blog-grid.creative-agency-page .thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--cn-surface);
    overflow: hidden;
}
.single-portfolio-blog-grid.creative-agency-page .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform .6s var(--cn-ease);
}
.single-portfolio-blog-grid.creative-agency-page:hover .thumb img { transform: scale(1.05); }
.single-portfolio-blog-grid.creative-agency-page .thumb .time-wrap {
    left: 16px;
    top: 16px;
    right: auto;
    bottom: auto;
    width: 54px;
    height: 58px;
    border: 0;
    border-radius: 12px;
    padding-top: 8px;
    box-shadow: 0 8px 18px rgba(10, 17, 33, .18);
    z-index: 2;
}
.single-portfolio-blog-grid.creative-agency-page .thumb .time-wrap span { display: block; }
.single-portfolio-blog-grid.creative-agency-page .thumb .time-wrap .month { font-size: 12px; text-transform: uppercase; font-weight: 600; }
.single-portfolio-blog-grid.creative-agency-page .content {
    background: #fff;
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.single-portfolio-blog-grid.creative-agency-page .content .title { font-size: 19px; line-height: 1.4; font-weight: 700; margin-bottom: 10px; }
.single-portfolio-blog-grid.creative-agency-page .content .title a:hover { color: var(--main-color-one); }
.single-portfolio-blog-grid.creative-agency-page .content .excerpt {
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.single-portfolio-blog-grid.creative-agency-page .content .readmore {
    margin-top: auto;
    font-weight: 700;
    color: var(--main-color-two);
    text-decoration: none;
}
.single-portfolio-blog-grid.creative-agency-page .content .readmore::after { content: " \2192"; }

/* ---------- Footer ---------- */
.footer-area .footer-top { padding-top: 80px; padding-bottom: 50px; }
.footer-area .widget .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.footer-area .footer-widget .about_us_widget img { max-width: 210px; }
.footer-area .widget ul li { overflow-wrap: break-word; }
.footer-area .contact_info_list li { font-size: 15px; }
.footer-area .widget a { transition: color .2s, opacity .2s; }
.footer-area .widget a:hover { color: var(--main-color-one); }
.footer-area .recent_post_item li.single-recent-post-item .thumb.cn-img-missing { display: none; }
.footer-area .subscribe-form .form-control,
.footer-area .newsletter-widget .form-control { border-radius: 999px; padding-left: 20px; }
.copyright-area { font-size: 14px; }

.back-to-top { border-radius: 50%; box-shadow: var(--cn-shadow-lg); }

/* ---------- Cookie notice ---------- */
#gdpr-cookie-message {
    left: 20px;
    right: auto;
    bottom: 20px;
    max-width: 380px;
    background: #fff;
    color: var(--cn-text);
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow-lg);
    padding: 20px 22px;
}
#gdpr-cookie-message h4 { color: var(--heading-color); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
#gdpr-cookie-message p {
    color: var(--cn-text);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#gdpr-cookie-message p a { color: var(--main-color-two); border-bottom: 0; text-decoration: underline; }
#gdpr-cookie-message p:last-child { display: flex; gap: 10px; overflow: visible; margin-bottom: 0; }
#gdpr-cookie-message button {
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}
#gdpr-cookie-message button#gdpr-cookie-accept { background: var(--main-color-one); color: #fff; }
#gdpr-cookie-message button#gdpr-cookie-advanced,
#gdpr-cookie-message button#gdpr-cookie-decline { background: var(--cn-surface); color: var(--heading-color); }
#gdpr-cookie-message .gdpr-cookie-close,
#gdpr-cookie-message .close { color: var(--cn-text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .cagency-header-static .header-area .right-image { right: 0; width: 44%; }
    .cagency-header-static .header-area .title { font-size: clamp(34px, 4.4vw, 52px); }
}

@media (max-width: 991px) {
    .cagency-header-static .header-area { padding: 60px 0 70px; }
    .cagency-header-static .header-area .right-image {
        display: block;
        position: relative;
        top: auto;
        transform: none;
        width: auto;
        max-width: none;
        margin: 44px 15px 0;
    }
    .cagency-header-static .header-area .right-image > img { border-radius: 24px; }
    .cagency-header-static .header-area .right-image .shape-04,
    .cagency-header-static .shape-image { display: none; }
    .cagency-header-static .header-area { display: flex; flex-direction: column; }
    .cagency-header-static .header-area > .container { order: 1; }
    .cagency-header-static .header-area > .right-image { order: 2; }

    .creative-agency-call-to-action { padding: 70px 0 0; }
    .creative-agency-call-to-action .right-image-wrap {
        display: block;
        position: relative;
        width: auto;
        margin-top: 40px;
    }
    .creative-agency-call-to-action .right-image-wrap img { border-radius: 0; aspect-ratio: 16 / 9; }
    .creative-agency-call-to-action { display: flex; flex-direction: column; }
    .creative-agency-call-to-action > .container { order: 1; }
    .creative-agency-call-to-action > .right-image-wrap { order: 2; }

    .cagency-counterup-area { padding-bottom: 50px; }
    .cagency-work-process-list { display: flex; flex-wrap: wrap; justify-content: center; }
    .creative-agency-call-to-action .shape { display: none; }
    .cagency-work-process-list .single-work-process-item { width: 33.333%; margin-bottom: 40px; }
}

@media (max-width: 767px) {
    .logistics-what-we-offer-area { padding-top: 70px; }
    .section-title.padding-bottom-100 { padding-bottom: 66px; }
    .cagency-single-what-we-cover-item { margin-bottom: 60px; height: auto; }
    .cagency-counterup-area .row > div { flex: 0 0 50%; max-width: 50%; }
    .cagency-counterup-item .number { font-size: 30px; }
    .cagency-counterup-item .title { font-size: 14px; }
    .cagency-work-process-list .single-work-process-item { width: 50%; }
    .cagency-work-process-list .single-work-process-item .title { font-size: 15px; }
    .case-studies-masonry .masonry-item { flex: 0 0 50%; max-width: 50%; width: 50%; padding: 0 8px; margin-bottom: 16px; }
    .single-case-studies-item .cart-icon,
    .single-case-studies-item:hover .cart-icon { padding: 12px 14px; }
    .single-case-studies-item .cart-icon .title,
    .single-case-studies-item:hover .cart-icon .title { font-size: 14px; }
    .cn-img-missing::after { font-size: 24px; }
    .creative-agency-work-process-area { padding-top: 70px; padding-bottom: 20px; }
    .creative-agency-testimonial-area { padding-top: 70px; padding-bottom: 70px; }
    .creative-agency-news-area { padding-bottom: 70px; }
    .logistic-video-wrap,
    .logistic-video-wrap > img,
    .logistic-video-wrap::after { border-radius: 16px; }
    .logistic-video-wrap .shape { display: none; }
    .logistic-video-wrap .video-play-btn { width: 64px; height: 64px; line-height: 64px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .25); }
    .footer-area .footer-top { padding-top: 60px; padding-bottom: 30px; }

    #gdpr-cookie-message { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
    #gdpr-cookie-message p { -webkit-line-clamp: 2; }
}

/* ==========================================================================
   Inner pages: page banner
   ========================================================================== */
.breadcrumb-area .breadcrumb-inner { padding: 170px 0 90px; }
.breadcrumb-area:before { background: linear-gradient(180deg, rgba(10, 17, 33, .78), rgba(10, 17, 33, .62)); }
.breadcrumb-area .page-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.01em; }
.breadcrumb-area .page-list li { font-size: 15px; }
.breadcrumb-area .page-list li:first-child a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pagination ---------- */
.pagination-wrapper { margin-top: 20px; }
.pagination-wrapper ul.pagination { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.pagination-wrapper ul li .page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    border: 1px solid var(--cn-border);
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}
.pagination-wrapper ul li.disabled .page-link { color: #b6bbcb; background: transparent; }
.pagination-wrapper ul li.page-item.active .page-link { color: #fff; }

/* ==========================================================================
   Services: catalogue
   ========================================================================== */
.cn-services { padding: 80px 0 100px; }
.cn-services-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.cn-services-intro { max-width: 560px; }
.cn-services-heading {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--heading-color);
    margin-bottom: 10px;
}
.cn-services-intro p { font-size: 17px; line-height: 1.7; margin: 0; }

.cn-services-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 440px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    padding: 6px 6px 6px 46px;
    box-shadow: var(--cn-shadow);
    transition: border-color .2s, box-shadow .2s;
}
.cn-services-search:focus-within { border-color: var(--main-color-two); }
.cn-services-search > i { position: absolute; left: 20px; color: #9aa1b5; font-size: 15px; }
.cn-services-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    height: 44px;
    font-size: 15px;
    color: var(--heading-color);
}
.cn-services-search input:focus-visible { outline: 0; }
.cn-services-search button {
    border: 0;
    border-radius: 999px;
    height: 44px;
    padding: 0 22px;
    font-weight: 700;
    color: #fff;
    background: var(--main-color-two);
    cursor: pointer;
    transition: filter .2s;
}
.cn-services-search button:hover { filter: brightness(.92); }

.cn-services-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--cn-border);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    white-space: nowrap;
    transition: all .2s;
}
.cn-pill:hover { border-color: var(--main-color-one); color: var(--main-color-one); }
.cn-pill-count {
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    text-align: center;
    background: var(--cn-surface);
    color: var(--cn-text);
}
.cn-pill.active { background: var(--main-color-one); border-color: var(--main-color-one); color: #fff; }
.cn-pill.active .cn-pill-count { background: rgba(255, 255, 255, .22); color: #fff; }

.cn-services-result { margin: -12px 0 28px; font-size: 15px; }
.cn-services-result a { margin-left: 10px; color: var(--main-color-two); font-weight: 700; text-decoration: underline; }

.cn-services-grid > [class*="col-"] { display: flex; margin-bottom: 30px; }
.cn-service-card {
    --tone: var(--main-color-one);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cn-service-card.cn-tone-2 { --tone: var(--main-color-two); }
.cn-service-card.cn-tone-3 { --tone: #12a37f; }
.cn-service-card.cn-tone-4 { --tone: #7c5cff; }
.cn-service-card.cn-tone-5 { --tone: #e88a00; }
.cn-service-card.cn-tone-6 { --tone: #0ea5c9; }
.cn-service-card:hover,
.cn-service-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--cn-shadow-lg);
    border-color: var(--tone);
}
.cn-service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--tone);
    background: #f1f3f9;
    background: color-mix(in srgb, var(--tone) 11%, #fff);
    margin-bottom: 20px;
    transition: background-color .3s, color .3s;
}
.cn-service-icon i { line-height: 1; }
.cn-service-icon img { max-width: 34px; max-height: 34px; }
.cn-service-card:hover .cn-service-icon { background: var(--tone); color: #fff; }
.cn-service-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8b91a5;
    margin-bottom: 6px;
}
.cn-service-title { font-size: 19px; line-height: 1.35; font-weight: 700; margin-bottom: 10px; }
.cn-service-title a { color: var(--heading-color); }
.cn-service-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--cn-radius); }
.cn-service-excerpt {
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cn-service-more {
    margin-top: auto;
    font-weight: 700;
    font-size: 15px;
    color: var(--tone);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cn-service-more i { transition: transform .25s var(--cn-ease); }
.cn-service-card:hover .cn-service-more i { transform: translateX(5px); }

.cn-services-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--cn-surface);
    border-radius: var(--cn-radius);
    margin-bottom: 30px;
}
.cn-services-empty > i { font-size: 34px; color: #b6bbcb; margin-bottom: 16px; }
.cn-services-empty h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cn-services-empty p { max-width: 460px; margin: 0 auto 22px; }

.cn-services-cta {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 44px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(120deg, #0a1121, #14254a);
    background: linear-gradient(120deg, #0a1121, color-mix(in srgb, var(--main-color-two) 45%, #0a1121));
}
.cn-services-cta h3 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin-bottom: 8px; }
.cn-services-cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 560px; font-size: 16px; line-height: 1.7; }
.cn-services-cta .cagency-btn { flex: none; }
.cn-services-cta .cagency-btn:hover { background: #fff; color: var(--heading-color); }

/* ==========================================================================
   Services: detail page
   ========================================================================== */
.service-details { padding-top: 80px; padding-bottom: 90px; }
.service-details-item .thumb img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
}
.cn-service-lead {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--heading-color);
    padding-left: 18px;
    border-left: 4px solid var(--main-color-one);
    margin-bottom: 28px;
}
.service-description * { font-family: inherit !important; }
.service-description { font-size: 17px; line-height: 1.8; }
.service-description p { font-size: 17px; line-height: 1.8; margin-bottom: 18px; }
.service-description h2 { font-size: 26px !important; line-height: 1.3 !important; text-align: left !important; padding-bottom: 16px !important; margin-top: 30px; color: var(--heading-color) !important; }
.service-description h3 { font-size: 20px; line-height: 1.4; font-weight: 700; color: var(--heading-color); margin: 28px 0 14px; }
.service-description ul[style] { gap: 0 5%; padding: 0; list-style: none !important; }
.service-description ul[style] li { max-width: none !important; flex: 1 1 45% !important; }
.service-description ul[style] li h3 { font-size: 17px !important; line-height: 1.45 !important; margin: 0 0 4px; }
.service-description ul[style] li p { color: var(--cn-text) !important; line-height: 1.7 !important; font-size: 16px; }
.service-description > ul:not([style]) { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.service-description > ul:not([style]) li {
    position: relative;
    padding: 14px 16px 14px 46px;
    background: var(--cn-surface);
    border-radius: var(--cn-radius-sm);
    font-size: 16px;
    line-height: 1.55;
    color: var(--heading-color);
}
.service-description > ul:not([style]) li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    position: absolute;
    left: 14px;
    top: 15px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: var(--main-color-two);
}

.widget-nav-menu.service-category {
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    background: #fff;
    box-shadow: var(--cn-shadow);
    overflow: hidden;
}
.widget-nav-menu.service-category ul { max-height: 420px; overflow-y: auto; }
.widget-nav-menu.service-category ul li { margin: 0; }
.widget-nav-menu.service-category ul li a.service-widget {
    display: block;
    padding: 13px 20px;
    margin: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cn-border);
    border-radius: 0;
    transition: background-color .2s, padding-left .2s;
}
.widget-nav-menu.service-category ul li:last-child a.service-widget { border-bottom: 0; }
.widget-nav-menu.service-category ul li a.service-widget .service-title { padding: 0; margin: 0; }
.widget-nav-menu.service-category ul li a.service-widget .title { font-size: 15px; font-weight: 600; margin: 0; color: var(--heading-color); }
.widget-nav-menu.service-category ul li a.service-widget:hover { background: var(--cn-surface); padding-left: 26px; }
.widget-nav-menu.service-category ul li a.service-widget.active { background: var(--main-color-one); }
.widget-nav-menu.service-category ul li a.service-widget.active .title { color: #fff; }

.attorney-contact-form-wrap { border-radius: var(--cn-radius); padding: 32px 28px 22px; box-shadow: var(--cn-shadow-lg); }
.attorney-contact-form-wrap .title { font-size: 22px; margin-bottom: 22px; }
.attorney-contact-form-wrap .attorney-contact-form .form-group .form-control {
    background-color: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--cn-radius-sm);
    height: 48px;
    padding: 10px 16px;
    font-size: 15px;
}
.attorney-contact-form-wrap .attorney-contact-form .form-group textarea.form-control { height: 110px; max-height: none; }
.attorney-contact-form-wrap .attorney-contact-form .form-group .form-control::placeholder { font-size: 14px; color: rgba(255, 255, 255, .85); }
.attorney-contact-form-wrap .attorney-contact-form .form-group .form-control:focus { background-color: rgba(255, 255, 255, .22); border-color: #fff; box-shadow: none; }
.attorney-contact-form-wrap .attorney-contact-form .submit-btn {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--heading-color);
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s var(--cn-ease), box-shadow .2s;
}
.attorney-contact-form-wrap .attorney-contact-form .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(10, 17, 33, .2); }

@media (max-width: 991px) {
    .cn-services-head { flex-direction: column; align-items: stretch; }
    .cn-services-search { flex: none; }
    .cn-services-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
    .service-details .col-lg-4 { margin-top: 50px; }
}
@media (max-width: 767px) {
    .breadcrumb-area .breadcrumb-inner { padding: 120px 0 60px; }
    .cn-services { padding: 50px 0 70px; }
    .cn-services-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px 28px; padding: 4px 15px 10px; scrollbar-width: none; }
    .cn-services-filter::-webkit-scrollbar { display: none; }
    .cn-services-grid > [class*="col-"] { margin-bottom: 18px; }
    .cn-service-card { padding: 22px; }
    .cn-services-search button { padding: 0 16px; }
    .service-details { padding-top: 50px; padding-bottom: 60px; }
    .service-description > ul:not([style]) { grid-template-columns: 1fr; }
    .service-description ul[style] li { flex: 1 1 100% !important; }
    .cn-service-lead { font-size: 18px; }
}

/* ==========================================================================
   Popups (welcome notice, image, promotion, discount)
   ========================================================================== */
.nx-popup-backdrop {
    background-color: rgba(10, 17, 33, .62);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: opacity .35s ease, visibility .35s ease;
}
.nx-popup-wrapper { padding: 20px; transition: opacity .3s ease, visibility .3s ease; pointer-events: none; }
.nx-popup-wrapper.show { pointer-events: auto; }
.nx-popup-wrapper .nx-modal-content-wrapper { max-width: 100%; }
.nx-popup-wrapper .nx-modal-inner-content-wrapper {
    max-width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10, 17, 33, .38);
    transform: translateY(26px) scale(.95);
    transition: transform .3s ease;
}
.nx-popup-wrapper.show .nx-modal-inner-content-wrapper { animation: cn-pop-in .65s cubic-bezier(.2, .9, .25, 1.12) both; }

.nx-popup-wrapper.nx-popup-wrapper .nx-modal-inner-content-wrapper .nx-popup-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 5;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--heading-color);
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(10, 17, 33, .18);
    transition: transform .3s var(--cn-ease), background-color .2s, color .2s;
}
.nx-popup-wrapper.nx-popup-wrapper .nx-modal-inner-content-wrapper .nx-popup-close:hover {
    transform: rotate(90deg);
    background: var(--main-color-one);
    color: #fff;
}

/* ---------- Welcome notice ---------- */
.nx-popup-wrapper.notice-modal .nx-modal-inner-content-wrapper.cn-welcome {
    width: 800px;
    height: auto;
    padding: 0;
    background: #fff;
    background-image: none;
}
.nx-popup-wrapper.notice-modal .cn-welcome .nx-modal-content {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: stretch;
    justify-content: normal;
    height: auto;
    text-align: left;
}
.cn-welcome-art {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #0a7cc4, #0a1121);
    background: linear-gradient(155deg, var(--main-color-two), color-mix(in srgb, var(--main-color-two) 25%, #0a1121));
}
.cn-welcome-blob { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cn-welcome-blob-1 { width: 220px; height: 220px; left: -80px; top: -70px; animation: cn-float 7s ease-in-out infinite; }
.cn-welcome-blob-2 { width: 170px; height: 170px; right: -60px; bottom: -50px; background: rgba(255, 255, 255, .08); animation: cn-float 9s ease-in-out infinite reverse; }
.cn-welcome-spark { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .2; animation: cn-twinkle 2.6s ease-in-out infinite; }
.cn-welcome-spark-1 { left: 22%; top: 24%; }
.cn-welcome-spark-2 { right: 18%; top: 34%; width: 7px; height: 7px; animation-delay: .8s; }
.cn-welcome-spark-3 { left: 30%; bottom: 20%; width: 6px; height: 6px; background: var(--main-color-one); opacity: .9; animation-delay: 1.5s; }
.cn-welcome-icon {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--main-color-one);
    box-shadow: 0 18px 40px rgba(10, 17, 33, .3);
    animation: cn-bob 3.2s ease-in-out infinite;
}
.cn-welcome-icon i { position: relative; z-index: 1; transform-origin: 30% 65%; animation: cn-wiggle 2.8s ease-in-out infinite; }
.cn-welcome-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .65);
    animation: cn-ring 2.6s ease-out infinite;
}
.cn-welcome-ring + .cn-welcome-ring { animation-delay: 1.3s; }

.cn-welcome-body { padding: 48px 46px 42px 42px; align-self: center; }
.cn-welcome-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--main-color-one);
    background: rgba(220, 31, 60, .1);
    background: color-mix(in srgb, var(--main-color-one) 10%, transparent);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nx-popup-wrapper.notice-modal .cn-welcome .cn-welcome-body .title {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--heading-color);
    margin-bottom: 14px;
}
.nx-popup-wrapper.notice-modal .cn-welcome .cn-welcome-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--cn-text);
    margin-bottom: 26px;
}
.cn-welcome-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cn-welcome-actions .cagency-btn { position: relative; overflow: hidden; }
.cn-welcome-actions .cagency-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: cn-shine 3.4s ease-in-out infinite;
}
.cn-welcome-actions .cagency-btn i { transition: transform .25s var(--cn-ease); }
.cn-welcome-actions .cagency-btn:hover i { transform: translateX(4px); }
.cn-welcome-link {
    position: relative;
    font-weight: 700;
    color: var(--heading-color);
    padding-bottom: 3px;
}
.cn-welcome-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--main-color-two);
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform .3s var(--cn-ease);
}
.cn-welcome-link:hover { color: var(--main-color-two); }
.cn-welcome-link:hover::after { transform: scaleX(1); }

/* staggered entrance of the art and text once the popup opens */
.nx-popup-wrapper.show .cn-welcome-art { animation: cn-slide-in .7s var(--cn-ease) both; }
.nx-popup-wrapper.show .cn-welcome-body > * { animation: cn-rise .6s var(--cn-ease) both; }
.nx-popup-wrapper.show .cn-welcome-body > *:nth-child(1) { animation-delay: .22s; }
.nx-popup-wrapper.show .cn-welcome-body > *:nth-child(2) { animation-delay: .32s; }
.nx-popup-wrapper.show .cn-welcome-body > *:nth-child(3) { animation-delay: .42s; }
.nx-popup-wrapper.show .cn-welcome-body > *:nth-child(4) { animation-delay: .52s; }

@keyframes cn-pop-in {
    from { opacity: 0; transform: translateY(40px) scale(.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cn-slide-in {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes cn-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes cn-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes cn-wiggle {
    0%, 55%, 100% { transform: rotate(0); }
    62% { transform: rotate(-14deg); }
    70% { transform: rotate(10deg); }
    78% { transform: rotate(-8deg); }
    86% { transform: rotate(5deg); }
}
@keyframes cn-ring {
    from { transform: scale(1); opacity: .8; }
    to { transform: scale(1.75); opacity: 0; }
}
@keyframes cn-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(14px, 18px); }
}
@keyframes cn-twinkle {
    0%, 100% { transform: scale(.6); opacity: .15; }
    50% { transform: scale(1.3); opacity: .95; }
}
@keyframes cn-shine {
    0%, 60% { left: -60%; }
    100% { left: 130%; }
}

@media (max-width: 767px) {
    .nx-popup-wrapper { padding: 14px; }
    .nx-popup-wrapper .nx-modal-inner-content-wrapper,
    .nx-popup-wrapper.notice-modal .nx-modal-inner-content-wrapper.cn-welcome { width: 100%; margin: 0; max-height: calc(100vh - 28px); overflow-y: auto; height: auto; }
    .nx-popup-wrapper { overflow: hidden; }
    .nx-popup-wrapper.notice-modal .cn-welcome .nx-modal-content { grid-template-columns: 1fr; }
    .cn-welcome-art { min-height: 150px; }
    .cn-welcome-icon { width: 84px; height: 84px; font-size: 32px; }
    .cn-welcome-body { padding: 26px 24px 28px; }
    .nx-popup-wrapper.notice-modal .cn-welcome .cn-welcome-body .title { font-size: 26px; }
    .nx-popup-wrapper.notice-modal .cn-welcome .cn-welcome-body p { font-size: 15px; margin-bottom: 20px; }
}

/* ==========================================================================
   About page
   ========================================================================== */
.cn-about { overflow: hidden; }
.cn-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--main-color-one);
    background: rgba(220, 31, 60, .1);
    background: color-mix(in srgb, var(--main-color-one) 10%, transparent);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.cn-about-title {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--heading-color);
    margin-bottom: 18px;
}
/* pasted rich text: drop the inline fonts, colours and centring it arrived with */
.cn-about-text,
.cn-about-text * {
    font-family: inherit !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: var(--cn-text) !important;
    text-align: left !important;
    background: transparent !important;
}
.cn-about-text p { margin-bottom: 16px; }
.cn-section-head { margin-bottom: 50px; }
.cn-section-head p { max-width: 640px; margin: 14px auto 0; font-size: 17px; line-height: 1.7; }
.cn-text-link { font-weight: 700; color: var(--main-color-two); display: inline-flex; align-items: center; gap: 8px; }
.cn-text-link i { transition: transform .25s var(--cn-ease); }
.cn-text-link:hover { color: var(--main-color-one); }
.cn-text-link:hover i { transform: translateX(5px); }

/* ---------- Intro ---------- */
.cn-about-intro { padding: 90px 0 70px; }
.cn-about-collage { position: relative; height: 500px; max-width: 520px; }
.cn-about-photo { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--cn-shadow-lg); background: var(--cn-surface); }
.cn-about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-about-photo-1 { left: 0; top: 0; width: 66%; height: 86%; }
.cn-about-photo-2 { right: 0; bottom: 0; width: 52%; height: 58%; border: 8px solid #fff; animation: cn-bob 5s ease-in-out infinite; }
.cn-about-dots {
    position: absolute;
    right: 4%;
    top: 4%;
    width: 130px;
    height: 110px;
    z-index: -1;
    background-image: radial-gradient(#c9cfe0 2.4px, transparent 2.6px);
    background-size: 20px 20px;
}
.cn-about-quote {
    position: relative;
    margin: 26px 0 0;
    padding: 20px 22px 20px 74px;
    border-radius: var(--cn-radius);
    background: var(--cn-surface);
    border-left: 4px solid var(--main-color-one);
}
.cn-about-quote i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    line-height: 1;
    color: var(--main-color-one);
}
.cn-about-quote p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--heading-color); }

/* ---------- Key features ---------- */
.cn-about-features { padding: 20px 0 70px; }
.cn-about-features .row > [class*="col-"] { display: flex; margin-bottom: 30px; }
.cn-feature {
    --tone: var(--main-color-one);
    width: 100%;
    text-align: center;
    padding: 34px 22px 30px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cn-feature.cn-tone-2 { --tone: var(--main-color-two); }
.cn-feature.cn-tone-3 { --tone: #12a37f; }
.cn-feature.cn-tone-4 { --tone: #7c5cff; }
.cn-feature:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); border-color: var(--tone); }
.cn-feature-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--tone);
    background: #f1f3f9;
    background: color-mix(in srgb, var(--tone) 11%, #fff);
    transition: background-color .3s, color .3s, transform .3s var(--cn-ease);
}
.cn-feature-icon i { line-height: 1; }
.cn-feature:hover .cn-feature-icon { background: var(--tone); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cn-feature-title { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--heading-color); margin: 0; }

/* ---------- Mission ---------- */
.cn-about-mission { padding: 90px 0; background: var(--cn-surface); }
.cn-about-mission .cagency-btn { margin-top: 12px; }
.cn-about-map img { width: 100%; opacity: .9; }

/* ---------- Story / video ---------- */
.cn-about-story { padding: 90px 0; }
.cn-story-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--cn-shadow-lg);
    background: linear-gradient(140deg, #0a1121, #14254a);
    background: linear-gradient(140deg, #0a1121, color-mix(in srgb, var(--main-color-two) 40%, #0a1121));
}
.cn-story-media {
    position: relative;
    min-height: 440px;
    background-color: #14254a;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cn-story-media::before { content: ""; position: absolute; inset: 0; background: rgba(10, 17, 33, .25); }
.cn-story-media .video-play-btn {
    width: 88px;
    height: 88px;
    line-height: 88px;
    font-size: 20px;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, .25);
    animation: cn-pulse 2.4s ease-out infinite;
    transition: transform .3s var(--cn-ease);
}
.cn-story-media .video-play-btn:hover { transform: scale(1.08); }
.cn-story-body { padding: 56px 52px; align-self: center; }
.cn-story-body .cn-about-title { color: #fff; }
.cn-story-body > p { color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.8; margin-bottom: 26px; }
.cn-story-quote { padding-left: 22px; border-left: 3px solid var(--main-color-one); }
.cn-story-quote p { color: #fff; font-size: 20px; line-height: 1.5; font-weight: 600; margin-bottom: 10px; }
.cn-story-sign img { max-height: 46px; width: auto; }

/* ---------- Team ---------- */
.cn-about-team { padding: 20px 0 90px; }
.cn-about-team .row > [class*="col-"] { margin-bottom: 30px; }
.cn-team-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.cn-team-card:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); }
.cn-team-photo { position: relative; aspect-ratio: 1 / 1; background: var(--cn-surface); overflow: hidden; }
.cn-team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--cn-ease); }
.cn-team-card:hover .cn-team-photo img { transform: scale(1.05); }
.cn-team-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 84px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--main-color-one), var(--main-color-two));
}
.cn-team-social {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--cn-ease);
}
.cn-team-card:hover .cn-team-social,
.cn-team-card:focus-within .cn-team-social { opacity: 1; transform: translateY(0); }
.cn-team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--heading-color);
    box-shadow: 0 6px 16px rgba(10, 17, 33, .2);
}
.cn-team-social a:hover { background: var(--main-color-one); color: #fff; }
.cn-team-info { padding: 20px 20px 22px; text-align: center; }
.cn-team-name { font-size: 19px; font-weight: 700; color: var(--heading-color); margin-bottom: 4px; }
.cn-team-role { font-size: 14px; line-height: 1.5; color: var(--main-color-two); font-weight: 600; }
.cn-about-more { text-align: center; margin-top: 10px; }

/* ---------- Testimonials ---------- */
.cn-about-testimonials {
    position: relative;
    z-index: 0;
    padding: 90px 0;
    background-color: #0a1121;
    background-size: cover;
    background-position: center;
}
.cn-about-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, rgba(10, 17, 33, .94), rgba(10, 17, 33, .86));
}
.cn-about-testimonials .section-title .title { color: #fff; }
.cn-about-testimonials .section-title .subtitle { background: rgba(255, 255, 255, .12); color: #fff; }
.cn-about-testimonials .owl-stage { display: flex; }
.cn-about-testimonials .owl-item { display: flex; }
.cn-about-testimonials .cagency-single-testimonial-item { border-color: transparent; }
.cn-about-testimonials .logistic-dots .owl-dots div { background-color: rgba(255, 255, 255, .3); }
.cn-about-testimonials .logistic-dots .owl-dots div.active { background-color: var(--main-color-one); }

/* ---------- Brands ---------- */
.cn-about-brands { padding: 60px 0 30px; }
.cn-brands-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8b91a5; margin-bottom: 28px; }
.cn-brands-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 56px; }
.cn-brand img { max-height: 64px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s, transform .3s var(--cn-ease); }
.cn-brand:hover img { filter: none; opacity: 1; transform: scale(1.06); }

.cn-about-cta { padding: 30px 0 100px; }
.cn-about-cta .cn-services-cta { margin-top: 0; }

/* gentle scroll-reveal animations (used with the theme's WOW script: class="wow cn-rise") */
.cn-rise { animation-name: cn-rise; }
.cn-from-left { animation-name: cn-from-left; }
.cn-from-right { animation-name: cn-from-right; }
.wow.cn-rise, .wow.cn-from-left, .wow.cn-from-right { animation-duration: .7s; animation-timing-function: var(--cn-ease); }
@keyframes cn-from-left {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes cn-from-right {
    from { opacity: 0; transform: translateX(28px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes cn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
    100% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); }
}

@media (max-width: 991px) {
    .cn-about-intro { padding: 60px 0 40px; }
    .cn-about-collage { margin: 0 auto 46px; }
    .cn-story-card { grid-template-columns: 1fr; }
    .cn-story-media { min-height: 300px; }
    .cn-story-body { padding: 40px 32px; }
    .cn-about-map { margin-top: 40px; }
    .cn-about-mission, .cn-about-story, .cn-about-testimonials { padding: 70px 0; }
}
@media (max-width: 767px) {
    .cn-about-collage { height: 380px; }
    .cn-about-features { padding-bottom: 40px; }
    .cn-about-features .row > [class*="col-"] { margin-bottom: 16px; }
    .cn-feature { padding: 24px 16px; }
    .cn-about-team .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; padding: 0 8px; margin-bottom: 16px; }
    .cn-team-info { padding: 14px 10px 16px; }
    .cn-team-name { font-size: 16px; }
    .cn-team-role { font-size: 12.5px; }
    .cn-story-body { padding: 32px 24px; }
    .cn-story-quote p { font-size: 18px; }
    .cn-brands-row { gap: 22px 34px; }
    .cn-brand img { max-height: 46px; max-width: 110px; }
    .cn-about-cta { padding-bottom: 70px; }
    .cn-section-head { margin-bottom: 34px; }
}

/* ==========================================================================
   Inner pages: shared shell
   ========================================================================== */
.cn-page { padding: 80px 0 100px; }
.cn-page .cn-services-cta { margin-top: 50px; }

/* ---------- Team page ---------- */
.cn-team-grid > [class*="col-"] { margin-bottom: 30px; }
.cn-team-page .cn-team-name { font-size: 17px; }
.cn-team-page .cn-team-role { font-size: 13.5px; }

/* ---------- Testimonials and client feedback: wall of quote cards ---------- */
.cn-quote-wall { column-count: 3; column-gap: 30px; }
.cn-testimonial-page .cn-quote-wall { column-count: 2; }
.cn-quote-card {
    break-inside: avoid;
    margin: 0 0 30px;
    padding: 30px 28px 26px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cn-quote-card:hover { transform: translateY(-4px); box-shadow: var(--cn-shadow-lg); border-color: color-mix(in srgb, var(--main-color-two) 40%, var(--cn-border)); }
.cn-quote-card > i { font-size: 28px; color: var(--main-color-one); opacity: .85; margin-bottom: 16px; display: block; }
.cn-quote-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--cn-text); }
.cn-quote-card figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cn-border);
}
.cn-quote-photo { flex: none; }
.cn-quote-photo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.cn-quote-card figcaption strong { display: block; font-size: 16px; line-height: 1.3; color: var(--heading-color); }
.cn-quote-card figcaption span:not(.cn-avatar) { font-size: 14px; color: #8b91a5; }
.cn-stars { color: #f5b301; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.cn-stars .far { color: #d9dcea; }

.cn-feedback-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    margin-bottom: 40px;
    background: var(--cn-surface);
    border-radius: var(--cn-radius);
}
.cn-feedback-score { display: flex; align-items: center; gap: 20px; }
.cn-feedback-score > strong { font-size: 54px; line-height: 1; font-weight: 800; color: var(--heading-color); }
.cn-feedback-score .cn-stars { font-size: 20px; margin-bottom: 4px; }
.cn-feedback-score span { font-size: 15px; color: var(--cn-text); }

.cn-empty {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 30px;
    background: var(--cn-surface);
    border-radius: 24px;
}
.cn-empty-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: var(--main-color-two);
    background: #fff;
    box-shadow: var(--cn-shadow);
    animation: cn-bob 3.2s ease-in-out infinite;
}
.cn-empty h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--heading-color); margin-bottom: 12px; }
.cn-empty p { font-size: 17px; line-height: 1.7; margin-bottom: 26px; }
.cn-empty-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; }

/* ---------- Feedback form ---------- */
.cn-feedback-form .contact-info {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: 24px;
    box-shadow: var(--cn-shadow-lg);
    padding: 48px 48px 44px;
}
.cn-feedback-form .section-title { margin-bottom: 34px; }
.cn-feedback-form .section-title .title { font-size: clamp(26px, 3vw, 34px); }
.cn-feedback-form .section-title p { margin: 10px 0 0; font-size: 16px; }
.cn-feedback-form .form-group { margin-bottom: 22px; }
.cn-feedback-form label { display: block; font-size: 14px; font-weight: 700; color: var(--heading-color); margin-bottom: 8px; }
.cn-feedback-form .contact-page-form .form-control,
.cn-feedback-form .contact-page-form select {
    height: 52px;
    padding: 10px 16px;
    font-size: 16px;
    color: var(--heading-color);
    background: var(--cn-surface);
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius-sm);
    box-shadow: none;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.cn-feedback-form .contact-page-form textarea.form-control { height: 150px; resize: vertical; }
.cn-feedback-form .contact-page-form .form-control:focus,
.cn-feedback-form .contact-page-form select:focus {
    background: #fff;
    border-color: var(--main-color-two);
    box-shadow: 0 0 0 4px rgba(10, 124, 196, .14);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-color-two) 16%, transparent);
    outline: 0;
}
.cn-feedback-form .contact-page-form .boxed-btn { padding: 14px 34px; height: auto; line-height: 1.2; }
.cn-star-picker { list-style: none; margin: 0; padding: 0; display: inline-flex; gap: 6px; }
.cn-feedback-form .ratings_list.cn-star-picker li {
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--cn-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #cfd4e3;
    cursor: pointer;
    transition: transform .2s var(--cn-ease), color .2s, background-color .2s;
}
.cn-feedback-form .ratings_list.cn-star-picker li:hover { transform: scale(1.12); color: #f5b301; }
.cn-feedback-form .ratings_list.cn-star-picker li.selected { color: #f5b301; background: #fff6da; animation: cn-star-pop .35s var(--cn-ease); }
.cn-star-hint { display: inline-block; margin-left: 14px; font-size: 14px; color: #8b91a5; vertical-align: middle; }
@keyframes cn-star-pop {
    0% { transform: scale(.7); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ---------- Custom pages (Vision / Mission, privacy policy, ...) ---------- */
.dynamic-page-content-wrap { font-size: 17px; line-height: 1.8; color: var(--cn-text); }
.dynamic-page-content-wrap p { font-size: 17px; line-height: 1.8; color: var(--cn-text); margin-bottom: 16px; }
.dynamic-page-content-wrap h1,
.dynamic-page-content-wrap h2,
.dynamic-page-content-wrap h3,
.dynamic-page-content-wrap h4 { color: var(--heading-color); font-weight: 700; line-height: 1.3; margin: 28px 0 12px; }
.dynamic-page-content-wrap a { color: var(--main-color-two); text-decoration: underline; }
.dynamic-page-content-wrap img { border-radius: var(--cn-radius); }

.cn-vm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.cn-vm-photo { position: relative; }
.cn-vm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--cn-shadow-lg); display: block; }
.cn-vm-photo::after {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 130px;
    height: 110px;
    z-index: -1;
    background-image: radial-gradient(#c9cfe0 2.4px, transparent 2.6px);
    background-size: 20px 20px;
}
.cn-vm-cards { display: grid; gap: 24px; }
.cn-vm-card {
    --tone: var(--main-color-one);
    position: relative;
    padding: 30px 30px 26px 104px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cn-vm-card.cn-vm-mission { --tone: var(--main-color-two); }
.cn-vm-card:hover { transform: translateY(-4px); box-shadow: var(--cn-shadow-lg); border-color: var(--tone); }
.cn-vm-icon {
    position: absolute;
    left: 28px;
    top: 30px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: var(--tone);
    box-shadow: 0 10px 20px rgba(10, 17, 33, .16);
}
.dynamic-page-content-wrap .cn-vm-card h2 { font-size: 24px; margin: 0 0 8px; }
.dynamic-page-content-wrap .cn-vm-card p { margin: 0; font-size: 16.5px; line-height: 1.75; }
.dynamic-page-content-wrap .cn-vm-heading {
    text-align: center;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -.01em;
    margin: 0 0 44px;
}
.cn-vm-steps { list-style: none; counter-reset: cn-step; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cn-vm-steps li {
    counter-increment: cn-step;
    position: relative;
    padding: 34px 30px 28px;
    background: var(--cn-surface);
    border-radius: var(--cn-radius);
    transition: transform .3s var(--cn-ease), background-color .3s, box-shadow .3s var(--cn-ease);
}
.cn-vm-steps li:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--cn-shadow-lg); }
.cn-vm-steps li::before {
    content: "0" counter(cn-step);
    display: block;
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 14px;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--main-color-one);
}
.cn-vm-steps li:nth-child(even)::before { -webkit-text-stroke-color: var(--main-color-two); }
.dynamic-page-content-wrap .cn-vm-steps h3 { font-size: 20px; margin: 0 0 10px; }
.dynamic-page-content-wrap .cn-vm-steps p { margin: 0; font-size: 16px; line-height: 1.75; }

@media (max-width: 991px) {
    .cn-quote-wall { column-count: 2; }
    .cn-vm-hero { grid-template-columns: 1fr; margin-bottom: 60px; }
    .cn-feedback-summary { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
    .cn-page { padding: 50px 0 70px; }
    .cn-quote-wall,
    .cn-testimonial-page .cn-quote-wall { column-count: 1; }
    .cn-quote-card { margin-bottom: 18px; padding: 24px 22px 22px; }
    .cn-team-grid > [class*="col-"] { flex: 0 0 50%; max-width: 50%; padding: 0 8px; margin-bottom: 16px; }
    .cn-feedback-form .contact-info { padding: 30px 22px 28px; }
    .cn-feedback-form .ratings_list.cn-star-picker li { width: 42px; height: 42px; }
    .cn-star-hint { display: block; margin: 10px 0 0; }
    .cn-vm-steps { grid-template-columns: 1fr; gap: 18px; }
    .cn-vm-card { padding: 96px 24px 24px; }
    .cn-vm-icon { left: 24px; top: 24px; }
    .cn-empty { padding: 44px 22px; }
}

/* ==========================================================================
   Portfolio cards (portfolio page and home "Recent Work")
   ========================================================================== */
.cn-work-masonry .masonry-item { margin-bottom: 30px; }
.cn-work-card {
    position: relative;
    display: block;
    border-radius: var(--cn-radius);
    overflow: hidden;
    background: var(--cn-surface);
    box-shadow: var(--cn-shadow);
    transition: transform .35s var(--cn-ease), box-shadow .35s var(--cn-ease);
}
.cn-work-card:hover,
.cn-work-card:focus-visible { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); }
.cn-work-card img { display: block; width: 100%; transition: transform .7s var(--cn-ease); }
.cn-work-card:hover img { transform: scale(1.05); }
.cn-work-card-fixed { aspect-ratio: 4 / 3; margin-bottom: 30px; }
.cn-work-card-fixed img { height: 100%; object-fit: cover; }
.cn-work-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    color: #fff;
    background: linear-gradient(180deg, rgba(10, 17, 33, 0) 45%, rgba(10, 17, 33, .86));
    opacity: 0;
    transition: opacity .35s ease;
}
.cn-work-card:hover .cn-work-overlay,
.cn-work-card:focus-visible .cn-work-overlay { opacity: 1; }
.cn-work-meta { transform: translateY(10px); transition: transform .35s var(--cn-ease); }
.cn-work-card:hover .cn-work-meta { transform: translateY(0); }
.cn-work-meta small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }
.cn-work-meta strong { display: block; font-size: 17px; line-height: 1.35; }
.cn-work-zoom {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--heading-color);
    transform: scale(.6);
    transition: transform .35s var(--cn-ease);
}
.cn-work-card:hover .cn-work-zoom { transform: scale(1); }
/* touch screens have no hover: keep the title visible */
@media (hover: none) {
    .cn-work-overlay { opacity: 1; background: linear-gradient(180deg, rgba(10, 17, 33, 0) 55%, rgba(10, 17, 33, .8)); }
    .cn-work-meta { transform: none; }
    .cn-work-zoom { display: none; }
}
.cn-home-work + .cn-about-more { margin: 4px 0 30px; }

/* ==========================================================================
   Shared form look (contact, quote)
   ========================================================================== */
.cn-form .form-group { margin-bottom: 18px; }
.cn-form label { display: block; font-size: 14px; font-weight: 700; color: var(--heading-color); margin-bottom: 8px; }
.cn-form .form-control,
.cn-form.contact-page-form .form-group .form-control,
.cn-form select {
    height: 54px;
    padding: 12px 18px;
    font-size: 16px;
    color: var(--heading-color);
    background: var(--cn-surface);
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius-sm);
    box-shadow: none;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.cn-form textarea.form-control,
.cn-form.contact-page-form .form-group textarea.form-control { height: 160px; max-height: none; resize: vertical; }
.cn-form .form-control::placeholder { color: #8b91a5; font-size: 16px; }
.cn-form .form-control:focus,
.cn-form select:focus {
    background: #fff;
    border-color: var(--main-color-two);
    box-shadow: 0 0 0 4px rgba(10, 124, 196, .14);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-color-two) 16%, transparent);
    outline: 0;
}
.cn-form input[type="file"] {
    width: 100%;
    height: auto;
    padding: 16px;
    font-size: 15px;
    background: var(--cn-surface);
    border: 1.5px dashed #c5cbdc;
    border-radius: var(--cn-radius-sm);
    cursor: pointer;
}
.cn-form input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--main-color-two);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.cn-form .help-info,
.cn-form small { display: block; margin-top: 6px; font-size: 13px; color: #8b91a5; }
.cn-form .btn-wrapper { margin-top: 26px; text-align: left; }
.cn-form button.cagency-btn { border: 0; cursor: pointer; font-size: 16px; }
.cn-page .alert { border-radius: var(--cn-radius-sm); border: 0; padding: 14px 18px; font-size: 15px; }
.cn-page ul.alert { list-style: none; }

/* ---------- Contact page ---------- */
.cn-contact-cards > [class*="col-"] { display: flex; margin-bottom: 30px; }
.cn-contact-card {
    --tone: var(--main-color-one);
    width: 100%;
    padding: 30px 24px 26px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.cn-contact-card.cn-tone-2 { --tone: var(--main-color-two); }
.cn-contact-card.cn-tone-3 { --tone: #7c5cff; }
.cn-contact-card.cn-tone-4 { --tone: #12a37f; }
.cn-contact-card:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); border-color: var(--tone); }
.cn-contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--tone);
    background: #f1f3f9;
    background: color-mix(in srgb, var(--tone) 11%, #fff);
    transition: background-color .3s, color .3s, transform .3s var(--cn-ease);
}
.cn-contact-card:hover .cn-contact-icon { background: var(--tone); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cn-contact-card h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8b91a5; margin-bottom: 10px; }
.cn-contact-card p { margin: 0; font-size: 16.5px; line-height: 1.7; font-weight: 600; color: var(--heading-color); overflow-wrap: break-word; }
.cn-contact-card p a { color: inherit; }
.cn-contact-card p a:hover { color: var(--tone); }

.cn-contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--cn-border);
    box-shadow: var(--cn-shadow-lg);
}
.cn-contact-form { padding: 48px 46px; }
.cn-contact-form h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--heading-color); margin-bottom: 8px; }
.cn-contact-note { margin-bottom: 26px; font-size: 16px; }
.cn-contact-map.contact_map { position: relative; height: auto; min-height: 460px; margin: 0; background: #e8ebf2; }
.cn-contact-map .elementor-custom-embed { position: absolute; inset: 0; }
.cn-contact-map .elementor-custom-embed,
.cn-contact-map iframe { width: 100%; height: 100%; min-height: 460px; display: block; border: 0; }

/* ---------- Quote page ---------- */
.cn-form-card {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: 24px;
    box-shadow: var(--cn-shadow-lg);
    padding: 48px 48px 44px;
}
.cn-form-head { text-align: center; margin-bottom: 30px; }
.cn-form-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--heading-color); margin-bottom: 10px; }
.cn-form-head p { font-size: 16px; margin: 0 auto; max-width: 480px; }
.cn-quote-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cn-quote-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--cn-surface);
    border-radius: var(--cn-radius-sm);
    font-size: 14.5px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--heading-color);
}
.cn-quote-steps i { font-size: 22px; color: var(--main-color-two); flex: none; }

@media (max-width: 991px) {
    .cn-contact-panel { grid-template-columns: 1fr; }
    .cn-contact-map,
    .cn-contact-map .elementor-custom-embed,
    .cn-contact-map iframe { min-height: 320px; }
}
@media (max-width: 767px) {
    .cn-work-masonry .masonry-item { margin-bottom: 18px; }
    .cn-work-card-fixed { margin-bottom: 16px; }
    .cn-home-work > [class*="col-"] { flex: 0 0 50%; max-width: 50%; padding: 0 8px; }
    .cn-home-work .cn-work-meta strong { font-size: 13.5px; }
    .cn-home-work .cn-work-overlay { padding: 12px; }
    .cn-contact-cards > [class*="col-"] { margin-bottom: 16px; }
    .cn-contact-form { padding: 30px 22px; }
    .cn-form-card { padding: 30px 22px 28px; }
    .cn-quote-steps { grid-template-columns: 1fr; gap: 10px; }
}

/* ==========================================================================
   Store: product list, product page, cart, checkout
   ========================================================================== */
/* ---------- toolbar ---------- */
.cn-store .product-archive-top-content-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.cn-store .product-archive-top-content-area .search-form {
    position: relative;
    display: flex;
    flex: 1 1 280px;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    box-shadow: var(--cn-shadow);
    overflow: hidden;
}
.cn-store .product-archive-top-content-area .search-form .form-control { height: 50px; border: 0; background: transparent; padding: 0 20px; font-size: 15px; box-shadow: none; }
.cn-store .product-archive-top-content-area .search-form button {
    position: static;
    width: 50px;
    height: 50px;
    border: 0;
    background: var(--main-color-two);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transform: scale(.84);
    transition: filter .2s;
}
.cn-store .product-archive-top-content-area .search-form button:hover { filter: brightness(.9); }
.cn-store .product-sorting select {
    height: 50px;
    padding: 0 40px 0 20px;
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    background-color: #fff;
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    cursor: pointer;
}

/* ---------- product cards ---------- */
.cn-store .row > [class*="col-"] > .single-product-item-3 { height: calc(100% - 30px); }
.single-product-item-3 {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease), border-color .3s;
}
.single-product-item-3:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); border-color: transparent; }
.single-product-item-3 .thumb { position: relative; border: 0; margin: 0; padding: 0; background: var(--cn-surface); }
.single-product-item-3 .thumb .img-wrapper { aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.single-product-item-3 .thumb .img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cn-ease); }
.single-product-item-3:hover .thumb .img-wrapper img { transform: scale(1.06); }
.single-product-item-3 .thumb .tag {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.4;
    color: #fff;
    background: var(--main-color-one);
    box-shadow: 0 6px 14px rgba(10, 17, 33, .18);
}
.single-product-item-3 .content { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; border: 0; }
.single-product-item-3 .content .title { font-size: 17px; line-height: 1.4; font-weight: 700; color: var(--heading-color); margin-bottom: 8px; transition: color .2s; }
.single-product-item-3 .content a:hover .title { color: var(--main-color-one); }
.single-product-item-3 .content .rating-wrap { margin-bottom: 8px; }
.single-product-item-3 .content .price-wrap { margin: 0 0 16px; display: flex; align-items: baseline; gap: 10px; }
.single-product-item-3 .content .price-wrap .price { font-size: 20px; font-weight: 800; color: var(--heading-color); }
.single-product-item-3 .content .price-wrap .del-price { font-size: 14px; color: #9aa1b5; }
.single-product-item-3 .content .addtocart {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    color: #fff;
    background: var(--main-color-two);
    transition: background-color .2s, transform .2s var(--cn-ease);
}
.single-product-item-3 .content .addtocart:hover { background: var(--main-color-one); transform: translateY(-2px); }
.single-product-item-3 .content .out_of_stock { margin-top: auto; font-weight: 700; color: #b3261e; }

/* ---------- sidebar filters ---------- */
.cn-store .product-widget-area .widget {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.cn-store .product-widget-area .widget .widget-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.cn-store .product_category_list { margin: 0; padding: 0; list-style: none; }
.cn-store .product_category_list li { margin: 0; }
.cn-store .product_category_list li a {
    display: block;
    padding: 9px 14px;
    margin: 0 -14px;
    border-radius: var(--cn-radius-sm);
    font-size: 15px;
    font-weight: 600;
    color: var(--cn-text);
    transition: background-color .2s, color .2s, padding-left .2s;
}
.cn-store .product_category_list li a:hover { background: var(--cn-surface); color: var(--main-color-one); padding-left: 20px; }
.cn-store .product_category_list li a.active { background: var(--main-color-one); color: #fff; }
.cn-store .widget_price_filter .ui-slider { height: 6px; border: 0; border-radius: 999px; background: #e3e6ef; margin: 8px 8px 16px; }
.cn-store .widget_price_filter .ui-slider .ui-slider-range { background: var(--main-color-two); border-radius: 999px; }
.cn-store .widget_price_filter .ui-slider .ui-slider-handle {
    width: 20px;
    height: 20px;
    top: -7px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--main-color-two);
    box-shadow: 0 2px 8px rgba(10, 17, 33, .25);
    cursor: grab;
}
.cn-store .widget_price_filter p { display: flex; justify-content: space-between; font-weight: 700; color: var(--heading-color); margin-bottom: 14px; }
.cn-store .widget_price_filter .btn-boxed { width: 100%; border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; background: var(--main-color-two); color: #fff; cursor: pointer; }
.cn-store .ratings_filter_list { margin: 0; padding: 0; list-style: none; }
.cn-store .ratings_filter_list li { padding: 5px 0; }
.cn-store .ratings_filter_list label { margin: 0 0 0 6px; font-size: 15px; cursor: pointer; }
.cn-store .ratings_filter_list input { accent-color: var(--main-color-two); }

/* ---------- product page ---------- */
.cn-store .single-product-details .top-content .product-gallery { border-radius: var(--cn-radius); overflow: hidden; background: var(--cn-surface); box-shadow: var(--cn-shadow); }
.cn-store .single-product-details .top-content .product-gallery img { width: 100%; }
.cn-store .single-product-details .top-content .product-gallery .cn-img-missing { min-height: 340px; }
.cn-store .single-product-details .product-summery .price-wrap { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.cn-store .single-product-details .product-summery .price-wrap .price { font-size: 34px; font-weight: 800; color: var(--heading-color); }
.cn-store .single-product-details .product-summery .price-wrap .del-price { font-size: 18px; color: #9aa1b5; }
.cn-store .single-product-details .product-summery .short-description p { font-size: 17px; line-height: 1.8; }
.cn-store .single-add-to-card-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0; }
.cn-store .single-add-to-card-wrapper .quantity {
    width: 96px;
    height: 52px;
    padding: 0 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    background: var(--cn-surface);
}
.cn-store .single-add-to-card-wrapper .addtocart {
    height: 52px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: var(--main-color-one);
    box-shadow: 0 10px 22px rgba(220, 31, 60, .3);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--main-color-one) 30%, transparent);
    transition: transform .25s var(--cn-ease), filter .2s;
}
.cn-store .single-add-to-card-wrapper .addtocart:hover { transform: translateY(-2px); filter: brightness(.94); }
.cn-store .cat-sku-content-wrapper, .cn-store .share-wrap { font-size: 15px; }
.cn-store .share-wrap .social-icons li a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cn-surface);
    color: var(--heading-color);
    transition: background-color .2s, color .2s, transform .2s var(--cn-ease);
}
.cn-store .share-wrap .social-icons li a:hover { background: var(--main-color-two); color: #fff; transform: translateY(-2px); }
.cn-store .single-product-details .bottom-content { margin-top: 50px; }
.cn-store .single-product-details .nav-tabs { border: 0; gap: 8px; margin-bottom: 18px; }
.cn-store .single-product-details .nav-tabs .nav-link {
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 700;
    color: var(--heading-color);
    background: #fff;
    transition: all .2s;
}
.cn-store .single-product-details .nav-tabs .nav-link:hover { border-color: var(--main-color-one); color: var(--main-color-one); }
.cn-store .single-product-details .nav-tabs .nav-link.active { background: var(--main-color-one); border-color: var(--main-color-one); color: #fff; }
.cn-store .single-product-details .tab-content { background: var(--cn-surface); border-radius: var(--cn-radius); padding: 30px; }
.cn-store .single-product-details .tab-content p { font-size: 16.5px; line-height: 1.8; }
.cn-store .related-product-area { margin-top: 60px; }

/* ---------- cart and checkout ---------- */
.cn-store .cart-table-wrapper,
.cn-store .cart-total-wrap,
.product-checkout-area .cart-total-wrap {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    overflow: hidden;
}
.cn-store .cart-table-wrapper .table,
.cn-store .cart-total-wrap .table,
.product-checkout-area .cart-total-wrap .table { margin: 0; border: 0; }
.cn-store .cart-table-wrapper .table th,
.cn-store .cart-total-wrap .table th { background: var(--cn-surface); border: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8b91a5; padding: 16px 20px; }
.cn-store .cart-table-wrapper .table td,
.cn-store .cart-total-wrap .table td,
.product-checkout-area .cart-total-wrap .table td,
.product-checkout-area .cart-total-wrap .table th { border-color: var(--cn-border); border-left: 0; border-right: 0; padding: 16px 20px; vertical-align: middle; }
.cn-store .cart-table-wrapper .table img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.cn-store .cart-wrapper .boxed-btn,
.cn-store .cart-wrapper .btn-boxed,
.product-checkout-area .btn-boxed,
.product-checkout-area .submit-btn { border-radius: 999px; font-weight: 700; }
.cn-store .cart-shipping-wrapper .card { border: 1px solid var(--cn-border); border-radius: var(--cn-radius); overflow: hidden; margin-top: 24px; }
.cn-store .cart-shipping-wrapper .card-header { background: var(--cn-surface); border: 0; font-weight: 700; cursor: pointer; }
.product-checkout-area .checkout-wrapper .form-control {
    height: 52px;
    background: var(--cn-surface);
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius-sm);
    box-shadow: none;
}
.product-checkout-area .checkout-wrapper textarea.form-control { height: 120px; }
.product-checkout-area .checkout-wrapper .form-control:focus { background: #fff; border-color: var(--main-color-two); box-shadow: 0 0 0 4px rgba(10, 124, 196, .14); }
.product-checkout-area .nav-tabs { border: 0; gap: 8px; margin-bottom: 18px; }
.product-checkout-area .nav-tabs .nav-link { border: 1px solid var(--cn-border); border-radius: 999px; padding: 10px 22px; font-weight: 700; color: var(--heading-color); }
.product-checkout-area .nav-tabs .nav-link.active { background: var(--main-color-two); border-color: var(--main-color-two); color: #fff; }

@media (max-width: 991px) {
    .cn-store .product-widget-area { margin-top: 40px; }
}
@media (max-width: 767px) {
    .cn-store .row > [class*="col-"]:has(> .single-product-item-3) { flex: 0 0 50%; max-width: 50%; padding: 0 8px; }
    .single-product-item-3 .content { padding: 14px 14px 16px; }
    .single-product-item-3 .content .title { font-size: 14.5px; }
    .single-product-item-3 .content .price-wrap .price { font-size: 16px; }
    .single-product-item-3 .content .addtocart { padding: 10px 12px; font-size: 13px; }
    .cn-store .single-product-details .tab-content { padding: 20px; }
    .cn-store .cart-table-wrapper { overflow-x: auto; }
}

/* ==========================================================================
   Blog, Book Appointment, Courses
   ========================================================================== */
.blog-content-area.padding-120,
.blog-details-content-area,
.appointment-content-area { padding-top: 80px; padding-bottom: 90px; }

/* ---------- blog list ---------- */
.blog-classic-item-01 {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    margin-bottom: 34px;
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.blog-classic-item-01:hover { transform: translateY(-5px); box-shadow: var(--cn-shadow-lg); }
.blog-classic-item-01 .thumbnail { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--cn-surface); }
.blog-classic-item-01 .thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cn-ease); }
.blog-classic-item-01:hover .thumbnail img { transform: scale(1.04); }
.blog-classic-item-01 .thumbnail.cn-img-missing { aspect-ratio: 16 / 4; }
.blog-classic-item-01 .content { padding: 26px 28px 28px; }
.blog-classic-item-01 .content .post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 14px; }
.blog-classic-item-01 .content .post-meta li { margin: 0; padding: 0; color: #8b91a5; }
.blog-classic-item-01 .content .post-meta li a { color: #8b91a5; }
.blog-classic-item-01 .content .post-meta li i { color: var(--main-color-two); margin-right: 4px; }
.blog-classic-item-01 .content .title { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; font-weight: 700; margin-bottom: 10px; }
.blog-classic-item-01 .content .title a { color: var(--heading-color); }
.blog-classic-item-01 .content .title a:hover { color: var(--main-color-one); }
.blog-classic-item-01 .content p { font-size: 16.5px; line-height: 1.75; }
.blog-classic-item-01 .content .btn-wrapper { margin-top: 18px; }
.blog-classic-item-01 .content .boxed-btn { padding: 11px 26px; height: auto; line-height: 1.3; font-size: 15px; }

/* ---------- blog and shared sidebar widgets ---------- */
.widget-area .widget {
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    box-shadow: var(--cn-shadow);
    padding: 24px;
    margin-bottom: 24px;
}
.widget-area .widget .widget-title { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.widget-area .widget_search .search-form { position: relative; display: flex; background: var(--cn-surface); border: 1px solid var(--cn-border); border-radius: 999px; overflow: hidden; }
.widget-area .widget_search .search-form .form-group { flex: 1; margin: 0; }
.widget-area .widget_search .search-form .form-control { height: 48px; border: 0; background: transparent; padding: 0 18px; box-shadow: none; }
.widget-area .widget_search .search-form .submit-btn {
    position: static;
    flex: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--main-color-one);
    color: #fff;
    cursor: pointer;
    transform: scale(.84);
}
.widget-area .widget_nav_menu ul { margin: 0; padding: 0; list-style: none; }
.widget-area .widget_nav_menu ul li { margin: 0; }
.widget-area .widget_nav_menu ul li a {
    display: block;
    padding: 9px 14px;
    margin: 0 -14px;
    border-radius: var(--cn-radius-sm);
    font-weight: 600;
    color: var(--cn-text);
    transition: background-color .2s, color .2s, padding-left .2s;
}
.widget-area .widget_nav_menu ul li a:hover { background: var(--cn-surface); color: var(--main-color-one); padding-left: 20px; }
.widget-area .recent_post_item { margin: 0; padding: 0; list-style: none; }
.widget-area .recent_post_item .single-recent-post-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.widget-area .recent_post_item .single-recent-post-item + .single-recent-post-item { border-top: 1px solid var(--cn-border); }
.widget-area .recent_post_item .thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; margin: 0; background: var(--cn-surface); }
.widget-area .recent_post_item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-area .recent_post_item .thumb.cn-img-missing { display: none; }
.widget-area .recent_post_item .content .title { font-size: 15px; line-height: 1.4; font-weight: 700; margin: 0 0 4px; }
.widget-area .recent_post_item .content .title a { color: var(--heading-color); }
.widget-area .recent_post_item .content .title a:hover { color: var(--main-color-one); }
.widget-area .recent_post_item .content .time { font-size: 13px; color: #8b91a5; }

/* ---------- blog post ---------- */
.blog-details-item > .thumb img { width: 100%; border-radius: var(--cn-radius); box-shadow: var(--cn-shadow); }
.blog-details-item .entry-content { margin-top: 24px; }
.blog-details-item .entry-content .post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; color: #8b91a5; }
.blog-details-item .entry-content .post-meta li i { color: var(--main-color-two); margin-right: 4px; }
.blog-details-item .entry-content .content-area,
.blog-details-item .entry-content .content-area p { font-size: 17.5px; line-height: 1.85; color: var(--cn-text); }
.blog-details-item .entry-content .content-area h2,
.blog-details-item .entry-content .content-area h3,
.blog-details-item .entry-content .content-area h4 { color: var(--heading-color); font-weight: 700; margin: 30px 0 12px; }
.blog-details-item .entry-content .content-area img { border-radius: var(--cn-radius); }
.blog-details-item .entry-content .content-area blockquote { margin: 26px 0; padding: 20px 24px; border-left: 4px solid var(--main-color-one); background: var(--cn-surface); border-radius: var(--cn-radius-sm); font-size: 18px; font-weight: 600; color: var(--heading-color); }
.blog-details-footer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--cn-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.blog-details-footer .social-share li a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cn-surface);
    color: var(--heading-color);
    transition: background-color .2s, color .2s, transform .2s var(--cn-ease);
}
.blog-details-footer .social-share li a:hover { background: var(--main-color-two); color: #fff; transform: translateY(-2px); }

/* ---------- filter bar on appointments and courses ---------- */
.top-search-wrapper { margin-bottom: 34px; }
.top-search-wrapper select.form-control,
.top-search-wrapper .search-wrapper select {
    height: 52px;
    padding: 0 20px;
    border: 1px solid var(--cn-border);
    border-radius: 999px;
    background-color: #fff;
    font-weight: 600;
    color: var(--heading-color);
    box-shadow: var(--cn-shadow);
}
.top-search-wrapper .search-box { position: relative; display: flex; background: #fff; border: 1px solid var(--cn-border); border-radius: 999px; overflow: hidden; box-shadow: var(--cn-shadow); }
.top-search-wrapper .search-box .form-control { flex: 1; height: 52px; border: 0; padding: 0 20px; background: transparent; box-shadow: none; }
.top-search-wrapper .search-box .submit-btn {
    position: static;
    flex: none;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--main-color-one);
    color: #fff;
    cursor: pointer;
    transform: scale(.84);
}

/* ---------- appointment cards ---------- */
.appointment-content-area .row > [class*="col-"] > .appointment-single-item { height: calc(100% - 30px); }
.appointment-single-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    margin-bottom: 30px;
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.appointment-single-item:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); }
.appointment-single-item .thumb { position: relative; height: 0; padding-bottom: 82%; background-color: var(--cn-surface); background-size: cover; background-position: center top; }
.appointment-single-item .thumb .cat { position: absolute; left: 14px; top: 14px; }
.appointment-single-item .thumb .cat a,
.course-single-grid-item .thumb .cat a {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: var(--main-color-one);
    box-shadow: 0 6px 14px rgba(10, 17, 33, .18);
}
.appointment-single-item .content { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; background: #fff; }
.appointment-single-item .content .designation { font-size: 13.5px; font-weight: 700; color: var(--main-color-two); }
.appointment-single-item .content .title { font-size: 20px; font-weight: 700; color: var(--heading-color); margin: 4px 0 6px; transition: color .2s; }
.appointment-single-item .content a:hover .title { color: var(--main-color-one); }
.appointment-single-item .content .location { font-size: 14px; color: #8b91a5; }
.appointment-single-item .content .location i { margin-right: 6px; color: var(--main-color-one); }
.appointment-single-item .content p { margin: 12px 0 18px; line-height: 1.7; }
.appointment-single-item .content .btn-wrapper { margin-top: auto; }
.appointment-single-item .content .boxed-btn { display: block; text-align: center; padding: 12px 20px; height: auto; line-height: 1.3; border-radius: 999px; font-weight: 700; background: var(--main-color-two); color: #fff; border: 0; }
.appointment-single-item .content .boxed-btn:hover { background: var(--main-color-one); color: #fff; }
.appointment-single-item .content .boxed-btn, .appointment-single-item .content a { text-decoration: none; }
.appointment-single-item .content .designation { background: transparent; padding: 0; display: block; }

/* ---------- course cards ---------- */
.appointment-content-area .row > [class*="col-"] > .course-single-grid-item { height: calc(100% - 30px); }
.course-single-grid-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cn-border);
    border-radius: var(--cn-radius);
    overflow: hidden;
    box-shadow: var(--cn-shadow);
    margin-bottom: 30px;
    transition: transform .3s var(--cn-ease), box-shadow .3s var(--cn-ease);
}
.course-single-grid-item:hover { transform: translateY(-6px); box-shadow: var(--cn-shadow-lg); }
.course-single-grid-item .thumb { position: relative; aspect-ratio: 16 / 10; background: var(--cn-surface); overflow: visible; }
.course-single-grid-item .thumb > a { display: block; width: 100%; height: 100%; overflow: hidden; }
.course-single-grid-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cn-ease); }
.course-single-grid-item:hover .thumb img { transform: scale(1.05); }
.course-single-grid-item .thumb .price-wrap {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    bottom: auto;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--heading-color);
    background: #fff;
    box-shadow: 0 6px 16px rgba(10, 17, 33, .2);
}
.course-single-grid-item .thumb .price-wrap del { font-weight: 600; font-size: 12px; color: #9aa1b5; margin-left: 4px; }
.course-single-grid-item .thumb .cat { position: absolute; left: 14px; top: 14px; bottom: auto; }
.course-single-grid-item .thumb .cat a.bg-2 { background: var(--main-color-two); }
.course-single-grid-item .thumb .cat a.bg-3 { background: #12a37f; }
.course-single-grid-item .thumb .cat a.bg-4 { background: #7c5cff; }
.course-single-grid-item .content { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 0; }
.course-single-grid-item .content .rating-wrap { position: static; margin-bottom: 6px; }
.course-single-grid-item .content .title { font-size: 19px; line-height: 1.4; font-weight: 700; margin-bottom: 8px; }
.course-single-grid-item .content .title a { color: var(--heading-color); }
.course-single-grid-item .content .title a:hover { color: var(--main-color-one); }
.course-single-grid-item .content .instructor-wrap { font-size: 14px; margin-bottom: 10px; }
.course-single-grid-item .content .description { line-height: 1.7; margin-bottom: 16px; }
.course-single-grid-item .footer-part { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; padding: 14px 0 18px; border-top: 1px solid var(--cn-border); font-size: 14px; color: #8b91a5; }
.course-single-grid-item .footer-part i { color: var(--main-color-two); margin-right: 5px; }

@media (max-width: 767px) {
    .blog-content-area.padding-120,
    .blog-details-content-area,
    .appointment-content-area { padding-top: 50px; padding-bottom: 60px; }
    .blog-classic-item-01 .content { padding: 20px; }
    .top-search-wrapper .form-group,
    .top-search-wrapper [class*="col-"] { margin-bottom: 12px; }
    .widget-area { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
