@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 99.9%;
    padding: 10px 20px 10px 20px;
}

.navbar0 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #c2c2c2;
    font-weight: 600;
}

.nav-menu a:hover {
    cursor: default;
}

.btn-primary {
    background-color: #0078ff;
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #005fcc;
    transition: 0.3s;
}

.container {
    width: 80%;
    max-width: 1200px;
    background: white;
    margin-top: 50px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 50px;
}

.container:hover {
    transform: scale(1.02);
}

.profile img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #333;
    margin-bottom: 20px;
}

.bio {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 20px;
    color: #555;
}

.projects {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.project-item {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.project-item:hover {
    background: #4169E1;
    color: white;
    transform: translateY(-5px);
}

/* Footer */
.custom-footer {
    background-color: #0078ff;
    color: #fff;
    padding: 30px 15px;
    width: 100%;
    border-radius: 53px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-box {
    flex: 1 1 30%;
    margin: 10px;
    min-width: 250px;
}

.footer-box h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-box p,
.footer-box ul,
.footer-box li {
    font-size: 0.95em;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-box ul li a:hover {
    color: #f1f1f1;
}

.footer-box .contact-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-box .contact-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.85em;
}

.social-media {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-media a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-media a:hover {
    background-color: #0078ff;
}

.contact-info p a {
    color: #ffffff;
}
@media (min-width: 768px) and (max-width: 1024px){
    .nav-menu{
    visibility: hidden;
      }
}