/* Font and basic layout */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    background: #f9f9f9;
    color: #333;
}

h1, h2 {
    font-family: 'Poppins', sans-serif;
}

header {
    background: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.logo{
    font-size: 28px;
    color: white;
    font-weight: 700;
    transition: 0.3s ease;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
}
.logo:hover{
    color: orangered;
    text-shadow: 0 0 25px orangered
                 0 0 50px orangered;
    transform: scale(1.1);
}

span{
    color: orangered;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #4da6ff;
    text-decoration: none;
    margin: 0 10px;
}

main {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
}

section {
    margin-bottom: 50px;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

.project {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.project a {
    color: #007bff;
    text-decoration: none;
}

.project a:hover {
    text-decoration: underline;
}

.btn-box{
    width: 345px;
    display: flex;
    gap: 2cm;
}

footer {
    background: #222;
    color: #aaa;
    text-align: center;
    padding: 15px;
}

.cv-button {
    text-decoration: none;
    background-color: black;
    color: white;
    border-radius: 8px;
    padding: 15px 28px;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
}
.cv-button:hover {
    background-color: white;
    color: black;
    border: 2px solid black;
}

#about {
    background-color: #f0f4ff; /* soft blue background */
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    margin: 40px auto;
}

/* Layout and animation */
#about {
    background-color: #f0f4ff; /* soft blue background */
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    margin: 40px auto;
}

/* Layout and animation */
.about-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: row-reverse; /* image on left, text on right */
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;

    /* Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image styling */
.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    padding: 5px;
    background: linear-gradient(135deg, #4da6ff, #a367dc); /* gradient border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Text block */
.about-text {
    flex: 1;
    min-width: 250px;
    font-size: 18px;
    line-height: 1.6;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
}

/* Hover effect */
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: #4da6ff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #a367dc; /* Optional: changes color on hover */
}

#home {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(to right, #e0f7ff, #f7ecff);
}

.home-content h1 {
    font-size: 36px;
    color: #4da6ff;
    margin-bottom: 10px;
}

.home-content p {
    font-size: 18px;
    color: #333;
}
