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

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

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

/* Header & Navigation */
.main-header {
    background: #333;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffd700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: 10rem;
    text-align: center;
    background-color: #fff;
    min-height: 100vh;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
}

/* Page Sections & Cards */
.page-section {
    padding: 80px 0 20px;
}

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

.project-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.project-card img {
    max-width: 100%;
    border-radius: 5px;
}

/* Forms */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* Buttons */
.cta-button {
    background: #ffd700;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #ffc400;
}

/* Footer */
.main-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .nav-links {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-links.active {
        max-height: 500px; /* Adjust as needed */
    }

    .nav-links ul {
        flex-direction: column;
        padding-top: 1rem;
    }

    .menu-toggle {
        display: block;
    }
}