/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

/* Header and Navigation */
header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #007bff;
}

/* Hero Section */
#hero {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-text .tagline {
    font-style: italic;
    opacity: 0.9;
}


/* Main Content */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #0056b3;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.about-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-item h3 {
    margin-top: 0;
    color: #007bff;
}

/* Experience & Projects Section */
.job, .project {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.job h3, .project h3 {
    margin-top: 0;
    color: #007bff;
}

.job p, .project p {
    margin-bottom: 1rem;
}

.job ul {
    padding-left: 20px;
}

/* AI Exploration Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.gallery figure {
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery figure:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}


.gallery img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery figcaption {
    padding: 1rem;
    font-weight: 500;
}

/* Contact Section */
#contact {
    text-align: center;
}

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

#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #333;
    color: #fff;
    margin-top: 2rem;
}
