/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007BFF; /* Vibrant Blue */
    --secondary-color: #FF4081; /* Vibrant Pink/Coral */
    --background-color: #F8F9FA;
    --text-color: #333;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2 {
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

/* --- Home Section --- */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.hero-text h1 {
    font-size: 4rem;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-text .dynamic-text {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* --- About Section --- */
#about {
    text-align: center;
}

/* --- Skills Section --- */
.skill-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: scale(1.05);
}

.placeholder-img {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #aaa;
}

.portfolio-card h3, .portfolio-card p {
    padding: 0 1.5rem;
}

.portfolio-card h3 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}
.portfolio-card p {
    padding-bottom: 1.5rem;
}


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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    margin-top: 2rem;
}

/* --- Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hidden.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }           