/* Global styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
  }
  
  header {
    background-color: #333;
    padding: 10px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header nav ul {
    list-style-type: none;
    display: flex;
  }
  
  header nav ul li {
    margin: 0 15px;
  }
  
  header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
  }
  
  header nav ul li a:hover {
    color: #ff6600;
  }
  
  .hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(45deg, #ff6600, #ff9a3d);
    color: white;
    animation: fadeIn 2s ease-in-out;
  }
  
  .hero h2 {
    font-size: 48px;
    font-weight: 600;
  }
  
  .hero p {
    font-size: 18px;
    margin: 20px 0;
  }
  
  .cta {
    padding: 10px 30px;
    background-color: #ff6600;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .cta:hover {
    background-color: #e65c00;
  }
  
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  /* Fade-in animation for hero section */
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  

 /* Splash Screen styling */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
  }
  
  /* Loader and Loading Bar */
  .loader {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: loadingText 1.5s infinite;
  }
  
  @keyframes loadingText {
    0% {
      content: 'Loading.';
    }
    25% {
      content: 'Loading..';
    }
    50% {
      content: 'Loading...';
    }
    75% {
      content: 'Loading....';
    }
    100% {
      content: 'Loading.....';
    }
  }
  
  .loading-bar {
    width: 80%;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
  }
  
  .loading-bar-inner {
    height: 100%;
    background-color: #ff6600;
    width: 0;
    border-radius: 5px;
    transition: width 0.05s linear;
  }

  /* Search Section Styling */
.domain-search {
    text-align: center;
    padding: 50px 20px;
    background: #f8f8f8;
    margin-top: 50px;
  }
  
  .domain-search h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .domain-search input {
    width: 60%;
    padding: 10px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: border 0.3s;
  }
  
  .domain-search input:focus {
    border-color: #ff6600;
    outline: none;
  }
  
  .domain-search button {
    padding: 10px 30px;
    background-color: #ff6600;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .domain-search button:hover {
    background-color: #e65c00;
  }
  
  /* Splash Screen styling for search */
  #searchSplashScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
  }
  
  /* Loader and Loading Bar */
  .loader {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    animation: loadingText 1s infinite; /* Faster animation */
  }
  
  @keyframes loadingText {
    0% {
      content: 'Searching...';
    }
    25% {
      content: 'Searching... .';
    }
    50% {
      content: 'Searching... ..';
    }
    75% {
      content: 'Searching... ...';
    }
    100% {
      content: 'Searching... ....';
    }
  }
  
  .loading-bar {
    width: 80%;
    height: 10px;
    background-color: #555;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
  }
  
  .loading-bar-inner {
    height: 100%;
    background-color: #ff6600;
    width: 0;
    border-radius: 5px;
    transition: width 0.02s linear; /* Faster speed */
  }
  
  /* Results Styling */
  #results {
    text-align: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
    margin-top: 50px;
  }
  
  #domainAvailability {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  #similarDomains {
    font-size: 18px;
    color: #888;
  }
  