* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a1a2e;
    color: #ffffff;
    scroll-behavior: smooth; /* Enables smooth scrolling for the entire page */
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #1a1a2e;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #6a5af9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #6a5af9;
    font-size: 16px;
}

.nav-links li a:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 50px 50px; /* Increased top padding to account for fixed navbar */
    min-height: 80vh;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
}

.buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #6a5af9;
    color: #ffffff;
    text-decoration: none;
}

.btn:hover {
    background-color: #5848d6;
}

.btn.secondary {
    background-color: transparent;
    border: 1px solid #6a5af9;
}

.btn.secondary:hover {
    background-color: #5848d6;
    border-color: #5848d6;
}

.hero-image img {
    max-width: 300px;
    border-radius: 10px;
}

/* About Section */
.about {
    padding: 50px;
}

.about h2 {
    font-size: 28px;
    color: #6a5af9;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    color: #cccccc;
}

/* Qualification Section */
.qualification {
    padding: 50px;
}

.qualification h2 {
    font-size: 28px;
    color: #6a5af9;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #2a2a3e;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #3a3a4e;
}

th {
    background-color: #3a3a4e;
    color: #6a5af9;
}

td {
    color: #cccccc;
}

/* Interest & Hobbies Section */
.interests {
    padding: 50px;
}

.interests h2 {
    font-size: 28px;
    color: #6a5af9;
    margin-bottom: 20px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.interest-card {
    background-color: #2a2a3e;
    padding: 20px;
    border: 2px solid #6a5af9;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.interest-card:hover {
    transform: scale(1.05);
}

.interest-card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.interest-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.interest-card p {
    font-size: 14px;
    color: #cccccc;
}

/* Featured Projects Section */
.projects {
    padding: 50px;
}

.projects h2 {
    font-size: 28px;
    color: #6a5af9;
    margin-bottom: 10px;
}

.projects-intro {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    background-color: #2a2a3e;
    padding: 20px;
    border: 2px solid #6a5af9;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 15px;
}

.project-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.project-buttons .btn {
    width: 100px;
    text-align: center;
}

/* Connect with me Section */
.contact {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.contact h2 {
    font-size: 28px;
    color: #6a5af9;
    margin-bottom: 20px;
}

.contact-content {
    display: flex;
    width: 100%;
    gap: 50px;
}

.social-links {
    flex: 1;
}

.social-links p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    color: #6a5af9;
    font-size: 24px;
}

.contact-form {
    flex: 2;
}

.contact-form p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    background-color: #2a2a3e;
    border: 1px solid #6a5af9;
    border-radius: 5px;
    color: #cccccc;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5848d6;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    padding: 10px;
    background-color: #6a5af9;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    width: 100px;
}

.contact-form button:hover {
    background-color: #5848d6;
}

/* Footer Section */
.footer {
    background-color: #1a1a2e;
    padding: 20px 50px;
    border-top: 1px solid #3a3a4e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-left p {
    font-size: 14px;
    color: #cccccc;
}

.footer-right p {
    font-size: 14px;
    color: #cccccc;
}

.social-icons a {
    text-decoration: none;
    color: #6a5af9;
    font-size: 20px;
}

.social-icons a:hover {
    color: #ffffff;
}