/*
Theme Name: VCS
Theme URI: https://vcs.org.uk
Author: Jeric by Konbini Digital
Author URI: https://konbini.digital
Description: A custom WordPress theme for VCS.
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: vcs
Tags: custom-theme, responsive, modern
*/

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}



body {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
}

h1{
	font-size: 42px;
}

.page-wrapper {
	max-width: 1920px;
	margin: 0 auto;
	width: 100%;
}

p{
	margin-bottom: 0;
}

h1,h2,h3,h4,h5,h6{
	color: #3F8D38;
}

.has-large-font-size{
	font-weight: 500;
}

/* Margin Bottom Utility Classes */
.mb-0 {
	margin-bottom: 0;
}

.mb-xs {
	margin-bottom: 0.5rem;
}

.mb-sm {
	margin-bottom: 1rem;
}

.mb-md {
	margin-bottom: 1.5rem;
}

.mb-lg {
	margin-bottom: 2rem;
}

.mb-xl {
	margin-bottom: 3rem;
}

.mb-xxl {
	margin-bottom: 4rem;
}

.mb-xxxl {
	margin-bottom: 5rem;
}

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

.mt-xs {
	margin-top: 0.5rem;
}

.mt-sm {
	margin-top: 1rem;
}

.mt-md {
	margin-top: 1.5rem;
}

.mt-lg {
	margin-top: 2rem;
}

.mt-xl {
	margin-top: 3rem;
}

.mt-xxl {
	margin-top: 4rem;
}

.mt-xxxl {
	margin-top: 5rem;
}

/* Container */
.container {
	margin: 0 auto;
}

/* Header */
.site-header {
	background-color: #F5F5DC;
	width: 100%;
	position: relative;
}

.has-xx-large-font-size{
	font-size: 4rem;
}

.has-xxx-large-font-size{
	font-size: 5rem;
}

.header-container {
	max-width: 1920px;
	margin: 0 auto;
	padding: 0 35px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.site-branding {
	display: flex;
	align-items: center;
}

.site-logo-link {
	display: inline-block;
	text-decoration: none;
}

.site-logo {
	height: auto;
	max-height: 80px;
	width: auto;
	display: block;
}

.site-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.site-title a {
	text-decoration: none;
	color: #333;
}

/* Navigation */
.main-navigation {
	display: flex;
	align-items: center;
	position: relative;
}

.main-navigation .nav-menu,
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	align-items: center;
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
	width: 40px;
	height: 40px;
	position: relative;
	align-items: center;
	justify-content: center;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	position: relative;
}

.menu-toggle-icon span {
	display: block;
	height: 3px;
	width: 100%;
	background-color: #3F8D38;
	border-radius: 3px;
	transition: all 0.3s ease;
	transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
	opacity: 0;
	transform: translateX(-10px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

.main-navigation li {
	margin: 0;
	padding: 0;
}

.main-navigation a {
	text-decoration: none;
	color: #3F8D38;
	font-weight: 500;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
	position: relative;
	padding-bottom: 0.5rem;
	display: block;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: #3F8D38;
}

.current_page_item a{
	font-weight: 800;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background-color: #FFD700;
	transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
	width: 100%;
}

/* Main Content */
.site-main {
	min-height: 60vh;
}


.post-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.post-title a {
	text-decoration: none;
	color: #333;
}

.post-title a:hover {
	color: #0073aa;
}

.post-meta {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.post-content p {
	margin-bottom: 1rem;
}

.post-thumbnail {
	margin-bottom: 1rem;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Search Form */
.search-form {
	display: flex;
	gap: 0.5rem;
	margin: 2rem 0;
}

.search-field {
	padding: 0.5rem 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	flex: 1;
	font-size: 1rem;
}

.search-submit {
	padding: 0.5rem 1.5rem;
	background-color: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
}

.search-submit:hover {
	background-color: #005a87;
}

/* Page Header */
.page-header {
	margin-bottom: 2rem;
}

.page-title {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.archive-description {
	color: #666;
	margin-bottom: 1rem;
}

/* Navigation Links */
.posts-navigation,
.post-navigation {
	margin: 2rem 0;
	padding: 1rem 0;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.nav-previous,
.nav-next {
	flex: 1;
}

.nav-subtitle {
	display: block;
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.25rem;
}

.nav-title {
	font-weight: 600;
}

/* Comments */
.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e0e0e0;
}

/* Footer */
.site-footer {
	background-color: #10813D;
	color: #fff;
	margin-top: 0px;
	width: 100%;
}

.footer-content {
	max-width: 1920px;
	margin: 0 auto;
	padding: 150px 150px 30px;
}

.footer-container {
	display: flex;
	gap: 60px;
	margin-bottom: 40px;
}

.footer-left {
	flex: 1;
}

.footer-headline {
	color: #F5D62D;
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.2;
}

.footer-description {
	color: #fff;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-phone {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
}

.footer-address {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.address-label {
	color: #F5D62D;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
}

.address-text {
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
}

.footer-right {
	flex: 1;
}

.footer-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.form-group label {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 12px 15px;
	font-size: 1rem;
	font-family: inherit;
	color: #333;
	width: 100%;
	transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #F5D62D;
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.footer-submit-btn {
	background-color: #F5D62D;
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 14px 40px;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background-color 0.3s ease;
	align-self: flex-start;
	margin-top: 0.5rem;
}

.footer-submit-btn:hover {
	background-color: #e6c526;
}

.footer-copyright {
	text-align: center;
	padding-top: 30px;
}

.footer-copyright p {
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

/* Ensure menu is visible on desktop */
@media (min-width: 769px) {
	.menu-toggle {
		display: none !important;
	}
	
	.main-navigation {
		display: flex !important;
		position: relative !important;
		max-height: none !important;
		padding: 0 !important;
		overflow: visible !important;
		box-shadow: none !important;
	}
}

/* Responsive */
@media (max-width: 768px) {
	.header-container {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0 20px;
		position: relative;
	}

	.site-logo {
		max-height: 60px;
	}

	.menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		order: 2;
	}

	.site-branding {
		order: 1;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #F5F5DC;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease, padding 0.3s ease;
		z-index: 1000;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		padding: 0;
		order: 3;
	}

	.main-navigation.toggled {
		max-height: 600px;
		padding: 20px 0;
		overflow-y: auto;
	}

	.main-navigation .nav-menu,
	.main-navigation ul {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
		width: 100%;
		padding: 0 20px;
	}

	.main-navigation li {
		width: 100%;
	}

	.main-navigation a {
		padding: 12px 20px;
		width: 100%;
		display: block;
		text-align: center;
	}

	.main-navigation a::after {
		display: none;
	}

	.post-title {
		font-size: 1.5rem;
	}

	.search-form {
		flex-direction: column;
	}

	.nav-links {
		flex-direction: column;
	}

	.footer-container {
		flex-direction: column;
		gap: 40px;
	}

	.footer-headline {
		font-size: 1.75rem;
	}

	.footer-content {
		padding: 40px 20px 25px;
	}
}

.hero-box{
	margin: 0 100px;
	justify-content: center;
	margin-top: -50px;
	z-index: 999;
	position: relative;
	
	h3{
		color: #fff;
	}
	
}

.home{
	h2{
		margin-top: 100px;
	}
}

.vcs-box-green{
	background-color: #10813D;
	max-width: 382px;
	width: 100%;
	color: #fff;
	border-radius: 20px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.vcs-mid{
	.wp-block-columns{
		gap: 0;
	}
}

.box-center{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	.box-center-item{
		max-width: 80%;
	}

	h4{
		font-weight: normal;
	}
}
.main-navigation{
	a{
		font-size: 20px;
	}

}

.vcs-activities{
	gap: 0px;
	img{
		width: 100%;
	}

	.activities-posts{
		display: flex;
		flex-direction: column;
		ul, .wp-block-buttons{
			margin: auto;
			width: 80%;
		}

		li{
			border-bottom: 2px white solid;
			margin-bottom: 35px;
		}
		.wp-block-latest-posts__post-title{
			color: #F5D62D;
			font-size: 20px;
			text-decoration: none;
		}
		.wp-block-latest-posts__read-more{
			display: none;
		}
	}
}

.wp-block-buttons{
	a.wp-element-button{
		color: black;
		font-weight: bold;
		padding: 10px 55px;
		background-color: #F5D62D;
	}
}

.hero-cont{
	margin-top: 100px;
	.wp-block-column{
		display: flex;
		flex-direction: column;
		align-items: center;

		p{
			width: 50%;
			margin-top: 15px;
		}
	}
}

.vcs-vision-mission{
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin-top: 50px;

	.vcs-box-green{
		max-width: 500px;
		padding: 40px 60px;
		justify-content: unset;

		h3,h4{
			color: white;
		}

		p{
			margin-top: 25px;
			text-align: left;
		}

		ul{
			text-align: left;
			padding: 0 25px;
		}
	}
}

.our-goal{
	padding: 70px;
}

.goal-list{
	max-width: 60%;
	margin: 50px auto !important;
	display: flex;
	flex-direction: column;
	gap: 30px;


	.wp-block-group{
		display: flex;
		justify-content: center;
		gap: 50px;

		figure{
			max-width: 30%;
			flex-grow: 0;
		}
	
		p{
			max-width: 70%;
			flex-grow: 1;
		}
	}
	
}

.vcs-core{
	.vcs-core-cont{
		max-width: 70%;
		margin: 50px auto !important;
		display: flex;
		flex-direction: column;
		gap: 30px;

		.wp-block-group{
			display: flex;
			justify-content: center;
	
			h2{
				max-width: 85px;
				width: 100%;
				flex-grow: 0;
			}
		
			p{
				max-width: 70%;
				flex-grow: 1;
			}
		}
	}
}

header{
	padding: 15px 0;
	z-index: 9;
}

/* Animation Styles */
.animate-on-load {
	opacity: 0;
	animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
	opacity: 1;
	transform: translateY(0);
}

/* Fade In Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

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

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* Animation Delay Classes */
.animate-delay-1 {
	animation-delay: 0.1s;
}

.animate-delay-2 {
	animation-delay: 0.2s;
}

.animate-delay-3 {
	animation-delay: 0.3s;
}

.animate-delay-4 {
	animation-delay: 0.4s;
}

.animate-delay-5 {
	animation-delay: 0.5s;
}

.animate-delay-6 {
	animation-delay: 0.6s;
}

/* Animation Duration Classes */
.animate-fast {
	animation-duration: 0.4s;
}

.animate-normal {
	animation-duration: 0.8s;
}

.animate-slow {
	animation-duration: 1.2s;
}

/* Auto-animate common elements */
.site-header {
	opacity: 0;
}

.site-main > * {
	opacity: 0;
}

.site-footer {
	opacity: 0;
}

/* Animate WordPress blocks - will be handled by JS */
.wp-block-group,
.wp-block-columns,
.wp-block-column,
.wp-block-image,
.wp-block-heading,
.wp-block-paragraph {
	opacity: 0;
}

/* Prevent layout shift during animation */
.animate-on-scroll,
.animate-on-load {
	will-change: opacity, transform;
}

/* Buttons and interactive elements will be animated by JS */
.wp-element-button,
.footer-submit-btn,
a.wp-element-button {
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.wp-element-button:hover,
.footer-submit-btn:hover,
a.wp-element-button:hover {
	transform: translateY(-2px);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
	.animate-on-scroll,
	.animate-on-load,
	.site-header,
	.site-main > *,
	.site-footer,
	.wp-block-group,
	.wp-block-columns,
	.wp-block-column,
	.wp-block-image,
	.wp-block-heading,
	.wp-block-paragraph,
	.wp-element-button,
	.footer-submit-btn,
	a.wp-element-button,
	.wp-block-image img,
	.post-thumbnail img,
	.vcs-carousel-image img,
	h1, h2, h3, h4, h5, h6 {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

.vcs-religion{
	p.half{
		width: 70%;
		margin: 0 auto;
	}
}

.portal-sect{
	display: flex;
	align-content: center;
	justify-content: center;
	margin-top: 50px;

	img{
		margin: 20px 0 35px;
	}
}


.online-sect{
    ol{
		margin: auto;
        width: 80%;

		li{
			margin: 20px 0 0;

			.wp-block-list{
				list-style: none;
				margin-top: 20px;
				li{
					margin-top: 2px;
				}
			}
		}
    }
}

.portal-sect{
	align-items: stretch !important;
	
	.vcs-box-green{
		height: auto;
		align-self: stretch;
	}
}

@media screen and (max-width: 781px) {
	.wp-block-column{
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.vcs-mid{
		.wp-block-column{
			flex-direction: column-reverse;
		}
	}
	
	.mobile-reverse-column{
		flex-direction: column-reverse;
	}
	
	.image-side-mobile{
		padding-top: 0;
		padding-bottom: 0;
	}
	
	.vcs-religion{
		padding: 25px !important;
	}
	
	.vcs-box{
		padding: 100px 50px !important;
	}
	
	.wp-block-lbb-lightbox{
		padding: 0 30px;
	}
}