/**
 * Security Company Main Stylesheet
 *
 * @package Security_Company
 * @version 1.0.0
 */

/* ========== CSS VARIABLES ========== */
:root {
	/* Colors */
	--primary-color: #0a1628;
	--secondary-color: #1a4f7a;
	--accent-color: #00d4aa;
	--text-color: #333333;
	--text-light: #666666;
	--white: #ffffff;
	--light-bg: #f8fafc;
	--card-bg: #ffffff;
	--border-color: #e2e8f0;

	/* Gradients */
	--gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
	--gradient-accent: linear-gradient(135deg, #00d4aa 0%, #00a88c 100%);
	--gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

	/* Typography */
	--font-headings: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;
	--line-height-headings: 1.1;
	--letter-spacing-headings: -0.02em;

	/* Spacing */
	--section-padding: 100px 0;
	--container-width: 1240px;

	/* Shadows */
	--shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-glow: 0 0 25px rgba(0, 212, 170, 0.4);

	/* Border radius */
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;

	/* Transitions */
	--transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE STYLES ========== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-headings);
	font-weight: 700;
	line-height: var(--line-height-headings);
	letter-spacing: var(--letter-spacing-headings);
	margin-bottom: 1.25rem;
	color: var(--primary-color);
}

h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); }

p {
	margin-bottom: 1rem;
	color: var(--text-light);
}

a {
	color: var(--secondary-color);
	text-decoration: none;
	transition: var(--transition-fast);
}

a:hover {
	color: var(--accent-color);
}

img {
	max-width: 100%;
	height: auto;
}

/* ========== UTILITY CLASSES ========== */
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: var(--section-padding);
}

.text-center {
	text-align: center;
}

.text-white {
	color: var(--white) !important;
}

.bg-primary {
	background-color: var(--primary-color);
}

.bg-secondary {
	background-color: var(--secondary-color);
}

.bg-light {
	background-color: var(--light-bg);
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 14px 32px;
	font-family: var(--font-headings);
	font-weight: 600;
	font-size: 1rem;
	text-align: center;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: var(--transition-normal);
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background: var(--gradient-accent);
	color: var(--white);
	box-shadow: var(--shadow-md);
	border: none;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
	color: var(--white);
	background: var(--gradient-accent);
	border: none;
}

.btn-primary:active {
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-secondary:hover {
	background: var(--white);
	color: var(--primary-color);
	border: 2px solid var(--white);
	transform: translateY(-2px);
}

.btn-secondary:active {
	transform: translateY(0px);
}

.btn-outline {
	background: transparent;
	color: var(--secondary-color);
	border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
	background: var(--secondary-color);
	color: var(--white);
	border: 2px solid var(--secondary-color);
	transform: translateY(-2px);
}

.btn-outline:active {
	transform: translateY(0px);
}

/* ========== HEADER / NAVIGATION ========== */
.main-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--primary-color);
	transition: var(--transition-normal);
	box-shadow: var(--shadow-md);
}

.main-header.scrolled {
	background: rgba(10, 22, 40, 0.85);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	height: 70px;
}

.main-header.scrolled .header-inner {
	height: 70px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.site-logo img,
.site-logo-img {
	max-height: 52px;
	width: auto;
	display: block;
	transition: opacity 0.2s;
}

.site-logo-link:hover .site-logo-img {
	opacity: 0.85;
}

/* Navigation */
.main-nav {
	margin-left: auto;
	margin-right: 40px;
}

.main-nav ul {
	display: flex;
	list-style: none;
	gap: 30px;
}

.main-nav a {
	color: var(--white);
	font-weight: 500;
	font-size: 0.95rem;
	transition: var(--transition-fast);
	padding: 8px 0;
	position: relative;
}

/* Enhanced current state indicators */
.main-nav a.current,
.main-nav a.active {
	color: var(--accent-color) !important;
	font-weight: 600;
}

.main-nav a.current:after,
.main-nav a.active:after {
	width: 100%;
	background: var(--accent-color);
}

.main-nav a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-color);
	transition: var(--transition-fast);
}

.main-nav a:hover:after,
.main-nav a.current:after {
	width: 100%;
}

.main-nav a:hover {
	color: var(--accent-color);
}

/* Header CTA */
.header-cta {
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-phone {
	display: flex;
	align-items: center;
	color: var(--white);
	font-weight: 600;
	font-size: 1.1rem;
}

.header-phone svg {
	width: 22px;
	height: 22px;
	margin-right: 10px;
	fill: var(--accent-color);
	filter: drop-shadow(0 0 5px rgba(0,212,170,0.5));
}

.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--gradient-primary);
	overflow: hidden;
}

.hero-bg-video,
.hero-bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.4;
	filter: saturate(1.2) brightness(0.8);
	transition: var(--transition-slow);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(26,79,122,0.85) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 120px 20px 80px;
}

.hero-title {
	font-size: clamp(2.8rem, 10vw, 4.5rem);
	font-weight: 800;
	color: var(--white);
	margin-bottom: 1.5rem;
	line-height: 1.05;
	animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-subtitle {
	font-size: 1.25rem;
	color: rgba(255,255,255,0.9);
	margin-bottom: 2.5rem;
	max-width: 600px;
	animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-buttons {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons .btn {
	padding: 18px 40px;
	font-size: 1.1rem;
}

.scroll-indicator {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--white);
	z-index: 10;
	animation: bounce 2s infinite;
	transition: var(--transition-fast);
}

.scroll-indicator:hover {
	color: var(--accent-color);
}

.scroll-indicator svg {
	width: 40px;
	height: 40px;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
	40% {transform: translateY(-10px) translateX(-50%);}
	60% {transform: translateY(-5px) translateX(-50%);}
}

/* ========== SERVICES SECTION ========== */
.services-section {
	padding: var(--section-padding);
	background: var(--light-bg);
}

.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 60px;
}

.section-title {
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
}

.section-title:after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 5px;
	background: var(--gradient-accent);
	border-radius: 10px;
}

.section-description {
	font-size: 1.1rem;
	color: var(--text-light);
	margin-top: 1.5rem;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.service-card {
	background: var(--card-bg);
	padding: 50px 40px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	transition: var(--transition-normal);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: var(--transition-normal);
}

.service-card:hover {
	transform: translateY(-12px);
	box-shadow: var(--shadow-lg), var(--shadow-glow);
	border-color: var(--accent-color);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	width: 70px;
	height: 70px;
	background: var(--gradient-primary);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	transition: var(--transition-normal);
}

.service-card:hover .service-icon {
	background: var(--gradient-accent);
	transform: scale(1.1);
}

.service-icon svg {
	width: 35px;
	height: 35px;
	fill: var(--white);
}

.service-title {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

.service-description {
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 0;
}

/* ========== WHY CHOOSE US SECTION ========== */
.why-us-section {
	padding: var(--section-padding);
	background: var(--white);
}

.why-us-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.why-us-image {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.why-us-image img {
	width: 100%;
	height: auto;
	display: block;
}

.why-us-content h2 {
	margin-bottom: 30px;
}

.why-us-list {
	list-style: none;
}

.why-us-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
	padding: 20px;
	background: var(--light-bg);
	border-radius: var(--radius-md);
	transition: var(--transition-normal);
}

.why-us-list li:hover {
	background: var(--white);
	box-shadow: var(--shadow-md);
	transform: translateX(5px);
}

.why-us-icon {
	width: 50px;
	height: 50px;
	background: var(--gradient-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.why-us-icon svg {
	width: 24px;
	height: 24px;
	fill: var(--white);
}

.why-us-text h4 {
	font-size: 1.1rem;
	margin-bottom: 5px;
	color: var(--primary-color);
}

.why-us-text p {
	color: var(--text-light);
	font-size: 0.95rem;
	margin: 0;
}

/* ========== ABOUT PREVIEW SECTION ========== */
.about-preview-section {
	padding: var(--section-padding);
	background: var(--gradient-primary);
	color: var(--white);
}

.about-preview-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.about-content h2 {
	color: var(--white);
	margin-bottom: 25px;
}

.about-content p {
	color: rgba(255,255,255,0.9);
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.trust-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 30px;
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	background: rgba(255,255,255,0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: var(--radius-sm);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--white);
	border: 1px solid rgba(255,255,255,0.15);
	transition: var(--transition-fast);
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.badge:hover {
	background: rgba(255,255,255,0.15);
	transform: translateY(-3px);
	border-color: var(--accent-color);
	box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.badge svg {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	fill: var(--accent-color);
}

.about-image {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ========== PROJECTS SECTION ========== */
.projects-section {
	padding: var(--section-padding);
	background: var(--light-bg);
}

.projects-filter {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 10px 25px;
	background: var(--white);
	border: 2px solid var(--border-color);
	border-radius: var(--radius-sm);
	font-family: var(--font-headings);
	font-weight: 600;
	color: var(--text-color);
	cursor: pointer;
	transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
	background: var(--secondary-color);
	border-color: var(--secondary-color);
	color: var(--white);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 30px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.project-item {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: var(--transition-normal);
}

.project-item:hover {
	transform: translateY(-12px);
	box-shadow: var(--shadow-lg), 0 10px 30px rgba(0,0,0,0.2);
}

.project-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
}

.project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-slow);
}

.project-item:hover .project-image img {
	transform: scale(1.1);
}

.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--gradient-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: var(--transition-normal);
}

.project-item:hover .project-overlay {
	opacity: 0.9;
}

.project-category {
	position: absolute;
	top: 15px;
	right: 15px;
	padding: 5px 15px;
	background: var(--accent-color);
	color: var(--primary-color);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
}

.project-info {
	padding: 25px;
	background: var(--white);
}

.project-title {
	font-size: 1.25rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

.project-excerpt {
	font-size: 0.95rem;
	color: var(--text-light);
	margin: 0;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
	padding: var(--section-padding);
	background: var(--white);
}

.testimonials-slider {
	max-width: 800px;
	margin: 0 auto;
}

.testimonial-item {
	background: var(--light-bg);
	padding: 50px 40px;
	border-radius: var(--radius-lg);
	text-align: center;
	position: relative;
}

.testimonial-quote {
	position: absolute;
	top: 30px;
	left: 30px;
	font-size: 4rem;
	color: var(--accent-color);
	font-family: Georgia, serif;
	line-height: 1;
	opacity: 0.3;
}

.testimonial-content {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--text-color);
	margin-bottom: 30px;
	position: relative;
	z-index: 1;
}

.testimonial-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.author-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--accent-color);
}

.author-info {
	text-align: left;
}

.author-name {
	font-weight: 700;
	color: var(--primary-color);
	margin: 0;
}

.author-location {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0;
}

/* ========== FINAL CTA SECTION ========== */
.final-cta-section {
	padding: 100px 20px;
	background: var(--gradient-primary);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.final-cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;
}

.final-cta-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
}

.final-cta-title {
	font-size: 2.5rem;
	color: var(--white);
	margin-bottom: 20px;
}

.final-cta-text {
	font-size: 1.2rem;
	color: rgba(255,255,255,0.9);
	margin-bottom: 30px;
}

.phone-numbers {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.phone-number {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--white);
}

.phone-number svg {
	width: 28px;
	height: 28px;
	fill: var(--accent-color);
}

/* ========== FOOTER ========== */
.site-footer {
	background: var(--primary-color);
	color: var(--white);
	padding: 60px 0 30px;
}

.footer-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-col h4 {
	color: var(--white);
	font-size: 1.2rem;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

.footer-col h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--accent-color);
}

.footer-col p,
.footer-col a {
	color: rgba(255,255,255,0.7);
	font-size: 0.95rem;
	margin-bottom: 12px;
	display: block;
	transition: var(--transition-fast);
}

.footer-col a:hover {
	color: var(--accent-color);
	padding-left: 5px;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
	color: rgba(255,255,255,0.7);
}

.footer-contact svg {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	margin-top: 3px;
	fill: var(--accent-color);
	flex-shrink: 0;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.5);
	font-size: 0.9rem;
}

/* ========== STICKY PHONE BUTTON ========== */
.sticky-phone-btn {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: var(--gradient-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-lg);
	z-index: 999;
	transition: var(--transition-normal);
	text-decoration: none;
}

.sticky-phone-btn:hover {
	transform: scale(1.1);
	box-shadow: var(--shadow-glow);
}

.sticky-phone-btn svg {
	width: 28px;
	height: 28px;
	fill: var(--white);
}

.sticky-phone-btn span {
	position: absolute;
	right: 70px;
	background: var(--primary-color);
	color: var(--white);
	padding: 8px 15px;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: var(--transition-fast);
}

.sticky-phone-btn:hover span {
	opacity: 1;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease forwards;
}

/* Elementor animations */
.elementor-invisible {
	opacity: 0;
	transition: all 0.3s ease;
}

.elementor-animated {
	opacity: 1;
}


/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
	:root {
		--section-padding: 60px 0;
	}

	h1 { font-size: 2.5rem; }
	h2 { font-size: 2rem; }

	.hero-title {
		font-size: 2.8rem;
	}

	.why-us-container,
	.about-preview-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	:root {
		--section-padding: 40px 0;
	}

	h1 { font-size: 2rem; }
	h2 { font-size: 1.75rem; }

	.hero-title {
		font-size: 2.2rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
	}

	.main-header {
		height: auto;
	}

	.header-inner {
		height: auto;
		padding: 15px 20px;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--primary-color);
		padding: 20px;
	}

	.main-nav.active {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		gap: 15px;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.header-cta {
		display: none;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.hero-buttons .btn {
		width: 100%;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.phone-numbers {
		flex-direction: column;
		gap: 15px;
	}

	.sticky-phone-btn {
		bottom: 20px;
		right: 20px;
		width: 55px;
		height: 55px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.section-padding {
		padding: 30px 0;
	}

	.service-card {
		padding: 30px 20px;
	}

	.testimonial-item {
		padding: 30px 20px;
	}

	.final-cta-title {
		font-size: 1.8rem;
	}
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Focus states */
:focus {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

button:focus,
a:focus {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

/* ========== SINGLE PROJECT STYLES ========== */
.single-project .project-hero {
	position: relative;
	height: 70vh;
	min-height: 500px;
	overflow: hidden;
}

.single-project .project-hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.single-project .project-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-project .project-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.8) 100%);
	display: flex;
	align-items: flex-end;
	padding-bottom: 60px;
}

.single-project .project-header {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.single-project .project-title {
	font-size: 3rem;
	color: var(--white);
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.single-project .project-category {
	display: inline-block;
	padding: 6px 16px;
	background: var(--accent-color);
	color: var(--primary-color);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	margin-bottom: 15px;
}

.single-project .project-content {
	padding-top: 60px;
}

.single-project .project-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 60px;
}

.single-project .project-description {
	font-size: 1.1rem;
	line-height: 1.8;
}

.single-project .project-description p {
	margin-bottom: 1.5rem;
}

.single-project .project-gallery {
	margin-top: 60px;
}

.single-project .project-gallery h3 {
	margin-bottom: 30px;
	font-size: 1.5rem;
}

.single-project .gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.single-project .gallery-item {
	border-radius: var(--radius-md);
	overflow: hidden;
}

.single-project .gallery-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: var(--transition-normal);
}

.single-project .gallery-item:hover img {
	transform: scale(1.05);
}

.single-project .project-details {
	margin-top: 60px;
	padding: 30px;
	background: var(--light-bg);
	border-radius: var(--radius-lg);
}

.single-project .project-details h3 {
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.single-project .project-meta {
	list-style: none;
}

.single-project .project-meta li {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color);
}

.single-project .project-meta li:last-child {
	border-bottom: none;
}

.single-project .project-meta strong {
	color: var(--primary-color);
	font-weight: 600;
}

.single-project .cta-card {
	background: var(--gradient-primary);
	padding: 40px 30px;
	border-radius: var(--radius-lg);
	text-align: center;
	margin-bottom: 30px;
}

.single-project .cta-card h4 {
	color: var(--white);
	margin-bottom: 15px;
}

.single-project .cta-card p {
	color: rgba(255,255,255,0.9);
	margin-bottom: 25px;
}

.single-project .btn-block {
	display: block;
	width: 100%;
	margin-bottom: 10px;
}

.single-project .services-list {
	background: var(--light-bg);
	padding: 30px;
	border-radius: var(--radius-lg);
}

.single-project .services-list h4 {
	margin-bottom: 20px;
}

.single-project .services-list ul {
	list-style: none;
}

.single-project .services-list li {
	margin-bottom: 12px;
}

.single-project .services-list a {
	color: var(--text-color);
	transition: var(--transition-fast);
}

.single-project .services-list a:hover {
	color: var(--accent-color);
	padding-left: 5px;
}

/* ========== SERVICES PAGE STYLES ========== */
.single-services .services-hero {
	background: var(--gradient-primary);
	padding: 120px 0 80px;
	text-align: center;
}

.single-services .services-hero h1 {
	color: var(--white);
	margin-bottom: 20px;
}

.single-services .services-hero p {
	color: rgba(255,255,255,0.9);
	max-width: 700px;
	margin: 0 auto 40px;
}

.service-detail {
	padding: var(--section-padding);
}

.service-detail-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: flex-start;
}

.service-detail-content h2 {
	margin-bottom: 25px;
}

.service-detail-content p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.service-benefits {
	margin-top: 40px;
}

.service-benefits h3 {
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.service-benefits ul {
	list-style: none;
}

.service-benefits li {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding: 15px;
	background: var(--light-bg);
	border-radius: var(--radius-sm);
}

.service-benefits li svg {
	width: 24px;
	height: 24px;
	margin-right: 15px;
	fill: var(--accent-color);
	flex-shrink: 0;
}

.service-detail-image {
	position: sticky;
	top: 100px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.service-detail-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ========== CONTACT PAGE STYLES ========== */
.single-contact .contact-hero {
	background: var(--gradient-primary);
	padding: 120px 0 80px;
	text-align: center;
}

.single-contact .contact-hero h1 {
	color: var(--white);
	margin-bottom: 20px;
}

.single-contact .contact-hero p {
	color: rgba(255,255,255,0.9);
	max-width: 600px;
	margin: 0 auto 40px;
}

.contact-main {
	padding: var(--section-padding);
}

.contact-container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.contact-form-section h2 {
	margin-bottom: 30px;
}

.contact-form .form-group {
	margin-bottom: 25px;
}

.contact-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--primary-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	padding: 14px 18px;
	border: 2px solid var(--border-color);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 1rem;
	transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.contact-form textarea {
	resize: vertical;
	min-height: 120px;
}

.contact-form .error {
  border-color: #e74c3c !important;
}

/* Enhanced form validation states */
.contact-form .success {
  border-color: #28a745 !important;
}

.contact-form .error-message {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #e74c3c;
  min-height: 18px;
}

/* Improved focus states for better accessibility */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}

.contact-form .btn {
	width: 100%;
	padding: 16px;
	font-size: 1.1rem;
}

.contact-info-section h2 {
	margin-bottom: 30px;
}

.contact-info-card {
	background: var(--light-bg);
	padding: 40px;
	border-radius: var(--radius-lg);
	margin-bottom: 30px;
}

.contact-info-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 25px;
}

.contact-info-item:last-child {
	margin-bottom: 0;
}

.contact-info-icon {
	width: 50px;
	height: 50px;
	background: var(--gradient-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.contact-info-icon svg {
	width: 24px;
	height: 24px;
	fill: var(--white);
}

.contact-info-text h4 {
	font-size: 1.1rem;
	margin-bottom: 5px;
	color: var(--primary-color);
}

.contact-info-text p {
	color: var(--text-light);
	margin: 0;
}

/* ========== ABOUT PAGE SPECIFIC ========== */
.about-hero {
	background: var(--gradient-primary);
	text-align: center;
	color: var(--white);
}

.about-hero h1 {
	color: var(--white);
	margin-bottom: 20px;
}

.about-hero-subtitle {
	font-size: 1.25rem;
	color: rgba(255,255,255,0.9);
	max-width: 700px;
	margin: 0 auto;
}

.story-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.story-content h2 {
	margin-bottom: 25px;
}

.story-content p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	color: var(--text-light);
}

.story-image img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.mission-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.mission-card {
	padding: 40px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	transition: var(--transition-normal);
}

.mission-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.licensing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.licensing-card {
	padding: 40px;
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	border-left: 5px solid var(--accent-color);
	transition: var(--transition-normal);
}

.licensing-card:hover {
	transform: translateX(5px);
	box-shadow: var(--shadow-lg);
	border-left-width: 8px;
}

/* ========== SERVICES PAGE SPECIFIC ========== */
.services-hero {
	background: var(--gradient-primary);
	text-align: center;
	color: var(--white);
}

.services-hero h1 {
	color: var(--white);
	margin-bottom: 20px;
}

.services-hero p {
	font-size: 1.25rem;
	color: rgba(255,255,255,0.9);
	max-width: 700px;
	margin: 0 auto;
}

.service-detail-item {
	padding: 80px 0;
	border-bottom: 1px solid var(--border-color);
}

.service-detail-item:last-child {
	border-bottom: none;
}

.service-detail-item:nth-child(even) .service-detail-container {
	direction: rtl;
}

.service-detail-item:nth-child(even) .service-detail-content {
	direction: ltr;
}

.service-detail-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.service-detail-content h2 {
	margin-bottom: 25px;
}

.service-detail-content p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	color: var(--text-light);
}

.service-benefits {
	margin: 30px 0;
}

.service-benefits h3 {
	font-size: 1.25rem;
	margin-bottom: 15px;
}

.service-benefits ul {
	list-style: none;
}

.service-benefits li {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	color: var(--text-light);
}

.service-benefits li svg {
	width: 20px;
	height: 20px;
	margin-right: 12px;
	fill: var(--accent-color);
}

.service-detail-image img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 30px;
}



.contact-map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.contact-map iframe {
	width: 100%;
	height: 300px;
	border: none;
}

/* ========== SERVICES LIST SECTION ========== */
.services-list-section {
	padding: var(--section-padding);
	background: var(--light-bg);
}

/* ========== RESPONSIVE FOR SINGLE PAGES ========== */
@media (max-width: 1024px) {
	.single-project .project-grid {
		grid-template-columns: 1fr;
	}

	.single-project .project-sidebar {
		order: -1;
	}

	.service-detail-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.service-detail-image {
		position: static;
	}

	.contact-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.single-project .project-hero {
		height: 50vh;
		min-height: 400px;
	}

	.single-project .project-title {
		font-size: 2rem;
	}

	.single-services .services-hero h1 {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.single-project .project-grid,
	.service-detail-container,
	.contact-container {
		padding: 0 15px;
	}

	.contact-info-card {
		padding: 25px;
	}
}

.success-message {
	display: none;
	padding: 15px 20px;
	border-radius: var(--radius-md);
	margin-top: 20px;
	border: 1px solid transparent;
	font-weight: 500;
}

.success-message.success {
	display: block;
	background: #d4edda;
	color: #155724;
	border-color: #c3e6cb;
	animation: fadeIn 0.3s ease;
}

.success-message.error {
	display: block;
	background: #f8d7da;
	color: #721c24;
	border-color: #f5c6cb;
	animation: fadeIn 0.3s ease;
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
	position: fixed;
	bottom: 100px;
	right: 30px;
	width: 45px;
	height: 45px;
	background: var(--secondary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition-normal);
	z-index: 900;
	box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background: var(--accent-color);
	transform: translateY(-3px);
}

.scroll-to-top svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}


/* ========== ELEMENTOR OVERRIDES ========== */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--container-width);
}

.elementor-widget-text-editor h1,
.elementor-widget-heading h1 {
	font-family: var(--font-headings) !important;
}

.elementor-widget-text-editor h2,
.elementor-widget-heading h2 {
	font-family: var(--font-headings) !important;
}

.elementor-widget-icon-box .elementor-icon-box-icon i {
	font-size: 2.5rem;
}

.elementor-widget-image img {
	height: auto;
}

/* ========== CUSTOM BADGES ========== */
.badge-license,
.badge-insured,
.badge-australian {
	display: inline-flex;
	align-items: center;
	background: var(--gradient-primary);
	color: var(--white);
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	font-size: 0.8rem;
	font-weight: 600;
	margin-right: 10px;
	margin-bottom: 10px;
}

.badge-license svg,
.badge-insured svg,
.badge-australian svg {
	width: 16px;
	height: 16px;
	margin-right: 6px;
	fill: var(--accent-color);
}

/* ========== LOADING STATE ========== */
.loading {
	opacity: 0.6;
	pointer-events: none;
	position: relative;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 3px solid var(--light-bg);
	border-top-color: var(--accent-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ========== INNER PAGES CSS ========== */
.contact-hero, .about-hero, .services-hero {
	padding: 150px 20px 80px;
	background: var(--gradient-primary);
	color: var(--white);
	text-align: center;
}

.contact-hero h1, .about-hero h1, .services-hero h1 {
	font-size: 3rem;
	color: var(--white);
	margin-bottom: 20px;
}

.contact-hero p, .about-hero-subtitle, .services-hero p {
	font-size: 1.2rem;
	color: rgba(255,255,255,0.8);
	max-width: 800px;
	margin: 0 auto;
}

/* Contact Page Specific */
.contact-main {
	padding: var(--section-padding);
	background: var(--light-bg);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

.contact-form-section {
	background: var(--white);
	padding: 40px;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--primary-color);
}

.form-group input, .form-group select, .form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 1rem;
}

.contact-info-card {
	background: var(--primary-color);
	padding: 40px;
	border-radius: var(--radius-lg);
	color: var(--white);
	margin-bottom: 30px;
}

.contact-info-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
}

.contact-info-item:last-child {
	margin-bottom: 0;
}

.contact-info-icon {
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.contact-info-icon svg {
	width: 20px;
	height: 20px;
	fill: var(--accent-color);
}

.contact-info-text h4 {
	color: var(--white);
	margin-bottom: 5px;
}

.contact-info-text p, .contact-info-text a {
	color: rgba(255,255,255,0.8);
	margin: 0;
}

.contact-map iframe {
	width: 100%;
	border-radius: var(--radius-lg);
}

@media (max-width: 992px) {
	.contact-container {
		grid-template-columns: 1fr;
	}
}

/* ========== ELEMENTOR + ASTRA COMPATIBILITY FIXES ========== */

/**
 * Fix 1: Remove Astra's boxed container max-width on Elementor pages.
 * When Astra wraps the page content in .ast-container or .entry-content,
 * it applies a max-width that "boxes" the Elementor layout.
 */
body.elementor-page .site-main,
body.elementor-page #primary,
body.elementor-page .entry-content,
body.elementor-page .ast-article-single,
body.elementor-page .ast-container,
body.elementor-page #content .ast-container {
	padding: 0 !important;
	margin: 0 auto !important;
	max-width: 100% !important;
	width: 100% !important;
}

/**
 * Fix 2: Elementor .site-main should have no top padding that creates gap.
 * Also ensure it sits directly below the fixed header.
 */
body.elementor-page .site-main {
	padding-top: 0 !important;
}

/**
 * Fix 3: Astra's .ast-separate-container adds side gutters — override it.
 */
.ast-separate-container .ast-article-single:not(.elementor-widget-wrap),
.ast-page-builder-template .ast-article-single {
	margin: 0 !important;
	padding: 0 !important;
}

/**
 * Fix 4: Full-width Elementor sections must break out of any wrapper.
 * The 'stretched' class is applied when section width is "Full Width" in Elementor.
 */
.elementor-section.elementor-section-stretched {
	width: 100vw !important;
	left: 50% !important;
	margin-left: -50vw !important;
	right: auto !important;
}

/**
 * Fix 5: When using the theme's 'Elementor Full Width' template,
 * ensure the .elementor-full-width wrapper doesn't add constraints.
 */
.elementor-full-width {
	padding: 0 !important;
	max-width: 100% !important;
}

/**
 * Fix 6: Account for the fixed header height so content is not hidden behind it.
 * The header is 80px tall (defined in .header-inner).
 */
body.elementor-page:not(.elementor-editor-active) > #page > #primary {
	padding-top: 80px;
}

/* Hero section on front page — it handles its own top padding in .hero-content,
   so we don't add extra padding when hero is first element. */
body.elementor-page .elementor-section:first-child {
	/* No extra top margin; each section handles its own spacing */
}

/**
 * Fix 7: Force #page wrapper to be full width (Astra sometimes constrains it).
 */
#page.site {
	max-width: 100%;
	overflow-x: hidden;
}

/**
 * Fix 8: Elementor inner section containers — default Elementor layout.
 */
.elementor-section .elementor-container {
	max-width: var(--container-width);
	margin: 0 auto;
}

.elementor-section.elementor-section-full_width .elementor-container {
	max-width: 100%;
}

/**
 * Fix 9: Ensure Astra doesn't add unwanted sidebar layout on Elementor pages.
 */
body.elementor-page .content-area {
	width: 100%;
	float: none;
}

/* ========== FINAL ========== */
