/* =========================
   Google Fonts Import
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  overflow-x: hidden;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: black;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   Main Container
   ========================= */
.about-us-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 0 20px;
  box-sizing: border-box;
}

/* =========================
   Company Info
   ========================= */
.company-info h2 {
  font-size: 2em;
  color: #07a59d;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500; 
}

.company-info p {
  margin-bottom: 15px;
  font-size: 1em;
  font-weight: 400;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   Vision & Mission
   ========================= */
.vision-mission {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 50px 0;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.vision-mission .image img {
  width: 580px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  max-width: 100%; 
  height: auto; 
}

.vision-mission .text {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.vision-mission h3 {
  font-size: 1.5em;
  margin: 0 0 5px 0;
  padding-top: 5px;
  padding-left: 30px;
  color: #32555b;
  font-weight: 700;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.vision-mission p {
  font-size: 1em;
  margin: 0;
  padding-left: 30px;
  font-weight: 400;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   Leadership Section
   ========================= */
.leadership {
  position: relative;
  z-index: 2;
  margin-bottom: -40px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  text-align: right;
  margin-top: -110px;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.leadership img {
  width: 580px;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 0px;
  margin-top: 10px;
  max-width: 100%;
  height: auto; 
}

.leadership h3 {
  font-size: 1.5em;
  padding-right: 30px;
  color: #32555b;
  font-weight: 700; 
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 8px;
}

.leadership p {
  padding-right: 30px;
  margin-top: 0;
  font-size: 1em;
  font-weight: 400; 
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.leadership p b {
  font-weight: 600; 
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================
   Mother Company Section (Full Width Background)
   ========================= */
.mother-company {
  width: 100vw;
  background-color: #fcf5eb;
  padding: 110px 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.mother-company .container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.mother-company h3 {
  font-size: 1.5em;
  color: #020203;
  margin-bottom: 0;
  font-weight: 700; 
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.mother-company p {
  font-size: 2em;
  margin-bottom: 0px;
  color: #07a59d;
  font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500; 
}

.mother-company .container p:first-of-type {
  line-height: 1.3;
  margin-bottom: 5px;
}

.reg-no {
  font-size: 0.55em;
  color: black;
  font-weight: 300; 
  margin-top: 10px;
  display: block;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.mother-company .company-history,
.mother-company .experience,
.mother-company .expansion {
  color: black;
  font-size: 1em;
  font-weight: 400; 
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin-bottom: 15px;
  margin-top: 0px;
}

/* =========================
   Enhanced Responsive Design
   ========================= */

/* Tablet Breakpoint: 1024px - 769px */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-us-container,
  .vision-mission,
  .leadership,
  .mother-company .container {
    max-width: 95%;
    padding: 0 15px;
  }
  
  .vision-mission .image img,
  .leadership img {
    width: 480px;
    height: auto;
    aspect-ratio: 580 / 400;
  }
  
  .vision-mission h3,
  .vision-mission p {
    padding-left: 20px;
  }
  
  .leadership h3,
  .leadership p {
    padding-right: 20px;
  }
  
  .mother-company p {
    font-size: 1.8em;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .mother-company .container p:first-of-type {
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .reg-no {
    margin-top: 10px;
    font-size: 0.55em;
  }
}

/* Large Tablet/Small Laptop Breakpoint: 768px */
@media (max-width: 768px) {
  .about-us-container {
    max-width: 100%;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
  }

  .company-info h2 {
    padding-top: 40px;
    font-size: 1.8em;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
  }

  .company-info p {
    font-size: 0.95em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
  }

  .vision-mission {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px 0;
    max-width: 100%;
    padding: 0 20px;
  }
  
  .vision-mission .image img {
    width: 100%;
    max-width: 600px;
    height: auto; 
    aspect-ratio: 580 / 400; 
  }
  
  .vision-mission .text {
    gap: 15px;
    width: 100%;
  }
  
  .vision-mission h3,
  .vision-mission p {
    padding-left: 0;
    text-align: center;
    width: 100%;
  }

  .vision-mission h3 {
    font-size: 1.4em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 20px;
  }

  .vision-mission p {
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  .leadership {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
    position: static;
    gap: 15px;
    max-width: 100%;
    padding: 0 20px;
    z-index: 1;
  }

  .leadership img {
    width: 100%;
    max-width: 600px;
    height: auto; 
    aspect-ratio: 580 / 400; 
    margin: 0;
  }

  .leadership h3,
  .leadership p {
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    width: 100%;
  }

  .leadership h3 {
    font-size: 1.4em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 20px;
  }

  .leadership p {
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  .mother-company {
    width: 100vw;
    padding: 60px 0;
    margin: 40px 0 0 0;
    overflow-x: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    z-index: 1;
  }

  .mother-company .container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    gap: 15px; 
  }

  .mother-company h3 {
    font-size: 1.3em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 10px;
  }
  
  .mother-company p {
    font-size: 1.6em;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .mother-company .container p:first-of-type {
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .reg-no {
    font-size: 0.9em;
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  
  .mother-company .company-history,
  .mother-company .experience,
  .mother-company .expansion {
    font-size: 0.95em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 8px;
    margin-bottom: 12px;
    line-height: 1.6;
  }
}

/* Large Phone Breakpoint: 480px - 425px */
@media (max-width: 480px) {
  .about-us-container {
    padding: 30px 15px 0 15px;
  }
  
  .company-info h2 {
    font-size: 1.6em;
    padding-top: 20px;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .company-info p {
    font-size: 0.9em;
    margin-bottom: 12px;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .vision-mission {
    margin: 30px 0;
    gap: 15px;
    padding: 0 15px;
  }
  
  .vision-mission .image img,
  .leadership img {
    height: auto; 
    aspect-ratio: 580 / 400;
  }
  
  .vision-mission h3,
  .leadership h3 {
    font-size: 1.3em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .vision-mission p,
  .leadership p {
    font-size: 0.9em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .leadership {
    padding: 0 15px;
    margin-top: 30px;
  }
  
  .mother-company {
    padding: 50px 0;
    margin-top: 30px;
  }
  
  .mother-company .container {
    padding: 0 15px;
    gap: 12px; 
  }
  
  .mother-company h3 {
    font-size: 1.2em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 8px;
  }
  
  .mother-company p {
    font-size: 1.4em;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.2;
    margin-bottom: 6px;
  }
  
  .mother-company .container p:first-of-type {
    line-height: 1.2;
    margin-bottom: 6px;
  }
  
  .reg-no {
    font-size: 0.85em;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .mother-company .company-history,
  .mother-company .experience,
  .mother-company .expansion {
    font-size: 0.9em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 6px;
    margin-bottom: 10px;
    line-height: 1.6;
  }
}

/* Small Phone Breakpoint: 424px and below */
@media (max-width: 424px) {
  .about-us-container {
    padding: 20px 12px 0 12px;
  }
  
  .company-info h2 {
    font-size: 1.4em;
    padding-top: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .company-info p {
    font-size: 0.85em;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .vision-mission {
    margin: 25px 0;
    gap: 12px;
    padding: 0 12px;
  }
  
  .vision-mission .image img,
  .leadership img {
    height: auto; 
    aspect-ratio: 580 / 400;
  }
  
  .vision-mission h3,
  .leadership h3 {
    font-size: 1.2em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .vision-mission p,
  .leadership p {
    font-size: 0.85em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .leadership {
    padding: 0 12px;
    margin-top: 25px;
  }
  
  .mother-company {
    padding: 40px 0;
    margin-top: 25px;
  }
  
  .mother-company .container {
    padding: 0 12px;
    gap: 10px; 
  }
  
  .mother-company h3 {
    font-size: 1.1em;
    font-weight: 700;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 6px;
  }
  
  .mother-company p {
    font-size: 1.2em;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  
  .mother-company .container p:first-of-type {
    line-height: 1.1;
    margin-bottom: 4px;
  }
  
  .reg-no {
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 3px;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .mother-company .company-history,
  .mother-company .experience,
  .mother-company .expansion {
    font-size: 0.85em;
    font-weight: 400;
    font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 4px;
    margin-bottom: 8px;
    line-height: 1.6;
  }
}

/* Extra Small Phone Breakpoint: 320px and below */
@media (max-width: 320px) {
  .about-us-container {
    padding: 15px 10px 0 10px;
  }
  
  .company-info h2 {
    font-size: 1.3em;
    font-weight: 500;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .vision-mission .image img,
  .leadership img {
    height: auto; 
    aspect-ratio: 580 / 400;
  }
  
  .mother-company .container {
    gap: 8px; 
  }
  
  .mother-company p {
    font-size: 1.1em;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.1;
  }
  
  .mother-company .container p:first-of-type {
    line-height: 1.0;
    margin-bottom: 3px;
  }
  
  .reg-no {
    font-size: 0.75em;
    margin-top: 2px;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .mother-company .company-history,
  .mother-company .experience,
  .mother-company .expansion {
    font-size: 0.8em;
    margin-top: 3px;
    margin-bottom: 6px;
  }
}

/* Optional: Optimized for high DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .vision-mission .image img,
  .leadership img {
    image-rendering: crisp-edges;
  }
}

/* =========================
   Animation & Transition
   ========================= */
.animate-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-slide {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.animate-fade.appear,
.animate-slide.appear {
  opacity: 1;
  transform: translate(0,0);
}

/* ==================== */
/* Image anti-blur protection (minor changes) */
/* ==================== */

/* 1. Ensure the image is clear on Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .vision-mission .image img,
  .leadership img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* 2. Prevent images from being squeezed and distorted on mobile devices */
@media (max-width: 768px) {
  .vision-mission .image img,
  .leadership img {
    aspect-ratio: 580 / 400 !important;
  }
}