/* Company Page Styles - Developed according to design drawings */

.company-page {
  background: rgba(234, 235, 235, 1);
}

.company-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 5;
}


.company-hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 260px;
}

.company-hero-title {
  width: 50%;
  font-size: 36px;
  font-weight: 700;
  margin: 0 150px 40px 0;
  line-height: 1.4;
  text-align: center;
}

.company-hero-subtitle {
  width: 50%;
  font-size: 40px;
  text-align: center;
  margin-right: 46px;
}

.company-hero-description {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 120px;
}

/* Section Styles */
.company-section {
  padding: 100px 0;
  width: 100%;
}

.company-section-header {
  margin-bottom: 60px;
}

.company-section-title {
  font-size: 20px;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.company-section-subtitle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
}

/* PROFILE Section */
.company-section-profile {
  padding-bottom: 0;
}

.company-profile-table {
  background: rgba(179, 179, 179, 0.2);
  margin: 0 auto 80px;
  padding: 54px 130px;
}

.company-profile-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: start;
}

.company-profile-row:last-child {
  border-bottom: none;
}

.company-profile-label {
  font-size: 20px;
  font-weight: 500;
}

.company-profile-value {
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
  line-height: 1.8;
}

.company-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-service-list li {
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.company-service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

/* WHAT WE DO Section */
.company-section-whatwedo {
  padding-top: 60px;
  background-image: url("img/technology/bg3.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.company-whatwedo-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 0 auto;
}

.company-whatwedo-item {
  background: rgba(234, 235, 235, 1);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}

.company-whatwedo-image {
  width: 100%;
  height: 200px;
  background-color: transparent;
  border-radius: 12px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

/* Company Page Image Style - Ensure the image completely fills the container, without exceeding or leaving blank space */
.company-whatwedo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

.company-whatwedo-content {
  flex: 1;
}

.company-whatwedo-title {
  font-size: 24px;
  height: 62px;
  line-height: 62px;
  font-weight: 500;
  background: #fff;
  padding-left: 50px;
}

.company-whatwedo-description {
  font-size: 16px;
  line-height: 2.5;
}

.company-whatwedo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-whatwedo-list li {
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.company-whatwedo-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

/* HOW WE WORK Section */

.company-howwework-content {
  margin: 0 auto;
  z-index: 4;
}

.company-howwework-intro {
  font-size: 20px;
  line-height: 1.8;
}

.company-values {
  margin: 56px 0;
}

.company-values-title {
  font-size: 22px;
  font-weight: 600;
  color: rgba(51, 51, 51, 1);
  margin: 0 0 24px 0;
}

.company-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-values-list li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.company-values-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

.company-howwework-note {
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
  line-height: 1.8;
  margin: 40px 0 0 0;
}

.company-howwework-note a {
  color: rgba(51, 51, 51, 1);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.company-howwework-note a:hover {
  opacity: 0.6;
}

/* Footer Section */
.company-section-footer {
  background-color: rgba(51, 51, 51, 1);
  color: rgba(255, 255, 255, 1);
  padding: 80px 0;
}

.company-footer-block {
  display: flex;
  flex-direction: row;
}

.company-footer-block-item {
  width: 30%;
  align-self: center;
}

.btn-contact {
  width: 20%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 10%;
}

.company-footer-block:last-child {
  margin-bottom: 0;
}

.company-footer-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 16px 0 24px 0;
}

.company-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-footer-subtitle {
  font-size: 24px;
  margin: 0 0 20px 0;
}

.company-footer-title {
  font-size: 24px;
  margin: 0 0 50px 0;
}

.company-footer-list li {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.company-footer-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
  line-height: 1.6;
}

.company-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 45px;
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 38px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.company-contact-btn img {
  width: 20px;
  margin-left: 10px;
}

.company-contact-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(51, 51, 51, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-btn-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.company-contact-btn:hover .company-btn-arrow {
  transform: translateX(4px);
}

.company-whatwedo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-whatwedo-list li {
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.company-whatwedo-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

/* HOW WE WORK Section */

.company-howwework-content {
  margin: 0 auto;
  z-index: 4;
}

.company-howwework-intro {
  font-size: 20px;
  line-height: 1.8;
}

.company-values {
  margin: 56px 0;
}

.company-values-title {
  font-size: 22px;
  font-weight: 600;
  color: rgba(51, 51, 51, 1);
  margin: 0 0 24px 0;
}

.company-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-values-list li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
}

.company-values-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

.company-howwework-note {
  font-size: 16px;
  color: rgba(102, 102, 102, 1);
  line-height: 1.8;
  margin: 40px 0 0 0;
}

.company-howwework-note a {
  color: rgba(51, 51, 51, 1);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.company-howwework-note a:hover {
  opacity: 0.6;
}

/* Footer Section */
.company-section-footer {
  background-color: rgba(51, 51, 51, 1);
  color: rgba(255, 255, 255, 1);
  padding: 80px 0;
}

.company-footer-block {
  display: flex;
  flex-direction: row;
}

.company-footer-block-item {
  width: 30%;
  align-self: center;
}

.btn-contact {
  width: 20%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 10%;
}

.company-footer-block:last-child {
  margin-bottom: 0;
}

.company-footer-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 16px 0 24px 0;
}

.company-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-footer-subtitle {
  font-size: 24px;
  margin: 0 0 20px 0;
}

.company-footer-title {
  font-size: 24px;
  margin: 0 0 50px 0;
}

.company-footer-list li {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.company-footer-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
  line-height: 1.6;
}

.company-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 45px;
  background-color: rgba(0, 0, 0, 1);
  color: rgba(255, 255, 255, 1);
  border-radius: 38px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.company-contact-btn img {
  width: 20px;
  margin-left: 10px;
}

.company-contact-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(51, 51, 51, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.company-btn-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.company-contact-btn:hover .company-btn-arrow {
  transform: translateX(4px);
}

.company-section-howwework {
  position: relative;
}

.home-bg-company {
  position: absolute;
  top: -160px;
  right: 0px;
  z-index: 5;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .company-hero-content {
    flex-direction: column;
    padding-top: 120px;
    gap: 30px;
  }

  .company-hero-title,
  .company-hero-subtitle {
    width: 100%;
    margin-right: 0;
    font-size: 28px;
  }

  .company-hero-description {
    margin-top: 60px;
  }

  .company-section {
    padding: 60px 0;
  }

  /* Profile Table */
  .company-profile-table {
    padding: 30px 20px;
    margin-bottom: 60px;
  }

  .company-profile-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .company-profile-label {
    font-size: 18px;
  }

  /* What We Do */
  .company-whatwedo-item {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 20px;
  }

  .company-whatwedo-title {
    padding-left: 20px;
    font-size: 20px;
  }

  /* Who Grid */
  .careers-who-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 40px;
  }

  .careers-who-list {
    width: 100%;
  }

  .careers-who-column:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid rgba(128, 128, 128, 1);
    padding-bottom: 40px;
  }

  /* Footer Section */
  .company-footer-block {
    flex-direction: column;
    gap: 40px;
  }

  .company-footer-block-item {
    width: 100%;
  }

  .btn-contact {
    width: 100%;
    height: auto;
    padding: 40px 20px;
    margin: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .home-bg-company {
    display: none;
  }
}

@media screen and (max-width: 480px) {

  .company-hero-title,
  .company-hero-subtitle {
    font-size: 24px;
  }

  .company-section-subtitle {
    font-size: 24px;
  }
}