/*
Theme Name: Epic Softwares
Theme URI: https://epicsoftwares.com
Author: Epic Softwares
Author URI: https://epicsoftwares.com
Description: A custom, production-ready WordPress theme for Epic Softwares — a software development and digital technology services company. Built with native WordPress template tags, custom post types for services, clients, testimonials and careers, an SEO-friendly markup layer, and vanilla JavaScript interactions. No page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: epic-softwares
Tags: custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, responsive-layout, blog

Epic Softwares WordPress Theme, Copyright 2024 Epic Softwares.
Epic Softwares is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   Design tokens
   Colors are sampled directly from the Epic Softwares logo (primary blue
   #4564AF and accent blue #42B4E7), extended with a dark navy and two
   light neutrals for section rhythm. Every value below is the single
   source of truth other stylesheets (assets/css/main.css and
   assets/css/responsive.css) read through var(--...).
   ========================================================================== */
:root {
	/* Brand colors */
	--color-primary: #4564AF;
	--color-primary-dark: #344E88;
	--color-accent: #42B4E7;
	--color-accent-light: #8FD9F5;
	--color-navy: #0B1B33;
	--color-navy-2: #142B4D;
	--color-white: #FFFFFF;

	/* Text + neutrals */
	--color-text: #172033;
	--color-text-secondary: #5C677A;
	--color-bg-light: #F6F8FB;
	--color-bg-soft: #EEF7FC;
	--color-border: #E3E9F2;

	/* Status */
	--color-success: #1E8E5A;
	--color-error: #C7402E;

	/* Gradients */
	--gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
	--gradient-soft: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg-soft) 100%);
	--gradient-navy: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);

	/* Typography */
	--font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	/* Layout */
	--container-width: 1220px;
	--header-height: 84px;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-pill: 999px;
	--shadow-sm: 0 2px 10px rgba(11, 27, 51, 0.06);
	--shadow-md: 0 12px 30px rgba(11, 27, 51, 0.10);
	--shadow-lg: 0 24px 60px rgba(11, 27, 51, 0.18);

	/* Motion */
	--transition-fast: 150ms ease;
	--transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base reset and element defaults. Component and section styling lives in
   assets/css/main.css; breakpoint overrides live in assets/css/responsive.css.
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--color-text);
	background: var(--color-white);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.no-scroll {
	overflow: hidden;
}

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

svg {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	padding: 0;
	margin: 0;
	list-style: none;
}

button {
	font-family: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.18;
	color: var(--color-text);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.15em;
	color: var(--color-text-secondary);
}

p:last-child {
	margin-bottom: 0;
}

strong, b {
	font-weight: 600;
	color: var(--color-text);
}

/* Skip link — hidden until focused, per WCAG keyboard navigation guidance. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: -60px;
	left: 16px;
	z-index: 10000;
	background: var(--color-navy);
	color: var(--color-white);
	padding: 12px 20px;
	border-radius: var(--radius-sm);
	font-family: var(--font-display);
	font-weight: 600;
	transition: top var(--transition-fast);
}

.skip-link:focus {
	top: 16px;
}

/* Visible keyboard focus everywhere — never suppressed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
