DO YOU LOVE <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Political Sol - Latest Political News & Analysis</title>
<meta name="description" content="Political Sol brings you the latest political news, analysis, and insights. Stay informed with our comprehensive coverage of political events and developments.">
<meta name="keywords" content="political news, politics, government, elections, policy analysis, political commentary">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<style>
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.article-card:hover {
transform: translateY(-5px);
transition: all 0.3s ease;
}
.nav-link:hover {
color: #667eea;
transition: color 0.3s ease;
}
.social-btn:hover {
transform: scale(1.1);
transition: transform 0.2s ease;
}
/* Professional Button Animations */
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-secondary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.btn-secondary:active {
transform: translateY(0);
}
/* Pulse Animation for WhatsApp buttons */
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
}
}
/* Loading Spinner */
.loading-spinner {
width: 20px;
height: 20px;
border: 2px solid #ffffff;
border-top: 2px solid transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
display: inline-block;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Success Message Animation */
.success-message {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
animation: slideInUp 0.5s ease-out;
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Form Input Animations */
.slide-up {
transition: all 0.3s ease;
}
.slide-up:focus {
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(102, 126, 234, 0.2);
}
/* Bounce Animation for Social Icons */
.bounce-in {
animation: bounceIn 0.6s ease-out;
}
@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3);
}
50% {
opacity: 1;
transform: scale(1.05);
}
70% {
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}
/* Hover Glow Effect */
.glow-on-hover:hover {
box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
transition: all 0.3s ease;
}
/* Ripple Effect */
.ripple {
position: relative;
overflow: hidden;
}
.ripple:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.ripple:active:before {
width: 300px;
height: 300px;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="bg-white shadow-lg sticky top-0 z-50">
<div class="container mx-auto px-4">
<!-- Top Bar -->
<div class="gradient-bg text-white py-2 px-4 text-sm">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<span><i class="fas fa-envelope mr-2"></i>jahangirahmedkacher@gmail.com</span>
<span><i class="fas fa-phone mr-2"></i>+91 96221 02381</span>
</div>
<div class="flex space-x-3">
<a href="https://facebook.com" class="social-btn hover:text-blue-200"><i class="fab fa-facebook-f"></i></a>
<a href="https://twitter.com" class="social-btn hover:text-blue-200"><i class="fab fa-twitter"></i></a>
<a href="https://wa.me/919622102381" class="social-btn hover:text-green-200"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</div>
<!-- Main Navigation -->
<nav class="py-4">
<div class="flex justify-between items-center">
<div class="flex items-center">
<h1 class="text-3xl font-bold text-gray-800">Political <span class="text-purple-600">Sol</span></h1>
<span class="ml-3 text-sm text-gray-600 bg-gray-100 px-3 py-1 rounded-full">News & Analysis</span>
</div>
<!-- Desktop Menu -->
<div class="hidden md:flex space-x-8">
<a href="#home" class="nav-link text-gray-700 font-medium hover:text-purple-600">Home</a>
<a href="#about" class="nav-link text-gray-700 font-medium hover:text-purple-600">About Us</a>
<a href="#articles" class="nav-link text-gray-700 font-medium hover:text-purple-600">Articles</a>
<a href="#privacy" class="nav-link text-gray-700 font-medium hover:text-purple-600">Privacy Policy</a>
<a href="#disclaimer" class="nav-link text-gray-700 font-medium hover:text-purple-600">Disclaimer</a>
<a href="#contact" class="nav-link text-gray-700 font-medium hover:text-purple-600">Contact Us</a>
</div>
<!-- Mobile Menu Button -->
<button id="mobile-menu-btn" class="md:hidden text-gray-700">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden mt-4 pb-4">
<div class="flex flex-col space-y-3">
<a href="#home" class="nav-link text-gray-700 font-medium hover:text-purple-600">Home</a>
<a href="#about" class="nav-link text-gray-700 font-medium hover:text-purple-600">About Us</a>
<a href="#articles" class="nav-link text-gray-700 font-medium hover:text-purple-600">Articles</a>
<a href="#privacy" class="nav-link text-gray-700 font-medium hover:text-purple-600">Privacy Policy</a>
<a href="#disclaimer" class="nav-link text-gray-700 font-medium hover:text-purple-600">Disclaimer</a>
<a href="#contact" class="nav-link text-gray-700 font-medium hover:text-purple-600">Contact Us</a>
</div>
</div>
</nav>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Main Content Area -->
<div class="lg:col-span-2">
<!-- Home Section -->
<section id="home" class="mb-12">
<div class="gradient-bg text-white p-8 rounded-lg mb-8">
<h2 class="text-4xl font-bold mb-4">Welcome to Political Sol</h2>
<p class="text-xl opacity-90">Your trusted source for comprehensive political news, analysis, and insights. Stay informed with the latest developments in politics and governance.</p>
</div>
<!-- Featured Articles -->
<h3 class="text-2xl font-bold text-gray-800 mb-6">Latest Articles</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<article class="article-card bg-white rounded-lg shadow-md overflow-hidden">
<div class="h-48 bg-gradient-to-r from-blue-500 to-purple-600 flex items-center justify-center">
<i class="fas fa-newspaper text-white text-4xl"></i>
</div>
<div class="p-6">
<h4 class="text-xl font-bold text-gray-800 mb-3">Understanding Modern Political Dynamics</h4>
<p class="text-gray-600 mb-4">An in-depth analysis of contemporary political trends and their impact on society...</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">January 15, 2025</span>
<a href="#" class="btn-secondary bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700 text-sm font-medium inline-flex items-center ripple glow-on-hover">
Read More <i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</article>
<article class="article-card bg-white rounded-lg shadow-md overflow-hidden">
<div class="h-48 bg-gradient-to-r from-green-500 to-blue-600 flex items-center justify-center">
<i class="fas fa-vote-yea text-white text-4xl"></i>
</div>
<div class="p-6">
<h4 class="text-xl font-bold text-gray-800 mb-3">Electoral Reforms and Democracy</h4>
<p class="text-gray-600 mb-4">Exploring the importance of electoral reforms in strengthening democratic institutions...</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">January 12, 2025</span>
<a href="#" class="btn-secondary bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700 text-sm font-medium inline-flex items-center ripple glow-on-hover">
Read More <i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</article>
</div>
</section>
<!-- About Us Section -->
<section id="about" class="mb-12 bg-white p-8 rounded-lg shadow-md">
<h3 class="text-2xl font-bold text-gray-800 mb-6">About Political Sol</h3>
<div class="prose max-w-none">
<p class="text-gray-600 mb-4">Political Sol is dedicated to providing comprehensive, unbiased political news and analysis. Our mission is to keep citizens informed about the political landscape and help them make educated decisions.</p>
<h4 class="text-xl font-semibold text-gray-800 mb-3">Our Mission</h4>
<p class="text-gray-600 mb-4">To deliver accurate, timely, and insightful political coverage that empowers citizens with the knowledge they need to participate effectively in democratic processes.</p>
<h4 class="text-xl font-semibold text-gray-800 mb-3">Our Vision</h4>
<p class="text-gray-600 mb-4">To become the most trusted source for political news and analysis, fostering informed public discourse and strengthening democratic values.</p>
<h4 class="text-xl font-semibold text-gray-800 mb-3">Our Values</h4>
<ul class="text-gray-600 list-disc list-inside space-y-2">
<li>Accuracy and factual reporting</li>
<li>Unbiased and balanced coverage</li>
<li>Transparency in our editorial process</li>
<li>Commitment to democratic principles</li>
<li>Respect for diverse viewpoints</li>
</ul>
</div>
</section>
<!-- Articles Section -->
<section id="articles" class="mb-12">
<h3 class="text-2xl font-bold text-gray-800 mb-6">Recent Articles</h3>
<div class="space-y-6">
<article class="bg-white p-6 rounded-lg shadow-md">
<h4 class="text-xl font-bold text-gray-800 mb-3">Policy Analysis: Economic Reforms Impact</h4>
<p class="text-gray-600 mb-4">A comprehensive analysis of recent economic policy changes and their potential impact on various sectors of society...</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">January 10, 2025</span>
<span class="bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm">Economics</span>
</div>
</article>
<article class="bg-white p-6 rounded-lg shadow-md">
<h4 class="text-xl font-bold text-gray-800 mb-3">International Relations: Global Political Trends</h4>
<p class="text-gray-600 mb-4">Understanding the shifting dynamics in international politics and their implications for global stability...</p>
<div class="flex justify-between items-center">
<span class="text-sm text-gray-500">January 8, 2025</span>
<span class="bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-sm">International</span>
</div>
</article>
</div>
</section>
<!-- Privacy Policy Section -->
<section id="privacy" class="mb-12 bg-white p-8 rounded-lg shadow-md">
<h3 class="text-2xl font-bold text-gray-800 mb-6">Privacy Policy</h3>
<div class="prose max-w-none text-gray-600">
<p class="mb-4">At Political Sol, we are committed to protecting your privacy and ensuring the security of your personal information.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Information We Collect</h4>
<p class="mb-4">We may collect information you provide directly to us, such as when you subscribe to our newsletter, contact us, or interact with our content.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">How We Use Your Information</h4>
<ul class="list-disc list-inside mb-4 space-y-1">
<li>To provide and improve our services</li>
<li>To send you newsletters and updates (with your consent)</li>
<li>To respond to your inquiries and requests</li>
<li>To analyze website usage and improve user experience</li>
</ul>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Data Security</h4>
<p class="mb-4">We implement appropriate security measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Contact Us</h4>
<p>If you have any questions about this Privacy Policy, please contact us at jahangirahmedkacher@gmail.com</p>
</div>
</section>
<!-- Terms & Conditions Section -->
<section id="terms" class="mb-12 bg-white p-8 rounded-lg shadow-md">
<h3 class="text-2xl font-bold text-gray-800 mb-6">Terms & Conditions</h3>
<div class="prose max-w-none text-gray-600">
<p class="mb-4">By accessing and using Political Sol, you agree to comply with these terms and conditions.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Use of Content</h4>
<p class="mb-4">All content on this website is for informational purposes only. You may not reproduce, distribute, or use our content without explicit permission.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">User Conduct</h4>
<p class="mb-4">Users must not engage in any activity that could harm the website or other users, including posting offensive content or attempting to gain unauthorized access.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Limitation of Liability</h4>
<p class="mb-4">Political Sol shall not be liable for any direct, indirect, incidental, or consequential damages arising from your use of this website.</p>
</div>
</section>
<!-- Disclaimer Section -->
<section id="disclaimer" class="mb-12 bg-white p-8 rounded-lg shadow-md">
<h3 class="text-2xl font-bold text-gray-800 mb-6">Disclaimer</h3>
<div class="prose max-w-none text-gray-600">
<p class="mb-4">The information provided on Political Sol is for general informational purposes only. While we strive for accuracy, we make no warranties about the completeness, reliability, or accuracy of this information.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Editorial Independence</h4>
<p class="mb-4">Our editorial content is independent and not influenced by advertisers or external parties. Opinions expressed are those of the authors and do not necessarily reflect the views of Political Sol.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">External Links</h4>
<p class="mb-4">Our website may contain links to external sites. We are not responsible for the content or privacy practices of these external websites.</p>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Professional Advice</h4>
<p>The content on this website should not be considered as professional legal, financial, or political advice. Always consult with qualified professionals for specific guidance.</p>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="mb-12 bg-white p-8 rounded-lg shadow-md">
<h3 class="text-2xl font-bold text-gray-800 mb-6">Contact Us</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div>
<h4 class="text-lg font-semibold text-gray-800 mb-4">Get in Touch</h4>
<div class="space-y-4">
<div class="flex items-center">
<i class="fas fa-envelope text-purple-600 mr-3"></i>
<a href="mailto:jahangirahmedkacher@gmail.com" class="text-gray-600 hover:text-purple-600">jahangirahmedkacher@gmail.com</a>
</div>
<div class="flex items-center">
<i class="fas fa-phone text-purple-600 mr-3"></i>
<span class="text-gray-600">+91 96221 02381</span>
</div>
<div class="flex items-center">
<a href="https://wa.me/919622102381" target="_blank" class="btn-secondary bg-green-500 text-white px-4 py-2 rounded-lg hover:bg-green-600 inline-flex items-center pulse-animation ripple glow-on-hover">
<i class="fab fa-whatsapp mr-2"></i>Chat on WhatsApp
</a>
</div>
</div>
</div>
<div>
<h4 class="text-lg font-semibold text-gray-800 mb-4">Send us a Message</h4>
<form id="contactForm" class="space-y-4">
<input type="text" id="userName" placeholder="Your Name" required class="w-full p-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 slide-up glow-on-hover">
<input type="email" id="userEmail" placeholder="Your Email" required class="w-full p-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 slide-up glow-on-hover">
<textarea id="userMessage" placeholder="Your Message" rows="4" required class="w-full p-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 slide-up glow-on-hover"></textarea>
<button type="submit" id="submitBtn" class="btn-primary w-full text-white py-3 rounded-lg font-semibold ripple">
<span id="btnText">Send Message</span>
<span id="btnLoader" class="loading-spinner hidden ml-2"></span>
</button>
</form>
<div id="messageStatus" class="mt-4 hidden"></div>
<p class="text-sm text-green-600 mt-3 font-medium">✓ Real-time messaging - Choose Email or WhatsApp delivery</p>
</div>
</div>
</section>
</div>
<!-- Sidebar -->
<div class="lg:col-span-1">
<div class="sticky top-24 space-y-6">
<!-- Categories -->
<div class="bg-white p-6 rounded-lg shadow-md">
<h4 class="text-lg font-bold text-gray-800 mb-4">Categories</h4>
<div class="space-y-2">
<a href="#" class="block text-gray-600 hover:text-purple-600 py-2 border-b border-gray-100">Politics (15)</a>
<a href="#" class="block text-gray-600 hover:text-purple-600 py-2 border-b border-gray-100">Economics (8)</a>
<a href="#" class="block text-gray-600 hover:text-purple-600 py-2 border-b border-gray-100">International (12)</a>
<a href="#" class="block text-gray-600 hover:text-purple-600 py-2 border-b border-gray-100">Policy Analysis (6)</a>
<a href="#" class="block text-gray-600 hover:text-purple-600 py-2">Opinion (9)</a>
</div>
</div>
<!-- Recent Posts -->
<div class="bg-white p-6 rounded-lg shadow-md">
<h4 class="text-lg font-bold text-gray-800 mb-4">Recent Posts</h4>
<div class="space-y-4">
<div class="flex space-x-3">
<div class="w-16 h-16 bg-gradient-to-r from-purple-500 to-blue-600 rounded-lg flex items-center justify-center">
<i class="fas fa-chart-line text-white"></i>
</div>
<div class="flex-1">
<h5 class="text-sm font-semibold text-gray-800 mb-1">Economic Policy Updates</h5>
<p class="text-xs text-gray-500">Jan 14, 2025</p>
</div>
</div>
<div class="flex space-x-3">
<div class="w-16 h-16 bg-gradient-to-r from-green-500 to-teal-600 rounded-lg flex items-center justify-center">
<i class="fas fa-globe text-white"></i>
</div>
<div class="flex-1">
<h5 class="text-sm font-semibold text-gray-800 mb-1">Global Political Trends</h5>
<p class="text-xs text-gray-500">Jan 13, 2025</p>
</div>
</div>
</div>
</div>
<!-- Social Media -->
<div class="bg-white p-6 rounded-lg shadow-md">
<h4 class="text-lg font-bold text-gray-800 mb-4">Follow Us</h4>
<div class="flex space-x-3">
<a href="https://facebook.com" class="social-btn btn-secondary bg-blue-600 text-white p-3 rounded-lg hover:bg-blue-700 bounce-in ripple glow-on-hover">
<i class="fab fa-facebook-f"></i>
</a>
<a href="https://twitter.com" class="social-btn btn-secondary bg-blue-400 text-white p-3 rounded-lg hover:bg-blue-500 bounce-in ripple glow-on-hover">
<i class="fab fa-twitter"></i>
</a>
<a href="https://wa.me/919622102381" class="social-btn btn-secondary bg-green-500 text-white p-3 rounded-lg hover:bg-green-600 bounce-in pulse-animation ripple glow-on-hover">
<i class="fab fa-whatsapp"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h4 class="text-xl font-bold mb-4">Political Sol</h4>
<p class="text-gray-300 mb-4">Your trusted source for comprehensive political news and analysis.</p>
<div class="flex space-x-3">
<a href="https://facebook.com" class="social-btn text-gray-300 hover:text-white">
<i class="fab fa-facebook-f"></i>
</a>
<a href="https://twitter.com" class="social-btn text-gray-300 hover:text-white">
<i class="fab fa-twitter"></i>
</a>
<a href="https://wa.me/919622102381" class="social-btn text-gray-300 hover:text-white">
<i class="fab fa-whatsapp"></i>
</a>
</div>
</div>
<div>
<h5 class="text-lg font-semibold mb-4">Quick Links</h5>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-300 hover:text-white">Home</a></li>
<li><a href="#about" class="text-gray-300 hover:text-white">About Us</a></li>
<li><a href="#articles" class="text-gray-300 hover:text-white">Articles</a></li>
<li><a href="#contact" class="text-gray-300 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h5 class="text-lg font-semibold mb-4">Legal</h5>
<ul class="space-y-2">
<li><a href="#privacy" class="text-gray-300 hover:text-white">Privacy Policy</a></li>
<li><a href="#terms" class="text-gray-300 hover:text-white">Terms & Conditions</a></li>
<li><a href="#disclaimer" class="text-gray-300 hover:text-white">Disclaimer</a></li>
<li><a href="#legal" class="text-gray-300 hover:text-white">Legal Notice</a></li>
</ul>
</div>
<div>
<h5 class="text-lg font-semibold mb-4">Contact Info</h5>
<div class="space-y-2 text-gray-300">
<p><i class="fas fa-envelope mr-2"></i>jahangirahmedkacher@gmail.com</p>
<p><i class="fas fa-phone mr-2"></i>+91 96221 02381</p>
<a href="https://wa.me/919622102381" class="btn-secondary bg-green-500 text-white px-3 py-2 rounded-lg hover:bg-green-600 inline-flex items-center pulse-animation ripple glow-on-hover">
<i class="fab fa-whatsapp mr-2"></i>Chat on WhatsApp
</a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center">
<p class="text-gray-300">© 2025 Political Sol. All Rights Reserved.</p>
<p class="text-sm text-gray-400 mt-2">
<a href="#legal" class="hover:text-white">Legal Notice</a> |
<a href="#dmca" class="hover:text-white ml-2">DMCA</a> |
<span class="ml-2">Content protected under Creative Commons</span>
</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('mobile-menu-btn').addEventListener('click', function() {
const mobileMenu = document.getElementById('mobile-menu');
mobileMenu.classList.toggle('hidden');
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
// Close mobile menu if open
document.getElementById('mobile-menu').classList.add('hidden');
}
});
});
// Real-time contact form submission with professional animations
document.getElementById('contactForm').addEventListener('submit', function(e) {
e.preventDefault();
const submitBtn = document.getElementById('submitBtn');
const btnText = document.getElementById('btnText');
const btnLoader = document.getElementById('btnLoader');
const messageStatus = document.getElementById('messageStatus');
const userName = document.getElementById('userName').value.trim();
const userEmail = document.getElementById('userEmail').value.trim();
const userMessage = document.getElementById('userMessage').value.trim();
// Validate inputs
if (!userName || !userEmail || !userMessage) {
messageStatus.innerHTML = `
<div class="bg-red-500 text-white p-4 rounded-lg">
<div class="flex items-center">
<i class="fas fa-exclamation-triangle mr-2"></i>
<span class="font-semibold">Please fill in all fields!</span>
</div>
</div>
`;
messageStatus.classList.remove('hidden');
setTimeout(() => messageStatus.classList.add('hidden'), 3000);
return;
}
// Show loading state with animation
btnText.textContent = 'Processing...';
btnLoader.classList.remove('hidden');
submitBtn.disabled = true;
submitBtn.classList.add('opacity-75');
// Add shake animation to button
submitBtn.style.animation = 'pulse 0.5s ease-in-out';
// Process form in real-time
setTimeout(() => {
// Create properly formatted email content
const emailSubject = encodeURIComponent(`New Contact from ${userName} - Political Sol`);
const emailBody = encodeURIComponent(`Hello,
You have received a new message from your Political Sol website:
Name: ${userName}
Email: ${userEmail}
Message:
${userMessage}
---
This message was sent from Political Sol contact form.
Please reply directly to: ${userEmail}`);
// Create WhatsApp message
const whatsappMessage = encodeURIComponent(`🌟 *New Contact from Political Sol Website*
👤 *Name:* ${userName}
📧 *Email:* ${userEmail}
💬 *Message:*
${userMessage}
---
Sent via Political Sol contact form`);
const whatsappUrl = `https://wa.me/919622102381?text=${whatsappMessage}`;
const emailUrl = `mailto:jahangirahmedkacher@gmail.com?subject=${emailSubject}&body=${emailBody}`;
// Show success message with enhanced styling
messageStatus.innerHTML = `
<div class="success-message text-white p-6 rounded-lg shadow-lg">
<div class="flex items-center mb-4">
<div class="bg-white rounded-full p-2 mr-3">
<i class="fas fa-check text-green-600 text-lg"></i>
</div>
<div>
<h5 class="font-bold text-lg">Message Ready to Send!</h5>
<p class="text-sm opacity-90">Choose your preferred delivery method</p>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-3">
<a href="${emailUrl}" target="_blank"
class="btn-secondary bg-white text-green-600 px-4 py-3 rounded-lg hover:bg-gray-100 text-sm font-medium inline-flex items-center justify-center ripple glow-on-hover">
<i class="fas fa-envelope mr-2"></i>Send via Email
</a>
<a href="${whatsappUrl}" target="_blank"
class="btn-secondary bg-white text-green-600 px-4 py-3 rounded-lg hover:bg-gray-100 text-sm font-medium inline-flex items-center justify-center ripple glow-on-hover pulse-animation">
<i class="fab fa-whatsapp mr-2"></i>Send via WhatsApp
</a>
</div>
<div class="mt-4 text-center">
<p class="text-xs opacity-75">✓ Your message is formatted and ready to send</p>
<p class="text-xs opacity-75">✓ No data is stored on our servers</p>
</div>
</div>
`;
messageStatus.classList.remove('hidden');
// Reset form with animation
document.getElementById('contactForm').reset();
// Reset button state
btnText.textContent = 'Send Message';
btnLoader.classList.add('hidden');
submitBtn.disabled = false;
submitBtn.classList.remove('opacity-75');
submitBtn.style.animation = '';
// Auto-hide success message after 15 seconds
setTimeout(() => {
messageStatus.style.animation = 'slideInUp 0.5s ease-out reverse';
setTimeout(() => {
messageStatus.classList.add('hidden');
messageStatus.style.animation = '';
}, 500);
}, 15000);
}, 1500); // Realistic processing time
});
// Add loading animation for article cards
document.querySelectorAll('.article-card').forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.boxShadow = '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)';
});
card.addEventListener('mouseleave', function() {
this.style.boxShadow = '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)';
});
});
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'96d685537341ff66',t:'MTc1NDkwMjU5OC4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>
