anycoder-c74ff958 / index.html
kirillvk's picture
Upload folder using huggingface_hub
8c07aae verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elena Solovyeva | Psychologist & Psychotherapist</title>
<!-- Fonts: Playfair Display for elegance, Lato for readability -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet">
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* --- CSS VARIABLES & RESET --- */
:root {
/* Palette: Calm Sage, Soft Cream, Muted Gold */
--primary-color: #6B8E78; /* Sage Green */
--primary-dark: #4A654C;
--accent-color: #D4AF37; /* Muted Gold */
--text-dark: #2C3E50;
--text-light: #7F8C8D;
--bg-cream: #FDFBF7;
--glass-bg: rgba(255, 255, 255, 0.65);
--glass-border: rgba(255, 255, 255, 0.8);
--shadow-subtle: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
--font-heading: 'Playfair Display', serif;
--font-body: 'Lato', sans-serif;
--container-width: 1200px;
--header-height: 80px;
--transition: all 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
color: var(--text-dark);
background-color: var(--bg-cream);
background-image:
radial-gradient(at 0% 0%, hsla(153,30%,92%,1) 0, transparent 50%),
radial-gradient(at 100% 0%, hsla(40,20%,92%,1) 0, transparent 50%);
line-height: 1.7;
overflow-x: hidden;
}
/* --- UTILITIES --- */
.container {
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}
.section-title {
font-family: var(--font-heading);
font-size: 2.5rem;
text-align: center;
margin-bottom: 1rem;
color: var(--primary-dark);
position: relative;
display: inline-block;
left: 50%;
transform: translateX(-50%);
}
.section-subtitle {
text-align: center;
color: var(--text-light);
margin-bottom: 4rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.btn {
display: inline-block;
padding: 12px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 700;
transition: var(--transition);
cursor: pointer;
border: none;
font-size: 0.95rem;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
box-shadow: 0 4px 15px rgba(107, 142, 120, 0.4);
}
.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
}
.btn-outline {
border: 2px solid var(--primary-color);
color: var(--primary-color);
background: transparent;
}
.btn-outline:hover {
background-color: var(--primary-color);
color: white;
}
/* --- GLASSMORPHISM COMPONENT --- */
.glass-panel {
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
box-shadow: var(--shadow-subtle);
border-radius: 20px;
}
/* --- HEADER --- */
header {
position: fixed;
top: 0;
width: 100%;
height: var(--header-height);
z-index: 1000;
transition: var(--transition);
display: flex;
align-items: center;
}
header.scrolled {
background: rgba(253, 251, 247, 0.85);
backdrop-filter: blur(15px);
box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.logo {
font-family: var(--font-heading);
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-dark);
text-decoration: none;
}
.logo span {
color: var(--accent-color);
}
.nav-links {
display: flex;
gap: 30px;
list-style: none;
}
.nav-links a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
position: relative;
transition: var(--transition);
}
.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: var(--accent-color);
transition: var(--transition);
}
.nav-links a:hover {
color: var(--primary-color);
}
.nav-links a:hover::after {
width: 100%;
}
.cta-header {
display: none;
}
.hamburger {
display: none;
cursor: pointer;
font-size: 1.5rem;
color: var(--primary-dark);
}
/* --- HERO SECTION --- */
.hero {
height: 100vh;
display: flex;
align-items: center;
position: relative;
padding-top: var(--header-height);
overflow: hidden;
}
.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* Nature/Peaceful image */
background: url('https://picsum.photos/seed/naturepeace/1920/1080') no-repeat center center/cover;
z-index: -2;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(107, 142, 120, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
z-index: -1;
}
.hero-content {
max-width: 800px;
padding: 20px;
}
.hero h1 {
font-family: var(--font-heading);
font-size: 4rem;
line-height: 1.1;
margin-bottom: 20px;
color: var(--primary-dark);
text-shadow: 0 2px 10px rgba(255,255,255,0.5);
}
.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
color: var(--text-dark);
max-width: 600px;
}
/* --- ABOUT SECTION --- */
.about {
padding: 100px 0;
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.about-img-wrapper {
position: relative;
border-radius: 30px;
overflow: hidden;
box-shadow: var(--shadow-subtle);
}
.about-img-wrapper img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s ease;
}
.about-img-wrapper:hover img {
transform: scale(1.03);
}
.about-text h3 {
font-family: var(--font-heading);
font-size: 2rem;
margin-bottom: 20px;
color: var(--primary-dark);
}
.signature {
font-family: 'Brush Script MT', cursive;
font-size: 2rem;
color: var(--accent-color);
margin-top: 20px;
}
/* --- SERVICES SECTION --- */
.services {
padding: 100px 0;
background: linear-gradient(to bottom, var(--bg-cream), rgba(107, 142, 120, 0.05));
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.service-card {
padding: 40px 30px;
text-align: center;
transition: var(--transition);
position: relative;
overflow: hidden;
}
.service-card:hover {
transform: translateY(-10px);
background: rgba(255, 255, 255, 0.8);
}
.service-icon {
font-size: 3rem;
color: var(--accent-color);
margin-bottom: 20px;
}
.service-card h3 {
font-family: var(--font-heading);
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--primary-dark);
}
.service-card p {
font-size: 0.95rem;
color: var(--text-light);
}
/* --- PHILOSOPHY SECTION --- */
.philosophy {
padding: 100px 0;
}
.philosophy-content {
display: flex;
flex-direction: column;
gap: 20px;
}
.quote-box {
font-family: var(--font-heading);
font-size: 1.8rem;
text-align: center;
font-style: italic;
color: var(--primary-dark);
padding: 40px;
position: relative;
}
.quote-box::before {
content: '\f10d';
font-family: "Font Awesome 6 Free";
font-weight: 900;
position: absolute;
top: 10px;
left: 50%;
transform: translateX(-50%);
font-size: 2rem;
color: var(--accent-color);
opacity: 0.3;
}
/* --- TESTIMONIALS --- */
.testimonials {
padding: 100px 0;
background-color: #F4F1EA;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.testimonial-card {
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.stars {
color: #FFD700;
margin-bottom: 15px;
}
.testimonial-text {
font-style: italic;
margin-bottom: 20px;
}
.client-info {
display: flex;
align-items: center;
gap: 15px;
}
.client-info img {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
}
.client-details h4 {
font-size: 1rem;
color: var(--primary-dark);
}
.client-details span {
font-size: 0.85rem;
color: var(--text-light);
}
/* --- CONTACT SECTION --- */
.contact {
padding: 100px 0;
}
.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 50px;
}
.contact-info-item {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 25px;
}
.contact-info-item i {
width: 40px;
height: 40px;
background: rgba(107, 142, 120, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
}
.contact-form {
padding: 40px;
}
.form-group {
margin-bottom: 20px;
position: relative;
}
.form-control {
width: 100%;
padding: 15px;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 10px;
background: rgba(255,255,255,0.8);
font-family: var(--font-body);
font-size: 1rem;
transition: var(--transition);
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
background: white;
box-shadow: 0 0 0 4px rgba(107, 142, 120, 0.1);
}
/* --- FOOTER --- */
footer {
background-color: var(--primary-dark);
color: white;
padding: 60px 0 20px;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-col h4 {
font-family: var(--font-heading);
font-size: 1.2rem;
margin-bottom: 20px;
color: var(--accent-color);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 10px;
}
.footer-links a {
color: rgba(255,255,255,0.8);
text-decoration: none;
transition: var(--transition);
}
.footer-links a:hover {
color: white;
padding-left: 5px;
}
.copyright {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 0.9rem;
color: rgba(255,255,255,0.6);
}
.anycoder-link {
color: rgba(255,255,255,0.6);
text-decoration: none;
font-weight: bold;
border-bottom: 1px dotted rgba(255,255,255,0.6);
}
.anycoder-link:hover {
color: white;
border-bottom-color: white;
}
/* --- TOAST NOTIFICATION --- */
.toast {
position: fixed;
bottom: 30px;
right: 30px;
background: white;
padding: 20px 25px;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
display: flex;
align-items: center;
gap: 15px;
transform: translateY(100px);
opacity: 0;
transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
z-index: 2000;
border-left: 5px solid var(--primary-color);
}
.toast.show {
transform: translateY(0);
opacity: 1;
}
.toast i {
color: var(--primary-color);
font-size: 1.5rem;
}
/* --- ANIMATIONS --- */
.fade-in-section {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
will-change: opacity, visibility;
}
.fade-in-section.is-visible {
opacity: 1;
transform: none;
}
/* --- RESPONSIVE --- */
@media (max-width: 992px) {
.hero h1 { font-size: 3rem; }
.about-grid, .contact-wrapper { grid-template-columns: 1fr; }
.about-img-wrapper { order: -1; } /* Image on top on mobile */
}
@media (max-width: 768px) {
.nav-links {
position: fixed;
top: var(--header-height);
right: -100%;
width: 70%;
height: calc(100vh - var(--header-height));
background: white;
flex-direction: column;
padding: 40px;
transition: 0.4s ease;
box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
.nav-links.active {
right: 0;
}
.hamburger {
display: block;
}
.cta-header { display: block; margin-left: 20px; }
.hero h1 { font-size: 2.5rem; }
.section-title { font-size: 2rem; }
}
</style>
</head>
<body>
<!-- Header -->
<header id="header">
<div class="container nav-container">
<a href="#" class="logo">Elena <span>Solovyeva</span></a>
<ul class="nav-links" id="navLinks">
<li><a href="#about" onclick="toggleMenu()">About</a></li>
<li><a href="#services" onclick="toggleMenu()">Services</a></li>
<li><a href="#philosophy" onclick="toggleMenu()">Philosophy</a></li>
<li><a href="#reviews" onclick="toggleMenu()">Reviews</a></li>
<li><a href="#contact" onclick="toggleMenu()">Contact</a></li>
</ul>
<div style="display: flex; align-items: center;">
<a href="#contact" class="btn btn-primary cta-header">Book Now</a>
<div class="hamburger" id="hamburger">
<i class="fas fa-bars"></i>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="hero-bg"></div>
<div class="hero-overlay"></div>
<div class="container hero-content fade-in-section">
<h1>Find your inner peace<br>and strength.</h1>
<p>Professional psychological support tailored to your unique journey. Together, we will explore the depths of your mind and uncover the solutions hidden within.</p>
<a href="#contact" class="btn btn-primary">Start Your Journey</a>
<a href="#services" class="btn btn-outline" style="margin-left: 10px;">Learn More</a>
</div>
</section>
<!-- About Section -->
<section id="about" class="about">
<div class="container">
<div class="about-grid fade-in-section">
<div class="about-img-wrapper glass-panel">
<!-- Placeholder for Elena's photo -->
<img src="https://picsum.photos/seed/elena_psychologist/600/700" alt="Elena Solovyeva">
</div>
<div class="about-text">
<h3>Elena Solovyeva</h3>
<p style="color: var(--primary-color); font-weight: 700; margin-bottom: 10px;">Clinical Psychologist & Psychotherapist</p>
<p>Hello, I am Elena. With over 10 years of experience in the field of psychotherapy, my goal is to create a safe, non-judgmental space where you can freely express yourself.</p>
<br>
<p>I believe that every individual holds the key to their own healing. My approach combines evidence-based techniques with a deep humanistic understanding of emotions. Whether you are dealing with anxiety, relationship issues, or simply seeking personal growth, I am here to walk this path with you.</p>
<div class="signature">Elena Solovyeva</div>
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section id="services" class="services">
<div class="container">
<h2 class="section-title fade-in-section">My Services</h2>
<p class="section-subtitle fade-in-section">Comprehensive care designed to address your specific needs with sensitivity and professionalism.</p>
<div class="services-grid fade-in-section">
<!-- Service 1 -->
<div class="service-card glass-panel">
<div class="service-icon"><i class="fas fa-user-friends"></i></div>
<h3>Individual Therapy</h3>
<p>One-on-one sessions focusing on personal growth, anxiety management, and emotional regulation. A confidential space to heal.</p>
</div>
<!-- Service 2 -->
<div class="service-card glass-panel">
<div class="service-icon"><i class="fas fa-heart"></i></div>
<h3>Couples Counseling</h3>
<p>Rebuilding trust and improving communication. We work together to resolve conflicts and strengthen your bond.</p>
</div>
<!-- Service 3 -->
<div class="service-card glass-panel">
<div class="service-icon"><i class="fas fa-laptop-house"></i></div>
<h3>Online Consultations</h3>
<p>Professional therapy from the comfort of your home. Secure video sessions available in English and Russian.</p>
</div>
<!-- Service 4 -->
<div class="service-card glass-panel">
<div class="service-icon"><i class="fas fa-brain"></i></div>
<h3>Cognitive Behavioral</h3>
<p>Targeted CBT techniques to help you identify negative thought patterns and replace them with positive, constructive ones.</p>
</div>
</div>
</div>
</section>
<!-- Philosophy Section -->
<section id="philosophy" class="philosophy">
<div class="container">
<div class="quote-box glass-panel fade-in-section">
"You cannot control the waves, but you can learn how to surf."
</div>
<p class="section-subtitle fade-in-section">
My approach is integrative. I draw from psychodynamic, humanistic, and cognitive-behavioral traditions to create a personalized treatment plan. I believe in the resilience of the human spirit and the power of a trusting therapeutic alliance.
</p>
</div>
</section>
<!-- Reviews Section -->
<section id="reviews" class="testimonials">
<div class="container">
<h2 class="section-title fade-in-section">Client Stories</h2>
<div class="testimonial-grid fade-in-section">
<!-- Review 1 -->
<div class="testimonial-card glass-panel">
<div class="stars">
<i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
</div>
<p class="testimonial-text">"Elena has a rare gift for making you feel heard. After just a few sessions, I felt a huge weight lifted off my shoulders. Highly recommended."</p>
<div class="client-info">
<img src="https://picsum.photos/seed/user1/100/100" alt="Client">
<div class="client-details">
<h4>Anna M.</h4>
<span>Individual Therapy</span>
</div>
</div>
</div>
<!-- Review 2 -->
<div class="testimonial-card glass-panel">
<div class="stars">
<i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i>
</div>
<p class="testimonial-text">"The online sessions are incredibly convenient and the quality of care is top-notch. Elena helped me navigate a difficult divorce with grace."</p>
<div class="client-info">
<img src="https://picsum.photos/seed/user2/100/100" alt="Client">
<div class="client-details">
<h4>Michael R.</h4>
<span>Couples Counseling</span>
</div>
</div>
</div>
<!-- Review 3 -->
<div class="testimonial-card glass-panel">
<div class="stars">
<i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star"></i><i class="fas fa-star-half-alt"></i>
</div>
<p class="testimonial-text">"A calm and professional environment. Elena's insights into my behavior patterns were eye-opening. I am grateful for her guidance."</p>
<div class="client-info">
<img src="https://picsum.photos/seed/user3/100/100" alt="Client">
<div class="client-details">
<h4>Sarah Jenkins</h4>
<span>Online Consultations</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="contact">
<div class="container">
<h2 class="section-title fade-in-section">Get in Touch</h2>
<p class="section-subtitle fade-in-section">The first step towards change is the most important one. Send me a message to schedule your consultation.</p>
<div class="contact-wrapper fade-in-section">
<!-- Contact Info -->
<div class="contact-info glass-panel">
<div class="contact-info-item">
<i class="fas fa-map-marker-alt"></i>
<div>
<h4>Address</h4>
<p>St. Petersburg, Russia<br>Online Worldwide</p>
</div>
</div>
<div class="contact-info-item">
<i class="fas fa-phone-alt"></i>
<div>
<h4>Phone</h4>
<p>+7 (999) 000-00-00</p>
</div>
</div>
<div class="contact-info-item">
<i class="fas fa-envelope"></i>
<div>
<h4>Email</h4>
<p>elena.solovyeva@example.com</p>
</div>
</div>
<div class="contact-info-item">
<i class="fas fa-clock"></i>
<div>
<h4>Working Hours</h4>
<p>Mon - Fri: 10:00 - 20:00</p>
</div>
</div>
</div>
<!-- Contact Form -->
<form class="contact-form glass-panel" id="bookingForm">
<div class="form-group">
<label for="name">Your Name</label>
<input type="text" id="name" class="form-control" placeholder="John Doe" required>
</div>
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" class="form-control" placeholder="john@example.com" required>
</div>
<div class="form-group">
<label for="service">Interested Service</label>
<select id="service" class="form-control">
<option>Individual Therapy</option>
<option>Couples Counseling</option>
<option>Online Consultations</option>
<option>Other</option>
</select>
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" rows="4" class="form-control" placeholder="How can I help you?" required></textarea>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%;">Send Message</button>
</form>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<div class="footer-grid">
<div class="footer-col">
<a href="#" class="logo" style="color: white; margin-bottom: 20px; display: block;">Elena <span>Solovyeva</span></a>
<p style="color: rgba(255,255,255,0.7); font-size: 0.9rem;">
Providing professional psychological support with warmth and expertise.
</p>
</div>
<div class="footer-col">
<h4>Quick Links</h4>
<ul class="footer-links">
<li><a href="#about">About Me</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#reviews">Testimonials</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<div class="footer-col">
<h4>Legal</h4>
<ul class="footer-links">
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
<li><a href="#">Confidentiality</a></li>
</ul>
</div>
</div>
<div class="copyright">
&copy; 2023 Elena Solovyeva. All rights reserved.
<br>
<a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">Built with anycoder</a>
</div>
</div>
</footer>
<!-- Toast Notification -->
<div class="toast" id="toast">
<i class="fas fa-check-circle"></i>
<div>
<h4 style="margin-bottom: 2px;">Message Sent!</h4>
<p style="font-size: 0.85rem; color: #777;">I will get back to you shortly.</p>
</div>
</div>
<!-- JavaScript -->
<script>
// --- Header Scroll Effect ---
const header = document.getElementById('header');
window.addEventListener('scroll', () => {
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// --- Mobile Menu Toggle ---
const hamburger = document.getElementById('hamburger');
const navLinks = document.getElementById('navLinks');
const hamburgerIcon = hamburger.querySelector('i');
hamburger.addEventListener('click', () => {
navLinks.classList.toggle('active');
// Toggle icon between bars and times (X)
if (navLinks.classList.contains('active')) {
hamburgerIcon.classList.remove('fa-bars');
hamburgerIcon.classList.add('fa-times');
} else {
hamburgerIcon.classList.remove('fa-times');
hamburgerIcon.classList.add('fa-bars');
}
});
function toggleMenu() {
if (window.innerWidth <= 768) {
navLinks.classList.remove('active');
hamburgerIcon.classList.remove('fa-times');
hamburgerIcon.classList.add('fa-bars');
}
}
// --- Scroll Animation Observer ---
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.1
};
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('is-visible');
observer.unobserve(entry.target); // Only animate once
}
});
}, observerOptions);
document.querySelectorAll('.fade-in-section').forEach(section => {
observer.observe(section);
});
// --- Form Handling (No Alerts) ---
const form = document.getElementById('bookingForm');
const toast = document.getElementById('toast');
let toastTimeout;
form.addEventListener('submit', (e) => {
e.preventDefault();
// Simulate form submission
const btn = form.querySelector('button');
const originalText = btn.innerText;
btn.innerText = 'Sending...';
btn.disabled = true;
setTimeout(() => {
// Reset form
form.reset();
btn.innerText = originalText;
btn.disabled = false;
// Show Toast
toast.classList.add('show');
// Hide Toast after 4 seconds
clearTimeout(toastTimeout);
toastTimeout = setTimeout(() => {
toast.classList.remove('show');
}, 4000);
}, 1500);
});
</script>
</body>
</html>