/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* === Navigation === */
.navbar {
  background: #0b1a2a;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f04e30;
}

/* === Hero === */
.hero {
  height: 90vh;
  position: relative;
  color: #fff;
  background: center/cover no-repeat;
  transition: background-image 1s ease-in-out; /* smooth cross-fade */
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: #f04e30;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #d03f24;
}

/* === Generic Sections === */
.about,
.services,
.contact-cta {
  padding: 4rem 0;
  text-align: center;
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 1rem;
  color: #0b1a2a;
}

.contact-cta {
  background: #0b1a2a;
  color: #fff;
}

.contact-cta h2 {
  margin-bottom: 1.5rem;
}

/* === Footer === */
.footer {
  background: #0b1a2a;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* === About Section === */
.about-block {
  background: #fff;
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.left-col .card {
  background: #f5f5f5;
  padding: 2rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.left-col h3,
.right-col h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.bar {
  width: 6px;
  height: 24px;
  background: #c92e0e; /* accent color */
  margin-right: 10px;
  border-radius: 2px;
}

.left-col ul {
  list-style: disc inside;
  line-height: 1.6;
}

.right-col p {
  margin-bottom: 1rem;
}

.btn-learn {
  background: #c92e0e;
  color: #fff;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s;
}

.btn-learn:hover {
  background: #a9220b;
}

/* === What We Do === */
.what-we-do {
  background: #f5f5f5;
  padding: 4rem 0;
}

.what-we-do h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.what-we-do .bar {
  width: 6px;
  height: 28px;
  background: #c92e0e;
  margin-right: 10px;
  border-radius: 2px;
}

.what-we-do .intro {
  max-width: 800px;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-text {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-text h3 {
  font-size: 1.1rem;
  flex: 1;
  margin: 0;
}

.arrow {
  color: #fff;
  background: #c92e0e;
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.arrow:hover {
  background: #a9220b;
}

/* === Hero Slider === */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay-box {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  max-width: 600px;
  margin: 10% 0 0 5%;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.overlay-box h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.overlay-box p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* === Current Projects === */
.current-projects {
  background: #f8f8f8;
  padding: 4rem 0;
}

.current-projects h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-tabs .tab {
  background: transparent;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  border-radius: 4px;
  transition: background 0.3s;
}

.project-tabs .tab.active {
  background: #c92e0e;
  color: #fff;
}

.project-content {
  display: none;
}

.project-content.active {
  display: block;
}

.project-info {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.project-gallery img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* === Partners === */
.partners {
  padding: 4rem 0;
  background: #fff;
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.partner {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
  cursor: pointer;
}

.partner img {
  max-width: 100%;
  height: auto;
  display: block;
  padding: 1rem;
  transition: transform 0.3s;
}

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

.partner-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.partner:hover .partner-name {
  opacity: 1;
}

/* === Contact Section === */
.contact {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info,
.contact-social {
  flex: 1 1 300px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-left: 6px solid #d63031;
  padding-left: 0.5rem;
  color: #222;
}

.contact-info p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.map-container {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.contact-social h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #222;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.2s;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.social-btn.fb {
  background-color: #1877f2;
}

.social-btn.whatsapp {
  background-color: #25d366;
}

.social-btn:hover {
  transform: scale(1.05);
}

/* === Projects / Procurements === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.procurements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.procurement-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.procurement-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.procurement-item:hover img {
  transform: scale(1.08);
}

.procurement-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  text-align: center;
}

.procurement-item:hover .procurement-overlay {
  opacity: 1;
}

/* === Responsive Tweaks === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none; /* hide the menu by default on small screens */
  }

  .nav-toggle {
    display: block; /* show hamburger icon if you add one */
  }
}
.about-hero {
  height: 60vh;
  position: relative;
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.about-hero .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 8px;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.about-hero p {
  font-size: 1.2rem;
}
.about-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  line-height: 1.7;
}

.about-section h2 {
  color: #c92e0e;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.about-section p {
  margin-bottom: 1rem;
  color: #333;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.flex-row img {
  max-width: 100%;
  border-radius: 0.5rem;
  flex: 1 1 350px;
}

.flex-row .text {
  flex: 1 1 350px;
}
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.25rem;
  }
}
/* Remove the old flex rules */
.who-we-are {
  overflow: hidden;           /* contain the floated image */
  line-height: 1.7;
}

/* Float image to the right so text wraps */
.who-we-are .who-img {
  float: right;
  max-width: 300px;           /* control size */
  width: 40%;                 /* responsive scaling */
  margin: 0 0 1rem 1.5rem;    /* space between text and image */
  border-radius: 8px;
}

/* On small screens drop the float so it stacks */
@media (max-width: 600px) {
  .who-we-are .who-img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
  }
}
.who-we-are {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.who-we-are .text {
  flex: 1 1 500px;
  line-height: 1.7;
}

.slideshow {
  flex: 1 1 400px;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.slide-track {
  display: flex;
  animation: scrollSlides 20s linear infinite;
}

.slide-track img {
  width: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes scrollSlides {
  0% { transform: translateX(0); }
  100% { transform: translateX(-600%); }
}

@media(max-width:768px){
  .who-we-are {
    flex-direction: column;
  }
  .slideshow {
    max-height: 250px;
  }
}
.vm-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* This already adds horizontal and vertical spacing */
  margin-bottom: 2rem; /* Adds space between rows */
}

.vm-card {
  flex: 1 1 calc(50% - 1rem); /* Ensures two cards per row with horizontal gap */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 2rem;
  box-sizing: border-box;
}
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span { width:25px; height:3px; background:#fff; border-radius:2px; }
@media (max-width:768px){
  .nav-links { display:none; flex-direction:column; /* …rest… */ }
  .nav-links.show { display:flex; }
  .hamburger { display:flex; }
}
