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

#hero {
  width: 100%;
  height: 100vh;
  background: url("../image/hero-bg.jpg") center center / cover no-repeat;
  position: relative;
}

#hero::before {
  content: "";
  background: rgba(0, 0, 0, 0.7); 
  position: absolute;
  inset: 0;
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  background: transparent;
  z-index: 3;
  transition: background 0.4s;
}
.navbar .nav-link {
  color: #fff !important;
  font-size: 16px;
}

/* Scroll */
.navbar.scrolled {
  background-color: rgba(8, 8, 8, 0.8) !important; 
}
.nav-link.active {
  border-bottom: 2px solid #ff004f;
  padding-bottom: 4px;
}

/* Dropdown */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
}

/* Button */
.btn-get-started {
  font-size: 14px;
  padding: 8px 40px;
  border-radius: 50px;
  border: 1px solid #b1afaf;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.btn-get-started:hover {
  background:#e43c5c;
  border-color: #fdfdfc;
  color: #000;
}
.textHome
{
    font-size:40px;
  
}
.description
{
    padding: 12px 20px;

}
.feature-box h5:hover {
  color: #dc3545; 
  cursor: pointer;
}
.aboutButton
{
  padding: 10px 30px;
  border-radius: 50px;
  border: 1px solid #f8f3f3;
  background: #f5e6eb;
  font-size: 12.4px;
  
}
.about{
  padding-top: 60px;
  padding-bottom: 20px;
  color: #494949;
}
.textaboute
{
  color: #494949;

}
.left
{
  padding-left: 120px;
}
.right
{
  padding-right: 50px;

}
.textright:hover {
  
  color:#e43c5c;
  cursor: pointer;
}
.learnfont
{
  color: #494949;
}
.bodyservices
{
  padding-left: 80px;
  padding-right: 80px;
  
}
.topcard
{
  padding-bottom: 40px;

  
}

.Bottomservices {
  border: 1px solid #ddd;
}

.Bottomservices:hover {
  cursor: pointer;
  border: 1px solid #e43c5c;  
  color: rgb(228, 60, 92);   
             
}
.topcard .card {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;

  border-top: 2px solid #bbb; 
border: 1px solid #ddd;   
  border-radius: 0;    

}


.topcard .card h5,
.topcard .card p,
.topcard .card i {
  transition: color 0.3s ease;
}


.topcard .card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(228, 60, 92, 0.95);
  z-index: 0;
  transition: bottom 0.4s ease; 
}


.topcard:hover .card::before {
  bottom: 0; 
}


.topcard:hover .card h5,
.topcard:hover .card p,
.topcard:hover .card i {
  color: #fff !important;
}


.topcard .card * {
  position: relative;
  z-index: 1;
}


.call-to-action {
  position: relative;
  height: 50vh;
  margin-top: 50px;
 
}

.call-to-action .content {
  position: relative;
  z-index: 2;
  
}

.call-to-action::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}





.btn-outline-light {
  font-size: 16px;
  padding: 10px 40px;
  border-radius: 50px;
  border: 2px solid #eeecec;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.btn-outline-light:hover {
  background:#e43c5c;
  border-color: #fdfdfc;
  color: #000;
}
.portfolio {
  padding: 80px 100px;  
  position: relative;    
  z-index: 1;
}

.portfolio-item {
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.btn-filter {
  color: #050505;
  border: none;
  padding: 0.4rem 1rem;
  margin-right: 0.5rem;
  border-radius: 30px;
}

.btn-filter:hover {
  background-color: #e43c5c;
  color: white;
}

.btn-filter.active {
  background-color: #e43c5c;
  color: white;
}

.portfolio-item.show {
  display: block;
}


.filtered #portfolio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}


.filtered #portfolio-row .portfolio-item.show {
  flex: 0 0 calc(33.333% - 15px);
  
}

.portfolio-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.portfolio-wrap img {
  width: 100%;
  display: block;
}


.portfolio-info {
  background: rgb(255, 253, 253);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  position: absolute;   
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
}


.portfolio-wrap:hover .portfolio-info {
  transform: translateY(0);
}

.portfolio-info a i:hover {
  color: #e43c5c;
}

.card-body {
  padding: 120px 90px;
}
.featured {
  position: relative;
  top: -15px; 
  z-index: 2;
  transform: scale(1.1); 
  border-width: 2px !important; 
}

.accordion {
  padding-left: 200px;
  padding-right: 200px;
}

/* Smaller devices (tablets) */
@media (max-width: 992px) {
  .accordion {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  .accordion {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.accordion-item {
  border: 1px solid #ddd !important;
  border-radius: 10px;
  padding: 8px;    
  margin-bottom: 15px;
  overflow: hidden; 
}

.accordion-button {
  background-color: #fff;
  font-weight: 500;
}

.accordion-button:hover {
  color: #e43c5c !important ;
}

.accordion-button:not(.collapsed) {
  color: #e43c5c !important ;
  background-color: transparent !important;
  box-shadow: none !important;
}

.accordion-item:has(.accordion-collapse.show) {
  background-color: #f8eaf0 !important; 
}

.accordion-button::after {
  transform: rotate(-90deg);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(0deg);
}

.img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease-in-out;
}



.social-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.social-icons a {
  color: #4e4e4e;
  font-size: 18px;
}
.social-icons a:hover
{
  color: #e43c5c ;
}
.cardteam:hover .social-icons {
  opacity: 1;
}
.inner
{
    position: relative;
    color: antiquewhite;
}


  .inner-item
{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    background-color: rgba(5, 5, 5, 0.6);
    transform:translateY(15px);
    opacity: 0;
    transition: all .65s;
    color: #ddd;
}

.inner:hover .inner-item
{
    transform:translateY(0);
    opacity: 1;
}


.inner:hover .inner-item h5
{
    transform:translateY(0);

}
.inner:hover .inner-item icons
{
    transform:translateY(0);

}
.icon :hover{
   color:  #e43c5c;
   cursor: pointer;
}
.mapsec{
  border:0;
   padding-left: 80px;
    padding-right: 80px;
}
 .contact-info i {
      font-size: 24px;
      color: #fff;
    }
    .contact-info .icon-box {
      background: #e84561;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin-right: 15px;
    }
  
    
    .contact-info h5 {
      font-weight: bold;
      margin: 0;
    }
    .contact-form input
    {
      border-radius: 0%;

    }
     .contact-form textarea
    {
      border-radius: 0%;

    }
   
    .form-control:focus, 
textarea:focus {
  border-color: #e84561 !important;
  box-shadow: 0 0 5px rgba(232, 69, 97, 0) !important;
}


.contact-form button {
  background: #e84561;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 30px;
  }
 .contact-form button:hover {
   background: #fc92a6;}
.aboutfooter p
{
  font-size:14px;
}
.footer-links a
{
  color: #bbb;
  

}
.footer-links li :hover
{
  color: #e84561 !important;
}

.FooterBottom
{
  background-color: #121212;
  font-size: 14px;
}
.footer-contact p{
  font-size: 15px;


}
.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 40%;
  background-color: #030303;
  color: #535353; ;  
  font-size: 14px;
  transition: 0.4s ease;
  border: 2px solid #5c5a5a;
}

.social-links a :hover
{
  color: #e84561 !important;
  border: #e84561 !important ;

}


.masonry {
  column-count: 3;      
  column-gap: 1.5rem;  
  overflow: hidden !important;
 

}

.masonry-item {
  position: relative;
  break-inside: avoid;  
  margin-bottom: 1.5rem;
  overflow: hidden !important;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
  object-fit: cover;
}
.masonry-item .overlay {
  position: absolute;
  bottom: -100%;   /* مخفي تحت */
  
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease-in-out;

 
}

.masonry-item:hover .overlay {
  bottom: 0; 
}
.masonry-item .icons a {
  font-size: 18px;
  
  color: #555;
  transition: 0.3s;
}

.masonry-item .icons a:hover {
  color: #dc3545; 
}




/* Responsive */
@media (max-width: 768px) {
  .masonry {
    column-count: 1;
  }
}

@media (max-width: 576px) {
  .masonry {
    column-count: 1;
  }
}


@media (max-width: 992px) {
  .left {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
  }

  .right {
    padding-right: 30px;
    padding-left: 30px;
  }

  .textaboute {
    font-size: 1.2rem;
  }

  .learnfont {
    font-size: 1.5rem;
  }

  .textright {
    margin-bottom: 20px;
  }
}


