/* Global Resets and Variables */
:root {
    --primary-color: #007bff; /* Professional Blue */
    --secondary-color: #343a40; /* Dark Gray for background contrast */
    --text-dark: #212529;
    --background-light: #f8f9fa;
    --card-bg: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif; /* Using the Poppins font linked in index.html */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff; /* Clean white background */
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 60px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    margin-right: 10px;
}

/* Primary Button (Highlight/CTA) */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* Secondary Button (Less critical actions) */
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #e9f5ff; /* Light background on hover */
}

/* Header/Hero Section */
.hero-section {
    background: var(--background-light);
    height: 80vh; /* Set a good visual impact height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 5rem; /* Large, impactful name */
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #6c757d;
}

/* About Section */
#about {
    background-color: white;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Image on left, Text on right */
    gap: 40px;
    align-items: center;
}

.profile-image-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-sm); /* Give it a subtle lift */
}

.text-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.highlight {
    display: block;
    background-color: #e6f7ff; /* Very light blue background */
    border-left: 4px solid var(--primary-color);
    padding: 10px 20px;
    margin: 20px 0;
    font-style: italic;
}

.skills-list span {
    display: inline-block;
    background-color: #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Projects Section */
#projects {
    background-color: var(--background-light);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color); /* Tech accent */
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.tech-stack {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    margin: 15px 0 20px;
}


/* Footer/Contact Section */
#contact {
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
}

#contact h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}


/* Media Queries for Responsiveness */
@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr; /* Stack columns vertically */
        text-align: center;
    }

    .profile-image-placeholder {
        order: -1; /* Move image to the top on mobile/tablet */
    }
}

@media (max-width: 600px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

     h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}
