/*
Theme Name: AGH Theme
Theme URI: https://aghfoundation.ae
Author: AGH Foundation
Description: Lightweight custom theme for the Abdul Gaffar Hussain Foundation site. Provides the site-wide header, footer, 404 and blog templates. Static pages are built with Elementor.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: agh-theme
*/

:root {
	--agh-teal: #075056;
	--agh-teal-dark: #053b3f;
	--agh-btn-radius: 6px;
	--agh-text-on-teal: #ffffff;
	--agh-text-on-teal-muted: rgba(255, 255, 255, 0.8);
	--agh-text: #1f2d2f;
	--agh-text-muted: #5c6b6d;
	--agh-bg: #ffffff;
	--agh-bg-alt: #f4f9f9;
	--agh-border: #e3edee;
	--agh-font: 'Cairo', sans-serif;
	--agh-container: 1200px;
	--agh-radius: 10px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--agh-font);
	color: var(--agh-text);
	background: var(--agh-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--agh-font);
	font-weight: 700;
	margin: 0 0 .6em;
}

.agh-container {
	width: 100%;
	max-width: var(--agh-container);
	margin-inline: auto;
	padding-inline: 24px;
}

.agh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: var(--agh-btn-radius);
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.agh-btn--light {
	background: var(--agh-text-on-teal);
	color: var(--agh-teal-dark);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.agh-btn--light:hover {
	background: transparent;
	color: var(--agh-text-on-teal);
	border-color: var(--agh-text-on-teal);
	box-shadow: none;
	transform: translateY(-1px);
}

.agh-btn--outline {
	background: transparent;
	color: var(--agh-text-on-teal);
	border-color: rgba(255, 255, 255, .6);
}

.agh-btn--outline:hover {
	background: var(--agh-text-on-teal);
	color: var(--agh-teal-dark);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	inset-inline-start: 0;
	top: -100px;
	background: var(--agh-teal-dark);
	color: #fff;
	padding: 10px 16px;
	z-index: 9999;
	transition: top .2s ease;
}

.skip-link:focus {
	top: 0;
}
