/* Index: Instagram feed — dark glass (continues ce-how--editorial language) */
.ce-ig {
    position: relative;
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.25rem, 5vw, 3.25rem);
    overflow: hidden;
    background:
        radial-gradient(ellipse 100% 70% at 100% 0%, rgba(29, 194, 149, 0.1), transparent 50%),
        radial-gradient(ellipse 80% 50% at 0% 80%, rgba(29, 194, 149, 0.07), transparent 45%),
        linear-gradient(180deg, #0b1424 0%, #080f1e 55%, #060b14 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}
.ce-ig::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 90% 75% at 50% 45%, #000 25%, transparent 72%);
    pointer-events: none;
    opacity: 0.85;
}
.ce-ig::after {
    content: "";
    position: absolute;
    width: min(480px, 70vw);
    height: min(480px, 70vw);
    left: -12%;
    bottom: -35%;
    background: radial-gradient(circle, rgba(29, 194, 149, 0.08) 0%, transparent 62%);
    pointer-events: none;
}
.ce-ig .container {
    position: relative;
    z-index: 1;
    max-width: 1120px;
}
.ce-ig__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    margin-bottom: 1.35rem;
    padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.15rem, 2.5vw, 1.6rem);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 28px 56px -32px rgba(0, 0, 0, 0.45);
}
.ce-ig__intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 38rem;
}
.ce-ig__glyph {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 28px -8px rgba(221, 42, 123, 0.45);
}
.ce-ig__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}
.ce-ig__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #f8fafc;
    line-height: 1.12;
}
.ce-ig__sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.88);
    max-width: 32em;
}
.ce-ig__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(145deg, #f58529, #dd2a7b 55%, #8134af);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 32px -8px rgba(221, 42, 123, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.ce-ig__cta:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 16px 40px -6px rgba(129, 52, 175, 0.45);
}
.ce-ig__cta:focus-visible {
    outline: 3px solid var(--main-color, #1dc295);
    outline-offset: 3px;
}
.ce-ig__grid {
    list-style: none;
    margin: 0;
    padding: clamp(0.85rem, 2vw, 1.1rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 32px 64px -36px rgba(0, 0, 0, 0.5);
}
@media (max-width: 991px) {
    .ce-ig__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }
}
@media (max-width: 480px) {
    .ce-ig__head {
        flex-direction: column;
        align-items: stretch;
    }
    .ce-ig__cta {
        justify-content: center;
    }
}
.ce-ig__tile {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 16px 40px -20px rgba(0, 0, 0, 0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.ce-ig__tile:hover {
    transform: translateY(-3px);
    border-color: rgba(29, 194, 149, 0.35);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18) inset,
        0 24px 48px -16px rgba(0, 0, 0, 0.55);
}
.ce-ig__tile:focus-visible {
    outline: 3px solid var(--main-color, #1dc295);
    outline-offset: 3px;
}
.ce-ig__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ce-ig__frame {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    pointer-events: none;
    z-index: 1;
}
.ce-ig__hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(3, 7, 18, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}
.ce-ig__hover .fab {
    font-size: 1.35rem;
}
.ce-ig__tile:hover .ce-ig__hover,
.ce-ig__tile:focus-visible .ce-ig__hover {
    opacity: 1;
}
/* Touch: strip overlay */
@media (hover: none) {
    .ce-ig__hover {
        opacity: 1;
        background: linear-gradient(to top, rgba(3, 7, 18, 0.9) 0%, transparent 55%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        justify-content: flex-end;
        padding: 0 0.4rem 0.45rem;
        text-transform: none;
        font-size: 0.65rem;
        letter-spacing: 0.03em;
        font-weight: 600;
    }
    .ce-ig__hover .fab {
        display: none;
    }
}

/* Index page: intro slider (below hero) */
.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-wrapper {
    display: flex;
    animation: slide-left 15s infinite;
    animation-delay: -3s;
}

.slide-item {
    flex-shrink: 0;
    width: 100%;
    max-width: 33.33%;
    position: relative;
    overflow: hidden;
}

.slide-item img {
    width: 100%;
    height: auto;
}

@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(calc(-100% / 3));
    }

    100% {
        transform: translateX(calc(-100% / 3 * var(--slide-index)));
    }
}

.slider-wrapper:hover {
    animation-play-state: paused;
}

/* =====================================================================
   Home (body.home-3): continuous dark “studio” + glass modules
   — removes the white template island between custom CE sections.
   ===================================================================== */
body.home-3 {
    background: linear-gradient(180deg, #030711 0%, #0a1428 28%, #080f1e 65%, #050910 100%);
    background-attachment: fixed;
}
@media (max-width: 900px) {
    body.home-3 {
        background-attachment: scroll;
    }
}

/* Let the page canvas carry the gradient; sections stay visually seamless */
body.home-3 #ce-how.ce-how--editorial {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.05);
}
body.home-3 #ce-how.ce-how--editorial::after {
    opacity: 0.55;
}
body.home-3 #instagram.ce-ig,
body.home-3 section#instagram.ce-ig {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.05);
}
body.home-3 #instagram.ce-ig::after {
    opacity: 0.55;
}

/* —— About —— */
body.home-3 #about-us.about-area {
    background: transparent;
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
body.home-3 #about-us .about-area-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: 24px;
    /* Same glass recipe as .ce-ig__head (warm neutral, no extra blue cast) */
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 40px 80px -44px rgba(0, 0, 0, 0.5),
        0 0 80px -40px rgba(29, 194, 149, 0.12);
}
/* Brand-tinted glow under the frost — mirrors ce-ig / ce-how green accents, not slate-blue */
body.home-3 #about-us .about-area-inner::before {
    content: "";
    position: absolute;
    inset: -35%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 85% 65% at 8% 5%, rgba(29, 194, 149, 0.16), transparent 52%),
        radial-gradient(ellipse 70% 55% at 96% 92%, rgba(29, 194, 149, 0.1), transparent 48%);
    opacity: 0.95;
}
body.home-3 #about-us .about-area-inner > .row {
    position: relative;
    z-index: 1;
}
body.home-3 #about-us .section-title .sub-title.style-btn {
    color: rgba(226, 232, 240, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
body.home-3 #about-us .section-title .title {
    color: #f8fafc !important;
}
body.home-3 #about-us .section-title .content {
    color: rgba(203, 213, 225, 0.92) !important;
}
body.home-3 #about-us .single-list-inner.style-box-2 {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.15rem 1.25rem !important;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
body.home-3 #about-us .single-list-inner.style-box-2 .media-body h5 {
    color: #f1f5f9 !important;
}
body.home-3 #about-us .single-list-inner.style-box-2 .media-body p {
    color: rgba(203, 213, 225, 0.9) !important;
}
body.home-3 #about-us .about-thumb-wrap.style-two {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 56px -24px rgba(0, 0, 0, 0.55);
}

/* —— Stats row (first .counter-area, directly after #about-us) —— */
body.home-3 #about-us + .counter-area {
    background: transparent;
    padding: 0.5rem 0 1.5rem;
}
body.home-3 #about-us + .counter-area .single-list-inner.style-box-bg {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 20px 48px -28px rgba(0, 0, 0, 0.45) !important;
}
body.home-3 #about-us + .counter-area .single-list-inner.style-box-bg .media-body h5,
body.home-3 #about-us + .counter-area .single-list-inner.style-box-bg .media-body p {
    color: #f1f5f9 !important;
}

/* —— Categories / blog cards —— */
body.home-3 #gallery.blog-area {
    background: transparent;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
body.home-3 #gallery .section-title .title {
    color: #f8fafc !important;
}
body.home-3 #gallery .single-blog-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 28px 56px -28px rgba(0, 0, 0, 0.5);
}
body.home-3 #gallery .single-blog-inner .details {
    background: rgba(6, 10, 20, 0.35);
}
body.home-3 #gallery .single-blog-inner .details h5,
body.home-3 #gallery .single-blog-inner .details h5 a {
    color: #f1f5f9 !important;
}
body.home-3 #gallery .single-blog-inner .details .read-more-text {
    color: #a7f3d0 !important;
}
body.home-3 #gallery .single-blog-inner .details .read-more-text:hover {
    color: #ecfdf5 !important;
}

/* —— Triumphs / feedback strip —— */
body.home-3 #Triumphs.intro-area--top {
    margin-top: 0;
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
}
body.home-3 #Triumphs .intro-area-inner.intro-home-1 {
    background: linear-gradient(125deg, rgba(29, 194, 149, 0.22), rgba(6, 18, 28, 0.92)) !important;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 36px 72px -36px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}
body.home-3 #Triumphs .intro-title h3 {
    color: #f8fafc !important;
}
body.home-3 #Triumphs .intro-title p {
    color: rgba(226, 232, 240, 0.88) !important;
}
body.home-3 #Triumphs .single-intro-inner.style-white {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* —— FAQ —— */
body.home-3 #QA.faq-area {
    background: transparent;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
body.home-3 #QA .section-title .title {
    color: #f8fafc !important;
}
body.home-3 #QA .single-list-inner.style-check-box.bg-light-green {
    background: rgba(29, 194, 149, 0.12) !important;
    border: 1px solid rgba(29, 194, 149, 0.35) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
body.home-3 #QA .single-list-inner.style-check-box .media-body h5 {
    color: #f1f5f9 !important;
}
body.home-3 #QA .single-list-inner.style-check-box .media-body p {
    color: rgba(203, 213, 225, 0.92) !important;
}
body.home-3 #QA .single-faq-inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
body.home-3 #QA .single-faq-inner .card-header {
    background: rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.home-3 #QA .single-faq-inner .card-header button {
    color: #f1f5f9 !important;
}
body.home-3 #QA .single-faq-inner .card-body {
    background: rgba(3, 8, 18, 0.45);
    color: rgba(203, 213, 225, 0.95) !important;
}

/* —— Contact list —— */
body.home-3 .contact-list {
    background: transparent;
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: 1rem;
}
body.home-3 .contact-list .contact-list-inner {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}
body.home-3 .contact-list .contact-list-inner h5 {
    color: #f1f5f9 !important;
}
body.home-3 .contact-list .contact-list-inner p,
body.home-3 .contact-list .contact-list-inner a {
    color: rgba(203, 213, 225, 0.95) !important;
}

/* —— Contact form (second .counter-area after .contact-list) —— */
body.home-3 .contact-list + .counter-area {
    background: transparent;
    padding-top: 0.5rem;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
body.home-3 .contact-list + .counter-area .section-title .sub-title.right-line {
    color: rgba(226, 232, 240, 0.85) !important;
}
body.home-3 .contact-list + .counter-area .section-title .sub-title.right-line::after {
    background: rgba(29, 194, 149, 0.6) !important;
}
body.home-3 .contact-list + .counter-area .section-title .title {
    color: #f8fafc !important;
}
body.home-3 .contact-list + .counter-area .contact-form-inner {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 32px 64px -32px rgba(0, 0, 0, 0.5);
}
body.home-3 .contact-list + .counter-area .single-input-inner input,
body.home-3 .contact-list + .counter-area .single-input-inner textarea {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #f8fafc !important;
}
body.home-3 .contact-list + .counter-area .single-input-inner input::placeholder,
body.home-3 .contact-list + .counter-area .single-input-inner textarea::placeholder {
    color: rgba(148, 163, 184, 0.85) !important;
}

/* —— Footer: blend with studio (keep brand bar readable) —— */
body.home-3 .footer-area-2 {
    margin-top: 0;
    background: linear-gradient(180deg, transparent, rgba(3, 7, 16, 0.85));
}
body.home-3 .footer-area-2 .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
