@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(140deg, #eef2f9 0%, #f6f8fd 55%, #e8edf7 100%);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before,
body::after {
    content: '';
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(133, 172, 255, 0.32), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: -180px;
    left: -140px;
}

body::after {
    bottom: -220px;
    right: -180px;
    background: radial-gradient(circle at center, rgba(156, 224, 255, 0.28), transparent 70%);
}
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(245, 247, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 45px -30px rgba(15, 41, 85, 0.45);
    z-index: 10;
    box-sizing: border-box;
}
.navbar div {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.navbar a {
    text-decoration: none;
    color: #0c1016;
    font-weight: 500;
    letter-spacing: -0.3px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.navbar a:hover {
    color: #1f6bff;
    transform: translateY(-1px);
}
.title a {
    text-decoration: none;
    color: #0c1016;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.5px;
}
#inimg {
    width: 30px;
    filter: drop-shadow(0 10px 30px rgba(15, 41, 85, 0.25));
    transition: opacity 0.2s ease;
}

#inimg:hover {
    opacity: 0.75;
}
.table-container {
    margin-top: 100px;
    width: 70%;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 40px 80px -50px rgba(18, 31, 64, 0.45);
    text-align: left;
    --hover-color: rgba(255, 255, 255, 0.65);
}
th, td {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #5c6474;
    background: rgba(255, 255, 255, 0.1);
}

td {
    color: #131722;
    font-size: 0.96rem;
    line-height: 1.45;
}
tr {
    transition: background-color 0.3s ease;
    cursor: pointer;
}

#projectTable tr:nth-child(odd):not(#thead) {
    background-color: rgba(255, 255, 255, 0.01);
}

#projectTable tr:nth-child(even):not(#thead) {
    background-color: rgba(255, 255, 255, 0.8);
}

tr:hover {
    background-color: var(--hover-color);
}
.bouncing-box {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50px;
    left: 50px;
    z-index: 1;
}


@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0 10px;
        overflow-x: hidden; /* Prevents horizontal scrolling */
        overflow-y: auto; /* Allow vertical scrolling */
        /* min-height: 100vh; */
        margin-bottom: 100px; /* Adds extra white space at the bottom */
    }

    .table-container {
        width: 100%;
        margin-top: 80px;
        overflow-y: auto; /* Allow scrolling inside container */
        overflow-x: hidden; /* Allow horizontal scrolling if needed */
        -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on Safari */

    }

    table {
        display: block;
        width: 100%;
        background-color: rgba(0, 0, 0, 0);
    }

    tr {
        display: block;
        margin-bottom: 20px; /* Add spacing between rows */
        border: 1px solid #ddd;
        padding: 8px;
    }

    td {
        display: block;
        text-align: left;
        border: none;
        padding: 8px;
    }

    td:first-child {
        font-weight: bold;
        font-size: 17px;
        padding-top: 4px;
    }

    #projectTable tr:nth-child(odd):not(#thead) {
        background-color: rgba(255, 255, 255, 0.32);
    }

    #projectTable tr:nth-child(even):not(#thead) {
        background-color: rgba(255, 255, 255, 0.45);
    }

    th {
        display: none !important; /* Ensure table headers don’t take up space */
    }

    #thead {
        display: none; /* Hide the entire table head */
    }

    #bottom-cell{
        margin-bottom: 100px;
    }

}

#companynametable{
color: rgb(111, 111, 111);
}
