/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

/* Scrollbar */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#071224;
}

::-webkit-scrollbar-thumb{
    background:#2f8cff;
    border-radius:50px;
}

::-webkit-scrollbar-thumb:hover{
    background:#64a8ff;
}

/* ===========================
        NAVBAR
=========================== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:999;
    backdrop-filter:blur(18px);
    background:rgba(5,8,22,.45);
    border-bottom:1px solid rgba(255,255,255,.06);
}

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

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
}
.logo h2{
    font-size:22px;
    font-weight:700;
}

.logo span{
    color:#9ec9ff;
    font-size:13px;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:35px;
}

.navbar ul li a{
    text-decoration:none;
    color:#fff;
    font-size:15px;
    font-weight:500;
    transition:.4s;
    position:relative;
}

.navbar ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0;
    height:2px;
    background:#4fa3ff;
    transition:.4s;
}

.navbar ul li a:hover{
    color:#5db0ff;
}

.navbar ul li a:hover::after{
    width:100%;
}

.navbar ul li a.active{
    color:#5db0ff;
}

.navbar ul li a.active::after{
    width:100%;
}

























/*==========================================
        BAŞVURU FORMU
==========================================*/

.contact-application-section{
    padding:120px 8%;
    background:linear-gradient(180deg,#061323,#081b31,#0c2748);
}

.contact-form-container{
    max-width:1100px;
    margin:auto;
}

.form-header{
    text-align:center;
    margin-bottom:60px;
}

.form-badge{
    display:inline-block;
    padding:8px 22px;
    background:#2b8cff;
    color:#fff;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:20px;
}

.form-header h2{
    color:#fff;
    font-size:45px;
    margin-bottom:20px;
}

.form-header p{
    color:#cfd9e6;
    font-size:18px;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.contact-form-card{
    background:rgba(255,255,255,.06);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.12);
    border-radius:25px;
    padding:50px;
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.input-group{
    display:flex;
    flex-direction:column;
    margin-bottom:25px;
}

.input-group label{
    color:#fff;
    font-weight:600;
    margin-bottom:10px;
}

.input-group input,
.input-group select,
.input-group textarea{
    width:100%;
    padding:18px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    outline:none;
    font-size:15px;
    transition:.3s;
}

.input-group input::placeholder,
.input-group textarea::placeholder{
    color:#c6d1df;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus{
    border-color:#2b8cff;
    box-shadow:0 0 20px rgba(43,140,255,.35);
}

.double-input{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

textarea{
    resize:none;
}

.submit-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg,#0077ff,#00bfff);
    color:#fff;
    font-size:17px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    transition:.35s;
}

.submit-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,119,255,.35);
}

@media(max-width:900px){

.double-input{
    grid-template-columns:1fr;
}

.contact-form-card{
    padding:35px;
}

.form-header h2{
    font-size:34px;
}

}

@media(max-width:600px){

.contact-application-section{
    padding:80px 20px;
}

.contact-form-card{
    padding:25px;
}

.form-header h2{
    font-size:28px;
}

.form-header p{
    font-size:15px;
}

}



















/*==================================================
        YUKARI ÇIK BUTONU
==================================================*/

#scrollTopBtn {
    position: fixed;
    right: 30px;
    bottom: 30px;

    width: 60px;
    height: 60px;

    border: none;
    border-radius: 50%;

    background: #2f8cff;
    color: white;

    font-size: 30px;
    font-weight: bold;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all .35s ease;

    z-index: 9999;

    box-shadow: 0 8px 25px rgba(47, 140, 255, .35);
}

#scrollTopBtn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background: #5aaeff;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(47, 140, 255, .5);
}





/*==========================================
                FOOTER
==========================================*/

footer{
    background:#050816;
    padding:70px 8% 25px;
    border-top:1px solid rgba(255,255,255,.06);
}

footer .container{
    max-width:1200px;
    margin:auto;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:60px;
    margin-bottom:45px;
}

.footer-grid h2{
    font-size:24px;
    color:#fff;
    font-weight:700;
    margin-bottom:18px;
}

.footer-grid h3{
    font-size:20px;
    color:#fff;
    margin-bottom:18px;
    font-weight:600;
}

.footer-grid p{
    color:#b5bfd2;
    font-size:16px;
    margin-bottom:12px;
    line-height:1.7;
}

.footer-grid a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#2b8cff;
    color:#fff;
    font-size:18px;
    margin-right:12px;
    text-decoration:none;
    transition:.35s;
}

.footer-grid a:hover{
    transform:translateY(-4px);
    background:#4ca1ff;
    box-shadow:0 8px 20px rgba(43,140,255,.35);
}

.copyright{
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:25px;
    text-align:center;
    color:#9ba8bd;
    font-size:14px;
}

/* Responsive */

@media(max-width:900px){

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:35px;
}

.footer-grid a{
    margin:6px;
}

}
/* ===============================
        Responsive
================================= */

@media(max-width:900px){

.footer-grid{
    grid-template-columns:1fr;
    text-align:center;
    gap:45px;
}

.footer-grid a{
    margin:8px;
}

.footer-grid h2{
    font-size:26px;
}

.footer-grid h3{
    font-size:22px;
}

.footer-grid p{
    font-size:17px;
}

}

/* =========================================
   ORTAK MOBİL MENÜ - İLETİŞİM SAYFASI
========================================= */

.mobile-menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {

    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        min-height: 74px !important;
        padding: 10px 5% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;

        box-sizing: border-box !important;
        z-index: 100001 !important;

        background: rgba(0, 31, 63, .94) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .navbar .logo {
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        min-width: 0 !important;
    }

    .navbar .logo a {
        display: flex;
        flex-shrink: 0;
    }

    .navbar .logo img {
        width: 42px !important;
        height: 42px !important;
        flex-shrink: 0;
    }

    .navbar .logo h2 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .navbar .logo span {
        display: block;
        font-size: 9px !important;
        line-height: 1.4 !important;
    }

    /* Üç çizgili buton */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;

        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        flex-shrink: 0 !important;

        background: rgba(0, 31, 63, .7) !important;
        border: 1px solid rgba(120,180,255,.3) !important;
        border-radius: 8px !important;
        cursor: pointer;
        z-index: 100002 !important;
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: #fff !important;
        border-radius: 5px;
        transition: .3s ease;
    }

    /* Soldan açılan menü */
    #mobileNavigation {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;

        display: block !important;
        width: 65% !important;
        max-width: 270px !important;
        height: 100vh !important;
        height: 100dvh !important;

        margin: 0 !important;
        padding: 100px 18px 25px !important;
        box-sizing: border-box !important;

        background: linear-gradient(
            145deg,
            rgba(0,31,63,.98),
            rgba(0,51,102,.96)
        ) !important;

        border: 1px solid rgba(120,180,255,.22);
        border-radius: 0 !important;
        box-shadow: 8px 0 35px rgba(0,0,0,.25);

        overflow-y: auto !important;
        z-index: 100000 !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-100%);

        transition:
            transform .3s ease,
            opacity .3s ease,
            visibility .3s ease;
    }

    #mobileNavigation.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    #mobileNavigation ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;

        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #mobileNavigation li {
        display: block !important;
        width: 100% !important;
    }

    #mobileNavigation a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        box-sizing: border-box !important;

        color: #fff !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        text-decoration: none !important;

        border-radius: 8px !important;
        background: transparent !important;
    }

    #mobileNavigation a::after {
        display: none !important;
    }

    #mobileNavigation a:hover,
    #mobileNavigation a.active {
        color: #8fc8ff !important;
        background: rgba(255,255,255,.12) !important;
    }

    /* Sabit navbar formun üstüne binmesin */
    .contact-application-section {
        padding-top: 110px !important;
    }
}

/* =========================================
   MOBİL BAŞVURU FORMU - KÜÇÜLTME
========================================= */

@media screen and (max-width: 600px) {

    .contact-application-section {
        padding: 100px 12px 45px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Form başlığı */
    .form-header {
        margin-bottom: 25px !important;
        padding: 0 5px !important;
    }

    .form-badge {
        padding: 6px 14px !important;
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }

    .form-header h2 {
        font-size: 22px !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .form-header p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        padding: 0 3px !important;
    }

    /* Formun dış kutusu */
    .contact-form-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 13px !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    .contact-form-card form {
        width: 100% !important;
    }

    /* Alanlar arası boşluk */
    .input-group {
        width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 16px !important;
    }

    .input-group label {
        font-size: 12px !important;
        margin-bottom: 6px !important;
    }

    /* Giriş kutuları */
    .input-group input,
    .input-group select,
    .input-group textarea {
        width: 100% !important;
        min-width: 0 !important;
        padding: 11px 10px !important;
        font-size: 13px !important;
        border-radius: 9px !important;
        box-sizing: border-box !important;
    }

    .input-group textarea {
        min-height: 90px !important;
        resize: vertical !important;
    }

    /* Fakülte ve bölüm alanları alt alta */
    .double-input {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
        width: 100% !important;
    }

    /* Gönder butonu */
    .submit-btn {
        width: 100% !important;
        padding: 13px 10px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
        gap: 8px !important;
    }

    /* Yukarı çık butonu */
    #scrollTopBtn {
        width: 45px !important;
        height: 45px !important;
        right: 14px !important;
        bottom: 14px !important;
        font-size: 23px !important;
    }
}
