/* Мінімальні стилі для сайту */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Added animated background image of Ukraine */
    background: 
        linear-gradient(rgba(0, 87, 183, 0.7), rgba(0, 61, 130, 0.7), rgba(255, 215, 0, 0.7)),
        url('../images/fon.jpg') repeat,
        linear-gradient(135deg, #0057b7 0%, #003d82 50%, #ffd700 100%);
    color: white;
    line-height: 1.6;
    padding-top: 90px;
    background-attachment: fixed;
    background-size: 400px, auto;
    /* Add animation to background */
    animation: backgroundShift 30s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 100% 100%, 50% 50%, 0 0; }
}

/* Add pulsing animation for city highlights */
@keyframes cityPulse {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(1); }
}

@keyframes cityGlow {
    0% { filter: drop-shadow(0 0 2px #ffd700); }
    50% { filter: drop-shadow(0 0 8px #ffd700); }
    100% { filter: drop-shadow(0 0 2px #ffd700); }
}

/* Ukrainian Patriotic Strip - Thin Information Band */
.patriotic-strip {
    background: linear-gradient(to right, rgba(0, 71, 171, 0.3) 0%, rgba(0, 71, 171, 0.3) 50%, rgba(255, 215, 0, 0.3) 50%, rgba(255, 215, 0, 0.3) 100%);
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    letter-spacing: 0.3px;
    text-shadow: 0 0.5px 1px rgba(0,0,0,0.2);
    z-index: 1001;
    opacity: 0.8;
}

/* Навігація - COMPLETELY REDESIGNED */
header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%); /* Ukrainian flag style - blue top half, yellow bottom half */
    padding: 5px 3%; /* Increased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    height: 80px; /* Increased height for better touch targets */
    transition: all 0.3s ease;
}

header.scrolled {
    height: 70px;
    padding: 5px 3%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-container {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(0, 87, 183, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.logo-link:hover {
    background: rgba(0, 87, 183, 0.6);
    border-color: #ffd700;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.logo-container img {
    height: 65px; /* Halved size */
    position: relative;
    top: 3px;
    left: -10px;
    transform: none;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

header.scrolled .logo-container img {
    height: 55px;
}

.logo-text {
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    opacity: 0.8;
}

.logo-link:hover .logo-text {
    color: rgba(255, 215, 0, 0.9);
    transform: translateX(2px);
}

/* Mobile menu toggle - REDESIGNED */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    /* Android improvements */
    touch-action: manipulation;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(0, 87, 183, 0.8);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 87, 183, 1);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 30px;
    height: 4px;
    background: white;
    margin: 4px 0;
    transition: 0.3s;
    transform-origin: center;
    border-radius: 2px;
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Navigation menu - REDESIGNED */
nav {
    z-index: 1001;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px; /* Increased gap */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 14px 25px;
    border-radius: 10px;
    /* Android improvements */
    touch-action: manipulation;
    min-height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 87, 183, 0.7); /* More distinct blue background */
    border: 2px solid rgba(255, 215, 0, 0.8); /* Yellow border for better contrast */
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* Add shadow for depth */
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(255,215,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav ul li a:hover {
    background: rgba(0, 87, 183, 0.9); /* Darker blue on hover */
    border-color: #ffd700; /* Solid yellow border on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

nav ul li a:hover::before {
    opacity: 1;
}

nav ul li a.active {
    background: rgba(255, 215, 0, 1); /* Solid yellow for active state */
    color: #0057b7;
    font-weight: bold;
    border: 2px solid #0057b7; /* Blue border for active state */
    box-shadow: 0 5px 15px rgba(255,215,0,0.6);
}

.header-cta {
    background: #ffd700;
    color: #0057b7 !important;
    border-radius: 30px;
    padding: 14px 30px !important;
    font-weight: bold;
    /* Android improvements */
    touch-action: manipulation;
    min-height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.header-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255,215,0,0.6);
}

/* Основний контент */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 25px;
    opacity: 0.95;
    line-height: 1.7;
}

/* Секції */
section {
    margin-bottom: 60px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #0057b7;
    border-radius: 3px;
}

/* Statistics Section - IMPROVED */
.statistics-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    margin: 50px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffd700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Картки */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #ffd700;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.7rem;
    position: relative;
    padding-bottom: 15px;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0057b7;
    border-radius: 2px;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.03);
}

.card p {
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.card .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffd700;
    margin-top: 10px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 35px;
    background: #ffd700;
    color: #0057b7;
    text-decoration: none;
    border-radius: 35px;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    margin: 5px;
    /* Android improvements */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 55px;
    min-width: 55px;
    line-height: 1.4;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,87,183,0.2), rgba(0,87,183,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255,215,0,0.6);
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* Футер */
footer {
    background: rgba(0,0,0,0.9);
    padding: 50px 5% 30px;
    text-align: center;
    margin-top: 60px;
    border-top: 5px solid #0057b7;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    text-align: left;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0057b7;
    border-radius: 2px;
}

.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    /* Android improvements */
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    color: #ffd700;
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255, 0.6);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Modal Gallery Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-caption {
    color: #fff;
    padding: 25px;
    font-size: 1.3rem;
    margin: 0 auto;
    max-width: 900px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    /* Android improvements */
    touch-action: manipulation;
    min-height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.close:hover,
.close:focus {
    color: #bbb;
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 20px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    /* Android improvements */
    touch-action: manipulation;
    min-height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.next {
    right: 30px;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 30px;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 215, 0, 0.8);
    color: #0057b7;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Mobile styles for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .modal-content img {
        max-height: 70vh;
    }
    
    .modal-caption {
        padding: 20px;
        font-size: 1.1rem;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }
    
    .prev, .next {
        font-size: 30px;
        padding: 16px;
        margin-top: -30px;
    }
}

@media (max-width: 480px) {
    .modal-content img {
        max-height: 60vh;
    }
    
    .modal-caption {
        padding: 15px;
        font-size: 1rem;
    }
    
    .prev, .next {
        font-size: 25px;
        padding: 12px;
        margin-top: -25px;
    }
}

/* Адаптивність - MOBILE NAVIGATION REDESIGN */
@media (max-width: 1200px) {
    main {
        max-width: 1100px;
        padding: 25px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .page-hero h1 {
        font-size: 2.7rem;
    }
    
    .page-hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    main {
        max-width: 900px;
        padding: 20px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .stats-grid {
        padding: 0 20px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .header-cta {
        padding: 12px 25px !important;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 100px;
        right: 25px;
        background: linear-gradient(to bottom, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
        padding: 20px;
        z-index: 999;
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease-out;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        width: auto;
        min-width: 280px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    nav.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        width: 100%;
        padding: 18px 25px;
        justify-content: flex-start;
        text-align: left;
        font-size: 1.2rem;
        min-height: 55px;
        background: rgba(0, 87, 183, 0.7); /* More distinct blue background */
        border: 2px solid rgba(255, 215, 0, 0.8); /* Yellow border for better contrast */
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* Add shadow for depth */
    }
    
    nav ul li a:hover {
        background: rgba(0, 87, 183, 0.9); /* Darker blue on hover */
        border-color: #ffd700; /* Solid yellow border on hover */
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    }
    
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 3%;
        height: 70px;
    }
    
    header.scrolled {
        height: 60px;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .logo-container img {
        height: 110px;
        top: 5px;
        left: -15px;
    }
    
    header.scrolled .logo-container img {
        height: 90px;
    }
    
    .logo-text {
        margin-left: 6px;
        font-size: 0.8rem;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    /* Statistics Section - Mobile */
    .statistics-section {
        padding: 50px 0;
        margin: 40px 0;
        border-radius: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    /* Cards - Mobile */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 30px 0;
    }
    
    .card {
        padding: 25px;
        border-radius: 15px;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
    
    .card img {
        height: 180px;
        border-radius: 12px;
    }
    
    /* Android specific improvements */
    .btn {
        padding: 14px 30px;
        font-size: 1.1rem;
        min-height: 52px;
        min-width: 52px;
        border-radius: 30px;
    }
    
    .button-group {
        gap: 15px;
        margin-top: 25px;
    }
    
    footer {
        padding: 40px 5% 25px;
        margin-top: 50px;
    }
    
    .footer-content {
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        padding: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.4rem;
    }
    
    .footer-section a {
        font-size: 1rem;
        min-height: 44px;
        padding: 6px 12px;
    }
    
    .copyright {
        margin-top: 25px;
        padding-top: 25px;
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
    
    header {
        padding: 3px 3%;
        align-items: center;
        height: 60px;
    }
    
    header.scrolled {
        height: 50px;
    }
    
    nav ul {
        gap: 12px;
        font-size: 1rem;
    }
    
    nav ul li a {
        padding: 15px 20px;
        font-size: 1.1rem;
        min-height: 50px;
        border-radius: 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-container img {
        height: 45px;
        top: 2px;
        left: -5px;
    }
    
    header.scrolled .logo-container img {
        height: 38px;
    }
    
    .logo-text {
        font-size: 0.7rem;
        margin-left: 5px;
    }
    
    nav {
        right: 15px;
        min-width: 250px;
        padding: 15px;
        border-radius: 15px;
        top: 65px;
    }
    
    header.scrolled + nav {
        top: 75px;
    }
    
    /* Statistics Section - Small Screens */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Hero Section - Small Screens */
    .page-hero {
        padding: 30px 15px;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    /* Sections - Small Screens */
    section {
        margin-bottom: 40px;
        padding: 15px;
        border-radius: 15px;
    }
    
    section h2 {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    /* Cards - Small Screens */
    .card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .card img {
        height: 160px;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    
    .card p {
        font-size: 1rem;
    }
    
    .card .price {
        font-size: 1.2rem;
    }
    
    /* Android improvements for small screens */
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-height: 48px;
        min-width: 48px;
        max-width: 200px; /* As per requirements */
        border-radius: 25px;
    }
    
    .button-group {
        gap: 12px;
        margin-top: 20px;
    }
    
    /* Footer - Small Screens */
    footer {
        padding: 30px 5% 20px;
        margin-top: 40px;
    }
    
    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .footer-section {
        padding: 15px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .footer-section a {
        font-size: 0.95rem;
        min-height: 40px;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    
    .copyright {
        margin-top: 20px;
        padding-top: 20px;
        font-size: 0.7rem;
        line-height: 1.4;
    }
}

/* Desktop and tablet styles (769px and above) */
@media (min-width: 769px) {
    .menu-toggle {
        display: none; /* Hide hamburger on desktop */
    }
    
    nav {
        display: block; /* Show full navigation on desktop */
    }
    
    .logo-container img {
        height: 65px;
    }
    
    header {
        height: 80px;
    }
    
    nav ul li a {
        font-size: 1.1rem;
    }
    
    /* Add scroll effect for header */
    header {
        position: fixed;
        top: 20px;
        width: 100%;
        z-index: 1000;
        transition: all 0.4s ease;
    }
    
    header.scrolled {
        height: 70px;
        background: linear-gradient(to bottom, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
        box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    }
    
    header.scrolled .logo-container img {
        height: 55px;
        transition: height 0.4s ease;
    }
}