/* Basic Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	/* background: url('../../images/introbg5.jpg') center center fixed; */
	background-size: cover;
	min-height: 100vh;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: rgba(0, 0, 0, 0.5); */
	z-index: -1;
}

#projects-gallery .container {
	max-width: 2000px;
	margin: 0 auto;
	padding: 20px;
}

.hero-container {
	position: relative;
	height: 100vh;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.5);
}
.project-hero {
  height: calc(100vh - 12em);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 12px;
  z-index: 1;
font-size:x-large;
}
.hero-text h1{
  text-transform: uppercase;
  font-weight:700;
  font-size: 2em;
}

/* Header */
#header {
		position: relative;
		height: 12em;
		padding: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		
}
	#header:before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			/* background: rgba(0, 0, 0, 0.5); */
		}

#logo {
	width: 100%;
	text-align: center;
	position: relative;
	top: 1.5em;
}

#logo h1 {
	font-weight: 900;
			text-transform: uppercase;
			color:#ffffff;
			font-size: 3.5em;
			letter-spacing: 0.25em;
}

#logo h1 a {
	color: #ffffff;
	text-decoration: none;
}

#logo p {
	color: #eee;
			color: rgba(255, 255, 255, 0.8);
			text-transform: uppercase;
			margin: 1.25em 0 0 0;
			display: block;
			letter-spacing: 0.2em;
			font-size: 0.9em;
}

/* Nav */
#nav {
	position: absolute;
	top: 2.5em;
	left: 0;
	width: 100%;
	text-align: justify;
	z-index: 1000;
}
#nav .logo-container {
		transition: transform 0.3s ease;
		}

		#nav .logo-container:hover {
		transform: scale(1.05);
		}

#nav > ul {
	display: inline-flex;
	gap: 1em;
	padding: 0 1.5em;
	align-items: center;
	list-style: none;
}

#nav > ul > li {
	display: inline-block;
	text-align: center;
	position: relative;
}

#nav ul li .logo img {
	vertical-align: middle;
	display: block;
	height: 6.5em;
	width: auto;
	filter: drop-shadow(0 0 8px rgb(0, 0, 0));
	transition: all 0.3s ease;
}

#nav ul li .logo:hover img {
	filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
	transform: translateY(-3px);
}

#nav > ul > li > a {
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 0.9em;
	letter-spacing: 0.15em;
	padding: 0.75em 0.5em;
	transition: all 0.3s ease-in-out;
	border-bottom: 2px solid transparent;
}

#nav ul li a i {
	margin-right: 0.5em;
	font-size: 1em;
	vertical-align: middle;
}

#nav > ul > li > a:hover {
	color: #ffb347;
	border-bottom: 2px solid #ffb347;
	transform: scale(1.05);
}

#nav > ul > li.current > a {
	color: #ffb347;
	border-bottom: 2px solid #ffb347;
}

/* wrapper */
.wrapper {
		position: relative;
	}
.wrapper.style1 {
			position: relative;
			background-attachment: fixed;
			background-size: cover;
			background-repeat: no-repeat;
			background-position: center;
			z-index: 0;
		}
		.wrapper.style1 {
			position: relative; 
			
			background-attachment: fixed;
			 background-size: cover;
			background-repeat: no-repeat;
			background-position: center;
			/* overflow: hidden; */
			z-index: 0;
		}
		 .wrapper.style1::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.655); 
   z-index: 1;
  pointer-events: none; 
	}

/* Projects Page Styles */
#projects-gallery{
  padding: 2em 0 0em 0;
  position: relative;
  color: #ffffff;
  background-image: url('../../images/mbg1.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
}

/* Mobile Background Fix */
@media (max-width: 768px) {
  #projects-gallery {
    background-image: url('../../images/mbg1.jpg');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: top center;
    color: #333;
  }
  
  .wrapper.style1 {
    background-image: none;
    background-color: white;
  }
  
  .wrapper.style1::before {
    display: none;
  }
}

.bg-repeat-container {
  display: none;
}

.projects-gallery-bg-image {
  display: none;
}

#projects-gallery .container {
  position: relative;
  z-index: 2;
}

.gallery-title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 40px;
}

.gallery-logo {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 0 8px rgb(0, 0, 0));
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 35px rgba(255, 179, 71, 0.7));
}

.title-text {
  text-align: center;
}

.title-text h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 3em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 3px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}

.title-text h1 span {
  background: linear-gradient(135deg, #f66b0e, #ff7f08, #f66b0e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.title-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-container .gallery {
	display: none;
	padding: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	max-width: 1400px;
	margin: 0 auto;
	width:100%;
}

.gallery-container .gallery img {
	width: 100%;
	height: 350px;
	border-radius: 15px;
	object-fit: contain;
	background: rgba(0, 0, 0, 0.2);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.gallery-container .gallery img:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 15px 40px rgba(255, 136, 0, 0.4);
	border-radius: 20px;
}

/* Lightbox Modal */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 10000;
	cursor: pointer;
}

.lightbox img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox .close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
}

.lightbox .close:hover {
	color: #ff8800;
}

@media (max-width: 768px) {
	.lightbox .close {
		top: 10px;
		right: 15px;
		font-size: 50px;
		padding: 15px;
		touch-action: manipulation;
		min-width: auto;
		min-height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(0, 0, 0, 0.5);
		border-radius: 50%;
	}
	
	.gallery-container .gallery {
		grid-template-columns: 1fr;
		padding: 10px;
		gap: 15px;
	}
}

.category-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	padding: 40px 20px;
	margin-bottom: 30px;
}

.category-tabs button {
	padding: 12px 24px;
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff;
	border: 2px solid rgba(255, 136, 0, 0.3);
	border-radius: 25px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.9em;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.category-tabs button:hover,
.category-tabs button.active {
	background: rgba(255, 136, 0, 0.2);
	border-color: #ff8800;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 136, 0, 0.3);
}

.subcategory-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

.subcategory-tabs button {
	padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 2px solid rgba(255, 136, 0, 0.3);
	border-radius: 15px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.8em;
	letter-spacing: 0.05em;
	text-transform: capitalize;
	transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.subcategory-tabs button:hover,
.subcategory-tabs button.active {
	background: rgba(255, 136, 0, 0.15);
	border-color: #ff8800;
	transform: translateY(-2px);
}

/* Contact Section */
.project-contact {
  padding: 4em 0 2em 0;
  margin-top: 3em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2em;
}

.company-info {
  text-align: center;
      background: #0000009c;
    padding: 2em;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.company-logo {
  height: 120px;
  width: auto;
  margin-bottom: 1.5em;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.company-info h3 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #f66b0e;
}

.company-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2em;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1em;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: #f66b0e;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 136, 0, 0.3);
  transform: translateY(-3px);
}

.contact-form {
  background: #0000009c;
  padding: 2em;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #f66b0e;
  text-align: center;
}
.contact-form p{
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2em;
  line-height: 1.6;
  text-align: center;
  font-size:smaller;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1em;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff8800;
  background: rgb(255, 255, 255);
  color: #000000;
}

.contact-form button {
  width: 100%;
  padding: 1em;
  background: linear-gradient(135deg, #ff8800, #f66b0e);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #f66b0e, #e55a00);
  transform: translateY(-2px);
}
.contact-details{
  background: #0000009c;
    padding: 2em;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.contact-details h3 {
  font-size: 1.8em;
  margin-bottom: 1.5em;
  color: #f66b0e;
  text-align: center;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5em;
  color: rgba(255, 255, 255, 0.9);
}

.detail-item i {
  color: #ff8800;
  margin-right: 1em;
  margin-top: 0.2em;
  font-size: 1.2em;
  flex-shrink: 0;
}

.detail-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-item a:hover {
  color: #ff8800;
}

.map-container {
  margin-top: 2em;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}
#copyright {
  text-align: center;
  font-size: 0.85em;
  color: #fff;
  padding: 15px 0 5px;
  margin-top: 30px;
  /* background: rgba(0, 0, 0, 0.1); */
}

#copyright ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Tablet View */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 0 1em;
  }
  .mobile-logo-projects img{
	margin-top:140px;
}
#navPanel{
max-height:max-content;
}
}

@media screen and (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 95%;
  }
  
  .lightbox .close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
  
  .hero-text h1{
  text-transform: uppercase;
  font-weight:700;
  font-size: 1.5em;
}
  .gallery-title {
    flex-direction: column;
    padding: 40px 15px;
    gap: 25px;
  }
  
  .gallery-logo {
    height: 100px;
  }
  
  .title-text h1 {
    font-size: 2.8em;
    letter-spacing: 2px;
  }
  
  .title-text p {
    font-size: 1em;
  }
  
  .gallery-container .gallery {
    grid-template-columns: 1fr;
    gap:20px;
  }
  .gallery-container .gallery img {
	
	height: 300px;
	
	
}
  .category-tabs {
    gap: 10px;
    padding: 30px 15px;
  }
  
  .category-tabs button {
    padding: 10px 18px;
    font-size: 0.8em;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 0 1em;
  }
  
  .company-logo {
    height: 100px;
  }
  
  .map-container iframe {
    height: 200px;
  }
}

/* Mobile Navigation */
#navPanel, #titleBar {
	display: none;
}

@media screen and (max-width: 980px) {
	#nav {
		display: none;
	}
	
	#header {
		display: none;
	}
	
	#page-wrapper {
		backface-visibility: hidden;
		transition: transform 0.5s ease;
		padding-bottom: 1px;
	}
	
	#titleBar {
		backface-visibility: hidden;
		transition: transform 0.5s ease;
		display: block;
		height: 44px;
		left: 0;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 10001;
		background: none;
	}
	
	#titleBar .title {
		display: none;
	}
	
	#titleBar .toggle {
		text-decoration: none;
		position: absolute;
		top: 0;
		left: 0;
		width: 60px;
		height: 44px;
	}
	
	#titleBar .toggle:before {
		content: '\f0c9';
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		transition: all .15s ease-in-out;
		font-size: 16px;
		position: absolute;
		top: 6px;
		left: 6px;
		display: block;
		width: 54px;
		height: 38px;
		line-height: 38px;
		text-align: center;
		color: rgba(255, 255, 255, 0.75);
      background-color: rgba(92, 95, 103, 0.5);
		border-radius: 0.25em;
	}
	
	#titleBar .toggle:active:before {
		background-color: rgba(92, 95, 103, 0.75);
	}
	
	#navPanel {
		display: none;
		position: fixed;
		top: 60px;
		left: 0;
		width: 100%;
		max-width: 250px;
		background: #f66b0eb5;
		border-radius: 0 0 8px 8px;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
		z-index: 10002;
		max-height: 50vh;
		overflow-y: auto;
    backdrop-filter: blur(10px);
				font-weight: 800;
	}
	
	#navPanel .link {
		display: block;
		color: rgba(255, 255, 255, 0.5);
		text-transform: uppercase;
		text-decoration: none;
		font-size: 0.85em;
		letter-spacing: 0.15em;
		height: 44px;
		line-height: 44px;
		border-top: solid 1px rgba(255, 255, 255, 0.05);
		margin: 0 15px 0 15px;
	}
	
	#navPanel .link:first-child {
		border-top: 0;
	}
	
	#navPanel .depth-0 {
		color: #fff;
	}
	
	body.navPanel-visible #navPanel {
		display: block;
	}
	
	body.navPanel-visible #page-wrapper,
	body.navPanel-visible #titleBar {
		transform: none;
	}
}
/* Mobile Logo for Projects */
.mobile-logo-projects {
	display: none;
	text-align: center;
	margin: 0 auto 1.5em auto;
	width: 100%;
}

.mobile-logo-projects img {
	height: 3em;
	width: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

@media screen and (max-width: 768px) {
	.mobile-logo-projects {
		display: block;
	}
	/* *{box-sizing:border-box;} */
	html,body{
		overflow-x:hidden;
		margin:0;
		padding:0;
		width:100%;
	}
}

@media only screen and (max-height:500px) and (orientation:landscape){
	body{
		overflow-x:hidden;
		/* max-width: 100vh; */
		width: 100%;
		/* max-width:100vw; */

	}
	.contact-grid {
    grid-template-columns: 1fr;
    gap: 2em;
    padding: 0 1em;

}
.mobile-logo-projects img{
	margin-top:140px;
}
#navPanel{
max-height:max-content;
}
}