/* --- Global Styles & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #180de7;
    background-color: #0a0a0a;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 20px;
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #555555;
}


.navbar {
    background: #f3f1f1;
    color: #101010;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
}

.nav-links li a {
    padding: 10px 15px;
}
 
.hero {
    background: #007BFF;
    color: #fff;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

 
.about {
    background: #151515;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.about-container p {
    max-width: 600px;
    margin: 0 auto;
}

/* --- Projects Section --- */
.projects {
    background: #111111;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: #412aee;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(207, 16, 16, 0.1);
    color:#f7f0f0
}

 
.contact {
    background: #141414;
}

 
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}


@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.about img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out 0.5s;
}
