/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header & Navigation */
header {
    background-color: #141c3a;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #64ffda;
}

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

/* Hero section */
.hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .tagline {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* About section */
.about {
    background-color: #fff;
    padding: 4rem 0;
}

.about h2 {
    font-family: 'Montserrat', sans-serif;
    color: #141c3a;
    margin-bottom: 1rem;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* About section list styles */
/*
 * The bullet list under the About section needs to align visually with the
 * paragraphs above and below it. A common issue is that the bullet marker
 * sits outside the element’s bounding box, causing the list to appear
 * misaligned relative to the surrounding text. Setting the list style
 * position to `inside` ensures the bullets are counted within the element’s
 * width. We also use margin auto and a max-width to centre the list on
 * large screens, matching the paragraph layout. A small left padding gives
 * breathing room between the bullets and the list text.
 */
.about ul {
    max-width: 700px;
    margin: 1rem auto;
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about li {
    margin-bottom: 0.5rem;
}

/* Projects section */
.projects {
    background-color: #f0f4f8;
    padding: 4rem 0;
}

.projects h2 {
    font-family: 'Montserrat', sans-serif;
    color: #141c3a;
    margin-bottom: 2rem;
    text-align: center;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.project:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.project h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.project p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact section */
.contact {
    background-color: #fff;
    padding: 4rem 0;
}

.contact h2 {
    font-family: 'Montserrat', sans-serif;
    color: #141c3a;
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 1rem;
    max-width: 600px;
    font-size: 1.05rem;
}

.contact-info {
    list-style: none;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: #2575fc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #141c3a;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

footer p {
    font-size: 0.9rem;
}