﻿.about-sec {
    background: #ffffff;
    height: 100vh;
    z-index: 1000;
    position: relative;
    overflow: hidden;
}

    .about-sec .card-section {
        width: 100%;
        height: 80vh;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .about-sec .card-section .contents {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            background: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.08);
            opacity: 0;
            transform: translateY(20px);
        }

            .about-sec .card-section .contents .content-box {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: start;
                align-items: start;
                position: relative;
            }

                .about-sec .card-section .contents .content-box .image-container {
                    width: 40%;
                    height: 100%;
                    position: relative;
                    overflow: hidden;
                    border-radius: 8px;
                    box-shadow: 0 10px 30px rgba(0, 84, 177, 0.1);
                    transform: perspective(1000px) rotateY(5deg);
                    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
                }

                    .about-sec .card-section .contents .content-box .image-container:hover {
                        transform: perspective(1000px) rotateY(0);
                    }

                .about-sec .card-section .contents .content-box .image {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    opacity: 0;
                    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                    transition: all 0.9s cubic-bezier(0.645, 0.045, 0.355, 1);
                    filter: grayscale(0.3) brightness(0.95);
                    transform: scale(1.1);
                }

                    .about-sec .card-section .contents .content-box .image.active {
                        opacity: 1;
                        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
                        filter: grayscale(0) brightness(1);
                        transform: scale(1);
                    }

                    .about-sec .card-section .contents .content-box .image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        border-radius: 8px;
                    }

                .about-sec .card-section .contents .content-box .desc {
                    position: absolute;
                    height: 100%;
                    left: 45%;
                    width: calc(55%);
                    padding: 20px 30px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                }

                    .about-sec .card-section .contents .content-box .desc h2.title {
                        font-size: 4rem;
                        color: #333;
                        font-weight: 600;
                        text-align: start;
                        margin-bottom: 30px;
                        line-height: 1.2;
                        position: relative;
                    }

                        .about-sec .card-section .contents .content-box .desc h2.title::after {
                            content: '';
                            position: absolute;
                            left: 0;
                            bottom: -15px;
                            width: 60px;
                            height: 3px;
                            background: #0054b1;
                            transform: scaleX(0);
                            transform-origin: left;
                            transition: transform 0.8s cubic-bezier(0.17, 0.55, 0.55, 1) 0.5s;
                        }

    .about-sec.visible .card-section .contents .content-box .desc h2.title::after {
        transform: scaleX(1);
    }

    .about-sec .card-section .contents .content-box .desc h2.title span {
        display: inline-block;
    }

    .about-sec .card-section .contents .content-box .desc h2.title .char1,
    .about-sec .card-section .contents .content-box .desc h2.title .char2,
    .about-sec .card-section .contents .content-box .desc h2.title .char3 {
        color: #0054b1;
        font-size: 5.5rem;
        font-weight: 800;
        opacity: 0;
        transform: scale(0.5) translateY(30px);
        margin-right: 5px;
        text-shadow: 3px 3px 10px rgba(0, 84, 177, 0.15);
        display: inline-block;
        transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

        .about-sec .card-section .contents .content-box .desc h2.title .char1.active,
        .about-sec .card-section .contents .content-box .desc h2.title .char2.active,
        .about-sec .card-section .contents .content-box .desc h2.title .char3.active {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

    .about-sec .card-section .contents .content-box .desc p {
        font-size: 17px;
        color: #333;
        font-weight: 400;
        text-align: start;
        opacity: 0;
        transform: translateY(20px);
        line-height: 1.8;
        margin-bottom: 20px;
        position: relative;
        padding-left: 15px;
        border-left: 2px solid transparent;
        transition: all 0.6s ease;
    }

        .about-sec .card-section .contents .content-box .desc p.active {
            opacity: 1;
            transform: translateY(0);
            border-left: 2px solid rgba(0, 84, 177, 0.3);
        }

        /* Paragraf stilleri için charText sınıfını ekledik */
        .about-sec .card-section .contents .content-box .desc p.charText {
            font-size: 17px;
            color: #333;
            font-weight: 400;
            text-align: start;
            opacity: 0;
            transform: translateY(20px);
            line-height: 1.8;
            margin-bottom: 20px;
            position: relative;
            padding-left: 15px;
            border-left: 2px solid transparent;
            transition: all 0.6s ease;
        }

            .about-sec .card-section .contents .content-box .desc p.charText.active {
                opacity: 1;
                transform: translateY(0);
                border-left: 2px solid rgba(0, 84, 177, 0.3);
            }

.word-part {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

    .word-part.active {
        opacity: 1;
        transform: translateY(0);
    }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: 1.5s;
    z-index: 10;
}

    .scroll-indicator .mouse {
        width: 30px;
        height: 50px;
        border: 2px solid #0054b1;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
    }

        .scroll-indicator .mouse::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 6px;
            background: #0054b1;
            border-radius: 50%;
            animation: scrollWheel 1.8s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
        }

    .scroll-indicator span {
        margin-top: 10px;
        color: #0054b1;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 500;
        opacity: 0.8;
    }

@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
        height: 6px;
    }

    50% {
        height: 8px;
    }

    100% {
        top: 32px;
        opacity: 0;
        height: 6px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.about-sec .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

    .about-sec .floating-shapes .shape {
        position: absolute;
        opacity: 0.03;
        border-radius: 50%;
    }

    .about-sec .floating-shapes .shape1 {
        width: 150px;
        height: 150px;
        bottom: -20px;
        left: 10%;
        background: #0054b1;
        animation: floatingShape 20s infinite linear;
    }

    .about-sec .floating-shapes .shape2 {
        width: 80px;
        height: 80px;
        top: 30%;
        right: 10%;
        background: #0054b1;
        animation: floatingShape 15s infinite linear reverse;
    }

    .about-sec .floating-shapes .shape3 {
        width: 60px;
        height: 60px;
        bottom: 30%;
        left: 20%;
        background: #0054b1;
        animation: floatingShape 25s infinite linear;
    }

@keyframes floatingShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, 15px) rotate(90deg);
    }

    50% {
        transform: translate(5px, 10px) rotate(180deg);
    }

    75% {
        transform: translate(-5px, 5px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Responsive ayarlar */
@media (max-width: 992px) {
    .about-sec {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }

        .about-sec .card-section {
            height: auto;
            padding: 40px 0;
        }

            .about-sec .card-section .contents .content-box {
                flex-direction: column;
            }

                .about-sec .card-section .contents .content-box .image-container {
                    width: 100%;
                    height: 300px;
                    margin-bottom: 30px;
                    transform: none;
                }

                    .about-sec .card-section .contents .content-box .image-container .image {
                        transition: all 0.3s;
                    }

                    .about-sec .card-section .contents .content-box .desc {
                        position: relative;
                        left: 0;
                        width: 100%;
                        padding: 20px;
                        opacity: 1 !important;
                    }

                    .about-sec .card-section .contents .content-box .desc span,
                    .about-sec .card-section .contents .content-box .desc p{
                        opacity: 1 !important;
                        transform: unset !important;
                    }

                    .about-sec .card-section .contents .content-box .desc h2.title {
                        font-size: 2.8rem;
                        opacity: 1 !important;
                    }

                        .about-sec .card-section .contents .content-box .desc h2.title .char1,
                        .about-sec .card-section .contents .content-box .desc h2.title .char2,
                        .about-sec .card-section .contents .content-box .desc h2.title .char3 {
                            font-size: 3.5rem;
                        }
}

@media (max-width: 768px) {
    .about-sec .card-section .contents .content-box .desc h2.title {
        font-size: 2.4rem;
    }

        .about-sec .card-section .contents .content-box .desc h2.title .char1,
        .about-sec .card-section .contents .content-box .desc h2.title .char2,
        .about-sec .card-section .contents .content-box .desc h2.title .char3 {
            font-size: 3rem;
        }
}

@media (max-width: 576px) {
    .about-sec .card-section .contents .content-box .desc h2.title {
        font-size: 2rem;
    }

        .about-sec .card-section .contents .content-box .desc h2.title .char1,
        .about-sec .card-section .contents .content-box .desc h2.title .char2,
        .about-sec .card-section .contents .content-box .desc h2.title .char3 {
            font-size: 2.5rem;
        }
}

@media (max-width: 480px) {
    .about-sec .card-section .contents .content-box .desc h2.title {
        font-size: 1.8rem;
    }

        .about-sec .card-section .contents .content-box .desc h2.title .char1,
        .about-sec .card-section .contents .content-box .desc h2.title .char2,
        .about-sec .card-section .contents .content-box .desc h2.title .char3 {
            font-size: 2.2rem;
        }
}


/* ==================== Association Membership Section Styles ==================== */
.association-membership {
    background: #f8f9fa;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

    .association-membership::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../images/patterns/pattern-light.png');
        opacity: 0.04;
        pointer-events: none;
    }

    .association-membership .section-title-container {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }

    .association-membership .section-title {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .association-membership .section-title strong {
            color: #0054b1;
            position: relative;
        }

            .association-membership .section-title strong::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 100%;
                height: 2px;
                background: #0054b1;
                transform: scaleX(0.7);
                transform-origin: center;
                transition: transform 0.4s ease;
            }

    .association-membership:hover .section-title strong::after {
        transform: scaleX(1);
    }

    .association-membership .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: #0054b1;
    }

    .association-membership .section-description {
        font-size: 18px;
        color: #666;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }

.associations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.association-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 84, 177, 0.1);
    overflow: hidden;
    width: calc(50% - 15px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .association-card[data-animation="left"] {
        transform: translateX(-30px) translateY(30px);
    }

    .association-card[data-animation="right"] {
        transform: translateX(30px) translateY(30px);
    }

    .association-card.animate {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }

    .association-card:hover {
        box-shadow: 0 15px 40px rgba(0, 84, 177, 0.15);
        transform: translateY(-5px);
    }

.association-logo {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    height: 300px;
    position: relative;
    overflow: hidden;
}

    .association-logo::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0, 84, 177, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
        pointer-events: none;
    }

    .association-logo img {
        width: auto;
        height: 100%;
        transition: all 0.4s ease;
        filter: saturate(0.9) brightness(1.03);
    }

.association-card:hover .association-logo img {
    transform: scale(1.05);
    filter: saturate(1.1) brightness(1.05);
}

.association-content {
    padding: 25px 30px;
    flex: 1;
}

    .association-content h3 {
        font-size: 1.5rem;
        color: #333;
        margin-bottom: 5px;
        font-weight: 600;
    }

    .association-content h4 {
        font-size: 1.2rem;
        color: #0054b1;
        margin-bottom: 15px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .association-content p {
        font-size: 16px;
        color: #666;
        margin-bottom: 20px;
        line-height: 1.7;
    }

.btn-association {
    display: inline-flex;
    align-items: center;
    color: #0054b1;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid transparent;
}

    .btn-association i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .btn-association:hover {
        color: #003a7a;
        border-bottom-color: #003a7a;
    }

        .btn-association:hover i {
            transform: translateX(5px);
        }

.certificate {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0054b1;
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0, 84, 177, 0.2);
    transform: rotate(5deg);
    transition: all 0.3s ease;
    z-index: 10;
}

.association-card:hover .certificate {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 84, 177, 0.25);
}

.certificate span {
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.certificate-date {
    font-size: 10px;
    opacity: 0.9;
    margin-top: 3px;
}

    .certificate-date strong {
        font-weight: 700;
        letter-spacing: 0.5px;
    }

.association-footer {
    text-align: center;
    margin-top: 20px;
    padding: 0 15px;
}

    .association-footer p {
        font-size: 17px;
        color: #555;
        max-width: 800px;
        margin: 0 auto 30px;
        line-height: 1.6;
    }

.association-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    color: #333;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .benefit:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .benefit i {
        color: #0054b1;
        margin-right: 10px;
        font-size: 18px;
    }

    .benefit span {
        font-weight: 500;
        letter-spacing: 0.3px;
    }

/* Animate on scroll effects */
.association-membership [data-animation] {
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.association-membership .section-title-container {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.association-membership.visible .section-title-container {
    opacity: 1;
    transform: translateY(0);
}

.association-membership .association-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

.association-membership.visible .association-footer {
    opacity: 1;
    transform: translateY(0);
}

.association-membership .benefit {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.association-membership.visible .benefit:nth-child(1) {
    transition-delay: 0.7s;
}

.association-membership.visible .benefit:nth-child(2) {
    transition-delay: 0.8s;
}

.association-membership.visible .benefit:nth-child(3) {
    transition-delay: 0.9s;
}

.association-membership.visible .benefit:nth-child(4) {
    transition-delay: 1s;
}

.association-membership.visible .benefit {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .association-membership {
        padding: 70px 0;
    }

    .associations-container {
        flex-direction: column;
    }

    .association-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .association-membership .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .association-membership {
        padding: 60px 0;
    }

    .association-benefits {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .benefit {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .association-logo {
        padding: 20px;
        height: 120px;
    }

    .association-content {
        padding: 20px;
    }

    .association-membership .section-title {
        font-size: 1.8rem;
    }

    .certificate {
        top: 10px;
        right: 10px;
        padding: 5px 12px;
    }
}
