/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color:rgb(14, 13, 13);
    background-color: #c09ee7;
}

/* Header */
header {
    background-color: #003049;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navigation */
nav {
    background-color: #2f1fbb;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a{
    color:
}

nav a {
    color: #e2e8f0;
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #38bdf8;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0;
}

/* General Section Styling */
section {
    max-width: 1100px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

/* Hero Section (Home Page) */
.hero-section {
    background: linear-gradient(135deg, #e9ce38 0%, #ceda65 100%);
    color: rgb(19, 18, 18);
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Buttons */
.hero-section a,
input[type="submit"] {
    display: inline-block;
    background-color: #38bdf8;
    color: #0f172a;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
}

.hero-section a:hover,
input[type="submit"]:hover {
    background-color: #7dd3fc;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.2);
}

/* Mission / My Goal Section */
.my-goal {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-left: 6px solid #0ea5e9;
}

/* What I Do Section */
.services {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services h2 {
    margin-bottom: 2rem;
    color: #0f172a;
}

/* Custom Numbered List */
.services ol {
    list-style: none;
    counter-reset: service-counter;
}

.services li {
    counter-increment: service-counter;
    margin-bottom: 1.25rem;
    padding-left: 4rem;
    position: relative;
    font-size: 1.1rem;
}

.services li::before {
    content: counter(service-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #0ea5e9;
    color: white;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Page Titles (About & Contact) */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: #0f172a;
    margin: 2rem 0 2.5rem;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0ea5e9, #6366f1);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* Who I Am & Other Content Cards */
.who-iam,
.background,
.skills {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}

/* Education Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 1rem;
}

th, td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #0f172a;
    color: rgb(243, 229, 229);
    font-weight: 600;
}

tr:hover {
    background-color: #f1f5f9;
}

/* Skills Section */
.skills h2 {
    margin-bottom: 1.5rem;
    background-color: #0f172a;
}

.skills ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.skills li {
    background-color: #6183b6;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border-left: 5px solid #0ea5e9;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.skills li:hover {
    transform: translateX(8px);
    background-color: #2c77aa;
}

/* Contact Form */
.contact-form {
    max-width: 650px;
    margin: 0 auto 3rem;
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #475569;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

/* Sidebar (Contact Info) */
aside {
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: #0f172a;
    color: #bae6fd;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    text-align: center;
}

aside p {
    margin: 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #003049;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 2.25rem;
    }

    nav a {
        display: block;
        margin: 0.6rem 0;
    }

    .skills ul {
        grid-template-columns: 1fr;
    }

    aside {
        flex-direction: column;
        gap: 1rem;
    } 
}