@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Almarai:wght@300;400;700;800&family=Cairo:wght@200..1000&family=El+Messiri:wght@400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet"');


body {
  margin: 0;
  font-family: "Almarai", sans-serif;
  background: #f4f6f8;
  color: #333;
}

/* Header */
.header {
  background: linear-gradient(135deg, #6366f1, #7779ff, #aa68f1);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.header img{
    width: 80px;
}
.header button {
  margin-top: 20px;
  padding: 12px 30px;
  border: none;
  background: #3dc428;
  color: #fff;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
}

/* Services */
.services {
  padding: 60px 20px;
  text-align: center;
}

.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 25px;
  width: 260px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* ------------------------------profile company show----------------------------- */
/* Portfolio */
.portfolio {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.portfolio h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.portfolio .sub-title {
  color: #777;
  margin-bottom: 50px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.portfolio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
section .cards .card i{
    color: #7779ff;
    font-size: 40px;
    margin-bottom: 10px;
    transition: 0.3s;

}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.1),
    rgba(0,0,0,0.85)
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: 0.4s;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 0;
  font-size: 22px;
}

.overlay p {
  font-size: 14px;
  margin: 8px 0 15px;
}

.overlay .btn {
  align-self: flex-start;
  padding: 8px 22px;
  background: #00c6ff;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
}


/* ----------------------------------------------------------- */

/* About */
.about {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

/* -------------------------Contact ------------------------------------*/
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact form {
  max-width: 400px;
  margin: auto;
}

.contact input,
.contact textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.contact button {
  width: 50%;
  padding: 12px;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}
/* ------------------------------------------ */
/* Offer Countdown */
.offer {
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
}

.offer h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.countdown div {
  background: rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 15px;
  width: 90px;
}

.countdown span {
  font-size: 32px;
  font-weight: bold;
  display: block;
}

.offer button {
  padding: 14px 35px;
  border: none;
  border-radius: 30px;
  background: #fff;
  color: #dd2476;
  font-size: 16px;
  cursor: pointer;
}
/* --------------------------------------------- */
/* Other Services */
.other-services {
  padding: 70px 20px;
  background: #f8fafc;
  text-align: center;
}

.other-services h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.sub-title {
  color: #666;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.service-box:hover {
  transform: translateY(-8px);
}

.service-box .icon {
  font-size: 40px;
  display: block;
  margin-bottom: 15px;
}

.service-box h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-box p {
  font-size: 14px;
  color: #555;
}
/* -----------------------سابقات الاعمل---------- */
.portfolio {
    padding: 60px 20px;
    text-align: center;
}

.portfolio h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* ---------------------------------------------- */

/* Footer */
footer {
  background: #0f2027;
  color: #fff;
  text-align: center;
  padding: 15px;
}
