body {
    background: #f8f9fa;
}

/* TOPBAR */
.topbar {
    background: #000;
    color: #fff;
    padding: 6px 0;
    font-size: 14px;
}

/* NAVBAR */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Modern Navbar */
.modern-nav .nav-link {
    font-weight: 600;
    padding: 10px 18px !important;
    transition: 0.2s;
}

.modern-nav .nav-link:hover {
    color: #ff8800 !important;
    transform: translateY(-2px);
}

.brand-text {
    font-weight: 600;
    font-size: 18px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 48px;
    }
}

/* =====================
   DROPDOWN (DESKTOP)
===================== */
/* Desktop hover */
@media (min-width: 992px) {
    .hover-dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Dropdown styling */
.program-dropdown {
    border-radius: 10px;
    border: none;
    padding: 8px 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.program-dropdown .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
}

.program-dropdown .dropdown-item:hover {
    background: #ff8800;
    color: #fff;
}

/* Remove arrow */
.navbar .dropdown-toggle::after {
    display: none;
}
/* Mobile */
@media(max-width:768px) {
    .test-card {
        width: 260px;
    }
}

/* FOOTER */
footer {
    font-size: 0.95rem;
    line-height: 1.6;
}

footer a:hover {
    color: #ffc107 !important;
}

@media (max-width: 576px) {
    footer .fs-4 {
        font-size: 1.3rem !important;
    }
}

.custom-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #4b49ac;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #aaa;
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: none;
}

button {
    background: #4b49ac;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
}

button:hover {
    background: #3c3a8e;
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 70px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-icon {
    color: white;
}
/* Back-to-top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f7f6f6;
    color: #a73d3d;
    border: none;
    padding: 12px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    z-index: 900;
}
/* Floating Get Estimate Button */
.floating-estimate-btn {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #1b1f3b;
    color: #fff;
    padding: 12px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: width 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    width: 50px;
}

.floating-estimate-btn i {
    font-size: 20px;
}

.floating-estimate-btn .estimate-text {
    margin-left: 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

/* Expand on hover */
.floating-estimate-btn:hover {
    width: 160px;
    padding: 12px 20px;
}

.floating-estimate-btn:hover .estimate-text {
    opacity: 1;
}