@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --primary-color: #0078B9; /* Matched Logo Blue */
  --primary-dark: #004f7a; 
  --accent-color: #F89C1E; /* Matched Logo Orange */
  --logo-green: #00A68A;
  --logo-purple: #9B509F;
  --logo-red: #E01A22;
  --bg-light: #F5F7FA;
  --text-main: #333333;
  --text-muted: #666666;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography --- */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  color: var(--primary-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #d88111;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(248, 156, 30, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 110px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 5px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 170px;
  padding-bottom: 170px;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

/* --- Highlights Strip --- */
.highlights {
  background-color: var(--white);
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
}

.highlight-item {
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.highlight-item:nth-child(1) { background: var(--primary-color); color: var(--white); }
.highlight-item:nth-child(2) { background: var(--logo-green); color: var(--white); }
.highlight-item:nth-child(3) { background: var(--primary-dark); color: var(--white); }

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.highlight-item h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* --- General Sections --- */
.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

/* --- Industries (Image Grid) --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.industry-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
  z-index: 1;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.industry-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover img {
  transform: scale(1.1);
}

.industry-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  color: var(--white);
}

.industry-content i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: block;
}

.industry-content h4 {
  color: var(--white);
  margin: 0;
  font-size: 1.2rem;
}

/* --- Image & Text Layouts --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  position: relative;
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Cards Grid (Generic with Images) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 4px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border-bottom-color: var(--accent-color);
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: -50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* --- Page Header (Internal Pages) --- */
.page-header {
  padding: 200px 0 150px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(rgba(0, 79, 122, 0.85), rgba(0, 120, 185, 0.9)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80') center/cover fixed no-repeat;
  padding: 6rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* --- Lists --- */
.list-styled {
  margin-top: 1.5rem;
}

.list-styled li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.list-styled li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--logo-green);
}

/* --- Engineering Approach --- */
.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  align-items: center;
  gap: 2rem;
  border-left: 5px solid var(--primary-color);
  transition: var(--transition);
}

.step:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-left-color: var(--accent-color);
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 120, 185, 0.2);
  min-width: 60px;
  text-align: center;
}

/* --- Contact Page Specific --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info .info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item i {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 5px;
  width: 40px;
  text-align: center;
}

.contact-form {
  background: var(--white);
  padding: 3.5rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #dce1e6;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #fafbfc;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 120, 185, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* --- Footer --- */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 90px;
  margin-bottom: 1.5rem;
  background: white;
  padding: 10px;
  border-radius: 8px;
  display: inline-block;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.8;
  font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .split-section, .contact-wrapper {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .navbar {
    height: 80px;
  }
  
  .logo img {
    height: 60px;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    gap: 1.5rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  
  .hero h1 { 
    font-size: 2.2rem; 
    line-height: 1.3;
  }
  
  .hero .tagline {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .section-title { font-size: 2rem; }
  .page-header { padding: 150px 0 80px; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-col p i {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
    display: block;
  }
}
