/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Blur effect for the backdrop */
    animation: fadeIn 0.3s ease; /* Fade-in animation */
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    animation: scaleIn 0.3s ease; /* Scale-in animation */
  }
  
  @keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .modal-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .modal-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px); /* Lift effect on hover */
  }
  
  .modal-btn:active {
    transform: translateY(0); /* Reset on click */
  }
  
  .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
  }
  
  .close:hover {
    color: #000;
  }
  
  /* Glass Morphism Effect (Optional) */
  .modal-content.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Gradient Background (Optional) */
  .modal-content.gradient {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
  }
  
  .modal-content.gradient .close {
    color: #fff;
  }
  
  .modal-content.gradient .modal-btn {
    background-color: #fff;
    color: #2575fc;
  }
  
  .modal-content.gradient .modal-btn:hover {
    background-color: #f0f0f0;
  }

  /* Email Form Modal Styling */
#emailModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease;
  }
  
  #emailModal .modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  #emailModal .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  #emailModal .modal-content textarea,
  #emailModal .modal-content input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  #emailModal .modal-content textarea:focus,
  #emailModal .modal-content input:focus {
    border-color: #007bff;
  }
  
  #emailModal .modal-content textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  #emailModal .modal-content button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  #emailModal .modal-content button[type="submit"]:hover {
    background-color: #F50057;
    transform: translateY(-2px);
  }
  
  #emailModal .modal-content button[type="submit"]:active {
    transform: translateY(0);
  }
  
  /* Notification Styling */
  #notification {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  #notification p {
    margin: 0;
  }

  /*Discover How */
  /* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s ease;
  }
  
  @keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .modal-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  .modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-content textarea,
  .modal-content input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .modal-content textarea:focus,
  .modal-content input:focus {
    border-color: #F50057;
  }
  
  .modal-content textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .modal-content button[type="submit"] {
    background-color: #F50057;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .modal-content button[type="submit"]:hover {
    background-color: #F50057;
    transform: translateY(-2px);
  }
  
  .modal-content button[type="submit"]:active {
    transform: translateY(0);
  }
  
  /* Notification Styling */
  .notification {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease;
  }
  
  .notification p {
    margin: 0;
  }
  
  /* Close Button */
  .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
  }
  
  .close:hover {
    color: #000;
  }


  .contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .contact-image {
    flex: 1;
    margin-right: 50px; /* Adjust spacing between image and form */
  }
  
  .contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .form-container {
    flex: 1;
    max-width: 600px;
    margin: 0;
  }

  /* Contact Section */
.contact-form-section {
  padding: 60px 20px;
  background-image: url("../images/footer-bg.png"), var(--gradient-1);
  color: #fff;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* Image Section */
.contact-image {
  flex: 1;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
}

.image-overlay h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.image-overlay p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Form Container */
.form-container {
  flex: 1;
  max-width: 600px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: rgb(245, 20, 88);
}

.form-container p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Form Group */
.form-group {
  margin-bottom: 25px;
  text-align: left;
  position: relative;
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 1rem;
  color: black;
  background-color: transparent;
  padding: 0 5px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 2px solid #dddddd80;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: white;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -15px;
  left: 10px;
  font-size: 0.9rem;
  color: rgb(245, 20, 88);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Buttons */
.submit-btn,
.clear-btn {
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn {
  background-color: rgb(245, 20, 88);
  color: #fff;
}

.submit-btn:hover {
  background-color: rgb(200, 10, 70);
}

.clear-btn {
  background-color: #ddd;
  color: #333;
  margin-left: 10px;
}

.clear-btn:hover {
  background-color: #ccc;
}

/* Notification */
.notification {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  border-radius: 8px;
  color: #00ff00;
  text-align: center;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-image {
    margin-bottom: 30px;
  }

  .form-container {
    width: 100%;
    padding: 20px;
  }
}
  
  /* Character Counter */
  .char-counter {
    font-size: 0.9rem;
    color: #777;
    text-align: right;
    margin-top: 5px;
  }
  
  /* Submit Button */
  .submit-btn {
    background-color: rgb(245, 20, 88);
    color: #fff;
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .submit-btn:hover {
    background-color: hsl(275, 54%, 33%);
    transform: translateY(-2px);
  }
  
  .submit-btn:active {
    transform: translateY(0);
  }
  
  /* Loading Spinner */
  .loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Notification */
  .notification {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .notification p {
    margin: 0;
  }
  
  /* Clear Button */
  .clear-btn {
    background-color: hsl(275, 54%, 33%);
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
  }
  
  .clear-btn:hover {
    background-color: hsl(335, 87%, 53%);
  }

  /*Firebase Liking*/
  /* Like and Share Buttons */
.like,
.share {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.like:hover,
.share:hover {
  color: #F50057;
}

.like-count {
  font-size: 0.9rem;
  color: #333;
}

/* Visitor Count */
.visitor-count {
  margin-top: 20px;
  font-size: 1rem;
  color: #555;
  text-align: center;
}


/*Notif*/
/* Notification Styling */
.notification {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    z-index: 1000;
    animation: slideIn 0.5s ease;
  }
  
  .notification.success {
    background-color: #28a745;
  }
  
  .notification.error {
    background-color: #dc3545;
  }
  
  .notification.info {
    background-color: #17a2b8;
  }
  
  .notification p {
    margin: 0;
  }
  
  /* Progress Bar */
  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 0;
  }
  
  /* Animations */
  @keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  /* Toast Container */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
  
  /* Toast Styling */
  .toast {
    position: relative;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .toast.show {
    opacity: 1;
    transform: translateX(0);
  }
  
  .toast.success {
    background-color: #28a745;
  }
  
  .toast.error {
    background-color: #dc3545;
  }
  
  .toast.info {
    background-color: #17a2b8;
  }
  
  .toast p {
    margin: 0;
  }
  
  /* Progress Bar */
  .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    width: 0;
  }