/* Custom Styles Extracted from home_view.php */

/* Base Font Settings */
body,
.__className_ad50fd {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    /* Base font size adjusted */
}

/* Typeform Popup Styles */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tf-v1-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .75);
    transition: opacity .25s ease-in-out;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tf-v1-popup .tf-v1-iframe-wrapper {
    position: relative;
    transition: opacity .25s ease-in-out;
    min-width: 360px;
    min-height: 360px;
}

.tf-v1-popup .tf-v1-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    border-radius: 8px;
}

.tf-v1-popup .tf-v1-close {
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    font-size: 32px;
    font-weight: normal;
    line-height: 24px;
    width: 24px;
    height: 24px;
    text-align: center;
    text-transform: none;
    cursor: pointer;
    opacity: .75;
    transition: opacity .25s ease-in-out;
    text-decoration: none;
    color: #000;
    top: -34px;
    right: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.tf-v1-popup .tf-v1-close:hover {
    opacity: 1;
}

@media(min-width: 481px) {
    .tf-v1-popup .tf-v1-close {
        color: #fff !important;
    }
}

.tf-v1-popup .tf-v1-spinner {
    border: 3px solid #aaa;
    font-size: 40px;
    width: 1em;
    height: 1em;
    border-radius: .5em;
    box-sizing: border-box;
    animation: spin 1s linear infinite;
    border-top-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
}

/* Typeform Mobile Adjustments */
@media(max-width: 480px) {
    .tf-v1-popup {
        width: 100% !important;
        height: 100% !important;
    }

    .tf-v1-popup .tf-v1-iframe-wrapper {
        position: relative;
        transition: opacity .25s ease-in-out;
        min-width: 100%;
        min-height: 100%;
    }

    .tf-v1-popup .tf-v1-iframe-wrapper iframe {
        border-radius: 0;
    }

    .tf-v1-popup .tf-v1-close {
        display: block;
        padding: 0;
        margin: 0;
        position: absolute;
        font-size: 32px;
        font-weight: normal;
        line-height: 24px;
        width: 24px;
        height: 24px;
        text-align: center;
        text-transform: none;
        cursor: pointer;
        opacity: .75;
        transition: opacity .25s ease-in-out;
        text-decoration: none;
        color: #000;
        top: 6px;
        right: 8px;
        background: none;
        border: none;
        border-radius: 0;
    }

    .tf-v1-popup .tf-v1-close:hover {
        opacity: 1;
    }
}

/* Redundant media query from original code - kept for consistency but might be removable */
@media(max-width: 480px) and (min-width: 481px) {
    .tf-v1-popup .tf-v1-close {
        color: #fff !important;
    }
}

/* SVG Underline Styles with user-specified path */
.svgUnderline,
.svgUnderline-lg,
.svgUnderline-lg-arge {
    background-image: url('emphasize.svg');
    /* Corrected relative path from CSS file */
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 0.5em;
    /* Adjust as needed */
    background-size: contain;
    /* Or adjust size as needed */
}

/* Specific size adjustments if they were different originally */
.svgUnderline-lg {
    padding-bottom: 0.5em;
    /* Example adjustment */
    background-size: 38% 1em;
    /* Example adjustment */
}

.svgUnderline-lg-arge {
    padding-bottom: 0.5em;
    /* Example adjustment */
    background-size: 100% 0.8em;
    /* Example adjustment */
}

/* Neden Cizgi Kariyer Merkezi Slider Stilleri */

/* Adding min-height to the container */
/* .why-container > div > .flex-\[9\] { */
/* Targeting the slide container more specifically */
/* position: relative; */
/* Ensure relative positioning for absolute children */
/* min-height: 550px; */
/* Give container min-height (adjust as needed) */
/* } */

/* Slider container styles using ID */
#slider-content-area {
    position: relative;
    /* Ensure child absolute positioning is relative to this */
    /* Let height be determined by content, remove fixed height */
    /* min-height: 550px; /* Adjust as needed or remove if content height is sufficient */
    overflow: hidden;
    /* Hide non-active slides */
}

#slider-content-area .why-slide {
    display: none;
    /* Hide slides by default */
    opacity: 0;
    /* Restore opacity */
    transition: opacity 1s ease-in-out;
    /* Restore transition */
    pointer-events: none;
    /* Make inactive slides non-interactive */
    /* position: absolute; /* Remove absolute positioning */
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; Remove fixed height */
    flex-direction: column-reverse;
    /* Default mobile stack */
    gap: 1rem;
    /* gap-4 */
    align-items: stretch;
    /* items-stretch */
    padding-bottom: 3rem;
    /* pb-12 */
}

/* Show active slide with increased specificity */
#slider-content-area .why-slide.isActive {
    display: flex;
    /* Removed !important */
    opacity: 1;
    /* Restore opacity */
    pointer-events: auto;
    /* Ensure active mobile slide is interactive */
}

.indicatorBall {
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 9999px;
    border-width: 4px;
    border-color: white;
    /* Simplified */
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
    /* Make inactive ones dimmer */
    max-width: 500px !important;
    /* Limit image container width */
    margin-left: auto;
    /* Center the container if needed */
    margin-right: auto;
}

.indicatorBall.isActive {
    height: 2rem;
    width: 2rem;
    border-width: 0.5rem;
    /* 8px */
    background: linear-gradient(92.1deg, #3062fb 26.93%, #bb10e0 53.44%);
    opacity: 1;
}

.browserGlassy {
    background: hsla(0, 0%, 100%, 0.15);
    border: 1px solid hsla(0, 0%, 100%, 0.24);
    box-shadow: 0 12px 12px rgba(32, 73, 132, 0.15);
    border-radius: 1.5rem;
    /* rounded-3xl */
    max-width: 500px !important;
    /* Limit image container width */
    margin-left: auto;
    /* Center the container if needed */
    margin-right: auto;
}

.browserGlassy img {
    border-radius: 1.5rem;
    /* Match container rounding */
    display: block;
    /* Remove extra space below image */
    width: 100%;
    /* height: 450px; /* Set fixed height */
    /* object-fit: cover; /* Cover the area, might crop */
    object-position: top;
    /* Ensure top part of image is visible */
}

/* Küçük Ekranlar için Ayarlamalar (isteğe bağlı) */
@media (max-width: 640px) {
    /* sm breakpoint */
    /* Removing min-height for mobile */
    /* .why-container > div > .flex-\[9\] { */
    /*     min-height: auto; */
    /* } */

    #slider-content-area {
        /* height: auto; */
        /* Change fixed height back to auto on mobile */
        /* min-height: auto; */
        /* Ensure min-height is also auto */
        /* overflow: visible; */
        /* Reset overflow */
        /* position: relative; is still fine or can be removed if slides are relative */
    }

    #slider-content-area .why-slide {
        /* position: relative; */
        /* Mobilde normal akışa dön */
        /* opacity: 1; */
        /* Başlangıçta mobilde gizleme */
        display: none;
        /* JS kontrolü için başlangıçta gizle */
        opacity: 0;
        /* Restore opacity */
        position: static;
        /* Ensure static positioning */
        top: auto;
        left: auto;
        width: auto;
        z-index: auto;
    }

    #slider-content-area .why-slide.isActive {
        display: flex;
        /* Removed !important */
        opacity: 1;
        /* Restore opacity */
        pointer-events: auto;
        /* Ensure active mobile slide is interactive */
    }

    .browserGlassy img {
        height: 300px;
        /* Mobil için farklı yükseklik */
    }
}

/* --- Medium Screens and Up (sm breakpoint in Tailwind is 640px) --- */
@media (min-width: 640px) {
    #slider-content-area .why-slide {
        flex-direction: row;
        /* sm:flex-row */
        gap: 0;
        /* sm:gap-0 */
        align-items: center;
        /* sm:items-center */
    }

    #slider-content-area .why-slide.isActive {
        display: flex;
        /* Removed !important */
        pointer-events: auto;
        /* Ensure active large screen slide is interactive */
    }

    #why-indicators-container {
        /* Target the container we created */
        /* Removed original right-side positioning styles */
        margin-top: 2rem;
        /* Add some space above the indicators */
        justify-content: center;
        /* Center the indicators horizontally */
    }
}

/* FAQ Section Specific Styles */
.faq-section-wrapper {
    /* Add background or other styles for the entire FAQ section wrapper if needed */
}

.faq-item .faq-header {
    /* Styles for the clickable header */
}

.faq-item .faq-icon-wrapper {
    /* Styles for the icon container */
}

.faq-item .faq-icon {
    transition: transform 0.3s ease-in-out;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-item .faq-content {
    /* Uses grid-rows for transition */
    transition: grid-template-rows 0.3s ease-in-out;
}

.faq-item .faq-content-inner {
    /* Inner content padding and overflow hidden */
}

.faq-item:not(.open) .faq-content {
    grid-template-rows: 0fr;
    /* Collapsed state */
}

.faq-item.open .faq-content {
    grid-template-rows: 1fr;
    /* Expanded state */
}

/* Removed redundant .why-slide.isActive rules below */

/* Override bg-cta to use correct assets path */
.bg-cta {
    background: url('../cta@2x.webp') no-repeat center/cover !important;
}

/* Program slide background overrides */
.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/p1.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/p2.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

.slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/p4.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Purple gradient overlay on hover for each slide */
.slide-1:hover {
    background-image: linear-gradient(to bottom, rgba(128, 0, 128, 0.4), rgba(128, 0, 128, 0.2)), url('../images/p1.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

.slide-2:hover {
    background-image: linear-gradient(to bottom, rgba(128, 0, 128, 0.4), rgba(128, 0, 128, 0.2)), url('../images/p2.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

.slide-3:hover {
    background-image: linear-gradient(to bottom, rgba(128, 0, 128, 0.4), rgba(128, 0, 128, 0.2)), url('../images/p4.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Keep program slide buttons fully white and above any overlays */
#programlar .programSlide a.bg-white {
    background-color: #fff !important;
    filter: none !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Footer link font size override */
footer a {
    font-size: 1.2rem !important;
}

.aboutHero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/aboutHero.webp');
    position: relative;
    color: #ffffff;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.aboutHero * {
    position: relative;
    z-index: 1;
}

.midHero,
.programGeneral {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url('../images/blurredWhiteBg.webp');
}

.bg-frontend {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../details/HeroFrontend.webp');
    position: relative;
    color: #ffffff;
    background-position: 40% top
}

@media (min-width:640px) {
    .bg-frontend {
        background-position: 20% top
    }
}

@media (min-width:1024px) {
    .bg-frontend {
        background-position: top
    }
}

