:root {
    /* Main Brand Colors */
    --primary-color: #1A365D;
    --secondary-color: #00A896;
    --accent-color: #FF512F;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, #FF512F 0%, #DD2476 100%);
    --tech-gradient: linear-gradient(135deg, #1A365D 0%, #00A896 100%);
    
    /* UI Colors */
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    
    /* Interactive States */
    --hover-primary: #2A4365;
    --hover-secondary: #02C39A;
    --success: #38A169;
    
    --header-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'FiraGO', sans-serif;
}

body {
    background-color: var(--bg-light);
    background-image: url('../images/logo.png');
    background-repeat: repeat;
    background-size: 300px;
    background-attachment: fixed;
    background-position: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 250, 252, 0.88);
    pointer-events: none;
    z-index: -1;
    transition: background 0.3s ease;
}

/* ========== HEADER ========== */
.smart-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--secondary-color);
    padding: 15px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-area .main-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.brand-title {
    text-align: center;
    flex-grow: 1;
}

.title-en {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin: 0;
    transition: color 0.3s ease;
}

.title-ka {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    transition: color 0.3s ease;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 17px;
    padding: 12px 22px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    background: rgba(0, 168, 150, 0.1);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 2001;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-top: var(--header-height);
    padding: 30px 5%;
    min-height: calc(100vh - 200px);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ========== SEARCH SECTION ========== */
.search-section {
    background: var(--tech-gradient);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    border-radius: 15px;
    margin-bottom: 30px;
}

.search-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.search-section p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 16px;
}

.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form input {
    padding: 15px 25px;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    width: 300px;
    outline: none;
}

.search-form button {
    padding: 15px 30px;
    font-size: 16px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--hover-secondary);
    transform: scale(1.05);
}

/* ========== RESULT SECTION ========== */
.result-section {
    margin-bottom: 30px;
}

.debt-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.debt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.debt-header h3 {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.code-badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.address {
    color: var(--text-light);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.debt-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.debt-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.debt-item span {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.debt-item strong {
    font-size: 24px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.debt-item.total {
    background: var(--primary-color);
}

.debt-item.total span,
.debt-item.total strong {
    color: var(--white);
}

.payment-methods h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.method-btn i {
    font-size: 28px;
    margin-bottom: 10px;
}

.method-btn span {
    font-size: 13px;
}

.method-btn.online { background: var(--success); }
.method-btn.sms { background: #2196F3; }
.method-btn.bank { background: var(--primary-color); }
.method-btn.auto { background: var(--accent-color); }

.method-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.not-found {
    text-align: center;
    padding: 50px;
    background: var(--white);
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.not-found i {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.not-found h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.not-found p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* ========== NEWS SECTION ========== */
.news-section {
    margin-bottom: 30px;
}

.news-section h2,
.services-section h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 24px;
    transition: color 0.3s ease;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
    transition: background-color 0.3s ease;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    transition: background-color 0.3s ease;
}

.news-date {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.news-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s ease;
}

.news-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.news-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.news-link:hover {
    text-decoration: underline;
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--hover-primary);
}

/* ========== SERVICES SECTION ========== */
.services-section {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.service-price {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--hover-secondary);
}

/* ========== HELP BUTTONS ========== */
.help-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.help-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.help-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.help-btn.chat { background: var(--primary-color); }
.help-btn.whatsapp { background: #25D366; }
.help-btn.email { background: var(--accent-color); }

.help-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.help-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ========== CHAT MODAL ========== */
.chat-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: 90vw;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    transition: background-color 0.3s ease;
}

.chat-modal.active {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message p {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    margin: 0;
}

.chat-message.bot { text-align: left; }
.chat-message.bot p {
    background: var(--bg-light);
    color: var(--text-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.chat-message.user {
    text-align: right;
    margin-left: auto;
}

.chat-message.user p {
    background: var(--secondary-color);
    color: var(--white);
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    gap: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.chat-footer input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.chat-footer input:focus {
    border-color: var(--secondary-color);
}

.chat-footer button {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-footer button:hover {
    background: var(--hover-secondary);
}

/* ========== FOOTER ========== */
.footer-main {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 5% 20px;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section i {
    margin-right: 8px;
}

.social-links a {
    color: var(--white);
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}


/* ============================================================
   RESPONSIVE — ყველა მოწყობილობისთვის
   ============================================================ */

/* ========== LAPTOP / SMALL DESKTOP (1200px) ========== */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 10px;
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .pay-btn,
    .methods-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
    
    .brand-title .title-en {
        font-size: 22px;
    }
    
    .brand-title .title-ka {
        font-size: 13px;
    }
    
    .services-grid {
        gap: 15px;
    }
    
    .news-grid {
        gap: 15px;
    }
}

/* ========== iPad LANDSCAPE / SMALL LAPTOP (1024-1200px) ========== */
@media (min-width: 1025px) and (max-width: 1200px) {
    .nav-menu a {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .pay-btn,
    .methods-btn {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
}

/* ========== TABLET (992px) ========== */
@media (max-width: 992px) {
    .brand-title {
        display: none;
    }
    
    .header-container {
        justify-content: space-between;
        gap: 10px;
    }
    
    .main-nav .nav-menu {
        gap: 5px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .pay-btn,
    .methods-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chat-modal {
        right: 20px;
        width: 320px;
    }
    
    .notifications-dropdown {
        width: 320px;
        right: -50px;
    }
    
    .search-section {
        padding: 40px 15px;
    }
    
    .search-section h1 {
        font-size: 28px;
    }
    
    /* რეიტინგის სექცია */
    section > div[style*="linear-gradient(135deg, #ff9800"] {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* ========== iPad PORTRAIT (769-1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-section h1 {
        font-size: 26px;
    }
    
    .main-content {
        padding: 20px 3%;
    }
    
    .debt-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== MOBILE (768px) ========== */
@media (max-width: 768px) {
    /* HEADER */
    .smart-header {
        padding: 8px 12px;
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .logo-area .main-logo {
        height: 40px;
        max-width: 80px;
    }
    
    .brand-title {
        display: none;
    }
    
    /* NAV — fullscreen მენიუ */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 54, 93, 0.97);
        z-index: 2000;
        padding: 80px 30px 30px;
        animation: fadeIn 0.3s ease;
    }
    
    .main-nav.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a,
    .nav-menu .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        color: #fff !important;
        font-size: 18px !important;
        padding: 14px 20px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .nav-menu .pay-btn {
        background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    }
    
    .nav-menu .methods-btn {
        background: linear-gradient(135deg, #ff9800, #f57c00) !important;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 10;
    }
    
    /* HEADER BUTTONS */
    .dark-mode-btn,
    .notification-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-left: 5px;
    }
    
    .notification-badge {
        width: 15px;
        height: 15px;
        font-size: 8px;
        top: -3px;
        right: -3px;
    }
    
    /* NOTIFICATIONS — მობილურზე სრულ სიგანეზე */
    .notifications-dropdown {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: 70vh;
        border-radius: 12px;
    }
    
    .notifications-header {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .notifications-list {
        max-height: 50vh;
    }
    
    .notification-item {
        padding: 12px 15px;
    }
    
    .notification-item .notif-title {
        font-size: 13px;
    }
    
    .notification-item .notif-message {
        font-size: 11px;
    }
    
    .notification-item .notif-time {
        font-size: 10px;
    }
    
    /* MAIN CONTENT */
    .main-content {
        padding: 15px 12px;
        margin-top: 65px;
    }
    
    /* SEARCH */
    .search-section {
        padding: 30px 15px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .search-section h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .search-section p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form > div[style] {
        width: 100% !important;
        border-radius: 10px !important;
    }
    
    .search-form input {
        width: 100%;
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .search-form button {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 10px;
        margin-top: 8px;
    }
    
    /* DEBT CARD */
    .debt-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .debt-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .debt-header h3 {
        font-size: 18px;
    }
    
    .code-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .address {
        font-size: 14px;
    }
    
    .debt-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .debt-item strong {
        font-size: 20px;
    }
    
    /* გადახდა/ანგარიში ღილაკები */
    .debt-card div[style*="display: flex"][style*="justify-content: center"] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .debt-card div[style*="display: flex"] > a[style] {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }
    
    /* NEWS */
    .news-section {
        margin-bottom: 20px;
    }
    
    .news-section h2,
    .services-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-card h3 {
        font-size: 16px;
    }
    
    .news-card p {
        font-size: 13px;
    }
    
    /* RATING — inline-style override */
    section > div[style*="linear-gradient(135deg, #ff9800"] {
        flex-direction: column !important;
        text-align: center !important;
        padding: 25px 15px !important;
        border-radius: 15px !important;
        gap: 15px !important;
    }
    
    section > div[style*="linear-gradient(135deg, #ff9800"] h2 {
        font-size: 20px !important;
    }
    
    section > div[style*="linear-gradient(135deg, #ff9800"] p {
        font-size: 14px !important;
    }
    
    section > div[style*="linear-gradient(135deg, #ff9800"] > a[style] {
        padding: 14px 25px !important;
        font-size: 16px !important;
        width: 100%;
        justify-content: center !important;
    }
    
    /* SERVICES */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 12px;
    }
    
    .service-icon i {
        font-size: 22px;
    }
    
    .service-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .service-card p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .service-price {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .service-btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    /* FOOTER */
    .footer-main {
        padding: 25px 15px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 11px;
        padding-top: 15px;
    }
    
    /* CHAT */
    .chat-modal {
        right: 8px;
        left: 8px;
        width: auto;
        bottom: 75px;
        max-height: 60vh;
    }
    
    .chat-body {
        height: 200px;
    }
    
    .chat-header h4 {
        font-size: 14px;
    }
    
    /* HELP BUTTONS */
    .help-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .help-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .help-btn::before {
        display: none;
    }
    
    /* VALIDATION POPUP */
    .swal2-popup,
    .validation-popup {
        width: 90% !important;
        max-width: 350px !important;
        font-size: 14px !important;
    }
    
    .view-all-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .section-footer {
        margin-top: 20px;
    }
}

/* ========== SMALL MOBILE (480px) ========== */
@media (max-width: 480px) {
    .smart-header {
        padding: 6px 10px;
    }
    
    .logo-area .main-logo {
        height: 35px;
        max-width: 70px;
    }
    
    .dark-mode-btn,
    .notification-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-left: 4px;
        border-width: 1.5px;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .main-content {
        padding: 12px 10px;
        margin-top: 58px;
    }
    
    .search-section {
        padding: 25px 12px;
    }
    
    .search-section h1 {
        font-size: 19px;
    }
    
    .search-section p {
        font-size: 13px;
    }
    
    .search-form input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-form button {
        padding: 12px;
        font-size: 14px;
    }
    
    .debt-card {
        padding: 15px 12px;
    }
    
    .debt-header h3 {
        font-size: 16px;
    }
    
    .debt-item strong {
        font-size: 18px;
    }
    
    /* SERVICES — 1 სვეტი, horizontal layout */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 15px;
        gap: 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin: 0;
    }
    
    .service-icon i {
        font-size: 20px;
    }
    
    .service-card h3 {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .service-card p {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .service-price {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .service-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-card h3 {
        font-size: 15px;
    }
    
    .news-card p {
        font-size: 12px;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .method-btn {
        padding: 12px;
    }
    
    .method-btn i {
        font-size: 22px;
    }
    
    .method-btn span {
        font-size: 11px;
    }
    
    .not-found {
        padding: 30px 15px;
    }
    
    .not-found i {
        font-size: 45px;
    }
    
    .not-found h3 {
        font-size: 18px;
    }
    
    .help-buttons {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .help-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ========== VERY SMALL MOBILE (360px) ========== */
@media (max-width: 360px) {
    .main-content {
        padding: 10px 8px;
        margin-top: 55px;
    }
    
    .search-section h1 {
        font-size: 17px;
    }
    
    .search-section p {
        font-size: 12px;
    }
    
    .debt-header h3 {
        font-size: 15px;
    }
    
    .news-section h2,
    .services-section h2 {
        font-size: 18px;
    }
    
    .notifications-dropdown {
        left: 5px;
        right: 5px;
    }
}

/* ========== LANDSCAPE MOBILE ========== */
@media (max-height: 500px) and (orientation: landscape) {
    .main-content {
        margin-top: 55px;
    }
    
    .search-section {
        padding: 20px 15px;
    }
    
    .main-nav.active {
        padding-top: 15px;
        overflow-y: auto;
    }
    
    .main-nav .nav-menu {
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 8px 15px !important;
        font-size: 14px !important;
    }
    
    .notifications-dropdown {
        max-height: 80vh;
    }
}

/* ========== PRINT ========== */
@media print {
    .smart-header,
    .help-buttons,
    .chat-modal,
    .mobile-menu-btn,
    .dark-mode-btn,
    .notification-btn,
    .notifications-dropdown {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
        padding: 0;
    }
    
    body::after {
        display: none;
    }
}


/* ============================================================
   DARK MODE
   ============================================================ */

body.dark-mode {
    background-color: #1a1a2e !important;
    color: #eee !important;
}

body.dark-mode::after {
    background: rgba(26, 26, 46, 0.95) !important;
}

body.dark-mode .smart-header {
    background-color: #16213e !important;
    border-bottom-color: #00A896 !important;
}

body.dark-mode .title-en {
    color: #fff !important;
}

body.dark-mode .title-ka {
    color: #aaa !important;
}

body.dark-mode .nav-link {
    color: #ddd !important;
}

body.dark-mode .nav-link:hover {
    color: #00A896 !important;
    background: rgba(0, 168, 150, 0.2) !important;
}

body.dark-mode .main-content {
    background-color: transparent !important;
}

body.dark-mode .search-section {
    background: linear-gradient(135deg, #16213e, #1a365d) !important;
}

body.dark-mode .debt-card,
body.dark-mode .news-card,
body.dark-mode .service-card {
    background-color: #16213e !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .debt-card h3,
body.dark-mode .debt-header h3,
body.dark-mode .news-card h3,
body.dark-mode .service-card h3 {
    color: #fff !important;
}

body.dark-mode .news-card p,
body.dark-mode .service-card p {
    color: #aaa !important;
}

body.dark-mode .address {
    color: #999 !important;
}

body.dark-mode .debt-item {
    background: #1a2a4e !important;
}

body.dark-mode .debt-item span {
    color: #aaa !important;
}

body.dark-mode .debt-item strong {
    color: #fff !important;
}

body.dark-mode .debt-item.total {
    background: linear-gradient(135deg, #00A896, #1A365D) !important;
}

body.dark-mode .news-section h2,
body.dark-mode .services-section h2 {
    color: #fff !important;
}

body.dark-mode .news-date {
    color: #00A896 !important;
}

body.dark-mode .news-image {
    background: #1a2a4e !important;
}

body.dark-mode .news-content {
    background: #16213e !important;
}

body.dark-mode .service-price {
    color: #00A896 !important;
}

body.dark-mode .not-found {
    background: #16213e !important;
}

body.dark-mode .not-found h3 {
    color: #fff !important;
}

body.dark-mode .not-found p {
    color: #aaa !important;
}

body.dark-mode .footer-main {
    background-color: #0f0f1a !important;
}

body.dark-mode .chat-modal {
    background: #16213e !important;
}

body.dark-mode .chat-body {
    background: #16213e !important;
}

body.dark-mode .chat-message.bot p {
    background: #1a2a4e !important;
    color: #eee !important;
}

body.dark-mode .chat-footer {
    background: #16213e !important;
    border-top-color: #2a3a5e !important;
}

body.dark-mode .chat-footer input {
    background: #1a2a4e !important;
    border-color: #2a3a5e !important;
    color: #eee !important;
}

body.dark-mode .help-btn::before {
    background: #16213e !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #1a2a4e !important;
    border-color: #2a3a5e !important;
    color: #eee !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #666 !important;
}

body.dark-mode .view-all-btn {
    background: #00A896 !important;
}

body.dark-mode .view-all-btn:hover {
    background: #02C39A !important;
}

body.dark-mode .dark-mode-btn {
    border-color: #00A896 !important;
    color: #00A896 !important;
}

body.dark-mode .dark-mode-btn:hover {
    background: #00A896 !important;
    color: #1a1a2e !important;
}

body.dark-mode .notification-btn {
    border-color: #f5a623 !important;
    color: #f5a623 !important;
}

body.dark-mode .notifications-dropdown {
    background: #16213e !important;
}

body.dark-mode .notifications-header {
    background: linear-gradient(135deg, #1A365D, #00A896) !important;
}

body.dark-mode .notification-item {
    border-bottom-color: #2a3a5e !important;
}

body.dark-mode .notification-item:hover {
    background: #1a2a4e !important;
}

body.dark-mode .notification-item.unread {
    background: #1a2a4e !important;
}

body.dark-mode .notification-item .notif-title {
    color: #fff !important;
}

body.dark-mode .notification-item .notif-message {
    color: #aaa !important;
}

body.dark-mode .notification-item .notif-time {
    color: #777 !important;
}

body.dark-mode .notifications-footer {
    background: #16213e !important;
    border-top-color: #2a3a5e !important;
}

body.dark-mode .no-notifications {
    color: #777 !important;
}

body.dark-mode .no-notifications i {
    color: #444 !important;
}

body.dark-mode ::-webkit-scrollbar {
    width: 8px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #1a1a2e;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #2a3a5e;
    border-radius: 4px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #3a4a6e;
}

/* Dark mode — mobile menu */
body.dark-mode .main-nav {
    background: rgba(15, 15, 26, 0.97) !important;
}

body.dark-mode .mobile-menu-btn {
    color: #ddd;
}

/* ========== DARK MODE - NAV FIX (ADDED) ========== */

body.dark-mode .main-nav {
    background-color: transparent !important;
}

body.dark-mode .nav-menu {
    background-color: transparent !important;
}

body.dark-mode .nav-link {
    color: #ddd !important;
    background-color: transparent !important;
}

body.dark-mode .nav-link:hover {
    color: #00A896 !important;
    background: rgba(0, 168, 150, 0.15) !important;
}

body.dark-mode .pay-btn {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
}

body.dark-mode .methods-btn {
    background: linear-gradient(135deg, #ff9800, #f57c00) !important;
    color: #fff !important;
}

body.dark-mode .header-container {
    background-color: transparent !important;
}