/* Page-specific styles */

.page-hero {
  padding: 180px 0 100px;
  background: var(--color-gray-50);
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 20px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-subtitle {
  font-size: 22px;
  color: var(--color-gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Sections - Cleaned up */
.content-section {
  padding: 100px 0;
  background: var(--color-white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr; 
  gap: 60px; 
  align-items: start; 
}

.content-main {
  width: 100%; /* Centered focus */
  max-width: none;
}

.content-heading {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--color-black);
}

.content-main p {
  margin-bottom: 20px;
  font-size: 18px; /* Larger, readable text */
  line-height: 1.8;
  color: var(--color-gray-600);
}

/* De-boxed Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 50px; /* More breathing room */
  margin-top: 50px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 0; /* Removed padding */
  background: transparent; /* Removed background */
  border: none; /* Removed border */
}

.feature-item:hover {
  transform: none; /* subtle hover only */
}

.feature-icon {
  padding-top: 5px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-black);
}

.feature-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin: 0;
}

/* Sidebar - simplified */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%; 
  position: sticky; 
  top: 100px; 
}

.sidebar-card {
  background: var(--color-gray-50);
  padding: 35px 30px;
  /* Removed border top */
}

.sidebar-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-black);
}

/* Values Grid - De-boxed */
.values-section {
  background: var(--color-gray-50);
  padding: 100px 0;
}

.values-grid-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.value-box {
  background: transparent; /* Removed white box */
  padding: 0; /* Removed padding */
  text-align: center;
  border: none; /* Removed border */
  box-shadow: none;
}

.value-box:hover {
  transform: translateY(-5px);
  box-shadow: none;
}

.value-number {
  font-family: var(--font-display);
  font-size: 56px; /* Larger numbers */
  font-weight: 700;
  color: var(--color-red); /* Consistent accent color */
  margin-bottom: 15px;
}

.value-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-black);
}

/* Service Detail - Cleaner */
.service-detail-section {
  padding: 80px 0;
  background: var(--color-white); /* Uniform background, separated by images/waves */
}

/* Removed alternating gray backgrounds for cleaner look */
.service-detail-section:nth-child(even) {
  background: var(--color-white);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.service-detail-header {
  position: sticky;
  top: 120px;
}

.service-detail-number {
  font-size: 60px; /* Big, stylized number */
  font-weight: 700;
  color: var(--color-gray-200); /* Subtle watermark style */
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.service-detail-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 20px;
}

.service-detail-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin-bottom: 25px;
}

/* Team Page - Cleaner */
.team-grid {
  display: flex;
  justify-content: center; /* Center the single profile */
  margin-top: 20px;
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  text-align: left;
  max-width: 1000px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 0.8; /* Portrait ratio */
  background: var(--color-gray-200);
  margin-bottom: 0;
  border: none; /* Removed border */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  font-weight: 700;
  color: var(--color-gray-400);
  /* Add image styling here if real photo available */
  background-size: cover;
  background-position: center;
}

.team-name {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-black);
}

.team-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Partners Grid - Cleaner */
.partners-grid-page {
  display: grid;
  grid-template-columns: 1fr; /* Single column for better reading flow on clean layout */
  gap: 60px;
  max-width: 900px;
  margin: 40px auto 0;
}

.partner-card-page {
  background: transparent;
  padding: 0;
  border: none;
  border-left: 4px solid var(--color-gray-200);
  padding-left: 30px;
  transition: var(--transition);
}

.partner-card-page:hover {
  border-left-color: var(--color-red);
  transform: translateX(10px);
  box-shadow: none;
}

.partner-card-page h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-black);
}

/* Contact Page - Cleaner */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 60px 0;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  padding: 0;
  background: transparent;
  border: none;
  /* Removed border-left colors */
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-red);
  margin-bottom: 10px;
}

.contact-item p {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
}

.contact-form {
  background: var(--color-white);
  padding: 40px;
  border: 1px solid var(--color-gray-200); /* Subtle border instead of heavy bg */
}

/* Responsive */
@media (max-width: 1024px) {
  .content-grid,
  .service-detail-card,
  .contact-content,
  .team-member {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .team-photo {
    max-width: 400px;
    margin: 0 auto;
  }

  .values-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Sidebar */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background: var(--color-gray-50);
  padding: 35px 30px;
  border-top: 4px solid var(--color-red);
}

.sidebar-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-black);
}

.fact-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.fact-item:last-child {
  border-bottom: none;
}

.fact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  text-align: right;
  max-width: 60%;
}

/* Mobile page layout fixes */

@media (max-width: 900px) {
  .page-hero {
    padding: 140px 0 70px;
  }

  .page-title {
    font-size: 38px;
  }

  .page-subtitle {
    font-size: 18px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-sidebar {
    position: static;
    top: auto;
  }

  /* Services page: disable sticky headers that clash on small screens */
  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail-header {
    position: static;
    top: auto;
  }

  .service-detail-number {
    font-size: 42px;
    margin-bottom: 10px;
  }

  .service-detail-title {
    font-size: 34px;
    margin-bottom: 10px;
  }

  /* Team page */
  .team-member {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-name {
    font-size: 36px;
  }

  /* Contact page */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px 0;
  }
}
