﻿@import url("https://fonts.googleapis.com/css2?family=Bitter&family=Josefin+Sans&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Josefin Sans", sans-serif;
}

ul {
    list-style: none;
    margin-bottom: 0rem;
    padding-left: 0rem;
}

a {
    text-decoration: none;
}

input:focus,
textarea:focus {
    outline: none;
}

select:focus {
    outline: none;
}

hr {
    margin: 0;
}

header {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/head-ph.jpg");
    background-position: center;
    background-size: cover;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1001;
    padding: 5px 50px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    transition: 0.4s;
}

.logo {
    width: 5%;
    max-height: 1%;
}

    .logo img {
        max-width: 100%;
        height: auto;
    }

.menu ul li {
    padding: 0px 20px;
}

    .menu ul li a {
        position: relative;
        color: black;
        font-size: 20px;
        font-weight: 600;
    }

        .menu ul li a::after {
            content: "";
            position: absolute;
            background-color: red;
            height: 2.5px;
            width: 0;
            left: 0;
            top: 30px;
            transition: 0.3s;
        }

        .menu ul li a:hover::after {
            width: 100%;
        }

.language-btn button {
    background-color: red;
    border: none;
    padding: 7px;
    font-size: 17px;
    border-radius: 5px;
    color: white;
    position: relative;
    overflow: hidden;
}

    .language-btn button::before {
        content: "";
        position: absolute;
        width: 170px;
        height: 200px;
        background-color: black;
        border-radius: 100px;
        left: -130%;
        top: 90%;
        transition: 0.5s;
        z-index: 0;
    }

    .language-btn button span {
        position: relative;
        z-index: 1;
    }

    .language-btn button:hover::before {
        transform: translate(60%, -50%);
    }

.language-btn select {
    padding: 5px 2px;
    border-radius: 5px;
}

/* .slide-img {
    width: 100%;
    margin: auto;
}

.swiper {
    margin-top: 6%;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    width: 70%;
    height: 87vh;
    object-fit: cover;
} */

.background-clip {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
    filter: blur(2px);
    width: 100%;
}

.head-text {
    text-align: center;
    margin-top: 20%;
}

    .head-text h1 {
        color: red;
        font-size: 50px;
    }

    .head-text p {
        font-size: 30px;
        color: blue;
    }

.modal-share {
    position: fixed;
    z-index: 1001;
    top: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(125, 125, 125, 0.5999649859943977) 100%, rgba(255, 255, 255, 0.8) 100%);
    transition: 0.4s;
    transform: scale(0);
}

.modal-form {
    background-color: white;
    width: 40%;
    text-align: center;
    margin: auto;
    margin-top: 12%;
    padding: 50px 0px;
    transition: 0.4s;
    border-radius: 5px;
}

    .modal-form span {
        font-size: 30px;
    }

    .modal-form input {
        width: 60%;
        margin-top: 3%;
        padding: 5px;
        border: 2px solid gray;
        border-radius: 5px;
    }

    .modal-form a,
    .modal-form button {
        width: 31%;
    }

    .modal-form:hover {
        box-shadow: 0px 0px 11px 0px rgba(255, 0, 0, 0.75);
    }

.menu-res {
    position: absolute;
    top: 100%;
    background-color: white;
    width: 100%;
    left: 0;
    text-align: center;
    height: auto;
    display: none;
}

    .menu-res ul li {
        padding: 10px 0px;
        font-size: 20px;
    }

        .menu-res ul li a {
            color: black;
        }

.fa-xmark {
    display: none;
}

.menu-bar-res i {
    font-size: 27px;
}

.team-share, .about-box-head {
    padding: 20px 50px;
}

.team-text span {
    font-size: 40px;
    position: relative;
    color: black;
    font-weight: 600;
}

    .team-text span::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: red;
        top: 45px;
    }

.team-persons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

/* section {
    padding: 20px 50px;
} */

.person {
    padding: 20px;
    border-radius: 10px;
    transform: scale(1);
    transition: 0.5s;
}

    .person:hover {
        box-shadow: 0px 0px 10px 0px rgba(0, 106, 255, 0.75);
        transform: scale(1.2);
    }

    .person img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 100%;
        margin-bottom: 5px;
    }

    .person span:nth-child(3) {
        font-size: 25px;
        font-weight: 600;
    }

    .person span:nth-child(5) {
        font-size: 22px;
    }

.about-vid video {
    width: 100%;
    border-radius: 5px;
}

.about-share {
    padding: 0px 50px;
}

.about-vid {
    position: relative;
    left: 25%;
}

.about-main {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.about-text {
    position: absolute;
    z-index: 999;
    left: 3%;
    width: 51%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 0px 15px 0px rgba(144, 144, 144, 0.75);
}

.about-boxs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
}

.about-box {
    width: 30%;
    text-align: center;
    border: 1px solid gray;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.75);
    transition: 0.5s;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    .about-box i {
        font-size: 40px;
    }

    .about-box span {
        font-size: 23px;
        font-weight: 600;
        display: block;
        margin-bottom: 10px;
    }

    .about-box p {
        font-size: 18px;
        margin: 0;
        padding: 0 10px; /* Adjust padding to ensure text does not overflow */
        word-wrap: break-word; /* Ensure long words break to fit within the box */
        text-align:justify;
    }

.about-counts {
    display: flex;
    align-items: center;
    align-content: center;
    text-align: center;
    padding: 40px 0px;
    border-radius: 10px;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/about-counter.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
}

.count-box {
    border-right: 2px solid white;
    line-height: 40px;
}

    .count-box i {
        font-size: 40px;
    }

    .count-box b {
        font-size: 30px;
    }

    .count-box span {
        font-size: 25px;
    }

.about-questions {
    background-color: rgb(240, 240, 240);
    border: 1px solid rgb(192, 192, 192);
    border-radius: 10px;
    padding: 0px 20px;
}

.about-question {
    padding: 20px 0px;
}

.question-header {
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-answer {
    height: 0px;
    overflow: hidden;
    transition: height 0.3s ease;
    font-size: 18px;
}

.question-header i {
    color: red;
}

.salam {
    height: 10000vh;
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 20px 50px;
}

.foot-left {
    color: white;
    font-size: 18px;
}

.foot-right i {
    font-size: 25px;
    padding: 0px 10px;
    transition: 0.4s;
}

    .foot-right i:hover {
        transform: rotateY(180deg);
    }

.up {
    position: fixed;
    z-index: 1002;
    top: 90%;
    left: 1%;
    background-color: red;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 11px;
    font-size: 20px;
    border-radius: 100px;
    cursor: pointer;
    opacity: 0;
}

.contact-map-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
}

.contact-map iframe {
    pointer-events: none;
}

.contact-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    height: 30vh;
    background-color: #eff3fa;
    border-radius: 10px;
    padding: 15px;
    font-size: 20px;
}

.contact-box ul {
    line-height: 50px;
}

.contact-place {
    background: url("../images/contact-place.JPEG");
    width: 100%;
    height: 60vh;
    background-position: center;
    background-size: cover;
    /*background-attachment: fixed;*/
}

.contact-form {
    text-align: center;
}

.contact-inps {
    display: flex;
    justify-content: space-between;
}

.contact-form input {
    font-size: 18px;
    display: flex;
    width: 48%;
    font-size: 17px;
    padding: 5px;
    border: 2px solid black;
    border-radius: 5px;
}

.contact-form textarea {
    font-size: 17px;
    padding: 2px;
    width: 100%;
    margin-top: 5%;
    border: 2px solid black;
    border-radius: 5px;
}

.blog-catalogs {
    width: 100%;
}

    .blog-catalogs ul {
        text-align: center;
        justify-content: center;
        display: flex;
    }

        .blog-catalogs ul li {
            margin: 0% 1%;
            background-color: black;
            padding: 7px 20px;
            border-radius: 50px;
            cursor: pointer;
            color: white;
            font-size: 17px;
        }

.blog-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 23px 50px;
}

    .blog-main img {
        width: 23%;
        margin: 1% 0%;
        animation-duration: 1s;
    }

    .blog-main video {
        width: 23%;
        margin: 1% 0%;
        animation-duration: 1s;
    }

@keyframes Animation {
    from {
        transform: scale(0.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.active {
    animation-name: Animation;
    display: block !important;
}

.remove {
    display: none !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* Responsive image inside modal */
.modal-content {
    width: 100%;
    height: auto;
}

#vid01 {
    margin-top: 10%;
}

.blog-main video {
    display: none;
}

#demo {
    width: 80%;
    margin: 6% auto;
    /* Centers the carousel horizontally */
}

.carousel-item {
    width: 100%;
}

    .carousel-item img {
        width: 100% !important;
        height: 85vh;
        margin: auto;
        object-fit: cover;
    }

.country-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch; /* Ensure all items have the same height */
    margin: 8% 0% 8% 0%;
}

.country-box {
    width: 20%;
    background-color: white;
    padding: 15px;
    border-top: 3px solid red;
    border-radius: 0px 0px 10px 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure space is distributed */
}

.country-box-hover {
    position: absolute;
    background-color: red;
    width: 100%;
    height: 0%;
    top: 0%;
    left: 0%;
    z-index: 0;
    border-radius: 0px 0px 10px 10px;
    transition: 1s;
}

.country-box span {
    color: black;
    font-size: 25px;
    font-weight: 600;
}

.country-box:hover .country-box-hover {
    height: 100%;
}

.country-box:hover span {
    color: white;
    transition: 2s;
}

.country-box-imgtxt {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.country-box img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 100%;
}

.nav-top {
    height: 12vh;
}

.education {
    padding: 20px 50px;
}

.education-image {
    position: relative;
}

.education-image {
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 40vh;
    background-attachment: fixed;
}

    .education-image::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .education-image p {
        position: absolute;
        top: 40%;
        color: white;
        font-size: 35px;
        font-weight: 600;
        opacity: 1;
        z-index: 1;
        padding: 0px 50px;
    }

.menu-res-langs {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-res-lang {
    display: flex;
    align-items: center;
    padding: 0px 15px;
}

    .menu-res-lang b {
        padding-left: 3px;
    }

    .menu-res-lang img {
        width: 15px;
        height: 15px;
    }

.login{
    background-image: url("../images/sign.svg");
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.login-div {
    width: 30%;
    margin: auto;
    text-align: center;
    background-color: white;
    padding: 50px 0px;
    box-shadow: 0px 0px 20px 0px rgba(255,0,0,1);
    border-radius: 5px;
}

.login-div input, .login-div button{
    width: 60%;
    margin: 10px 0px;
}

.login-div input{
    border: 2px solid gray; 
    border-radius: 5px;
    padding: 3px 5px;
}

.university-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
}

    .university-boxes a {
        width: 26%;
        margin: 3% 0%;
    }

.university-box img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border-radius: 5px 5px 0px 0px;
}

.university-name {
    text-align: center;
    background-color: #19577D;
    color: white;
    font-size: 20px;
    padding: 5px 0px;
    border-radius: 0px 0px 5px 5px;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-image {
    position: relative;
}

.education-image {
    background: url("../images/ataturkuni.jpg");
    background-position: bottom;
    background-size: cover;
    width: 100%;
    height: 40vh;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

    .education-image::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .education-image p {
        position: absolute;
        color: white;
        font-size: 35px;
        font-weight: 500;
        opacity: 1;
        z-index: 1;
        padding: 0px 50px;
    }

.university-information{
    padding: 20px 50px;
    color: black;
}

.university-reklam {
    width: 100%;
    min-height: 30vh; /* Minimum height olarak ayarladık */
    background-color: #affffa;
    padding: 10px 0px;
    text-align: center;
}

    .university-reklam b {
        font-size: 30px;
    }

    .university-reklam video {
        width: 30%;
        border-radius: 10px;
    }

@media (max-width: 768px) {
    .university-reklam video {
        width: 50%; /* Daha küçük ekranlarda video genişliğini artırdık */
    }

    .university-reklam b {
        font-size: 24px; /* Yazı boyutunu küçülttük */
    }
}

@media (max-width: 480px) {
    .university-reklam video {
        width: 70%; /* Daha küçük ekranlarda video genişliğini artırdık */
    }

    .university-reklam b {
        font-size: 20px; /* Yazı boyutunu daha da küçülttük */
    }
}

.head-information p:nth-child(1){
    font-size: 25px;
    font-weight: 600;
}

.head-information p:nth-child(2) {
    font-size: 20px;
}

.university-faculty ol > li{
    font-size: 19px;
    color: red;
}

.university-faculty ul > li {
    font-size: 16px;
    color: black;
}

@media (min-width: 494px) and (max-width: 768px){
    .university-boxes a{
        width: 80% !important;
    }
}

@media only screen and (max-width: 768px) {
    .team-share, .about-box-head {
        padding: 20px 0px;
    }
    .about-share{
        padding: 0px;
    }
    .education{
        padding: 20px 0px
    }
    nav {
        padding: 5px 10px;
    }

    section {
        padding: 0px 10px;
    }

    .team-text {
        text-align: center;
    }

        .team-text span::before{
            width: 0%;
        }

        .team-share p {
            text-align: center;
        }
    .language-btn {
        width: 60% !important;
        text-align: center;
    }

        .language-btn select {
            display: none;
        }

    .menu {
        display: none;
    }

    .menu-res ul li a {
        font-size: 17px;
    }

    .modal-form {
        width: 90%;
        padding: 20px 0px;
        margin-top: 35%;
    }

    .menu-bar-res {
        width: 15%;
        text-align: center;
    }

    .background-clip {
        height: 50vh;
    }

    .head-text h1 {
        font-size: 40px;
    }

    .head-text p {
        font-size: 20px;
    }
    .head-img-text img{
        width: 30% !important;
    }

    .person img {
        width: 200px;
        height: 200px;
    }

    .menu-bar-res {
        width: 10%;
        text-align: end;
    }

    .logo {
        width: 10%;
    }

    .language-btn select {
        display: none;
    }

    .menu {
        display: none;
    }

    .head-text {
        margin-top: 25%;
    }

    .person img {
        width: 200px;
        height: 200px;
    }

    .about-main {
        display: block;
    }

    .about-text {
        position: static;
        width: 100%;
    }

    .about-vid {
        position: static;
        margin-top: 5%;
    }

    .about-counts {
        margin: auto;
    }

    .count-box {
        border: none;
    }

    footer {
        margin-top: 100%;
    }

    .foot {
        display: block;
        text-align: center;
        line-height: 40px;
        padding: 10px 50px;
    }

    .contact-map-box {
        display: block;
        padding: 0px;
    }

    .contact-map iframe {
        width: 100%;
    }

    .contact-right {
        width: 100%;
        display: block;
        height: 47vh;
        margin-top: 5%;
    }

    .contact-box {
        padding-bottom: 15px;
    }

        .contact-box ul {
            line-height: 30px;
        }

    .blog-catalogs ul {
        display: block;
    }

        .blog-catalogs ul li {
            width: 70%;
            margin: auto;
            margin: 2% auto;
        }

    .blog-main img {
        width: 90%;
        margin: 2% auto;
    }

    .blog-main video {
        width: 90%;
        margin: 2% auto;
    }

    .modal {
        padding-top: 150px;
    }

    .modal-content {
        width: 90%;
    }

    #demo {
        margin-top: 12%;
    }

    .country-box {
        width: 70%;
        margin-top: 15%;
    }
    .university-information{
        padding: 20px 0px;
    }
    .university-addinformation{
        width: 100% !important;
    }
    .university-reklam video{
        width: 60%; 
    }
    .about-box{
        width: 100%;
    }
    .university-boxes a{
        width: 100%;
    }
    .university-box img{
        height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .logo {
        width: 8% !important;
    }

    nav {
        padding: 0px 10px;
    }

    .modal-form {
        width: 60%;
        margin-top: 18%;
    }

    .menu ul li a {
        font-size: 14px;
    }

    .language-btn button {
        font-size: 13px;
    }

    .head-text {
        margin-top: 25%;
    }

    .about-vid {
        width: 56%;
    }

    .about-text {
        width: 50%;
        font-size: 12px;
        left: 6%;
    }

    .about-counts {
        margin: auto;
    }

    .count-box {
        border: none;
    }

    .contact-map-box {
        display: block;
    }

    .contact-map iframe {
        width: 100%;
    }

    .contact-right {
        width: 100%;
        display: block;
        height: 47vh;
        margin-top: 5%;
    }

    .contact-box {
        padding-bottom: 15px;
    }

        .contact-box ul {
            line-height: 30px;
        }

    .blog-catalogs ul li {
        padding: 7px 5px;
    }

    .blog-main img {
        width: 48%;
        margin: 2% 0%;
    }

    .blog-main video {
        width: 48%;
        margin: 2% 0%;
    }

    .menu-bar-res {
        display: none !important;
    }

    .modal {
        padding-top: 100px;
    }

    .modal-content {
        width: 90%;
    }

    #vid01 {
        margin-top: 4%;
    }
    .university-reklam video {
        width: 60%;
    }
    .about-box {
        width: 100%;
    }
    .university-boxes a{
         width: 40%;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .head-text {
        margin-top: 25%;
    }

    .person img {
        width: 200px;
        height: 200px;
    }

    .about-text {
        width: 51%;
        font-size: 12px;
        left: 5%;
    }

    .modal-form {
        width: 60%;
        margin-top: 18%;
    }

    .contact-map-box {
        display: block;
    }

    .contact-map iframe {
        width: 100%;
    }

    .contact-right {
        width: 100%;
        display: block;
        height: 47vh;
        margin-top: 2%;
    }

    .contact-box {
        padding-bottom: 15px;
    }

        .contact-box ul {
            line-height: 30px;
        }

    .modal {
        padding-top: 100px;
    }

    .modal-content {
        width: 90%;
    }

    #vid01 {
        margin-top: 4%;
    }
    .university-reklam video {
        width: 40%;
    }
    .about-box {
        width: 45%;
    }
}
