/* =========================
   FAQ SECTION
========================= */

.faq-section {
    background: #ffffff;
    overflow: hidden;
}

.faq-header {
    max-width: 650px;
    margin: 0 auto 55px;
}

.faq-header .eyebrow {
    margin-bottom: 18px;
}

.faq-header .section-title {
    margin-bottom: 18px;
}

.faq-intro {
    max-width: 490px;
    margin: 0 auto;
    color: #777180;
    font-size: 15px;
    line-height: 1.8;
}

/* FAQ list */

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    border-top: 1px solid #e9e5f2;
}

.faq-item {
    border-bottom: 1px solid #e9e5f2;
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 18px;
    padding: 25px 8px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-number {
    color: #a294d8;
    font-size: 12px;
    font-weight: 600;
}

.faq-question strong {
    color: #201b2b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    transition: color 0.25s ease;
}

.faq-icon {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: end;
    border: 1px solid #e9e5f2;
    border-radius: 50%;
    color: #8b6cff;
    font-size: 14px;
    transition: background 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.faq-item.active .faq-question strong {
    color: #8b6cff;
}

.faq-item.active .faq-icon {
    background: #8b6cff;
    color: #ffffff;
    border-color: #8b6cff;
    transform: rotate(45deg);
}

/* Expandable answers */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
    padding: 0 55px;
    color: #777180;
    font-size: 14px;
    line-height: 1.9;
    transition: padding 0.35s ease;
}

.faq-item.active .faq-answer-inner {
    padding-bottom: 25px;
}

/* Bottom contact link */

.faq-bottom {
    margin-top: 40px;
}

.faq-bottom p {
    color: #777180;
    font-size: 14px;
    margin-bottom: 10px;
}

.faq-bottom-link {
    color: #8b6cff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.faq-bottom-link span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.25s ease;
}

.faq-bottom-link:hover span {
    transform: translate(3px, -3px);
}

.faq-question:focus-visible,
.faq-bottom-link:focus-visible {
    outline: 2px solid #8b6cff;
    outline-offset: 4px;
}

/* Responsive */

@media (max-width: 575px) {
    .faq-header {
        margin-bottom: 35px;
    }

    .faq-intro {
        font-size: 14px;
    }

    .faq-question {
        grid-template-columns: 24px minmax(0, 1fr) 30px;
        gap: 10px;
        padding: 21px 0;
    }

    .faq-question strong {
        font-size: 14px;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .faq-answer-inner {
        padding-left: 34px;
        padding-right: 10px;
        font-size: 13px;
    }

    .faq-item.active .faq-answer-inner {
        padding-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .faq-answer-inner,
    .faq-icon,
    .faq-question strong,
    .faq-bottom-link span {
        transition: none;
    }
}



/* ===========project grid ================ */
/* Project image area */
.project-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2efff;
    border-radius: 12px;
}

/* Project image */
.project-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Image hover effect */
.project-card:hover .project-image {
    transform: scale(1.04);
}

/* Responsive image sizing */
@media (max-width: 576px) {
    .project-visual {
        aspect-ratio: 4 / 3;
    }
}



/* Project Copyright Notice */

#filter-section{
    margin-top: 20px;
    margin-bottom: 20px ;
}
.project-notice-section {
    padding: 20px 0 60px;
}

.project-notice-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.project-notice-card h3 {
    margin: 0 0 12px;
    color: #201b2b;
    font-size: 18px;
    font-weight: 600;
}

#project-name{
    margin-top: 5px;
}
.project-notice-card p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 576px) {
    .project-notice-card {
        padding: 18px;
    }
}



/* =========================================
   CREATIVE PROJECT FOLDERS (ACCORDION)
   ========================================= */

.folder-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-folder {
    background: #ffffff;
    border: 1px solid #eae7f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-folder:hover {
    box-shadow: 0 10px 30px rgba(42, 27, 78, 0.08);
    border-color: #d1c4ff;
    transform: translateY(-2px); /* Slight lift on hover */
}

/* The Clickable Header */
.folder-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.folder-header:hover {
    background: #fdfcff;
}

.folder-title-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* NEW: Small preview thumbnail */
.folder-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #eae7f0;
    transition: border-color 0.3s ease;
}

.project-folder:hover .folder-thumb {
    border-color: #8b6cff;
}

.folder-number {
    font-size: 12px;
    font-weight: 700;
    color: #a294d8;
    font-family: monospace;
    display: block;
    margin-bottom: 2px;
}

.folder-name {
    font-size: 18px;
    font-weight: 600;
    color: #201b2b;
    margin: 0 0 4px;
    letter-spacing: -0.5px;
}

.folder-category {
    font-size: 12px;
    font-weight: 500;
    color: #777180;
    background: #f2efff;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* NEW: The "View Project" action area */
.folder-action {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8b6cff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* The Plus Icon */
.folder-icon {
    font-size: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When Open */
.project-folder.active {
    border-color: #8b6cff;
    box-shadow: 0 15px 40px rgba(139, 108, 255, 0.12);
    transform: none;
}

/* Rotate the plus into an X */
.project-folder.active .folder-icon {
    transform: rotate(45deg);
}

.project-folder.active .folder-header {
    background: #fcfbff;
    border-bottom: 1px solid #f2efff;
}

/* Expandable Content */
.folder-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-folder.active .folder-content {
    grid-template-rows: 1fr;
}

.folder-inner {
    overflow: hidden;
    padding: 0 30px;
    opacity: 0;
    transition: opacity 0.4s ease, padding 0.4s ease;
}

.project-folder.active .folder-inner {
    padding: 30px;
    opacity: 1;
}

/* Gallery Layout inside the folder */
.folder-gallery {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f7fb;
    aspect-ratio: 16 / 10;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.folder-gallery:hover .gallery-img {
    transform: scale(1.03);
}

/* Details Text */
.folder-details h3 {
    font-size: 13px;
    font-weight: 700;
    color: #8b6cff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.folder-details p {
    font-size: 14px;
    color: #777180;
    line-height: 1.7;
    margin-bottom: 25px;
}

.folder-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.folder-list-items li {
    font-size: 14px;
    color: #494453;
    padding: 8px 0;
    border-bottom: 1px solid #f2efff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.folder-list-items li::before {
    content: "\F26E"; /* Bootstrap Icon Check */
    font-family: "bootstrap-icons";
    color: #1b9b68;
    font-size: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .folder-header {
        padding: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .folder-title-area {
        gap: 12px;
    }
    
    .folder-thumb {
        width: 45px;
        height: 45px;
    }
    
    .folder-name {
        font-size: 15px;
    }
    
    .folder-action span {
        display: none; /* Hide the "View Project" text on mobile, keep the + icon */
    }
    
    .project-folder.active .folder-inner {
        padding: 15px;
    }
}