* {
	margin:0;
	padding:0;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size:14px;
	color:#4a4a4a;
	box-sizing: border-box;
}
body {
	background:url(../images/body-bg.jpg);
	line-height: 1.6;
}

body.sticky-footer {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body.sticky-footer .footer-wrapper {
	margin-top: auto;
}

h1,h2,h3,h4,h5,h6 {font-family: 'Open Sans', sans-serif; margin-bottom: 15px;}
.clear {
	clear:both;
}
a {
	text-decoration:none;
	transition: all 0.3s ease;
}

/* Header starts here */

.header-wrapper {
	width:100%;
	background:url(../images/bg-2.jpg);
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header {
	width: 960px;
	height: 90px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
}
.logo {
	display: flex;
	align-items: center;
	width: auto;
	height: 100%;
}
.logo-img {
	width: 65px;
	height: 65px;
	margin-right: 14px;
	object-fit: contain;
	display: block;
}
.logo-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #ffffff;
	line-height: 1.1;
	height: 50px;
}
.logo-text h2 {
	font-size: 22px;
	font-weight: bold;
	color: #ffffff;
	margin-bottom: 2px;
	margin-top: 0;
	line-height: 1.1;
}
.logo-text h3 {
	font-size: 13px;
	color: #a29f8e;
	font-weight: normal;
	margin: 0;
	line-height: 1.1;
}

/* Menu starts here */

.menu {
	width:580px;
}
.menu ul {
	list-style:none;
	display: flex;
	justify-content: flex-end;
}
.menu li {
	margin-left: 20px;
}
.menu li a {
	font-size:15px;
	font-weight:bold;
	color:#a29f8e;
	padding: 10px 15px;
	border-radius: 4px;
	transition: all 0.3s ease;
}
.menu li a:hover {
	background:url(../images/bg-1.jpg) repeat-x;
	color:#8a0000;
}
.menu li a.active {
	background:url(../images/bg-1.jpg) repeat-x;
	color:#8a0000;
}

/* Banner starts here */

.banner-wrapper {
	width:100%;
	background:url(../images/bg-1.jpg);
	overflow:hidden;
}
.banner {
	width:960px;
	margin:0 auto;
}
.banner-image {
	width:950px;
	height:340px;
	margin-top:60px;
	margin-bottom:60px;
}

/* Body Content starts here */

/* Only apply grid layout to .conainer on the index page */
body[data-page="index"] .conainer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 40px;
	justify-items: center;
}
/* Default .conainer for all other pages */
.conainer {
	width: 960px;
	margin: 0 auto;
	margin-top: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid #868471;
	display: block;
}
.content-1 {
	width: 100%;
	max-width: 300px;
	/* float:left; */
	box-sizing: border-box;
}
.content-1 h1 {
	font-size:25px;
	color:#41403b;
	padding-bottom:20px;
}
.content-1-image {
	width:292px;
	height:132px;
	padding-left:8px;
	padding-top:8px;
	background:#d0d0c5;
}
.content-1 p {
	line-height:20px;
	margin-top:20px;
	text-align:left;
}

a.more{
display:block;
color:#ffffff;
text-align:center;
background:url(../images/bg-2.jpg); 
width:80px; 
height:30px;
line-height:30px;
margin-top:30px;
}

a.more:hover{
background:url(../images/bg-1.jpg);
color:#41403b;
}

.marginRight{margin-right:30px;}

.content-2{
width:950px;
float:left;
}

.content-2 h1 {
	font-size:25px;
	color:#41403b;
	padding-bottom:20px;
}

.div1{
	float:left;
	width:242px;
	height:272px;
	background:#d0d0c5;
	padding-left:8px;
	padding-top:8px;
}

.div2{
	width:350px;
	float:right;
}

.div2 ul{
	list-style:none;
}

.div2 li{
	float:left;
	text-align:left;
	
	padding-top:20px;
	border-bottom:1px solid #868471;

}

.div2 li a{
	display:block;
	font-size:13px;
	font-weight:bold;
	color:#bc0000;
	text-decoration:underline;
}

.div2 li a:hover{
	color:#000000;
}

.div2 li.bdrBottom{border-bottom:none;}

.div2 p {
	line-height:20px;
	text-align:left;
	padding-bottom:20px;
}

.content-3{
	width:300px;
	float:right;
}

.content-3 h1 {
	font-size:25px;
	color:#41403b;
	padding-bottom:20px;
}

.conternt-3 ul{
	list-style:none;
}

.content-3 li{
	float:left;
	display:block;
	background:url(../images/arrow.gif) no-repeat;
	padding-left:40px;
}

.content-3 h2{
	font-size:13px;
    color:#bc0000;
	padding-bottom:5px;
}

.content-3 p{
	line-height:20px;
	text-align:left;
	padding-bottom:10px;
}

.footer-wrapper{
	width:100%;
	background:url(../images/bg-2.jpg);
	overflow:hidden;
	margin-top: auto;
}

.footer {
    width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 0;
    padding-bottom: 0;
}
.footer-content {
    width: 48%;
    background: none;
    padding: 16px 0 12px 20px;
    color: #a29f8e;
    font-size: 14px;
    box-sizing: border-box;
}
.footer-content.right {
    padding-left: 0;
    padding-right: 20px;
    text-align: right;
}
.footer-content h1 {
    font-size: 18px;
    color: #ffffff;
    padding-bottom: 8px;
    margin: 0 0 8px 0;
}
.footer-content p {
    padding-bottom: 6px;
    color: #a29f8e;
    line-height: 1.5;
    margin: 0;
    font-size: 14px;
}
.footer-content a { color: #a29f8e; }
.footer-content a:hover { color: #ffffff; }

.newsletter{width:280px; margin-bottom:30px; float:left;}
.newsletter ul{list-style:none;}
.newsletter li{float:left;}
.newsletter-input{width:180px; height:35px; line-height:35px; background:url(../images/bg-1.jpg); border:none; padding-left:10px; float:left;}
.newsletter img { float:right;}

a.footerlink{color:#ffffff; padding-top:10px; padding-bottom:10px;}
a:hover {
    color: red;
}
.more1{
display:block;
color:#ffffff;
text-align:center;
background:url(../images/bg-1.jpg);
width:80px; 
height:10px;
line-height:30px;
}

a.more1:hover{
background:url(../images/bg-1.jpg);
color:#41403b;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.contact-card {
  max-width: 700px;
  margin: 40px auto 30px auto;
  background: #fff8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(80,40,0,0.07);
  padding: 32px 32px 24px 32px;
}
.contact-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 40px;
  height: 40px;
}
.contact-header h1 {
  font-size: 2.2em;
  color: #8a0000;
  margin: 0;
}
.contact-content {
  display: flex;
  gap: 32px;
  margin-bottom: 18px;
}
.contact-left, .contact-right {
  flex: 1;
  font-size: 1.1em;
  color: #2F4F4F;
}
.contact-left h2 {
  color: #41403b;
  font-size: 1.3em;
  margin-bottom: 8px;
}
.contact-right p, .contact-left p {
  margin: 0 0 10px 0;
}
.contact-map {
  margin-top: 18px;
  text-align: center;
}
.contact-map img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(80,40,0,0.08);
}
@media (max-width: 700px) {
  .contact-card {
    padding: 18px 6px 12px 6px;
  }
  .contact-content {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   MOBILE RESPONSIVENESS - COMPREHENSIVE
   ======================================== */

/* Tablet and Small Desktop */
@media (max-width: 1024px) {
  .header {
    width: 95%;
    padding: 0 20px;
  }
  .banner {
    width: 95%;
  }
  .banner-image {
    width: 100%;
  }
  .conainer {
    width: 95%;
    padding: 0 20px;
  }
  .footer {
    width: 95%;
    padding: 0 20px;
  }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
  /* Header Mobile */
  .header {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }
  .logo {
    margin-bottom: 15px;
  }
  .menu {
    width: 100%;
  }
  .menu ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  .menu li {
    margin: 5px 10px;
  }
  .menu li a {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  /* Banner Mobile */
  .banner-image {
    height: 200px;
    margin: 30px 0;
  }
  
  /* Content Mobile */
  body[data-page="index"] .conainer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
  .content-1 {
    max-width: 100%;
    text-align: center;
  }
  .content-1-image {
    width: 100%;
    max-width: 292px;
    margin: 0 auto;
  }
  .content-2 {
    width: 100%;
  }
  .content-3 {
    width: 100%;
    float: none;
  }
  
  /* Footer Mobile */
  .footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-content {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-content.right {
    text-align: center;
    padding-right: 20px;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  /* Typography */
  .content-1 h1, .content-2 h1, .content-3 h1 {
    font-size: 20px;
  }
  
  /* Header Mobile Portrait */
  .header {
    padding: 10px 15px;
  }
  .logo-text h2 {
    font-size: 18px;
  }
  .logo-text h3 {
    font-size: 11px;
  }
  .menu li a {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  /* Content Mobile Portrait */
  .conainer {
    padding: 0 15px;
    margin-top: 30px;
    padding-bottom: 30px;
  }
  .content-1-image {
    width: 100%;
    height: auto;
    min-height: 120px;
  }
  a.more {
    margin: 20px auto 0 auto;
  }
  
  /* Footer Mobile Portrait */
  .footer-content {
    padding: 12px 15px;
  }
  .footer-content h1 {
    font-size: 16px;
  }
  .footer-content p {
    font-size: 13px;
  }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
  .header {
    padding: 8px 10px;
  }
  .logo-text h2 {
    font-size: 16px;
  }
  .logo-text h3 {
    font-size: 10px;
  }
  .conainer {
    padding: 0 10px;
  }
  .content-1 h1 {
    font-size: 18px;
  }
  .menu li {
    margin: 3px 5px;
  }
  .menu li a {
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* Specific Page Responsiveness */

/* About Us Page */
@media (max-width: 768px) {
  .column {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .card {
    margin: 0 auto 20px auto;
    max-width: 300px;
  }
}

/* Design and Fabrication Page */
@media (max-width: 768px) {
  .fab-section {
    width: 95% !important;
    margin: 20px auto !important;
    padding: 20px !important;
  }
  .fab-section:first-of-type {
    margin-top: 30px !important;
  }
  .section-title {
    font-size: 24px !important;
    margin-top: 20px !important;
  }
  .fab-images {
    flex-direction: column !important;
    align-items: center !important;
  }
  .fab-images img {
    max-width: 100% !important;
    max-height: 200px !important;
  }
}

/* Clients Page */
@media (max-width: 768px) {
  .clients-section {
    width: 95% !important;
    margin: 20px auto !important;
    padding: 20px 0 !important;
  }
  .clients-title {
    font-size: 24px !important;
  }
  .slider-container {
    width: 95% !important;
    padding: 20px 0 !important;
  }
  .client-logo {
    width: 100px !important;
    height: 100px !important;
    margin: 0 10px !important;
  }
  .client-logo img {
    max-width: 80px !important;
    max-height: 80px !important;
  }
}

/* Technical Supplier, Material Testing, etc. Pages */
@media (max-width: 768px) {
  .content-2 img {
    float: none !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  .content-2 p {
    text-align: left !important;
  }
  .content-2 ul {
    padding: 10px 20px !important;
  }
}

/* Contact Page - Already has some mobile styles, enhancing them */
@media (max-width: 600px) {
  .contact-card {
    margin: 20px auto !important;
    padding: 20px 15px !important;
  }
  .contact-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }
  .contact-header h1 {
    font-size: 1.8em !important;
  }
  .contact-content {
    flex-direction: column !important;
    gap: 20px !important;
  }
}

/* Ensure images are responsive everywhere */
@media (max-width: 768px) {
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Fix any overflow issues */
  * {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure text doesn't overflow */
  body {
    overflow-x: hidden;
  }
}




	
	


	
	


