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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f6f8f9 0%, #e5ebee 100%);
    scroll-behavior: smooth;
}

.hero-bg {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.hero-bg-full {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
}
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pricing-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: scale(1.05);
    border-color: #2575fc;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.wave {
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}
#small-card {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 50vw !important;      /* Full viewport width */
  max-width: 100vw !important;  /* Prevent max width limit */
  padding: 0 !important;        /* Remove side padding */
  margin: 0 auto !important;    /* Center if needed */
  box-sizing: border-box;    
}

#small-card > * {
  flex: 1 1 calc(25% - 16px); /* 4 cards per row minus gap */
  box-sizing: border-box;
}


.domain-item {
      text-align: center;
      padding: 0.6rem 1rem;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      font-size: 1.2rem;
      font-weight: 500;
      transition: background 0.3s ease;
    }
    
    .domain-item:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

  .domain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 1024px) {
  .domain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .domain-grid {
     display: none !important;
    grid-template-columns: repeat(3, 1fr);
  }
}
    
.message-box {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    opacity: 1;
    pointer-events: auto;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    opacity: 1;
    pointer-events: auto;
}
#messageBox {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* Style the selectedCountry div to look like input */
#selectedCountry {
  border: 1px solid #D1D5DB; /* gray-300 */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: white;
  font-size: 0.875rem; /* text-sm */
  transition: box-shadow 0.2s;
}

/* Add focus style */
#selectedCountry:focus, #selectedCountry.focus-visible, #selectedCountry:hover {
  outline: none;
  border-color: #2563EB; /* blue-600 */
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5); /* focus ring */
}

/* Style the flag image */
#selectedCountry img {
  width: 1.25rem; /* w-5 */
  height: 1.25rem; /* h-5 */
  border-radius: 0.125rem; /* rounded-sm */
}

/* Style the dropdown list */
#countryList {
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  background-color: white;
  max-height: 15rem; /* max-h-60 */
  overflow-y: auto;
  margin-top: 0.25rem;
  z-index: 50;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* Style each list item */
#countryList li {
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151; /* gray-700 */
}

#countryList li:hover {
  background-color: #F3F4F6; /* gray-100 */
}

/* Arrow icon alignment */
#selectedCountry svg {
  margin-left: auto;
  color: #6B7280; /* gray-400 */
  width: 1rem;
  height: 1rem;
}
