/* Basic Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
  }
  
  #newsletter-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    width: 400px;
    max-width: 90%;
    /* Enhanced shadow */
    box-shadow: 0px 20px 40px rgba(0.5, 0.5, 0.5, 0.5);
    z-index: 1000;
    animation: fadeIn 0.6s ease-in-out;
    border-color: black;
}
  .popup-content {
    position: relative;
    text-align: center;
    padding: 20px;
  }
  
  h2 {
    font-size: 24px;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
  }
  
  label {
    display: block;
    margin-bottom: 10px;
  }
  
  input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  
  input[type="email"]:focus {
    border-color: #4a90e2;
    outline: none;
  }
  
  button[type="submit"] {
    background: linear-gradient(135deg, #4A90E2, #3A78B1);
    color: white;
    font-size: 18px;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    transition: background 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background: linear-gradient(135deg, #3A78B1, #4A90E2);
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .close-btn:hover {
    color: #4A90E2;
  }
  
  /* Icon Container for Email Icon */
  .icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
  }
  
  .icon-container img {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  /* Terms & Conditions Styling */
  .terms {
    text-align: left;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
  }
  
  .terms a {
    color: #4A90E2;
    text-decoration: none;
  }
  
  .terms a:hover {
    text-decoration: underline;
  }
  
  /* Floating Icon Styling */
  #popup-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1001;
  }
  
  #popup-icon img {
    width: 100%;
    height: 100%;
  }
  
  /* Animation */
  .fade-in {
    animation: fadeIn 0.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    #newsletter-popup {
      width: 90%;
      padding: 20px;
    }
  
    h2 {
      font-size: 20px;
    }
  
    p {
      font-size: 14px;
    }
  
    button[type="submit"] {
      font-size: 16px;
      padding: 10px;
    }
  }
  /* Floating Icon Styling */
#popup-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease; /* Smooth transition for scaling */
}

#popup-icon:hover {
  transform: scale(1.2); /* Increases the size of the icon on hover */
}

#popup-icon img {
  width: 100%;
  height: 100%;
}
