body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}
.header {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
}
.logo a:hover {
    color: #0066cc;
    text-decoration: none;
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;  /* Changed from none to block */
    border: 2px solid #1a73e8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo:hover .logo-img {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.lang-switch a {
    color: #1a73e8;
    text-decoration: none;
    margin: 0 5px;
    padding: 5px;
}
.lang-switch a:hover {
    text-decoration: underline;
}
.lang-switch a.active {
    font-weight: bold;
}
.hero-section {
    background: #0066cc;  /* Solid color fallback */
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,102,204,0.95) 0%, rgba(0,73,153,0.95) 100%);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
    line-height: 1.2;
}
.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: white;
    margin-bottom: 2rem;
    max-width: 600px;
}
.hero-section .btn {
    margin: 0.5rem 1rem 0.5rem 0;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hero-section .btn img {
    margin-right: 8px;
}
.hero-image {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.2);
}
.feature-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.feature-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26,115,232,0.1) 0%, rgba(26,115,232,0.05) 100%);
    padding: 1rem;
}
.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1) contrast(1);
    transition: transform 0.3s ease;
}
.feature-card:hover .icon img {
    transform: scale(1.1);
}
.feature-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #263238;
}
.feature-card p {
    color: #666;
}
.calculator-link {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.calculator-btn {
    background-color: #1a73e8;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.calculator-btn:hover {
    background-color: #1557b0;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.calculator-btn.telegram-btn {
    background-color: #0088cc;
    position: relative;
    border: none;
    font-weight: 600;
    gap: 8px;
}
.calculator-btn.telegram-btn:hover {
    background-color: #0077b5;
}
.calculator-btn.telegram-btn img {
    display: inline-block;
    position: relative;
}
.calculator-section {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.telegram-btn {
    background-color: #0088cc;
    position: relative;
    padding-left: 2.5rem;
    border: 2px solid white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.telegram-btn:hover {
    background-color: #0077b5;
}
.telegram-btn img {
    display: inline-block;
    position: relative;
    margin-right: 4px;
}
.btn {
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}
.btn-light {
    background-color: white;
    color: #0066cc;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn-light:hover {
    background-color: #f8f9fa;
    color: #004999;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-primary {
    background-color: #0088cc;
    border-color: white;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-primary:hover {
    background-color: #0077b5;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}
.footer {
    background-color: #263238;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}
.footer h5 {
    color: #90a4ae;
    font-weight: 600;
    margin-bottom: 1rem;
}
.footer a {
    color: #eceff1;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: white;
    text-decoration: underline;
}
.footer ul {
    list-style: none;
    padding-left: 0;
}
.footer ul li {
    margin-bottom: 0.5rem;
}
.copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0bec5;
    font-size: 0.9rem;
}
.hidden {
    display: none;
}
.lead-highlight {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
    font-weight: 700;
    font-size: 1.25rem;
    background: rgba(0, 102, 204, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.rental-note {
    display: inline-block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 1rem;
    font-style: italic;
}
.hero-image::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    animation: glow 6s ease-in-out infinite alternate;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes glow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }
    .hero-section .btn {
        margin: 0.5rem;
        width: 100%;
        max-width: 300px;
    }
    .feature-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    .calculator-section {
        flex-direction: column;
        gap: 10px;
    }
    .calculator-btn {
        width: 100%;
        margin: 5px 0;
    }
    .header {
        padding: 1rem 0;
    }
    .logo {
        text-align: center;
        margin-bottom: 0.5rem;
        justify-content: center;
        gap: 10px;
    }
    .logo-img {
        display: block;  /* Show logo image on mobile */
        width: 32px;  /* Slightly smaller on mobile */
        height: 32px;
    }
    .lang-switch {
        text-align: center;
        margin-top: 0.5rem;
    }
    .col-md-6, .col-md-4 {
        padding: 0 15px;
    }
    .mt-3 {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .mt-3 .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0 !important;
    }
    .hero-image {
        margin-top: 2rem;
        width: 220px;
        height: 220px;
    }
    .footer {
        padding: 1.5rem 0;
    }
    .footer .col-md-4 {
        margin-bottom: 1.5rem;
    }
    .calculator-link {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }
    .feature-card .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    .hero-image {
        width: 280px;
        height: 280px;
        border-width: 4px;
    }
}

/* Adjust section spacing */
section.container {
    margin-bottom: 2rem;
}

.row.text-center.mb-5 {
    margin-bottom: 2rem !important;
}

.row.mt-5 {
    margin-top: 2rem !important;
}

/* Adjust feature card icon spacing */
.feature-card .icon {
    margin-bottom: 1rem;
}

/* Original hero styles for backwards compatibility */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 1rem;
} 