/********** Template CSS **********/
:root {
	--primary: #348E38;
	--secondary: #525368;
	--light: #E8F5E9;
	--dark: #000000;
}

.back-to-top {
	position: fixed;
	display: none;
	right: 30px;
	bottom: 30px;
	z-index: 99;
}

h1, .h1, h2, .h2, .fw-bold {
	font-weight: 700 !important;
}

h3, .h3, h4, .h4, .fw-medium {
	font-weight: 600 !important;
}

h5, .h5, h6, .h6, .fw-semi-bold {
	font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease-out, visibility 0s linear .5s;
	z-index: 99999;
}

#spinner.show {
	transition: opacity .5s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

/*** Button ***/
.btn {
	transition: .5s;
	font-weight: 500;
}

.btn-primary, .btn-outline-primary:hover {
	color: var(--light);
}

.btn-square {
	width: 38px;
	height: 38px;
}

.btn-sm-square {
	width: 32px;
	height: 32px;
}

.btn-lg-square {
	width: 48px;
	height: 48px;
}

.btn-square, .btn-sm-square, .btn-lg-square {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
	top: -100px;
	transition: .5s;
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.navbar .navbar-brand, .navbar a.btn {
	height: 80px
}

.navbar .navbar-nav .nav-link {
	margin-right: 15px;
	color: var(--dark);
	font-size: 14px;
	font-weight: 600;
	outline: none;
	position: relative;
}

.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active
	{
	color: var(--primary);
}

.navbar .dropdown-toggle::after {
	border: none;
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	vertical-align: middle;
	margin-left: 8px;
}

@media ( max-width : 991.98px) {
	.navbar .navbar-nav .nav-link {
		margin-right: 0;
		padding: 10px 0;
	}
	.navbar .navbar-nav {
		border-top: 1px solid #EEEEEE;
	}
}

@media ( min-width : 992px) {
	.navbar .nav-item .dropdown-menu {
		display: block;
		border: none;
		margin-top: 0;
		top: 150%;
		opacity: 0;
		visibility: hidden;
		transition: .5s;
	}
	.navbar .nav-item:hover .dropdown-menu {
		top: 100%;
		visibility: visible;
		transition: .5s;
		opacity: 1;
	}
}

/*** Header ***/
.carousel-caption {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: rgba(15, 66, 41, .6);
	z-index: 1;
}

.carousel-control-prev, .carousel-control-next {
	width: 15%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 3rem;
	background-color: var(--primary);
	border: 10px solid var(--primary);
}

/* ================================
   HEADER CAROUSEL – FIXED RATIO
   Works on Safari, iPhone, Chrome
================================ */

/* Carousel item container */
#header-carousel .carousel-item {
    width: 100%;
    aspect-ratio: 29 / 9;          /* Same height on all screens */
    overflow: hidden;
    background-color: #000;        /* Fills space while image loads */
}

/* Carousel image */
#header-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* Fill container */
    object-position: center;       /* Crop from center */
    display: block;
}

/* Optional: Improve smoothness in Safari */
#header-carousel .carousel-item,
#header-carousel .carousel-item img {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

/* Fallback for VERY old browsers */
@supports not (aspect-ratio: 1 / 1) {
    #header-carousel .carousel-item {
        position: relative;
        padding-top: 45%;          /* Approx 20:9 ratio */
    }

    #header-carousel .carousel-item img {
        position: absolute;
        top: 0;
        left: 0;
    }
}


.page-header {
	background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)),
		url(../img/carousel-1.jpg) center center no-repeat;
	background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
	color: var(--light);
}

.page-header .breadcrumb-item, .page-header .breadcrumb-item a {
	font-size: 18px;
	color: var(--light);
}

/*** Top Feature ***/
@media ( min-width : 991.98px) {
	.top-feature {
		position: relative;
		margin-top: -80px;
		z-index: 1;
	}
}

/*** Facts & Quote ***/
.facts, .quote {
	background: rgba(15, 66, 41, .6);
}

/*** Service ***/
.service-item {
	position: relative;
	text-align: center;
}

.service-item .service-img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: -1;
}

.service-item .service-img img {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	object-fit: cover;
	transform: scale(1.2);
	transition: .3s;
	z-index: -1;
}

.service-item:hover .service-img img {
	transform: scale(1);
}

.service-item .service-text {
	background: #FFFFFF;
	box-shadow: 0 0 45px rgba(0, 0, 0, .08);
	transition: .3s;
}

.service-item:hover .service-text {
	background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4, .service-item .service-text p {
	transition: .3;
}

.service-item:hover .service-text h4 {
	color: #FFFFFF;
}

.service-item:hover .service-text p {
	color: var(--light);
}

.service-item .service-text .btn-square {
	width: 150px;
	height: 150px;
	background: transparent;
	transition: .5s;
}

.service-item:hover .service-text .btn-square {
	background: var(--light);
}

.service-item .service-text .btn {
	width: 31px;
	height: 31px;
	display: inline-flex;
	align-items: center;
	color: var(--dark);
	background: var(--light);
	white-space: nowrap;
	overflow: hidden;
	transition: .3s;
}

.service-item:hover .service-text .btn {
	width: 112px;
}

/*** Project Portfolio ***/
#portfolio-flters {
	display: inline-block;
	background: var(--light);
	padding: 10px 15px;
}

#portfolio-flters li {
	display: inline-block;
	font-weight: 500;
	color: var(--primary);
	cursor: pointer;
	transition: .5s;
	border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover, #portfolio-flters li.active {
	color: var(--dark);
	border-color: var(--dark);
}

.portfolio-inner {
	position: relative;
	overflow: hidden;
}

.portfolio-inner::before, .portfolio-inner::after {
	position: absolute;
	content: "";
	width: 0;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(15, 66, 41, .6);
	transition: .5s;
}

.portfolio-inner::after {
	left: auto;
	right: 0;
}

.portfolio-inner:hover::before, .portfolio-inner:hover::after {
	width: 50%;
}

.portfolio-inner .portfolio-text {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: .5s;
	z-index: 3;
	opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
	transition-delay: .3s;
	opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
	background: var(--light);
	color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
	background: var(--primary);
	color: var(--light);
}

/*** Team ***/
.team-item {
	position: relative;
	overflow: hidden;
}

.team-item .team-text {
	position: absolute;
	width: calc(100% - 45px);
	left: -100%;
	bottom: 45px;
	padding: 1.5rem;
	background: #FFFFFF;
	border-radius: 0 4px 4px 0;
	opacity: 0;
	transition: .5s;
}

.team-item:hover .team-text {
	left: 0;
	opacity: 1;
}

.team-item .team-social .btn {
	background: var(--light);
	color: var(--primary);
}

.team-item .team-social .btn:hover {
	background: var(--primary);
	color: var(--light);
}

.team-item .team-img .team-social {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: .5s;
	z-index: 3;
	opacity: 0;
}

.team-item:hover .team-img .team-social {
	transition-delay: .3s;
	opacity: 1;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item img {
	width: 100px;
	height: 100px;
}

.testimonial-carousel .owl-nav {
	margin-top: 30px;
	display: flex;
}

.testimonial-carousel .owl-nav .owl-prev, .testimonial-carousel .owl-nav .owl-next
	{
	margin-right: 15px;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	background: var(--light);
	border-radius: 4px;
	font-size: 22px;
	transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover, .testimonial-carousel .owl-nav .owl-next:hover
	{
	background: var(--primary);
	color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
	display: block;
	margin-bottom: 5px;
	padding: 0;
	text-align: left;
	color: var(--light);
	font-weight: normal;
	text-transform: capitalize;
	transition: .3s;
}

.footer .btn.btn-link::before {
	position: relative;
	content: "\f105";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	margin-right: 10px;
}

.footer .btn.btn-link:hover {
	color: var(--primary);
	letter-spacing: 1px;
	box-shadow: none;
}

.copyright {
	color: var(--light);
	background: #072A19;
}

.copyright a {
	color: #FFFFFF;
}

.copyright a:hover {
	color: var(--primary);
}

/* date text box */
.date-field {
	display: flex;
	flex-direction: column;
	width: 250px;
	font-family: sans-serif;
}

.date-field label {
	margin-bottom: 6px;
	font-size: 14px;
	color: #333;
}

.date-input {
	padding: 10px;
	font-size: 15px;
	border: 1px solid #ccc;
	border-radius: 6px;
	outline: none;
	transition: 0.2s;
}

.date-input:focus {
	border-color: #6c63ff;
	box-shadow: 0 0 6px rgba(108, 99, 255, 0.3);
}

.file-upload {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: Arial, sans-serif;
}

.custom-file {
	background: #6c63ff;
	color: #fff;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	transition: 0.2s;
}

.custom-file:hover {
	background: #5848f1;
}

#fileInput {
	display: none;
}

.file-name {
	font-size: 14px;
	color: #333;
}

.custom-nav {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5px;
}

/* LEFT IMAGE + TEXT GROUP */
.left-group {
	display: flex;
	align-items: center;
	margin-left: 6%; /* shift left side content towards center */
	gap: 35px;
}

/* LEFT LOGO */
.nav-logo-left {
	height: 90px;
	margin-right: 15px;
}

/* TEXT beside IMAGE */
.nav-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.nav-title h2 {
	margin: 0;
	font-size: 26px;
	font-weight: bold;
}

/* RIGHT LOGO */
.nav-logo-right {
	height: 90px;
	margin-left: auto;
	margin-right: 35px;
}

/* ---- MOBILE ---- */
@media ( max-width : 768px) {
	/* hide right logo */
	.nav-logo-right {
		display: none;
	}

	/* toggler on right side */
	.navbar-toggler {
		margin-left: auto;
	}
}

.round-img {
	width: 100%; /* set size */
	height: 100%; /* set size */
	border-radius: 50%;
	object-fit: cover; /* keeps image inside circle */
	overflow: hidden;
}

.profile-card {
	padding: 10px;
}

.profile-img {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid #ddd;
	background-color: #f8f9fa;
}

.profile-card h5 {
	font-size: 18px;
}

.profile-card p {
	font-size: 14px;
	line-height: 1.4;
}
/* ===================================================== */
/* COMMON */
/* ===================================================== */
body {
	margin: 0;
	font-family: Arial, sans-serif;
	/* background: #f5f6f7;
   */
}

a {
	text-decoration: none;
}

/* ===================================================== */
/* 1️⃣ TEXT SCROLLER – ALWAYS SCROLL (SEAMLESS) */
/* ===================================================== */
.text-scroll-box {
	width: 100%;
	overflow: hidden;
	background: #f8f9fa;
	padding: 8px 0;
	border-bottom: 1px solid #ddd;
}

.text-scroll-track {
    display: flex;
    width: 200%;
    animation: text-scroll-left 35s linear infinite;
    will-change: transform;
}

.text-scroll-content span {
	margin-right: 50px;
	font-weight: 600;
	color: #000;
	white-space: nowrap;
}

@keyframes text-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ===================================================== */
/* 2️⃣ LOGO / ICON SCROLLER – CONDITIONAL + SEAMLESS */
/* ===================================================== */
.logo-scroll-box {
	width: 100%;
	overflow: hidden;
	background: #ffffff;
	padding: 14px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.logo-scroll-track {
	display: flex;
	width: max-content;
	align-items: center;
}

.logo-scroll-content {
	display: flex;
	align-items: center;
	gap: 40px;
	white-space: nowrap;
}

/* Scroll enabled only via JS */
.scroll-active {
	animation: logo-scroll-left 45s linear infinite;
}

@keyframes logo-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Logo sizes */
.logo-normal {
	height: 45px;
}

.logo-large {
	height: 60px;
}

.logo-xlarge {
	height: 75px;
}

.logo-scroll-content img {
	max-width: 180px;
	object-fit: contain;
	border: none;
}

/* Pause on hover */
.logo-scroll-box:hover .scroll-active {
	animation-play-state: paused;
}

/* ===================================================== */
/* MOBILE */
/* ===================================================== */
@media ( max-width : 576px) {
	.text-scroll-track {
		animation-duration: 25s;
	}
	.logo-normal {
		height: 35px;
	}
	.logo-large {
		height: 45px;
	}
	.logo-xlarge {
		height: 55px;
	}
	.scroll-active {
		animation-duration: 60s;
	}
	.left-group {
		gap: 0;
		margin-left: 0; 
	}
}

/* ==============================
   WhatsApp Floating Button
============================== */

.whatsapp-float {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 45px;              /* Button size */
    height: 45px;
    z-index: 9999;
    border-radius: 50%;
    background-color: #25D366; /* WhatsApp green */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Icon inside button */
.whatsapp-float img {
    width: 24px;   /* Icon size */
    height: 24px;
}

/* Hover effect (desktop) */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Click effect */
.whatsapp-float:active {
    transform: scale(0.95);
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 40px;
        height: 40px;
        bottom: 14px;
        right: 14px;
    }

    .whatsapp-float img {
        width: 20px;
        height: 20px;
    }
}

/* Optional: pulse animation (attention effect) */
@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: whatsapp-pulse 2.5s infinite;
}

/* ==============================
   PORTFOLIO / GALLERY FIX
   Prevent overlapping
============================== */

/* Grid item */
.portfolio-item {
    position: relative;          /* reset absolute positioning */
    margin-bottom: 25px;
}

/* Inner wrapper */
.portfolio-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Image styling */
.portfolio-inner img {
    width: 100%;
    height: 260px;               /* SAME height for all images */
    object-fit: cover;
    display: block;
}

/* Overlay text */
.portfolio-text {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Show overlay on hover */
.portfolio-inner:hover .portfolio-text {
    opacity: 1;
}

/* Button */
.portfolio-text .btn {
    background: #fff;
    color: #000;
}

/* Remove isotope/masonry absolute layout if applied */
.portfolio-container {
    position: static !important;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-inner img {
        height: 200px;
    }
}
.home-link,
.home-link:hover,
.home-link:focus,
.home-link:visited {
    text-decoration: none;  /* removes underline */
    color: inherit;         /* keeps original text color */
}

