/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: #222;
}

a {
    text-decoration: none;
    color: #0066cc;
}

/* Header & Navigation */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0066cc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    margin-top: 15px;
}

.btn:hover {
    background: #004c99;
}

.btn-small {
    display: inline-block;
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

.btn-small:hover {
    background: #555;
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(to right, #e0eafc, #cfdef3);
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-bottom: 30px;
}

/* Sections Global */
section {
    padding: 80px 0;
}

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

/* About Section */
.about {
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.about-text p {
    margin-bottom: 15px;
    font-size: 18px;
}

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

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

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

.contact p {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    margin: 0 10px;
    color: #555;
    font-weight: bold;
}

.social-links a:hover {
    color: #0066cc;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #333;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
}