/*
Theme Name: Kanaiya Investors
Theme URI: https://kanaiya-connect.lovable.app/
Author: Kanaiya Investors
Author URI: https://kanaiya-connect.lovable.app/
Description: Demat account opening, equity & commodity trading, investments, insurance, mutual funds, IPO, SIP and finance services in Odhav, Ahmedabad.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kanaiya-investors
Tags: financial-services, one-page, clean, responsive, modern, full-width
*/

@import url('assets/css/styles.css');

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Full Width Layout Overrides
   ========================================================================== */

/* Expand all main containers to 100% full width */
.max-w-6xl {
	max-width: 100% !important;
	width: 100% !important;
}

/* Ensure header, main sections, dividers and footer span full width with elegant responsive padding */
header > .mx-auto,
header nav[aria-label="Mobile"] > .mx-auto,
main section > .mx-auto,
main > section.mx-auto,
footer > .mx-auto,
.gold-rule.mx-auto {
	width: 100% !important;
	max-width: 100% !important;
}

@media (min-width: 640px) {
	header > .mx-auto,
	main section > .mx-auto,
	main > section.mx-auto,
	footer > .mx-auto {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
	}
}

@media (min-width: 1024px) {
	header > .mx-auto,
	main section > .mx-auto,
	main > section.mx-auto,
	footer > .mx-auto {
		padding-left: 3.5rem !important;
		padding-right: 3.5rem !important;
	}
}

@media (min-width: 1280px) {
	header > .mx-auto,
	main section > .mx-auto,
	main > section.mx-auto,
	footer > .mx-auto {
		padding-left: 5rem !important;
		padding-right: 5rem !important;
	}
}

@media (min-width: 1536px) {
	header > .mx-auto,
	main section > .mx-auto,
	main > section.mx-auto,
	footer > .mx-auto {
		padding-left: 6rem !important;
		padding-right: 6rem !important;
	}
}

/* Hero left column expands gracefully on large screens */
#top .max-w-xl {
	max-width: 48rem !important;
}

/* ==========================================================================
   Highlighted WhatsApp Header Button
   ========================================================================== */
.header-whatsapp-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: 2.3rem;
	padding: 0 1.05rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.015em;
	color: #ffffff !important;
	background: linear-gradient(135deg, #25D366 0%, #1EBE5D 48%, #128C7E 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 9999px !important;
	box-shadow: 0 4px 16px -1px rgba(37, 211, 102, 0.5), 0 2px 6px -1px rgba(18, 140, 126, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
	text-decoration: none !important;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
	overflow: hidden;
	isolation: isolate;
	cursor: pointer;
}

/* Pulsing outer ambient halo */
.header-whatsapp-btn::before {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 9999px;
	background: radial-gradient(circle, rgba(37, 211, 102, 0.65) 0%, rgba(37, 211, 102, 0) 72%);
	z-index: -1;
	opacity: 0.75;
	animation: wa-btn-glow 2.6s ease-in-out infinite;
	pointer-events: none;
}

/* Elegant light reflection sweep (shimmer) */
.header-whatsapp-btn::after {
	content: '';
	position: absolute;
	top: -60%;
	left: -80%;
	width: 50%;
	height: 220%;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: rotate(26deg);
	pointer-events: none;
	animation: wa-btn-shimmer 4.2s ease-in-out infinite;
}

.header-whatsapp-btn:hover {
	transform: translateY(-2px) scale(1.03) !important;
	background: linear-gradient(135deg, #2df576 0%, #22c761 48%, #159c8d 100%) !important;
	box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.65), 0 4px 12px -1px rgba(18, 140, 126, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
	color: #ffffff !important;
}

.header-whatsapp-btn:active {
	transform: translateY(0) scale(0.97) !important;
}

.header-whatsapp-btn svg {
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
	transition: transform 0.25s ease;
}

.header-whatsapp-btn:hover svg {
	transform: rotate(-10deg) scale(1.12);
}

/* Pulsing Online Status Dot */
.wa-status-dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0.5rem;
	height: 0.5rem;
	margin-right: 0.1rem;
	flex-shrink: 0;
}

.wa-status-dot-ping {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-color: #ffffff;
	opacity: 0.8;
	animation: wa-dot-pulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.wa-status-dot-core {
	position: relative;
	width: 0.425rem;
	height: 0.425rem;
	border-radius: 9999px;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(255, 255, 255, 0.95);
}

@keyframes wa-btn-glow {
	0%, 100% {
		opacity: 0.45;
		transform: scale(0.98);
	}
	50% {
		opacity: 0.95;
		transform: scale(1.06);
	}
}

@keyframes wa-btn-shimmer {
	0% {
		left: -80%;
	}
	22% {
		left: 150%;
	}
	100% {
		left: 150%;
	}
}

@keyframes wa-dot-pulse {
	0% {
		transform: scale(0.9);
		opacity: 0.9;
	}
	70%, 100% {
		transform: scale(2.4);
		opacity: 0;
	}
}
