body {
  font-family: 'Tajawal', Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #155e63;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0;
  position: relative;
}
.logo {
  height: 60px;
  margin-left: auto;
  margin-right: 0;
}
nav {
  position: relative;
}
.nav-list {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  z-index: 1001;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: none;
  flex-direction: row;
  width: auto;
  box-shadow: none;
  text-align: center;
  align-items: center;
  direction: rtl;
  justify-content: center;
}
.nav-list li a {
  text-decoration: none;
  color: #155e63;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.nav-list li a.active,
.nav-list li a:hover {
  color: #1db6b2;
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #155e63;
}
.hero {
  position: relative;
  background: linear-gradient(135deg, #1db6b2, #0d8a87);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, 
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.4) 20%,
      rgba(255, 255, 255, 0.3) 40%,
      transparent 60%),
    radial-gradient(circle at 70% 70%, 
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0.4) 20%,
      rgba(255, 255, 255, 0.3) 40%,
      transparent 60%);
  filter: blur(20px);
  animation: gradientMove 15s ease-in-out infinite;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s backwards;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.hero .btn {
  animation: fadeInUp 1s ease-out 0.6s backwards;
  background: white;
  color: #1db6b2;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
footer {
  background: #f7f7f7;
  color: #155e63;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 1rem;
}
.about-section, .services-section, .contact-section {
  margin: 40px 0;
  padding: 40px 0;
  width: 100%;
  box-sizing: border-box;
  background: none;
  border-radius: 0;
  box-shadow: none;
  max-width: none;
}
.about-section h1, .services-section h1, .contact-section h1 {
  color: #155e63;
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.about-section h2 {
    color: #155e63;
    margin-bottom: 12px;
}
.services-section .service-boxes {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.service-box {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(21,94,99,0.06);
  padding: 32px 24px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  text-align: center;
  margin-bottom: 16px;
}
.service-logo {
  height: 70px;
  margin-bottom: 18px;
}
.service-box h2 {
  color: #155e63;
  margin-bottom: 12px;
}
.service-box p {
  color: #1db6b2;
  font-size: 1.1rem;
}
.contact-info {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 24px 18px;
  margin-top: 24px;
  font-size: 1.1rem;
  color: #155e63;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-info a {
  color: #1db6b2;
  text-decoration: none;
}
@media (max-width: 768px) {
  .header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .logo {
    margin-left: 12px;
    margin-right: 0;
  }
  nav {
    flex: 1;
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    order: 3;
    margin-left: 0;
    margin-right: auto;
    display: block;
  }
  .nav-list {
    flex-direction: column;
    gap: 10px;
    background: #fff;
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 95vw;
    max-width: 340px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
    display: none;
    text-align: right;
    align-items: flex-start;
    direction: rtl;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    border-radius: 12px;
    padding: 18px 12px 14px 12px;
    transition: opacity 0.3s, transform 0.3s;
  }
  .nav-list.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
}
@media (max-width: 900px) {
  .services-section .service-boxes {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .site-footer .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .site-footer .footer-about,
  .site-footer .footer-links,
  .site-footer .footer-contact {
    text-align: center;
    align-items: center;
  }
}
/* زخارف إسلامية */
.islamic-decor {
  display: block;
  margin: 0 auto 16px auto;
  width: 80px;
  height: 24px;
}
.hero .islamic-decor {
  margin-bottom: 32px;
}

/* حركات ديناميكية للـ hero */
.hero h1, .hero .subtitle {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}
.hero h1 { animation-delay: 0.2s; }
.hero .subtitle { animation-delay: 0.6s; }
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* حركات الأزرار */
.btn {
  background: linear-gradient(90deg, #1db6b2 0%, #155e63 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
  box-shadow: 0 2px 8px rgba(29,182,178,0.08);
  margin-top: 24px;
  display: inline-block;
}
.btn:hover, .btn:focus {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 18px rgba(21,94,99,0.13);
  background: linear-gradient(90deg, #155e63 0%, #1db6b2 100%);
}

/* حركة القائمة المنسدلة */
@media (max-width: 768px) {
  .nav-list {
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
  }
  .nav-list.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* فوتر مطور */
.site-footer {
  background: #155e63;
  color: #fff;
  padding: 48px 0 24px 0;
  text-align: center;
  margin-top: 60px;
  position: relative;
}
.site-footer .footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 24px auto;
  padding: 0 24px;
}
.site-footer .footer-logo {
  height: 60px;
  margin-bottom: 4px;
}
.site-footer .footer-about {
  flex: 2 1 220px;
  text-align: right;
  margin-bottom: 0;
}
.site-footer .footer-links {
  flex: 1 1 160px;
  text-align: right;
}
.site-footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-links li {
  margin-bottom: 10px;
}
.site-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.site-footer .footer-links a:hover {
  color: #1db6b2;
}
.site-footer .footer-contact {
  flex: 1 1 180px;
  text-align: right;
  font-size: 1rem;
}
.site-footer .footer-contact a {
  color: #1db6b2;
  text-decoration: none;
}
.site-footer .footer-bottom {
  border-top: 1px solid #1db6b2;
  margin-top: 24px;
  padding-top: 12px;
  font-size: 0.95rem;
  color: #b2e3e2;
}
.contact-form {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(21,94,99,0.06);
  padding: 32px 18px 24px 18px;
  margin: 32px auto 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.form-group {
  margin-bottom: 18px;
  text-align: right;
}
.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: #155e63;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b2e3e2;
  border-radius: 7px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #155e63;
  transition: border 0.2s;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #1db6b2;
  outline: none;
}
.contact-form .btn {
  width: 100%;
  margin-top: 10px;
  font-size: 1.1rem;
}
.home-services {
  background: #fff;
  margin: 40px auto 0 auto;
  padding: 40px 24px 32px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(29,182,178,0.07);
  max-width: 900px;
  text-align: center;
}
.home-services h2 {
  color: #155e63;
  font-size: 2rem;
  margin-bottom: 32px;
}
.home-services-flex {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.home-service-box {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(21,94,99,0.06);
  padding: 28px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 16px;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.home-service-box:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 18px rgba(21,94,99,0.13);
}
.home-service-img {
  height: 60px;
  margin-bottom: 16px;
}
.home-service-box h3 {
  color: #155e63;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.home-service-box p {
  color: #1db6b2;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .home-services-flex {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}
.about-cards-flex {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  margin: 40px 0 24px 0;
  flex-wrap: wrap;
}
.about-card {
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(21,94,99,0.06);
  padding: 28px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
}
.about-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 18px rgba(21,94,99,0.13);
}
.about-card-icon {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-card-icon svg {
  width: 48px;
  height: 48px;
}
.about-card h2 {
  color: #155e63;
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}
.about-card p {
  color: #1db6b2;
  font-size: 1.1rem;
  margin: 0;
}
@media (max-width: 900px) {
  .about-cards-flex {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}
.about-icon-bg {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #1db6b2 0%, #155e63 100%);
  box-shadow: 0 2px 12px rgba(29,182,178,0.10);
  margin: 0 auto 12px auto;
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-card:hover .about-icon-bg {
  box-shadow: 0 6px 18px rgba(21,94,99,0.18);
  transform: scale(1.07);
}
.about-icon-bg svg {
  width: 40px;
  height: 40px;
}
.section-title, .section-subtitle {
  text-align: center;
}

/* Hero animated icons background */
.hero-bg-icons {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-icons .islamic-decor {
  position: absolute;
  width: 90px;
  height: auto;
  opacity: 0.08;
  animation: floatAll 6s ease-in-out infinite;
  transition: transform 0.3s;
}
.hero-bg-icons .icon1 {
  top: 10%; left: 15%;
  animation: heroIconMove1 7s linear infinite alternate;
}
.hero-bg-icons .icon2 {
  top: 30%; right: 18%;
  animation: heroIconMove2 8s linear infinite alternate;
}
.hero-bg-icons .icon3 {
  bottom: 18%; left: 20%;
  animation: heroIconMove3 9s linear infinite alternate;
}
.hero-bg-icons .icon4 {
  bottom: 12%; right: 12%;
  animation: heroIconMove4 7.5s linear infinite alternate;
}
.hero-bg-icons .icon5 {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.5);
  animation: heroIconMove5 10s linear infinite alternate;
}
.hero-bg-icons .icon6 {
  top: 70%; left: 10%;
  animation: heroIconMove6 8s linear infinite alternate;
}
.hero-bg-icons .icon7 {
  top: 20%; right: 35%;
  animation: heroIconMove7 6.5s linear infinite alternate;
}
.hero-bg-icons .icon8 {
  bottom: 30%; left: 60%;
  animation: heroIconMove8 7.2s linear infinite alternate;
}
.hero-bg-icons .icon9 {
  top: 60%; right: 25%;
  animation: heroIconMove9 8.5s linear infinite alternate;
}
.hero-bg-icons .icon10 {
  bottom: 10%; left: 45%;
  animation: heroIconMove10 6.8s linear infinite alternate;
}
.hero-bg-icons .icon11 {
  top: 15%; left: 60%;
  animation: heroIconMove11 7.5s linear infinite alternate;
}
.hero-bg-icons .icon12 {
  top: 80%; right: 10%;
  animation: heroIconMove12 6.2s linear infinite alternate;
}
.hero-bg-icons .icon13 {
  bottom: 25%; right: 40%;
  animation: heroIconMove13 8.1s linear infinite alternate;
}
.hero-bg-icons .icon14 {
  top: 40%; left: 35%;
  animation: heroIconMove14 7.8s linear infinite alternate;
}
.hero-bg-icons .icon15 {
  bottom: 15%; right: 60%;
  animation: heroIconMove15 6.7s linear infinite alternate;
}
.hero-bg-icons .icon16 {
  top: 60%; left: 80%;
  animation: heroIconMove16 8.3s linear infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
}
@keyframes heroIconMove1 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(40px) scale(1.1) rotate(8deg); }
}
@keyframes heroIconMove2 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(-50px) scale(1.2) rotate(-10deg); }
}
@keyframes heroIconMove3 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-30px) scale(0.9) rotate(12deg); }
}
@keyframes heroIconMove4 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(60px) scale(1.1) rotate(10deg); }
}
@keyframes heroIconMove5 {
  0% { transform: scale(1.5) rotate(0deg); }
  100% { transform: scale(1.2) rotate(-8deg); }
}
@keyframes heroIconMove6 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-35px) scale(1.1) rotate(-10deg); }
}
@keyframes heroIconMove7 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(40px) scale(1.2) rotate(12deg); }
}
@keyframes heroIconMove8 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(30px) scale(0.95) rotate(-8deg); }
}
@keyframes heroIconMove9 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(-30px) scale(1.1) rotate(10deg); }
}
@keyframes heroIconMove10 {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.2) rotate(8deg); }
}
@keyframes heroIconMove11 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(25px) scale(1.1) rotate(10deg); }
}
@keyframes heroIconMove12 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(-35px) scale(1.15) rotate(-12deg); }
}
@keyframes heroIconMove13 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-20px) scale(1.05) rotate(8deg); }
}
@keyframes heroIconMove14 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(30px) scale(1.1) rotate(-10deg); }
}
@keyframes heroIconMove15 {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(18px) scale(1.08) rotate(7deg); }
}
@keyframes heroIconMove16 {
  0% { transform: translateX(0) scale(1) rotate(0deg); }
  100% { transform: translateX(-28px) scale(1.12) rotate(11deg); }
}
@keyframes floatAll {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
@keyframes gradientMove {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.hero-grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 50%, 
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.6) 15%,
      rgba(255, 255, 255, 0.5) 30%,
      rgba(255, 255, 255, 0.4) 45%,
      transparent 70%),
    radial-gradient(circle at 20% 20%, 
      rgba(29, 182, 178, 0.7) 0%,
      rgba(29, 182, 178, 0.5) 30%,
      rgba(29, 182, 178, 0.4) 45%,
      transparent 70%),
    radial-gradient(circle at 80% 80%, 
      rgba(13, 138, 135, 0.7) 0%,
      rgba(13, 138, 135, 0.5) 30%,
      rgba(13, 138, 135, 0.4) 45%,
      transparent 70%);
  filter: blur(15px);
  animation: lightPulse 8s ease-in-out infinite;
}
@keyframes lightPulse {
  0% {
    transform: scale(1);
    opacity: 0.98;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.98;
  }
} 