.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    background-color: #fff !important;
}

.navbar-brand {
    font-weight: 600;
    color: #2c3e50 !important;
    font-size: 1.2rem;
}

.nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #3498db;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db !important;
}

.nav-item {
    margin: 0 0.25rem;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,.1);
    }
    
    .nav-link:after {
        display: none;
    }
}

/* Üst navbar için stil */
.top-navbar {
    background-color: #2c3e50;
    padding: 0.7rem 0;
    color: white;
}

.top-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-navbar-text {
    font-size: 1rem;
    margin: 0;
    color: white;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Logo stilleri */
.navbar-brand img {
    max-height: 65px;
    width: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 50px;
    }
}

/* Kullanım Kılavuzu Stilleri */
.setup-steps {
    position: relative;
}

.step {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid #e9ecef;
}

.step-number {
    position: absolute;
    left: -1rem;
    width: 2rem;
    height: 2rem;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.setup-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #3498db;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(52, 152, 219, 0.1);
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .step {
        padding-left: 1.5rem;
    }
    
    .step-number {
        left: -0.75rem;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.875rem;
    }
    
    .setup-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Mobil için responsive ayarlar */
@media (max-width: 576px) {
    .top-navbar-text {
        font-size: 0.95rem;
    }
}

/* İletişim butonu için özel stil */
.nav-item .nav-link.contact-link {
    background-color: #2c3e50;
    color: white !important;
    border-radius: 6px;
    padding: 0.6rem 1.4rem !important;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-item .nav-link.contact-link:hover {
    background-color: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

.nav-item .nav-link.contact-link:after {
    display: none;
}

/* Mobil uyumluluk için */
@media (max-width: 991.98px) {
    .nav-item .nav-link.contact-link {
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* İletişim butonu için active durumu */
.nav-link.contact-link.active {
    background-color: #34495e;
    color: white !important;
}

.nav-link.contact-link.active:after {
    display: none;
}

/* Ana container için minimum yükseklik */
.container.py-5 {
    flex: 1 0 auto;
    min-height: auto;
}

/* Footer Stilleri */
.footer {
    flex-shrink: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,.05);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 10;
}

.footer h5 {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #3498db;
}

.footer p {
    line-height: 1.6;
}

.footer img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer ul li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer a {
    color: #6c757d;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer a:hover {
    color: #3498db !important;
    transform: translateX(5px);
}

.footer i {
    width: 20px;
    text-align: center;
}

.footer hr {
    margin: 2rem 0;
    opacity: 0.1;
}

/* Footer responsive ayarları */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 2rem 0 1rem;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }

    .footer ul {
        display: inline-block;
        text-align: left;
    }

    .footer img {
        margin: 0 auto 1.25rem;
    }
}

/* Mobil için ek düzenlemeler */
@media (max-width: 576px) {
    .wrapper {
        padding: 2rem 0;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Container için max-width ayarı */
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Sayfa yapısı için genel stil */
html, body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Wrapper stil */
.wrapper {
    flex: 1 0 auto;
    background-color: #f8f9fa;
    padding: 3rem 0;
}

/* Sözleşme sayfası stilleri */
.agreement-section {
    position: relative;
    transition: all 0.3s ease;
}

.agreement-section:hover {
    transform: translateY(-5px);
}

.agreement-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.agreement-content {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.agreement-list {
    position: relative;
    padding-left: 2rem;
}

.agreement-list li {
    position: relative;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.agreement-list li:last-child {
    border-bottom: none;
}

.agreement-list li i {
    position: absolute;
    left: -2rem;
    top: 1rem;
    color: #3498db;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .agreement-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .agreement-section {
        margin-bottom: 1.5rem;
    }
}

/* Eduroam sayfası stilleri */
.eduroam-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.eduroam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: #3498db;
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.stats-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border-radius: 15px;
    margin-top: 2rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    opacity: 0.9;
}
