/* Global Styles */
:root {
    --primary-color: #57007b;
    --secondary-color: #f76680;
    --text-dark: #262626;
    --text-medium: #4c4c4d;
    --text-light: #59595a;
    --background-light: #f7f7f8;
    --background-white: #ffffff;
    --border-color: #f1f1f3;
    --gradient: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
    --gradient-text: linear-gradient(
        180deg,
        rgba(247, 102, 128, 0.59) 27.88%,
        rgba(87, 0, 123, 0.58) 100%
    );
    --shadow: 0px 16px 40px rgba(112, 144, 176, 0.2);

    /* Animation Variables */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-medium: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    --elastic: cubic-bezier(0.5, 0, 0.1, 1.5);
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Basic animations for all sections */
.hero-section,
.teye-section,
.courses-section,
.instructors-section,
.faq-section {
    animation: fadeIn var(--transition-medium) forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Be Vietnam Pro", sans-serif;
    color: var(--text-dark);
    background-color: var(--background-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}

.page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

main {
    padding-top: 30px;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px 20px 50px 20px;
    gap: 66px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section .container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
    align-self: stretch;
    height: 219px;
}

.hero-section .sub-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 30px 30px 30px 20px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    height: 153px;
}

.main-heading {
    font-size: 48px;
    font-weight: 600;
    text-align: left;
    line-height: 1.5;
    color: #262626;
    margin: 0;
}

.main-heading.left-aligned {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

/* Video Container in Hero Section */
.hero-section .video-container {
    width: 100%;
    max-width: 1100px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: none;
    border: none;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp var(--transition-medium) 0.2s forwards;
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium);
}

.hero-section .video-container:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 68px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 6px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform var(--transition-fast),
        background-color var(--transition-fast);
    padding: 14px;
    z-index: 2;
    animation: scaleIn var(--transition-medium) 0.4s forwards,
        pulse 2s infinite var(--transition-medium);
}

.play-icon {
    width: 30px;
    height: 30px;
    transition: transform var(--transition-fast);
}

.play-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.play-button:hover .play-icon {
    transform: scale(1.1);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* TEYE Section */
.teye-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1129px;
    margin: 0 auto;
    padding: 40px 0;
}

.teye-heading {
    font-size: 44px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.teye-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.teye-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 20px;
    width: 100%;
    max-width: 1000px;
}

/* Animated Stat Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 20px;
    background-color: var(--background-white);
    border-radius: 40px;
    box-shadow: var(--shadow);
    position: relative;
    flex: 1;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast);
    opacity: 0;
    /* Yukarı aşağı hareketi kaldır, sadece opaklık animasyonu kalsın */
    transform: none;
}

.teye-stats .stat-card:nth-child(1) {
    animation: fadeIn var(--transition-medium) 0.2s forwards;
}

.teye-stats .stat-card:nth-child(2) {
    animation: fadeIn var(--transition-medium) 0.3s forwards;
}

.teye-stats .stat-card:nth-child(3) {
    animation: fadeIn var(--transition-medium) 0.4s forwards;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 40px;
    overflow: hidden;
    transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon-container {
    display: flex;
    align-items: center;
}

.stat-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(1); /* Ensures consistent brightness */
    border: none;
    box-shadow: none;
    outline: none;
}

/* Remove any border from the instructor icon */
.stat-icon img[src="assets/egitmen.svg"] {
    width: 24px;
    height: 24px;
    border: none;
    box-shadow: none;
    outline: none;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #101566;
    line-height: 1.6;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: #627a95;
}

.stat-avatars {
    position: absolute;
    right: 16px;
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.avatar-1 {
    z-index: 5;
}

.avatar-2 {
    z-index: 4;
}

.avatar-3 {
    z-index: 3;
}

.avatar-4 {
    z-index: 2;
}

.avatar-5 {
    z-index: 1;
}

/* Courses Section */
.courses-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1220px;
    margin: 60px auto;
    gap: 20px;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 10px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #2d3748;
}

.cards-container {
    display: flex;
    width: 100%;
    gap: 30px;
    margin-bottom: 30px;
}

.cards-container.second-row {
    margin-top: 0;
}

.course-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--background-white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.cards-container .course-card:nth-child(1) {
    animation: slideUp var(--transition-medium) 0.2s forwards;
}

.cards-container .course-card:nth-child(2) {
    animation: slideUp var(--transition-medium) 0.4s forwards;
}

.cards-container.second-row .course-card:nth-child(1) {
    animation: slideUp var(--transition-medium) 0.6s forwards;
}

.cards-container.second-row .course-card:nth-child(2) {
    animation: slideUp var(--transition-medium) 0.8s forwards;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image.second-image {
    background-image: url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80");
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    gap: 15px;
}

.lessons-count {
    background-color: white;
    border-radius: 10px;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2e4ee;
    flex: 0.8;
    white-space: nowrap;
    height: 38px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.02);
}

.lessons-count span {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.duration {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 7px 20px;
    flex: 1.2;
    justify-content: center;
    height: 38px;
    display: flex;
    align-items: center;
}

.duration-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e83e8c;
}

.clock-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-icon img {
    width: 20px;
    height: 20px;
}

.duration-wrapper span {
    font-size: 15px;
    font-weight: 500;
    color: #262626;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.card-description {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Instructors Section */
.instructors-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1144px;
    margin: 60px auto;
    gap: 20px;
    padding: 0 20px;
}

.testimonials-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonials-row {
    display: flex;
    width: 100%;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--background-white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium);
}

.testimonial-content {
    width: 100%;
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.testimonial-text {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

.testimonial-divider {
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
}

.testimonial-footer {
    width: 100%;
    padding: 20px 25px;
    background-color: #fcfcfd;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.testimonial-avatar.avatar-1 {
    background-image: url("https://randomuser.me/api/portraits/women/44.jpg");
}

.testimonial-avatar.avatar-2 {
    background-image: url("https://randomuser.me/api/portraits/men/32.jpg");
}

.testimonial-avatar.avatar-3 {
    background-image: url("https://randomuser.me/api/portraits/women/68.jpg");
}

.testimonial-avatar.avatar-4 {
    background-image: url("https://randomuser.me/api/portraits/men/75.jpg");
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    overflow-wrap: break-word; /* Ensure long names wrap */
    word-break: break-word; /* Break words if necessary */
}

/* FAQ Section */
.faq-section {
    width: 100%;
    background-color: #f7f7f8;
    border-radius: 12px;
    padding: 100px;
    display: flex;
    margin: 40px 0;
    gap: 120px;
}

.faq-container {
    display: flex;
    gap: 50px;
    width: 100%;
}

.faq-header {
    width: 408px;
    flex-shrink: 0;
}

.faq-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #262626;
}

.faq-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #f1f1f3;
    border-radius: 12px;
    padding: 30px 50px 30px 30px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium),
        border-color var(--transition-fast), box-shadow var(--transition-fast);
    overflow: hidden;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(247, 102, 128, 0.05) 0%,
        rgba(87, 0, 123, 0.05) 100%
    );
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: 0;
}

.faq-item:hover::before {
    transform: translateX(0);
}

.faq-item.expanded::before {
    transform: translateX(0);
    background: linear-gradient(
        120deg,
        rgba(247, 102, 128, 0.1) 0%,
        rgba(87, 0, 123, 0.1) 100%
    );
}

.faq-question-container,
.faq-answer,
.faq-details {
    position: relative;
    z-index: 1;
}

/* Add position relative and min-height to ensure proper positioning */
.faq-question-container {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.faq-question {
    font-size: 20px;
    font-weight: 500;
    color: #262626;
    margin: 0;
    line-height: 1.5;
    padding-right: 60px;
}

.faq-toggle {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
    flex-shrink: 0;
    padding: 12px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    transition: transform var(--transition-fast),
        background var(--transition-fast);
}

.faq-toggle:hover {
    transform: translateY(-50%) scale(1.08);
}

.faq-toggle svg {
    width: 24px;
    height: 24px;
}

.faq-toggle.close-btn {
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
}

.faq-toggle.plus-btn {
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
}

.faq-toggle.plus-btn svg path {
    stroke: #fcfcfd;
    stroke-width: 2px;
}

.faq-answer {
    font-size: 18px;
    color: #4c4c4d;
    line-height: 1.5;
    display: none;
    letter-spacing: -0.6%;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.faq-item.expanded .faq-answer {
    display: block;
    animation: expandAnswer 0.5s var(--elastic) forwards;
}

.faq-details {
    display: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #f7f7f8;
    border: none;
    border-radius: 8px;
    padding: 20px 30px;
    margin-top: 20px;
}

.faq-item.expanded .faq-details {
    display: flex;
}

.faq-details-title {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin: 0;
    line-height: 1.5;
}

.faq-details-toggle {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 14px;
}

.faq-details-toggle svg path {
    stroke: #ffffff;
    stroke-width: 2px;
}

/* Enhanced Video Section Animation */
.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform var(--transition-medium),
        filter var(--transition-medium);
}

.video-container:hover .video-placeholder {
    transform: scale(1.03);
    filter: brightness(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Enhanced FAQ Animation */
@keyframes expandAnswer {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes collapseAnswer {
    from {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
    }
    to {
        max-height: 0;
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Enhanced Toggle Button Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(90deg);
    }
}

@keyframes rotateBack {
    from {
        transform: rotate(90deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.faq-toggle.plus-btn {
    animation: rotateBack 0.4s var(--elastic) forwards;
}

.faq-toggle.close-btn {
    animation: rotate 0.4s var(--elastic) forwards;
}

/* Background shift animation for FAQ items */
.faq-item {
    background-color: #ffffff;
    border: 1px solid #f1f1f3;
    border-radius: 12px;
    padding: 30px 50px 30px 30px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium),
        border-color var(--transition-fast), box-shadow var(--transition-fast);
    overflow: hidden;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(247, 102, 128, 0.05) 0%,
        rgba(87, 0, 123, 0.05) 100%
    );
    transform: translateX(-100%);
    transition: transform var(--transition-medium);
    z-index: 0;
}

.faq-item:hover::before {
    transform: translateX(0);
}

.faq-item.expanded::before {
    transform: translateX(0);
    background: linear-gradient(
        120deg,
        rgba(247, 102, 128, 0.1) 0%,
        rgba(87, 0, 123, 0.1) 100%
    );
}

.faq-question-container,
.faq-answer,
.faq-details {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .hero-section .container,
    .teye-section,
    .courses-section,
    .instructors-section,
    .faq-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .video-container,
    .hero-section .video-container {
        width: calc(100% - 40px);
        height: auto;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 1200px) {
    .faq-section {
        padding: 60px;
        gap: 60px;
    }

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

    .faq-header {
        width: 100%;
    }

    .hero-section .sub-container {
        height: auto;
        min-height: 153px;
    }
}

@media (max-width: 992px) {
    .cards-container {
        flex-direction: column;
    }

    .cards-container.second-row {
        margin-top: 0;
    }

    .teye-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 500px;
    }

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

    .faq-header {
        width: 100%;
    }

    /* Mobilde testimonial kartlarını tekli göster */
    .testimonials-row {
        flex-direction: column;
        gap: 30px;
    }

    /* Testimonials container yapısını düzenle */
    .testimonials-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Her testimonial kartını tam genişlikte göster */
    .testimonial-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        gap: 40px;
    }

    .hero-section .container {
        height: auto;
    }

    .hero-section .sub-container {
        padding: 20px;
    }

    .main-heading {
        font-size: 32px;
    }

    .faq-title {
        font-size: 32px;
    }

    .teye-heading {
        font-size: 32px;
    }

    .section-title {
        font-size: 30px;
    }

    .faq-section {
        padding: 40px 20px;
        gap: 30px;
    }

    .faq-item {
        padding: 20px 30px;
    }

    .faq-item.expanded {
        padding: 30px;
        gap: 15px;
    }

    .faq-question {
        font-size: 18px;
    }

    .faq-answer {
        font-size: 16px;
    }

    .faq-toggle,
    .faq-details-toggle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .teye-stats {
        gap: 20px;
    }
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -10px;
    background: white;
    border: none;
    color: #333;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.close-modal:hover {
    background-color: #f1f1f1;
}

/* End Video Modal Styles */

/* Animated Testimonial Cards */
.testimonial-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--background-white);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium);
}

.testimonials-row:nth-child(1) .testimonial-card:nth-child(1) {
    animation: slideUp var(--transition-medium) 0.2s forwards;
}

.testimonials-row:nth-child(1) .testimonial-card:nth-child(2) {
    animation: slideUp var(--transition-medium) 0.3s forwards;
}

.testimonials-row:nth-child(2) .testimonial-card:nth-child(1) {
    animation: slideUp var(--transition-medium) 0.4s forwards;
}

.testimonials-row:nth-child(2) .testimonial-card:nth-child(2) {
    animation: slideUp var(--transition-medium) 0.5s forwards;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Animated FAQ Items */
.faq-item {
    background-color: #ffffff;
    border: 1px solid #f1f1f3;
    border-radius: 12px;
    padding: 30px 50px 30px 30px;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium),
        border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-items .faq-item:nth-child(1) {
    animation: slideUp var(--transition-medium) 0.2s forwards;
}

.faq-items .faq-item:nth-child(2) {
    animation: slideUp var(--transition-medium) 0.3s forwards;
}

.faq-items .faq-item:nth-child(3) {
    animation: slideUp var(--transition-medium) 0.4s forwards;
}

.faq-items .faq-item:nth-child(4) {
    animation: slideUp var(--transition-medium) 0.5s forwards;
}

.faq-items .faq-item:nth-child(5) {
    animation: slideUp var(--transition-medium) 0.6s forwards;
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #e6e6e6;
}

.faq-toggle {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.5) 0%,
        rgba(247, 102, 128, 0.5) 100%
    );
    flex-shrink: 0;
    padding: 12px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    transition: transform var(--transition-fast),
        background var(--transition-fast);
}

.faq-toggle:hover {
    transform: scale(1.08);
}

/* Animated section titles */
.section-title {
    position: relative;
    display: inline-block;
}

/* Section title altındaki çizgi animasyonunu kaldırıldı */
.section-title::after {
    display: none;
}

.section-header:hover .section-title::after {
    width: 0;
}

/* TEYE ve FAQ başlıkları için hover animasyonlarını kaldır */
.teye-heading,
.faq-title {
    position: relative;
    display: inline-block;
}

/* Guide Button and Modal Styles */
.guide-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.7) 0%,
        rgba(247, 102, 128, 0.7) 100%
    );
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.guide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(
        180deg,
        rgba(87, 0, 123, 0.9) 0%,
        rgba(247, 102, 128, 0.9) 100%
    );
}

.guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.guide-modal.show {
    display: flex;
    opacity: 1;
}

.guide-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.guide-modal.show .guide-modal-content {
    transform: scale(1);
}

.guide-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(
        90deg,
        rgba(87, 0, 123, 0.1) 0%,
        rgba(247, 102, 128, 0.1) 100%
    );
    border-bottom: 1px solid #eaeaea;
}

.guide-modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #262626;
    margin: 0;
}

.close-guide-modal {
    background: none;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.close-guide-modal:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.guide-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.guide-section {
    margin-bottom: 25px;
}

.guide-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.guide-section h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(247, 102, 128, 0.8) 0%,
        rgba(87, 0, 123, 0.8) 100%
    );
    border-radius: 3px;
}

.guide-section p, 
.guide-section ul {
    font-size: 16px;
    line-height: 1.6;
    color: #4c4c4d;
    margin-bottom: 15px;
}

.guide-section ul {
    padding-left: 20px;
}

.guide-section li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .guide-button {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .guide-modal-header h3 {
        font-size: 20px;
    }
    
    .guide-section h4 {
        font-size: 18px;
    }
    
    .guide-section p, 
    .guide-section ul {
        font-size: 14px;
    }
    
    .guide-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .guide-modal-body {
        padding: 20px;
    }
}
