/* Original Dark Theme */
body {
	font-family: 'Roboto', sans-serif;
	background-color: #121212;
	color: #e0e0e0;
	margin: 0;
	padding: 0;
}

h1, h2, h3, .navbar-brand {
	font-family: 'Montserrat', sans-serif;
}

a {
	color: #007BFF;
}

a:hover {
	color: #66B2FF;
	text-decoration: none;
}
/* Top Bar */
.top-bar {
	background-color: #198754;
	color: #fff;
	font-size: 0.9rem;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}

.top-bar .container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 0.3rem 0;
}

.top-bar i {
	margin-right: 0.3rem;
}

/* Navbar */
.navbar {
	background-color: #121212;
	border-bottom: 1px solid #333;
}

.navbar-nav .nav-link {
	font-weight: 500;
	margin-right: 1rem;
}

.lang-toggle img {
	width: 24px;
	height: 20px;
	vertical-align: middle;
	margin-left: 10px;
}
/* Hero Section - with Particles.js instead of an image */
#hero {
	position: relative;
	height: 90vh;
	overflow: hidden;
}
/* Particles container */
#particles-js {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	background-color: rgba(0, 0, 0, 0.7);
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	top: 50%;
	transform: translateY(-50%);
}
/* Section Headers */
.section-header h2 {
	font-size: 2.5rem;
	color: #ffffff;
	margin-bottom: 0.5rem;
	margin-top: 3.1rem;
}

.section-header p {
	color: #bbbbbb;
	font-size: 1.1rem;
}
/* Cards - Optimized */
.card, .card-as {
    background-color: #1f1f1f;
    border: none;
    border-radius: 12px;
    box-shadow: 0 25px 25px -15px rgba(11,210,122,0.25), 0 0 0 4px #009e6090;
    padding: 24px;
    margin: 8px;
    min-height: 285px;
    color: #fff;
    overflow: hidden;
    text-align: center;
    transition: 
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

/* Card special height */
.card-as {
    min-height: 425px;
}

/* Hover effects */
.card:hover, .card-as:hover {
    transform: translateY(-5px);
    box-shadow: 0 45px 45px -20px rgba(11,210,122,0.25), 0 0 0 4px #009e6090;
    background: none; /* show gradient if any below */
    color: #fff;
}

/* Typography */
.card-title, .card-text-1, .card-text-2 {
    color: #fff;
}
.card-title, .card-text-1 {
    text-align: center;
}
.card-text-2 {
    text-align: left;
}

/* Form Controls */
.form-control, .btn {
	background-color: #1f1f1f;
	border: 1px solid #333;
	color: #e0e0e0;
}

.form-control:focus, .btn:focus {
	box-shadow: none;
	border-color: #007BFF;
}

.btn-primary {
	background-color: #007BFF;
	border: none;
}

.btn-primary:hover {
	background-color: #66B2FF;
}
/* Footer */
footer {
	background-color: #121212;
	color: #aaaaaa;
	padding: 1rem 0;
	text-align: center;
	font-size: 0.9rem;
	border-top: 1px solid #333;
}

.contact-box {
	background-color: #000000;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 0 0 2px #149CEA;
}

.glow-green {
	font-weight: 100 !important;
	color: #39ff14 !important;
	text-shadow: 0 0 3px #39ff14, 0 0 8px #39ff14;
	font-weight: bold;
	transition: text-shadow 0.2s, color 0.2s;
}

.glow-green:hover, .glow-green:focus {
	text-shadow: 0 0 6px #39ff14, 0 0 16px #39ff14;
	color: #baffc9 !important;
}
.custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(144deg, #2AF598, #009E60 50%, #00fff0);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 15px 30px -5px rgba(11,210,122,0.18);
  color: #fff !important;
  font-size: 18px;
  line-height: 1em;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  white-space: nowrap;
  max-width: 100%;
  outline: none;
}

.custom-btn span {
  background-color: #142a1e;
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: background 300ms;
  display: inline-block;
}

.custom-btn:hover span,
.custom-btn:focus span {
  background: none;
}

.custom-btn:active span {
  transform: scale(0.96);
}

.custom-btn:active {
  transform: scale(0.96);
}
.lang-toggle img {
  filter: grayscale(1);
  transition: filter 0.3s;
}

.lang-toggle a:hover img,
.lang-toggle a:focus img {
  filter: none;
}
button.btn-trimite-mesaj {
  width: 10em;
  position: relative;
  height: 3.5em;
  border: 3px ridge #149CEA;
  outline: none;
  background-color: transparent;
  color: white;
  transition: 1s;
  border-radius: 0.3em;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

button.btn-trimite-mesaj::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: #000000;
  transition: 0.5s;
  transform-origin: center;
}

button.btn-trimite-mesaj::before {
  content: "";
  position: absolute;
  top: 80%;
  left: 3%;
  width: 95%;
  height: 40%;
  background-color: #000000;
  transition: 0.5s;
  transform-origin: center;
}

button.btn-trimite-mesaj:hover::before,
button.btn-trimite-mesaj:hover::after {
  transform: scale(0);
}

button.btn-trimite-mesaj:hover {
  box-shadow: inset 0px 0px 25px #1479EA;
}
