/* Copy Animation */
::selection{
  background-color: #3390FF;
  color: #fff;
}

.base-color{
  color: hsl(var(--main)) !important;
}

.copyInput {
	display: inline-block;
	line-height: 50px;
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	text-align: center;
	font-size: 14px;
	cursor: pointer;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
  }
  
  .copied::after {
	position: absolute;
	top: 8px;
	right: 12%;
	width: 100px;
	display: block;
	content: "COPIED";
	font-size: 1em;
	padding: 5px 5px;
	color: #fff;
	background-color: #FF7000;
	border-radius: 3px;
	opacity: 0;
	will-change: opacity, transform;
	animation: showcopied 1.5s ease;
  }
  
  @keyframes showcopied {
	0% {
		opacity: 0;
		transform: translateX(100%);
	}
	50% {
		opacity: 0.7;
		transform: translateX(40%);
	}
	70% {
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
	}
  }




  .cookies-card {
	width: 520px;
	padding: 30px;
	color: #1E2337;
	position:  fixed;
	bottom: 15px;  
	left: 15px;
	z-index: 999999;
	transition: all .5s;
	background: #d1d1d1;
    border-radius: 5px;
  }
  
  .cookies-card.hide{
	bottom: -500px !important;
  }
  .radius--10px {
	border-radius: 10px;
  }
  
  .cookies-card__icon {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background-color: #6e6f70;
    color: #fff;
	font-size: 32px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
  }
  
  .cookies-card__content {
	margin-bottom: 0;
  }
  
  .cookies-btn {
	color: #363636;
	text-decoration: none;
	padding: 10px 35px;
	margin: 3px 5px;
	display: inline-block;
	border-radius:  999px;
  }
  
  .cookies-btn:hover {
	color: #363636;
  }

  
  @media (max-width: 767px) {
	  .cookies-card {
		  width:  100%;
		  left: 0;
		  bottom:  0;
		  font-size:  14px;
		  padding:  15px;
	  }
  }




.hover-input-popup {
        position: relative;
    }
    .input-popup {
        display: none;
    }
    .hover-input-popup .input-popup {
        display: block;
        position: absolute;
        bottom: 130%;
        left: 50%;
        width: 280px;
        background-color: #1a1a1a;
        color: #fff;
        padding: 20px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }
    .input-popup::after {
        position: absolute;
        content: '';
        bottom: -19px;
        left: 50%;
        margin-left: -5px;
        border-width: 10px 10px 10px 10px;
        border-style: solid;
        border-color: transparent transparent #1a1a1a transparent;
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    .input-popup p {
        padding-left: 20px;
        position: relative;
    }
    .input-popup p::before {
        position: absolute;
        content: '';
        font-family: 'Line Awesome Free';
        font-weight: 900;
        left: 0;
        top: 4px;
        line-height: 1;
        font-size: 18px;
    }
    .input-popup p.error {
        text-decoration: line-through;
    }
    .input-popup p.error::before {
        content: "\f057";
        color: #ea5455;
    }
    .input-popup p.success::before {
        content: "\f058";
        color: #28c76f;
    }



 .show-filter{
  display: none;
}
@media(max-width:767px){
  .responsive-filter-card{
      display: none;
      transition: none;
  }
  .show-filter{
      display: block;
  }
}

/* ============================================
   MOBILE-FIRST RESPONSIVE STYLES
   ============================================ */

/* --- Global Mobile Typography --- */
@media (max-width: 575px) {
  /* Reduce large headings for mobile */
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  h2 {
    font-size: 1.5rem !important;
  }
  h3 {
    font-size: 1.25rem !important;
  }

  /* Fix inline styled headings in sections */
  section h1[style*="font-size: 3"],
  section h1[style*="font-size:3"],
  .hero-banner h1,
  .hero-content h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }

  section h1[style*="font-size: 2"],
  section h1[style*="font-size:2"] {
    font-size: 1.5rem !important;
  }

  section h2[style*="font-size: 2"],
  section h2[style*="font-size:2"] {
    font-size: 1.4rem !important;
  }

  section p[style*="font-size: 1.4"],
  section p[style*="font-size:1.4"],
  section p[style*="font-size: 1.3"],
  section p[style*="font-size:1.3"],
  section p[style*="font-size: 1.2"],
  section p[style*="font-size:1.2"] {
    font-size: 1rem !important;
  }
}

@media (max-width: 767px) {
  /* Hero sections */
  section h1[style*="font-size: 3"],
  section h1[style*="font-size:3"],
  .hero-banner h1,
  .hero-content h1 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
}

/* --- Mobile Header & Promo Banner --- */
@media (max-width: 575px) {
  .promo-banner,
  .topbar {
    padding: 8px 0 !important;
  }

  .promo-banner .d-flex,
  .topbar .d-flex {
    gap: 8px !important;
    font-size: 0.8rem !important;
  }

  .promo-banner span[style*="font-size"] {
    font-size: 0.8rem !important;
  }

  /* Navbar adjustments */
  .navbar-brand img {
    max-height: 35px !important;
  }

  .navbar .d-flex {
    gap: 8px !important;
  }

  .navbar .btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.85rem !important;
  }
}

/* --- Mobile Footer --- */
@media (max-width: 767px) {
  footer .row.align-items-center {
    text-align: center !important;
  }

  footer .col-md-8,
  footer .col-md-4 {
    text-align: center !important;
    margin-bottom: 0.5rem;
  }

  footer .text-md-end {
    text-align: center !important;
  }

  .footer-links {
    margin-bottom: 1.5rem;
  }
}

/* --- Mobile Hero Sections --- */
@media (max-width: 767px) {
  .hero-banner,
  section[style*="min-height: 85vh"],
  section[style*="min-height:85vh"] {
    min-height: auto !important;
    padding: 40px 0 !important;
  }

  .hero-banner .row[style*="min-height"],
  section .row[style*="min-height"] {
    min-height: auto !important;
  }

  /* Stack columns on mobile */
  .hero-banner .col-lg-6:first-child {
    margin-bottom: 2rem;
  }

  /* CTA buttons on mobile */
  .cta-section a,
  a[style*="padding: 1.25rem 2.5rem"],
  a[style*="padding:1.25rem 2.5rem"],
  a[style*="padding: 1rem 2.5rem"],
  a[style*="padding:1rem 2.5rem"] {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
  }
}

@media (max-width: 575px) {
  .hero-banner,
  section[style*="padding: 6rem"],
  section[style*="padding:6rem"],
  section[style*="padding: 5rem"],
  section[style*="padding:5rem"] {
    padding: 30px 0 !important;
  }
}

/* --- Mobile Pricing Cards --- */
@media (max-width: 767px) {
  /* Fix price display on mobile */
  div[style*="font-size: 3rem"],
  div[style*="font-size:3rem"],
  span[style*="font-size: 3rem"],
  span[style*="font-size:3rem"],
  span[style*="font-size: 3.5rem"],
  span[style*="font-size:3.5rem"] {
    font-size: 2.25rem !important;
  }

  div[style*="font-size: 4rem"],
  div[style*="font-size:4rem"],
  span[style*="font-size: 4rem"],
  span[style*="font-size:4rem"] {
    font-size: 2.5rem !important;
  }

  /* Pricing card padding */
  .price-card,
  div[style*="padding: 2.5rem"],
  div[style*="padding:2.5rem"] {
    padding: 1.5rem !important;
  }
}

/* --- Mobile Domain Search Form --- */
@media (max-width: 575px) {
  /* Stack domain search input and extension selector */
  div[style*="display: flex"][style*="border-radius: 10px"],
  .domain-search-form .d-flex {
    flex-direction: column !important;
  }

  div[style*="display: flex"][style*="border-radius: 10px"] input,
  div[style*="display: flex"][style*="border-radius: 10px"] select {
    border-radius: 8px !important;
    margin-bottom: 0.5rem !important;
  }

  /* Search button full width */
  .domain-search-form button,
  form[style*="display: flex"] button {
    width: 100% !important;
  }
}

/* --- Mobile VPS Resource Boxes --- */
@media (max-width: 575px) {
  /* Fix col-4 on very small screens */
  .row .col-4[style*="text-align: center"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
  }

  /* Alternative: Make them col-6 on small mobile */
  section .row > .col-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (max-width: 400px) {
  section .row > .col-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* --- Mobile Hot Deals Countdown Timer --- */
@media (max-width: 575px) {
  #countdown {
    gap: 0.5rem !important;
  }

  #countdown > div,
  div[style*="min-width: 80px"] {
    min-width: 60px !important;
    padding: 0.75rem !important;
  }

  #countdown div[style*="font-size: 2rem"],
  #days, #hours, #minutes, #seconds {
    font-size: 1.5rem !important;
  }
}

/* --- Mobile Statistics/Numbers --- */
@media (max-width: 575px) {
  div[style*="font-size: 2.5rem"],
  div[style*="font-size:2.5rem"] {
    font-size: 1.75rem !important;
  }

  /* Social proof numbers */
  .trust-items,
  div[style*="gap: 2rem"] {
    gap: 1rem !important;
  }

  strong[style*="font-size: 1.5rem"],
  strong[style*="font-size:1.5rem"] {
    font-size: 1.25rem !important;
  }
}

/* --- Mobile Cards & Boxes --- */
@media (max-width: 575px) {
  /* Reduce padding on cards */
  .card-body,
  div[style*="padding: 3rem"],
  div[style*="padding:3rem"] {
    padding: 1.25rem !important;
  }

  div[style*="padding: 2.5rem"],
  div[style*="padding:2.5rem"],
  div[style*="padding: 2rem"],
  div[style*="padding:2rem"] {
    padding: 1.25rem !important;
  }

  /* Feature boxes */
  div[style*="display: flex"][style*="align-items: flex-start"],
  div[style*="display: flex"][style*="align-items: center"] {
    gap: 0.75rem !important;
  }

  /* Icons in feature boxes */
  div[style*="width: 60px"][style*="height: 60px"],
  div[style*="width:60px"][style*="height:60px"] {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.25rem !important;
  }

  div[style*="width: 80px"][style*="height: 80px"],
  div[style*="width:80px"][style*="height:80px"] {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }
}

/* --- Mobile Forms --- */
@media (max-width: 575px) {
  .form-control,
  .form--control,
  input[style*="padding: 1.25rem"],
  input[style*="padding:1.25rem"] {
    padding: 0.875rem !important;
    font-size: 1rem !important;
  }

  button[style*="padding: 1.25rem"],
  button[style*="padding:1.25rem"],
  .btn-lg {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
  }

  /* Form row adjustments */
  .row.g-3 > div,
  .row.g-4 > div {
    margin-bottom: 1rem !important;
  }
}

/* --- Mobile Tables --- */
@media (max-width: 767px) {
  /* Responsive table wrapper */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Card-style tables on mobile */
  table.table td[data-label]::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
    color: #6c757d;
    font-size: 0.85rem;
  }
}

/* --- Mobile User Dashboard --- */
@media (max-width: 575px) {
  .user-dashboard .col-xl-4,
  .user-dashboard .col-md-6 {
    margin-bottom: 1rem !important;
  }

  .widgets-icons-2 {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  /* Dashboard cards */
  .custom--card .card-body h4 {
    font-size: 1.25rem !important;
  }
}

/* --- Mobile Cart Page --- */
@media (max-width: 575px) {
  .cart_child .card-body {
    padding: 1rem !important;
  }

  .cart_child .row {
    gap: 0.5rem;
  }

  /* Order summary */
  .col-lg-4 .card {
    margin-top: 1.5rem;
  }
}

/* --- Mobile AE Domain Flag --- */
@media (max-width: 575px) {
  /* UAE Flag responsive */
  div[style*="width: 60px"][style*="height: 20px"] {
    width: 40px !important;
  }
}

/* --- Mobile Registration Process Steps --- */
@media (max-width: 767px) {
  .col-lg-4.col-md-4[style*="margin-bottom: 2rem"] {
    text-align: center !important;
  }

  /* Steps connecting line hide on mobile */
  div[style*="position: absolute"][style*="width: 2px"] {
    display: none !important;
  }
}

/* --- Mobile Section Spacing --- */
@media (max-width: 575px) {
  .pt-120 {
    padding-top: 60px !important;
  }

  .pb-120 {
    padding-bottom: 60px !important;
  }

  .pt-80 {
    padding-top: 40px !important;
  }

  .pb-80 {
    padding-bottom: 40px !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
}

/* --- Mobile Modals --- */
@media (max-width: 575px) {
  .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100% - 1rem) !important;
  }

  .modal-content {
    border-radius: 10px !important;
  }

  .modal-body {
    padding: 1rem !important;
  }
}

/* --- Mobile Auth Pages --- */
@media (max-width: 575px) {
  .account-form {
    padding: 1.5rem !important;
  }

  .account-form h4 {
    font-size: 1.25rem !important;
  }
}

/* --- Touch-Friendly Elements --- */
@media (max-width: 767px) {
  /* Minimum touch target size (44px) */
  .btn,
  .nav-link,
  .dropdown-item,
  a.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* More spacing for touch targets */
  .list-group-item,
  .dropdown-item {
    padding: 0.75rem 1rem !important;
  }
}

/* --- Hide Desktop-Only Elements on Mobile --- */
@media (max-width: 767px) {
  .d-mobile-none {
    display: none !important;
  }
}

/* --- Show Mobile-Only Elements --- */
@media (min-width: 768px) {
  .d-desktop-none {
    display: none !important;
  }
}

/* --- Fix Overflow Issues --- */
@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    overflow-x: hidden;
  }

  section {
    overflow-x: hidden;
  }

  /* Prevent horizontal scroll from wide elements */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================
   STICKY HEADER FOR LANDING PAGES
   ============================================ */
.sticky-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header-wrapper.is-hidden {
  transform: translateY(-100%);
}

.sticky-header-wrapper.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Offset for sticky header */
.sticky-header-offset {
  height: 120px; /* Adjust based on header height */
}

@media (max-width: 991px) {
  .sticky-header-offset {
    height: 110px;
  }
}

@media (max-width: 575px) {
  .sticky-header-offset {
    height: 100px;
  }

  /* Hide promo banner on scroll for mobile */
  .sticky-header-wrapper.is-scrolled .promo-banner {
    display: none !important;
  }

  .sticky-header-wrapper.is-scrolled .topbar {
    display: none !important;
  }
}

/* ============================================
   FLOATING BUTTONS CONTAINER - RIGHT SIDE
   ============================================ */
.floating-buttons-wrapper {
  position: fixed;
  right: 30px;
  bottom: 2%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1020;
}

/* ============================================
   BACK TO TOP BUTTON - BLUE
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2%;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1020;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .back-to-top {
    bottom: 2%;
    right: 20px;
  }
}

@media (max-width: 575px) {
  .back-to-top {
    bottom: 2%;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* ============================================
   FLOATING SUBSCRIBE BELL - GREEN, ABOVE BACK-TO-TOP
   ============================================ */
.subscribe-bell {
  position: fixed;
  bottom: calc(2% + 65px);
  right: 30px;
  z-index: 1020;
}

.subscribe-bell-btn {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: bell-pulse 2s infinite;
}

.subscribe-bell-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes bell-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Bell ring animation */
.subscribe-bell-btn i {
  animation: bell-ring 4s infinite;
}

@keyframes bell-ring {
  0%, 100% {
    transform: rotate(0);
  }
  5% {
    transform: rotate(15deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  15% {
    transform: rotate(10deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  25% {
    transform: rotate(0);
  }
}

@media (max-width: 991px) {
  .subscribe-bell {
    bottom: calc(2% + 60px);
    right: 20px;
  }
}

@media (max-width: 575px) {
  .subscribe-bell {
    bottom: calc(2% + 55px);
    right: 15px;
  }

  .subscribe-bell-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Subscribe Modal Styling */
.subscribe-modal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.subscribe-modal .modal-header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  padding: 1.5rem;
}

.subscribe-modal .modal-header .modal-title,
.subscribe-modal .modal-header h5,
.subscribe-modal .modal-header p {
  color: #ffffff !important;
}

.subscribe-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.subscribe-modal .modal-body {
  padding: 2rem;
}

.subscribe-modal .form-control {
  border-radius: 10px;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.subscribe-modal .form-control:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.subscribe-modal .btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.subscribe-modal .btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* OTP Input Styling */
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-inputs input {
  width: 50px;
  height: 55px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.otp-inputs input:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
  outline: none;
}

@media (max-width: 575px) {
  .otp-inputs input {
    width: 45px;
    height: 50px;
    font-size: 1.25rem;
  }

  .subscribe-modal .modal-body {
    padding: 1.5rem;
  }
}

/* Currency symbol spacing fix */
.currency-symbol {
  margin-right: 2px;
}

/* Language Selector in Header */
.language-selector-wrapper .language_switcher {
  padding-right: 20px;
}

.language-selector-wrapper .language_switcher__caption {
  padding: 6px 12px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  background: #fff;
}

.language-selector-wrapper .language_switcher__caption:hover {
  background: #f8f9fa;
}

/* RTL Support for Arabic */
html[dir="rtl"] .me-1, html[dir="rtl"] .me-2, html[dir="rtl"] .me-3 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

html[dir="rtl"] .ms-1, html[dir="rtl"] .ms-2, html[dir="rtl"] .ms-3 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

html[dir="rtl"] .text-start {
  text-align: right !important;
}

html[dir="rtl"] .text-end {
  text-align: left !important;
}

html[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

html[dir="rtl"] .dropdown-menu {
  text-align: right;
}

html[dir="rtl"] .dropdown-item i {
  margin-right: 0 !important;
  margin-left: 0.5rem;
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .subscribe-bell {
  right: auto;
  left: 30px;
}

@media (max-width: 575px) {
  html[dir="rtl"] .back-to-top {
    left: 15px;
  }
  html[dir="rtl"] .subscribe-bell {
    left: 15px;
  }
}