/* Hero Sections */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  text-align: center;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(43, 45, 66, 0.8), rgba(38, 70, 83, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ddd;
  line-height: 1.8;
}

/* Page Title Bar */
.page-title-bar {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 300;
}

/* About Section */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text-content h2 {
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--accent);
  border-radius: 8px;
  z-index: 1;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-card);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent), var(--tertiary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--primary);
  stroke-width: 2;
}

/* Timeline Section */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(30px);
}

.timeline-item:nth-child(even).visible {
  transform: translateX(0);
}

.timeline-year {
  background: var(--accent);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  margin: 0 30px;
  min-width: 100px;
  text-align: center;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Statistics Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1.1rem;
  color: #ddd;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Document Section */
.document-showcase {
  background: var(--bg-secondary);
  padding: 60px 0;
}

.document-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.document-image {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.document-title {
  color: var(--primary);
  margin-bottom: 15px;
}

.document-meta {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(38, 70, 83, 0.9), rgba(43, 45, 66, 0.9)), url('images/banner4-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ddd;
}

/* Interactive Elements */
.interactive-timeline {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.timeline-slider {
  width: 100%;
  margin: 20px 0;
  appearance: none;
  height: 8px;
  border-radius: 5px;
  background: #ddd;
  outline: none;
  cursor: pointer;
}

.timeline-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.timeline-display {
  text-align: center;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .timeline-item {
    flex-direction: column !important;
    transform: translateY(30px) !important;
  }
  
  .timeline-item.visible {
    transform: translateY(0) !important;
  }
  
  .timeline-year {
    margin: 0 0 20px 0;
    align-self: flex-start;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}