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

body {
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    background-color: #f7f9fc;
    color: #182b49;
    line-height: 1.8;
}

a {
    text-decoration: none;
}

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

.header {
    background-color: #ffffff;
    padding: 18px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

.logo {
    color: #182b49;
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #182b49;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #2471a3;
}

.hero {
    padding: 90px 0;
    background: linear-gradient(135deg, #eaf2f8, #ffffff);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background-color: #dceaf5;
    color: #2471a3;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2471a3;
}

.hero p {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 17px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background-color: #182b49;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #2471a3;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #182b49;
    color: #182b49;
}

.btn-outline:hover {
    color: white;
}

.section {
    padding: 75px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title span {
    color: #2471a3;
    font-weight: bold;
}

.section-title h2 {
    font-size: 32px;
    margin: 10px 0;
}

.section-title p {
    color: #64748b;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

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

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

.project-info {
    padding: 22px;
}

.project-info h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.project-info p {
    color: #64748b;
    font-size: 15px;
}

.center {
    text-align: center;
    margin-top: 40px;
}

.page-heading {
    background: linear-gradient(135deg, #182b49, #2471a3);
    color: white;
    padding: 65px 0;
    text-align: center;
}

.page-heading span {
    color: #dceaf5;
}

.page-heading h1 {
    font-size: 38px;
    margin: 10px 0;
}

.page-heading p {
    color: #e2e8f0;
}

.contact-box {
    max-width: 650px;
    margin: auto;
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.contact-box h2 {
    margin-bottom: 25px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #2471a3;
}

textarea {
    resize: vertical;
}

.footer {
    background-color: #182b49;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 20px;
    }
}