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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #333;
}

/* Navigation */
.navbar {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
}

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

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb; /* Blue accent color */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: #f4f4f5;
    height: 80vh; /* 80% of the screen height */
    display: flex;
    align-items: center;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Buttons */
.btn {
    background: #2563eb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #1d4ed8;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.bg-light {
    background: #f9fafb;
}

/* Grid for Projects */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    color: #9ca3af;
    margin-bottom: 20px;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

.btn-outline:hover {
    background: #fff;
    color: #1f2937;
}
/* Logo Styling */
.logo {
    display: flex;
    align-items: center; /* Vertically centers the image with the text */
    gap: 10px; /* Adds space between the image and the text */
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-img {
    height: 40px; /* Adjust height to fit your navbar */
    width: auto;  /* Maintains aspect ratio */
}

/* Highlight the current page link */
.nav-links a.active {
    color: #2563eb;
    font-weight: bold;
    border-bottom: 2px solid #2563eb;
}

/* About Page Styles */
.lead-text {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
}

.profile-img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.text-block h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.skills-list {
    list-style: disc inside;
    margin-top: 10px;
    color: #555;
}

/* project Page Styles */
.project-box {
    background: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: inline-block;
    margin-top: 20px;
    text-align: left;
}

.project-box p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack image on top of text on mobile */
        align-items: center;
    }
    
    .profile-img {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
}
