/* ==========================================================================
   Asha Kirana Seva Trust - main stylesheet
   Breakpoints: 1024px (small laptop), 768px (tablet), 480px (phone),
   1440px+ (large monitors)
   ========================================================================== */

/* Reset
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, form, fieldset {
	margin: 0;
	padding: 0;
}
ul, ol {
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
button, input, textarea {
	font: inherit;
}

/* Fonts
   ========================================================================== */
@font-face {
	font-family: 'Conv_FRAMDCN';
	src: url('../fonts/FRAMDCN.woff') format('woff'), url('../fonts/FRAMDCN.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Conv_FRABK_4';
	src: url('../fonts/FRABK_4.woff') format('woff'), url('../fonts/FRABK_4.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* Base
   ========================================================================== */
:root {
	--maroon: #910000;
	--maroon-dark: #8d0100;
	--orange: #ffa300;
	--gold: #826400;
	--cream: #fffbf5;
	--footer-bg: #4b3000;
	--footer-text: #e6ca98;
	--container: 1200px;
	--gutter: 16px;
}
html {
	-webkit-text-size-adjust: 100%;
}
body {
	background: url(../images/icons/body.jpg) repeat 0 0;
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #000;
	overflow-x: hidden;
}
a {
	color: #000;
	text-decoration: none;
}
h1, h2, h3, h4 {
	font-size: 18px;
	font-weight: normal;
	color: #910100;
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
}
.container-comm {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--maroon);
	color: #fff;
	padding: 8px 12px;
	z-index: 100;
}
.skip-link:focus {
	left: 8px;
}

/* Buttons
   ========================================================================== */
.donate-btn {
	display: inline-block;
	background: var(--orange);
	border: 0;
	border-radius: 4px;
	color: #fff;
	text-align: center;
	padding: 5px 10px;
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	font-size: 21px;
	line-height: 1.2;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease;
}
.donate-btn:hover, .donate-btn:focus-visible {
	background: #940201;
	color: #fff;
}
.donate-btn--block {
	display: block;
	width: 100%;
	border-radius: 0;
}
.gray-bg {
	background: #c8c8c8;
}

/* Header
   ========================================================================== */
.site-header {
	padding: 10px 0;
}
.top-col {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.logo-link {
	flex: 0 1 305px;
	min-width: 0;
}
.logo {
	width: 100%;
}
.header-phone {
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	font-size: 18px;
	color: #910100;
	white-space: nowrap;
}
.header-phone:hover {
	text-decoration: underline;
}

/* Navigation */
.menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.menu ul {
	display: flex;
	flex-wrap: wrap;
}
.menu ul li {
	background: url(../images/icons/nav-line.png) no-repeat right 9px;
}
.menu ul li:last-child {
	background: none;
}
.menu ul li a {
	display: block;
	font-size: 19px;
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	color: #000;
	padding: 5px 10px;
	text-transform: uppercase;
}
.menu ul li:first-child a {
	padding-left: 0;
}
.menu ul li a:hover, .menu ul li a.active {
	color: #940201;
}
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 4px;
	background: var(--maroon);
	cursor: pointer;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
	display: block;
	height: 3px;
	background: #fff;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span + span {
	margin-top: 5px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Page title strip (inner pages) */
.top-redstripe-com {
	padding: 20px;
	background: var(--maroon);
	margin-top: 40px;
}
.top-redstripe-com h1 {
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	font-size: 21px;
	color: #eacc9a;
	margin-bottom: 10px;
}
.breadcrumb {
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	font-size: 18px;
	color: #eacc9a;
}
.breadcrumb a {
	color: #eacc9a;
}
.breadcrumb a:hover {
	text-decoration: underline;
}
.breadcrumb [aria-current] {
	color: #fff;
}

/* Home banner
   ========================================================================== */
.banner img {
	width: 100%;
}

/* Body content
   ========================================================================== */
.body-bg {
	background: var(--cream);
}
.p-text {
	font-size: 14px;
	line-height: 18px;
	color: #000;
}

/* Home intro: 2x2 feature grid + girl illustration */
.home-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}
.feature-grid {
	flex: 1 1 auto;
	max-width: 700px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 32px;
}
.feature {
	padding: 30px 0 30px 15px;
}
.feature:first-child {
	border-top: 4px solid var(--maroon-dark);
}
.feature img {
	margin-bottom: 10px;
}
.feature h2 {
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	font-size: 21px;
	color: #2c2c2c;
	margin-bottom: 10px;
}
.facil-col ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 18px;
	padding-left: 16px;
}
.facil-col li {
	list-style: disc;
	font-size: 13px;
	line-height: 18px;
}
.home-girl {
	flex: 0 0 auto;
	width: 286px;
}

/* Vision strip + programme cards (shared on every page)
   ========================================================================== */
.vision-section {
	padding-bottom: 40px;
}
.green-line {
	height: 4px;
	margin-bottom: 40px;
}
.vision-col {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding-left: 15px;
	margin-bottom: 40px;
}
.vision-text {
	flex: 0 0 auto;
	font-size: 36px;
	color: var(--maroon);
}
.vision-col .sub-text {
	font-size: 20px;
	line-height: 24px;
	text-transform: uppercase;
}
.programme-col {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	padding-left: 15px;
}
.programme-list {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 190px));
	gap: 32px 50px;
}
.programme-list img {
	margin-bottom: 10px;
}
.programme-list h3 {
	color: var(--gold);
	font-size: 21px;
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	margin-bottom: 10px;
}
.programme-list .p-text, .programme-donate .p-text {
	font-size: 16px;
	line-height: 20px;
}
.programme-donate {
	flex: 0 0 275px;
}
.programme-donate .donate-btn {
	font-size: 32px;
	padding: 20px;
	margin-bottom: 20px;
}

/* Footer
   ========================================================================== */
.site-footer {
	padding: 24px 0;
	background: var(--footer-bg);
	color: var(--footer-text);
}
.ft-nav {
	border-bottom: 1px solid var(--footer-text);
	border-top: 1px solid var(--footer-text);
	padding: 10px 0;
	margin-bottom: 20px;
}
.ft-nav ul {
	display: flex;
	flex-wrap: wrap;
}
.ft-nav ul li {
	background: url(../images/icons/ft_line.jpg) no-repeat right 5px;
}
.ft-nav ul li:last-child {
	background: none;
}
.ft-nav ul li a {
	display: block;
	color: #ffe1b0;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 20px;
	text-transform: uppercase;
	padding: 5px 10px;
}
.ft-nav ul li:first-child a {
	padding-left: 0;
}
.ft-nav ul li a:hover {
	color: var(--orange);
}
.ft-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
}
.ft-logo {
	width: 128px;
}

/* Inner pages: main column + sidebar
   ========================================================================== */
.page-layout {
	display: flex;
	gap: 30px;
}
.comm-left-col {
	flex: 1 1 auto;
	min-width: 0;
	padding: 30px 0;
}
.comm-left-col .top-img {
	width: 100%;
	aspect-ratio: 688 / 352;
	object-fit: cover;
	margin-bottom: 20px;
}
.comm-left-col h2 {
	color: #2c2c2c;
	font-size: 21px;
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	margin-bottom: 10px;
}
.text-plain {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 15px;
}
.comm-right-col {
	flex: 0 0 220px;
	padding: 30px 0;
}
.comm-right-col .donate-btn {
	padding: 15px 10px;
	margin-bottom: 20px;
}
.comm-right-col ul {
	padding-left: 20px;
}
.comm-right-col ul li {
	color: var(--maroon);
	font-size: 14px;
	list-style: disc;
	padding-left: 10px;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.left-list {
	margin: 20px 0;
}
.left-list ul {
	padding-left: 20px;
}
.left-list ul li {
	font-size: 15px;
	line-height: 20px;
	list-style: disc;
	margin: 0 0 10px 5px;
}
.left-list ul li::marker {
	color: var(--maroon);
}

/* Contact page
   ========================================================================== */
.section-title {
	font-size: 30px;
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	text-transform: uppercase;
	color: #333;
	margin: 10px 0 7px;
}
.address-col {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 8%;
	padding: 16px;
	background: #f2f0ec;
	margin-bottom: 45px;
}
.address-col h3 {
	font-size: 30px;
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	text-transform: uppercase;
	color: #333;
	border-bottom: 2px solid #929190;
	padding-bottom: 15px;
	margin-bottom: 10px;
}
.address-col .add-text {
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #333;
	overflow-wrap: anywhere;
}
.address-col a:hover {
	color: var(--maroon);
	text-decoration: underline;
}
.donation-col {
	max-width: 520px;
}
.donation-col h2 {
	margin-bottom: 14px;
}
.inpt, .donation-col textarea {
	display: block;
	width: 100%;
	border: 1px solid var(--orange);
	margin-bottom: 10px;
	padding: 8px 10px;
	color: var(--maroon);
	font-family: 'Conv_FRAMDCN', Arial, sans-serif;
	font-size: 16px;
	background: #fff;
	border-radius: 4px;
}
.inpt {
	height: 44px;
}
.donation-col textarea {
	height: 150px;
	resize: vertical;
}
.inpt:hover, .donation-col textarea:hover, .inpt:focus, .donation-col textarea:focus {
	background: #f9ebd5;
	outline: none;
	border-color: var(--maroon);
}
.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.form-actions .donate-btn {
	color: #000;
	padding: 10px 16px;
}
.form-actions .donate-btn:hover {
	color: #fff;
}
.form-actions .donate-btn[disabled] {
	opacity: .6;
	cursor: wait;
}
.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form-status {
	min-height: 28px;
	margin-top: 14px;
	font-size: 18px;
}
.form-status.is-error {
	color: #c00;
}
.form-status.is-success {
	color: #1b7a1b;
}
.btn-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	vertical-align: -2px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin {
	to { transform: rotate(360deg); }
}
.form-actions .donate-btn.is-loading {
	opacity: .85;
	cursor: wait;
}

/* Contact form result popup */
body.modal-open {
	overflow: hidden;
}
.form-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--gutter);
	background: rgba(0, 0, 0, .55);
	animation: modal-fade .2s ease-out;
}
.form-modal[hidden] {
	display: none;
}
.form-modal__box {
	width: 100%;
	max-width: 420px;
	padding: 30px 24px 24px;
	text-align: center;
	background: var(--cream);
	border-top: 6px solid var(--maroon);
	border-bottom: 6px solid var(--orange);
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.form-modal__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	border-radius: 50%;
	color: #fff;
	font-size: 34px;
	line-height: 64px;
	font-family: Arial, sans-serif;
}
.form-modal.is-success .form-modal__icon {
	background: #1b7a1b;
}
.form-modal.is-error .form-modal__icon {
	background: #c00;
}
.form-modal__title {
	margin: 0 0 8px;
	color: var(--maroon);
	font-size: 26px;
}
.form-modal__msg {
	margin: 0 0 20px;
	color: #333;
	font-size: 17px;
	line-height: 1.45;
}
.form-modal__ok {
	min-width: 120px;
	padding: 10px 20px;
	border: 0;
	color: #000;
	cursor: pointer;
}
.form-modal__ok:hover, .form-modal__ok:focus-visible {
	color: #fff;
}
@keyframes modal-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Donate page */
.donate-qr {
	display: flex;
	justify-content: center;
}
.donate-qr img {
	width: 100%;
	max-width: 480px;
}

/* Gallery page
   ========================================================================== */
.gallery {
	margin: 20px 0 40px;
}
.gallery h2 {
	font-family: 'Conv_FRABK_4', Arial, sans-serif;
	font-size: 21px;
	color: var(--maroon);
	text-transform: uppercase;
	margin-bottom: 16px;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 40px;
}
.gallery-grid a {
	display: block;
	border: 2px solid var(--orange);
	overflow: hidden;
}
.gallery-grid img {
	width: 100%;
	aspect-ratio: 31 / 20;
	object-fit: cover;
	transition: transform .3s ease;
}
.gallery-grid a:hover img {
	transform: scale(1.04);
}

/* 404 page */
.not-found {
	padding: 60px 0;
	text-align: center;
}
.not-found h2 {
	font-size: 28px;
	margin-bottom: 16px;
}
.not-found .text-plain {
	margin-bottom: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Large monitors */
@media (min-width: 1440px) {
	:root {
		--container: 1320px;
	}
	.text-plain, .p-text {
		font-size: 15px;
		line-height: 22px;
	}
}

/* Small laptops / large tablets */
@media (max-width: 1024px) {
	.menu ul li a {
		font-size: 17px;
		padding: 5px 8px;
	}
	.donate-btn {
		font-size: 19px;
	}
	.home-girl {
		width: 220px;
	}
	.programme-col {
		flex-direction: column;
		gap: 24px;
	}
	.programme-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
	.programme-donate {
		flex-basis: auto;
		max-width: 420px;
	}
	.comm-right-col {
		flex-basis: 190px;
	}
	.gallery-grid {
		gap: 20px;
	}
}

/* Tablets */
@media (max-width: 768px) {
	.top-col {
		margin-bottom: 12px;
	}
	.header-phone {
		font-size: 16px;
		margin-left: auto;
	}
	.nav-toggle {
		display: block;
	}
	.menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		border-top: 3px solid var(--maroon);
		box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
		padding: 8px 0 12px;
	}
	.menu.is-open {
		display: flex;
	}
	.menu ul {
		flex-direction: column;
	}
	.menu ul li {
		background: none;
		border-bottom: 1px solid #f0e6d6;
	}
	.menu ul li a, .menu ul li:first-child a {
		padding: 12px 16px;
	}
	.menu .donate-btn {
		margin: 4px 16px 0;
		padding: 10px;
	}
	.top-redstripe-com {
		margin-top: 16px;
		padding: 16px;
	}

	.home-intro {
		flex-direction: column;
		align-items: stretch;
	}
	.feature-grid {
		max-width: none;
	}
	.home-girl {
		display: none;
	}

	.vision-col {
		flex-direction: column;
		gap: 8px;
		padding-left: 0;
	}
	.vision-text {
		font-size: 30px;
	}
	.programme-col {
		padding-left: 0;
	}

	.page-layout {
		flex-direction: column;
		gap: 0;
	}
	.comm-left-col {
		padding-bottom: 10px;
	}
	.comm-right-col {
		display: none;
	}

	.address-col {
		grid-template-columns: 1fr;
	}
	.address-col h3 {
		font-size: 24px;
		padding-bottom: 8px;
	}
	.donation-col {
		max-width: none;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ft-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Phones */
@media (max-width: 480px) {
	:root {
		--gutter: 12px;
	}
	.top-col {
		gap: 10px;
	}
	.logo-link {
		flex-basis: 190px;
	}
	.header-phone {
		font-size: 14px;
	}
	.top-redstripe-com h1 {
		font-size: 19px;
	}
	.breadcrumb {
		font-size: 16px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}
	.feature, .feature:first-child {
		padding: 24px 0;
		border-top: 0;
		border-bottom: 1px solid #ecdcc4;
	}
	.feature:last-child {
		border-bottom: 0;
	}

	.vision-text {
		font-size: 26px;
	}
	.vision-col .sub-text {
		font-size: 17px;
		line-height: 22px;
	}
	.programme-list {
		grid-template-columns: 1fr;
	}
	.programme-list li {
		display: grid;
		grid-template-columns: 100px 1fr;
		column-gap: 16px;
		align-items: start;
	}
	.programme-list img {
		grid-row: span 2;
		margin-bottom: 0;
	}
	.programme-list h3 {
		font-size: 19px;
		margin-bottom: 6px;
	}
	.programme-donate {
		max-width: none;
	}
	.programme-donate .donate-btn {
		font-size: 26px;
		padding: 16px;
	}

	.section-title {
		font-size: 24px;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
}
