:root {
	--primary-background-color: #0f172a;
	--primary-green-color: green;
	--primary-deepsea-blue: #315665;
	--primary-white: #ffffff;
	--primary-black: #000000;
	--content-width: 1200px;
	--content-padding: 5px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html, body {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	height: 100%;
	font-family: -apple-system, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 15px;
	color: #2c3e50;
	background-color: #f8fafc;
}
body {
	display: flex;
	flex-direction: column;
}
/* --- Navigation Pane & Header Image Canvas --- */
.navigationPane {
	margin: 0;
	position: relative;
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	height: 400px;
	background-image: url("./images/farm.webp");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: normal;
	overflow: visible;
}
.navigationPane ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	height: 100px;
    background-color: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	position: fixed;
	top: 0;
	z-index: 9999;
}
.navigationPane a {
	cursor: pointer;
}
.navigationPane img {
	margin-left: 20px;
	margin-right: 40px;
	height: 50px;
	width: auto;
	filter: saturate(150%);
}
.tractor {
	margin: 0;
	position: absolute;
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	height: 520px;
	background-image: url("./images/tractor1.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: normal;
	overflow: visible;
	top: -60px;
	width: 100%;
	filter: saturate(150%);
}
.mainList a {
	color: var(--primary-background-color);
	margin-right: 35px;
	text-decoration: none;
	font-weight: 600;
	font-size: 17px;
	letter-spacing: 0.5px;
	transition: color 0.2s ease, transform 0.2s;
}
.mainList > a:hover {
	color: var(--primary-green-color);
	transform: translateY(-1px);
}
.search-bar {
	margin-left: auto;    
	margin-right: 40px;
	display: flex;
	align-items: center;
}
.search-bar input[type="search"] {
	height: 32px;
	width: 190px;
	padding: 0 14px;
	border: 1px solid rgba(152, 25, 255, 0.2);
	border-radius: 20px 0 0 20px;
	background-color: rgba(0, 0, 0, 0.20);
	color: var(--primary-black);
	outline: none;
	font-size: 13px;
	transition: all 0.3s ease;
}
.search-bar input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.6);
}
.search-bar input[type="search"]:focus {
	border-color: #2ecc71;
	background-color: rgba(255, 255, 255, 0.25);
	width: 220px;
}
.search-bar .search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 20px;
	background-color: #315665;
	border: 1.8px solid rgba(0, 0, 0, 1);
	color: white;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	border-radius: 0 20px 20px 0;
	transition: background-color 0.2s ease;
}
.search-bar .search-btn:hover {
	background-color: var(--primary-green-color);
	color: #ffffff;
}
.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
	cursor: pointer;
	position: fixed;
	top: 16px;
	right: 20px;
	z-index: 10000;
}

.burger-menu span {
	height: 3px;
	width: 100%;
	background: #315665;
	border-radius: 2px;
	transition: 0.3s;
}

/* ============================================================================================ */
/* Start Body Component                                                                         */
/* ============================================================================================ */
.body-section {
	position: relative;
	flex: 1;
	padding: 60px 10%;
	box-sizing: border-box;
	z-index: 1;
	background-image: linear-gradient(rgba(97, 120, 255, 0.05), rgba(254, 193, 148, 0.05));
}
.hero-intro {
	text-align: center;
	margin-top: 20px;
	grid-gap: 10px;
}

.hero-intro h1 {
	font-size: 2.6rem;
	color: var(--primary-deepsea-blue);
	margin: 0 0 15px 0;
	font-weight: 700;
	letter-spacing: -0.5px;
}
.hero-intro .subtitle {
	font-size: 1.15rem;
	color: #64748b;
	max-width: 850px;
	margin: 0 auto 30px auto;
	line-height: 1.6;
	text-align: justify;
	line-height: 22px;
}
.cta-buttons a {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	margin: 0 10px;
	font-size: 14px;
	transition: all 0.2s ease;
}
.btn-primary, .btn-secondary {
	background-color: var(--primary-deepsea-blue);
	color: var(--primary-white);
	box-shadow: 0 4px 10px rgba(49, 86, 101, 0.2);
	border: 2px solid #315665;
	cursor: pointer;
}
.btn-primary:hover, .btn-secondary:hover {
	background-color: rgba(49, 86, 101, 0.05);
	transform: translateY(-2px);
	color: var(--primary-deepsea-blue)
}
/* =================================================================================== */
/*   Services Contents                                                                 */
/* =================================================================================== */
.our-services {
	position: relative;
	margin-top: 2rem;
	text-align: center;
	color: var(--primary-deepsea-blue);
}
.services-contents {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-gap: 15px;
	align-items: start;
}
.our-services h1 {
	font-size: 2.6rem;
}
.keyhole-container {
	position: relative;
	display: flex;
	flex-direction: column;
	word-wrap: break-word;
  	width: 100%;
  	min-height: 40px;
  	height: auto;
  	background-color: rgba(0, 50, 255, 0.8);
  	border-radius: 20px 20px 20px 20px;
  	padding: 3px;
  	color: var(--primary-white);
}
.top-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.keyhole-content {
	margin-top: 10px;
	background-color: var(--primary-green-color);
	padding: 10px;
	border-radius: 10px 10px 20px 20px;
	width: 100%;
	text-align: start;
}
.keyhole-content ul {
	list-style: none;
}
.keyhole-container span {
	padding-left: 5px;
}
.keyhole {
	align-items: flex-start;
	background-color: var(--primary-white);
	min-width: 35px;
	min-height: 35px;
	border-radius: 50%;
}

/* ====================================================================================== */
/* Cluster Information Blocks Grid                                                        */
/* ====================================================================================== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-top: 50px;
}
.feature-card {
	position: relative;
	padding: 10px;
	background: var(--primary-white);
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.03);
	transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.feature-card img {
	object-fit: cover;
	object-position: center;
	height: 200px;
	width: 100%;
	font-size: 2rem;
	margin-bottom: 15px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}
.feature-card h3 {
	color: #1e293b;
	margin: 0 0 12px 0;
	font-size: 1.25rem;
}
.feature-card p {
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}
.workshop {
	margin: 3rem 0 0 0;
}
.body-cap {
	background-color: var(--primary-green-color);
	height: 25px;
	width: 100%;
	border-bottom-left-radius: 25px;
}
.clipped-text:before {
	display: flex;
	text-align: center;
	justify-content: center;
	content: "Workshop 16 - 17 April 2026 Overview";
    background-image: url("./images/grass.webp");
    background-clip: text;
    -moz-background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 3rem;
    font-weight: 900;
    -webkit-text-fill-color: transparent;
    filter: saturate(180%);
    -webkit-text-stroke: 2px solid black;
}
.workshop-gallery p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Horizontal Masonry Layout Core Configuration */
.masonry-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}
.masonry-item {
    height: 150px;
    flex-grow: 1;
}
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    vertical-align: middle;
}

/* --- Gallery Grid UI Component --- */
.carousel-section {
	background-color: #f1f5f9;
	padding: 60px 10%;
	/*width: 100vw !important;*/
}
.carousel-section h2 {
	text-align: center;
	color: #315665;
	font-size: 1.8rem;
	margin: 0 0 40px 0;
}
.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 50px;
}
.media-item {
	height: 220px;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.item-one {
	background-image: url("./images/Office2.webp");
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: normal;
}
.item-two {
	background-image: url("./images/infrastructure.webp");
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: normal;
}
.item-three {
	background-image: url("./images/logistics.webp");
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: normal;
}


/* Smooth dark overlay fade on card hover */
.media-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
	display: flex;
	align-items: flex-end;
	padding: 20px;
	opacity: 0.9;
	transition: opacity 0.3s;
}
.media-overlay span {
	color: white;
	font-weight: 600;
	font-size: 1.1rem;
}
.media-item:hover .media-overlay {
	opacity: 1;
}

/* --- Sponsors Styling Frame --- */
.sponsors-wrapper {
	text-align: center;
	border-top: 1px solid #e2e8f0;
	padding-top: 40px;
}
.sponsors-wrapper h3 {
	font-size: 1.1rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0 0 25px 0;
}

/* ============================================================================================== */
/* FOOTER SECTION                                                                                 */
/* ============================================================================================== */
footer {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	padding: 30px 10%;
	height: auto;
	background-color: var(--primary-background-color);
	color: #94a3b8;
	box-sizing: border-box;
	flex-wrap: wrap;
	gap: 25px;
	border-top: 4px solid var(--primary-green-color);
}
.address {
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
}
.address p, .footerNote p {
	margin: 2px 0;
}
.contactUs {
	display: flex;
	align-items: center;
	flex-direction: column;
	font-size: 13px;
	gap: 5px;
}
.contactUs p {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: white;
}
.contactUs button {
	margin-left: 20px;
	height: 38px;
	padding: 0 22px;
	border: 0;
	border-radius: 6px;
	background: var(--primary-green-color);
	color: white;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(46, 204, 113, 0.2);
	transition: background-color 0.2s, transform 0.2s;
}

.contactUs button:hover {
	background: #27ae60;
	transform: translateY(-1px);
}
.bottom {
	border-top: 2px solid gray;
	display: block;
	width: 100%;
}
.footerNote {
	font-size: 13px;
}
.footerNote em {
	color: white;
	font-style: normal;
	font-weight: 600;
}
.social-media {
	list-style-type: none;
	display: flex;
	flex-direction: row;
}
.social-media i:nth-child(1):hover{ color: rgba(228, 64, 95, 1.0); }
.social-media i:nth-child(2):hover{ color: #ffffff; }
.social-media i:nth-child(3):hover{ color: rgba(24, 119, 242, 1.0); }
.social-media i:nth-child(4):hover{ color: rgba(37, 211, 102, 1.0); }
.social-media i, .social-media i .bi {
	font-size: 22px;
	margin: 15px;
	opacity: 200px;
}

/* =============================================================================================== */
/* Infinite Carousel                                                                               */
/* =============================================================================================== */
.carousel-viewport {
	width: 100%;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px 0;
	position: relative;
}
.carousel-viewport::before,
.carousel-viewport::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	z-index: 2;
	pointer-events: none;
}
.carousel-viewport::before {
	left: 0;
	background: linear-gradient(to right, #f1f5f9 0%, rgba(241, 245, 249, 0) 100%);
}
.carousel-viewport::after {
	right: 0;
	background: linear-gradient(to left, #f1f5f9 0%, rgba(241, 245, 249, 0) 100%);
}

/* The moving row container */
.carousel-track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 20px;
	flex-wrap: nowrap;
}

.carousel-logo {
	height: 80px; 
	width: auto;
	object-fit: contain;
	transition: all 0.3s ease;
	flex-shrink: 0;
}
.track-left {
	animation: scrollLeft 25s linear infinite;
}
.track-right {
	animation: scrollRight 25s linear infinite;
}
@keyframes scrollLeft {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
	0% { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}


/* ========================================================================= */
/* Popup Elements Layout Configurations                                      */
/* ========================================================================= */


.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(4px); 
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ================================================================================== */
/*  Message Form                                                                      */
/* =================================================================================  */
.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 350px;
    position: relative;
    animation: SlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes SlideDown {
	0% { transform: translateY(0); }
	10% {transform: translateY(3%); }
	30% {transform: translateY(9%); }
	60% {transform: translateY(3%); }
	100% { transform: translateY(0); }
}
/* ==============================================================================
Box Content Frame Border Panel card layout 
=================================================================================*/

.form-box {
	display: flex;
	align-items: center;
	flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 8px 24px rgba(140, 149, 159, 0.2);
}
.modal-logo {
    height: 50px;
    width: auto;
    margin-bottom: 8px;
}
.form-container h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: #24292f;
}
.form-box label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    text-align: left;
    width: 100%;
    color: #24292f;
}

.form-box input[type="text"], .form-box textarea, .form-box input[type="email"] {
    width: 100%;
    padding: 5px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #24292f;
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    outline: none;
    margin-bottom: 16px;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-box input[type="text"]:focus, .form-box textarea:focus, .form-box input[type="email"]:focus {
    border-color: #0969da;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
}
.form-box textarea {
    resize: none; 
}
.form-box .submit-btn {
    width: 100%;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-white);
    background-color: #2da44e;
    border: 1px solid rgba(27, 31, 36, 0.15);
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}
.form-box .submit-btn:hover {
    background-color: #2c974b;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 10px;
    font-size: 24px;
    color: #57606a;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.close-button:hover {
    color: #24292f;
    background: #f6f8fa;
}

/* ==========================================================================   */
/*   SCALED NAVIGATION & LAYOUT FOR SCREEN ABOVE MOBILE (768px and Up)         */
/* ==========================================================================   */

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.navigationPane {
		height: 320px;
	}
	.navigationPane ul {
		padding: 0 20px;
		padding: 12px 15px;
		top: 0;
		left: 0;
		gap: 10px;
	}

	.navigationPane img {
		margin-right: 25px;
		height: 42px;
	}
	.tractor {
		top: -100px;
	}
	.mainList > a {
		margin-right: 22px;
		font-size: 14px;
	}

	.search-bar input[type="search"] {
		width: 150px;
	}

	.search-bar input[type="search"]:focus {
		width: 180px;
	}

	.body-section,
	.carousel-section,
	footer {
		width: 100%;
		box-sizing: border-box;
		padding: 0;
		margin: 0;
	}
	
	.features-grid,
	.media-grid,
	.sponsors-wrapper,
	footer > * {
		max-width: var(--content-width);
		margin-left: auto;
		margin-right: auto;
	}

	.hero-intro h1 {
		font-size: 2.2rem;
	}

	.hero-intro .subtitle {
		font-size: 1rem;
	}

	.features-grid {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		gap: 24px;
	}

	.media-grid {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}

	.carousel-logo {
		height: 65px;
	}
	.bottom {
	margin: 0 10%;
	}
}

/* ============================================================================   */
/*   SCALED NAVIGATION & LAYOUT FOR EVERY SCREEN BELOW DESKTOP (768px and down)   */
/* ============================================================================   */
@media screen and (max-width: 768px) {
	html, body {
		font-size: 14px;
	}
	.navigationPane {
		position: relative;
		width: 100%;
		height: 200px;
		display: flex;
		flex-direction: column;
		padding: 12px 0;
		gap: 5px;
	}
	.navigationPane ul {
		justify-content: flex-start;
		height: auto;
		padding: 15px 0px;
		gap: 5px;
	}
	.navigationPane ul li {
		width: 100%;
		text-align: center;
	}
	.navigationPane img {
		height: 40px;
		margin: 0 0 5px 0;
	}
	.tractor {
		display: none;
	}
	.mainList {
		display: flex;
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px;
		width: 100%;
	}
	.mainList > a {
		font-size: 13px;
		margin-right: 10px;
		padding: 4px 0;
	}
	.search-bar {
		display: flex;
		width: 100%;
		max-width: 320px;
		margin: 5px auto 0;
	}

	.search-bar input[type="search"] {
		flex: 1;
		width: 100%;
	}

	.search-bar .search-btn {
		padding: 0.5px 14px;
		font-size: 12px;
	}

	.body-section {
		display: block;
		padding: 40px 5%;
		box-sizing: border-box;
		position: relative;
		width: 100%;
	}

	.hero-intro h1 {
		font-size: 1.7rem;
	}

	.hero-intro .subtitle {
		font-size: 0.95rem;
		text-align: justify;
	}
	.cta-buttons a {
	margin: 0 5px;
    }
	.services-contents {
        grid-template-columns: repeat(2, 1fr);
		grid-gap: 10px;
    }

	.carousel-section h2 {
		font-size: 1.5rem;
	}
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 10px;
	}
	.feature-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	}
	.feature-card img {
		height: 150px;
		font-size: 2rem;
	}
	.feature-card {
		padding: 5px;
	}

	.feature-card h3 {
		font-size: 1.1rem;
	}
	.masonry-item {
        height: 100px;
    }

	.media-item {
		height: 180px;
	}

	.media-overlay span {
		font-size: 0.95rem;
	}
	.carousel-viewport {
		gap: 10px;
	}
	.carousel-logo {
		height: 65px;
	}

	.track-left,
	.track-right {
		animation-duration: 12s;
		gap: 10px;
	}
	footer > * {
        display: flex;
        flex-direction: column;
        align-items: center;  
        gap: 20px;
        flex-wrap: wrap;
    }
    .address {
    	align-items: flex-start;
    	gap: 3px;
    	padding: 0;
    }
    .footerNote {
    	align-items: flex-start;
    }
	.social-media i, .social-media i .bi {
		font-size: 25px;
		margin: 5px;
	}
}

/*@media screen and (max-width: 550px) {

	.burger-menu {
		display: flex;
	}
	.navigationPane ul {
		display: flex;
		align-items: center;
		height: 55px;
		background-color: rgba(255,255,255,0.9);
	}
	.mainList > a {
		display: none;
	}
	.search-bar {
		display: flex;
		margin-left: auto;
		margin-right: 70px;
		z-index: 99999;
	}
	.search-bar input[type="search"] {
		width: 30px;
	}
	.mainList.active {
		height: auto;
		flex-direction: column;
		align-items: flex-start;
		padding-top: 60px;
	}
	.mainList.active > a {
		display: block;
		width: 100%;
		margin: 15px 20px;
	}
	.mainList.active .search-bar {
		display: flex;
		width: calc(100% - 40px);
		margin: 20px;
	}
	.navigationPane img {
		margin-left: 20px;
		margin-right: auto;
	}
}*/