.section1{
  scroll-margin-top: 80px;
    /* أو حسب ارتفاع النافبار */
background-color: azure;
padding: 15px 0;
box-shadow: 0 0px 4px 0px rgb(214, 227, 227);
}

.mainimg img {
width: 30%;
cursor: pointer;
transition: transform 300ms ease, box-shadow 300ms ease;
}

.mainimg img:hover{
  transform:translateY(-7px) ;
  box-shadow: 0 0 4px 0 gray;
}

.mainimg {
  padding: 20px 10px;

}

.mainimg .row{
  display: flex;
    align-items: center;
}

.mainimg .images{
  margin: 10px 0;
  text-align: center;
}

.mainimg .cta1{
text-align: center;
padding: 30px 10px;
background-color: aliceblue;
/* border-radius: 10px 0 0 40px; */
}

.mainimg .cta1 h2{
  font-size: 30px;
}

/* logoin */
/* .logoin{
  text-align: center;
}

.logoin img{
width: 20vw;
position: relative;
top: -20px;
margin: 0;
padding: 0;
} */

.why .reson{
  width: 70%;
  margin: 10px auto;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  /* background-color: rgb(221, 221, 221);
  box-shadow: 0 0 3px 1px gray; */
  border-radius: 5px;
  height: 90% !important;
}

.why .reson img{
  height: 40px;
  margin-left: 10px;
}

/* section 2 styling */
.section2{
  scroll-margin-top: 80px;
    /* أو حسب ارتفاع النافبار */
  margin-top: 30px;
}
.ourwork{
  margin: 20px 0;

}
.ourwork .title{
  margin:60px 2px 10px;
}

.card {
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
}

.card:hover {
  cursor: pointer;
  transform: translateY(-10px);
  box-shadow: 0 9px 15px rgba(0, 0, 0, 0.2);
}

.card-img{
  
  overflow: hidden;
  aspect-ratio: 16/9;
}

.card-img img{
  overflow: hidden;
  width: 100%;

}
.ecti{
   display: flex;
  align-items: center;
  justify-content: space-around;
/*
  opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; */
}


.card:hover .ecti {
  /* opacity: 1;
    visibility: visible; */
}

.card-body{
  height: 150px;
  overflow-y: scroll;
}

.card-body::-webkit-scrollbar {
  width: 9px;
  /* عرض الشريط العمودي */
  height: 8px;
  /* عرض الشريط الأفقي */
}

.card-body::-webkit-scrollbar-track {
  background: #f0f0f0;
  /* لون الخلفية */
}

.card-body::-webkit-scrollbar-thumb {
  background-color: #99c3b4;
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease !important;
}
.card-body:hover::-webkit-scrollbar-thumb {
  background-color: #34ce99;
}

/* section 3 comments */
.section3{
  scroll-margin-top: 80px;
    /* أو حسب ارتفاع النافبار */
  margin-top: 60px;
  background-color: azure;
  padding: 5vh 0;
box-shadow: 0 0px 4px 0px rgb(214, 227, 227);
}
.comments-section {

  background-color: #b2dfca;
  padding: 2vh;
  border-radius: 10px;
}

.comments-section h6 {
  font-size: 1.1rem;
  color: #0d3b66;
  margin-bottom: 15px;
  position: relative;
}

.comments-section h6::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #198754;
  border-radius: 2px;
  margin-top: 5px;
}

/* شبكة الآراء */
.culm{

}
/* كل رأي */
.opinion {
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 8px;
  padding: 15px 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

}

/* أيقونة الاقتباس */
.quote-icon {
  font-size: 2.5rem;
  color: #0d6efd;
  position: absolute;
  top: -10px;
  left: 15px;
  opacity: 0.2;
}

/* نص الرأي */
.opinion p {
  margin: 0 0 10px;
  color: #333;
  line-height: 1.4;
  font-style: italic;
}

/* تذييل باسم العميل */
.opinion .endop {
  font-size: 0.9rem;
  color: #555;
  text-align: right;
}

/* تأثير الـ hover */
.opinion:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*section قسم الخدمات */
.servsection {
  scroll-margin-top: 80px;
    /* أو حسب ارتفاع النافبار */
  padding: 3vh 0 !important;
  margin: 30px 0;
}

.servsection .futter .box {
  position: relative;
  margin: 15px auto;
  padding: 2vh 1vh;
  background-size: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.servsection .futter .box .imgdiv{
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.servsection .futter .box img {
  border: solid 1px #d7d6d6;
  margin: 1vh auto;
  width: 93%;
}

.servsection .futter .box h3 {
  font-size: 20px;
  color: #3E5464;
}

.servsection .futter .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* btn -success */
.btn-success{
  margin-top: 10px;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.btn-success:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 4px gray;
}


/* management cshtml styling */
.btn-danger {

}

.btndelete{
  position: absolute;
  top: 10px;
  left: 10px;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.btndeletecom{

  position: relative;
    top: 10px;
    left: 10px;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;

}

/* cta button styling */
.cta1 button {
  height: 64px;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  background-color: #65cb7d;
  /* لون success */
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta1 button:hover {
  background-color: #66de80;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: white;
}


/* Drop CTA Section */

/* Drop CTA Section - Dark Gradient with Pattern */
.dropcta .drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 240px;
  width: 100%;
  background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='20'><path d='M0 10 Q15 0 30 10 T60 10' stroke='rgba(255,255,255,0.06)' fill='none'/></svg>"),
      linear-gradient(135deg, #2e7d32, #66bb6a);
  background-repeat: repeat;
  background-size: auto, cover;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.dropcta .drop h2 {
  margin-bottom: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  font-family: 'Cairo', sans-serif;
  line-height: 1.5;
  z-index: 1;
}

.dropcta .drop .btn {
  height: 52px;
  padding: 0 28px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #2e7d32;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 1;
}

.dropcta .drop .btn:hover {
  background-color: #388e3c;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}