﻿html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    min-height: 100%;
    background-color: #d9edf7;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Footer */
.footer-area {
    background: linear-gradient(135deg, #16263c, #1e2a38);
    color: #fff;
    padding-top: 20px;
}

.footer-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
    font-size: 1.08rem;
}

.footer-mini-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
}

    .footer-feature-item i {
        color: #4ade80;
        font-size: 1.1rem;
    }

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.08rem;
    color: #fff;
}

    .footer-contact-item i {
        color: #f472b6;
        font-size: 1.1rem;
    }

.footer-area a {
    color: #fff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 14px;
}

    .social-icons a {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        transition: 0.3s ease;
        border: 1px solid rgba(255,255,255,0.08);
    }

        .social-icons a:hover {
            transform: translateY(-4px) scale(1.05);
            background: rgba(255,255,255,0.15);
            color: #4ade80;
        }

.footer-contact-form .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
}

    .footer-contact-form .form-control::placeholder {
        color: rgba(255,255,255,0.7);
    }

    .footer-contact-form .form-control:focus {
        background: rgba(255,255,255,0.12);
        color: #fff;
        border-color: #4ade80;
        box-shadow: none;
    }

.footer-send-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff !important;
    border: none;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 700;
    transition: 0.3s ease;
}

    .footer-send-btn:hover {
        background: linear-gradient(135deg, #16a34a, #15803d);
        color: #fff !important;
        transform: translateY(-2px);
    }

.footer-divider {
    border-color: rgba(255,255,255,0.12);
    margin-top: 35px;
    margin-bottom: 28px;
}

.footer-copy {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
}
/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
}

.whatsapp-float {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        background: #1ebe5d;
    }

.whatsapp-popup {
    width: 320px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    margin-bottom: 14px;
    display: none;
    animation: whatsappFadeIn 0.25s ease;
}

    .whatsapp-popup.active {
        display: block;
    }

.whatsapp-header {
    background: #25D366;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
}

    .whatsapp-header .small {
        opacity: 0.95;
        font-size: 13px;
        margin-top: 2px;
    }

.whatsapp-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 2px;
}

.whatsapp-body {
    padding: 16px;
    background: #f8fbff;
}

    .whatsapp-body p {
        color: #1f2937;
        margin-bottom: 8px;
    }

    .whatsapp-body textarea {
        resize: none;
        border-radius: 12px;
    }

.whatsapp-footer {
    padding: 14px 16px 16px;
    background: #fff;
}

    .whatsapp-footer .btn {
        border-radius: 12px;
        font-weight: 600;
        color: aliceblue;
    }

@keyframes whatsappFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

html, body {
    height: 100%;
}

.layout-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.layout-main {
    flex: 1;
}