﻿/* Body & font */
body {
    font-family: 'Poppins', Arial;
    background-color: #e6f0fa;
    color: #212121;
    margin: 0;
}

/* Navbar mặc định - xanh đậm */
.navbar {
    background-color: #0d47a1; /* xanh dương đậm */
    box-shadow: 0 2px 6px rgb(13 71 161 / 0.3);
    padding: 0.8rem 1rem;
    transition: background-color 0.3s ease, padding 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

    /* Navbar scroll nhỏ lại */
    .navbar.scrolled {
        padding: 0.4rem 1rem;
        background-color: #08306b; /* xanh đậm hơn khi scroll */
        box-shadow: 0 3px 10px rgb(8 48 107 / 0.6);
    }

/* Navbar logo */
.navbar-brand img {
    height: 40px;
    transition: height 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 30px;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #90caf9; /* xanh nhạt */
    }

/* Footer */
footer {
    background-color: #0d47a1;
    color: #e3f2fd; /* xanh nhạt trắng */
    padding: 2rem 0;
    font-size: 0.9rem;
    text-align: center;
}

    footer a {
        color: #bbdefb;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #e3f2fd;
        }

/* Social icons */
.social-icons a {
    color: #bbdefb;
    margin-left: 12px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

    .social-icons a:hover {
        color: #fff;
    }

/* Buttons */
.btn-primary {
    background-color: #0d47a1;
    border-color: #0d47a1;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: #08306b;
        border-color: #08306b;
    }

/* Section Titles */
.section-title {
    color: #0d47a1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.5rem;
    }
}

/* Hotline phone ring */
.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1100;
    width: 224px;
}

.hotline-phone-ring,
.hotline-phone-ring-circle,
.hotline-phone-ring-circle-fill,
.hotline-phone-ring-img-circle {
    /* giữ nguyên hoặc style theo tông xanh nếu muốn */
}

/* Smooth scroll anchor offset for fixed navbar */
html {
    scroll-padding-top: 70px;
}
.navbar-brand img {
    height: 40px;
    border-radius: 10px; /* hoặc 50% nếu muốn tròn */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* thêm bóng nếu muốn hiện đại hơn */
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05); /* nhỏ hiệu ứng phóng nhẹ khi hover */
}
footer {
    font-size: 14px; /* nhỏ hơn mặc định */
}

    footer .social-icons i {
        font-size: 18px;
        margin-right: 10px;
    }

    footer .social-icons a {
        color: #fff;
        transition: color 0.2s;
    }

        footer .social-icons a:hover {
            color: #0dcaf0; /* màu xanh khi hover */
        }
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: none;
    z-index: 9999;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

    .back-to-top:hover {
        background: #0056b3;
        color: #fff;
    }

    .back-to-top i {
        font-size: 18px;
    }