/**
* Theme Name: Montro Child
* Description: This is a child theme of Montro.
* Author: <a href="https://themeforest.net/user/noor_tech">Noor Tech</a>
* Template: montro
* Version: 1.0
*/

@import url('../montro/assets/css/style.css');

.main-header .logo-box {
	padding: 15px 0px;
}
.sticky-header .logo {
	padding: 10px 0px;
}
.main-header .header-upper .upper-right {
	position: relative;
	padding-top: 25px;
}
.main-slider {
	margin-left: -1px;
}
.main-slider .slide {
	padding: 250px 0px;
	background-position: center;
	background-size: cover;
}
.main-slider .content-column .inner-column {
	padding-top: 0px;
}

.main-slider h1 {
	font-size: 46px;
}

.page-title {
	padding: 130px 0px 130px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.page-title::before {
	background-color: rgba(0,0,0,0.30);
}

.board-of-directors-section {
	padding: 100px 0 50px;
}
.board-of-directors-section img {
	box-shadow: 0px 0px 15px rgba(0,0,0,0.10) !important;
}
.board-of-directors-section .bod-list .sec-title .title {
	margin-top: 10px;
	padding: 0;
}

.contact-info-section.layout-two .contact-info li {
	line-height: 2em;
}
.contact-info-section.layout-two .contact-info li span.icon {
	position: relative;
	top: 5px;
	display: inline-block;
}
.contact-info-section.layout-two .contact-info li a:hover {
	color: var(--thm-base);
}
.contact-info-section.layout-two .info-column .icon {
	position: relative;
	font-size: 18px;
}

.board-of-directors-section .client-list .sec-title .title {
	padding: 0;
	text-align: center;
	margin-top: 10px;
}

.clients-section .sponsors-outer .image-box img {
	width: 100px;
}
.clients-section .clients-block {
	margin-bottom: 30px;
}
.clients-section .clients-block .inner-box {
	box-shadow: 0px 0px 15px rgba(0,0,0,0.10) !important;
	padding: 30px;
}
.clients-section .clients-block .title {
	text-align: center;
}

.counter-section {
	background-size: contain;
}

.list-style-two li .icon {
	color: #fff !important;
}

.main-header .sticky-header .options-box {
	margin-left: 30px;
}

.page-breadcrumb li a {
	color: #fff !important;
}

/*Table Style*/
.table-responsive {
	width: 100%;
	overflow-x: auto; /* This enables horizontal scrolling */
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
	margin: 20px 0;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.project-table {
	width: 100%;
	min-width: 600px; /* Ensures table doesn't shrink below this width */
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

.project-table thead {
	background-color: #1e3972;
	color: white;
	text-align: center;
}

.project-table th {
	padding: 12px 15px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
	text-align: center;
}

.project-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
	font-size: 14px;
	color: #333;
}

.project-table tbody tr:nth-child(even) {
	background-color: #f8f9fa;
}

.project-table tbody tr:hover {
	background-color: #f1f5f9;
	transition: background-color 0.2s ease;
}

/* Currency alignment */
.project-table td:nth-child(4) {
	text-align: center;
	white-space: nowrap;
}

/* Role column styling */
.project-table td:last-child {
	text-align: center;
	color: #2c3e50;
}

.project-table td:first-child,
.project-table th:first-child {
	padding-left: 20px;
}

.project-table td[colspan="5"] {
	text-align: left;
	font-size: 14px;
	font-weight: 600;
	color: #1e3972;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
	.project-table {
		min-width: 700px; /* Even wider for mobile */
	}

	.project-table th,
	.project-table td {
		padding: 15px 20px; /* More padding on mobile */
		min-width: 140px; /* Wider cells on mobile */
	}

	/* Specific column adjustments */
	.project-table td:nth-child(2) { /* Project Name column */
		min-width: 250px; /* Much wider for project names */
	}

	.project-table td:nth-child(4) { /* Project Cost column */
		white-space: nowrap;
		min-width: 160px;
	}
}

.custom-ifram p {
	text-align: center !important;
}

.main-slider .image-column .inner-column {
	text-align: right;
}

.main-slider .image-column .image img {
	width: 350px;
}

.main-slider .image-column {
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-header {
	z-index: 9999;
}

.board-of-directors-section .social-box a {
	font-size: 26px;
}

body.page-id-4760 .main-footer {
	padding: 0;
}
body.page-id-4760 .main-footer > .auto-container {
	display: none;
}
.cta-section {
	background-position: center;
	padding: 220px 0;
}
.cta-section::before {
	background-color: rgba(0,0,0,0.30);
}
.cta-section .title-box {
	margin-bottom: 0;
}
.cta-section .title-box h3 {
	color: #ffffff;
	font-size: 26px;
	font-weight: 400;
	line-height: 1.6em;
}

@media (max-width: 768px) {
	.cta-section .title-box h3 {
		color: #ffffff;
		font-size: 18px;
		font-weight: 400;
		line-height: 1.6em;
	}
}

.default-form textarea {
	height: 210px;
}
.sec-title .title {
	font-size: 30px;
}

@media only screen and (max-width: 1023px) {
	.main-header .header-upper .logo-box {
		width: auto !important;
		text-align: center;
	}
}

.page-title {
	padding: 40px 0px;
}

.service-block-three .inner-box {
	padding: 20px;
}


.main-slider .owl-nav {
	display: block;
}
.main-slider-carousel .owl-nav {
	position: absolute;
	left: 0px;
	top: 50%;
	z-index: 99999;
	width: 100%;
	opacity: 1;
	margin-top: -50px;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
}
.main-slider-carousel .owl-nav .owl-prev {
	position: absolute;
	left: 20px;
	width: 60px;
	height: 60px;
	color: #ffffff;
	line-height: 56px;
	font-size: 24px;
	text-align: center;
	border-radius: 5px;
	transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	border: 2px solid rgba(255,255,255,0.60);
}
.main-slider-carousel .owl-nav .owl-next {
	position: absolute;
	right: 20px;
	color: #ffffff;
	font-size: 24px;
	width: 60px;
	height: 60px;
	color: #ffffff;
	line-height: 56px;
	border-radius: 5px;
	text-align: center;
	transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	border: 2px solid rgba(255,255,255,0.60);
}

.services-section-three {
	padding-bottom: 60px;
}

@media only screen and (max-width: 767px){
	.main-slider h1 {
		font-size: 24px;
	}
	.main-slider .image-column {
		display: none;
	}
	.main-slider .slide {
		padding: 80px 0px 60px;
	}
	.main-header .header-upper {
		height: 86px;
	}
	.main-slider-carousel .owl-nav {
		display: none;
	}
}

/* ===============================
Base Carousel Layout
=============================== */
.key-highlight-section .home-featured-carousel {
	margin: 0;
	padding: 0;
}

@media (max-width: 767px) {
	.key-highlight-section .home-featured-carousel {
		padding-left: 4vw;
		margin-top: 20px;
	}
}

/* ===============================
Caption Styling
=============================== */
.key-highlight-section .home-featured-carousel .caption {
	color: #333;
	font-family: "Montreal-Regular", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	margin-top: 15px;
	max-width: 88%;
}

.key-highlight-section .home-featured-carousel .caption h4.title-h4 {
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
	transition: color 0.3s ease-in-out;
}

/* ===============================
Thumbnail Image
=============================== */
.key-highlight-section .home-featured-carousel .thumbnail.var-img {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 400px;
	border-radius: 8px;
	overflow: hidden;
}

@media (min-width: 992px) {
	.key-highlight-section .home-featured-carousel .thumbnail.var-img {
		height: 550px;
	}
}

.key-highlight-section .home-featured-carousel .thumbnail::before {
	content: '';
	position: absolute;
    bottom: 0;
    opacity: 0;
	right: 0;
	width: 150%;
	height: 150%;
	background: radial-gradient(farthest-corner at 100% 100%, #1e3972 0, rgba(255, 55, 47, 0) 50%);
	transition: opacity .5s 
		ease, background .5s 
		ease;
	pointer-events: none;
	z-index: 999;
}

.key-highlight-section .box-link:hover .thumbnail::before {
    opacity: 1;
}

.key-highlight-section {
	overflow: hidden;
}
.key-highlight-section .content-column {
	position: relative;
	z-index: 5;
}

.project-location {
	color: #141212;
	display: block;
	margin: 18px 0 10px;
	text-transform: uppercase;
}

.content-column {
	position: relative;
}
.key-project {
	position: absolute;
	left: 15px;
	bottom: 102px;
}


@media (min-width: 1024px) {
    .key-highlight-section .home-featured-carousel .owl-stage-outer {
        padding-left: 100px !important;
    }
}


/* ===============================
Date + Margins
=============================== */
.key-highlight-section .home-featured-carousel .date-m.m-b-1 {
	margin-bottom: 15px !important;
	font-size: 13px;
	color: #666;
}

@media (min-width: 768px) {
	.key-highlight-section .home-featured-carousel .date-m.m-b-1 {
		margin-bottom: 20px !important;
	}
}

/* ===============================
Owl Nav (Arrows)
=============================== */
.key-highlight-section .owl-nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.key-highlight-section .owl-prev,
.key-highlight-section .owl-next {
	width: 44px;
	height: 44px;
	border: 1px solid #ddd;
	background-color: #f8f8f8;
	position: relative;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}

.key-highlight-section .owl-prev:hover,
.key-highlight-section .owl-next:hover {
	background-color: #eaeaea;
	border-color: #bbb;
}

/* Create arrows using pseudo-elements */
.key-highlight-section .owl-prev::before,
.key-highlight-section .owl-next::before {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	border-top: 2px solid #111;
	border-right: 2px solid #111;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Left Arrow */
.key-highlight-section .owl-prev::before {
	transform: translate(-50%, -50%) rotate(-135deg);
}

/* Right Arrow */
.key-highlight-section .owl-next::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Nav Numbers */
.owl-nav-numbers-wrapper {
	font-size: 15px;
	color: #555;
}

/* Hide nav on mobile */
@media (max-width: 767px) {
	.owl-nav-box-wrapper {
		display: none;
	}
}

/* ===============================
Dots (hidden by default)
=============================== */
.key-highlight-section .owl-dots {
	display: none !important;
}

/* ===============================
General Responsiveness
=============================== */
@media (max-width: 991px) {
	.key-highlight-section .home-featured-carousel .caption h4.title-h4 {
		font-size: 18px;
	}
	.key-highlight-section .home-featured-carousel .thumbnail.var-img {
		height: 380px;
	}
}

@media (max-width: 575px) {
	.key-highlight-section .home-featured-carousel .thumbnail.var-img {
		height: 300px;
	}
}


/* ===============================
Owl Carousel Navigation Layout
=============================== */

.owl-nav-box-wrapper {
	margin-top: 24px;
	width: 100%;
}

.owl-nav-container {
	display: flex;
	justify-content: flex-start; /* Align left under “Pioneering projects” */
	align-items: center;
	gap: 14px;
}

.owl-nav-buttons-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Arrows */
.key-highlight-section .owl-prev,
.key-highlight-section .owl-next {
	width: 42px;
	height: 42px;
	font-size: 0px;
	border: 1px solid #F3F3F3;
	background: #fff;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.25s ease-in-out;
	position: relative;
}

.key-highlight-section .owl-prev:hover,
.key-highlight-section .owl-next:hover {
	background-color: #F3F3F3;
}

.key-highlight-section .owl-prev::before {
	transform: translate(-50%, -50%) rotate(-135deg);
}

.key-highlight-section .owl-next::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Page number */
.owl-nav-numbers-wrapper {
	font-size: 16px;
	font-family: "Montreal-Regular", sans-serif;
	color: #333;
	margin-left: 6px;
}

/* Responsive hide on mobile */
@media (max-width: 767px) {
	.owl-nav-box-wrapper {
		display: none;
	}
}

.key-highlight-section .sec-title {
	margin-top: 15px;
}
.key-highlight-section .text {
	font-size: 20px;
}

.key-highlight-section a.theme-btn {
	font-size: 16px;
	font-weight: 500;
}
@media (max-width: 767px) {
  .home-featured-carousel-container {
    display: flex;
  }
}
