/*
Theme Name: Faizal Theme
Theme URI: #Faizal
Author: Faizal
Author URI: #Faizal
Description: A custom theme for WordPress with modern styling.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
Tags: custom, responsive, blog, modern
*/

:root {
	--primary-color: #4285F4;
	--secondary-color: #34A853;
	--accent-color: #25D366;
	--background-color: #F9F9F9;
	--card-color: rgba(255, 255, 255, 0.85);
	--text-color: #202124;
	--shadow-color: rgba(0, 0, 0, 0.1);
	--border-radius: 10px;
	--font-family: 'Roboto', sans-serif;
  }
  
  body {
	font-family: var(--font-family);
	margin: 0;
	padding: 0;
	color: var(--text-color);
	position: relative;
	overflow-x: hidden;
  }
  
  
  
  /* Navbar */
  .navbar-primary {
	background-color: var(--primary-color);
	margin-bottom: 2rem;
  }
  .navbar-primary .navbar-brand,
  .navbar-primary .nav-link {
	color: white;
  }
  .navbar-primary .nav-link:hover,
  .navbar-primary .nav-link:focus {
	color: #cce4ff;
  }
  .navbar-toggler-icon {
	filter: invert(1);
  }
  
  /* Dropdown submenu styling */
  .dropdown-submenu > .dropdown-menu {
	top: 0;
	left: 100%;
	margin-left: 0.1rem;
  }
  
  /* Buttons */
  .signin-btn {
	background-color: var(--secondary-color);
	color: white;
	border-radius: var(--border-radius);
	padding: 0.5rem 1.25rem;
	transition: background-color 0.3s ease;
  }
  .signin-btn:hover {
	background-color: #2D7A46;
  }
  
  /* Blog Grid */
  .blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
  }
  .blog-card {
	background: var(--card-color);
	border-radius: var(--border-radius);
	box-shadow: 0 2px 8px var(--shadow-color);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
  .blog-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
  }
  .blog-card-content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
  }
  .blog-card h5 {
	font-size: 1.5rem;
  }
  .blog-card p {
	font-size: 1rem;
	color: #5F6368;
  }
  .blog-card .read-more {
	color: var(--primary-color);
  }
  .blog-card .read-more:hover {
	text-decoration: underline;
  }
  
  /* Footer */
  footer {
	background-color: var(--primary-color);
	color: white;
	text-align: center;
	padding: 1rem;
	margin-top: 2rem;
  }
  
  /* Floating Buttons */
  .scroll-to-top,
  .whatsapp-button {
	position: fixed;
	width: 50px;
	height: 50px;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 4px var(--shadow-color);
  }
  
  .scroll-to-top {
	background-color: var(--primary-color);
	bottom: 80px;
	right: 20px;
	display: none;
  }
  
  .whatsapp-button {
	background-color: var(--accent-color);
	bottom: 20px;
	right: 20px;
  }
  .whatsapp-button:hover {
	background-color: #1EBB56;
  }
  