:root {
  --primary-color: #00579D;
  --secondary-color: #1e3d4d;
  --light-blue: #57a5ff;
  --dark-gray: #515759;
  --green: #d4af37;
  --text-color: #333;
  --light-gray: #E6E7E8;
  --gradient: linear-gradient(to right, #1e3d4d, #00579D);
  --background-color: #f9f9f9;
  --font-family: 'Cairo', sans-serif;
  --h2-color: #0c2340;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  line-height: 1.8;
  background: #f9f9f9;
  overflow-x: hidden;
}

/* new hero */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('/assets/images/hero.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Cairo', sans-serif;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(12, 35, 64, 0.85) 30%, rgba(12, 35, 64, 0.4) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #d4af37;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-logo {
  filter: drop-shadow(0 6px 20px rgba(237, 198, 69, 0.582));
}

.hero-description {
  font-size: 1.5rem;
  font-weight: 400;
  color: #e0e6ed;
  margin-bottom: 35px;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #d4af37;
  color: #0c2340;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.cta-button i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--background-color);
  border: var(--green) 2px solid;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-button:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* end */
.connections {
  position: fixed;
  top: 65%;
  left: 20px;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.connections .icon {
  background: #fff;
  color: #000;
  font-size: 22px;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none
}

.connections .icon.whatsapp {
  color: #25d366;
  animation: shadowWhatsapp 6s infinite;
  border: #25d366 1px solid;
}

.connections .icon.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 200, 0, 0.6)
}

.connections .icon.phone {
  color: #007bff;
  animation: shadowPhone 6s infinite;
  border: #007bff 1px solid;
}

.icon.phone:hover {
  animation: shake 0.4s infinite;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(87, 165, 255, 0.6)
}

@keyframes shadowPhone {
  0% {
    box-shadow: 0 0 20px rgba(87, 165, 255, 0.6)
  }

  50% {
    box-shadow: 0 0 25px rgba(87, 165, 255, 0.8);
  }

  75% {
    box-shadow: 0 0 35px rgba(87, 165, 255, 0.9);
  }

  /* 100% {
    box-shadow: none
  } */
}

@keyframes shadowWhatsapp {
  0% {
    box-shadow: 0 0 20px rgba(0, 200, 0, 0.6)
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 200, 0, 0.8);
  }

  75% {
    box-shadow: 0 0 35px rgba(0, 200, 0, 0.9);
  }

  100% {
    box-shadow: none
  }
}

section {
  padding: 50px 10%;
}

.about {
  background: #0c2340;
  color: #fff;
  padding: 50px 10%;
  border-radius: 0 0 50px 50px;
  display: flex;
  /* flex-direction: row; */
  flex-wrap: wrap;
  align-items: center;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin: 20px;
}

.about img:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

.about a {
  color: var(--light-blue);
  font-size: 14px;
}

.about a:hover {
  color: var(--green);
}

.about h2,
.vision h2,
.mission h2,
.section-title,
.features-main-title,
.goals h2,
.designs h2,
.contact-section .title h2
{
  font-size: 30px;
  margin-bottom: 15px;
  padding: 3px;
  text-decoration: underline var(--green) 3px;
}

.vision {
  text-align: center;
  background: #fff;
  border-radius: 10px;
  margin: 40px 10%;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mission {
  background-image: url('/assets/images/pexels-pixabay-258160.jpg');
  background-size: cover;
  height: 70vh;
  margin: 30px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background-attachment: fixed;

}

.mission .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.mission-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 20px;
  /* text-shadow: 2px 2px 6px var(--primary-color); */
  color: #fff;
}

.mission-content p {
  font-size: 20px;
  font-weight: bold;
}

.goals {
  background: #f5f5f5;
  padding: 40px 5%;
  text-align: center;
}

.goals h2 {
  color: var(--h2-color);
}

.goals .grid {
  display: flex;
  /* grid-template-columns: repeat(4, 1fr); */
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  gap: 30px;
}

.goals .box {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 16px;
  color: var(--h2-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 calc(25% - 40px);
  max-width: 150px;
  transition: transform 0.3s;
}

.goals .box:hover {
  transform: translateY(-10px);
}

.services-section {
  max-width: 1200px;
  /* margin: 20px; */
  text-align: center;
}

.section-title {
  /* margin-bottom: 40px; */
  position: relative;
  display: inline-block;
  color: var(--h2-color);
}

/* .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #d4af37;
  border-radius: 2px;
} */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}


.service-link {
  text-decoration: none;
  display: block;
  color: inherit;
  cursor: pointer;
}

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  border: 1px solid #eef2f5;
  position: relative;
  overflow: hidden;
  height: 70%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #0c2340;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(12, 35, 64, 0.12);
  border-color: #d4af37;
}

.service-card:hover::before {
  height: 100%;
  z-index: 1;
  background: rgba(12, 35, 64, 0.02);
}

.card-content {
  position: relative;
  z-index: 2;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: #f0f4f8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: all 0.3s ease;
}

.icon-wrapper i {
  font-size: 1.8rem;
  color: var(--light-blue);
  transition: all 0.3s ease;
}

.service-card:hover .icon-wrapper {
  background-color: var(--light-blue);
}

.service-card:hover .icon-wrapper i {
  color: #ffffff;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  color: #333;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 15px;
}

.action-text {
  font-size: 0.9rem;
  color: #d4af37;
  font-weight: bold;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block;
}

.service-card:hover .action-text {
  opacity: 1;
  transform: translateY(0);
}

.features-section {
  background-color: #ffffff;
  padding: 80px 20px;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-main-title {
  /* font-size: 2.5rem; */
  color: #0c2340;
  /* margin-bottom: 60px; */
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  font-weight: 800;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.feature-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px 30px;
  border: 1px solid #eef2f5;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
}


.feature-icon-wrapper {
  width: 85px;
  height: 85px;
  background-color: #0c2340;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 6px 15px rgba(12, 35, 64, 0.15);
  transition: all 0.4s ease;
}

.feature-icon-wrapper i {
  font-size: 2.2rem;
  color: #d4af37;
  transition: all 0.4s ease;
}

.feature-title {
  font-size: 1.4rem;
  color: #0c2340;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-description {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 10px;
}

.card-accent-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background-color: #d4af37;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: #ffffff;
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(12, 35, 64, 0.08);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: #d4af37;
  transform: rotate(360deg);
}

.feature-card:hover .feature-icon-wrapper i {
  color: #0c2340;
}

.feature-card:hover .card-accent-line {
  width: 40%;
}

footer {
  background: linear-gradient(to right, #1e3d4d, #2876b6);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.designs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px 2%;
}

.designs h2 {
  color: var(--h2-color);
}

.designs-box {
  background-color: var(--background-color);
  margin: 0;
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card p {
  font-size: 0.95rem;
  color: #444;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.phone a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.phone a:hover {
  font-size: 22px;
  text-decoration: underline;
}

.contact-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

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

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

.title span {
  display: block;
  color: #d4af37; 
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.title h3 {
  color:var(--dark-gray);
  font-size: 20px;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-info-card, 
.contact-form-card {
  background: #ffffff;
  border: 1px solid #eef2f5;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(6, 42, 85, 0.05);
  transition: transform 0.3s ease;
}


.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f4f8;
}

.contact-row:last-child {
  border-bottom: 0;
}

/* الأيقونات المصغرة الدائرية */
.mini-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12); /* خلفية ذهبية خفيفة وشفافة */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c2340;
  font-size: 1.3rem;
  flex: 0 0 auto;
  transition: all 0.3s ease;
}

.contact-row:hover .mini-icon {
  background: #0c2340;
  color: #ffffff;
}

.row-text strong {
  display: block;
  color: #0c2340;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.row-text span {
  color: #666;
  font-size: 0.95rem;
}

/* أزرار كارت المعلومات */
.action-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.gold-btn {
  background-color: #d4af37;
  color: #0c2340;
}

.gold-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.blue-btn {
  background-color: #f0f4f8;
  color: var(--primary-color);
  border: 1px solid #e2e8f0;
}

.blue-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fdfefe;
  outline: none;
  color: #333;
  transition: all 0.3s ease;
  -webkit-appearance: none; 
  direction: rtl;
 
}
select {
  /* background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230c2340' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>"); */
  background-repeat: no-repeat;
  background-position: left 16px center;
  background-size: 18px;
  cursor: pointer;
}

textarea {
  height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #d4af37;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* زر إرسال الفورم المطور */
.submit-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 16px;
  border-radius: 14px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(12, 35, 64, 0.15);
}

.submit-btn:hover {
  background-color: #d4af37;
  color: #0c2340;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
  }
  
  .contact-info-card, 
  .contact-form-card {
    padding: 25px;
  }
  
  .title h2 {
    font-size: 1.7rem;
  }
}