/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background: url('https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1950&q=80') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: brightness(0.9);
    padding-bottom: 50px;
}

header {
    background-color: rgba(16, 44, 87, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700;
}

section {
    padding: 60px 5%;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px auto;
    border-radius: 12px;
    max-width: 1200px;
}

h1, h2, h3 {
    color: #102C57;
    margin-bottom: 20px;
    text-align: center;
}

p {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.hero-img {
    display: block;
    margin: 0 auto 20px;
    max-width: 200px;
    border-radius: 100px;
    border: 3px solid #FFCC00;
}

#hero {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 80px 5%;
    border-radius: 12px;
}

#hero span {
    color: #FFCC00;
    font-weight: bold;
}

.cta-btn {
    display: inline-block;
    background-color: #102C57;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #FFCC00;
    color: #102C57;
}

/* Projects Section */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.project-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    color: #102C57;
    font-weight: bold;
    text-decoration: none;
}

.project-link:hover {
    color: #FFD700;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin: 10px 0 5px;
    color: #102C57;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    resize: none;
}

.submit-btn {
    background-color: #102C57;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #FFCC00;
    color: #102C57;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(16, 44, 87, 0.95);
    color: white;
    position: relative;
    bottom: 0;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .projects-container {
        flex-direction: column;
        align-items: center;
    }
}
