/* Theme Styles */

/* Apply Inter font to entire site */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Custom Logo */
.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	width: 70px;
	height: auto;
}

/* Remove margins between sections */
section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

@media screen and (min-width: 1024px) {
	.custom-logo {
		width: 120px;
	}
}

/* Custom H1 Styles */
h1 {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: #222222;
}

.dark h1 {
	color: #f5f5f9;
}

@media screen and (min-width: 768px) {
	h1 {
		font-size: 54px;
	}
}

/* Footer Custom Styles */
.site-footer {
	background: #0f172a;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited {
	color: #E2E8F0 !important;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
	color: #ffffff !important;
}

.site-footer .text-gray-300 {
	color: #E2E8F0 !important;
}

.site-footer .text-gray-400 {
	color: #94a3b8 !important;
}

.site-footer .text-gray-500 {
	color: #64748b !important;
}

/* Header Custom Styles */
.site-header {
	background: #ffffff;
	color: #222222;
}

.dark .site-header {
	background: #1f2937;
	color: #e5e7eb;
}

.site-header input[type="search"],
.site-header input[type="text"],
.site-header .header-search-input {
	background: #ffffff !important;
	border: 1px solid #D0D6E8 !important;
	border-radius: 8px !important;
	height: 48px !important;
}

.dark .site-header input[type="search"],
.dark .site-header input[type="text"],
.dark .site-header .header-search-input {
	background: #1f2937 !important;
	border-color: #374151 !important;
}

.site-header,
.site-header a,
.site-header input,
.site-header button,
.site-header span,
.site-header i,
.site-header svg,
.site-header .text-gray-700,
.site-header .text-gray-800,
.site-header .text-gray-600,
.site-header .text-gray-400,
.site-header [data-lucide] {
	color: #222222 !important;
}

.dark .site-header,
.dark .site-header a,
.dark .site-header input,
.dark .site-header button,
.dark .site-header span,
.dark .site-header i,
.dark .site-header svg,
.dark .site-header .text-gray-300,
.dark .site-header .text-gray-400,
.dark .site-header .text-gray-500,
.dark .site-header [data-lucide] {
	color: #e5e7eb !important;
}

.site-header input::placeholder {
	color: #9ca3af !important;
}

.dark .site-header input::placeholder {
	color: #6b7280 !important;
}

.site-header .phone-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.site-header .phone-icon path {
	fill: #294F78;
}

.dark .site-header .phone-icon path {
	fill: #e5e7eb !important;
}

.site-header a,
.site-header span,
.site-header button,
.site-header input {
	font-size: 16px !important;
}

.site-header a:hover {
	color: #2563eb !important;
}

.dark .site-header a:hover {
	color: #60a5fa !important;
}

.site-header .text-sm,
.site-header .text-sm a,
.site-header .text-sm span,
.site-header .text-sm input {
	font-size: 14px !important;
}

#theme-toggle .toggle-track {
	transition: background-color 0.3s ease;
	background-color: #e5e7eb;
}

.dark #theme-toggle .toggle-track {
	background-color: #3b82f6;
}

#theme-toggle .toggle-thumb {
	transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: left;
	left: 2px;
}

.dark #theme-toggle .toggle-thumb {
	left: 22px;
}

.theme-icon-moon {
	display: block;
}

.theme-icon-sun {
	display: none;
}

.dark .theme-icon-moon {
	display: none;
}

.dark .theme-icon-sun {
	display: block;
}

/* Screen Reader Text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Alignments */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Mobile Header & Menu */
@media screen and (max-width: 1023px) {
	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 78px;
	}
	
	#page {
		padding-top: 78px;
	}
	
	#mobile-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 78px);
		overflow-y: auto;
		background-color: #ffffff !important;
	}
	
	.dark #mobile-menu {
		background-color: #111827 !important;
	}
	
	.mobile-search-input {
		width: 200px !important;
		height: 44px !important;
		border-radius: 8px !important;
		background: #ffffff !important;
		border: 1px solid #D0D6E8 !important;
	}
	
	.dark .mobile-search-input {
		background: #1f2937 !important;
		border-color: #374151 !important;
	}
}

/* Mobile menu open - body scroll lock */
body.menu-open {
	overflow: hidden;
}

/* Global site dark mode styles */
.dark body {
	background-color: #111827 !important;
}

.dark #page,
.dark .site-main {
	background-color: #111827 !important;
	color: #e5e7eb !important;
}

.dark section.bg-white,
.dark .bg-white.border-gray-200,
.dark .bg-white.p-6,
.dark .bg-white.p-8,
.dark .bg-white.rounded-xl,
.dark .bg-white.rounded-2xl {
	background-color: #1f2937 !important;
	border-color: #374151 !important;
}

.dark .h-48.bg-gray-100,
.dark .bg-gray-100 {
	background-color: #374151 !important;
}

.dark .text-\[\#222222\],
.dark .text-gray-800 {
	color: #f3f4f6 !important;
}

.dark .text-gray-700 {
	color: #d1d5db !important;
}

.dark .text-gray-600 {
	color: #9ca3af !important;
}

.dark .text-gray-500 {
	color: #6b7280 !important;
}

.dark .border-gray-100,
.dark .border-gray-200,
.dark .border-gray-300 {
	border-color: #374151 !important;
}

.dark .text-blue-600 {
	color: #60a5fa !important;
}

/* Dark mode gradient overlays */
.dark .gradient-overlay-dark,
.dark .overlay-dark {
	background: linear-gradient(to right, rgba(17, 24, 39, 0.9), rgba(243, 244, 246, 0)) !important;
}

.gradient-overlay-light,
.overlay-light {
	background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(243, 244, 246, 0)) !important;
}

/* Dark mode for "Basic Directions" section */
.dark .basic-directions-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.dark .basic-directions-section .bg-white {
	background-color: #1f2937 !important;
}

.dark .basic-directions-section .border {
	border-color: #374151 !important;
}

.dark .basic-directions-section .text-gray-600 {
	color: #9ca3af !important;
}

.dark .basic-directions-section h3 {
	color: #f3f4f6 !important;
}

.dark .basic-directions-section .basic-directions-btn {
	background-color: #1f2937 !important;
	color: #ffffff !important;
	border-color: #4b5563 !important;
}

.dark .basic-directions-section .basic-directions-btn:hover {
	background-color: #374151 !important;
}

/* Services section - light mode */
.services-section {
	background-color: #f5f5f9 !important;
}

/* Dark mode for "Services" section */
.dark .services-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.services-section .bg-white {
	background-color: #FBFBFD !important;
}

.dark .services-section .bg-white {
	background-color: #1f2937 !important;
}

.services-section h3 {
	color: #222222 !important;
}

.services-section .text-gray-600 {
	color: #6b7280 !important;
}

.dark .services-section .text-gray-600 {
	color: #9ca3af !important;
}

.dark .services-section h3 {
	color: #f3f4f6 !important;
}

/* Services section - light mode text colors */
.services-section .text-\[\#1e3a5f\],
.services-section [data-lucide] {
	color: #1e3a5f !important;
	fill: #1e3a5f !important;
}

/* Services section - dark mode text colors */
.dark .services-section .text-\[\#1e3a5f\],
.dark .services-section [data-lucide] {
	color: #e5e7eb !important;
	fill: #e5e7eb !important;
}

/* Services section - icon background */
.services-section .bg-blue-50 {
	background-color: #eff6ff !important;
}

.dark .services-section .bg-blue-50 {
	background-color: #1e3a5f !important;
}

/* Dark mode for "About" section */
.dark .about-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.about-section .bg-white {
	background-color: #ffffff !important;
}

.dark .about-section .bg-white {
	background-color: #1f2937 !important;
}

.about-section h2,
.about-section h3 {
	color: #222222 !important;
}

.dark .about-section h2,
.dark .about-section h3 {
	color: #f3f4f6 !important;
}

.about-section .text-gray-600 {
	color: #6b7280 !important;
}

.dark .about-section .text-gray-600 {
	color: #9ca3af !important;
}

.about-section .basic-directions-btn {
	background-color: #ffffff !important;
	color: #1e3a5f !important;
	border-color: #D0D6E8 !important;
}

.about-section .basic-directions-btn:hover {
	background-color: #222222 !important;
	color: #ffffff !important;
}

.dark .about-section .basic-directions-btn {
	background-color: #1f2937 !important;
	color: #ffffff !important;
	border-color: #4b5563 !important;
}

.dark .about-section .basic-directions-btn:hover {
	background-color: #374151 !important;
}

/* Dark mode for "Projects" section */
.dark .projects-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.projects-section .bg-white {
	background-color: #ffffff !important;
}

.dark .projects-section .bg-white {
	background-color: #1f2937 !important;
}

.projects-section h2 {
	color: #222222 !important;
}

.dark .projects-section h2 {
	color: #f3f4f6 !important;
}

.projects-section .text-gray-600 {
	color: #6b7280 !important;
}

.dark .projects-section .text-gray-600 {
	color: #9ca3af !important;
}

.projects-section .basic-directions-btn {
	background-color: #ffffff !important;
	color: #1e3a5f !important;
	border-color: #D0D6E8 !important;
}

.projects-section .basic-directions-btn:hover {
	background-color: #222222 !important;
	color: #ffffff !important;
}

.dark .projects-section .basic-directions-btn {
	background-color: #1f2937 !important;
	color: #ffffff !important;
	border-color: #4b5563 !important;
}

.dark .projects-section .basic-directions-btn:hover {
	background-color: #374151 !important;
}

/* Single post text styles */
.single-post .entry-content,
.single-post .entry-content p,
.single-post article p,
.single-post .max-w-4xl {
	color: #000000 !important;
}

.dark .single-post .entry-content,
.dark .single-post .entry-content p,
.dark .single-post article p,
.dark .single-post .max-w-4xl {
	color: #f3f4f6 !important;
}

/* Related section heading */
.single-post section h2 {
	color: #222222 !important;
}

.dark .single-post section h2 {
	color: #f3f4f6 !important;
}

/* Related section cards */
.single-post section a.group {
	background-color: #ffffff !important;
}

.single-post section a.group h3 {
	color: #222222 !important;
}

.single-post section a.group .text-gray-400 {
	color: #6b7280 !important;
}

.dark .single-post section a.group {
	background-color: #1f2937 !important;
}

.dark .single-post section a.group h3 {
	color: #f3f4f6 !important;
}

.dark .single-post section a.group .text-gray-400 {
	color: #9ca3af !important;
}

/* Dark mode for "News" section */
.dark .news-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.news-section .bg-gray-100 {
	background-color: #ffffff !important;
}

.dark .news-section .bg-gray-100 {
	background-color: #1f2937 !important;
}

.news-section .text-gray-500 {
	color: #6b7280 !important;
}

.dark .news-section .text-gray-500 {
	color: #9ca3af !important;
}

.news-section h2,
.news-section .text-\[\#222222\] {
	color: #222222 !important;
}

.dark .news-section h2,
.dark .news-section .text-\[\#222222\] {
	color: #f3f4f6 !important;
}

.news-section h3 {
	color: #222222 !important;
}

.dark .news-section h3 {
	color: #f3f4f6 !important;
}

/* Dark mode for "Contact Form" section */
.dark .contact-form-section {
	background-color: #111827 !important;
	background-image: none !important;
}

.contact-form-section h2 {
	color: #222222 !important;
}

.dark .contact-form-section h2 {
	color: #f3f4f6 !important;
}

.contact-form-section p {
	color: #6b7280 !important;
}

.dark .contact-form-section p {
	color: #9ca3af !important;
}

.contact-form-section .text-gray-700 {
	color: #374151 !important;
}

.dark .contact-form-section .text-gray-700 {
	color: #d1d5db !important;
}

.contact-form-section .bg-white {
	background-color: #ffffff !important;
}

.dark .contact-form-section .bg-white {
	background-color: #1f2937 !important;
}

.contact-form-section input,
.contact-form-section textarea {
	background-color: #ffffff !important;
	color: #374151 !important;
	border-color: #d1d5db !important;
}

.dark .contact-form-section input,
.dark .contact-form-section textarea {
	background-color: #374151 !important;
	color: #f3f4f6 !important;
	border-color: #4b5563 !important;
}

.contact-form-section input::placeholder,
.contact-form-section textarea::placeholder {
	color: #9ca3af !important;
}

.dark .contact-form-section input::placeholder,
.dark .contact-form-section textarea::placeholder {
	color: #6b7280 !important;
}

.contact-form-section label input[type="radio"],
.contact-form-section label input[type="checkbox"] {
	color: #294F78 !important;
}

.dark .contact-form-section label input[type="radio"],
.dark .contact-form-section label input[type="checkbox"] {
	color: #60a5fa !important;
}

.contact-form-section .bg-purple-600 {
	background-color: #9333ea !important;
}

.dark .contact-form-section .bg-purple-600 {
	background-color: #a855f7 !important;
}

.contact-form-section .bg-blue-500 {
	background-color: #3b82f6 !important;
}

.dark .contact-form-section .bg-blue-500 {
	background-color: #60a5fa !important;
}

.contact-form-section .bg-green-500 {
	background-color: #22c55e !important;
}

.dark .contact-form-section .bg-green-500 {
	background-color: #4ade80 !important;
}

.contact-form-section .bg-blue-900 {
	background-color: #1e3a8a !important;
}

.dark .contact-form-section .bg-blue-900 {
	background-color: #3b82f6 !important;
}

.contact-form-section .bg-blue-900:hover {
	background-color: #1e40af !important;
}

.dark .contact-form-section .bg-blue-900:hover {
	background-color: #2563eb !important;
}

.news-section a.group {
	background-color: transparent !important;
}

.dark .news-section a.group {
	background-color: transparent !important;
}