/* Navbar starts */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #333;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar .logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.nav-links a:hover {
    color: #ddd;
}

/* Navabar ends */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: right;
        padding-right: 30px;
        gap: 10px;
    }

    .navbar .logo {
        font-size: 20px;
    }
}


footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    footer {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        padding: 10px;
        width: 100%;
        gap: 10px;
    }

    .nav-links.show {
        display: flex;
    }
    .navbar .logo a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 20px;
    }

    footer {
        padding: 15px 0;
    }
}





/* Card styling */
a {
    text-decoration: none;
}

.content {
    width: 100%;
    display: flex;   
    flex-direction: row;
    height: 100%;
    overflow-x: hidden;     /* For hidden rest part of page*/
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
  }


.card-body {
    display: flex;
    padding: 20px;
    background-color: #a0eab2;
    /* make the text appear right to the image */
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 350px;
    margin: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #090a0a;
  }
  
.card-body:hover{
    transform: scale(1.15);
    transition: 0.3s ease-in-out, transform 0.3s ease-in-out;
}
  
.card-img img{
    border: 2px solid #131314;
}

.card-header img {
    /* width: 100%; */
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background-color: #555;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
  
.img {
    border-radius: 50%;
}
  
.card-img {
    position: relative;
    flex: 1;
}
  
.card-text {
    flex: 2;
    margin-left: 10px;
}
  
.card-icon {
    text-align: center;
}
  
.card-text h2 {
    position: relative;
    margin: 0;
    font-size: 1.5rem;
    color: #0f0f0f;
    overflow: hidden;
}
  
.card-text p {
    position: relative;
    top: 5px;
    margin-top: 10px;
    font-size: 1rem;
    color: #0b0a0a;
    /* font-size: ; */
}
  

.left {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 5px;
}
  


/* Footer styling */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #333;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}
