/* Auxiliary Pages Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-header .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.page-header .logo {
  width: 32px;
  height: 32px;
}

.page-header .brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover;
  opacity: 0.05;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.375rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-weight: 400;
}

.last-updated {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-style: italic;
  font-weight: 500;
}

/* Content Sections */
.content-section {
  padding: 80px 0;
  position: relative;
}

.content-section.alt-bg {
  background: linear-gradient(135deg, var(--gray-50) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.content-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 40px;
  text-align: left;
  position: relative;
  padding-bottom: 16px;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.content-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 40px 0 20px 0;
  position: relative;
  padding-left: 20px;
}

.content-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--primary);
  border-radius: 2px;
}

.content-section p {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 28px;
  font-weight: 400;
}

.content-section ul {
  margin: 28px 0;
  padding-left: 0;
  list-style: none;
}

.content-section li {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 12px;
  padding-left: 32px;
  position: relative;
  font-weight: 400;
}

.content-section li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Enhanced Content Cards */
.content-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  margin: 32px 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* About Page Specific Styles */
.mission-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.mission-point {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-point:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.mission-point::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url('https://images.pexels.com/photos/3184339/pexels-photo-3184339.jpeg?auto=compress&cs=tinysrgb&w=400') center/cover;
  opacity: 0.1;
  border-radius: 20px 20px 0 0;
}

.mission-point h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 20px 0;
  position: relative;
  z-index: 2;
  padding-left: 0;
}

.mission-point h3::before {
  display: none;
}

.mission-point p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
  position: relative;
  z-index: 2;
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.tech-feature {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.tech-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url('https://images.pexels.com/photos/8386440/pexels-photo-8386440.jpeg?auto=compress&cs=tinysrgb&w=400') center/cover;
  opacity: 0.1;
  border-radius: 20px 20px 0 0;
}

.tech-feature h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 0 0 20px 0;
  position: relative;
  z-index: 2;
  padding-left: 0;
}

.tech-feature h3::before {
  display: none;
}

.tech-feature p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
  position: relative;
  z-index: 2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.value-item {
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=400') center/cover;
  opacity: 0.08;
  border-radius: 20px 20px 0 0;
}

.value-item h3 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 20px 0;
  position: relative;
  z-index: 2;
  padding-left: 0;
}

.value-item h3::before {
  display: none;
}

.value-item p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Enhanced Visual Elements */
.content-section-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 64px 0;
}

.content-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.05);
}

/* Contact Information Styling */
.contact-info {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 40px;
  border-radius: 20px;
  margin-top: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: url('https://images.pexels.com/photos/3184421/pexels-photo-3184421.jpeg?auto=compress&cs=tinysrgb&w=600') center/cover;
  opacity: 0.05;
  border-radius: 20px 20px 0 0;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1875rem;
  position: relative;
  z-index: 2;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.contact-info a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Enhanced Typography */
.content-section strong {
  color: var(--gray-900);
  font-weight: 600;
}

.content-section em {
  color: var(--primary);
  font-style: normal;
  font-weight: 500;
}

/* Links Styling */
.content-section a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.content-section a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.content-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.content-section a:hover::after {
  width: 100%;
}

/* Decorative Elements */
.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 48px auto;
  border-radius: 2px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
  border-left: 4px solid var(--primary);
  padding: 24px 32px;
  margin: 32px 0;
  border-radius: 0 12px 12px 0;
  position: relative;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/3184317/pexels-photo-3184317.jpeg?auto=compress&cs=tinysrgb&w=400') center/cover;
  opacity: 0.02;
  border-radius: 0 12px 12px 0;
}

.highlight-box p {
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
  .page-title {
    font-size: 2.25rem;
  }
  
  .page-subtitle {
    font-size: 1.1875rem;
  }
  
  .content-section {
    padding: 56px 0;
  }
  
  .content-section h2 {
    font-size: 2rem;
  }
  
  .content-section h3 {
    font-size: 1.5rem;
  }
  
  .content-section p,
  .content-section li {
    font-size: 1.0625rem;
  }
  
  .mission-points,
  .tech-features,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  
  .mission-point,
  .tech-feature,
  .value-item {
    padding: 32px 24px;
  }
  
  .contact-info {
    padding: 32px 24px;
  }
  
  .content-section-with-image {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .content-image img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 56px 0;
  }
  
  .page-title {
    font-size: 1.875rem;
  }
  
  .page-subtitle {
    font-size: 1.0625rem;
  }
  
  .content-section {
    padding: 40px 0;
  }
  
  .content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }
  
  .content-section h3 {
    font-size: 1.25rem;
    margin: 32px 0 16px 0;
  }
  
  .content-section p,
  .content-section li {
    font-size: 1rem;
  }
  
  .mission-point,
  .tech-feature,
  .value-item {
    padding: 24px 20px;
  }
  
  .contact-info {
    padding: 24px 20px;
  }
  
  .page-header .brand-name {
    font-size: 1.25rem;
  }
  
  .page-header .logo {
    width: 28px;
    height: 28px;
  }
  
  .content-image img {
    height: 200px;
  }
  
  .content-section h3 {
    padding-left: 16px;
  }
  
  .content-section li {
    padding-left: 24px;
  }
}

@media (max-width: 320px) {
  .page-title {
    font-size: 1.625rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .content-section h3 {
    font-size: 1.125rem;
  }
  
  .mission-point,
  .tech-feature,
  .value-item {
    padding: 20px 16px;
  }
  
  .contact-info {
    padding: 20px 16px;
  }
  
  .content-image img {
    height: 180px;
  }
}

/* Print Styles */
@media print {
  .page-header,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }
  
  .content-section {
    padding: 20px 0;
  }
  
  .page-hero {
    padding: 20px 0;
    background: none !important;
  }
  
  .page-title {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
  }
  
  .content-section h2,
  .content-section h3 {
    color: #000 !important;
  }
  
  .mission-point,
  .tech-feature,
  .value-item,
  .contact-info {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}