@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

/* Global Resets and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--gold);
  margin-bottom: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-content {
  padding: 2rem 0;
}

.page-title-centered {
  text-align: center;
  padding: 3rem 1rem 2rem 1rem;
  background: var(--charcoal);
}

.page-title-centered h1 {
  font-size: 2.5rem;
  color: var(--gold);
}

/* Content Blocks for consistent layout */
.content-block {
  margin-bottom: 3rem;
}

.content-block .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.content-block .col {
  flex: 1;
  min-width: 300px;
}

.content-block .block-text ul {
  list-style: disc;
  padding-left: 20px;
}

.content-block .block-text ul li {
  margin-bottom: 0.8rem;
}

.content-block .block-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--gold);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--black);
  border-bottom: 1px solid var(--gold);
}

.logo-img {
  height: 50px;
}

/* Civil Engineering Section Inline Style Replacements */
.service-hero-section {
  background: #181818;
  color: var(--gold);
  padding: 2.5rem 1rem 2rem 1rem;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}
.service-benefits-section {
  margin-bottom: 2.5rem;
}
.service-overview-section {
  margin-bottom: 2.5rem;
}
.service-cta-section {
  background: #222;
  color: var(--gold);
  padding: 2rem 1rem;
  border-radius: 8px;
  text-align: center;
}
.cta-title {
  color: var(--gold);
}
.cta-desc {
  color: var(--white);
}
.cta-btn {
  margin-top: 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
}
/* Services Section Inline Style Replacements */
.services-section {
  margin-bottom: 2.5rem;
}
.services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.service-card {
  min-width: 220px;
  max-width: 320px;
  background: #181818;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.service-title {
  color: var(--gold);
  text-align: center;
}
.service-btn {
  margin-top: 1rem;
}
/* About Page Inline Style Replacements */
.hero-logo-img {
  background: #fff;
  object-fit: contain;
  height: 350px;
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
.mb-xxl {
  margin-bottom: 2.5rem;
}
.mb-md {
  margin-bottom: 0.7rem;
}
.ml-md {
  margin-left: 1.2rem;
}
.mt-lg {
  margin-top: 2rem;
}
.white-normal {
  font-weight: 400;
  color: var(--white);
}
.map-embed {
  border: 1px solid #FFD700;
  border-radius: 8px;
  margin-top: 0.5rem;
}
/* Bold gold text for emphasis */
.gold-bold {
  font-weight: 600;
}
/* GMD and Foundation Section Inline Style Replacements */
.gmd-border-radius {
  border-bottom: 2px solid var(--gold);
  border-radius: 0 0 10px 10px;
}

.gmd-desc {
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

.foundation-maxwidth {
  max-width: 900px;
  margin: 0 auto;
}
/* Partnership & Vision Section Styles */
.impact-section {
  background: var(--charcoal);
  color: var(--gold);
  padding: 2rem 1rem 2rem 1rem;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}
.section-title-lg {
  font-size: 2rem;
}
.section-title-md {
  font-size: 1.7rem;
}
.text-center {
  text-align: center;
}
.desc-lg {
  color: var(--white);
  text-align: center;
  max-width: 700px;
  margin: 1rem auto 2rem auto;
}
.desc-md {
  color: var(--white);
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.stats-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.stat-block {
  text-align: center;
  min-width: 120px;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  color: var(--white);
}
.mb-xxl {
  margin-bottom: 2.5rem;
}
.vision-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.vision-block {
  text-align: center;
  min-width: 120px;
}
.vision-flag {
  font-size: 2rem;
}
.vision-country {
  color: var(--gold);
  font-weight: 600;
}
.vision-city {
  color: var(--white);
}
.vision-details-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.vision-detail-block {
  min-width: 220px;
  background: #222;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
  margin-bottom: 1rem;
}
.vision-detail-title {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.vision-detail-desc {
  color: var(--white);
}
.vision-slogan {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2.5rem;
}
.partner-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.partner-block {
  min-width: 220px;
  background: #222;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.partner-icon {
  font-size: 2rem;
}
.partner-title {
  color: var(--gold);
  margin: 0.7rem 0;
}
.partner-desc {
  color: var(--white);
}
.partner-btn {
  margin-top: 1rem;
}
/* Color Variables */
:root {
  --black: #111;
  --gold: #FFD700;
  --soft-gold: #ffe066;
  --white: #fff;
  --charcoal: #181818;
}
/* Google Maps embed styling */
.map-embed {
  width: 100%;
  height: 220px;
  border: 1px solid #FFD700;
  border-radius: 8px;
  margin-top: 0.5rem;
  display: block;
}
/* Our Companies Section */
.our-companies-section {
  background: var(--black);
  padding: 3rem 0 2rem 0;
.our-companies-section .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.companies-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.company-card {
  background: #181818;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  max-width: 340px;
  min-width: 260px;
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.company-card h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.7rem;
}
.company-card p {
  flex: 1;
  margin-bottom: 1.2rem;
}
.company-card .btn {
  background: var(--gold);
  color: var(--black);
  font-weight: bold;
  border-radius: 4px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s;
}
.company-card .btn:hover {
  background: var(--soft-gold);
}
@media (max-width: 900px) {
  .companies-grid {
    flex-direction: column;
    align-items: center;
  }
  .company-card {
    width: 90%;
    max-width: 500px;
  }
}
.car-img {
  max-width: 100%;
  height: auto;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.car-highlight {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.car-features {
  color: var(--white);
  margin: 1rem 0 1.2rem 1.2rem;
  padding-left: 1.2rem;
  font-size: 1rem;
}
.car-features li {
  margin-bottom: 0.3rem;
}
.car-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: bold;
  margin-top: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-margin-left {
  margin-left: 1rem;
}
/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-size: 2.2rem;
}


.car-slider .slide img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.car-slider .caption h2 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.car-slider .caption h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.car-slider .caption p {
  margin-bottom: 0.7rem;
}
.car-slider .caption ul {
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
  font-size: 1rem;
}
.car-slider .caption ul li {
  margin-bottom: 0.3rem;
}
.car-slider .btn {
  margin-top: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.car-slider .dots {
  text-align: center;
  margin: 1.2rem 0 0.5rem 0;
}
.car-slider .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #fff2;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.car-slider .dot.active {
  background: var(--gold);
}

@media (max-width: 600px) {
  .car-slider {
    max-width: 98vw;
    margin: 1rem auto 2rem auto;
  }
  .car-slider .slide {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    min-height: 220px;
  }
  .car-slider .slide img {
    max-height: 140px;
  }
  .car-slider .caption h2 {
    font-size: 1.1rem;
  }
  .car-slider .caption h3 {
    font-size: 0.95rem;
  }
  .car-slider .caption ul {
    font-size: 0.95rem;
  }
  .car-slider .btn {
    font-size: 0.95rem;
    padding: 0.4rem 0.8rem;
  }
}
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--gold);
}

.cta {
  background: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--black);
  font-weight: bold;
  text-decoration: none;
}

.hero {
  background: url('../assets/farm.jpg') no-repeat center center/cover;
  color: var(--gold);
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--gold);
}

.hero p {
  color: var(--white);
}

.hero .btn {
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* Slider */
.slider {
  position: relative;
  max-width: 100%;
  height: 500px;
  overflow: hidden;
  background: var(--black);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: var(--gold);
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 8px;
}

.overlay h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--gold);
}

.overlay p {
  font-family: 'Roboto', sans-serif;
  color: var(--white);
}

.btn {
  display: inline-block;
  margin-top: 10px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--soft-gold);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}

.prev { left: 20px; }
.next { right: 20px; }

.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dots span {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: var(--gold);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.dots .active {
  opacity: 1;
  background-color: var(--gold);
}

/* Services Grid */
.services {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background: var(--charcoal);
}

.card {
  background: var(--black);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  width: 30%;
  box-shadow: 0 2px 5px rgba(255,215,0,0.3);
  border: 1px solid var(--gold);
}

.card h3 {
  color: var(--gold);
}

.card p {
  color: var(--white);
}

.card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Impact Section */
.impact {
  background: var(--black);
  color: var(--gold);
  text-align: center;
  padding: 2rem;
  border-top: 2px solid var(--gold);
}

/* CTA Banner */
.cta-banner {
  background: var(--charcoal);
  text-align: center;
  padding: 3rem 2rem;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.cta-banner h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner .btn {
  background: var(--gold);
  color: var(--black);
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-banner .btn:hover {
  background: var(--soft-gold);
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-around;
  background: var(--black);
  color: var(--white);
  padding: 2rem;
  border-top: 2px solid var(--gold);
  flex-wrap: wrap;
}

.footer h4 {
  color: var(--gold);
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

.footer-col {
  width: 22%;
  min-width: 180px;
  margin-bottom: 1rem;
}

/* Responsive Grid System */
.container {
  width: 90%;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 15px;
}

@media (max-width: 992px) {
  .col, .services .card, .footer-col {
    flex: 0 0 50%;
    width: 45%;
    margin-bottom: 1rem;
  }
  .footer {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .col, .services .card, .footer-col {
    flex: 0 0 100%;
    width: 100%;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .overlay h2 {
    font-size: 1.5rem;
  }
}

.kabsim-logo-banner {
  background: #fff;
  object-fit: contain;
  height: 350px;
  width: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Car Actions & Share Buttons */
.car-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.share-btn.facebook { background-color: #1877F2; }
.share-btn.twitter { background-color: #1DA1F2; }

.share-btn:hover {
  opacity: 0.9;
}

/* Vehicle Showcase Section */
.vehicle-showcase {
  width: 100%;
  background: var(--charcoal);
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.showcase-title {
  text-align: center;
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.showcase-slider {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.showcase-slide {
  display: none;
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold-transparent);
}

.showcase-slide.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.showcase-image-container {
  background-color: #000;
}

.showcase-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-content {
  padding: 2rem;
}

.showcase-content h3 {
  color: var(--gold);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.showcase-subtitle {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.showcase-content p {
  color: #eee;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.showcase-features li {
  color: #ddd;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.showcase-features .fa-check-circle {
  color: var(--gold);
  margin-right: 10px;
}

.showcase-content .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 12px 25px;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s ease;
}

.showcase-content .btn:hover {
  background: #d4af37;
}

/* Responsive adjustments for showcase */
@media (max-width: 900px) {
  .showcase-slide.active {
    grid-template-columns: 1fr;
  }
  .showcase-content {
    padding: 1.5rem;
  }
  .showcase-content h3 {
    font-size: 1.5rem;
  }
}

.showcase-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.showcase-prev, .showcase-next {
  pointer-events: all;
  cursor: pointer;
  color: var(--gold);
  background: rgba(0,0,0,0.5);
  padding: 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: background 0.3s ease;
}

.showcase-prev:hover, .showcase-next:hover {
  background: rgba(0,0,0,0.8);
}

.showcase-dots {
  text-align: center;
  padding: 1rem 0;
  background: var(--charcoal);
}

.showcase-dots .dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #fff5;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.showcase-dots .dot.active {
  background-color: var(--gold);
}

.showcase-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.btn-share {
  background: #25D366 !important;
  color: white !important;
}

.btn-share:hover {
  background: #1EBE57 !important;
}
