/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/CaseStudies.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
.caseStudiesWrapper {
    min-height: 85vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8rem 5.5%;
    font-family: 'Inter', sans-serif;
    color: #004d4d;
    overflow: visible;
    position: relative;
}
.caseStudiesBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.caseStudiesBackground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.20;
}
.caseStudiesHeader {
    text-align: center;
    margin-bottom: 4rem;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.caseStudiesHeader.fadeIn {
    opacity: 1;
    transform: translateY(0);
}
.caseStudiesHeader.fadeOut {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}
.caseStudiesTitle {
    font-size: 3rem;
    color: #004d4d;
    margin-bottom: 1rem;
}
.caseStudiesDescription {
    font-size: 1.2rem;
    color: #007c7c;
    margin-bottom: 2rem;
}
.exploreButton,
.exploreButton2 {
    background-color: #00b3b3;
    color: var(--accent);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.exploreButton2 {
    margin-left: auto;
    display: block;
}
.exploreButton:hover,
.exploreButton2:hover {
    background-color: #009999;
}
.caseStudiesGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
    justify-items: center;
    gap: 2.5rem;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.caseStudiesGrid.show {
    opacity: 1;
    transform: translateY(0);
}
.caseStudyImage {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}
.caseStudyCard {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid #c7e4e4;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    opacity: 0;
    animation: cardFadeUp 0.6s ease forwards;
    transition:
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.caseStudyCard:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}
.caseStudyCard:nth-child(1) { animation-delay: 0.1s; }
.caseStudyCard:nth-child(2) { animation-delay: 0.2s; }
.caseStudyCard:nth-child(3) { animation-delay: 0.3s; }
.caseStudyCard:nth-child(4) { animation-delay: 0.4s; }
.caseStudyCard h3 {
    text-align: center;
    padding-bottom: 10px;
    color: #004d4d;
    margin-bottom: 0.5rem;
}
.caseStudyCard p {
    color: #006666;
}
.selectedCardDetail {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    text-align: left;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    padding: 2rem;
    animation: fadeIn 1s ease forwards;
}
.numberTextWrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}
.bigNumber {
    font-size: 15rem;
    font-weight: bold;
    color: #00b3b3;
    flex-shrink: 0;
}
.textBlock h3 {
    font-size: 2rem;
    padding-left: 50px;
    color: #004d4d;
    margin-bottom: 0.5rem;
}
.textBlock p {
    font-size: 1.1rem;
    padding-left: 50px;
    color: #006666;
    line-height: 1.5;
}
.detailImage {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes cardFadeUp {
    from { opacity: 0; }
    to { opacity: 1; }
}
@media (max-width:1024px) {
    .caseStudiesWrapper { padding: 6rem; }
    .caseStudiesTitle { font-size: 2.5rem; }
    .caseStudiesDescription { font-size: 1.1rem; }
    .caseStudyCard {
        padding: 3rem 2rem;
    }
    .caseStudyCard h3 {
        font-size: 1.1rem;
    }
}
@media (max-width: 768px) {
    .caseStudiesGrid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 2rem;
    }
    .caseStudyCard {
        width: 100%;
        padding: 2rem 1rem;
        align-items: center;
    }
}

