/* CEO Message Styling */
#ceo-message .navy-bg {
  background: #1a2238; /* Navy background */
}

#ceo-message .ceo-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  color: #fff;
}

.ceo-message-box {
  max-width: 900px;
}

.ceo-message-box .label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.ceo-message-box .title {
      font-size: clamp(30px, 3vw, 50px);
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

.ceo-message-box .desc {
      font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.8;
  opacity: 0.9;
  letter-spacing: -0.5px;
}

.ceo-message-box .signature {
  display: block;
  margin-top: 40px;
  font-size: 18px;
}


/* Company Intro Styles for Sub Page */
.split-layout {
  display: flex;
  width: 100%;
  height: 100%;
}

.split-left {
  flex: 1;
}

#company-intro .intro-box {
  flex: 1;
  background: rgba(0, 0, 0, .8) !important;
  color: #fff !important;
  padding: clamp(100px, 10vw, 160px) clamp(30px, 5vw, 80px) 80px clamp(30px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
}

#company-intro .intro-box .label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 15px;
  margin-bottom: 30px;
  display: block;
}

#company-intro .intro-box .title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800;
  margin-bottom: 30px;
}

#company-intro .intro-box .desc {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: clamp(15px, 1.2vw, 17px);
}

/* Affiliates Grid Styling */
#affiliates {
  background: #fff;
}

.affiliates-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.affiliates-grid {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
}

.affiliate-card {
  flex: 1;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-img {
  width: 100%;
  height: 100%;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.affiliate-card:hover .card-img img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
}

.card-overlay h3 {
  font-size: 28px;
  font-weight: 700;
}
.page-privacy-check label{font-size: 14px;}
.card-btn {
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-smooth);
}

.affiliate-card:hover .card-btn {
  background: #fff;
  color: #000;
}


/* Mobile Responsive For Sub Page */
@media (max-width: 768px) {
  .split-layout {
    flex-direction: column;
  }

  .business-section.reverse .split-layout {
    flex-direction: column-reverse;
  }

  .split-left {
    display: none;
  }

  .mobile-only {
    display: flex !important;
  }


  .ceo-message-box .title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .ceo-message-box .desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .ceo-message-box .signature {
    margin-top: 20px;
    font-size: 16px;
  }


  /* #company-intro .section-bg {
    display: none;
  } */

  #company-intro .intro-box {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.8)
      ),
      url('../img/WEGO_00_m.jpg') center/cover no-repeat !important;
    padding: 100px 30px 40px 30px;
    width: 100%;
    min-height: 100vh;
  }

  #company-intro .intro-box .title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  #company-intro .intro-box .desc {
    font-size: 14px;
    line-height: 1.6;
  }


  .affiliates-grid {
    flex-direction: column;
    padding: 20px 0;
    gap: 10px;
  }

  .affiliate-card {
    height: auto;
    aspect-ratio: 21 / 9;
    flex: none;
  }

  .affiliates-content {
    padding: 80px 5%;
  }
  
  .card-overlay h3 {
    font-size: 18px;
  }

  .card-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

.split-image-box, .split-text-box {
  /* flex: 1; */
  height: 100%;
  position: relative;
  overflow: hidden;
  width: 50%;
}

/* Vision Page Specific Sections */
.vision-intro {
  background: #fff;
  color: #000;
  padding: clamp(80px, 8vw, 120px) 0 clamp(40px, 5vw, 80px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-only {
  display: none;
}

.vision-intro-top {
  width: 100%;
}

.vision-breadcrumb-wrapper {
  padding: 0 clamp(20px, 4vw, 60px) 15px clamp(20px, 4vw, 60px);
  border-bottom: 1px solid #ddd;
}

.vision-breadcrumb {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.vision-title-main-wrapper {
  padding: 25px clamp(20px, 4vw, 60px);
}

.vision-title-main {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.vision-intro-center {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
}

.vision-intro-label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  width: fit-content;
  margin: 0 auto 10px auto;
  padding-bottom: 15px;
  border-bottom: 2px solid #333;
  min-width: 200px;
}

.vision-intro-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  margin-top: 20px;
}

.vision-tabs {
  display: flex;
  height: clamp(60px, 6vw, 90px);
  width: 100%;
  padding: 0 clamp(20px, 3vw, 40px);
}

.vision-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none; /* Add this to remove underline */
  transition: opacity 0.3s;
}

.vision-tab.navy { background: #112347; }
.vision-tab.cyan { background: #007ba1; }
.vision-tab.gray { background: #808080; }

.vision-tab:hover {
  opacity: 0.9;
}

/* Business Split Sections */
.business-section .split-text-box {
  background: #112347;
  color: #fff !important;
  padding: clamp(40px, 6vw, 80px) clamp(30px, 8vw, 10%);
}
.business-section#vision-business-7 .split-text-box ,
.business-section#vision-business-8 .split-text-box {
  background: #007ba1;

}
.business-section#vision-business-9 .split-text-box {

  background: #808080;

}
.business-label {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.business-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.business-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  margin-bottom: 40px;
  line-height: 1.2;
}

.business-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  word-break: keep-all;
}

/* Mobile Vision Responsive */
@media (max-width: 768px) {
  .vision-intro {
    /* padding: 80px 0 0 0; */
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .contact-mobile-intro {
    height: 100vh;
    scroll-snap-align: start;
    background: #fff;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .mobile-title-area .vision-title-main {
    font-size: 32px;
    margin-top: 10px;
  }

  .mobile-info-area .contact-info-list {
    margin-top: 30px;
  }
  
  .mobile-info-area .contact-info-list li {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }

  .mobile-info-area .info-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
  }

  .mobile-info-area .info-value {
    font-size: 16px;
    color: #333;
    word-break: break-all;
  }
  
  .contact-mobile-form {
    height: 100vh !important;
    scroll-snap-align: start !important;
    background: #f9f9f9;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .contact-mobile-form .contact-form-card {
    width: 100%;
    padding: 0;
    max-width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  .contact-mobile-form .page-form-group {
    margin-bottom: 15px;
  }

  .contact-mobile-form .page-form-group label {
    font-size: 13px;
    margin-bottom: 5px;
    display: block;
  }

  .contact-mobile-form .page-form-group input {
    height: 45px;
    font-size: 15px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-mobile-form .page-privacy-check {
    margin: 20px 0;
  }

  .contact-mobile-form .page-privacy-check label {
    font-size: 13px;
    color: #666;
  }


  .vision-breadcrumb-wrapper {
    padding: 0 30px 10px 30px;
  }

  .vision-title-main-wrapper {
    padding: 15px 30px 0;
  }
 

  .vision-title-main {
    font-size: 24px;
  }

  .vision-intro-title {
    font-size: 40px;
  }

  .vision-tabs {
    height: 50px;
  }

  .vision-tab {
    font-size: 14px;
  }

  .business-section .split-text-box {
    padding: 40px 30px;
    min-height: 50vh;
  }

  .business-label {
    margin-bottom: 30px;
  }

  .business-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .business-desc {
    font-size: 14px;
  }


.split-image-box, .split-text-box {
  width: 100%;
}
}
/* Business Portfolio Section */
.portfolio-section {
  background: #fff;
  color: #112347;
  padding: 100px 5% 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portfolio-header {
  margin-bottom: 60px;
}

.portfolio-main-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.portfolio-sub-title {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #666;
  font-weight: 400;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.icon-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.portfolio-item:hover .icon-circle {
  background: #f8faff;
  box-shadow: 0 10px 20px rgba(17, 35, 71, 0.1);
}

.portfolio-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-label {
  font-size: 16px;
  font-weight: 700;
  color: #112347;
  white-space: normal;
  text-align: center;
  word-break: keep-all;
  display: block;
  line-height: 1.4;
}


/* Vision Split Adjustments for Business Page */
.vision-business-1 .split-text-box {
  background: #112347;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(30px, 8vw, 10%);
}
.vision-business-1.business-color .split-text-box {
  color: #fff;
}
.vision-label-top {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 30px;
  opacity: 0.8;
  display: flex;
  align-items: center;
}

.vision-label-top::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-left: 20px;
}

.vision-main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: clamp(20px, 3vw, 50px);
}

.vision-text-block {
  margin-bottom: clamp(15px, 2.5vw, 40px);
}

.vision-text-block p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  font-weight: 400;
  opacity: 0.9;
  word-break: keep-all;
}

/* Responsive adjustments */
@media (max-width: 1440px) {

  .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  
  .icon-circle {
    width: 140px;
    height: 140px;
  }

  .vision-main-title {
    font-size: 40px;
  }

  .business-title {
    font-size: 32px;
  }
}

@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vision-intro-title {
    font-size: 36px;
  }

  .business-label {
    margin-bottom: 30px;
  }
  
  .business-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  
  .icon-circle {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-header {
  margin-bottom: 20px;
}
  .portfolio-main-title {
    font-size: 32px;
  }
  
  .vision-main-title {
    font-size: 40px;
  }
  
  .icon-circle {
    width: 120px;
    height: 120px;
  }
  .section.vision-business-1.business-color .split-image-box.section-bg{display: none;}
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  .portfolio-main-title {
    font-size: 28px;
  }
  
  .vision-main-title {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .vision-text-block {
    margin-bottom: 25px;
  }
  
  .vision-text-block p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Force natural wrapping on mobile by hiding <br> tags */
  .split-text-box br {
    display: none;
  }



  .vision-business-1 .split-text-box {
    padding-left: 25px !important;
  }
  
  .icon-circle {
    width: 100px;
    height: 100px;
  }

  .icon-label {
    font-size: 13px;
    white-space: normal; /* Allow label wrapping on mobile */
    text-align: center;
  }
}

/* Contact Page Specific Styles */
.contact-section {
  background: #fff;
  padding: 80px 10% 120px; /* Adjusted padding for content-only section */
  min-height: auto; /* Section doesn't need to be 100vh anymore as it follows intro */
  display: flex;
  flex-direction: column;
}
.contact-section.google_map{
  padding: 80px 0 0;

}
.contact-main-layout {
  display: flex;
  gap: clamp(30px, 5vw, 10%);
  align-items: flex-start;
  width: 100%;
  padding: 0 clamp(20px, 3vw, 60px);
}

.contact-info-side {
  flex: 1;
  padding-top: 20px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin-top: 50px; /* Reduced since intro section adds height */
}

.contact-info-list li {
  margin-bottom: clamp(15px, 2vw, 25px);
  display: flex;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.4;
}

.info-label {
  width: clamp(70px, 6vw, 100px);
  font-weight: 700;
  color: #333;
  flex-shrink: 0;
}

.info-value {
  color: #333;
  font-weight: 400;
}

.contact-form-side {
  flex: 1.2; /* Form card is slightly wider */
}

.contact-form-card {
  background: #efefef; 
  padding: clamp(30px, 5vw, 80px) clamp(20px, 3vw, 50px);
  border-radius: clamp(20px, 3vw, 40px);
}

.page-form-group {
  margin-bottom: clamp(15px, 2vw, 25px);
  display: flex;
  align-items: center;
}

.page-form-group label {
  width: clamp(70px, 6vw, 100px);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
  color: #333;
  text-align: left;
}

.page-form-group input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid #aaa; /* Subtle border */
  border-radius: 12px;
  font-size: 15px;
  background: #fff;
  color: #333;
}

.page-form-group input::placeholder {
  color: #bbb;
}

.page-form-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-privacy-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  width: 100%;
  padding-left: 100px; /* Match label width align */
}

.page-privacy-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 50%; /* Attempting circular check if browser allows */
  cursor: pointer;
}

.page-submit-btn {
  background: #1e2b4d; /* Specific navy screen shot color */
  color: #fff;
  border: none;
  padding: 18px 80px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-submit-btn:hover {
  background: #112347;
  transform: translateY(-2px);
}

/* Mobile Responsive Adjustments for Contact Page */
@media (max-width: 768px) {
  .contact-section {
    padding: 100px 5% 50px;
  }
  
  .contact-main-layout {
    display: block;
    padding: 0;
  }

  .contact-page .contact-info-side {
    height: 70vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px 20px;
  }

  .contact-page .contact-form-side {
    height: 100vh !important;
    scroll-snap-align: start !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    background: #f9f9f9;
  }

  .contact-info-list {
    margin-top: 0px;
  }

  .contact-info-list li {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .info-label {
    width: 70px;
  }
  .contact-form-side{
width: 100%;
  }
  .contact-info-list{
    width: 100%;
  }
  .contact-form-card {
    padding: 8px 20px;
    border-radius: 20px;
  }

  .page-form-group {
    margin-bottom: 12px;
  }

  .page-form-group label {
    width: 70px;
    font-size: 14px;
  }

  .page-form-group input {
    padding: 10px 15px;
    font-size: 14px;
  }

  .page-form-footer {
    margin-top: 15px;
    gap: 20px;
  }

  .page-privacy-check {
    padding-left: 0;
    justify-content: center;
    font-size: 14px;
  }

  .page-submit-btn {
    padding: 12px 60px;
  }
   .contact-info-side{
    padding-top: 0;
  }
  .contact-section.google_map iframe {
    pointer-events: none;
  }
  .contact-section.google_map.active iframe {
    pointer-events: auto;
  }
}

@media (max-width: 480px) {
  .contact-page-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .contact-info-list li {
    font-size: 16px;
  }

  .page-form-group label {
    width: 60px;
  }
}