html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
header {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #e63946;
    font-size: 1.5rem;
}
nav ul {
    list-style: none;
    display: flex;
}
nav ul li {
    margin-left: 20px;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* صورة مكتب */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
}
.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.hero .content {
    position: relative;
    z-index: 2;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.btn {
    display: inline-block;
    background: white;
    color: #e63946;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: bold;
}
.services {
    padding: 50px 0;
    text-align: center;
}
.services h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.contact {
    padding: 60px 0;
    background-color: #f4f4f4;
    text-align: center;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.form-group {
    margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e63946;
}
.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
.btn-submit:hover {
    background-color: #d62839;
}
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 50px;
}
.portfolio {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}
.section-subtitle {
    margin-bottom: 40px;
    color: #666;
    font-size: 0.9rem;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-item {
    text-align: left;
    transition: transform 0.3s ease;
}
.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.portfolio-item:hover {
    transform: translateY(-5px);
}
.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
}
.portfolio-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}
.portfolio-item span {
    font-size: 0.9rem;
    color: #e63946;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about {
    padding: 80px 0;
    background: #fff;
}
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text {
    flex: 1;
}
.about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}