html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Remove blue glow on focus */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: none;
    outline: none;
}

body {
    background-color: #f2f4f8;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

.speed-test-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
}

.speed-label {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.speed-value {
    font-size: 3.5rem;
    color: #003f88;
    margin-bottom: 1rem;
}

#shareButtons {
    display: none;
    margin-top: 2rem;
}

    #shareButtons button {
        margin: 0.5rem;
        min-width: 120px;
    }
.contact-container {
    max-width: 600px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.gradient-btn {
    background: linear-gradient(to right, #b7f87e, #54e28d);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    background-color: transparent;
    border-color: #ccc;
    box-shadow: none;
}

.about-container {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

    .about-container img.img-fluid {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

.leadership-team {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-evenly;
}

    .leadership-team .member {
        flex: 1 1 220px;
        text-align: center;
    }

        .leadership-team .member img {
            width: 150px;
            height: 150px;
            object-fit: cover;
        }
.navbar-brand img {
    border-radius: 6px;
}

.progress {
    height: 25px;
    background-color: #e0f0ff;
    border-radius: 20px;
    overflow: hidden;
}

#progressBar {
    height: 30px !important;
    background-color: #003366 !important; /* dark blue */
    font-weight: bold;
    font-size: 1.1rem;
    transition: width 0.3s ease-in-out;
}

#download, #upload, #ping {
    font-size: 2rem;
    font-weight: bold;
}
.progress-bar {
    color: white;
    font-weight: bold;
    text-align: center;
}

#historyGrid .tabulator-row {
    border-bottom: 1px solid #ddd;
}

#historyGrid .tabulator-row:nth-child(even) {
    background-color: #f9f9f9;
}
.tabulator-row:nth-child(even) {
    background-color: #f9f9f9;
}
.tabulator .tabulator-row {
    border-bottom: 1px solid #ccc;
}
.tabulator .tabulator-header {
    background-color: #f0f0f0;
    font-weight: bold;
}
canvas {
    width: 100% !important;
    height: auto !important;
}
