html {
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
}

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.hero,
.page-header {
    border-top: 0;
}

.quick-contact {
    display: none !important;
}

/* Floating Action Buttons: Left WhatsApp, Right Call */
.floating-whatsapp {
    position: fixed !important;
    left: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    background: #25d366 !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    backdrop-filter: blur(4px);
}

.floating-whatsapp:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6) !important;
}

.floating-call {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    background: #00a8e8 !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    backdrop-filter: blur(4px);
}

.floating-call:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6) !important;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 600px) {
    .floating-whatsapp,
    .floating-call {
        bottom: 16px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
    }

    .floating-whatsapp {
        left: 12px !important;
    }

    .floating-call {
        right: 12px !important;
    }
}

@media (max-width: 380px) {
    .floating-whatsapp,
    .floating-call {
        padding: 10px 12px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }

    .floating-whatsapp {
        left: 8px !important;
    }

    .floating-call {
        right: 8px !important;
    }
}

.quick-contact-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quick-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), #0077b6);
    box-shadow: 0 16px 38px rgba(0, 168, 232, 0.35);
    cursor: pointer;
    animation: supportPulse 1.8s ease-in-out infinite;
}

.quick-contact-button i {
    width: 30px;
    height: 30px;
    margin-right: 0;
}

.quick-contact-button i::before {
    width: 30px;
    height: 30px;
}

.quick-contact-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.20);
    cursor: pointer;
    user-select: none;
}

.quick-contact-action i {
    margin-right: 0;
}

.quick-contact-menu {
    display: grid;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.quick-contact-toggle:checked ~ .quick-contact-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.quick-contact-action {
    min-width: 154px;
    padding: 0 18px;
    color: var(--white);
}

.quick-contact-action.phone {
    background: var(--primary);
}

.quick-contact-action.whatsapp {
    background: #25d366;
}

.quick-contact-action.telegram {
    background: #0088cc;
}

.quick-contact-action:hover,
.quick-contact-action:focus-visible {
    transform: translateY(-2px);
}

@keyframes supportPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.36), 0 16px 38px rgba(0, 168, 232, 0.35);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 12px rgba(0, 168, 232, 0), 0 18px 42px rgba(0, 168, 232, 0.42);
    }
}

@media (max-width: 900px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nav-menu {
        gap: 24px;
    }

    .services-grid,
    .features-grid,
    .stats-grid,
    .contact-info,
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-content,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .desktop-text {
        display: none !important;
    }

    .mobile-text {
        display: inline !important;
    }

    .top-bar {
        display: block !important;
        background: #101426 !important;
        padding: 7px 0 !important;
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .header {
        position: sticky !important;
        top: 0 !important;
        height: 60px !important;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.09) !important;
        z-index: 9999 !important;
    }

    .nav-wrapper {
        height: 60px !important;
    }

    .logo img {
        height: 42px !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px !important;
        left: -100%;
        width: 100%;
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        flex-direction: column;
        gap: 18px;
        padding: 22px 20px;
        background: var(--white);
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        transition: left 0.3s;
    }

    .menu-toggle:checked ~ .nav-menu {
        left: 0;
    }

    .hero,
    .page-header {
        margin-top: 0 !important;
    }

    .hero {
        min-height: calc(100svh - 68px);
        height: auto;
        padding: 48px 0;
    }

    .page-header {
        min-height: 220px;
    }

    .hero-title,
    .page-header h1 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero-description,
    .page-header p {
        font-size: 16px;
    }

    .hero-buttons,
    .cta-buttons,
    .social-links {
        width: 100%;
        max-width: 380px;
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .hero-buttons .btn,
    .social-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding-left: 18px;
        padding-right: 18px;
        text-align: center;
    }

    .services,
    .services-detail,
    .services-cta,
    .about-preview,
    .about-content,
    .why-choose,
    .contact-section,
    .cta {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-title,
    .section-header h2,
    .section-head h2,
    .cta-text h2,
    .cta h2,
    .about-text h2 {
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.18;
    }

    .services-grid,
    .features-grid,
    .stats-grid,
    .contact-info,
    .footer-content,
    .cta-images {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .service-card,
    .feature-card,
    .contact-item,
    .info-item {
        transform: none !important;
    }

    .service-card:hover,
    .feature-card:hover,
    .contact-item:hover,
    .info-item:hover {
        transform: none !important;
    }

    .services-grid > .service-card > img,
    .cta-image-card img,
    .cta-image-card:first-child img {
        height: 190px;
    }

    .contact-item {
        align-items: flex-start;
        padding: 18px 0;
    }

    .contact-item i {
        font-size: 32px;
        width: 36px;
    }

    .footer {
        padding-top: 44px;
    }

    .footer-logo img {
        height: 52px;
    }

    .quick-contact {
        right: 14px;
        bottom: 14px;
        gap: 10px;
    }

    .quick-contact-action {
        min-width: 142px;
        min-height: 50px;
    }

    .quick-contact-button {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-title,
    .page-header h1 {
        font-size: 30px;
    }

    .hero-description,
    .page-header p,
    .cta p {
        font-size: 15px;
    }

    .service-body,
    .feature-card,
    .contact-info-box {
        padding-left: 18px;
        padding-right: 18px;
    }

    .services-grid > .service-card > img {
        height: 180px;
    }
}
