:root {
    --primary-color: #0066FF; 
    --secondary-color: #FFCB58;
    --highlight-color:#00E5FF;
    --content2: #000b1db0; 
    --content3: #000000c2; 
    --content4: #030612;
    --content5: #030612;
    --boxes:#050A1F;
    --contact:#000000;
    --text: #FFFFFF; 
    --hover: #1d3581;
    --text2:#b9b9b9;
}
html {
    scroll-behavior: smooth;
}
.background-image {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/png/Desktop.jpg'); 
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat; 
    background-attachment: scroll; 
    z-index: -1; 
}
::-webkit-scrollbar {
    width: 8px; 
}


::-webkit-scrollbar-track {
    background-color: #02193f; 
}


::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); 
    border-radius: 10px; 
}


::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color); 
}

.content {
    overflow: hidden;
    position: relative;
    z-index: 1;
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--text);
    background-color: transparent; 
    justify-content:space-between;
    padding: 0px;
}
.overlay{
    display: none;
}
.overlay.open {
    display: flex; 
    
}
/* ------Modal ayarları------- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.712);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Başlangıçta şeffaf */
    transition: opacity 0.5s ease; /* Yavaşça geçiş */
}

.modal-content {
    display: flex;
    width: 85%;
    max-width: 900px;
    height: 85%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background-image: url('images/png/Desktop.jpg'); 
    background-size: cover; 
    background-position: center top; 
    background-repeat: no-repeat; 
    background-attachment: scroll; 
}

.modal-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--content4);
}

.modal-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.modal-right {
    flex: 1;
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 5%;
    gap: 12vh;
}

.close-button {
    position: absolute;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    right: 0;
    top:0
}

.tab-container {
    display: flex;
    justify-content: center;

}

.tab {
    flex: 1;
    padding: 10px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}
.tab:hover{

    border-bottom: 2px solid #ffffff48;
}
.tab.active {
    border-bottom: 2px solid #ffffff;
    transition: border-bottom 0.8s ease; 
}

.form-container {
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 1; 
    transition: opacity 0.2s ease; 
}

.form-container.active {
    display: flex;
}

.form-container h2 {
    margin-bottom: 40px;
    font-size: 22px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    background-color: transparent;
    color: var(--text);
}

.submit-button {
    width: 30%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 5%;
    margin-left: 50%;
}

.submit-button:hover {
    background-color: var(--hover);
}


@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        width: 90%;
        height: 90%;
    }

    .modal-left {
        display: none; 
    }

    .modal-right {
        width: 100%;
    }
}


/* ------Modal ayarları bitiş------- */
.menu-container {
    display: none; 
    
}

.menu-button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 10px;
    color: var(--text);
}
.logo{
    width: 7%;
    cursor: pointer;
}
.logo img{
    width: 100%;
}
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--text); 
    background: transparent;
    margin-bottom:4%;
    
}

.search-bar input {
    width: 35vw; 
    padding: 5px;
    border: none;
    color: var(--text);
    outline: none;
    background-color: transparent;
}

.search-icon {
    left: 15px;
    color: rgba(255, 255, 255, 0.555); 
    font-size: 18px; 
    font-weight: 500;
}

.nav-links{

    width: 40%;
    display: flex;
    justify-content: space-between;
    margin-right: 2%;
    align-items: center;
    margin-bottom: 3%;
}
.nav-links a {
    margin: 0 15px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}


.nav-links a:hover {
    color: var(--secondary-color);
}


.login-button {
    padding: 12px 30px;
    background: none;
    border: 1px solid var(--secondary-color); 
    color: var(--secondary-color); 
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}


.login-button:hover {
    background-color: var(--primary-color);
    color: var(--text);
    border-color: var(--primary-color);
}
.content1{
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
    padding-right: 10%;
    padding-top: 0;

}
.content1-left{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    padding-top: 8%;
    padding-left: 10%;
    gap: 25px;
    opacity: 0; 
    animation: fadeIn 3s forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 0; 
        transform: translateY(-20px); 
    }
    100% {
        opacity: 1; 
        transform: translateY(0); 
    }
}
.content1-header{
    width: 100%;
    font-size: 52px;
    line-height: 1.1;
}

#secondText{
    width: 100%;
}
.content1-exp{

    font-size: 20px;
    color: var(--text2);
    line-height: 1.1;
}
.content1-right{
    display: flex;
}
.content1-right img{
    width: 140%;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px); 
    }
    100% {
        transform: translateY(0px); 
    }
}

.content1-contact{
    width: 80%;
    height: 30px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 3px 6px 10px;
}
.content1-contact input{
    border:none;
    background-color: transparent;
    font-size: 16px;
}
.content1-contact input:focus{
    border:none;
    background-color: transparent;
    outline: none;
    color: var(--text);
}

.content1-contact button{
    width: 110px;
    background-color: var(--primary-color);
    padding:10px 10px;
    color: var(--text);
    cursor: pointer;
    border: none;
    border-radius: 8px;

}
.content1-contact button:hover{
    background-color: var(--hover);
}
.basvuru{
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    width: 75%;
    padding: 2% 2%;
    margin-top: 8%;
    line-height: 1.5;
}
.basvuru p{
    text-align: center;
    font-size: 20px;
}
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none; /* Tıklamaları başta devre dışı bırak */
    opacity: 0; /* Görünmez yap */
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
    z-index: 9999;
  }
  
  #scrollToTop:hover {
    background-color: #0056b3;
  }
  #scrollToTop.show {
    pointer-events: auto; /* Tıklamaları aktif et */
    opacity: 1; /* Görünür yap */
  }
.content2{
    margin-top: 10%;
    background-color: var(--content2);
    width: 70%;
    height: 80vh;
    border-radius: 15px;
    padding-top: 3%;
    padding-bottom: 2%;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.content2-onspay{

    font-size: 24px;
    color: var(--secondary-color);
}
.content2-onspay span{
    color: #29AAE0;
}
.content2-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.c2header{
    font-size: 48px;
    width: 50%;
}
.c2exp{
    width: 40%;
    font-size: 20px;
    color: var(--text2);
}
.boxes{
    display: flex; 
    justify-content: space-between; 
    padding: 20px;
}
.box.visible {
    transform: translateX(0); 
    opacity: 1; 
}
.box {
    padding: 15px; 
    width: 30%;
    background-color: transparent; 
    height: 300px;
    transform: translateX(-50px); 
    opacity: 0; 
    transition: transform 0.5s ease, opacity 0.5s ease; 
}
.img-container{
    height: 150px;
    display: flex;
    align-items: center;

}
.box img {
    width: 30%; 
}
#box3 img{
    width: 60%;
}
.box h3 {
    margin: 25px 0 5px; 
    color: var(--text); 
    font-size: 20px;
}

.box p {
    margin: 15px 0 5px; 
    color: var(--text2); 
    font-size: 13px;
    line-height: 1.6;
}
.duyurular{

    margin-top: 10%;
    width: 75%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    background-color: var(--content3);
}
.duyuru-header{

    width: 96%;
    text-align: left;
    font-size: 32px;
    padding-bottom: 15px;
    font-weight: 500;
    border-radius: 5px 5px 0px 0px;
    padding: 2%;
    border-bottom: 1px solid var(--primary-color);
}
.duyuru-boxes{

    display: flex;
    flex-direction: column;
    padding: 2%;
}
.duyuru{
    width: 96%;
    padding: 2%;
    line-height: 1.6;
    border-bottom: 1px solid var(--text2);
    font-size: 16px;
}
.content3{
    margin-top: 15%;
    width: 80%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    align-items: center;
    gap: 25px;
    padding: 10%;
}

.content3-header{
    font-size: 36px;
    padding-bottom: 40px;
}
.content3-top{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 30px;
}
.top-left{
    padding: 3%;
    width: 25%;
    gap: 25px;
    background-color: var(--content3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 15px;
}
.top-right{
    padding: 3%;
    width: 45%;
    background-color: var(--content3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 15px;
}
.top-right-header{
    font-size: 32px;
    width: 100%;
}
.top-right-content{
    width: 100%;
    font-size: 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.content-exp{
    font-size: 16px;
    line-height: 1.1;
    color: var(--text2);
}
.content3-bottom{
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--content3);
    border-radius: 15px; 
    width: 78%;
    justify-content: space-between;
    padding-right: 1%;
    padding-left: 5%;
    padding-top: 1%;
    padding-bottom: 5-2%;
}
.bottom-left{
    width: 50%;
    height: 30vh;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.bottom-left-header{
    font-size: 32px;
    line-height: 1.1;
}
.bottom-left-exp{
    font-size: 16px;
    line-height: 1.1;
    color: var(--text2);
}
.bottom-right img{
    width: 100%;
}
.content4{
    margin-top: 15%;
    background-color: var(--content4);
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 6%;
    padding-top: 6%;
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.steps{
    font-size: 16px;
    color: var(--highlight-color);
}
.content4-header{
    font-size: 36px;
    line-height: 1.2;
    width: 60%;
}
.steps-boxes{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 35px;
    width: 100%;
}
.step{
    width: 100%;
    background-color: var(--boxes);
    display: flex;
    flex-direction: column;
    padding: 3%;
    gap: 15px;
    border-radius: 15px;
    height: 150px;
}

.a{
    height: 50px;
}
.box-header{
    font-size: 24px;
}
.box-exp{
    font-size: 14px;
    line-height: 1.2;
    color: var(--text2);
}
.content5{
    margin-top: 15%;
    display: flex;
    flex-direction: column;
    width: 70%;
    gap: 30px;
}
.content5-top{
    background-color: var(--content5);
    width: 90%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    padding: 5%;
    height: 25vh;
}
.c5-bottom{
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}
.c5-bottom img{
    position: absolute;
    width: 15%;
    margin-top: 2%;
    margin-left: 45%;
}
.c5-header{
    color: var(--highlight-color);
    font-size: 32px;
}
.c5exp{
    font-size: 16px;
    color: var(--text);
    margin-top: 15px;
    line-height: 1.1;
    width: 80%;
}
.content5-bottom{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.c5-box{
    height: 20vh;
    width: 100%;
    background-color: var(--content5);
    border-radius: 15px;
    padding-bottom: 5%;
    padding-top: 2%;
    padding-right: 5%;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    
}
.c5-box-header{
    color: var(--highlight-color);
    font-size: 32px;
}
.c5-box img{
    position: absolute;
    width: 12%;
}
#img1{
    left: 15%;
}
#img2{
    right: 37%;
}
/*---------- Form ------------*/

.send-form-container {
    width: 80%;
    padding: 50px;
    background-color: var(--content5);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    margin-top: 15%;
  }
  .form-left, .form-right {
    width: 48%;
  }
  #contactForm{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .form-heading {
    text-align: left;
    color: var(--text);
    margin-bottom: 60px;
    font-size: 24px;
    border-bottom: 1px solid var(--text);
    padding-bottom: 15px;
    width: 208%;
  }
  .form-label {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
  }
  #send-form-container
  .input-field,
  .message-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: transparent;
    border: 1px solid #3498db;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
  }
  .checkbox-label {
    font-size: 14px;
  }
  #send-form-container .submit-button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 50%;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
  }
  #send-form-container .submit-button:hover {
    background-color: var(--hover);
  }
  .form-right {
    display: flex;
    flex-direction: column;
    margin-top: 160px;
  }
  .checkbox-container {
    margin-bottom: 15px;
  }
  .form-left .input-field,
  .form-left .message-field {
    margin-bottom: 10px;
  }

/*---------- Form ------------*/
.contact{
    margin-top: 15%;
    background-color: #000000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 110%;
    height: 50%;
    gap: 100px;
}
.contact-content{
    padding-top: 5%;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 60vh;

}
.material-icons-outlined {
    font-size: 24px; 
    color: #29AAE0; 
    vertical-align: middle; 
    margin-right: 8px;
}
.contact-header{
    font-size: 36px;
    border-bottom: 1px solid var(--text);
    padding-bottom:10px;
}
.contact-info{
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
    margin-bottom: 70px;
    line-height: 2;
}

.footer{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10%;
    justify-content: space-around;
}
.flogo{
    width: 20%;
    
}
.flogo img{
    width: 50%;
}
.tcmb{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 10px;
    margin-left: 10%;
}
.tcmb img{
    width: 30%;
    height: 30%;
}
.tcmb p{
    width: 100%;
    font-size: 14px;
    color: var(--text2);
}
.fnav-links{
    flex-direction: column;
    display: flex;
    margin-right: 2%;
    align-items: flex-start;
    gap: 30px;
}
.fnav-links a {
    color: var(--text2);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}
.fnav-links  p{
    color: var(--secondary-color);
}
.sozlesme  p{
    color: var(--secondary-color);
}
.sozlesme{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}
.sozlesme a {
    color: var(--text2);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}


.sozlesme a:hover {
    color: var(--secondary-color);
}


.flogin-button {
    padding: 12px 30px;
    background: none;
    border: 1px solid var(--secondary-color); 
    color: var(--secondary-color); 
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}


.flogin-button:hover {
    background-color: var(--primary-color);
    color: var(--text);
    border-color: var(--primary-color);
}
.footer-bottom{
    font-size: 12px;
    color: var(--text2);
    margin-top: 5%;
}
.checkbox-wrapper input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-wrapper a {
    color: #007BFF;
    text-decoration: underline;
    cursor: pointer;
}   

/* Modal */
.mmodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050; 
}
.checkbox-label a{
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.mmodal-content {
    background: var(--boxes);
    color: var(--text);
    padding: 40px;
    border-radius: 8px;
    max-width: 90%;
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mmodal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mmodal-header h3 {
    margin: 0;
    font-size: 18px;
}

.mmodal-close {
    background: none;
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
}

.mmodal-body {
    background-color: var(--text);
    color: black;
    font-size: 14px;
    line-height: 2;
    padding: 5%;
    max-height: 70vh;
    overflow-y: auto; 
}

@media (max-width: 580px) {
    .form-wrapper {
        padding: 15px;
    }

    .mmodal-content {
        font-size: 13px;
    }
    .mmodal-body{
        font-size: 10px;

    }
    .mmodal-content {
        background: var(--boxes);
        color: var(--text);
        padding: 40px;
        border-radius: 8px;
        max-width: 90%;
        width: 90%;

    }
}
/* Uyarı mesajları için temel stil */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50; /* Başarı mesajı rengi */
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 9999; /* Uyarı mesajını üstte göstermek için */
}

/* Hata mesajları için farklı renk */
.notification.error {
    background-color: #f44336; /* Hata rengi */
}

/* Toast mesajı gösterildiğinde görünür hale gelir */
.notification.show {
    opacity: 1;
}
@media (max-width: 768px) {
    .notification {
        font-size: 14px; /* Daha küçük font boyutu */
        padding: 12px; /* Daha küçük padding */
        max-width: 350px; /* Mobilde biraz daha küçük */
        left: 10px;
        right: 10px;
    }
}

/* Telefon boyutları için stil (daha küçük ekranlar) */
@media (max-width: 480px) {
    .notification {
        font-size: 13px; /* Telefon boyutunda daha da küçük yazı */
        padding: 10px; /* Paddingi daha da azaltıyoruz */
        max-width: 300px; /* Mesaj kutusunu daraltıyoruz */
        left: 5px;
        right: 5px;
    }
}