/*
* @subsection   MAANG-Style Portfolio Redesign
* @author       Sasi Sundar
* @version      1.0.0
*/

/*================================================================/
/*   ROOT & KEYFRAMES
/*================================================================*/

:root {
	/* Colors */
	--background: #0f0f0f;
	--primary-text: #e6e6e6;
	--secondary-text: #9b9b9b;
	--accent: #007acc; /* A subtle blue accent */

	/* Typography */
	--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fw-light: 300;
	--fw-normal: 400;
	--fw-semibold: 600;

	/* Sizing */
	--fs-header: 56px;
	--fs-subheader: 32px;
	--fs-body: 18px;

	/* Spacing */
	--section-spacing: 120px;
}

/*================================================================/
/*   GENERAL STYLES
/*================================================================*/

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

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	background-color: var(--background);
	font-family: var(--font-family);
	color: var(--primary-text);
	line-height: 1.7;
	font-weight: var(--fw-normal);
}

.container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
}

section {
	padding-top: var(--section-spacing);
}

h1, h2, h3 {
	font-family: var(--font-family);
	font-weight: var(--fw-semibold);
	text-align: center;
}

h2 {
	font-size: var(--fs-header);
	color: var(--primary-text);
	margin-bottom: 48px;
}

h3 {
	font-size: var(--fs-subheader);
	color: var(--primary-text);
	margin-bottom: 24px;
}

p, ul, li {
	font-size: var(--fs-body);
	color: var(--secondary-text);
	text-align: left;
}

ul {
	list-style: none;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--primary-text);
}

/*================================================================/
/*   NAVIGATION & HERO
/*================================================================*/

nav {
    display: none; /* Per instructions, single-page scroll, no nav */
}

.hero {
	min-height: 60vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
    padding-top: 0;
}

.hero-title {
	font-size: 80px;
	font-weight: var(--fw-semibold);
	color: var(--primary-text);
	margin-bottom: 16px;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-tagline {
	font-size: 24px;
	font-weight: var(--fw-light);
	color: var(--secondary-text);
	max-width: 600px;
    text-align: center;
}

/*================================================================/
/*   ABOUT SECTION
/*================================================================*/

.about-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.internship-badge {
    display: none; /* Removed as requested */
}

.about-image {
    display: none; /* Removed as requested */
}

/*================================================================/
/*   SKILLS SECTION
/*================================================================*/

#skills h2 {
    text-align: center;
    margin-bottom: 48px;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.skills-category h3 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-text);
    font-weight: var(--fw-semibold);
}

.skills-category ul {
    padding-left: 0;
}

.skills-category li {
    font-size: 16px;
    color: var(--secondary-text);
    line-height: 1.8;
}

/*================================================================/
/*   PROJECTS SECTION
/*================================================================*/
.projects-new {
    padding-bottom: var(--section-spacing);
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--secondary-text);
    text-align: center;
}

.project-case-study {
	margin-bottom: 96px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 96px;
}

.project-case-study:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-case-study h3 {
    text-align: left;
    font-size: var(--fs-subheader);
    margin-bottom: 8px;
}

.role-type {
    text-align: left;
    font-size: 16px;
    color: var(--secondary-text);
    margin-bottom: 32px;
    font-style: italic;
}

.case-study-section {
    margin-bottom: 24px;
}

.case-study-section strong {
    color: var(--primary-text);
    font-weight: var(--fw-semibold);
}

.tech-stack {
    margin-top: 32px;
    text-align: left;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background-color: #2a2a2a;
    color: var(--primary-text);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 14px;
}

.links-row {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

.links-row .btn {
    font-size: 16px;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
}

.links-row .btn-secondary {
    background: transparent;
    color: var(--accent);
}
.links-row .btn-secondary:hover {
    background: var(--accent);
    color: var(--background);
}
/*================================================================/
/*   EXPERIENCE & EDUCATION
/*================================================================*/

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #2a2a2a;
    top: 0;
    bottom: 0;
    left: 15px;
}

.timeline-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: 64px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
    z-index: 1;
}

.timeline-date {
    font-size: 16px;
    color: var(--secondary-text);
    margin-bottom: 8px;
    font-weight: var(--fw-light);
}

.timeline-item h3 {
    text-align: left;
    font-size: 22px;
    margin-bottom: 8px;
}

.timeline-item h4 {
    text-align: left;
    font-size: 18px;
    color: var(--primary-text);
    font-weight: var(--fw-normal);
    margin-top: 16px;
    margin-bottom: 8px;
}

.timeline-item p, .timeline-item ul {
    margin-bottom: 16px;
    text-align: left;
}

.timeline-item ul {
    padding-left: 20px;
    list-style: disc;
}

.timeline-item ul li {
    font-size: 16px;
}
.education-details ul {
    padding-left: 20px;
    list-style: disc;
}
.education-details ul li{
    font-size: 16px;
}

/*================================================================/
/*   CERTIFICATIONS & ACHIEVEMENTS
/*================================================================*/

#certifications {
    text-align: center;
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.certification-item {
    text-align: left;
}

.certification-item h3 {
    font-size: 20px;
    color: var(--primary-text);
    font-weight: var(--fw-semibold);
    text-align: left;
    margin-bottom: 4px;
}

.certification-item p {
    font-size: 16px;
    color: var(--secondary-text);
    text-align: left;
}


/*================================================================/
/*   CONTACT & FOOTER
/*================================================================*/

#contact {
    text-align: center;
    padding-bottom: var(--section-spacing);
}

.contact-info {
    margin-bottom: 32px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-links a {
    font-size: 28px;
    color: var(--secondary-text);
}

.social-links a:hover {
    color: var(--accent);
}

footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #2a2a2a;
    margin-top: var(--section-spacing);
}

footer p {
    font-size: 14px;
    color: var(--secondary-text);
    text-align: center;
}

/* Hide elements not needed for the new design */
#back-to-top,
.hamburger,
.theme-toggle,
#particles-js {
    display: none !important;
}
