/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/
 Description:  Hello Elementor Child Theme
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v3 or later
 License URI:  https://www.gnu.org/licenses/gpl-3.0.html
 Text Domain:  hello-elementor-child
*/

/* Add your custom styles below */


.ip-wrapper {
    font-family: 'Inter';
    margin: 0 auto;
}
.ip-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
}
h3.ip-card-title {
    color: #fff;
}
.ip-filter-btn {
    background: transparent;
    border: 1px solid #C7C7CC;
    color: #404040 !important;
    padding: 10px 20px;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s ease;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}
.ip-filter-btn:hover {
    color: #fff !important;
    background-color: #e51e28;
}
.ip-filter-btn.ip-active {
    background: #E51E28;
    border-color: #E51E28;
    color: #fff !important;
}
.ip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}
.ip-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a1a;
    transition: transform 0.3s ease;
}
.ip-card.ip-hidden { display: none; }
.ip-card:hover { transform: translateY(-4px); }
.ip-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}
.ip-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.ip-no-image {
    background: linear-gradient(135deg, #1f1f1f, #0a0a0a);
}
.ip-card:hover .ip-card-image {
    transform: scale(1.05);
}
.ip-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%);
}
.ip-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #E51E28;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 3px;
    letter-spacing: 0.6px;
    font-family: 'Inter', sans-serif;
    z-index: 2;
    line-height: 1.2;
}
.ip-card-content {
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
    z-index: 2;
}
.ip-card-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.15;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px;
}
.ip-card-cta {
    color: #E51E28;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
.ip-load-more-wrap {
    text-align: center;
    margin-top: 10px;
}
.ip-load-more {
    background: transparent;
    border: 1px solid #E51E28;
    color: #E51E28;
    padding: 12px 38px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}
.ip-load-more:hover {
    background: #E51E28;
    color: #fff;
}
.ip-load-more.ip-hidden { display: none; }

.dac-wrapper * {
    font-family: 'Inter' !important;
    box-sizing: border-box;
}

.dac-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #ffffff;
    color: #111;
}
.dac-wrapper.no-sidebar .dac-content { width: 100%; }

/* ---------- LEFT SIDEBAR ---------- */
.dac-sidebar {
    flex: 0 0 230px;
    max-width: 230px;
}
.dac-sidebar-label {
    font-size: 12px;
    font-weight: 700;
    // letter-spacing: 1.5px;
    color: #808080;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}
.dac-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dac-filter-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #E0E0E2;
}
.dac-filter-item a {
    display: block;
    padding: 12px 14px;
    font-size: 14px;
    color: #545454;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1.4;
    font-weight: 500;
}
.dac-filter-item a:hover {
    color: #E51E28;
    background: #fafafa;
}
.dac-filter-item.active a {
    background: #E51E28;
    color: #fff;
    font-weight: 600;
}

/* ---------- RIGHT CONTENT ---------- */
.dac-content {
    flex: 1;
    min-width: 0;
}
.dac-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #E51E28;
    margin-bottom: 10px;
}
.dac-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 0 0 10px;
}
.dac-title-underline {
    display: block;
    width: 60px;
    height: 4px;
    background: #E51E28;
    margin-bottom: 22px;
}
.dac-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #545454;
    margin-bottom: 36px;
    max-width: 900px;
}
.dac-desc p { margin: 0 0 10px; }
.dac-readmore {
    display: inline-block;
    margin-top: 6px;
    color: #E51E28;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}
.dac-readmore span {
    margin-left: 4px;
    transition: transform 0.25s ease;
    display: inline-block;
}
.dac-readmore:hover span { transform: translateX(4px); }

/* ---------- POST GRID ---------- */
.dac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 40px;
}
.dac-card {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.dac-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}
.dac-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.dac-card-media img,
.dac-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.5s ease;
}
.dac-card:hover .dac-card-img {
    opacity: 0.6;
    transform: scale(1.04);
}
.dac-play-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}
.dac-play-btn svg { width: 16px; height: 16px; }
.dac-card:hover .dac-play-btn {
    background: #E51E28;
    transform: scale(1.08);
    border-color: #E51E28;
}
.dac-card-body { padding: 18px 20px 22px;
    position: absolute;
    bottom: 0;
    width:100%;
    }
.dac-card-title {
    font-size: 16px !important;
    color: #fff !important;
    margin: 0;
    line-height: 26px !important;
    letter-spacing: 0 !important;
}
.dac-card-meta {
    font-size: 11px;
    color: #A6A6A6;
    margin: 0;
    font-weight: 400;
}

/* ---------- VIEW MORE BUTTON ---------- */
.dac-viewmore-wrap {
    text-align: center;
    margin: 30px 0 10px;
}
.dac-viewmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid #E51E28;
    background: transparent;
    color: #E51E28;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.dac-viewmore-btn:hover { background: #E51E28; color: #fff; }
.dac-viewmore-btn span { transition: transform 0.3s ease; }
.dac-viewmore-btn:hover span { transform: translateX(4px); }

/* ---------- PAGINATION ---------- */
.dac-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.dac-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 4px;
    background: #f3f3f3;
    color: #545454;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}
.dac-pagination .page-numbers:hover,
.dac-pagination .page-numbers.current {
    background: #E51E28;
    color: #fff;
}
.dac-empty {
    padding: 40px;
    text-align: center;
    color: #545454;
    font-size: 15px;
}
h3.dac-card-title {
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
}



/* ===== FAQ Wrapper ===== */
/* .service-faq-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
} */

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== FAQ Item (Card) ===== */
.faq-item {
   background: #ffffff !important;
    border: 1.5px solid #E0DEDB;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* Active card – red border + soft pink background */
.faq-item.active {
   border-color: #E51E284D;
    background: #FFFCFC;
}

/* ===== Question Row ===== */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
}

.faq-question h3 {
   margin: 0;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #0A0A0C !important;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 14px;
}
.faq-item.active .faq-answer p {
    border-top: 1px solid #E01E2826;
    padding-top: 20px;
}

/* ===== Number Badge (Q1, Q2 ...) ===== */
/* Auto-generated counter so you don't need to edit HTML */
.faq-container {
    counter-reset: faq-counter;
}

.faq-item {
    counter-increment: faq-counter;
}

.faq-question h3::before {
    content: "Q" counter(faq-counter);
    flex-shrink: 0;
    background: #F0F0F0;
    color: #595959;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    line-height: 1;
}

/* Active badge – red */
.faq-item.active .faq-question h3::before {
    background: #fde8e9;
    color: #E51E28;
}

/* ===== Toggle Icon (Chevron) ===== */
.faq-toggle {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    position: relative;
    font-size: 0; /* hide the "+" text if present */
    transition: transform 0.3s ease;
}

/* Build a chevron with borders */
.faq-toggle::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #9a9a9a;
    border-bottom: 2px solid #9a9a9a;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* Active – chevron points up + turns red */
.faq-item.active .faq-toggle::before {
    border-color: #E51E28;
    top: 8px;
    transform: rotate(-135deg);
}

/* ===== Answer ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 24px 22px 24px;
}

/* Indent answer to align with question text (past the badge) */
.faq-answer p,
.faq-answer {
    padding-left: 24px;
    color: #595959;
}

.faq-item.active .faq-answer {
    padding-left: 24px;
}


/*****/

.sp-card {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.sp-card-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 1;
}

.sp-card.has-video:hover .sp-card-video {
	opacity: 1;
	visibility: visible;
}

.sp-card-top,
.sp-card-bottom {
	position: relative;
	z-index: 2;
}

/*********/

/* ===== Responsive of FAQ ===== */
@media (max-width: 600px) {
    .faq-question {
        padding: 16px 18px;
    }
    .faq-question h3 {
        font-size: 14px;
        gap: 10px;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 18px 18px;
    }
}




 /* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .dac-grid { grid-template-columns: repeat(2, 1fr); }
    .dac-title { font-size: 28px; }
}
@media (max-width: 900px) {
    .ip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dac-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 40px 18px;
    }
    .dac-sidebar { flex: none; max-width: 100%; }
    .dac-filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .dac-filter-item { border-bottom: none; }
    .dac-filter-item a {
        padding: 8px 14px;
        background: #f5f5f5;
        border-radius: 4px;
        font-size: 13px;
    }
    .dac-filter-item.active a { background: #E51E28; color: #fff; }
}
@media (max-width: 600px) {
    .ip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .dac-grid { grid-template-columns: 1fr; }
    .dac-title { font-size: 24px; }
    .dac-desc { font-size: 14px; }
}





/**
 * Selected Projects — grid styles
 */

.sp-wrapper {
    --sp-cols: 3;
    --sp-red: #E51E28;
    --sp-card-bg: #111315;
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
    box-sizing: border-box;
}
 
.sp-wrapper *,
.sp-wrapper *::before,
.sp-wrapper *::after {
    box-sizing: border-box;
}
 
/* ---------- Header ---------- */
.sp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
 
.sp-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111315;
    margin: 0;
    line-height: 1.1;
}
 
.sp-all-link {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: #111315;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}
 
.sp-all-link:hover {
    color: var(--sp-red);
}
 
/* ---------- Grid ---------- */
.sp-grid {
     display: flex;
    gap: 20px;
}
 
/* ---------- Card ---------- */
.sp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 22px;
    border-radius: 12px;
    background-color: var(--sp-card-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    overflow: hidden;
     transition: flex 0.6s ease, transform 0.6s ease;
flex: 1;
}
 
/* Dark overlay so text stays readable over thumbnails */
.sp-card.has-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,11,13,0.35) 0%, rgba(10,11,13,0.85) 100%);
    z-index: 1;
}
 
 
.sp-card-top,
.sp-card-bottom {
    position: relative;
    z-index: 2;
}
 
.sp-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
 
/* Category pill */
.sp-card-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #d9dce0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 5px 11px;
    border-radius: 999px;
    text-transform: uppercase;
    line-height: 1;
}
 
.sp-card-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--sp-red);
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
    margin-left: auto;   /* ← pushes PLAY to the right when no category */
    flex-shrink: 0;      /* ← prevents shrinking */
}
 
.sp-play-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 9px solid #fff;   /* ← this creates the ▶ triangle */
    border-right: 0;
    flex-shrink: 0;
}
 
.sp-card:hover {
    flex: 1.6;
    transform: scale(1.02);
    z-index: 2;
}
 
h3.sp-card-title,
.sp-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff !important;
    margin: 0;
   transition: 1s;
}
.sp-grid .sp-card:hover .sp-card-title {
font-size: 45px;
}
 
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sp-card-title { font-size: 26px; }
}
 @media (max-width: 767px) {
    .sp-grid {
        flex-direction: column;
    }

    .sp-card {
        min-height: 300px;
    }

    .sp-card:hover {
        flex: 1;
        transform: scale(1.02);
    }
}
@media (max-width: 560px) {
    .sp-title { font-size: 26px; }
    .sp-card { min-height: 240px; }
}



.sp-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

/* Default: 3 columns */
.sp-card {
    flex: 1 1 calc(33.333% - 14px);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    transition: flex-grow 0.6s ease, flex-basis 0.6s ease, transform 0.6s ease;
}

/* When hovering inside grid, create space for animation */
.sp-grid:hover .sp-card {
    flex-basis: calc(25% - 10px);
}

/* Hovered card expands */
.sp-grid .sp-card:hover {
    flex-grow: 2.5;
    transform: scale(1.02);
    z-index: 2;
}

















