/* ====== HERO VIDEO ====== */
:root {
  --hero-height: 520px;   /* înălțimea benzii video */
  --cards-overlap: 40px;  /* cât ies cardurile peste video */
  --card-radius: 12px;
}

.hero-video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-video__media {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.35); /* overlay semi-transparent pentru lizibilitate */
  padding: 1rem;
}

.hero-video__content {
  max-width: 900px;
  margin: 0 auto;
}

/* ====== CARDS (jumate-jumate peste video) ====== */
.hero-cards {
  position: relative;
  z-index: 10;                 
  margin-top: calc(var(--cards-overlap) * -1); 
  margin-bottom: calc(var(--cards-overlap) + 40px); 
}

.hero-card {
    display: flex
;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 22px;
    cursor: pointer;
    transition: ease-in-out .3s;
    overflow: hidden;
    box-shadow: 0 5px 24px rgb(0, 0, 0, .12);
    border-radius: var(--card-radius);
}

.hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}

.hero-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-right: 14px;
}

.hero-card__title {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* ===== Animatie slide text (dreapta -> stânga) ===== */
#hero-text {
  transition: transform .4s ease, opacity .4s ease;
}
#hero-text.slide-out {
  transform: translateX(100%);  /* dispare spre dreapta */
  opacity: 0;
}
#hero-text.slide-in {
  transform: translateX(-100%); /* intră din stânga */
  opacity: 0;
}
#hero-text.show {
  transform: translateX(0);
  opacity: 1;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 991.98px) {
  :root { 
    --hero-height: 440px; 
    --cards-overlap: 60px; 
  }
  .hero-card__title { 
    font-size: 1rem; 
  }
}

@media (max-width: 575.98px) {
  :root { 
    --hero-height: 360px; 
    --cards-overlap: 50px; 
  }
  .hero-card { 
    padding: 14px 16px; 
  }
  .hero-card__icon { 
    width: 38px; 
    height: 38px; 
    margin-right: 12px; 
  }
  .hero-card__title { 
    font-size: .95rem; 
  }
}


/* domain design

.home-domain-search {
    background: #f8f9fa; /* fundal alb-gri deschis */
    text-align: center;
    padding: 60px 20px;
}

/* Secțiunea domain search */
#domain-search {
  background: #f8f9fa; /* fundal deschis */
}

.domain-search-form .domain-input {
  width: 400px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.domain-search-form .domain-btn {
  border-radius: 0 8px 8px 0;
  padding: 12px 24px;
  font-weight: 600;
}

/* Lista TLD-uri */
.tld-list .tld-item {
  text-align: center;
}

.tld-list .tld {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
}

.tld-list .price {
  font-size: 0.9rem;
  color: #666;
}

/* Lista TLD-uri */

.product-card {
  background: #fff;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.product-card .price {
  margin: 15px 0;
  font-size: 0.95rem;
  color: #333;
}
.product-card strong {
  font-size: 1.2rem;
  color: #000;
}

/*Animatie de jos */

.ddos-section {
  background: #fff;
  padding: 80px 20px;
}

.container-ddos {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.ddos-left {
  flex: 1;
  text-align: center;
}

.ddos-left .ddos-img {
  max-width: 280px;
  animation: float 4s ease-in-out infinite;
}

.ddos-right {
  flex: 1;
  text-align: left;
}

.ddos-right h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.ddos-right .highlight {
  color: #007bff;
}

.ddos-right p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

.ddos-right ul {
  list-style: none;
  padding: 0;
}

.ddos-right li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #444;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 768px) {
  .container-ddos {
    flex-direction: column;
    text-align: center;
  }
  .ddos-right {
    text-align: center;
  }
}

body {
body { font-family: 'Lato', sans-serif; }
 /* Browsere care suportă zoom */
  zoom: 1.25;

  /* Fallback pentru Firefox */
  -moz-transform: scale(1.25);
  -moz-transform-origin: top center;

  /* Centrare și prevenire scroll orizontal */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

<style>
.service-card-min {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}
.service-card-min:hover {
    background: #f8f9fc;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.service-status {
    margin-bottom: 6px;
}

.badge-active { background: #28a745; color: #fff; }
.badge-suspended { background: #dc3545; color: #fff; }
.badge-terminated { background: #6c757d; color: #fff; }

.service-name-min {
    font-weight: 600;
    font-size: 15px;
    color: #222;
    margin-bottom: 3px;
}

.service-domain-min {
    font-size: 13px;
    color: #555;
}

.service-domain-min i {
    color: #007bff;
    margin-right: 4px;
}

.service-footer-min {
    margin-top: 10px;
}
</style>

.dropdown-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 8px 12px !important;
}

.dropdown-menu li:hover a,
.dropdown-menu li a:hover {
    background: #2d63ff !important; /* culoarea de hover */
    color: #fff !important;
}

.dropdown-menu li {
    cursor: pointer;
}

.dropdown-menu li:hover {
    background: #2d63ff !important;
}

/* │ Disable default active highlight │ */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.dropdown-menu li.active > a.dropdown-item {
    background: transparent !important;
    color: inherit !important;
}

/* │ Full clickable row and rounded corners │ */
.dropdown-menu li > a.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
}

/* │ Hover only │ */
.dropdown-menu li > a.dropdown-item:hover,
.dropdown-menu li > a.dropdown-item:focus {
    background: #2d63ff !important;
    color: #fff !important;
}

/* Ensure inner text inherits hover color */
.dropdown-menu li > a.dropdown-item:hover *,
.dropdown-menu li > a.dropdown-item:focus * {
    color: #fff !important;
}

/* REMOVE ANY HOVER ON <li> */
.dropdown-menu li.dropdown-item:hover,
.dropdown-menu li.dropdown-item:focus {
    background: transparent !important;
}

/* MAKE ONLY <a> CONTROL HOVER */
.dropdown-menu li.dropdown-item > a.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: transparent !important;
}

/* HOVER ONLY ON <a> */
.dropdown-menu li.dropdown-item > a.dropdown-item:hover,
.dropdown-menu li.dropdown-item > a.dropdown-item:focus {
    background: #2d63ff !important;
    color: #fff !important;
}

/* FIX FOR TEXT INSIDE */
.dropdown-menu li.dropdown-item > a.dropdown-item:hover *,
.dropdown-menu li.dropdown-item > a.dropdown-item:focus * {
    color: #fff !important;
}

/* DISABLE ACTIVE STATE AGAIN (JUST IN CASE) */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item.active:hover {
    background: transparent !important;
    color: inherit !important;
}

/* Forțăm containerul LI să nu mai aibă background */
.dropdown-menu li.dropdown-item {
    background: transparent !important;
    padding: 0 !important; /* elimină paddingul care strica full width */
}

/* Link full width, bloc complet */
.dropdown-menu li.dropdown-item > a.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* Hover ULTRA full width */
.dropdown-menu li.dropdown-item > a.dropdown-item:hover,
.dropdown-menu li.dropdown-item:hover > a.dropdown-item {
    background: #2d63ff !important;
    color: #fff !important;
}

/* Text alb la hover */
.dropdown-menu li.dropdown-item > a.dropdown-item:hover *,
.dropdown-menu li.dropdown-item:hover > a.dropdown-item * {
    color: #fff !important;
}

/* Scoatem .active */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item.active:hover {
    background: transparent !important;
    color: inherit !important;
}

/* --- DROPDOWN ANIMATION & GLASS EFFECT --- */

.dropdown-menu {
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease !important;

    /* Glass premium style */
    background: rgba(30, 41, 59, 0.65) !important; /* smoky dark glass */
    backdrop-filter: blur(12px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(160%) !important;

    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 10px !important;
    padding: 6px 0 !important;

    box-shadow: 0 12px 32px rgba(0,0,0,.25) !important;
}

/* when open */
.dropdown.show > .dropdown-menu,
.dropdown-menu.show {
    opacity: 1 !important;
    transform: translateY(0px) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* dropdown items glass hover */
.dropdown-menu li.dropdown-item > a.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 10px 16px !important;
    border-radius: 6px !important;
    color: #e2e8f0 !important; /* light text */
}

/* hover effect */
.dropdown-menu li.dropdown-item > a.dropdown-item:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

/* disable WHMCS active highlight */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item.active:hover {
    background: transparent !important;
    color: inherit !important;
}
/* ====== CLEAN NOTIFICATION DROPDOWN — 1 single hover layer ====== */

/* Container */
.dropdown-menu.dropdown-large {
    width: 260px !important;
    border-radius: 14px !important;
    padding: 6px !important;
    backdrop-filter: blur(14px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
    background: rgba(30,41,59,0.55) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.35) !important;
    overflow: hidden !important;
}

/* Header */
.dropdown-menu.dropdown-large .dropdown-header {
    padding: 10px !important;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    background: transparent !important;
}

/* Remove ALL default Bootstrap/WHMCS alert-blue crap */
.dropdown-menu.dropdown-large *,
.dropdown-menu.dropdown-large .alert,
.dropdown-menu.dropdown-large .alert-info {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Base style for message item */
.dropdown-menu.dropdown-large .alert,
.dropdown-menu.dropdown-large p,
.dropdown-menu.dropdown-large a,
.dropdown-menu.dropdown-large div {
    padding: 12px 16px !important;
    margin: -1px 0 !important;
    border-radius: 10px !important;
    color: #e5e7eb !important;
    font-weight: 600 !important;
    text-align: center;
    display: block;
    transition: .15s ease;
}


/* ========== NOTIFICATION DROPDOWN FIX — single hover area ========== */

/* Container styling */
.dropdown-menu.dropdown-large {
    width: 260px !important;
    border-radius: 14px !important;
    padding: 6px !important;
    backdrop-filter: blur(14px) saturate(160%) !important;
    background: rgba(30,41,59,.55) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.35) !important;
    overflow: hidden !important;
}

/* Header */
.dropdown-menu.dropdown-large .dropdown-header {
    background: transparent !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    padding: 10px !important;
}

/* ❌ Prevent nested span/a from creating SECOND hover */
.dropdown-menu.dropdown-large .alert span,
.dropdown-menu.dropdown-large .alert a,
.dropdown-menu.dropdown-large p span,
.dropdown-menu.dropdown-large a span {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline !important;
}

/* Remove blue focus/active forever */
.dropdown-menu.dropdown-large .alert:active,
.dropdown-menu.dropdown-large a:active,
.dropdown-menu.dropdown-large a:focus,
.dropdown-menu.dropdown-large a:focus-visible {
    background: rgba(255,255,255,0.18) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ===== Center Register Page (WHMCS Ruzenko) ===== */

/* Container principal pe mijloc */
#registration {
    width: 100%;
    max-width: 950px;
    margin: 0 auto !important;
    display: block !important;
}

/* Eliminăm grid-ul Bootstrap pe sidebar */
#registration .col-lg-4.col-xl-3,
#registration .sidebar,
#Primary_Sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 0 !important;
    display: block !important;
}

/* Container formular full width & centrat */
#containerNewUserSignup,
#containerNewUserSecurity {
    width: 100%;
    margin: 0 auto !important;
    padding: 0 10px;
}

/* Fiecare card full width */
#registration .card {
    width: 100% !important;
    margin: 15px auto !important;
}

/* Center text bloc "Already Registered" */
#Primary_Sidebar-Already_Registered-Already_Registered_Heading {
    text-align: center !important;
}

/* Centrare butoane login */
#registration .list-group-item {
    text-align: center !important;
}

/* Titlu formular pe centru */
#registration h3.card-title {
    text-align: center !important;
}
/* Remove "Already Registered" box only on register page */
[menuItemName="Already Registered"] {
    display: none !important;
}