* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Crimson Pro", serif;
  background-color: #ffffff;
  color: #1e1e1e;
  line-height: 1.5;
}
main {
  /* margin-top: 17vh; 
  Adjust based on your fixed header height */
}
#About-us {
  /* margin-top: 14vh; */
  text-align: center;
  width: 100%;
  background: #fef8f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14vh 12px 12px;
  height: 36vh;
  width: 100%;
  .blob-3 {
    left: 22%;
  }
  .about-header {
    max-width: 800px;
  }
  h1 {
    font-family: "Antonio", sans-serif;
    font-weight: 700;
    font-size: 3.5em;
    margin-bottom: 0.5rem;
    color: #1e1e1e;
  }
}
#About-desc {
  padding: 2rem 0vw;
  /* max-width: 900px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* background: #fef8f2; */
  position: relative;
  picture {
    padding: 4rem 2vw 2vw;
  }
  img {
    margin-bottom: 0;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(12, 18, 36, 0.08);
    width: 100%;
  }
  .abt-contact {
    display: flex;
    padding: 2rem 0;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
}
.about-text {
  max-width: 900px;
  margin: 0 2vw;

  h2 {
    margin-bottom: 2rem;
  }
}
.timeline-year text {
  fill: black;
  font-weight: bold;
  font-family: "Antonio", sans-serif;
  /* font-size: 0.98em; */
}
#Journey {
  position: relative;
  .blob-3 {
    left: 22%;
    bottom: 0;
  }
}
.history-section {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  /* background: #fff; */
  /* border-radius: 12px; */
  /* box-shadow: 0 2px 8px rgba(255, 35, 0, 0.07); */
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding-left: 40px;
}

.timeline-year::before {
  content: "";
  position: absolute;
  /* left: 62px; */
  bottom: 0;
  width: 2.5px;
  height: 180%;
  background: black;
  border-radius: 2px;
  transform: translateY(100%);
}

.timeline-event {
  position: relative;
  margin-bottom: 26px;
  display: flex;
  align-items: flex-start;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

.timeline-event:first-child .timeline-year .diamond-top {
  display: none;
}

.timeline-event:last-child .timeline-year::before {
  content: none;
}

.timeline-event:last-child .timeline-year::after {
  content: none;
}

.timeline-year {
  position: absolute;
  left: -10px;
  top: 0;
  width: 90px;
  height: 90px;
  background: #ff9628;
  /* border: 4px solid #FF9628; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3em;
  color: black;
  box-shadow: 0 2px 6px rgba(255, 35, 0, 0.08);
  z-index: 1;
  flex-shrink: 0;
  position: relative;
}

.timeline-year::after {
  content: "";
  position: absolute;
  /* left: 50%; */
  width: 12px;
  height: 12px;
  background: black;
  transform: rotate(45deg);
  z-index: 12;
  bottom: -6px;
}

.diamond {
  position: absolute;
}

.diamond-top {
  bottom: -10px;
  /* content: ''; */
  /* position: absolute; */
  /* left: 50%; */

  width: 12px;
  height: 12px;
  background: black;
  transform: translateX(0%) rotate(45deg);
  z-index: 2;
  top: -5px;
}

@media (max-width: 600px) {
  .diamond {
    width: 10px;
    height: 10px;
  }

  .timeline-year::after {
    width: 10px;
    height: 10px;
    bottom: -5px;
  }
}

.timeline-content {
  /* margin-left: 50px; */
  /* background: #fff4e6; */
  padding: 18px 24px;
  /* border-radius: 8px; */
  /* box-shadow: 0 1px 4px rgba(255, 35, 0, 0.04); */
  flex: 1;
}

.timeline-content h4 {
  margin: 0 0 8px 0;
  font-size: 1.75em;
  color: #000;
  font-family: "Antonio", sans-serif;
}

.timeline-content p {
  margin: 0;
  color: #000;
  font-size: 1.25em;
  font-family: "Crimson Pro", serif;
}

.history-section h2 {
  color: black;
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .history-section {
    max-width: 98vw;
    margin: 20px 1vw;
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .timeline {
    padding-left: 0;
    margin: 24px 0;
  }

  .timeline::before {
    left: 28px;
    width: 3px;
  }

  .timeline-event {
    flex-direction: row;
    margin-bottom: 14px;
  }

  .timeline-year {
    position: relative;
    left: 0;
    top: 0;
    /* width: 50px; */
    /* height: 50px; */
    font-size: 1em;
    margin-right: 12px;
  }

  .timeline-content {
    margin-left: 0;
    padding: 12px 14px;
    font-size: 0.97em;
  }
}

@media (max-width: 400px) {
  .timeline::before {
    left: 26px;
    width: 3px;
  }

  .timeline-year {
    width: 65px;
    height: 65px;
    font-size: 0.85em;
    margin-right: 8px;
  }

  .timeline-content {
    padding: 8px 6px;
  }

  .history-section h2 {
    /* font-size: 1.1em; */
  }
}
/* Services */
#Industries {
  background: #fef8f2;
  padding: 2rem 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.26)
  );
  position: relative;
}
.container {
  min-height: 100vh;
  background-color: #ffffff;
}

.services-section {
  width: 100%;
  max-width: 1152px; /* 6xl equivalent */
  margin: 0 auto;
  padding: 1rem 16px; /* py-12 px-4 */
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 48px; /* mb-12 */
}

.section-title h2 {
  font-family: "Antonio", sans-serif;
  font-weight: 700;
  color: #1e1e1e;
  font-size: 36px;
  line-height: normal;
  margin: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; /* gap-6 */
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-dark {
    order: 1;
  }
  .service-light {
    order: 2;
  }
  .service-orange {
    order: 3;
  }
  .service-brown {
    order: 4;
  }
}

/* Service Card */
.service-card {
  border-radius: 5px;
  padding: 24px; /* p-6 */
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(12, 18, 36, 0.08);
}

/* .service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

/* Service Card Variants */
.service-dark {
  background-color: #1e1e1e;
}

.service-light {
  background-color: rgba(255, 150, 40, 0.16);
}

.service-orange {
  background-color: rgba(255, 150, 40, 0.16);
}

.service-brown {
  background-color: #241c19;
}

/* Service Content */
.service-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 120px;
  flex: 1;
  padding-right: 24px; /* pr-6 */
  z-index: 2;
}

.service-title {
  font-family: "Antonio", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: normal;
  margin: 0;
  margin-bottom: 8px;
}

.service-description {
  font-family: "Crimson Pro", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  margin: 0;
}

/* Text Colors */
.service-dark .service-title,
.service-dark .service-description,
.service-brown .service-title,
.service-brown .service-description {
  color: #ff9628;
}

.service-light .service-title,
.service-light .service-description,
.service-orange .service-title,
.service-orange .service-description {
  color: #1e1e1e;
}

/* Service Icon - Enhanced Responsiveness */
.service-icon {
  width: 120px; /* Fixed width for better consistency */
  height: 120px; /* Fixed height for better consistency */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  /* background: rgba(255, 255, 255, 0.05); */
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease;
}

.service-icon:hover {
  transform: scale(1.05);
}

.service-icon svg {
  width: 90%;
  height: 90%;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.service-image {
  width: 90%;
  height: 90%;
  max-width: 100px;
  max-height: 100px;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjEyMCIgdmlld0JveD0iMCAwIDEyMCAxMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiBmaWxsPSIjZjBmMGYwIi8+CjxwYXRoIGQ9Ik02MCA0MEM2OC4yODQzIDQwIDc1IDQ2LjcxNTcgNzUgNTVWNjVDNzUgNzMuMjg0MyA2OC4yODQzIDgwIDYwIDgwQzUxLjcxNTcgODAgNDUgNzMuMjg0MyA0NSA2NVY1NUM0NSA0Ni43MTU3IDUxLjcxNTcgNDAgNjAgNDBaIiBmaWxsPSIjZGRkZGRkIi8+Cjwvc3ZnPgo=")
    center/contain no-repeat;
  border-radius: 6px;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-icon {
    /* width: 100px;
    height: 100px; */
  }

  .service-icon svg {
    width: 85%;
    height: 85%;
    max-width: 85px;
    max-height: 85px;
  }

  .service-image {
    width: 85%;
    height: 85%;
    max-width: 85px;
    max-height: 85px;
  }
}

@media (max-width: 768px) {
  .service-dark {
    order: 1;
  }
  .service-light {
    order: 2;
  }
  .service-orange {
    order: 4;
  }
  .service-brown {
    order: 3;
  }
  .services-section {
    padding: 32px 16px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .service-card {
    height: auto;
    min-height: 160px;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }

  .service-content {
    height: auto;
    padding-right: 0;
    margin-bottom: 0;
    align-items: center;
    width: 100%;
  }

  .service-icon {
    /* width: 90px;
    height: 90px; */
    margin-top: 8px;
  }

  .service-icon svg {
    width: 80%;
    height: 80%;
    max-width: 75px;
    max-height: 75px;
  }

  .service-image {
    width: 80%;
    height: 80%;
    max-width: 75px;
    max-height: 75px;
  }

  .service-title {
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
  }

  .service-description {
    font-size: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 24px 12px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .service-card {
    padding: 18px;
    min-height: 180px;
    gap: 12px;
  }

  .service-icon {
    /* width: 80px;
    height: 80px; */
  }

  .service-icon svg {
    width: 75%;
    height: 75%;
    max-width: 65px;
    max-height: 65px;
  }

  .service-image {
    width: 75%;
    height: 75%;
    max-width: 65px;
    max-height: 65px;
  }

  .service-title {
    font-size: 22px;
  }

  .service-description {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 20px 8px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .service-card {
    padding: 16px;
    min-height: 170px;
    gap: 10px;
  }

  .service-icon {
    /* width: 70px;
    height: 70px; */
  }

  .service-icon svg {
    width: 70%;
    height: 70%;
    max-width: 55px;
    max-height: 55px;
  }

  .service-image {
    width: 70%;
    height: 70%;
    max-width: 55px;
    max-height: 55px;
  }

  .service-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .service-description {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* Add subtle animation for icons */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-icon {
  animation: fadeInUp 0.6s ease-out;
}

/* Ensure icons are always visible with minimum sizes */
.service-icon svg,
.service-image {
  min-width: 40px;
  min-height: 40px;
}

/* Motion reduction support */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-icon {
    transition: none;
  }

  .service-icon {
    animation: none;
  }
}
