body{
    margin: 0;
    background:
        url("/images/bg.jpeg") left center / auto 100% no-repeat,
        url("/images/bg.jpeg") right center / auto 100% no-repeat,
        #233953; 

    background-attachment: fixed;
}


.container{
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 650px;
    margin: 0 auto;
}

.hero{
    background: #112D4E;
    width: 100%;
}
.logo{
    display: block;
    margin: 10px auto;
    width: 200px;
    height: 100px;
}

.nav-bar{
    display: flex;
    justify-content: center;
    background-color: #020617;
    color: white;
    width: 100%;
    position: sticky;
    padding: 5px 0;
    align-items: center;
    text-align: center;
    top: 0;
}

.nav-links{
    display: flex;
    list-style: none;  
}

.nav-links a{
    text-decoration: none;
    color: white;
    transition: 0.3s;
    font-weight: bold;
    height: 40px;
    width: 40px;
}

.nav-links a:hover{
    color: #020617;
    background-color: #F9F7F7;

}

.nav{
    padding: 20px;
    margin: 0;
}

.content{
    background-color: #DBE2EF;
    height:auto;
    min-height: 500px;
    width:100%;
}

.slider{
    margin-top: 10px;
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 300px;
}

.slides{
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide{
    width : 100%;
    object-fit: contain; 
    height: 300px;
    flex-shrink: 0;
    background-color: black;
}

.slide-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
    border-radius: 50%;
}

.slider:hover .slide-btn{
    opacity: 1;
}

.next{
    right: 10px;
}

.prev{
    left: 10px;
}

.footer{
    background-color: #020617;
    color: white;
    width: 100%;
    text-align: center;
    padding: 0 0;
    height: auto;
    margin: 0 0;
}

a{
    text-decoration: none;
    color: #dce2ee;
}

p{
    line-height: 1.5;
}

.profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #DBE2EF;
    border: 2px solid #112D4E;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-image {
    flex: 1;
    text-align: center;
}

.profile-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #020617;
}

.profile-details {
    flex: 2;
    text-align: left;
    padding-left: 20px;
}

.profile-details p {
    margin: 8px 0;
    font-size: 16px;
    color: #020617;
}

.profile-details strong {
    color: #112D4E;
}

.inline-link{
    color: #020617;
}

form {
    padding: 25px 30px;
    border-radius: 12px;
    width: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

form label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

form input,
form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.2s ease;
}

form input:focus,
form textarea:focus {
    border-color: #4a6cf7;
    outline: none;
    box-shadow: 0 0 5px rgba(74,108,247,0.3);
}

form button {
    margin-top: 10px;
    padding: 12px;
    border: none;
    border-radius: 8px;

    background: #4a6cf7;
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #2f4de0;
    transform: translateY(-2px);
}

form {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form h2 {
    text-align: center;
    margin-bottom: 10px;
}

.project-card {
    display: flex;
    gap: 20px;
    margin: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
}

.project-card img {
    width: 33%;
    height: 180px;
    object-fit: cover;
}

.project-content {
    width: 67%;
}

.text{ 
    margin: 0 20px;
}

.description{
    background-color: #DBE2EF;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
