* {
    font-family: "Share Tech", sans-serif; 
    padding: 0;   
    margin: 0;    
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: rgb(0, 0, 0);
    position: sticky;
    z-index: 100; 
    padding: 10px 0; 
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu li a {
    position: relative;
    z-index: 1;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin: 0 20px;
    padding: 5px 15px; 
    display: block;
    transition: 0.5s; 
}


.menu li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: scaleY(2); 
    opacity: 0;
    transition: 0.3s;
}


.menu li a:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: scale(0); 
    opacity: 0;
    transition: 0.3s;
    z-index: -1;
}


.menu li a:hover {
    color: #000; 
    transform: scale(1.1); 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); 
}

.menu li a:hover:before {
    transform: scaleY(1); 
}

.menu li a:hover:after {
    transform: scale(1); 
    opacity: 1;
}

.team {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    background-size: cover;
    background-position: center ;
    background-image: url(img/carbon9.jpg);
    height: 600px; 
    padding: 300px;
}

.team h1 {  
    transition: 1s; 
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    align-items: center;
    font-size: 100px;
}

.team h1:hover {
    transform: scale(1.5); 
    color: #ffffff; 
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3);
}

body {
    background-color: #a8a8a8 !important;
    margin: 0;
    padding: 0;
}

.cards {
    background-color: #a8a8a8; 
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.employees {
    display: flex;
    align-items: center;
    background-color: #1a1a1a !important; 
    border: 2px solid #333;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.employees:hover {
    transform: scale(1.02);
    border-color: #ffffff;
    background-color: #252525 !important;
}

.employee-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 35px;
    flex-shrink: 0; 
    display: block;
}

.employee-info {
    flex: 1;
}

.employee-info h1 {
    font-family: "Share Tech", sans-serif;
    font-size: 32px;
    color: #ffffff !important; 
    margin: 0;
}

.employee-info h2 {
    font-family: "Share Tech", sans-serif;
    font-size: 16px;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 5px 0 15px 0;
}

.employee-info p {
    font-size: 16px;
    color: #ffffff !important; 
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .employees {
        flex-direction: column;
        text-align: center;
    }
    .employee-image img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}