/* -------------------------
   SITE WIDE / TYPOGRAPHY
   ------------------------- */
:root{
  --nav-bg: #0a2342;
  --accent: #f4a261;
  --accent-hover: #e76f51;
  --text: #222;
  --muted: #6b7280;
  --light-bg: #f7f8fa;
  --max-width: 1400px;
}
*{box-sizing:border-box}
html,body{height: 100%}
body{
  margin:0;
  font-family:'Open Sans',system-ui,Segoe UI,Roboto,'Helvetica Neue',Arial;
  color:var(--text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* LINKS / BUTTONS */
a{color:var(--nav-bg)}
a:hover{opacity:.9}
.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
}
.btn.primary{background:var(--accent); color:#fff}
.btn.ghost{background:transparent; border:1px solid rgba(255,255,255,.12); color:#fff}
.btn.primary:hover{background:var(--accent-hover)}

/* -------------------------
   NAVBAR
   ------------------------- */
.site-header{position:sticky; top:0; z-index:1000}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding:14px 28px; background:var(--nav-bg); color:#fff;
}
.brand{display:flex; align-items:center; gap:12px}
.logo{height:44px; width:auto}
.brand-name{font-weight:700; font-family:'Montserrat',sans-serif; color:#fff}
.nav-links{list-style:none; display:flex; gap:18px; margin:0; padding:0; align-items:center}
.nav-links a{color:#fff; text-decoration:none; font-weight:600; opacity:.95}
.nav-links a:hover{color:var(--accent)}

/* MOBILE - simple collapse (no hamburger) */
@media(max-width:700px){
  .nav-links{display:none}
}

/* -------------------------
   HERO
   ------------------------- */
.hero{
  height:84vh;
  background:url('/image/pexels-sevenstorm-juhaszimrus-443383.png') center/cover no-repeat;
  display:flex; align-items:center; justify-content:center; position:relative;
}
.hero::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(6,12,24,0.45) 0%, rgba(6,12,24,0.55) 100%)}
.hero-overlay{position:relative; z-index:2; text-align:center; padding:28px; max-width:1100px; color:#fff}
.hero-overlay h1{font-family:'Montserrat',sans-serif; font-size:40px; line-height:1.05; margin:0 0 12px}
.hero-overlay p{margin:0 0 18px; color:rgba(255,255,255,0.95); font-size:18px}

/* -------------------------
   FULL WIDTH SECTIONS
   ------------------------- */
.full-width-section{padding:56px 20px}
.container{
  max-width:var(--max-width);
  margin:0 auto;
  display:flex;
  gap:32px;
  align-items:flex-start;
  flex-wrap:wrap;
}

/* LEFT: IMAGE  - RIGHT: TEXT */
.image-col{flex:1 1 480px}
.image-col img{width:100%; height:auto; border-radius:70px; box-shadow:0 10px 30px rgba(6,12,24,0.12)}
.text-col{flex:1 1 700px}
.text-col h2{font-family:'Montserrat',sans-serif; color:var(--nav-bg); margin-top:0; margin-bottom:12px}
.text-col h3{margin-top:30px; margin-bottom:30px; color:var(--nav-bg)}
.text-col p{margin:0 0 12px; color:var(--text)}

/* muted background for some sections */
.bg-light{background:var(--light-bg)}

/* services list */
.full-width-section ul{padding-left:18px; margin:8px 0}

/* -------------------------
   CLIENTS SLIDER
   ------------------------- */
.clients-section{padding:48px 20px}
.clients-inner{max-width:var(--max-width); margin:0 auto; text-align:center; padding:18px}
.clients-sub{color:var(--muted); margin-bottom:18px}
.clients-slider{overflow:hidden; margin:0 auto; padding:10px 0}
.slide-track{display:flex; gap:28px; align-items:center; animation:scroll 22s linear infinite}
.slide{flex:0 0 180px; display:flex; justify-content:center; align-items:center}
.slide img{max-width:160px; opacity:.85; filter:grayscale(.05); transition:transform .2s ease, opacity .2s ease}
.slide img:hover{transform:translateY(-6px); opacity:1}
@keyframes scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* -------------------------
   CONTACT SECTION
   ------------------------- */
.contact-container{display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:start}
.contact-text h2{margin-top:0}
.contact-form{display:flex; flex-direction:column; gap:10px; margin-top:6px}
.contact-form label{font-weight:600; font-size:14px}
.contact-form input, .contact-form textarea{
  padding:10px 12px; border:1px solid #d7dbe0; border-radius:8px; font-size:15px; width:100%;
}
.contact-map h3{margin-top:0}

/* -------------------------
   FOOTER
   ------------------------- */
.site-footer{background:var(--nav-bg); color:#fff; padding:18px 10px; margin-top:28px}
.footer-inner{max-width:var(--max-width); margin:0 auto; display:flex; justify-content:space-between; gap:12px; align-items:center; padding:4px 0}
.footer-inner a{color:rgba(255,255,255,.9); text-decoration:none}

/* -------------------------
   RESPONSIVE
   ------------------------- */
@media(max-width:1100px){
  .container{gap:22px}
  .image-col, .text-col{flex-basis:100%}
  .contact-container{grid-template-columns:1fr}
  .hero-overlay h1{font-size:32px}
}
@media(max-width:700px){
  .hero{height:60vh}
  .hero-overlay h1{font-size:24px}
  .brand-name{display:none}
  .nav-links{display:none}
  .slide{flex:0 0 140px}
  .slide img{max-width:120px}
}

/* --- Improve section alignment --- */
.section .container {
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* --- Image sizing & positioning --- */
.image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}
.image-col img {
  width: 100%;
  max-width: 520px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- Text column tweaks --- */
.text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Fix “Our Services” inner spacing --- */
#services h3 {
  margin-top: 0.8rem;    /* Less space above */
  margin-bottom: 0.3rem; /* Less space below */
}
#services p {
  margin-bottom: 0.8rem; /* Tighten paragraph gap */
  line-height: 1.6;
}

/* --- Consistent spacing for “Our Mission” too --- */
#mission .text-col p {
  margin-bottom: 0.9rem;
}

/* --- Better balance on desktop --- */
@media (min-width: 1024px) {
  .section .container {
    gap: 4rem;
  }
}

/* --- Responsive alignment for mobile --- */
@media (max-width: 768px) {
  .section .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }
  .image-col img {
    max-width: 100%;
  }
}

/* --- OUR MISSION section adjustments --- */
#mission.section {
  padding: 5rem 1rem; /* balanced top & bottom space */
}

#mission .container {
  display: flex;
  align-items: center;       /* vertically center image & text */
  justify-content: space-between;
  gap: 3rem;                 /* space between image and text */
}

#mission .image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

#mission .image-col img {
  width: 100%;
  max-width: 500px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

#mission .text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#mission .text-col h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 2rem;
}

#mission .text-col p {
  color: #333;
  margin-bottom: 0.8rem; /* tighter spacing between paragraphs */
  line-height: 1.7;      /* smoother reading */
  max-width: 95%;
}

/* --- Mobile layout --- */
@media (max-width: 960px) {
  #mission .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  #mission .image-col img {
    max-width: 100%;
  }
}

/* --- OUR SERVICES section adjustments --- */
#services.section {
  padding: 5rem 1rem; /* same vertical rhythm as mission */
}

#services .container {
  display: flex;
  align-items: center;         /* vertically centers image & text */
  justify-content: space-between;
  gap: 3rem;                   /* space between image and text */
}

/* Image column */
#services .image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

#services .image-col img {
  width: 100%;
  max-width: 500px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Text column */
#services .text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#services .text-col h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 2rem;
}

/* Subtitles and paragraphs */
#services .text-col h3 {
  margin-top: 0.6rem;     /* less gap above */
  margin-bottom: 0.3rem;  /* tighter spacing */
  color: var(--navy);
  font-size: 1.1rem;
}

#services .text-col p {
  color: #333;
  margin-bottom: 0.7rem;  /* reduce vertical gap between items */
  line-height: 1.65;
  max-width: 95%;
}

/* Mobile layout */
@media (max-width: 960px) {
  #services .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  #services .image-col img {
    max-width: 100%;
  }
}

/* --- ABOUT US section adjustments --- */
#about.section {
  padding: 5rem 1rem; /* same consistent vertical padding */
}

#about .container {
  display: flex;
  align-items: center;         /* vertically centers image & text */
  justify-content: space-between;
  gap: 3rem;                   /* consistent gap between columns */
}

/* Image column */
#about .image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

#about .image-col img {
  width: 100%;
  max-width: 500px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Text column */
#about .text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#about .text-col h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 2rem;
}

#about .text-col p {
  color: #333;
  margin-bottom: 0.9rem;  /* balanced spacing between paragraphs */
  line-height: 1.7;
  max-width: 95%;
}

/* Mobile responsiveness */
@media (max-width: 960px) {
  #about .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  #about .image-col img {
    max-width: 100%;
  }
}

/* --- MATERIALS SUPPLY section adjustments --- */
#materials.section {
  padding: 5rem 1rem; /* consistent vertical rhythm */
}

#materials .container {
  display: flex;
  align-items: center;          /* vertical centering */
  justify-content: space-between;
  gap: 3rem;                    /* balanced spacing */
}

/* Image column */
#materials .image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

#materials .image-col img {
  width: 100%;
  max-width: 500px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Text column */
#materials .text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#materials .text-col h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 2rem;
}

#materials .text-col h3 {
  margin-top: 0.6rem;     /* less space above */
  margin-bottom: 0.3rem;  /* less space below */
  color: var(--navy);
  font-size: 1.1rem;
}

#materials .text-col p {
  color: #333;
  margin-bottom: 0.8rem;  /* tighter spacing between paragraphs */
  line-height: 1.65;
  max-width: 95%;
}

/* Mobile layout */
@media (max-width: 960px) {
  #materials .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  #materials .image-col img {
    max-width: 100%;
  }
}

/* --- ENGINEERING & CONSULTING section adjustments --- */
#consulting.section {
  padding: 5rem 1rem; /* same vertical balance as other sections */
}

#consulting .container {
  display: flex;
  align-items: center;         /* vertically center image and text */
  justify-content: space-between;
  gap: 3rem;                   /* balanced spacing between columns */
}

/* Image column */
#consulting .image-col {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

#consulting .image-col img {
  width: 100%;
  max-width: 500px;
  border-radius: 35px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Text column */
#consulting .text-col {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#consulting .text-col h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 2rem;
}

#consulting .text-col h3 {
  margin-top: 0.6rem;     /* less space above */
  margin-bottom: 0.3rem;  /* less space below */
  color: var(--navy);
  font-size: 1.1rem;
}

#consulting .text-col p {
  color: #333;
  margin-bottom: 0.8rem;  /* tighter paragraph spacing */
  line-height: 1.65;
  max-width: 95%;
}

/* Responsive layout */
@media (max-width: 960px) {
  #consulting .container {
    flex-direction: column;
    text-align: left;
    gap: 2rem;
  }

  #consulting .image-col img {
    max-width: 100%;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* 1. Viewport meta (in <head>) */
<meta name="viewport" content="width=device-width, initial-scale=1">

/* 2. Base styling (mobile first) */
body {
  margin: 0;
  padding: 0;
  font-size: 16px; /* or a relative base */
  line-height: 1.4;
}

/* 3. Fluid container */
.container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* 4. Layout adjustments using Flexbox or Grid */
.row {
  display: flex;
  flex-direction: column; /* for mobile, stack items vertically */
  gap: 16px;
}

/* Then at larger widths, turn into row layout */
@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }
}

/* 5. Images responsive */
img, .responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 6. Navigation / menu for mobile */
.nav {
  display: none; /* hide full menu by default */
}
.hamburger {
  display: block;
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
/* 7. Buttons and touch targets */
button, a.button {
  padding: 12px 20px;
  font-size: 1rem;
  min-height: 44px;  /* ensure touch target */
}

/* 8. Adjust typography / headings */
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.25rem;
}



.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-form, .contact-map {
  flex: 1;
  min-width: 350px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #f68b42;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #e37a30;
}

.contact-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.form-wrapper, .map-wrapper {
  flex: 1;
  min-width: 300px; /* so it doesn’t shrink too much */
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.form-wrapper, .map-wrapper {
  flex: 1;
  min-width: 300px; /* so it doesn’t shrink too much */
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }
}


/* ========== Mobile / small screen overrides ========== */
@media only screen and (max-width: 768px) {

  /* Container layout: make major sections full width and stack */
  .site-container, .page-wrapper {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .header, .nav, .footer {
    width: 100%;
  }

  /* Navigation: convert horizontal menu to vertical / collapsible */
  .nav {
    display: block;
  }
  .nav ul {
    list-style: none;
    padding: 0;
  }
  .nav ul li {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .nav ul li a {
    display: block;
    padding: 10px;
    font-size: 16px;
  }

  /* Main content and sidebar: stack, sidebar below content */
  .main-content, .sidebar {
    width: 100%;
  }
  .main-content {
    margin-bottom: 20px;
  }
  .sidebar {
    margin-top: 20px;
  }

  /* Images and videos / iframes: responsive */
  img, video, iframe {
    max-width: 100%;
    height: auto;
  }

  /* Sections, columns: make columns full width */
  .two-column, .three-column {
    display: block;
  }
  .two-column > .column, .three-column > .column {
    width: 100%;
    margin-bottom: 20px;
  }

  /* Forms: full width inputs and buttons */
  form input, form textarea, form select, form button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
  }

  /* Header / hero area: adjust font sizes */
  .hero-title {
    font-size: 24px; /* reduce for mobile */
  }
  .hero-subtitle {
    font-size: 16px;
  }

  /* Footer items: stack */
  .footer .footer-widgets {
    display: block;
  }
  .footer .footer-widget {
    width: 100%;
    margin-bottom: 20px;
  }
}