html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


body {
    background-color: #f4f6f8;
    font-family: "Poppins", serif;
    font-size: 13px;
}

main {
    flex: 1;
    overflow: visible;
}

.main-container {
    min-height: calc(100% - 323px);
    overflow: visible;
}

header {
    padding: 0;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    overflow: visible;
}

.header-top {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 12px 0;
    overflow: visible;
}

.header-top .main-logo {
    transition: transform 0.3s ease;
}

.header-top .main-logo:hover {
    transform: scale(1.05);
}

header .main-logo img {
    height: 48px;
}

.layout {
    display: flex;
    height: 100%;
}

.page-content {
    min-height: 100%;

}


.navbar {
    font-family: 'Oswald', sans-serif;
    background: transparent;
    padding: 0;
    border-top: 1px solid rgba(0, 61, 116, 0.1);
}

header .navbar {
    z-index: 100;
}

.navbar-nav {
    gap: 4px;
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    padding: 10px 12px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #334155;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav .nav-link i {
    font-size: 13px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.main-nav .nav-link:hover {
    color: #003D74;
    background: rgba(0, 61, 116, 0.06);
    transform: translateY(-2px);
}

.main-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.main-nav .nav-link.active {
    color: #003D74;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.1) 0%, rgba(0, 61, 116, 0.05) 100%);
}

.main-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: linear-gradient(90deg, #003D74 0%, #002a52 100%);
    border-radius: 3px 3px 0 0;
}

.navbar-brand img {
    height: 40.8px;
}

.btn {
    font-size: 13px;
}

.bg-orange {
    background-color: #EC4424;
    color: #fff;
}

.bg-orange:hover {
    background-color: #ED5C40;
    color: #fff;
}

.login-register-btn {
    padding: 4px 20px;
    margin: 6px 0;
}

.form-signin {
    max-width: 420px;
}

.main-nav .nav-link {
    font-size: 16px;
}

.main-nav .nav-link.active {
    color: #003D74;
    font-weight: 600;
}



.sidebar {
    width: 240px;
    background-color: #fff;
    min-height: 100%;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 0;

}

.sidebar-menu li {
    padding: 0;
}

.sidebar-menu li a {
    text-decoration: none;
    color: #364153;
    font-size: 14px;
    padding: 8px;
}


.btn-auth {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-auth i {
    font-size: 12px;
}

.btn-signup {
    background: linear-gradient(135deg, #ec4424 0%, #d53c1f 100%);
    color: #fff;
    border: 2px solid transparent;
    width: 130px;
}

.btn-signup:hover {
    background: linear-gradient(135deg, #d53c1f 0%, #c4361b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 68, 36, 0.3);
    color: #fff;
}

.btn-login {
    background-color: #fff;
    color: #ec4424;
    border: 2px solid #ec4424;
    margin-right: 12px;
    width: 130px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #ec4424 0%, #d53c1f 100%);
    color: #fff;
    border-color: #ec4424;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 68, 36, 0.25);
}


/* paketler */

/* Overall package section styling */
.packages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.packages .package-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    padding: 20px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 380px;
    /* Ensure a uniform minimum height for all cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
}

.packages .package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.packages .package-title {
    font-size: 1.6em;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.packages .package-description {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
    line-height: 1.4;
}

.packages .package-price-area {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-grow: 0;
    /* Price section should not grow */
}

.packages .package-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
}

.packages .package-price span {
    display: inline-block;
    margin: 0;
    padding: 5px;
    background-color: #e7f4ff;
    border-radius: 5px;
}

.packages .package-type {
    font-size: 1.1em;
    color: #555;
    margin-top: 0;
    /* No extra space above package type */
    font-weight: bold;
    margin-bottom: 20px;
    /* Spacing between type and features */
}

.packages .package-details {
    margin-bottom: 20px;
}

.packages .package-features {
    list-style: none;
    padding-left: 0;
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    text-align: left;
    /* Align features to the left */
    overflow: hidden;
    /* Prevent overflow */
}

.packages .package-features li {
    margin-bottom: 10px;
}

.packages .package-features li:before {
    content: "✓";
    color: #28a745;
    margin-right: 8px;
}

.packages .buy-divider {
    display: flex;
    justify-content: center;
    margin-top: auto;
    /* Ensures the button is at the bottom */
}

.packages .buy-button {
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: bold;
    background-color: #28a745;
    /* Green color for the button */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.packages .buy-button:hover {
    background-color: #218838;
    /* Darker green on hover */
    transform: scale(1.05);
}

.packages .buy-button:focus {
    outline: none;
}

/* Responsiveness */
@media (max-width: 768px) {
    .packages {
        padding: 20px;
    }

    .package-card {
        width: 100%;
        max-width: 350px;
    }
}





.btn-orange {
    color: #fff;
    background-color: #EC4424;
    border-color: #EC4424;
}

.btn-orange:hover {
    color: #fff;
    background-color: #d53c1f;
    border-color: #c4361b;
}

.btn-orange:focus,
.btn-orange.focus {
    box-shadow: 0 0 0 0.25rem rgba(236, 68, 36, 0.5);
}

.btn-orange:active,
.btn-orange.active,
.show>.btn-orange.dropdown-toggle {
    color: #fff;
    background-color: #c4361b;
    border-color: #b23218;
}

.btn-orange.disabled,
.btn-orange:disabled {
    color: #fff;
    background-color: #EC4424;
    border-color: #EC4424;
    opacity: 0.65;
}

.btn-outline-orange {
    color: #EC4424;
    border: 2px solid #EC4424;
    background-color: transparent;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color: #EC4424;
    border-color: #EC4424;
}

.btn-outline-orange:focus,
.btn-outline-orange.focus {
    box-shadow: 0 0 0 0.25rem rgba(236, 68, 36, 0.5);
}

.btn-outline-orange:active,
.btn-outline-orange.active,
.show>.btn-outline-orange.dropdown-toggle {
    color: #fff;
    background-color: #c4361b;
    border-color: #b23218;
}

.btn-outline-orange.disabled,
.btn-outline-orange:disabled {
    color: #EC4424;
    background-color: transparent;
    opacity: 0.65;
}








/* kayıt */

.kayit-content {
    height: 100%;
}



.register-form {
    max-width: 600px;
    margin: auto;
    padding: 24px;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #ccc;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    flex: 1;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

input:focus {
    border-color: #007b5e;
    outline: none;
}

.register-button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}

.register-button:hover {
    background-color: #218838;
}

.has-error input {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

.please-wait-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;



}

.please-wait-dialog .message {
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 18px;
}

/* otp */
.otp-modal .otp-input-container input {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.otp-modal .otp-input-container input:focus {
    border-color: #003F75;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2);
    outline: none;
}

/* Gradient Button */
.otp-modal .btn-gradient {
    background: linear-gradient(135deg, #003F75, #1A5D9D);

    /* background: linear-gradient(135deg, #0d6efd, #6610f2); */
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.otp-modal .btn-gradient:hover {
    background: linear-gradient(135deg, #1A5D9D, #003F75);

}

.otp-modal .gsm-no {
    font-size: 18px;
}

.otp-modal .text-header {
    color: #003F75;
}

.otp-modal .kr-primary {
    color: #003F75;
}

.otp-modal .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25rem;
}

.otp-modal .text-muted {
    font-size: 0.875rem;
}

.otp-modal .custom-spinner {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}


/* header */


header .right-area {
    margin-left: auto;
    display: flex;
    align-items: center;
    font-family: "Oswald", sans-serif;
    overflow: visible;
    position: relative;
}


header .user-info {
    text-align: right;
    margin-right: 16px;
    padding-right: 16px;
    border-right: 2px solid rgba(0, 61, 116, 0.15);
}

header .user-info .user-adsoyad {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

header .user-info .user-telefon {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

header .user-avatar {
    height: 46px;
    width: 46px;
    background: linear-gradient(135deg, #003D74 0%, #002a52 100%);
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 61, 116, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 61, 116, 0.2);
}

header .user-dropdown {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    transition: all 0.3s ease;
    position: relative;
}

header .user-dropdown:hover .user-avatar {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 61, 116, 0.4);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 8px;
    margin-top: 8px;
    min-width: 200px;
    z-index: 10000;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.08) 0%, rgba(0, 61, 116, 0.04) 100%);
    color: #003D74;
}

.dropdown-item i {
    width: 20px;
}

.dropdown-divider {
    margin: 8px 0;
    border-top-color: rgba(0, 61, 116, 0.1);
}

header .btn-panel {
    background: linear-gradient(135deg, #ec4424 0%, #d53c1f 100%);
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(236, 68, 36, 0.2);
    display: inline-flex;
    align-items: center;
}

header .btn-panel:hover {
    background: linear-gradient(135deg, #d53c1f 0%, #c4361b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(236, 68, 36, 0.35);
}

header .btn-panel i {
    font-size: 14px;
}



/* anasayfa */

.anasayfa-page .banka-listesi {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* Adjust the gap between the items */
    justify-content: center;
    /* Centers the items horizontally */
}

.anasayfa-page .banka-item {
    width: 120px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.anasayfa-page .banka-item .banka-logo {
    max-width: 100%;
    height: auto;
}


.how-it-works-item img {
    transition: transform 0.3s ease;
}

.how-it-works-item:hover img {
    transform: scale(1.1);
}



.text-content h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.text-content p.lead {
    font-size: 1.125rem;
}

.img-fluid.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}


.section-bg-secondary {
    background-color: #f8f9fa !important;
}

.elegant-stats {
    background-color: #f8f9fa;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #EC4424;
    margin-bottom: 0;
    /* no extra spacing */
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .stat-number {
        font-size: 1.5rem;
    }

    .elegant-stats .d-flex {
        flex-direction: column !important;
        text-align: center;
    }
}


@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.social-links li {
    margin-bottom: 10px;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #ec4424;
    /* Accent hover color */
}

.social-links i {
    width: 20px;
    text-align: center;
}


/* ============================
   RESPONSIVE MOBILE STYLES
   ============================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.1) 0%, rgba(0, 61, 116, 0.05) 100%);
    border: 2px solid rgba(0, 61, 116, 0.2);
    border-radius: 10px;
    font-size: 16px;
    color: #003D74;
    cursor: pointer;
    padding: 10px 14px;
    margin-right: 12px;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 61, 116, 0.15);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.15) 0%, rgba(0, 61, 116, 0.08) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 61, 116, 0.25);
}

.mobile-menu-toggle:focus {
    outline: none;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Menu Styles */
.mobile-menu {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-top: 2px solid rgba(0, 61, 116, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobile-menu-content {
    padding: 12px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 4px;
}

.mobile-nav-list li a {
    display: block;
    padding: 14px 18px;
    color: #334155;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.mobile-nav-list li a:hover {
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.08) 0%, rgba(0, 61, 116, 0.04) 100%);
    color: #003D74;
    transform: translateX(4px);
}

.mobile-nav-list li a.active {
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.12) 0%, rgba(0, 61, 116, 0.06) 100%);
    color: #003D74;
    font-weight: 700;
    border-left: 4px solid #003D74;
}

.mobile-user-info {
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(0, 61, 116, 0.08) 0%, rgba(0, 61, 116, 0.04) 100%);
    border-radius: 10px;
    margin-bottom: 8px;
    border-left: 4px solid #003D74;
}

.mobile-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.2px;
}

.mobile-user-phone {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.mobile-btn-login {
    color: #003D74 !important;
    font-weight: 700;
}

/* Tablet and Mobile Breakpoints */
@media (max-width: 991.98px) {

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }

    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none !important;
    }

    /* Adjust header spacing */
    header {
        padding: 0;
    }

    .header-top {
        padding: 12px 0;
    }

    header .main-logo img {
        height: 30px;
    }
}

@media (max-width: 767.98px) {

    /* Header adjustments */
    .header-top {
        flex-wrap: nowrap;
    }

    header .right-area {
        gap: 8px;
    }

    header .user-avatar {
        height: 36px;
        width: 36px;
        font-size: 14px;
    }

    .btn-auth {
        padding: 8px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    .btn-signup {
        width: auto;
        min-width: 80px;
    }

    .btn-login {
        width: auto;
        min-width: 80px;
        margin-right: 8px;
    }

    /* Adjust main container */
    .main-container {
        min-height: calc(100% - 250px);
    }

    /* Anasayfa responsive */
    .text-content h1 {
        font-size: 1.75rem;
    }

    .text-content p.lead {
        font-size: 1rem;
    }

    .anasayfa-page .banka-item {
        width: 80px;
        margin: 0 10px;
    }

    /* Stats section */
    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    /* Form adjustments */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .register-form {
        padding: 16px;
    }

    /* Packages */
    .packages .package-card {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {

    /* Extra small devices */
    body {
        font-size: 12px;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    header .main-logo img {
        height: 30px;
    }

    .btn-auth {
        padding: 8px 12px;
        font-size: 11px;
    }

    .btn-auth.btn-signup,
    .btn-auth.btn-login {
        min-width: 70px;
    }

    .btn-auth i {
        font-size: 10px;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .btn-lg {
        font-size: 14px;
        padding: 10px 16px;
    }

    /* Hide some text on very small screens */
    .d-xs-none {
        display: none !important;
    }

    /* Stack sections vertically */
    .col-md-6,
    .col-lg-6 {
        margin-bottom: 20px;
    }

    /* Adjust card images */
    .card-body img {
        width: 60px !important;
    }

    .card-body h5 {
        font-size: 14px;
    }

    .card-body p {
        font-size: 12px;
    }
}

/* Landscape phone adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    .mobile-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive tables */
@media (max-width: 767.98px) {
    table {
        font-size: 12px;
    }

    table thead {
        display: none;
    }

    table tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    table td {
        display: block;
        text-align: right;
        padding: 8px;
        border-bottom: 1px solid #eee;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
    }
}

/* Responsive utilities */
@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .d-lg-block {
        display: none !important;
    }
}

/* Touch-friendly button sizes */
@media (hover: none) and (pointer: coarse) {

    button,
    .btn,
    a.btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Footer Responsive Styles */
footer .social-links {
    font-size: 14px;
}

@media (max-width: 767.98px) {
    footer .social-links {
        font-size: 12px;
    }

    footer .social-links li {
        margin-bottom: 8px;
    }

    footer .social-links a {
        padding: 4px 0;
        display: block;
    }
}

/* Section spacing adjustments for mobile */
@media (max-width: 767.98px) {
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* Improve text readability on mobile */
@media (max-width: 575.98px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    p,
    .lead {
        font-size: 0.9rem;
    }
}

/* Fix overflow issues */
body,
html {
    overflow-x: hidden;
}

.container,
.container-fluid {
    overflow-x: hidden;
}

/* Responsive padding for sections */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .row>[class*='col-'] {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* OTP Modal responsive */
@media (max-width: 575.98px) {
    .otp-modal .otp-input-container input {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }

    .otp-modal .gsm-no {
        font-size: 16px;
    }
}

/* Improve card layouts on mobile */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
    }

    .card-body {
        padding: 12px;
    }

    .card-body .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-body img {
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
}

/* Responsive button groups */
@media (max-width: 575.98px) {
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .d-flex.flex-wrap.gap-3 .btn {
        width: 100%;
    }
}

/* Better spacing for how it works section */
@media (max-width: 575.98px) {
    .how-it-works-item {
        margin-bottom: 1rem;
    }

    .how-it-works-item p {
        font-size: 0.85rem;
    }
}

/* Improve logo grid on mobile */
@media (max-width: 575.98px) {
    .anasayfa-page .banka-listesi {
        gap: 10px;
    }

    .anasayfa-page .banka-item {
        width: 70px;
        margin: 0 5px;
    }
}

/* Ensure proper spacing in header */
@media (max-width: 991.98px) {
    header .right-area {
        margin-left: auto;
        gap: 6px;
    }
}

/* Adjust header layout for mobile menu button positioning */
.header-top {
    position: relative;
}

@media (max-width: 991.98px) {
    .header-top>div:first-of-type {
        margin-left: 0;
    }
}

/* Fix dropdown menu overflow */
header .container {
    overflow: visible !important;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute !important;
    z-index: 10000 !important;
}