/* =================================================================
   // TABLE OF CONTENTS
   
   1. IMAGE CAROUSEL Hero SECTION
   2. BELIEFS CAROUSEL SECTION
   3. SERVICES FAQ SECTION
================================================================= */


/* ========== 1. IMAGE CAROUSEL Hero SECTION ========== */
.image-carousel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #333;
}

.ic-item {
    width: 200px;
    height: 300px;
    list-style-type: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-size: cover;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 20px 30px rgba(255, 255, 255, 0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
}

.ic-item:nth-child(1),
.ic-item:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
}

.ic-item:nth-child(3) {
    left: 50%;
}

.ic-item:nth-child(4) {
    left: calc(50% + 220px);
}

.ic-item:nth-child(5) {
    left: calc(50% + 440px);
}

.ic-item:nth-child(6) {
    left: calc(50% + 660px);
    opacity: 0;
}

.ic-content {
    width: min(30vw, 400px);
    position: absolute;
    top: 50%;
    left: var(--space-xl);
    transform: translateY(-50%);
    font-family: var(--font-secondary);
    font-size: var(--fs-200);
    font-weight: 400;
    color: white;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;
}

.ic-content .ic-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: var(--fs-700);
    text-transform: uppercase;
    line-height: 1.2;
}

.ic-content .ic-description {
    line-height: 1.7;
    margin: var(--space-s) 0 var(--space-m);
    font-size: var(--fs-300);
}

.ic-content button {
    font-family: var(--font-primary);
    width: fit-content;
    background-color: black;
    color: white;
    border: 1px solid black;
    border-radius: var(--space-xxs);
    padding: var(--space-s) var(--space-m);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.ic-content button:hover {
    background-color: white;
    color: black;
}

.ic-item:nth-of-type(2) .ic-content {
    display: block;
    animation: ic-show-content 0.75s ease-in-out 0.3s forwards;
}

@keyframes ic-show-content {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.ic-nav {
    position: absolute;
    bottom: var(--space-l);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
}

.ic-nav .ic-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.6);
    margin: 0 var(--space-xxs);
    padding: var(--space-xs);
    border-radius: 50%;
    cursor: pointer;
    font-size: var(--fs-500);
    display: inline-flex;
}

.ic-nav .ic-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .ic-item {
        width: 160px;
        height: 270px;
    }

    .ic-item:nth-child(4) {
        left: calc(50% + 170px);
    }

    .ic-item:nth-child(5) {
        left: calc(50% + 340px);
    }

    .ic-item:nth-child(6) {
        left: calc(50% + 510px);
    }

}

@media (max-width: 670px) {
    .ic-content {
        left: var(--space-m);
    }

    .ic-item {
        width: 130px;
        height: 220px;
    }

    .ic-item:nth-child(4) {
        left: calc(50% + 140px);
    }

    .ic-item:nth-child(5) {
        left: calc(50% + 280px);
    }

    .ic-item:nth-child(6) {
        left: calc(50% + 420px);
    }

    .ic-content .ic-title {
        font-weight: 600;
        font-size: var(--fs-600);
    }

    .ic-content .ic-description {
        font-size: var(--fs-200);
    }

    .ic-content button {
        padding: var(--space-xs) var(--space-s);
        font-weight: 500;
    }

}

@media (max-width: 480px) {
    .ic-item {
        width: 50px;
        height: 180px;
    }

    .ic-item:nth-child(3) {
        left: 70%;
    }

    .ic-item {
        border-radius: 10px;
    }

    .ic-item:nth-child(4) {
        left: calc(70% + 70px);
    }

    .ic-content {
        width: min(50vw, 400px);
    }

    .ic-content .ic-title {
        font-weight: 500;
        font-size: var(--fs-500);
    }

    .ic-content .ic-description {
        margin: var(--space-xs) 0 var(--space-xs);
        font-size: var(--fs-200);
    }

    .ic-content button {
        padding: var(--space-xs) var(--space-xs);
        font-weight: 300;
    }

}

/* ========== 2. BELIEFS CAROUSEL SECTION ========== */
.beliefs-carousel-section {
    font-family: var(--font-secondary);
    overflow: hidden;
}

/* --- Consistent Title Styles --- */
.bc-title-container {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-m);
}

.bc-title-decorator {
    display: block;
    width: 50px;
    height: 3px;
    background-color: #1a202c;
    margin-right: var(--space-m);
    transform-origin: left;
}

.bc-section-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: var(--font-primary);
    font-weight: 700;
    color: #333;
    overflow: hidden;
    display: inline-block;
    padding-left: var(--space-xs);
    padding-right: var(--space-xs);
    cursor: pointer;
}

.bc-title-char {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

.bc-title-particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #333;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
}

/* --- Carousel Styles --- */
.bc-carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bc-card {
    position: absolute;
    left: 50%;
    width: 280px;
    height: 350px;
    border-radius: var(--border-radius-medium);
    border: 2px solid transparent;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.bc-card-1 {
    background-color: #fce8b2;
}

.bc-card-2 {
    background-color: #d8d8ff;
}

.bc-card-3 {
    background-color: #f7c5e6;
}

.bc-card-4 {
    background-color: #d1e8ff;
}

.bc-card-5 {
    background-color: #d9f5e8;
}

.bc-card.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 5;
    filter: blur(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: white;
}

.bc-card.prev {
    transform: translateX(calc(-50% - 160px)) scale(0.9);
    opacity: 0.7;
    z-index: 4;
    filter: blur(2px);
}

.bc-card.next {
    transform: translateX(calc(-50% + 160px)) scale(0.9);
    opacity: 0.7;
    z-index: 4;
    filter: blur(2px);
}

.bc-card.prev-2 {
    transform: translateX(calc(-50% - 320px)) scale(0.8);
    opacity: 0;
    z-index: 3;
    filter: blur(4px);
}

.bc-card.next-2 {
    transform: translateX(calc(-50% + 320px)) scale(0.8);
    opacity: 0;
    z-index: 3;
    filter: blur(4px);
}

/* --- Card Content Styles --- */
.bc-card-content {
    width: 100%;
    height: 100%;
    padding: var(--space-l);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.bc-icon-container {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: var(--space-m);
    flex-shrink: 0;
}

.bc-icon-container i {
    font-size: var(--fs-800);
    color: #1a202c;
}

.bc-card-title {
    font-family: var(--font-primary);
    font-size: var(--fs-500);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: var(--space-xs);
}

.bc-card-description {
    font-family: var(--font-secondary);
    font-size: var(--fs-300);
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.bc-card .bc-card-content {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bc-card.active .bc-card-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* --- Navigation Styles --- */
.bc-carousel-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-s);
    margin-top: var(--space-s);
}

.bc-nav-btn {
    border: none;
    padding: var(--space-s) var(--space-l);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--fs-200);
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#bc-prevBtn,
#bc-nextBtn {
    background: linear-gradient(to right, #fde2e6, #e6e9ff);
}

.bc-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bc-nav-btn:active {
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 960px) {

    .bc-section-title {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .bc-card {
        width: 220px;
        height: 320px;
    }

    .bc-carousel-container {
        height: 360px;
    }

    .bc-card.prev {
        transform: translateX(calc(-50% - 120px)) scale(0.9);
    }

    .bc-card.next {
        transform: translateX(calc(-50% + 120px)) scale(0.9);
    }

    .bc-card.prev-2 {
        transform: translateX(calc(-50% - 240px)) scale(0.8);
    }

    .bc-card.next-2 {
        transform: translateX(calc(-50% + 240px)) scale(0.8);
    }

    .bc-icon-container {
        width: 60px;
        height: 60px;
    }

    .bc-icon-container i {
        font-size: var(--fs-700);
    }

    .bc-card-title {
        font-size: var(--fs-400);
    }

    .bc-card-description {
        font-size: var(--fs-200);
    }

    .bc-title-decorator {
        width: 40px;
        margin-right: var(--space-s);
    }

}

@media (max-width: 500px) {

    .bc-card {
        width: 180px;
        height: 280px;
    }

    .bc-carousel-container {
        height: 320px;
    }

    .bc-card.prev {
        transform: translateX(calc(-50% - 90px)) scale(0.85);
    }

    .bc-card.next {
        transform: translateX(calc(-50% + 90px)) scale(0.85);
    }

    .bc-card-content {
        padding: var(--space-xs);
    }

    .bc-title-decorator {
        width: 30px;
        margin-right: var(--space-xs);
    }

    .bc-nav-btn {
        padding: var(--space-s) var(--space-m);
    }
}

/* ========== 3. SERVICES FAQ SECTION ========== */
.faq-section-wrapper {
    font-family: var(--font-secondary);
    max-width: 950px;
    margin: 0 auto;
}

.faq-title {
    /* font-size: var(--fs-900); */
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-family: var(--font-primary);
    font-weight: 700;
    text-align: left;
    margin-bottom: var(--space-l);
    line-height: 1.1;
    color: #1a1a1a;
    cursor: pointer;
}

.faq-accordion-item {
    border-bottom: 1px solid #eeee;
}

.faq-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-m) var(--space-xs);
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.faq-question-text {
    font-size: var(--fs-400);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-right: var(--space-s);
    color: #1a1a1a;
    line-height: 1.4;
}

.faq-icon-container {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e8e8ea;
    display: grid;
    place-items: center;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.faq-accordion-item.active .faq-icon-container {
    background-color: #1a1a1a;
    transform: rotate(180deg);
}

.faq-icon-plus {
    position: relative;
    width: 14px;
    height: 14px;
}

.faq-icon-plus::before,
.faq-icon-plus::after {
    content: '';
    position: absolute;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-accordion-item.active .faq-icon-plus::before,
.faq-accordion-item.active .faq-icon-plus::after {
    background-color: #f4f4f6;
}

.faq-icon-plus::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-icon-plus::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-accordion-item.active .faq-icon-plus::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-accordion-content {
    overflow: hidden;
    height: 0;
    visibility: hidden;
}

.faq-accordion-content p {
    padding: 0 var(--space-xs) var(--space-l) var(--space-xs);
    margin: 0;
    font-size: var(--fs-300);
    line-height: 1.7;
    color: #555;
    max-width: 95%;
}

/* --- Responsive Styles --- */
@media (max-width: 480px) {
    /* .faq-title {
        font-size: var(--fs-800);
    } */

    .faq-question-text {
        font-size: var(--fs-300);
    }

    .faq-accordion-header {
        padding: var(--space-s) var(--space-xxs);
    }
}


/* =========================== END of Services Page =========================== */