﻿/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #222;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #222;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

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

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background: #333;
    top: 30px;
    left: 0;
    list-style: none;
    padding: 10px 0;
    border-radius: 5px;
}

.nav-links .dropdown-content li {
    margin: 0;
}

.nav-links .dropdown-content a {
    padding: 10px 20px;
    display: block;
    color: #fff;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://source.unsplash.com/1600x900/?technology') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 25px;
    background: #ff4b2b;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #ff784e;
}

/* Sections */
section {
    padding: 80px 50px;
    text-align: center;
}

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

.about p {
    max-width: 700px;
    margin: auto;
    font-size: 18px;
    color: #555;
}

/* Projects Section */
.projects {
    background-color: #f9f9f9;
    color: #222;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: #fff;
    color: #222;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: auto;
}

.contact input,
.contact textarea {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact button {
    padding: 12px;
    background: #ff4b2b;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.contact button:hover {
    background: #ff784e;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .social a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

footer .social a:hover {
    color: #ff4b2b;
}

/* Responsive */
@media(max-width: 768px){
    .nav-links {
        display: none;
        flex-direction: column;
        background: #222;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
    }
    .nav-links li {
        margin: 10px 0;
    }
    .burger {
        display: flex;
    }
}
