/* Reset some default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.heading-page{
    text-align: center;
    margin: 20px auto;
    font-size: 40px;
    text-decoration: underline;
    color: darkblue;
}

main{
    margin-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.about {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Left Side - Image + Name */
.about .left-side {
    flex: 1;
    min-width: 300px;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border-right: 1px solid #eee;
    text-align: center;
}

.box1 img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #ddd;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.box1 img:hover {
    transform: scale(1.05);
}

.box1 h1 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 10px;
}

/* Right Side - Bio + Links */
.about .right-side {
    flex: 2;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-2 .heading {
    font-size: 1.7rem;
    color: #444;
    margin-bottom: 15px;
}

#typed-text {
    color: #007BFF;
    font-weight: bold;
}

.paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

/* Social Links - Now inside the right-side and below the paragraphs */
.box-3 {
    margin-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.links-head {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.link-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.link-links a {
    font-size: 1.6rem;
    color: #555;
    transition: color 0.3s ease;
}

.link-links a:hover {
    color: #007BFF;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
    }

    .about .left-side {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .about .right-side {
        padding: 20px;
    }

    .box1 img {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container{
        margin: 0px;
        width: 100%;
    }
}