
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333333;
    margin: 40px;
    line-height: 1.6;
}

h1 {
    color: #1f4e79;
    font-size: 2.6rem;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

h2 {
    h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.2;
}
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 18px;
}

p {
    p {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 0;
    margin-bottom: 18px;
}
}

section {
    background-color: white;
    padding: 60px 45px;
    margin-top: 35px;
    border-radius: 10px;
}
nav {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

nav h3 {
    margin: 0;
    color: #1f4e79;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
}

nav a:hover {
    color: #1f4e79;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.skills-list span {
    background-color: #e8f0fe;
    color: #1f4e79;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
}
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.contact-links a {
    background-color: #1f4e79;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.contact-links a:hover {
    background-color: #163a5c;
    transform: translateY(-2px);
}
.contact-links i {
    margin-right: 8px;
}

.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-photo img {
    width: 320px;
    max-width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.hero-text h2 {
    color: #1f4e79;
    font-weight: normal;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.about-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
}

.about-intro {
    font-size: 19px;
    font-weight: bold;
    color: #1f4e79;
    margin-bottom: 15px;
}

.project-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 35px;
}

.project-text {
    flex: 1;
}

.project-image-container {
    flex: 1;
    text-align: center;
}

.project-image {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.image-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}
.skills-list span:hover {
    background-color: #1f4e79;
    color: white;
    transition: 0.3s;
    cursor: default;
}
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #666;
    font-size: 14px;
   } 
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

nav h3 {
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
}
.about-text p {
    line-height: 1.55;
    margin-bottom: 18px;
}

.project-text p {
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Mobile screen */
.future-cards {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.future-card {
    flex: 1;
    min-width: 220px;
    background: #eef4fc;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.future-card h3 {
    color: #1f4e79;
    margin-bottom: 12px;
}

.future-card p {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    body {
    margin: 15px;
}
    nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
    }

    nav h3 {
        text-align: center;
        white-space: nowrap;
        font-size: 22px;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    nav a {
        font-size: 16px;
    }
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .project-container {
    flex-direction: column;
    gap: 25px;
}
.project-text {
    width: 100%;
}.project-image-container {
    width: 100%;
}
.project-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}.project-text h3 {
    margin-top: 0;
}

.project-text p {
    font-size: 17px;
}
    }
   .contact-form {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #1f4e79;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: #163a5c;
} 
#form-status {
    margin: 0;
    text-align: center;
    font-weight: bold;
}

.success-message {
    color: #26734d;
}

.error-message {
    color: #b42318;
}
.xray-legend {
    margin-top: 20px;
    padding: 18px;
    background: #f5f8fc;
    border-radius: 10px;
    border-left: 4px solid #1f4e79;
}

.xray-legend h4 {
    color: #1f4e79;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
     font-weight: bold;
    text-align: left;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.legend-item p {
    margin: 0;
    font-size: 15px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

.green {
    background: #34c759;
}

.blue {
    background: #5ac8fa;
}

.purple {
    background: #9b59b6;
}
.future-cards {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.future-card {
    flex: 1;
    min-width: 240px;
    min-height: 180px;
    background: #eef4fc;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    transition: 0.3s;
}

.future-card:hover {
    transform: translateY(-4px);
}

.future-icon {
    font-size: 15px;
    margin-bottom: 0;
     line-height: 1.5;
}

.future-card h3 {
    color: #1f4e79;
    margin-bottom: 12px;
}

.future-card p {
    margin-bottom: 0;
}
