/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --section-bg: #f3f4f6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--background);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('../images/hero-bg.jpg') center/cover;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--light-text);
    margin: 1.5rem 0;
    line-height: 1.8;
    white-space: pre-line;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn.primary {
    background: var(--primary-color);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Sections */
section {
    padding: 5rem 5%;
}

section:nth-child(even) {
    background: var(--section-bg);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* About Section */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.about-left {
    flex: 1;
}

.profile-image {
    flex: 0 0 300px; /* Adjust the width as needed */
}

.profile-image img {
    width: 100%;
    border-radius: 10px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: adds subtle shadow */
}

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

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

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

.skill-category {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.skill-category h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

/* Add these new styles */
.highlight-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1rem 0;
}

.social-links-hero {
    margin: 1.5rem 0;
}

.social-links-hero a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

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

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.experience-header {
    margin-bottom: 1.5rem;
}

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

.company {
    font-weight: 600;
    color: var(--text-color);
}

.duration {
    color: var(--light-text);
    font-style: italic;
}

.experience-details {
    list-style-type: none;
    padding-left: 1.5rem;
}

.experience-details li {
    position: relative;
    margin-bottom: 0.5rem;
}

.experience-details li:before {
    content: "→";
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
}

.project-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

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

.project-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0.5rem 0;
}

.project-duration {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 1rem;
}

.tech-stack {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-stack span {
    background: var(--section-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.project-achievements {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.project-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-achievements li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--section-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.project-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.project-link i {
    margin-right: 0.5rem;
}

.project-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
