body {
    background-color: black;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 16px; 
}

.our-team-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5.3125rem; 
    background-color: rgba(21, 21, 21, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.our-team-nav ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    margin-top: 0.625rem; 
    margin-left: 1.25rem; 
}

.our-team-nav li {
    padding: 0.9375rem 1.25rem; 
}

.our-team-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.our-team-nav a:hover {
    color: #E2353E;
} 

.team-heading {
    position: relative;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 10rem;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team-section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative; 
}

.team-section.grey {
    background-color: #181818;
}

.team-section.black {
    background-color: #000000;
}

.team-section.background {
    background-image: url('../assets/bk2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-image {
    max-width: 100%;
    max-height:auto;
    object-fit: cover;
    position: absolute;
}

.team-image.left {
    right: 10%;
}

.team-image.right {
    left: 10%;
}

.team-info {
    position: absolute;
    max-width: 50%;
    padding: 2rem;
}

.team-info.left {
    left: 10%;
    text-align: left;
}

.team-info.right {
    right: 10%;
    text-align: left;
}

.team-name {
    font-family: 'Montserrat', sans-serif;
    color: #E2353E;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-designation {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.team-description {
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
}

.expertise-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.expertise-list {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.4;
    padding-left: 1.5rem;
}

.expertise-list li {
    margin-bottom: 0.5rem;
}

.team-info.right .expertise-list {
    padding-left: 0;
    padding-right: 1.5rem;
    list-style-position: inside;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    position: relative;
    width: 100%;
}

.footer p {
    margin: 0;
}
/* Media Queries */
/* Mobile */
@media screen and (max-width: 660px)
{
    .our-team-nav {
        height: 3.75rem; 
    }

    .our-team-nav ul {
        margin-top: 0.3125rem; 
        margin-left: 0.625rem; 
    }

    .our-team-nav li {
        padding: 0.5rem 0.625rem; 
    }

    .our-team-nav a {
        font-size: 0.65rem;
    }

    .team-heading {
        font-size: 3rem;
    }

    .team-section {
        height: auto;
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .team-image {
        position: static;
        max-width: 50%;
        height: auto;
        margin-bottom: 1rem;
    }

    .team-image.left,
    .team-image.right {
        left: auto;
        right: auto;
    }

    .team-info {
        position: static;
        max-width: 100%;
        padding: 1rem 0;
    }

    .team-info.left,
    .team-info.right {
        left: auto;
        right: auto;
        text-align: left;
    }

    .team-name {
        font-size: 2rem;
    }

    .team-designation {
        font-size: 1rem;
    }

    .team-description {
        font-size: 1rem;
    }

    .expertise-heading {
        font-size: 1.2rem;
    }

    .expertise-list {
        font-size: 1rem;
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
}

/* Tablets */
@media screen and (min-width: 661px) and (max-width: 800px)
{
    .our-team-nav {
        height: 3.75rem; 
    }

    .our-team-nav ul {
        margin-top: 0.3125rem; 
        margin-left: 0.625rem; 
    }

    .our-team-nav li {
        padding: 0.625rem 0.9375rem; 
    }

    .our-team-nav a {
        font-size: 0.9rem; 
    }

    .team-heading {
        font-size: 5rem;
    }

    .team-section {
        height: auto;
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .team-image {
        position: static;
        max-width: 50%;
        height: auto;
        margin-bottom: 1rem;
    }

    .team-image.left,
    .team-image.right {
        left: auto;
        right: auto;
    }

    .team-info {
        position: static;
        max-width: 100%;
        padding: 1rem 0;
    }

    .team-info.left,
    .team-info.right {
        left: auto;
        right: auto;
        text-align: left;
    }

    .team-name {
        font-size: 2rem;
    }

    .team-designation {
        font-size: 1rem;
    }

    .team-description {
        font-size: 1rem;
    }

    .expertise-heading {
        font-size: 1.2rem;
    }

    .expertise-list {
        font-size: 1rem;
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
}

/* Laptops S */
@media screen and (min-width: 801px) and (max-width: 1100px)
{
    .our-team-nav {
        height: 3.75rem; 
    }

    .our-team-nav ul {
        margin-top: 0.3125rem; 
        margin-left: 0.625rem; 
    }

    .our-team-nav li {
        padding: 0.625rem 0.9375rem; 
    }

    .our-team-nav a {
        font-size: 0.9rem; 
    }

    .team-heading {
        font-size: 3rem;
    }

    .team-section {
        height: auto;
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .team-image {
        position: static;
        max-width: 50%;
        height: auto;
        margin-bottom: 1rem;
    }

    .team-image.left,
    .team-image.right {
        left: auto;
        right: auto;
    }

    .team-info {
        position: static;
        max-width: 100%;
        padding: 1rem 0;
    }

    .team-info.left,
    .team-info.right {
        left: auto;
        right: auto;
        text-align: left;
    }

    .team-name {
        font-size: 2rem;
    }

    .team-designation {
        font-size: 1rem;
    }

    .team-description {
        font-size: 1rem;
    }

    .expertise-heading {
        font-size: 1.2rem;
    }

    .expertise-list {
        font-size: 1rem;
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
    .footer{
        padding: 0.8rem 0;
        font-size: 0.7rem;
      }
}

/* Laptops L*/
@media screen and (min-width: 1101px) and (max-width: 1600px)
{
    .footer{
        padding: 1rem 0;
        font-size: 0.9rem;
      }
}

/* 4k/Desktops */
@media screen and (min-width: 1601px) 
{
    .our-team-nav {
        height: 6rem; 
    }
    .our-team-nav ul {
        margin-top: 1rem; 
        margin-left: 3rem; 
    }
    .our-team-nav li {
        padding: 0.625rem 0.9375rem; 
    }
    .our-team-nav a {
        font-size: 2rem; 
    }

    .team-heading {
        font-size: 14rem;
    }
    .team-name{
        font-size: 2rem;
    }
    .team-designation{
        font-size: 1.5rem;
    }
    .team-description{
        font-size: 1.5rem;
    }
    .expertise-heading{
        font-size: 1.5rem;
    }
    .expertise-list{
        font-size: 1.5rem;
    }
    .footer{
        padding: 0.7rem 0;
        font-size: 0.6rem;
      }
    .footer{
        padding: 1rem 0;
        font-size: 1rem;
      }
}
