/*
Theme Name: Virjen
Author: Jeric by Konbini Digital
Author URI: https://konbini.digital
Description: A custom WordPress theme for Virjen.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: virjen
Tags: custom-theme, responsive, modern
*/

@import url("https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background-color: #fff;
	font-family: "Raleway", sans-serif;
}

.virjen-red-btn .wp-block-button__link{
	background: #CA000E;
}

.container .post-content .frm_submit button{
	background: #CA000E;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 500;
	padding: 10px 50px;
	text-transform: uppercase;
	border: 0;
}

.container .with_frm_style input[type="text"],
.container .with_frm_style input[type="email"],
.container .with_frm_style input[type="tel"],
.container .with_frm_style select,
.container .with_frm_style textarea
{
	border-radius: 5px;
	border-color: black;
	margin-top: 5px;
}	

.container .with_frm_style select,
.Virjen-application-form select {
	appearance: none;
	-webkit-appearance: none;
	background-color: #ffffff;
	background-image: linear-gradient(45deg, transparent 50%, #111111 50%), linear-gradient(135deg, #111111 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	border: 1px solid #17298f;
	border-radius: 0;
	box-sizing: border-box;
	color: #111111;
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	height: 48px;
	line-height: 1.2;
	margin-top: 5px;
	padding: 0 38px 0 12px;
	width: 100%;
}

.container .with_frm_style select:focus,
.Virjen-application-form select:focus {
	border-color: #17298f;
	box-shadow: 0 0 0 1px #17298f;
	outline: none;
}

.l-lineheight{
	line-height: 50px;
}

.wp-block-image img{
	width: 100%;
}

.padding-zero{
	padding: 0;
}

.gap-l{
	gap: 75px;
}

.margin-zero{
	margin: 0;
}

.service-row{
	  margin: auto;
	  width: 100%;
	  gap: 50px;

	.wp-block-group {
		max-width: 31%;
	}
}

.virjen-footer {
	background: #ffffff;
	border-top: 1px solid #e6e6e6;
	margin-top: 80px;
}

.virjen-footer-inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	padding: 28px 16px 36px;
	text-align: center;
}

.virjen-footer-logo .custom-logo {
	height: 44px;
	width: auto;
}

.virjen-footer-brand {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.virjen-footer-copy {
	color: #222222;
	font-size: 14px;
	letter-spacing: 0.06em;
	margin: 0;
	text-transform: uppercase;
	display: flex;
    align-items: center;
    column-gap: 10px;
}

@media (max-width: 600px) {
	.virjen-footer-copy {
		font-size: 12px;
		line-height: 1.5;
	}
}

.offset-margin{
	margin: -200px auto 0;
	z-index: 9;
	position: relative;
	width: 60%;
}

.wp-block-list{
	padding-left: 10px;
}

.width-half{
	width: 50%;
	margin: 0 auto;
}

.mission-offset-left{
	margin-left: -50px;
}

.width-70{
	width: 70%;
	margin: 0 auto;
}

.width-60-no-margin{
	width: 60%;
}

.width-70-no-margin{
	width: 70%;
}

.width-80-no-margin{
	width: 80%;
}

.position-relative{
	position: relative;
}

.line-25{
	line-height: 25px;
}

.mission-offset-bottom{
	position: absolute;
	width: 100%;
	max-width: 650px;
	bottom: -100px;
	right: 0;
}


body :where(.wp-block-columns) {
  margin-bottom: 0;
}

.no-top-margin{
	margin-top: 0;
}

.no-gap{
	gap: 0;
}

.no-padding{
	padding: 0;
}

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

.list-margin-bottom{
	li{
		margin-bottom: 20px;
	}
}

.list-margin-big{
	li{
		margin-bottom: 40px;
	}
}

.virjen-site-header {
	background: #ffffff;
	border-bottom: 1px solid #ececec;
}

.virjen-site-header-inner {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 82px;
	width: 100%;
}

.virjen-site-brand {
	min-width: 0;
	padding: 10px 26px 10px 32px;
	display: flex;
  	align-items: center;
}

.virjen-site-brand-link {
	align-items: center;
	color: #17298f;
	display: inline-flex;
	gap: 14px;
	max-width: 100%;
	text-decoration: none;
}

.virjen-site-brand-logo .custom-logo-link {
	display: inline-flex;
}

.virjen-site-brand-logo .custom-logo {
	height: 64px;
	width: auto;
}

.virjen-site-brand-text {
	font-family: "Libre Bodoni";
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.02em;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	color: #0E1774;
	margin-left: 15px;
}

.virjen-site-nav-wrap {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	gap: 34px;
	min-width: 0;
	justify-content: flex-end;
	padding: 10px 48px 10px 24px;
}

.virjen-site-menu {
	align-items: center;
	display: flex;
	gap: 38px;
	list-style: none;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.virjen-site-menu a {
	color: #161616;
	font-size: clamp(14px, 1.1vw, 29px);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
}

.virjen-site-menu .current-menu-item > a,
.virjen-site-menu .current-menu-parent > a,
.virjen-site-menu .current-menu-ancestor > a,
.virjen-site-menu .current_page_item > a,
.virjen-site-menu .current_page_parent > a,
.virjen-site-menu .current_page_ancestor > a,
.virjen-site-menu a:hover,
.virjen-site-menu a:focus,
.virjen-site-menu a:active {
	color: #CA000E;
}

.virjen-apply-now-btn {
	background: #ca000e;
	border-radius: 999px;
	color: #ffffff;
	display: inline-block;
	font-size: clamp(14px, 1.1vw, 29px);
	font-weight: 700;
	line-height: 1;
	padding: clamp(10px, 0.8vw, 16px) clamp(16px, 1.8vw, 36px);
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.virjen-apply-now-btn:hover,
.virjen-apply-now-btn:focus {
	background: #b0000b;
	color: #ffffff;
}

@media (max-width: 1200px) {
	.virjen-site-brand-text {
		font-size: 30px;
	}

	.virjen-site-menu a,
	.virjen-apply-now-btn {
		font-size: 20px;
	}

	.virjen-site-menu {
		gap: 24px;
	}
}

@media (max-width: 900px) {
	.virjen-site-header-inner {
		display: flex;
		flex-direction: column;
	}

	.virjen-site-brand {
		border-right: 0;
		border-bottom: 1px dotted #7db8ff;
		flex: 1 1 auto;
		padding: 10px 18px;
		text-align: center;
		width: 100%;
	}

	.virjen-site-brand-link {
		justify-content: center;
	}

	.virjen-site-brand-text {
		font-size: 24px;
	}

	.virjen-site-nav-wrap {
		flex: 1 1 auto;
		flex-wrap: wrap;
		gap: 16px;
		justify-content: center;
		padding: 12px 16px 18px;
		width: 100%;
	}

	.virjen-site-menu {
		flex-wrap: wrap;
		gap: 14px 20px;
		justify-content: center;
	}

	.virjen-site-menu a,
	.virjen-apply-now-btn {
		font-size: 16px;
	}

	.virjen-apply-now-btn {
		padding: 12px 24px;
	}
}

.virjen-programs-card {
	background: #131d86;
	border-radius: 0 20px 20px 0;
	color: #ffffff;
	left: 0;
	padding: 32px 34px 28px;
	position: fixed;
	top: 120px;
	width: 15vw;
	z-index: 20;
}

.virjen-programs-title {
	color: #ffffff;
	font-family: "Libre Bodoni", serif;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0 0 24px;
	text-transform: uppercase;
}

.virjen-programs-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.virjen-programs-list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.25;
	padding: 14px 0;
	text-transform: uppercase;
}

.virjen-programs-list li a {
	color: inherit;
	display: block;
	text-decoration: none;
}

.virjen-programs-list li a:hover,
.virjen-programs-list li a:focus {
	opacity: 0.85;
}

.virjen-programs-list li.is-last {
	border-bottom: 0;
	padding-bottom: 0;
}

.modal-border-radius-20 .htr-modal-content-wrap{
	border-radius: 20px;
}

.wp-block-group.grid-policy{
	grid-template-columns: 1fr auto 1fr;

	.has-text-align-left{
		margin-left: 35px;
	}

	.has-text-align-right{
		margin-right: 35px;
	}
}

@media (max-width: 1200px) {
	.virjen-programs-title {
		font-size: 24px;
	}

	.virjen-programs-list li {
		font-size: 18px;
	}
}

@media (max-width: 781px) {
	.virjen-programs-card {
		border-radius: 0;
		left: auto;
		max-width: none;
		padding: 28px 24px;
		position: static;
		top: auto;
		width: auto;
	}

	.virjen-programs-title {
		font-size: 30px;
		margin-bottom: 20px;
	}

	.virjen-programs-list li {
		font-size: 22px;
		padding: 14px 0;
	}
}

@media (max-width: 768px) {
	:root {
		--wp--preset--spacing--xl: 34px;
		--wp--preset--spacing--lg: 28px;
		--wp--preset--font-size--xl: 24px;
		--wp--preset--font-size--xxl: 72px;
	}
	
	.offset-margin{
		margin: -100px auto 0;
		width: 80%;
	}

	body.virjen-page-loaded .virjen-reveal.wp-post-image{
		height: 300px;
	}

	.mobile-text-center{
		text-align: center;
	}
	.virjen-site-brand{
		justify-content: center;
		width: unset;
	}
	.virjen-site-brand-text{
		font-size: 18px;
	}

	.award-list-mobile{
		flex-direction: column;
	}

	.mission-offset-left{
		margin-left: 0;
	}

	.stack-mobile{
		flex-direction: column;
		padding: 50px 15px;
	}

	.mission-offset-bottom{
		position: relative;
		bottom: 0;
	}

	body .is-layout-grid{
		display: flex;
		flex-direction: column;
	}

	body .grid-mobile-program{
		display: flex;
		flex-direction: column;
	}
}

@keyframes VirjenEaseInUp {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.virjen-reveal {
	opacity: 0;
	transform: translateY(14px);
	will-change: opacity, transform;
}

body.virjen-page-loaded .virjen-reveal {
	animation: VirjenEaseInUp 900ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
	animation-delay: var(--virjen-ease-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
	.virjen-reveal,
	body.virjen-page-loaded .virjen-reveal,
	.virjen-programs-simple-reveal {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

@keyframes VirjenProgramsSimpleIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.virjen-programs-simple-reveal {
	animation: VirjenProgramsSimpleIn 520ms ease-out both;
	animation-delay: var(--virjen-programs-delay, 0ms);
}
