/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #a17cff;
}

/* Header */
header {
    background: #1a1a1a;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.9rem;
    font-weight: bold;
    color: #6d4cbe;
    margin-left: 25px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: 500px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links li a {
    color: #a17cff;
    transition: color 0.1s;
}

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

.hr {
    display: none;
}

/* Hero / Bio Section */
.bio-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a1a;
    flex-wrap: wrap;
    padding: 80px 8% 80px 0%;
}

.bio-content {
    max-width: 600px;
    margin-left: -190px;
}

.bio-content h1, .bio-content h2 {
    font-size: 3rem;
    margin: 10px 0;
    color: #ffffff;
}

.bio-content h2 {
    margin-top: -29px;
}

.bio-content p {
    margin: 10px 0 20px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.buttons button {
    padding: 10px 20px;
    background-color: #a17cff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    flex: 1 1 150px;
    max-width: 200px;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #8c66ff;
}

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

/* About Section */
.about-section {
    padding: 60px 5%;
    background-color: #1a1a1a;
}

.about-section h2 {
    color: #a17cff;
    margin-bottom: 10px;
}

/* Education Table */
.education-section {
    padding: 60px 5%;
    background-color: #1a1a1a;
}

.education-section h2 {
    color: #a17cff;
    margin-bottom: 20px;
}

table {
    width: 100.11%;
    border-collapse: collapse;
    background-color: #28282c;
}

table th,
table td {
    padding: 15px;
    border: 1px solid #2c2c57;
    text-align: left;
}

th {
    background-color: #252424;
    color: #a17cff;
}

/* Interests Section */
.interests-section {
    padding: 50px 20px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: left;
}

.interests-section h2 {
    font-size: 1.6rem;
    color: #a17cff;
    margin-bottom: 30px;
    margin-left: 45px;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1240px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .interests-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #2b2b3d;
    border: 2px solid #7f8ff4;
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card i {
    margin-bottom: 10px;
    font-size: 2rem;
    color: #7f8ff4;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: bold;
}

.card p {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Specific icons */
.card i { color: #4CAF50; }
.card.programming i { color: #e74c3c; }
.card.webdev i { color: #3498db; }
.card.ai i { color: #9b59b6; }
.card.gaming i { color: #f1c40f; }
.card.design i { color: #e67e22; }
.card.blogging i { color: #1abc9c; }

/* Projects Section */
.projects-section {
    padding: 60px 10%;
    background-color: #1a1a1a;
    text-align: left;
}

.projects-section h2 {
    margin-left: -65px;
    color: #a17cff;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-left: -65px;
}

.project-card {
    background-color: #11113a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #2c2c57;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.project-card button {
    margin-top: 10px;
    margin-right: 10px;
    padding: 10px 15px;
    border: none;
    background-color: #a17cff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 10%;
    background-color: #1a1a1a;
}

.contact-left {
    flex: 1;
    min-width: 250px;
}

.social-icons a {
    font-size: 12px;
    margin: 5px;
    color: lch(100% 0.01 296.81);
    transition: color 0.3s;
}

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

.contact-right {
    flex: 1;
    min-width: 300px;
    margin-top: 20px;
}

.contact-right form {
    display: flex;
    flex-direction: column;
}

.contact-right input,
.contact-right textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.contact-right button {
    padding: 12px 25px;
    background-color: #24066e !important;
    color: white !important;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
}

/* Footer */
footer {
    padding: 20px 10%;
    text-align: center;
    background-color: #1a1a1a;
    border-top: 1px solid #2c2c57;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Responsive Buttons */
@media (max-width: 600px) {
    .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .buttons button {
        width: 100%;
        font-size: 0.95rem;
    }
}

/* Ensure consistency */
section {
    background-color: #1a1a1a;
}


