/* 
#FFC76A -icon
#fdf2e9 -background
#e67e22 -accent
#cf711f -hover
*/

/* beginning */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Rubik", sans-serif;
    line-height: 1;
    color: #555;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fdf2e9;
    padding: 0 4.8rem;

    /* for stick */
    height: 9.6rem;
}

.şapkalıbiröğretmen-logo {
    height: 8rem;
}

header ul {
    list-style: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 4.8rem;
}

header ul a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

header ul a:hover {
    color: #cf711f;
}

nav ul li:last-child a {
    display: block;
    background-color: #e67e22;
    padding: 1.2rem 2.4rem;
    border-radius: 10px;
    transition: all 0.3s;
}

nav ul li:last-child a:hover {
    background-color: #cf711f;
}


nav ul li:last-child a {
    color: white;
}

/* hero-section */
.hero-section {
    background-color: #fdf2e9;
    padding: 4.8rem 0 9.6rem 0;
}

.hero-container {
    max-width: 130rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9.6rem;
    align-items: center;
    padding: 0 3.2rem;
}

.hero-heading-primary {
    font-size: 5.2rem;
    line-height: 1.05;
    margin-bottom: 3.2rem;
}

.hero-dis {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 4.8rem;
}

.hero-btn {
    display: flex;
    gap: 2rem;
    margin-bottom: 8rem;
}

.btn:link,
.btn:visited {
    display: inline-block;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 1.6rem 3.2rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
}

.btn-primary:link,
.btn-primary:visited {
    background-color: #e67e22;
    color: white;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #cf711f;
}

.btn-secondary:link,
.btn-secondary:visited {
    background-color: #fff;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-cartoons-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cartoons-imgs img {
    height: 4.8rem;
    width: 4.8rem;
    border-radius: 50%;
    margin-right: -1.6rem;
    border: 3px solid #fdf2e9;
    ;
}

.cartoons-imgs img:last-child {
    margin-right: 0;
}

.cartoons-text {
    font-size: 1.8rem;
}

.cartoons-text span {
    color: #e67e22;
    font-weight: 600;
}

.hero-img-alt {
    max-width: 100%;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-text,
.hero-img {
    opacity: 0;
}

body.app-ready .hero-text {
    animation: fadeSlideUp 1s ease-out both;
}

body.app-ready .hero-img {
    animation: zoomFade 1.2s ease-out both;
}

/* feature-section */
.feature-section {
    padding: 4.8rem 0 3.2rem 0;
}

.feature-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.feature-container h2 {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 2.4rem;
    color: #888;
}

.features-images {
    display: flex;
    justify-content: space-around;
}

.features-images img {
    height: 5rem;
    /* filter: brightness(0); */
    opacity: 50%;
}

/* about-section */
.about-section {
    padding: 9.6rem 0 9.6rem 0;
}

.about-container {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6.4rem;
}

.about-header h2 {
    font-size: 3rem;
    line-height: 1.3;
}

.about-header a {
    text-decoration: none;
    color: #555;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 2rem 2.8rem;
    border-radius: 9px;
    border: 1px solid black;
    cursor: pointer;
}

.about-img {
    height: 6.2rem;
    width: 6.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-h3 {
    display: flex;
    align-items: center;
    gap: 9.6rem;
}

.about-services {
    display: flex;
    align-items: center;
    gap: 8rem;
    justify-content: space-between;
}

.about-title {
    font-size: 1.8rem;
}

.about-parag {
    font-size: 1.6rem;
    line-height: 1.4;
    width: 33%;
    text-align: justify;
}

.about-group {
    border-bottom: 1px solid #d6d6d6;
    padding: 3.2rem;
}

.about-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

/* testimonials-section */
.testimonials-section {
    background-color: #fdf2e9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    align-items: center;
}

.testimonials-container {
    padding: 9.6rem;
}

.testimonials-images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.6rem;
    padding: 1.6rem;
}

.testimonials-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.testimonials-title {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 9.6rem;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4.8rem;
    min-height: 50rem;
}

.testimonial-image {
    width: 6.4rem;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.testimonial-text {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
    text-align: justify;
}

.testimonial-name {
    font-size: 1.6rem;
    color: #6f6f6f;
}

.testimonials-images figure {
    overflow: hidden;
    /* aspect-ratio: 1 / 1; */
}

.gallery-img {
    display: block;
    width: 100%;
    /* height: 100%;
    object-fit: cover; */
    /* transition: all 0.4s; */
    opacity: 1;
    filter: grayscale(0);
    transition: filter 1.5s ease, opacity 1.5s ease;
}

.gallery-img.fade-out {
    filter: grayscale(1);
    opacity: 0;
}

.gallery-img.fade-in {
    filter: grayscale(0);
    opacity: 1;
}

/* .gallery-img:hover {
    transform: scale(1.1);
} */

.testimonial-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3.2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #e67e22;
    width: 18px;
    height: 18px;
}

/* price-section */
.price-section {
    padding: 9.6rem 0 0 0;
}

.price-container {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.price-grid {
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 3.2rem;
}

.price-grid.active {
    display: grid;
}

.price--first {
    /* justify-self: end; */
    border: 2px solid #fdf2e9;
    padding: 4.6rem;
}

.price--secondery {
    padding: 4.6rem;
    background-color: #fdf2e9;
    /* position: relative;
    overflow: hidden; */
}

.plan-name {
    color: #cf711f;
    font-weight: 600;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 3.2rem;
}

.plan-price {
    font-size: 6.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.6rem;
}

.plan-price span {
    font-size: 3rem;
    font-weight: 500;
    margin-left: 0.8rem;
}

.plan-text {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #6f6f6f;
}

.price {
    /* width: 75%; */
    border-radius: 10px;
}

.plan-header {
    text-align: center;
    margin-bottom: 4.8rem;
}

.plan-sing-up {
    text-align: center;
    margin-top: 4.8rem;
}

.price-subtext {
    text-align: center;
    margin-top: 4.8rem;
    margin-bottom: 9.6rem;
}

.price-subtext p {
    font-size: 1.8rem;
    line-height: 1.6;
}

.highlight-kdv {
    color: #e67e22;
    font-weight: 600;
}

.price-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.price-title {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 6.4rem;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.price-icon {
    width: 2.4rem;
    height: 2.4rem;
    color: #e67e22;
}

.price-list li {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.price-span {
    font-size: 1.6rem;
}

.price-toggle {
    margin-bottom: 4.8rem;
    display: flex;
    justify-content: center;
    gap: 2.4rem;
}

.price-tab {
    padding: 0.8rem 1.6rem;
    border: 2px solid #e67e22;
    background-color: transparent;
    color: #e67e22;
    border-radius: 1.6rem;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.price-tab:hover {
    background-color: #fff5eb;
}

.price-tab.active {
    background-color: #e67e22;
    color: white;
}

.price-grid.kocluk-layout {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.2rem;
    row-gap: 3.2rem;
}

.price-grid.kocluk-layout .price {
    width: 75%;
    /* justify-self: center; */
}

/* accordion-section */
.accordion-section {
    padding: 9.6rem 0;
}

.accordion-container {
    max-width: 110rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.accordion-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.accordion-title {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 6.4rem;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    stroke: #343a40;
    cursor: pointer;
}

.accordion-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 3rem;
    row-gap: 3rem;
    box-shadow: 0px 0px 3rem 0px rgb(0, 0, 0, 0.1);
    padding: 2.4rem;
    margin-bottom: 2.4rem;
}

.accordion-in-number,
.accordion-in-title {
    font-size: 2rem;
    font-weight: 500;
}

.accordion-in-number {
    color: gray;
}

.hidden-box {
    grid-column: 2 / 3;
    display: none;
}

.accordion-list {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    font-size: 1.4rem;
    color: gray;
}

.hidden-box p {
    margin-bottom: 2.4rem;
    font-size: 1.6rem;
    line-height: 1.6;
}

.open {
    border-top: 4px solid #e67e22;
}

.open .accordion-in-number,
.open .accordion-in-title {
    color: #e67e22;
}

.open .accordion-icon {
    stroke: #e67e22;
}

.open .hidden-box {
    display: block;
}

/* footer */
.footer {
    padding: 9.6rem 0;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3.2rem;

    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr;
    column-gap: 6.4rem;
}

.footer-icon {
    width: 2.4rem;
    height: 2.4rem;
    color: #767676;
}

.footer-main-logo {
    display: block;
    margin-bottom: 2.4rem;
}

.social-list {
    display: flex;
    gap: 2.4rem;
}

.footer-copyright {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #767676;
    margin-top: 2.4rem;
}

.footer-colm-1 {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 4rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.footer-list li a:link,
.footer-list li a:visited,
.adress-contact a:link,
.adress-contact a:visited {
    text-decoration: none;
    font-size: 1.6rem;
    color: #767676;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.6;
}

.şapkalıbiröğretmen-footer-logo {
    height: 7rem;
}

/* team-section */
.team-section {
    background-color: #fdf2e9;
    padding: 4.8rem 0 9.6rem 0;
}

.team-container {
    max-width: 150rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.team-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.team-title-h2 {
    font-size: 4.4rem;
    line-height: 1.2;
}

.team-title-main {
    margin-bottom: 4.8rem;
    display: flex;
    justify-content: space-between;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3.2rem;
    padding: 2rem;
}

.team-flip {
    perspective: 1000px;
}

.team-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    transition: transform 0.8s;
    transform-style: preserve-3d;

    transform: rotateY(180deg);
}

.team-inner.flipped {
    transform: rotateY(0deg);
}

.team-flip:hover .team-inner {
    transform: rotateY(180deg);
}

.team-front,
.team-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.team-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-back {
    background-color: #fff;
    transform: rotateY(180deg);

    padding: 2.4rem;
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.team-btn:link,
.team-btn:visited {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tag {
    text-transform: uppercase;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-size: 1.2rem;
    line-height: 1.2
}

.tag-brans {
    background-color: #1abc9c;
    color: white;
}

/* Fen Bilimleri */
.tag-brans-2 {
    background-color: #e67e22;
    color: white;
}

/* Kurucu */
.tag-brans-3 {
    background-color: #3498db;
    color: white;
}

/* Din Kültürü */
.tag-brans-4 {
    background-color: #9b59b6;
    color: white;
}

/* Eğitim Koçu */
.tag-brans-5 {
    background-color: #4d3cec;
    color: white;
}

/* Matematik */
.tag-brans-6 {
    background-color: #f1c40f;
    color: white;
}

/* Arapça */
.tag-brans-7 {
    background-color: #e74c3c;
    color: white;
}

/* Sınıf */
.tag-brans-8 {
    background-color: #34495e;
    color: white;
}

/* Kuran-ı Kerim */
.tag-brans-9 {
    background-color: #ad4a95;
    color: white;
}

/* Türkçe */
.tag-brans-10 {
    background-color: #3b9ba1;
    color: white;
}

/* Ödev */
.tag-brans-11 {
    background-color: #77a72b;
    color: white;
}

/* İngilizce */

/* for sticky */
.sticky .header {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 8rem;
    padding-top: 0;
    padding-bottom: 0;
    background-color: rgba(255, 255, 255, 0.97);
    z-index: 999;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .hero-section {
    margin-top: 9.6rem;
}

.sticky .header {
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* statistics-section */

.statistics-section {
    background-color: #fdf2e9;
    padding: 9.6rem 0;
}

.statistics-container {
    max-width: 150rem;
    margin: 0 auto;
    padding: 0 3.2rem;
}

.statistics-information {
    text-transform: uppercase;
    color: #e67e22;
    font-size: 1.6rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 2rem;
}

.statistics-title {
    font-size: 4.4rem;
    line-height: 1.2;
    margin-bottom: 6.4rem;
}

.statistics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    padding: 2.4rem;

    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.statistics-grid-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    row-gap: 4.8rem;

    width: 90%;
}

.statistics-grid-right {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    padding: 2.4rem;
    align-self: center;
}

.statistics-span {
    display: inline-block;
    font-weight: 600;
    font-size: 5.2rem;
    margin-bottom: 1rem;
    color: #e67e22;
}

.statistics-p {
    font-size: 1.6rem;
    color: #6f6f6f;
    text-align: center;
    line-height: 1.4;
}

.statistics-grid-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-right: 1px solid rgba(3, 3, 3, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.statistics-main-title {
    font-size: 4.4rem;
    line-height: 1.2;
}

.statistics-main-p {
    font-size: 1.8rem;
    line-height: 1.6;
}

.plus {
    font-size: 3rem;
}

/* Loading */
.loader-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #fff;
    z-index: 9999;
}

.loader-img {
    display: block;
    width: 144px;
    height: 144px;
}

/* mobile */
.btn-mobile-nav {
    border: none;
    background: none;
    cursor: pointer;

    display: none;
}

.icon-mobile-nav {
    height: 4.8rem;
    width: 4.8rem;
    color: #333;
}

.close-outline {
    display: none;
}


.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.8rem;
}

.video-modal.is-hidden {
    display: none;
}

.video-modal-content {
    width: min(120rem, 90vw);
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.intro-popup-video {
    display: block;
    width: 100%;
    max-height: 82vh;
    background: #000;
}

.video-modal-close {
    position: fixed;
    top: 2.4rem;
    right: 3.2rem;
    width: 4.4rem;
    height: 4.4rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 4.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10000;
}

.testimonials-images {
    position: relative;
}

.gallery-loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: #fdf2e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-loader.is-hidden {
    display: none;
}

.gallery-loader-img {
    width: 9.6rem;
    height: auto;
}

.hero-img {
    position: relative;
}