/* --- Header & Branding --- */
.companyinformation-header {
  background-color: #e3ad4b; /* Background color from the screenshot */
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  overflow: hidden;
}

.companyinformation-diamond-logo {
  position: absolute;
  top: 0;
  left: 10%;
  background-color: #051747; /* Navy Blue Brand Color */
  width: 180px;
  height: 180px;
  transform: rotate(45deg) translateY(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 25px;
  z-index: 2;
}

.companyinformation-diamond-logo span {
  transform: rotate(-45deg);
  color: white;
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

.companyinformation-header-title {
  font-size: clamp(3rem, 8vw, 5rem);
  color: rgba(5, 23, 71, 0.15); /* Faint Navy for background text style */
  letter-spacing: 8px;
  font-weight: 300;
}

/* --- Content Layout --- */
.companyinformation-content-container {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 20px;
  scroll-behavior: smooth;
}

.companyinformation-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.companyinformation-body-text,
.companyinformation-history-item,
.companyinformation-profile-value,
.companyinformation-privacy-block p {
  font-size: 17px !important; /* Increased from 14px/15px */
  line-height: 1.8;
  color: #444; /* Slightly darker for better contrast */
}

.companyinformation-main-content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
/* --- Sidebar --- */
.companyinformation-sidebar {
  position: -webkit-sticky; /* Support for Safari */
  position: sticky;
  top: 120px; /* Distance from the top of the viewport when stuck */
  height: fit-content; /* Ensures the container only takes up the space of the links */
  z-index: 10;
}
.companyinformation-sidebar-heading {
  font-size: 20px;
  font-weight: 700;
  color: #051747; /* Navy Blue */
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.companyinformation-sidebar-links {
  list-style: none;
}

.companyinformation-sidebar-links a.companyinformation-link-active {
  color: #007bff; /* Example highlight color */
  font-weight: 600;
  border-left: 2px solid #007bff; /* Optional indicator line */
  padding-left: 10px;
  transition: all 0.3s ease;
}
.companyinformation-sidebar-links li {
  border-bottom: 1px solid #eee;
}

.companyinformation-sidebar-links a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
}

.companyinformation-sidebar-links a::before {
  content: ">";
  margin-right: 10px;
  font-size: 10px;
  color: #999;
}

.companyinformation-sidebar-links a.companyinformation-link-active,
.companyinformation-sidebar-links a:hover {
  color: #051747;
  font-weight: 600;
}

/* --- Details Section --- */
.companyinformation-image-wrapper {
  margin-bottom: 40px;
  width: 100%;
}

.companyinformation-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.companyinformation-greeting-main {
  font-size: 38px;
  color: #333;
  margin-bottom: 5px;
  font-weight: 100;
}

.companyinformation-greeting-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
  text-transform: capitalize;
  font-weight: 100;
}

.companyinformation-body-text {
  color: gray;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 100;
}
.companyinformation-representative {
  font-size: 15px;
  color: gray;
  margin-top: 40px;
  text-align: right;
  padding: 20px 0;
  font-weight: 100;
  border-bottom: 1px solid rgb(238, 238, 238);
}
.companyinformation-representative span {
  font-size: 20px;
  color: gray;
  font-weight: 600;
}

/* --- Vision Gradient Card Styles --- */
.company-info-row-wrapper {
  width: 100%;
  padding: 60px 0;
}

.companyinformation-vision-section {
  width: 100%;
  display: block !important; /* Force block display */
  padding: 40px 0;
  min-height: 200px;
  /* Optional: Add a subtle background shape/blob here to see the glass effect better */
}

.companyinformation-vision-container {
  max-width: 1400px; /* Increased width to fit two cards */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 25px; /* Space between cards */
  justify-content: center;
  align-items: stretch; /* Makes both cards the same height */
}

.companyinformation-glass-card {
  position: relative;
  flex: 1;
  /* Reduced height by decreasing vertical padding */
  padding: 40px 30px;
  min-height: auto; /* Removed fixed min-height for a slimmer look */
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(8, 31, 98, 0.9) 0%,
    rgba(26, 58, 138, 0.8) 100%
  ) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Smooth Hover Transition */
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform; /* Optimizes browser performance for the move */
}

.companyinformation-glass-card:hover {
  transform: translateY(-10px); /* Slightly more pronounced but smoother */
  background: rgba(8, 31, 98, 1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* --- Content Styles --- */
.companyinformation-vision-icon {
  width: 50px; /* Scaled down slightly */
  height: 50px;
  margin-bottom: 15px;
}

.companyinformation-vision-title {
  font-size: 32px;
  font-weight: 300;
  color: #ffffff !important;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.companyinformation-vision-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 20px; /* Reduced gap */
  letter-spacing: 2px;
}

.companyinformation-vision-text {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 90%;
  margin: 0 auto;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Helps text pop on glass */
}

/* --- Company Profile Styles --- */
/* --- Updated Responsive Corporate Profile --- */
.companyinformation-profile-section {
  width: 100%;
  padding: 0 0 80px 0;
}

/* 1. The Table Container */
.companyinformation-profile-table {
  border-top: 1px solid #eeeeee;
  width: 100%;
}

/* 2. Responsive Row Logic */
.companyinformation-profile-row {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  border-bottom: 1px solid #eeeeee;
  padding: 25px 0;
}

/* 3. Label Handling */
.companyinformation-profile-label {
  flex: 0 0 250px; /* Fixed width on Desktop */
  font-weight: 700;
  color: #666;
  font-size: 15px;
  padding-right: 20px;
}

/* 4. Value Handling */
.companyinformation-profile-value {
  flex: 1; /* Takes up remaining space */
  min-width: 300px; /* Forces wrap when space is tight */
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* 5. Logo Grid Responsiveness */
.companyinformation-logo-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(120px, 1fr)
  ); /* Auto-adjusts columns */
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.companyinformation-map-wrapper {
  width: 100%;
  max-width: 500px; /* Limits the maximum width */
  margin: 20px auto; /* Centers the map in the section */
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.companyinformation-map-wrapper iframe {
  width: 100% !important; /* Fills the 500px container */
  height: 300px; /* Set your desired fixed height here */
  border: 1px solid #eee;
}

.companyinformation-profile-header {
  margin-bottom: 20px;
}
.companyinformation-profile-header .companyinformation-profile-sub-title {
  margin-top: 10px;
}
/* Tablet and Large Phones (max-width: 992px) */
@media (max-width: 992px) {
  .companyinformation-profile-label {
    flex: 0 0 200px; /* Shrink label width slightly */
  }
  .companyinformation-map-wrapper {
    max-width: 90% !important; /* Shrinks map to fit mobile screens */
    height: auto;
  }

  .companyinformation-map-wrapper iframe {
    height: 200px; /* Smaller height for mobile devices */
  }
}

/* Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
  .companyinformation-profile-row {
    flex-direction: column; /* Stack Label on top of Value */
    padding: 20px 0;
  }

  .companyinformation-profile-label {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 8px; /* Space between label and content */
    font-size: 14px;
  }

  .companyinformation-profile-value {
    min-width: 100%;
    font-size: 14px;
  }

  .companyinformation-inquiry-btn {
    width: 100%; /* Full width button on mobile */
    text-align: center;
  }
  .companyinformation-vision-container {
    flex-direction: column;
    align-items: center;
  }

  .companyinformation-glass-card {
    width: 100%;
    max-width: 500px;
  }
}

/* Small Devices (max-width: 480px) */
@media (max-width: 480px) {
  .companyinformation-logo-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 logos per row on tiny screens */
  }
}

/* --- Privacy Policy Section --- */
.companyinformation-privacy-section {
  width: 100%;
  padding-bottom: 100px;
}

.companyinformation-privacy-header {
  margin-bottom: 50px;
}

.companyinformation-privacy-main-title {
  font-size: 32px;
  font-weight: 300;
  color: #333;
}

.companyinformation-privacy-sub-title {
  font-size: 14px;
  color: #888;
  margin: 10px 0;
}

.companyinformation-privacy-intro {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

/* Content Blocks */
.companyinformation-privacy-block {
  margin-bottom: 35px;
}

.companyinformation-privacy-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.companyinformation-privacy-block p,
.companyinformation-privacy-block li {
  font-size: 14.5px;
  line-height: 1.8;
  color: #666;
}

/* Lists */
.companyinformation-privacy-block ul {
  list-style: none;
  padding-left: 0;
}

.companyinformation-privacy-block ul li::before {
  content: "•";
  color: #888;
  font-size: 20px;
  margin-right: 12px;
  vertical-align: middle;
}

.companyinformation-privacy-block ol {
  padding-left: 20px;
}

.companyinformation-privacy-block ol li {
  margin-bottom: 8px;
}

/* Address Styling */
.companyinformation-privacy-block address {
  font-style: normal;
  margin-top: 15px;
  padding-left: 0;
  line-height: 2;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
  .companyinformation-privacy-block h3 {
    font-size: 15px;
  }

  .companyinformation-privacy-block p,
  .companyinformation-privacy-block li {
    font-size: 14px;
  }
}
/* --- Responsiveness --- */
@media (max-width: 992px) {
  /* Stack Sidebar and Content */
  .companyinformation-main-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px;
  }

  .companyinformation-sidebar {
    width: 100% !important;
    max-width: 400px; /* Keeps sidebar from getting too wide on tablets */
    position: relative !important;
    top: 0 !important;
    text-align: center;
  }

  .companyinformation-sidebar-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .companyinformation-sidebar-links li {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 0 15px;
  }

  /* Force Main Content to Center */
  .companyinformation-main-content-area {
    width: 100% !important;
    padding: 0 15px;
  }

  /* Remove the problematic margin that was hiding content */
  .companyinformation-history-container {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .companyinformation-representative {
    text-align: center;
    width: 100%;
  }
  .companyinformation-representative span {
    font-size: 16px;
    display: block;
    margin-top: 12px;
  }
}

@media (max-width: 768px) {
  .companyinformation-history-main-title {
    font-size: 28px;
  }

  .companyinformation-history-item {
    font-size: 14px;
    padding: 15px 0;
  }
  .companyinformation-profile-row {
    flex-direction: column;
    padding: 15px 0;
  }

  .companyinformation-profile-value {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .companyinformation-header {
    height: 180px;
    justify-content: center;
    padding-right: 0;
  }

  .companyinformation-header-title {
    font-size: 2.5rem;
  }
  .companyinformation-glass-card {
    padding: 40px 20px;
    margin: 0 10px;
  }

  .companyinformation-vision-title {
    font-size: 30px;
  }
}
