@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

body {
	background-color: #F8F7F7 !important;
	font-family: 'Poppins' !important;
}
.navbar {
	padding-top: 22px !important;
	padding-bottom: 22px !important;
	max-width: 1250px !important;
	margin: auto;
}
.container {
	max-width: 1250px !important;
}
.nav-link {
	color: black !important;
	letter-spacing: 1px;
	font-weight: 300 !important;
	font-size: 18px;
}
.nav-link:hover,
a {
	color: #02A9F7 !important;
}
span {
	color: #89D6FB;
}
.btn-primary {
	background: rgb(2, 169, 247);
	background: linear-gradient(90deg, rgba(2,169,247,1) 35%, rgba(137,214,251,1) 100%);
	border: 1px solid white !important;
	padding: 7px 30px !important;
	border-radius: 20px !important;
	color: white !important;
	transition: all 0.3s ease-in-out !important;
}
.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-4px);
	box-shadow: 0 1px !important;
	outline: 0 none !important;
}
.underline {
	text-align: center;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 5px !important;
	text-decoration-color: #89D6FB !important;
}
.card {
	transition: box-shadow 0.3s;
}
.card:hover {
	box-shadow: 0 0 11px rgba(33,33,33,0.2);
}
.techimg {
	border-radius: 20px;
	width: 100%;
}
.icontech {
	width: 40px;
}
footer {
	background-color: #D4F0FC !important;
}
a {
	text-decoration: none !important;
}
p {
	line-height: 30px !important;
}
.messcard .card {
	padding: 20px !important;
	background-color: white !important;
	border-radius: 50px !important;
}
@media screen and (max-width: 1200px) {
	.herohome {
		text-align: center !important;
	}
	.herohome .col-10 {
		margin: auto;
	}
	.herohome img {
		width: 100% !important;
		margin-left: 20px;
	}
	.dropdown-item {
	    color: var(--bs-dropdown-link-color) !important;
	}
}
@media screen and (max-width: 700px) {
	.topbar {
		text-align: center;
	}
	.topbar .social {
		display: none;
	}
	.flex-lg-row-reverse div,
	.flex-lg-row div {
		margin: auto !important;
	}
    .contactinfo {
        text-align: center;
    }
	.flex-lg-row-reverse img,
	.flex-lg-row img {
		margin-bottom: 20px !important;
	}
	.navbar-nav {
		text-align: center;
	}
	.servicii {
		padding: 30px !important;
	}
	.tehnologii {
		text-align: center;
	}
	.tehnologii .row .col-sm-3 {
		width: 30%;
		margin: auto;
	}
	.iconsfooter {
		display: none !important;
	}
	.desprenoitext * {
		text-align: left !important;
		font-size: 15px !important;
	}
}
.img-logo {
	max-width: clamp(200px, 22vw, 270px);
}
.nav-link.active {
	display: inline-block;
	border-bottom: 2px solid #89D6FB;
	color: #000;
	/* Asigură că sublinierea are lățimea cuvântului */
	width: auto;
}

@media screen and (min-width: 1200px) {
    .navbar-collapse {
        justify-content: flex-end !important;
    }
}




  #whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: fadeInUp 0.5s ease-in-out;
  }
  #whatsapp-button img {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  #whatsapp-button img:hover {
    transform: scale(1.1);
  }
  #whatsapp-chat {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    z-index: 1001;
    display: flex;
  }
  #whatsapp-chat.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  #whatsapp-chat header {
    display: flex;
    align-items: center;
    background: #25d366;
    color: #fff;
    padding: 10px 15px;
  }
  #whatsapp-chat header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
  }
  #whatsapp-chat header div {
    display: flex;
    flex-direction: column;
  }
  #whatsapp-chat header .chat-title {
    font-size: 16px;
    font-weight: bold;
  }
  #whatsapp-chat header .chat-subtitle {
    font-size: 12px;
    opacity: 0.9;
  }
  #whatsapp-chat .chat-body {
    flex: 1;
    padding: 15px;
    background: #ece5dd; 
    overflow-y: auto;
    font-size: 14px;
    display: flex;
    flex-direction: column;
  }
  .whatsapp-message {
    max-width: 80%;
    background: #dcf8c6; 
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    align-self: flex-start;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  }
  .msg-time {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
  }
  #whatsapp-chat .chat-footer {
    padding: 10px 15px;
    background: #eee;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
  }
  #whatsapp-chat .chat-footer button#whatsapp-continue-btn {
    width: 100%;
    padding: 15px;
    background: #25d366;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }
  #whatsapp-chat .chat-footer button#whatsapp-continue-btn:hover {
    background: #1ebe5d;
  }
  @keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  @media screen and (max-width: 768px) {
    #whatsapp-button {
      right: 5px;
    }
    #whatsapp-chat {
      right: 0px;
    }
  }


  @media screen and (min-width: 768px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
      display: block;
    }
   }
    .dropdown-menu.mega-menu {
      width: 800px; /* Lățime fixă de 700px */
      left: 50%;
      transform: translateX(-50%);
      padding: 20px;
      border: none;
      box-shadow: none;
    }
    .dropdown-menu.mega-menu .dropdown-col {
      padding: 0 15px;
    }
    .dropdown-menu.mega-menu .service-item {
      margin-bottom: 15px;
    }
    .dropdown-menu.mega-menu .service-item p {
      margin: 0;
      font-size: 0.85em;
      color: #777;
    }


    
.dropdown-item:focus, .dropdown-item:active {
    background-color: #e9ecef !important;
}

.dropdown-item i {
    background-color: #71cbfb !important;
    border-radius:100%;
    padding:5px;
    color:white !important;
}

  .hover-zoom {
    transition: transform 0.3s ease;
  }
  .hover-zoom:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .text-blue {
        color: #71cbfb !important;
  }



  .tech-card {
    background: #f9f9f9;
    border-radius: 1rem;
    padding: 20px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    cursor: pointer;
  }

  .tech-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    background: #fff;
  }

  .tech-card img {
    max-width: 50px;
    transition: transform 0.2s ease;
  }

  .tech-card:hover img {
    transform: rotate(5deg) scale(1.1);
  }

  .tech-card p {
    font-weight: 500;
    color: #333;
    margin: 0;
  }


#mainNavbar {
  transition: background-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}

#mainNavbar.is-sticky {
  background-color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  opacity: 1;
}
#mainNavbar.is-sticky .topbar-container {
    border-bottom:1px solid gray;
}



.btn-icon {
  position: relative; 
  padding: 7px 40px 7px 20px !important; 
}

.btn-icon i {
  position: absolute;
  right: 10px;
  top: 50%; 
  transform: translateY(-50%);
}

.btn-outline-primary {
    border:1px solid #02a9f7 !important;
}
.btn-outline-primary {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  background-color: inherit !important;
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: opacity .18s ease, -webkit-backdrop-filter .18s ease, backdrop-filter .18s ease;
}
.btn-outline-primary:hover {
  transform: translateY(-1px);
  background-color: inherit !important;
}
.btn-outline-primary:hover::before {
  opacity: 1;
  -webkit-backdrop-filter: brightness(0.92) saturate(1.05);
  backdrop-filter: brightness(0.92) saturate(1.05); /* „întunecare” discretă fără culoare solidă */
}